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

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

 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
*/
/*

 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}
*/
/*

 The MIT License

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

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

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

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


 Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors

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

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

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
*/
/*
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var g,ba=function(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,ba);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");ba.call(this,c+a[d])},ca=function(a,b){if(a)throw Error("u");b.push(65533)},baa=function(a,b){b=String.fromCharCode.apply(null,b);return null==a?b:a+b},ea=function(a){da.setTimeout(function(){throw a;
},0)},ha=function(){var a=da.navigator;return a&&(a=a.userAgent)?a:""},caa=function(a){return ia?ja?ja.brands.some(function(b){return(b=b.brand)&&ka(b,a)}):!1:!1},la=function(a){return ka(ha(),a)},ma=function(){return ia?!!ja&&0<ja.brands.length:!1},daa=function(){return ma()?!1:la("Opera")},eaa=function(){return ma()?!1:la("Trident")||la("MSIE")},faa=function(){return la("Firefox")||la("FxiOS")},haa=function(){return la("Safari")&&!(gaa()||(ma()?0:la("Coast"))||daa()||(ma()?0:la("Edge"))||(ma()?
caa("Microsoft Edge"):la("Edg/"))||(ma()?caa("Opera"):la("OPR"))||faa()||la("Silk")||la("Android"))},gaa=function(){return ma()?caa("Chromium"):(la("Chrome")||la("CriOS"))&&!(ma()?0:la("Edge"))||la("Silk")},iaa=function(){return la("Android")&&!(gaa()||faa()||daa()||la("Silk"))},jaa=function(){var a=ha();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(ma()){var a=ja.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])},oa=function(){return ia?!!ja&&!!ja.platform:!1},laa=function(){return oa()?"Android"===ja.platform:la("Android")},maa=function(){return la("iPhone")&&
!la("iPod")&&!la("iPad")},pa=function(){return maa()||la("iPad")||la("iPod")},naa=function(){return oa()?"macOS"===ja.platform:la("Macintosh")},qa=function(a){return a[a.length-1]},oaa=function(a,b){var c=0;ra(a,function(d,e,f){b.call(void 0,d,e,f)&&++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},ta=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},va=function(a,b){b=qaa(a,b);var c;(c=0<=b)&&ua(a,b);return c},ua=function(a,b){Array.prototype.splice.call(a,b,1)},xa=function(a,b){a:{for(var c=a.length,d="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&&ua(a,b)},ya=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[]},saa=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(za(d)){var e=a.length||0,f=
d.length||0;a.length=e+f;for(var h=0;h<f;h++)a[e+h]=d[h]}else a.push(d)}},uaa=function(a,b,c,d){return Array.prototype.splice.apply(a,taa(arguments,1))},taa=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},vaa=function(a,b,c){b=b||a;var d=function(q){return Aa(q)?"o"+Da(q):(typeof q).charAt(0)+q};c=c||d;for(var e=d=0,f={};e<a.length;){var h=a[e++],k=c(h);Object.prototype.hasOwnProperty.call(f,k)||(f[k]=!0,b[d++]=h)}b.length=d},xaa=function(a,
b){a.sort(b||waa)},yaa=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||waa;xaa(c,function(f,h){return e(f.value,h.value)||f.index-h.index});for(b=0;b<a.length;b++)a[b]=c[b].value},waa=function(a,b){return a>b?1:a<b?-1:0},zaa=function(){for(var a=[],b=0;5>b;b+=1)a.push(b);return a},Aaa=function(a,b,c){b=Array.prototype.splice.call(a,b,1);Array.prototype.splice.call(a,c,0,b[0])},Daa=function(a){if(!Baa)return Caa(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)},Faa=function(a){return Eaa[a]||""},Iaa=function(a){if(!Baa)return Gaa(a);Haa.test(a)&&(a=a.replace(Haa,Faa));a=atob(a);for(var b=new Uint8Array(a.length),c=0;c<a.length;c++)b[c]=a.charCodeAt(c);return b},Ea=function(a){return Jaa&&null!=a&&a instanceof Uint8Array},Laa=function(){return Kaa||(Kaa=new Uint8Array(0))},Maa=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},Naa=function(a){return 0==a.length?Fa():new Ga(a,Ha)},Oaa=function(a){if("string"===typeof a)return{buffer:Iaa(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===Ga)return{buffer:Ia(a)||Laa(),isImmutable:!0};if(a instanceof Uint8Array)return{buffer:new Uint8Array(a.buffer,
a.byteOffset,a.byteLength),isImmutable:!1};throw Error("I");},Paa=function(){return"function"===typeof BigInt},Ma=function(a){var b=0>a;a=Math.abs(a);var c=a>>>0;a=Math.floor((a-c)/4294967296);b&&(c=l(Qaa(c,a)),b=c.next().value,a=c.next().value,c=b);Ka=c>>>0;La=a>>>0},Raa=function(a,b){return 4294967296*b+(a>>>0)},Saa=function(a,b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b>>>0,0==a&&(b=b+1>>>0));a=Raa(a,b);return c?-a:a},Na=function(a,b){b>>>=0;a>>>=0;if(2097151>=b)var c=""+(4294967296*b+a);else Paa()?
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+Taa(c)+Taa(a));return c},Taa=function(a){a=String(a);return"0000000".slice(a.length)+a},Uaa=function(){var a=Ka,b=La;b&2147483648?Paa()?a=""+(BigInt(b|0)<<BigInt(32)|BigInt(a>>>0)):(b=l(Qaa(a,b)),a=b.next().value,b=b.next().value,a="-"+Na(a,b)):a=Na(a,b);return a},Vaa=function(a){if(16>a.length)Ma(Number(a));
else if(Paa())a=BigInt(a),Ka=Number(a&BigInt(4294967295))>>>0,La=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+("-"===a[0]);La=Ka=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)),La*=1E6,Ka=1E6*Ka+d,4294967296<=Ka&&(La+=Math.trunc(Ka/4294967296),La>>>=0,Ka>>>=0);b&&(b=l(Qaa(Ka,La)),a=b.next().value,b=b.next().value,Ka=a,La=b)}},Qaa=function(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]},Oa=function(a){return Array.prototype.slice.call(a)},Waa=function(a){return"function"===typeof Symbol&&
"symbol"===typeof Symbol()?Symbol():a},Xaa=function(a){var b=Qa(a);1!==(b&1)&&(Object.isFrozen(a)&&(a=Oa(a)),Ta(a,b|1))},Ua=function(a,b,c){return c?a|b:a&~b},Zaa=function(){var a=[];Yaa(a,1);return a},Xa=function(a){return!!(Qa(a)&2)},Ya=function(a){Yaa(a,34);return a},$aa=function(a){Yaa(a,32);return a},aba=function(a,b){Ta(b,(a|0)&-14591)},bba=function(a,b){Ta(b,(a|34)&-14557)},cba=function(a){a=a>>14&1023;return 0===a?536870912:a},Za=function(a){return+!!(a&512)-1},eba=function(a){return!(!a||
"object"!==typeof a||a.mapPrototypeMarker!==dba)},ab=function(a){return null!==a&&"object"===typeof a&&!Array.isArray(a)&&a.constructor===Object},bb=function(a,b,c,d){if(null==a){if(!c)throw Error();}else if("string"===typeof a)a=a?new Ga(a,Ha):Fa();else if(a.constructor!==Ga)if(Ea(a))a=d?Naa(a):a.length?new Ga(new Uint8Array(a),Ha):Fa();else{if(!b)throw Error();a=void 0}return a},db=function(a,b,c){if(!Array.isArray(a)||a.length)return!1;var d=Qa(a);if(d&1)return!0;if(!(b&&(Array.isArray(b)?b.includes(c):
b.has(c))))return!1;Ta(a,d|1);return!0},eb=function(a){if(a&2)throw Error();},fb=function(a,b){if("number"!==typeof b||0>b||b>=a.length)throw Error();},fba=function(a,b){if("number"!==typeof b||0>b||b>a.length)throw Error();},gba=function(a,b){(b=gb?b[gb]:void 0)&&(a[gb]=Oa(b))},hba=function(){return hb||(hb=Symbol())},ib=function(){var a=Error();iba(a,"incident");ea(a)},jba=function(a){a=Error(a);iba(a,"warning");return a},kba=function(a){if("number"!==typeof a)throw Error("J`"+typeof a+"`"+a);return a},
kb=function(a){return null==a?a:kba(a)},lba=function(a){if(null==a)return a;if("number"===typeof a||"NaN"===a||"Infinity"===a||"-Infinity"===a)return Number(a)},mba=function(a){if("boolean"!==typeof a)throw Error("K`"+lb(a)+"`"+a);return a},mb=function(a){return null==a?a:mba(a)},nba=function(a){if(null==a||"boolean"===typeof a)return a;if("number"===typeof a)return!!a},nb=function(a){var b=typeof a;return"number"===b?Number.isFinite(a):"string"!==b?!1:oba.test(a)},pba=function(a){Number.isFinite(a)||
ib();return a},qba=function(a){return null==a?a:pba(a)},rba=function(a){return a},ob=function(a){if("number"!==typeof a)throw jba("int32");Number.isFinite(a)||ib();return a},pb=function(a){if(null==a)return a;if("string"===typeof a){if(!a)return;a=+a}if("number"===typeof a)return a},sba=function(){Number.isFinite(0)||ib();return 0},tba=function(a){if(null==a)return a;if("string"===typeof a){if(!a)return;a=+a}if("number"===typeof a)return a},rb=function(a,b){b=!!b;if(!nb(a))throw jba("int64");return"string"===
typeof a?uba(a):b?vba(a):wba(a)},sb=function(a){return null==a?a:rb(a)},xba=function(a){return"-"===a[0]?!1:20>a.length?!0:20===a.length&&184467>Number(a.substring(0,6))},yba=function(a){return"-"===a[0]?20>a.length?!0:20===a.length&&-922337<Number(a.substring(0,7)):19>a.length?!0:19===a.length&&922337>Number(a.substring(0,6))},zba=function(a){if(0>a){Ma(a);var b=Na(Ka,La);a=Number(b);return Number.isSafeInteger(a)?a:b}if(xba(String(a)))return a;Ma(a);return Raa(Ka,La)},wba=function(a){a=Math.trunc(a);
Number.isSafeInteger(a)||(Ma(a),a=Saa(Ka,La));return a},Aba=function(a){a=Math.trunc(a);return 0<=a&&Number.isSafeInteger(a)?a:zba(a)},vba=function(a){a=Math.trunc(a);if(Number.isSafeInteger(a))a=String(a);else{var b=String(a);yba(b)?a=b:(Ma(a),a=Uaa())}return a},Bba=function(a){a=Math.trunc(a);if(0<=a&&Number.isSafeInteger(a))a=String(a);else{var b=String(a);xba(b)?a=b:(Ma(a),a=Na(Ka,La))}return a},uba=function(a){var b=Math.trunc(Number(a));if(Number.isSafeInteger(b))return String(b);b=a.indexOf(".");
-1!==b&&(a=a.substring(0,b));yba(a)||(Vaa(a),a=Uaa());return a},Cba=function(a){var b=Math.trunc(Number(a));if(Number.isSafeInteger(b)&&0<=b)return String(b);b=a.indexOf(".");-1!==b&&(a=a.substring(0,b));xba(a)||(Vaa(a),a=Na(Ka,La));return a},Dba=function(a){if(null==a)return a;if(nb(a)){var b;"number"===typeof a?b=wba(a):b=uba(a);return b}},Eba=function(a,b){b=void 0===b?!1:b;if(null==a)return a;if(nb(a))return"string"===typeof a?uba(a):b?vba(a):wba(a)},Fba=function(a){var b=!!b;if(!nb(a))throw jba("uint64");
return"string"===typeof a?Cba(a):b?Bba(a):Aba(a)},tb=function(a){if("string"!==typeof a)throw Error();return a},Gba=function(a){if(null!=a&&"string"!==typeof a)throw Error();return a},Hba=function(a){return null==a||"string"===typeof a?a:void 0},Jba=function(a,b,c,d){if(null!=a&&"object"===typeof a&&a.messagePrototypeMarker===ub)return a;if(!Array.isArray(a))return c?d&2?Iba(b):new b:void 0;var e=c=Qa(a);0===e&&(e|=d&32);e|=d&2;e!==c&&Ta(a,e);return new b(a)},Iba=function(a){var b=a[Kba];if(b)return b;
b=new a;Ya(b.internalArray_);return a[Kba]=b},Lba=function(a){return a},Mba=function(a,b,c){if(b)return mba(a);var d;return null!=(d=nba(a))?d:c?!1:void 0},Nba=function(a,b,c){a=b?ob(a):pb(a);return null==a?c?0:void 0:a|0},Oba=function(a,b,c){a=b?rb(a):Dba(a);b=null==a?c?0:void 0:a;return"string"===typeof b&&(c=+b,Number.isSafeInteger(c))?c:b},wb=function(a,b,c){if(b)return tb(a);var d;return null!=(d=Hba(a))?d:c?"":void 0},Pba=function(a,b,c){a=b?pba(a):a;return null==a?c?0:void 0:a},Rba=function(a,
b){Qba=b;a=new a(b);Qba=void 0;return a},Uba=function(a){switch(typeof a){case "boolean":return Sba||(Sba=[0,void 0,!0]);case "number":return 0<a?void 0:0===a?Tba||(Tba=[0,void 0]):[-a,void 0];case "string":return[0,a];case "object":return a}},m=function(a,b,c){null==a&&(a=Qba);Qba=void 0;if(null==a){var d=96;c?(a=[c],d|=512):a=[];b&&(d=d&-16760833|(b&1023)<<14)}else{if(!Array.isArray(a))throw Error();d=Qa(a);if(d&64)return hb&&delete a[hb],a;d|=64;if(c&&(d|=512,c!==a[0]))throw Error();a:{c=d;if(d=
a.length){var e=d-1;if(ab(a[e])){c|=256;b=e-Za(c);if(1024<=b)throw Error();d=c&-16760833|(b&1023)<<14;break a}}if(b){b=Math.max(b,d-Za(c));if(1024<b)throw Error();d=c&-16760833|(b&1023)<<14}else d=c}}Ta(a,d);return a},Vba=function(a,b){if("string"===typeof b)try{b=Iaa(b)}catch(c){return!1}return Ea(b)&&Maa(a,b)},Wba=function(a,b){if(a.messagePrototypeMarker===ub){var c=a.constructor.repeatedFields_;a=a.internalArray_}else if(!Array.isArray(a))return!1;if(b.messagePrototypeMarker===ub)c=c||b.constructor.repeatedFields_,
b=b.internalArray_;else if(!Array.isArray(b))return!1;var d;return xb(a,b,null!=(d=c)?d:yb)},xb=function(a,b,c){if(a===b||null==a&&null==b)return!0;if(a instanceof zb)return Xba(a,b);if(b instanceof zb)return Xba(b,a);if(null==a||null==b)return!1;if(a instanceof Ga)return Yba(a,b);if(b instanceof Ga)return Yba(b,a);if(Ea(a))return Vba(a,b);if(Ea(b))return Vba(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===ub||b.messagePrototypeMarker===ub)return Wba(a,b);if(a.constructor!=b.constructor)return!1;if(a.constructor===Array){e=Qa(a);var f=Qa(b),h=a.length,k=b.length,q=Math.max(h,k);d=Za(e|f);var t=!!((e|f)&1);if(!t&&(e=hba(),e=a[e]||b[e])){var w=(w=e.mapFields)?Array.isArray(w)?e.mapFields=new Set(w):w:Zba||(Zba=new Set);c||(c=(c=e.repeatedFields)?Array.isArray(c)?e.repeatedFields=
new Set(c):c:Zba||(Zba=new Set))}e=h&&a[h-1];f=k&&b[k-1];ab(e)||(e=null);ab(f)||(f=null);h=h-d-+!!e;k=k-d-+!!f;for(var y=0;y<q;y++)if(!$ba(y-d,a,e,h,b,f,k,d,c,w,t))return!1;if(e)for(var C in e){q=a;t=e;y=b;var J=f,I=c,P=w,O=+C;if(!(!Number.isFinite(O)||O<h||O<k||$ba(O,q,t,h,y,J,k,d,I,P,!1)))return!1}if(f)for(var U in f)if((C=e&&U in e)||(C=a,q=e,t=b,y=f,J=c,I=w,P=+U,C=!Number.isFinite(P)||P<h||P<k?!0:$ba(P,C,q,h,t,y,k,d,J,I,!1)),!C)return!1;return!0}if(a.constructor===Object)return xb([a],[b]);throw Error();
},$ba=function(a,b,c,d,e,f,h,k,q,t,w){b=aca(a,b,c,d,k);e=aca(a,e,f,h,k);if(null==e){if(db(b,q,a))return!0;Ab||q||!Array.isArray(b)||b.length||(f=Qa(b),w||f&64||b[hba()]||Ab++)}if(null==b){if(db(e,q,a))return!0;Ab||q||!Array.isArray(e)||e.length||(q=Qa(e),w||q&64||e[hba()]||Ab++)}if(null==t?0:t.has(a)){if(null==b&&Array.isArray(e))return 0===e.length;if(null==e&&Array.isArray(b))return 0===b.length;if(Array.isArray(b)&&Array.isArray(e))return bca(b,e)}return xb(b,e)},aca=function(a,b,c,d,e){var f;
return null!=(f=a<d?b[a+e]:void 0)?f:null==c?void 0:c[a]},cca=function(a,b,c,d,e,f){a=Jba(a,d,c,f);e&&(a=Bb(a));return a},dca=function(a){return a},eca=function(a,b){if(a.size!=b.size)return!1;var c=!0;a.forEach(function(d,e){xb(d,b.get(e))||(c=!1)});return c},fca=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},gca=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(fca);
for(var c=0,d=void 0,e=b.length-1;0<=e;e--){var f=b[e];if(!f||!Array.isArray(f)||2!==f.length)return!1;var h=f[0];if(h!==d){if(!xb(a.get(h),f[1]))return!1;d=h;c++}}return c===a.size},bca=function(a,b){if(!Array.isArray(a)||!Array.isArray(b))return!1;a=Array.prototype.slice.call(a);b=Array.prototype.slice.call(b);a.sort(fca);b.sort(fca);var c=a.length,d=b.length;if(0===c&&0===d)return!0;for(var e=0,f=0;e<c&&f<d;){var h=void 0,k=a[e];if(!Array.isArray(k))return!1;for(var q=k[0];e<c-1&&(h=a[e+1])[0]===
q;)e++,k=h;h=void 0;var t=b[f];if(!Array.isArray(t))return!1;for(var w=t[0];f<d-1&&(h=b[f+1])[0]===w;)f++,t=h;if(q!==w||!xb(k[1],t[1]))return!1;e++;f++}return e>=c&&f>=d},hca=function(a){return[a,this.get(a)]},jca=function(a,b){return ica(b)},ica=function(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "boolean":return a?1:0;case "object":if(a){if(Array.isArray(a))return kca||!db(a,void 0,9999)?a:void 0;if(Ea(a))return Daa(a);if(a instanceof Ga)return lca(a);if(a instanceof zb)return a=
mca(a),nca||0!==a.length?a:void 0}}return a},oca=function(a,b,c){var d=Oa(a),e=d.length,f=b&256?d[e-1]:void 0;e+=f?-1:0;for(b=b&512?1:0;b<e;b++)d[b]=c(d[b]);if(f){b=d[b]={};for(var h in f)b[h]=c(f[h])}gba(d,a);return d},qca=function(a,b,c,d,e,f){if(null!=a){if(Array.isArray(a))a=e&&0==a.length&&Qa(a)&1?void 0:f&&Qa(a)&2?a:pca(a,b,c,void 0!==d,e,f);else if(ab(a)){var h={},k;for(k in a)h[k]=qca(a[k],b,c,d,e,f);a=h}else a=b(a,d);return a}},pca=function(a,b,c,d,e,f){var h=d||c?Qa(a):0;d=d?!!(h&32):void 0;
for(var k=Oa(a),q=0;q<k.length;q++)k[q]=qca(k[q],b,c,d,e,f);c&&(gba(k,a),c(h,k));return k},sca=function(a){return qca(a,rca,void 0,void 0,!1,!1)},rca=function(a){return a.messagePrototypeMarker===ub?a.toJSON():a instanceof zb?mca(a,sca):ica(a)},tca=function(a,b,c){c=void 0===c?bba:c;if(null!=a){if(Jaa&&a instanceof Uint8Array)return b?a:new Uint8Array(a);if(Array.isArray(a)){var d=Qa(a);if(d&2)return a;b&&(b=0===d||!!(d&32)&&!(d&64||!(d&16)));return b?(Ta(a,(d|34)&-12293),a):pca(a,tca,d&4?bba:c,!0,
!1,!0)}a.messagePrototypeMarker===ub?(c=a.internalArray_,d=Cb(c),a=d&2?a:Rba(a.constructor,uca(c,d,!0))):a instanceof zb&&(c=Ya(vca(a,tca)),a=new zb(c,a.valueCtor,a.keyToApi,a.valueToApi));return a}},uca=function(a,b,c){var d=c||b&2?bba:aba,e=!!(b&32);a=oca(a,b,function(f){return tca(f,e,d)});Yaa(a,32|(c?2:0));return a},Bb=function(a){var b=a.internalArray_,c=Cb(b);return c&2?Rba(a.constructor,uca(b,c,!1)):a},xca=function(a,b,c){if(!(4&b))return!0;if(null==c)return!1;0===c&&(4096&b||8192&b)&&5>(a.constructor[wca]=
(a.constructor[wca]|0)+1)&&ib();return 0===c?!1:!(c&b)},Db=function(a,b,c,d,e){var f=cba(b);if(c>=f||e){e=b;if(b&256)f=a[a.length-1];else{if(null==d)return e;f=a[f+Za(b)]={};e|=256}f[c]=d;e!==b&&Ta(a,e);return e}a[c+Za(b)]=d;b&256&&(a=a[a.length-1],c in a&&delete a[c]);return b},Hb=function(a,b,c,d,e){var f=b&2,h=Eb(a,b,c,e);Array.isArray(h)||(h=yb);var k=!(d&2);d=!(d&1);var q=!!(b&32),t=Qa(h);0!==t||!q||f||k?t&1||(t|=1,Ta(h,t)):(t|=33,Ta(h,t));f?(a=!1,t&2||(Ya(h),a=!!(4&t)),(d||a)&&Object.freeze(h)):
(f=!!(2&t)||!!(2048&t),d&&f?(h=Oa(h),d=1,q&&!k&&(d|=32),Ta(h,d),Db(a,b,c,h,e)):k&&t&32&&!f&&Gb(h,32));return h},Jb=function(a,b,c,d,e,f,h){e=void 0===e?2:e;var k=a.internalArray_,q=Cb(k);2&q&&(e=1);f=!!f;var t=Hb(k,q,b,1|(f?2:0),d);q=Cb(k);var w=Qa(t),y=w,C=!!(2&w),J=!!(4&w),I=C&&J;if(xca(a,w,h)){J&&(t=Oa(t),y=0,w=Ib(w,q,f),C=!!(2&w),q=Db(k,q,b,t,d));for(J=a=0;a<t.length;a++){var P=c(t[a]);null!=P&&(t[J++]=P)}J<a&&(t.length=J);w=Ua(w,4096,!1);w=Ua(w,8192,!1);w=Ua(w,20,!0);h&&(w=Ua(w,h,!0))}I||((h=
1===e)&&(w=Ua(w,2,!0)),w!==y&&Ta(t,w),(h||C)&&Object.freeze(t));2===e&&C&&(t=Oa(t),w=Ib(w,q,f),Ta(t,w),Db(k,q,b,t,d));return t},yca=function(a){return bb(a,!0,!0,!0)},zca=function(a){return bb(a,!0,!0,!1)},Cca=function(){var a;return null!=(a=Aca)?a:Aca=new zb(Ya([]),void 0,void 0,void 0,Bca)},Dca=function(a,b,c,d,e,f,h){var k=b&2;a:{var q=c,t=b&2;c=!1;if(null==q){if(t){a=Cca();break a}q=[]}else if(q.constructor===zb){if(0==(q.arrayState&2)||t){a=q;break a}q=vca(q)}else Array.isArray(q)?c=Xa(q):q=
[];if(t){if(!q.length){a=Cca();break a}c||(c=!0,Ya(q))}else if(c){c=!1;t=Oa(q);for(q=0;q<t.length;q++){var w=t[q]=Oa(t[q]);Array.isArray(w[1])&&(w[1]=Ya(w[1]))}q=t}c||(Qa(q)&64?Gb(q,32):32&b&&$aa(q));f=new zb(q,e,f,h);Db(a,b,d,f,!1);a=f}if(null==a)return a;!k&&e&&(a.callToMutableOnAccess=!0);return a},Lb=function(a,b,c){a=a.internalArray_;var d=Cb(a);return Dca(a,d,Eb(a,d,b),b,void 0,wb,c)},Mb=function(a,b,c,d){a=a.internalArray_;var e=Cb(a);return Dca(a,e,Eb(a,e,b),b,c,d)},Nb=function(a,b,c,d){var e=
a.internalArray_,f=Cb(e);eb(f);if(null==c)return Db(e,f,b),a;var h=Qa(c),k=h,q=!!(2&h)||Object.isFrozen(c),t=!q&&!1;if(xca(a,h))for(h=21,q&&(c=Oa(c),k=0,h=Ib(h,f,!0)),q=0;q<c.length;q++)c[q]=d(c[q]);t&&(c=Oa(c),k=0,h=Ib(h,f,!0));h!==k&&Ta(c,h);Db(e,f,b,c);return a},Ob=function(a,b,c,d){var e=a.internalArray_,f=Cb(e);eb(f);Db(e,f,b,("0"===d?0===Number(c):c===d)?void 0:c);return a},Pb=function(a,b,c,d,e){var f=a.internalArray_,h=Cb(f);eb(h);b=Hb(f,h,b,2);f=Qa(b);d=c(d,!!(4&f)&&!!(4096&f));void 0!=e?
b.splice(e,0,d):b.push(d);return a},Qb=function(a,b,c,d,e,f){eb(Cb(a.internalArray_));b=f(a,b,void 0,2,!0);fba(b,d);f=Qa(b);b[d]=c(e,!!(4&f)&&!!(4096&f));return a},Eca=function(a,b,c){for(var d=0,e=0;e<c.length;e++){var f=c[e];null!=Eb(a,b,f)&&(0!==d&&(b=Db(a,b,d)),d=f)}return d},Fca=function(a,b,c,d,e,f,h,k){var q=1===f;f=2===f;h=!!h;var t=!!(2&b)&&f,w=Hb(a,b,d,3,e);b=Cb(a);var y=Qa(w),C=!!(2&y),J=!!(4&y),I=!!(32&y),P=C&&J||!!(2048&y);if(!J){var O=w,U=b,aa=!!(2&y);aa&&(U=Ua(U,2,!0));for(var na=!aa,
sa=!0,Ba=0,Pa=0;Ba<O.length;Ba++){var Ja=Jba(O[Ba],c,!1,U);if(Ja instanceof c){if(!aa){var cb=Xa(Ja.internalArray_);na&&(na=!cb);sa&&(sa=cb)}O[Pa++]=Ja}}Pa<Ba&&(O.length=Pa);y=Ua(y,4,!0);y=Ua(y,16,sa);y=Ua(y,8,na);Ta(O,y);C&&!t&&(Object.freeze(w),P=!0)}c=y;t=!!(8&y)||q&&!w.length;if(k&&!t){P&&(w=Oa(w),P=!1,c=0,y=Ib(y,b,h),b=Db(a,b,d,w,e));k=w;t=y;for(C=0;C<k.length;C++)O=k[C],y=Bb(O),O!==y&&(k[C]=y);t=Ua(t,8,!0);y=t=Ua(t,16,!k.length)}P||(q?y=Ua(y,!w.length||16&y&&(!J||I)?2:2048,!0):h||(y=Ua(y,32,
!1)),y!==c&&Ta(w,y),q&&(Object.freeze(w),P=!0));f&&P&&(w=Oa(w),y=Ib(y,b,h),Ta(w,y),Db(a,b,d,w,e));return w},Ib=function(a,b,c){a=Ua(a,2,!!(2&b));a=Ua(a,32,!!(32&b)&&c);return a=Ua(a,2048,!1)},Rb=function(a,b,c,d,e,f,h){a=a.internalArray_;var k=Cb(a);eb(k);b=Fca(a,k,c,b,f,2);c=null!=d?d:new c;h&&fba(b,e);void 0!=e?b.splice(e,h,c):b.push(c);Xa(c.internalArray_)?Gb(b,8):Gb(b,16);return c},Sb=function(a,b){return null!=a?a:b},Gca=function(a){return bb(a,!1,!1,!1)},Ica=function(a,b,c){var d=a.constructor.repeatedFields_,
e=Cb(c?a.internalArray_:b),f=cba(e),h=!1;if(d&&kca){if(!c){b=Oa(b);var k;if(b.length&&ab(k=b[b.length-1]))for(h=0;h<d.length;h++)if(d[h]>=f){Object.assign(b[b.length-1]={},k);break}h=!0}f=b;c=!c;k=Cb(a.internalArray_);a=cba(k);k=Za(k);for(var q,t,w=0;w<d.length;w++)if(t=d[w],t<a){t+=k;var y=f[t];null==y?f[t]=c?yb:Zaa():c&&y!==yb&&Xaa(y)}else q||(y=void 0,f.length&&ab(y=f[f.length-1])?q=y:f.push(q={})),y=q[t],null==q[t]?q[t]=c?yb:Zaa():c&&y!==yb&&Xaa(y)}q=b.length;if(!q)return b;var C;if(ab(f=b[q-
1])){a:{var J=f;c={};a=!1;for(var I in J){k=J[I];if(Array.isArray(k)){w=k;if(!Hca&&db(k,d,+I)||!nca&&eba(k)&&0===k.size)k=null;k!=w&&(a=!0)}null!=k?c[I]=k:a=!0}if(a){for(var P in c){J=c;break a}J=null}}J!=f&&(C=!0);q--}for(e=Za(e);0<q;q--){I=q-1;f=b[I];if(!(null==f||!Hca&&db(f,d,I-e)||!nca&&eba(f)&&0===f.size))break;var O=!0}if(!C&&!O)return b;var U;h?U=b:U=Array.prototype.slice.call(b,0,q);b=U;h&&(b.length=q);J&&b.push(J);return b},Lca=function(a){return Array.isArray(a)?a[0]instanceof Tb?a:[Jca,
a]:[a,void 0]},Uca=function(a){var b=a[Mca];if(!b){var c=Nca(a),d=Oca(a),e=d.deserializeBinaryMessageSet;b=e?function(f,h){return e(f,h,d)}:function(f,h){for(;Pca(h)&&4!=h.nextWireType_;){var k=h.nextField_,q=d[k];if(!q){var t=d.extensions;t&&(t=t[k])&&(q=d[k]=Qca(t))}q&&q(h,f,k)||(q=h,k=q.fieldCursor_,Rca(q),q.discardUnknownFields?q=void 0:(t=q.decoder_.getCursor()-k,q.decoder_.cursor_=k,q=q.decoder_.readByteString(t)),k=f,q&&(gb||(gb=Symbol()),(t=k[gb])?t.push(q):k[gb]=[q]))}c===Sca||c===Tca||c.onlySubmessages||
(f[hba()]=c)};a[Mca]=b}return b},Qca=function(a){a=Lca(a);var b=a[0].$$binaryReaderFn;if(a=a[1]){var c=Uca(a),d=Oca(a).messageMetadata;return function(e,f,h){return b(e,f,h,d,c)}}return b},Wca=function(a,b,c){var d=c[1];if(d){var e=d[Vca];var f=e?e.messageMetadata:Uba(d[0]);a[b]=null!=e?e:d}f&&f===Sba?(a.mapFields||(a.mapFields=[])).push(b):c[0]&&(a.repeatedFields||(a.repeatedFields=[])).push(b)},Xca=function(a,b){return[a.$$isRepeated,!b||0<b[0]?void 0:b]},Nca=function(a){var b=a[Vca];if(b)return b;
b=Yca(a,a[Vca]={},Xca,Xca,Wca);if(!b.repeatedFields&&!b.mapFields){var c=!0,d;for(d in b){isNaN(d)||(c=!1);break}c?(b=Uba(a[0])===Sba,b=a[Vca]=b?Tca||(Tca={messageMetadata:Uba(!0)}):Sca||(Sca={})):b.onlySubmessages=!0}return b},Zca=function(a,b,c){a[b]=c},$ca=function(a){return Array.isArray(a)&&"number"===typeof a[0]&&0<a[0]},Yca=function(a,b,c,d,e){e=void 0===e?Zca:e;b.messageMetadata=Uba(a[0]);var f=0,h=a[++f];h&&h.constructor===Object&&(b.extensions=h,h=a[++f],"function"===typeof h&&(b.deserializeBinaryMessageSet=
h,b.makeMessageSetExtensionWriterFn=a[++f],h=a[++f]));for(var k={};$ca(h);){for(var q=0;q<h.length;q++)k[h[q]]=h;h=a[++f]}for(q=1;void 0!==h;){"number"===typeof h&&(q+=h,h=a[++f]);var t=void 0;if(h instanceof Tb)var w=h;else w=ada,f--;if(w.$$isMsg){h=a[++f];t=a;var y=f;"function"==typeof h&&(h=h(),t[y]=h);t=h}h=a[++f];y=q+1;"number"===typeof h&&0>h&&(y-=h,h=a[++f]);for(;q<y;q++){var C=k[q];e(b,q,t?d(w,t,C):c(w,C))}}return b},eda=function(a){var b=a[bda];if(!b){var c=cda(a);b=function(d,e){return dda(d,
e,c)};a[bda]=b}return b},fda=function(a){return a.$$binaryWriterFn},gda=function(a,b){var c,d,e=a.$$binaryWriterFn;return function(f,h,k){return e(f,h,k,d||(d=cda(b).messageMetadata),c||(c=eda(b)))}},cda=function(a){var b=a[hda];if(b)return b;b=Yca(a,a[hda]={},fda,gda);ida in a&&hda in a&&(a.length=0);return b},jda=function(a,b){var c=a.$$binaryReaderFn;return b?function(d,e,f){return c(d,e,f,b)}:c},kda=function(a,b,c){var d=a.$$binaryReaderFn,e,f;return function(h,k,q){return d(h,k,q,f||(f=Oca(b).messageMetadata),
e||(e=Uca(b)),c)}},Oca=function(a){var b=a[ida];if(b)return b;Nca(a);b=Yca(a,a[ida]={},jda,kda);ida in a&&hda in a&&(a.length=0);return b},lda=function(a,b){var c=a[b];if(c)return c;if(c=a.extensions)if(c=c[b]){c=Lca(c);var d=c[0].$$binaryWriterFn;if(c=c[1]){var e=eda(c),f=cda(c).messageMetadata;c=(c=a.makeMessageSetExtensionWriterFn)?c(f,e):function(h,k,q){return d(h,k,q,f,e)}}else c=d;return a[b]=c}},dda=function(a,b,c){for(var d=Cb(a),e=Za(d),f=a.length,h=f+(d&256?-1:0),k=d&512?1:0;k<h;k++){var q=
a[k];if(null!=q){var t=k-e,w=lda(c,t);w&&w(b,q,t)}}if(d&256){d=a[f-1];for(var y in d)e=+y,Number.isNaN(e)||(f=d[y],null!=f&&(h=lda(c,e))&&h(b,f,e))}if(a=gb?a[gb]:void 0)for(mda(b,b.encoder_.end()),c=0;c<a.length;c++)mda(b,Ia(a[c])||Laa())},Ub=function(a,b){return new Tb(a,b,!1,!1)},nda=function(a,b,c,d,e){b=b instanceof n?b.internalArray_:Array.isArray(b)?m(b,d[0],d[1]):void 0;if(null!=b){Wb(a,c,2);c=a.encoder_.end();mda(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_++}},Xb=function(a,b,c,d){return new oda(a,b,c,d)},Yb=function(a,b){for(var c=[],d=0;d<a.length;d++)c.push(b(a[d]));return c},qda=function(a,b,c){for(var d in c){var e=c[d],f=e.isRepeated?a.getExtension(e):pda(a,e);if(null!=f){var h=void 0;for(h in e.fieldName)if(e.fieldName.hasOwnProperty(h))break;var k=e.toObjectFn;b[h]=k?e.isRepeated?Yb(f,k):k(f):f}}},rda=function(a){null!=a&&(a=a.value_||"",a="string"===typeof a?a:new Uint8Array(a));
return a},Zb=function(a){return null===a?void 0:a},sda=function(a){return null==a?void 0:Array.isArray(a)?a.map(function(b){return lca(b)}):lca(a)},$b=function(a){if(Xa(a.internalArray_))throw Error("P");},tda=function(a){return function(b){b=JSON.parse(b);if(!Array.isArray(b))throw Error("M`"+lb(b)+"`"+b);Ya(b);return new a(b)}},ac=function(a){return function(b){return uda(a,b)}},bc=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},cc=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&
(c[d]=a[d]);return c},vda=function(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c},wda=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},xda=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},yda=function(a,b){return null!==a&&b in a},zda=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c},Ada=function(a,b){return(b=zda(a,b))&&a[b]},dc=function(a){for(var b in a)return!1;return!0},Bda=function(a){for(var b in a)delete a[b]},ec=function(a,
b){b in a&&delete a[b]},Cda=function(a,b){return null!==a&&b in a?a[b]:void 0},fc=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Eda=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<Dda.length;f++)c=Dda[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}},Fda=function(a){var b=arguments.length;if(1==b&&Array.isArray(arguments[0]))return Fda.apply(null,arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c},Mda=function(a){if(a instanceof
hc)return'url("'+ic(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof jc)a=kc(a);else{a=String(a);var b=a.replace(Gda,"$1").replace(Gda,"$1").replace(Hda,"url");if(Ida.test(b)){if(b=!Jda.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&&Kda(a)}a=b?Lda(a):"zClosurez"}else a="zClosurez"}if(/[{;}]/.test(a))throw new aaa("Value does not allow [{;}], got: %s.",[a]);return a},Kda=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},Lda=function(a){return a.replace(Hda,function(b,c,d,e){var f="";d=d.replace(/^(['"])(.*)\1$/,function(h,k,q){f=k;return q});b=(Nda(d)||Oda).getTypedStringValue();return c+f+b+f+e})},mc=function(a){return a instanceof lc},Pda=function(a,b){return Zone.current.wrap(a,b)},Qda=function(a,b){for(var c=a.length-1;0<=c;c--)"function"===typeof a[c]&&(a[c]=Pda(a[c],b+"_"+c));return a},Sda=
function(a){for(var b=["getCurrentPosition","watchPosition"],c=a.constructor.name,d={},e=0;e<b.length;d={name$jscomp$183:d.name$jscomp$183},e++){d.name$jscomp$183=b[e];var f=a[d.name$jscomp$183];if(f){var h=nc(a,d.name$jscomp$183);Rda(h)&&(a[d.name$jscomp$183]=function(k){return function(q){var t=function(){return q.apply(this,Qda(arguments,c+"."+k.name$jscomp$183))};oc(t,q);return t}}(d)(f))}}},Rda=function(a){return a?!1===a.writable?!1:!("function"===typeof a.get&&"undefined"===typeof a.set):!0},
Wda=function(a,b,c){var d=nc(a,b);!d&&c&&nc(c,b)&&(d={enumerable:!0,configurable:!0});if(d&&d.configurable&&(c=qc("on"+b+"patched"),!a.hasOwnProperty(c)||!a[c])){delete d.writable;delete d.value;var e=d.get,f=d.set,h=b.slice(2),k=Tda[h];k||(k=Tda[h]=qc("ON_PROPERTY"+h));d.set=function(q){var t=this;t||a!==rc||(t=rc);t&&("function"===typeof t[k]&&t.removeEventListener(h,Uda),f&&f.call(t,null),t[k]=q,"function"===typeof q&&t.addEventListener(h,Uda,!1))};d.get=function(){var q=this;q||a!==rc||(q=rc);
if(!q)return null;var t=q[k];return t?t:e&&(t=e.call(this))?(d.set.call(this,t),"function"===typeof q.removeAttribute&&q.removeAttribute(b),t):null};Vda(a,b,d);a[c]=!0}},Xda=function(a,b,c){if(b)for(var d=0;d<b.length;d++)Wda(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++)Wda(a,b[d],c)}},tc=function(a){var b=rc[a];if(b){rc[qc(a)]=b;rc[a]=function(){var e=Qda(arguments,a);switch(e.length){case 0:this[sc]=new b;break;case 1:this[sc]=new b(e[0]);break;case 2:this[sc]=
new b(e[0],e[1]);break;case 3:this[sc]=new b(e[0],e[1],e[2]);break;case 4:this[sc]=new b(e[0],e[1],e[2],e[3]);break;default:throw Error("ga");}};oc(rc[a],b);var c=new b(function(){}),d;for(d in c)"XMLHttpRequest"===a&&"responseBlob"===d||function(e){"function"===typeof c[e]?rc[a].prototype[e]=function(){return this[sc][e].apply(this[sc],arguments)}:Vda(rc[a].prototype,e,{set:function(f){"function"===typeof f?(this[sc][e]=Pda(f,a+"."+e),oc(this[sc][e],f)):this[sc][e]=f},get:function(){return this[sc][e]}})}(d);
for(d in b)"prototype"!==d&&b.hasOwnProperty(d)&&(rc[a][d]=b[d])}},uc=function(a,b,c){for(var d=a;d&&!d.hasOwnProperty(b);)d=Yda(d);!d&&a[b]&&(d=a);a=qc(b);var e=null;if(d&&(!(e=d[a])||!d.hasOwnProperty(a))){e=d[a]=d[b];var f=d&&nc(d,b);if(Rda(f)){var h=c(e,a,b);d[b]=function(){return h(this,arguments)};oc(d[b],e)}}return e},Zda=function(a,b,c){function d(f){var h=f.data;h.args[h.cbIdx]=function(){f.invoke.apply(this,arguments)};e.apply(h.target,h.args);return f}var e=null;e=uc(a,b,function(f){return function(h,
k){var q=c(h,k);return 0<=q.cbIdx&&"function"===typeof k[q.cbIdx]?Zone.current.scheduleMacroTask(q.name,k[q.cbIdx],q,d):f.apply(h,k)}})},oc=function(a,b){a[qc("OriginalDelegate")]=b},bea=function(){if($da)return aea;$da=!0;try{var a=vc.navigator.userAgent;if(-1!==a.indexOf("MSIE ")||-1!==a.indexOf("Trident/")||-1!==a.indexOf("Edge/"))aea=!0}catch(b){}return aea},cea=function(a,b){var c=(b?b(a):a)+"false";b=(b?b(a):a)+"true";c=wc+c;b=wc+b;xc[a]={};xc[a]["false"]=c;xc[a]["true"]=b},jea=function(a,b,
c,d){function e(U,aa,na){if(aa=aa||a.event){U=U||aa.target||a;var sa=U[xc[aa.type][na?"true":"false"]];if(sa){na=[];if(1===sa.length)(aa=C(sa[0],U,aa))&&na.push(aa);else{sa=sa.slice();for(var Ba=0;Ba<sa.length&&(!aa||!0!==aa[dea]);Ba++){var Pa=C(sa[Ba],U,aa);Pa&&na.push(Pa)}}if(1===na.length)throw na[0];aa={};for(U=0;U<na.length;aa={err$jscomp$26:aa.err$jscomp$26},U++)aa.err$jscomp$26=na[U],b.nativeScheduleMicroTask(function(Ja){return function(){throw Ja.err$jscomp$26;}}(aa))}}}function f(U,aa){if(!U)return!1;
var na=!0;aa&&void 0!==aa.useG&&(na=aa.useG);var sa=aa&&aa.vh,Ba=!0;aa&&void 0!==aa.chkDup&&(Ba=aa.chkDup);var Pa=!1;aa&&void 0!==aa.rt&&(Pa=aa.rt);for(var Ja=U;Ja&&!Ja.hasOwnProperty(h);)Ja=Yda(Ja);!Ja&&U[h]&&(Ja=U);if(!Ja||Ja[w])return!1;var cb=aa&&aa.eventNameToString,qb={},Ra=Ja[w]=Ja[h],fa=Ja[qc(k)]=Ja[k];U=Ja[qc(q)]=Ja[q];var wa=Ja[qc(t)]=Ja[t],Ca;aa&&aa.prepend&&(Ca=Ja[qc(aa.prepend)]=Ja[aa.prepend]);var Wa=function(jb){if(!jb.isRemoved){var Kb=xc[jb.eventName],Vb;Kb&&(Vb=Kb[jb.capture?"true":
"false"]);if(Kb=Vb&&jb.target[Vb])for(var yc=0;yc<Kb.length;yc++)if(Kb[yc]===jb){Kb.splice(yc,1);jb.isRemoved=!0;0===Kb.length&&(jb.allRemoved=!0,jb.target[Vb]=null);break}}if(jb.allRemoved)return fa.call(jb.target,jb.eventName,jb.capture?I:J,jb.options)},Va=function(jb){return Ra.call(qb.target,qb.eventName,jb.invoke,qb.options)},qd=function(jb){return Ca.call(qb.target,qb.eventName,jb.invoke,qb.options)},$a=function(jb){return fa.call(jb.target,jb.eventName,jb.invoke,jb.options)};Va=na?function(){if(!qb.isExisting)return Ra.call(qb.target,
qb.eventName,qb.capture?I:J,qb.options)}:Va;Wa=na?Wa:$a;$a=function(jb,Kb){var Vb=typeof Kb;return"function"===Vb&&jb.callback===Kb||"object"===Vb&&jb.originalDelegate===Kb};var vb=aa&&aa.diff?aa.diff:$a,Sa=Zone[qc("UNPATCHED_EVENTS")],Fb=a[qc("PASSIVE_EVENTS")];$a=function(jb,Kb,Vb,yc,pc,gd){pc=void 0===pc?!1:pc;gd=void 0===gd?!1:gd;return function(){var ud=this||a,se=arguments[0];aa&&aa.transferEventName&&(se=aa.transferEventName(se));var yj=arguments[1];if(!yj||eea&&"uncaughtException"===se)return jb.apply(this,
arguments);var Kca=!1;if("function"!==typeof yj){if(!yj.handleEvent)return jb.apply(this,arguments);Kca=!0}if(!sa||sa(jb,yj,ud,arguments)){var lt=zc&&!!Fb&&-1!==Fb.indexOf(se);var Bg=arguments[2];Bg=!zc&&"object"===typeof Bg&&Bg?!!Bg.capture:zc&&lt?"boolean"===typeof Bg?{capture:Bg,passive:!0}:Bg?"object"===typeof Bg&&!1!==Bg.passive?Object.assign({},Bg,{passive:!0}):Bg:{passive:!0}:Bg;if(Sa)for(var lR=0;lR<Sa.length;lR++)if(se===Sa[lR])return lt?jb.call(ud,se,yj,Bg):jb.apply(this,arguments);lt=Bg?
"boolean"===typeof Bg?!0:Bg.capture:!1;lR=Bg&&"object"===typeof Bg?Bg.once:!1;var qgb=Zone.current,mt=xc[se];mt||(cea(se,cb),mt=xc[se]);var Sw=mt[lt?"true":"false"];mt=ud[Sw];var kI=!1;if(mt){if(kI=!0,Ba)for(Sw=0;Sw<mt.length;Sw++)if(vb(mt[Sw],yj))return}else mt=ud[Sw]=[];var Gm;Sw=ud.constructor.name;var CIa=fea[Sw];CIa&&(Gm=CIa[se]);Gm||(Gm=Sw+Kb+(cb?cb(se):se));qb.options=Bg;lR&&(qb.options.once=!1);qb.target=ud;qb.capture=lt;qb.eventName=se;qb.isExisting=kI;if(kI=na?gea:void 0)kI.taskData=qb;
Gm=qgb.scheduleEventTask(Gm,yj,kI,Vb,yc);qb.target=null;kI&&(kI.taskData=null);lR&&(Bg.once=!0);if(zc||"boolean"!==typeof Gm.options)Gm.options=Bg;Gm.target=ud;Gm.capture=lt;Gm.eventName=se;Kca&&(Gm.originalDelegate=yj);gd?mt.unshift(Gm):mt.push(Gm);if(pc)return ud}}};Ja[h]=$a(Ra,y,Va,Wa,Pa);Ca&&(Ja.prependListener=$a(Ca,".prependListener:",qd,Wa,Pa,!0));Ja[k]=function(){var jb=this||a,Kb=arguments[0];aa&&aa.transferEventName&&(Kb=aa.transferEventName(Kb));var Vb=arguments[2],yc=Vb?"boolean"===typeof Vb?
!0:Vb.capture:!1;Vb=arguments[1];if(!Vb)return fa.apply(this,arguments);if(!sa||sa(fa,Vb,jb,arguments)){var pc=xc[Kb],gd;pc&&(gd=pc[yc?"true":"false"]);if(yc=gd&&jb[gd])for(pc=0;pc<yc.length;pc++){var ud=yc[pc];if(vb(ud,Vb)){yc.splice(pc,1);ud.isRemoved=!0;0===yc.length&&(ud.allRemoved=!0,jb[gd]=null,"string"===typeof Kb&&(jb[wc+"ON_PROPERTY"+Kb]=null));ud.zone.cancelTask(ud);if(Pa)return jb;return}}return fa.apply(this,arguments)}};Ja[q]=function(jb){var Kb=this||a,Vb=jb;aa&&aa.transferEventName&&
(Vb=aa.transferEventName(Vb));jb=[];Kb=hea(Kb,cb?cb(Vb):Vb);for(Vb=0;Vb<Kb.length;Vb++){var yc=Kb[Vb];jb.push(yc.originalDelegate?yc.originalDelegate:yc.callback)}return jb};Ja[t]=function(jb){var Kb=this||a;if(jb){aa&&aa.transferEventName&&(jb=aa.transferEventName(jb));var Vb=xc[jb];if(Vb){var yc=Kb[Vb["false"]];Kb=Kb[Vb["true"]];if(yc)for(yc=yc.slice(),Vb=0;Vb<yc.length;Vb++){var pc=yc[Vb];this[k].call(this,jb,pc.originalDelegate?pc.originalDelegate:pc.callback,pc.options)}if(Kb)for(Kb=Kb.slice(),
yc=0;yc<Kb.length;yc++)Vb=Kb[yc],this[k].call(this,jb,Vb.originalDelegate?Vb.originalDelegate:Vb.callback,Vb.options)}}else{jb=Object.keys(Kb);for(Kb=0;Kb<jb.length;Kb++)(yc=(yc=iea.exec(jb[Kb]))&&yc[1])&&"removeListener"!==yc&&this[t].call(this,yc);this[t].call(this,"removeListener")}if(Pa)return this};oc(Ja[h],Ra);oc(Ja[k],fa);wa&&oc(Ja[t],wa);U&&oc(Ja[q],U);return!0}for(var h=d&&d.add||"addEventListener",k=d&&d.rm||"removeEventListener",q=d&&d.listeners||"eventListeners",t=d&&d.rmAll||"removeAllListeners",
w=qc(h),y="."+h+":",C=function(U,aa,na){if(!U.isRemoved){var sa=U.callback;"object"===typeof sa&&sa.handleEvent&&(U.callback=function(Ja){return sa.handleEvent(Ja)},U.originalDelegate=sa);try{U.invoke(U,aa,[na])}catch(Ja){var Ba=Ja}var Pa=U.options;Pa&&"object"===typeof Pa&&Pa.once&&aa[k].call(aa,na.type,U.originalDelegate?U.originalDelegate:U.callback,Pa);return Ba}},J=function(U){return e(this,U,!1)},I=function(U){return e(this,U,!0)},P=[],O=0;O<c.length;O++)P[O]=f(c[O],d);return P},hea=function(a,
b){if(!b){var c=[],d;for(d in a){var e=iea.exec(d);if((e=e&&e[1])&&(!b||e===b)&&(e=a[d]))for(var f=0;f<e.length;f++)c.push(e[f])}return c}c=xc[b];c||(cea(b),c=xc[b]);b=a[c["false"]];a=a[c["true"]];return b?a?b.concat(a):b.slice():a?a.slice():[]},kea=function(a,b){(a=a.Event)&&a.prototype&&b.patchMethod(a.prototype,"stopImmediatePropagation",function(c){return function(d,e){d[dea]=!0;c&&c.apply(d,e)}})},lea=function(a,b){b.patchMethod(a,"queueMicrotask",function(){return function(c,d){Zone.current.scheduleMicroTask("queueMicrotask",
d[0])}})},Ac=function(a,b,c,d){function e(t){var w=t.data;w.args[0]=function(){return t.invoke.apply(this,arguments)};w.handleId=h.apply(a,w.args);return t}function f(t){return k.call(a,t.data.handleId)}var h=null,k=null;b+=d;c+=d;var q={};h=uc(a,b,function(t){return function(w,y){if("function"===typeof y[0]){var C={isPeriodic:"Interval"===d,delay:"Timeout"===d||"Interval"===d?y[1]||0:void 0,args:y},J=y[0];y[0]=function(){try{return J.apply(this,arguments)}finally{C.isPeriodic||("number"===typeof C.handleId?
delete q[C.handleId]:C.handleId&&(C.handleId[mea]=null))}};w=Zone.current.scheduleMacroTask(b,y[0],C,e,f);if(!w)return w;y=w.data.handleId;"number"===typeof y?q[y]=w:y&&(y[mea]=w);y&&y.ref&&y.unref&&"function"===typeof y.ref&&"function"===typeof y.unref&&(w.ref=y.ref.bind(y),w.unref=y.unref.bind(y));return"number"===typeof y||y?y:w}return t.apply(a,y)}});k=uc(a,c,function(t){return function(w,y){w=y[0];if("number"===typeof w)var C=q[w];else(C=w&&w[mea])||(C=w);C&&"string"===typeof C.type?"notScheduled"!==
C.state&&(C.cancelFn&&C.data.isPeriodic||0===C.runCount)&&("number"===typeof w?delete q[w]:w&&(w[mea]=null),C.zone.cancelTask(C)):t.apply(a,y)}})},nea=function(a,b,c,d,e){var f=Zone.__symbol__(d);if(!b[f]){var h=b[f]=b[d];b[d]=function(k,q,t){q&&q.prototype&&e.forEach(function(w){var y=c+"."+d+"::"+w,C=q.prototype;try{if(C.hasOwnProperty(w)){var J=a.ObjectGetOwnPropertyDescriptor(C,w);J&&J.value?(J.value=a.wrapWithCurrentZone(J.value,y),a._redefineProperty(q.prototype,w,J)):C[w]&&(C[w]=a.wrapWithCurrentZone(C[w],
y))}else C[w]&&(C[w]=a.wrapWithCurrentZone(C[w],y))}catch(I){}});return h.call(b,k,q,t)};a.attachOriginToPatched(b[d],h)}},oea=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)})},pea=function(a){return Object.getOwnPropertyNames(a).filter(function(b){return b.startsWith("on")&&2<b.length}).map(function(b){return b.substring(2)})},wea=function(){qea=
Zone.__symbol__;rea=Object[qea("defineProperty")]=Object.defineProperty;sea=Object[qea("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor;tea=Object.create;Bc=qea("unconfigurables");Object.defineProperty=function(a,b,c){if(a&&a[Bc]&&a[Bc][b])throw new TypeError("ka`"+b+"`"+a);var d=c.configurable;"prototype"!==b&&(c=uea(a,b,c));return vea(a,b,c,d)};Object.defineProperties=function(a,b){Object.keys(b).forEach(function(f){Object.defineProperty(a,f,b[f])});for(var c=l(Object.getOwnPropertySymbols(b)),
d=c.next();!d.done;d=c.next()){d=d.value;var e=void 0;(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]=uea(a,c,b[c])});return tea(a,b)};Object.getOwnPropertyDescriptor=function(a,b){var c=sea(a,b);c&&a&&a[Bc]&&a[Bc][b]&&(c.configurable=!1);return c}},xea=function(a,b,c){var d=c.configurable;c=uea(a,b,c);return vea(a,b,c,d)},uea=function(a,
b,c){Object.isFrozen(c)||(c.configurable=!0);c.configurable||(a[Bc]||Object.isFrozen(a)||rea(a,Bc,{writable:!0,value:{}}),a[Bc]&&(a[Bc][b]=!0));return c},vea=function(a,b,c,d){try{return rea(a,b,c)}catch(e){if(c.configurable){"undefined"==typeof d?delete c.configurable:c.configurable=d;try{return rea(a,b,c)}catch(f){d=!1;if("createdCallback"===b||"attachedCallback"===b||"detachedCallback"===b||"attributeChangedCallback"===b)d=!0;if(!d)throw f;d=null;try{d=JSON.stringify(c)}catch(h){d=c.toString()}console.log("Attempting to configure '"+
b+"' with descriptor '"+d+"' on object '"+a+"' and got error, giving up: "+f)}}else throw e;}},yea=function(a,b){var c=b.getGlobalObjects(),d=c.eventNames,e=c.globalSources,f=c.zoneSymbolEventNames,h=c.TRUE_STR,k=c.FALSE_STR,q=c.ZONE_SYMBOL_PREFIX,t="ApplicationCache EventSource FileReader InputMethodContext MediaController MessagePort Node Performance SVGElementInstance SharedWorker TextTrack TextTrackCue TextTrackList WebKitNamedFlow Window Worker WorkerGlobalScope XMLHttpRequest XMLHttpRequestEventTarget XMLHttpRequestUpload IDBRequest IDBOpenDBRequest IDBDatabase IDBTransaction IDBCursor DBIndex WebSocket".split(" ");
c=[];var w="Anchor Area Audio BR Base BaseFont Body Button Canvas Content DList Directory Div Embed FieldSet Font Form Frame FrameSet HR Head Heading Html IFrame Image Input Keygen LI Label Legend Link Map Marquee Media Menu Meta Meter Mod OList Object OptGroup Option Output Paragraph Pre Progress Quote Script Select Source Span Style TableCaption TableCell TableCol Table TableRow TableSection TextArea Title Track UList Unknown Video".split(" ");a.wtf?c=w.map(function(aa){return"HTML"+aa+"Element"}).concat(t):
a.EventTarget?c.push("EventTarget"):c=t;var y=a.__Zone_disable_IE_check||!1,C=a.__Zone_enable_cross_context_check||!1,J=b.isIEOrEdge(),I={MSPointerCancel:"pointercancel",MSPointerDown:"pointerdown",MSPointerEnter:"pointerenter",MSPointerHover:"pointerhover",MSPointerLeave:"pointerleave",MSPointerMove:"pointermove",MSPointerOut:"pointerout",MSPointerOver:"pointerover",MSPointerUp:"pointerup"};for(t=0;t<d.length;t++){var P=d[t],O=q+(P+k),U=q+(P+h);f[P]={};f[P][k]=O;f[P][h]=U}for(f=0;f<w.length;f++)for(h=
w[f],k=e[h]={},q=0;q<d.length;q++)t=d[q],k[t]=h+".addEventListener:"+t;d=[];for(e=0;e<c.length;e++)w=a[c[e]],d.push(w&&w.prototype);b.patchEventTarget(a,b,d,{vh:function(aa,na,sa,Ba){if(!y&&J)if(C)try{var Pa=na.toString();if("[object FunctionWrapper]"===Pa||"function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }"==Pa)return aa.apply(sa,Ba),!1}catch(Ja){return aa.apply(sa,Ba),!1}else{if(na=na.toString(),"[object FunctionWrapper]"===na||"function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }"==
na)return aa.apply(sa,Ba),!1}else if(C)try{na.toString()}catch(Ja){return aa.apply(sa,Ba),!1}return!0},transferEventName:function(aa){return I[aa]||aa}});Zone[b.symbol("patchEventTarget")]=!!a.EventTarget},zea=function(a,b){var c=a.getGlobalObjects(),d=c.ADD_EVENT_LISTENER_STR,e=c.REMOVE_EVENT_LISTENER_STR,f=b.WebSocket;b.EventTarget||a.patchEventTarget(b,a,[f.prototype]);b.WebSocket=function(k,q){var t=1<arguments.length?new f(k,q):new f(k),w=a.ObjectGetOwnPropertyDescriptor(t,"onmessage");if(w&&
!1===w.configurable){var y=a.ObjectCreate(t);var C=t;[d,e,"send","close"].forEach(function(J){y[J]=function(){var I=a.ArraySlice.call(arguments);if(J===d||J===e){var P=0<I.length?I[0]:void 0;P&&(P=Zone.__symbol__("ON_PROPERTY"+P),t[P]=y[P])}return t[J].apply(t,I)}})}else y=t;a.patchOnProperties(y,["close","error","message","open"],C);return y};c=b.WebSocket;for(var h in f)c[h]=f[h]},Aea=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 f=a.symbol("fake");a.ObjectDefineProperty(c,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return this[f]},set:function(h){this[f]=h}});a=new e;c=function(){};a.onreadystatechange=c;c=a[f]===c;a.onreadystatechange=null;return c},Cea=function(a){for(var b=a.symbol("unbound"),c={},d=0;d<Bea.length;c={onproperty:c.onproperty},
d++){var e=Bea[d];c.onproperty="on"+e;self.addEventListener(e,function(f){return function(h){h=h.target;var k;for(k=h?h.constructor.name+"."+f.onproperty:"unknown."+f.onproperty;h;){if(h[f.onproperty]&&!h[f.onproperty][b]){var q=a.wrapWithCurrentZone(h[f.onproperty],k);q[b]=h[f.onproperty];h[f.onproperty]=q}h=h.parentElement}}}(c),!0)}},Cc=function(a){for(var b in a)if(a[b]===Cc)return b;throw Error("la");},Dea=function(a,b){for(var c in b)b.hasOwnProperty(c)&&!a.hasOwnProperty(c)&&(a[c]=b[c])},Dc=
function(a){return{token:a.token,providedIn:a.providedIn||null,factory:a.factory,value:void 0}},Ec=function(a){return{providers:a.providers||[],imports:a.imports||[]}},Gea=function(a){var b;(b=a.hasOwnProperty(Eea)?a[Eea]:null)||(b=a.hasOwnProperty(Fea)?a[Fea]:null);return b},Hea=function(a){return(a=a&&(a[Eea]||a[Fea]))?a:null},Kea=function(a){return a&&(a.hasOwnProperty(Iea)||a.hasOwnProperty(Jea))?a[Iea]:null},Fc=function(a){return"string"===typeof a?a:null==a?"":String(a)},Gc=function(a){if("string"===
typeof a)return a;if(Array.isArray(a))return"["+a.map(Gc).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)},Lea=function(a,b){return null==a||""===a?null===b?"":b:null==b||""===b?a:a+" "+b},Mea=function(){throw new Hc(-201,!1);},Ic=function(a){var b=Nea;Nea=a;return b},Oea=function(a,b,c){var d=Gea(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;Mea(Gc(a))},Jc=function(a){a.__forward_ref__=Jc;a.toString=function(){return Gc(this())};return a},Kc=function(a){return Pea(a)?a():a},Pea=function(a){return"function"===typeof a&&a.hasOwnProperty(Qea)&&a.__forward_ref__===Jc},Mc=function(a){var b=Lc;Lc=a;return b},Rea=function(a,b){b=void 0===b?0:b;if(void 0===Lc)throw new Hc(-203,!1);return null===Lc?Oea(a,void 0,b):Lc.get(a,b&8?null:void 0,b)},p=function(a,b){b=void 0===b?0:
b;return(Nea||Rea)(Kc(a),b)},Nc=function(a,b){return p(a,Sea(void 0===b?0:b))},Sea=function(a){return"undefined"===typeof a||"number"===typeof a?a:0|(a.optional&&8)|(a.host&&1)|(a.self&&2)|(a.skipSelf&&4)},Tea=function(a){for(var b=[],c=0;c<a.length;c++){var d=Kc(a[c]);if(Array.isArray(d)){if(0===d.length)throw new Hc(900,!1);for(var e=void 0,f=0,h=0;h<d.length;h++){var k=d[h],q=k.__NG_DI_FLAG__;"number"===typeof q?-1===q?e=k.token:f|=q:e=k}b.push(p(e,f))}else b.push(p(d))}return b},Oc=function(a,
b){a.__NG_DI_FLAG__=b;a.prototype.__NG_DI_FLAG__=b;return a},Uea=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}},Vea=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 f=c[d++],h=c[d++];a.setAttribute(b,f,h,e)}else f=c[++d],64===e.charCodeAt(0)?a.setProperty(b,e,f):a.setAttribute(b,e,f),d++}},Pc=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?Wea(a,c,e,b[++d]):Wea(a,c,e,null))}return a},Wea=function(a,b,c,d){var e=0,f=a.length;if(-1===b)f=-1;else for(;e<a.length;){var h=a[e++];if("number"===typeof h)if(h===b){f=-1;break}else if(h>b){f=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!==f&&(a.splice(f,0,b),e=f+1);
a.splice(e++,0,c);null!==d&&a.splice(e++,0,d)},Xea=function(a,b,c){var d=4,e=a.attrs||[],f;a:{for(f=0;f<e.length;f++){var h=e[f];if(3===h||4===h||6===h)break a}f=e.length}h=!1;for(var k=0;k<b.length;k++){var q=b[k];if("number"===typeof q){if(!h&&0!==(d&1)&&0!==(q&1))return!1;h&&0===(q&1)||(h=!1,d=q|d&1)}else if(!h)if(d&4){if(d=2|d&1,""!==q&&q!==(4!==a.type||c?a.value:"ng-template")||""===q&&1===b.length){if(0===(d&1))return!1;h=!0}}else{var t=d&8?q:b[++k];if(d&8&&null!==a.attrs){a:{q=a.attrs;for(var w=
c,y=0,C=!0;y<q.length;){var J=q[y++];if("string"===typeof J&&C){var I=q[y++];if(w&&"class"===J&&-1!==Uea(I.toLowerCase(),t)){t=!0;break a}}else if(1===J){for(;y<q.length&&"string"==typeof(J=q[y++]);)if(J.toLowerCase()===t){t=!0;break a}break}else"number"===typeof J&&(C=!1)}t=!1}if(!t){if(0===(d&1))return!1;h=!0}}else{a:if(q=d&8?"class":q,null===e)q=-1;else if(w=0,c||4!==a.type||"ng-template"===a.value){for(y=!1;w<e.length;){C=e[w];if(C===q){q=w;break a}if(3===C||6===C)y=!0;else if(1===C||2===C){for(C=
e[++w];"string"===typeof C;)C=e[++w];continue}else if(4===C)break;else if(0===C){w+=4;continue}w+=y?1:2}q=-1}else b:{w=e.indexOf(4);if(-1<w)for(w++;w<e.length;){y=e[w];if("number"===typeof y)break;if(y===q){q=w;break b}w++}q=-1}if(-1===q){if(0===(d&1))return!1;h=!0}else if(""!==t&&(q=q>f?"":e[q+1].toLowerCase(),(w=d&8?q:null)&&-1!==Uea(w,t)||d&2&&t!==q)){if(0===(d&1))return!1;h=!0}}}}return 0===(d&1)||h},Yea=function(a,b,c){c=void 0===c?!1:c;for(var d=0;d<b.length;d++)if(Xea(a,b[d],c))return!0;return!1},
Zea=function(a){for(var b=a[0],c=1,d=2,e="",f=!1;c<a.length;){var h=a[c];if("string"===typeof h)if(d&2){var k=a[++c];e+="["+h+(0<k.length?'="'+k+'"':"")+"]"}else d&8?e+="."+h:d&4&&(e+=" "+h);else""!==e&&0!==(h&1)&&(b+=f?":not("+e.trim()+")":e,e=""),d=h,f=f||0!==(d&1);c++}""!==e&&(b+=f?":not("+e.trim()+")":e);return b},Qc=function(a){return{toString:a}.toString()},r=function(a){return Qc(function(){var b=$ea(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||Rc,_:null,schemas:a.schemas||null,tView:null,id:""});afa(b);c=a.dependencies;b.directiveDefs=bfa(c,!1);b.pipeDefs=bfa(c,!0);c=0;var d=[b.selectors,b.ngContentSelectors,b.hostVars,b.hostAttrs,b.consts,b.vars,b.decls,b.encapsulation,
b.standalone,b.signals,b.exportAs,JSON.stringify(b.inputs),JSON.stringify(b.outputs),Object.getOwnPropertyNames(b.type.prototype),!!b.contentQueries,!!b.viewQuery].join("|");d=l(d);for(var e=d.next();!e.done;e=d.next())c=Math.imul(31,c)+e.value.charCodeAt(0)<<0;b.id="c"+(c+2147483648);return b})},dfa=function(a){return a[Sc]||a[cfa]||null},efa=function(a){return null!==a},Tc=function(a){return Qc(function(){return{type:a.type,bootstrap:a.bootstrap||Rc,declarations:a.declarations||Rc,imports:a.imports||
Rc,exports:a.exports||Rc,transitiveCompileScopes:null,schemas:a.schemas||null,id:a.id||null}})},ffa=function(a,b){if(null==a)return Uc;var c={},d;for(d in a)if(a.hasOwnProperty(d)){var e=a[d],f=e;Array.isArray(e)&&(f=e[1],e=e[0]);c[e]=d;b&&(b[e]=f)}return c},Vc=function(a){return Qc(function(){var b=$ea(a);afa(b);return b})},Wc=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}},hfa=function(a){return a[gfa]||
null},$ea=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||Uc,exportAs:a.exportAs||null,standalone:!0===a.standalone,signals:!0===a.signals,selectors:a.selectors||Rc,viewQuery:a.viewQuery||null,features:a.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ffa(a.inputs,
b),outputs:ffa(a.outputs),debugInfo:null}},afa=function(a){var b;null==(b=a.features)||b.forEach(function(c){return c(a)})},bfa=function(a,b){if(!a)return null;var c=b?hfa:dfa;return function(){return("function"===typeof a?a():a).map(function(d){return c(d)}).filter(efa)}},Xc=function(a){return a.hasOwnProperty(ifa)?a[ifa]:null},jfa=function(a,b){a.forEach(function(c){return Array.isArray(c)?jfa(c,b):b(c)})},kfa=function(a,b){return b>=a.length-1?a.pop():a.splice(b,1)[0]},lfa=function(a,b){for(var c=
[],d=0;d<a;d++)c.push(b);return c},Zc=function(a,b,c){var d=Yc(a,b);if(0<=d)a[d|1]=c;else{var e=d=~d,f=a.length;if(f==e)a.push(b,c);else if(1===f)a.push(c,a[0]),a[0]=b;else{f--;for(a.push(a[f-1],a[f]);f>e;)a[f]=a[f-2],f--;a[e]=b;a[e+1]=c}}return d},mfa=function(a,b){b=Yc(a,b);if(0<=b)return a[b|1]},Yc=function(a,b){for(var c=0,d=a.length>>1;d!==c;){var e=c+(d-c>>1),f=a[e<<1];if(b===f)return e<<1;f>b?d=e:c=e+1}return~(d<<1)},ofa=function(){return{"\u0275providers":nfa(!0,$c.apply(0,arguments)),"\u0275fromNgModule":!0}},
nfa=function(a){var b=[],c=new Set,d,e=function(f){b.push(f)};jfa($c.apply(1,arguments),function(f){pfa(f,e,[],c)&&(d||(d=[]),d.push(f))});void 0!==d&&qfa(d,e);return b},qfa=function(a,b){for(var c={},d=0;d<a.length;c={providers$jscomp$2:c.providers$jscomp$2,ngModule:c.ngModule},d++){var e=a[d];c.ngModule=e.ngModule;c.providers$jscomp$2=e.providers;rfa(c.providers$jscomp$2,function(f){return function(h){b(h,f.ngModule)}}(c))}},pfa=function(a,b,c,d){a=Kc(a);if(!a)return!1;var e=null,f=Kea(a),h=!f&&
(a[Sc]||null);if(f||h){if(h&&!h.standalone)return!1;e=a}else{var k=a.ngModule;if(f=Kea(k))e=k;else return!1}k=d.has(e);if(h){if(k)return!1;d.add(e);if(h.dependencies)for(f="function"===typeof h.dependencies?h.dependencies():h.dependencies,f=l(f),k=f.next();!k.done;k=f.next())pfa(k.value,b,c,d)}else if(f){if(null!=f.imports&&!k){d.add(e);var q;jfa(f.imports,function(w){pfa(w,b,c,d)&&(q||(q=[]),q.push(w))});void 0!==q&&qfa(q,b)}k||(h=Xc(e)||function(){return new e},b({provide:e,useFactory:h,deps:Rc},
e),b({provide:sfa,useValue:e,multi:!0},e),b({provide:tfa,useValue:function(){return p(e)},multi:!0},e));f=f.providers;if(null!=f&&!k){var t=a;rfa(f,function(w){b(w,t)})}}else return!1;return e!==a&&void 0!==a.providers},rfa=function(a,b){a=l(a);for(var c=a.next();!c.done;c=a.next())(c=c.value)&&c.\u0275providers&&(c=c.\u0275providers),Array.isArray(c)?rfa(c,b):b(c)},vfa=function(a){return null!==a&&"object"==typeof a&&ufa in a},ad=function(a){return"function"===typeof a},yfa=function(){void 0===wfa&&
(wfa=new xfa);return wfa},Afa=function(a){var b=Gea(a);b=null!==b?b.factory:Xc(a);if(null!==b)return b;if(a instanceof bd)throw new Hc(204,!1);if(a instanceof Function)return zfa(a);throw new Hc(204,!1);},zfa=function(a){var b=a.length;if(0<b)throw lfa(b,"?"),new Hc(204,!1);var c=Hea(a);return null!==c?function(){return c.factory(a)}:function(){return new a}},Dfa=function(a){if(vfa(a))return cd(void 0,a.useValue);a=Bfa(a);return cd(a,Cfa)},Bfa=function(a){var b=void 0;if(ad(a))return b=Kc(a),Xc(b)||
Afa(b);if(vfa(a))b=function(){return Kc(a.useValue)};else if(a&&a.useFactory)b=function(){return a.useFactory.apply(a,u(Tea(a.deps||[])))};else if(a&&a.useExisting)b=function(){return p(Kc(a.useExisting))};else{var c=Kc(a&&(a.useClass||a.provide));if(a.deps)b=function(){return new (Function.prototype.bind.apply(c,[null].concat(u(Tea(a.deps)))))};else return Xc(c)||Afa(c)}return b},cd=function(a,b,c){return{factory:a,value:b,multi:(void 0===c?0:c)?[]:void 0}},Efa=function(a,b){a=l(a);for(var c=a.next();!c.done;c=
a.next())c=c.value,Array.isArray(c)?Efa(c,b):c&&c&&c.\u0275providers?Efa(c.\u0275providers,b):b(c)},fd=function(a,b){a instanceof dd&&ed(a);a=Mc(a);var c=Ic();try{return b()}finally{Mc(a),Ic(c)}},Ffa=function(a){return function(){var b=$c.apply(0,arguments);if(a){b=a.apply(null,u(b));for(var c in b)this[c]=b[c]}}},hd=function(a){return Qc(function(){function b(){function d(h,k,q){for(k=h.hasOwnProperty("__parameters__")?h.__parameters__:Object.defineProperty(h,"__parameters__",{value:[]}).__parameters__;k.length<=
q;)k.push(null);(k[q]=k[q]||[]).push(f);return h}var e=$c.apply(0,arguments);if(this instanceof b)return c.apply(this,e),this;var f=new (Function.prototype.bind.apply(b,[null].concat(u(e))));d.annotation=f;return d}var c=Ffa(a);return b})},id=function(a){return Array.isArray(a)&&"object"===typeof a[1]},jd=function(a){return Array.isArray(a)&&!0===a[1]},Gfa=function(a,b){return Object.is(a,b)},kd=function(a){var b=Hfa;Hfa=a;return b},Ifa=function(a){a&&(a.nextProducerIndex=0);return kd(a)},Lfa=function(a,
b){kd(b);if(a&&void 0!==a.producerNode&&void 0!==a.producerIndexOfThis&&void 0!==a.producerLastReadVersion){if(Jfa(a))for(b=a.nextProducerIndex;b<a.producerNode.length;b++)Kfa(a.producerNode[b],a.producerIndexOfThis[b]);for(;a.producerNode.length>a.nextProducerIndex;)a.producerNode.pop(),a.producerLastReadVersion.pop(),a.producerIndexOfThis.pop()}},Nfa=function(a){Mfa(a);for(var b=0;b<a.producerNode.length;b++){var c=a.producerNode[b],d=a.producerLastReadVersion[b];if(d!==c.version)return!0;if(!Jfa(c)||
c.dirty)if(c.dirty||1!==c.lastCleanEpoch)(c.producerMustRecompute(c)||Nfa(c))&&c.producerRecomputeValue(c),c.dirty=!1,c.lastCleanEpoch=1;if(d!==c.version)return!0}return!1},Kfa=function(a,b){null!=a.liveConsumerNode||(a.liveConsumerNode=[]);null!=a.liveConsumerIndexOfThis||(a.liveConsumerIndexOfThis=[]);Mfa(a);if(1===a.liveConsumerNode.length)for(var c=0;c<a.producerNode.length;c++)Kfa(a.producerNode[c],a.producerIndexOfThis[c]);c=a.liveConsumerNode.length-1;a.liveConsumerNode[b]=a.liveConsumerNode[c];
a.liveConsumerIndexOfThis[b]=a.liveConsumerIndexOfThis[c];a.liveConsumerNode.length--;a.liveConsumerIndexOfThis.length--;b<a.liveConsumerNode.length&&(c=a.liveConsumerIndexOfThis[b],a=a.liveConsumerNode[b],Mfa(a),a.producerIndexOfThis[c]=b)},Jfa=function(a){var b,c;return a.consumerIsAlwaysLive||0<(null!=(c=null==a?void 0:null==(b=a.liveConsumerNode)?void 0:b.length)?c:0)},Mfa=function(a){null!=a.producerNode||(a.producerNode=[]);null!=a.producerIndexOfThis||(a.producerIndexOfThis=[]);null!=a.producerLastReadVersion||
(a.producerLastReadVersion=[])},ld=function(){return Ofa},Ofa=function(a){a.type.prototype.ngOnChanges&&(a.setInput=Pfa);return Qfa},Qfa=function(){var a=this.__ngSimpleChanges__||null,b=null==a?void 0:a.current;if(b){var c=a.previous;if(c===Uc)a.previous=b;else for(var d in b)c[d]=b[d];a.current=null;this.ngOnChanges(b)}},Pfa=function(a,b,c,d){c=this.declaredInputs[c];var e;(e=a.__ngSimpleChanges__||null)||(e=a.__ngSimpleChanges__={previous:Uc,current:null});var f=e;e=f.current||(f.current={});f=
f.previous;var h=f[c];e[c]=new Rfa(h&&h.currentValue,b,f===Uc);a[d]=b},md=function(a){for(;Array.isArray(a);)a=a[0];return a},nd=function(a,b){return md(b[a.index])},od=function(a,b){a=b[a];return id(a)?a:a[0]},pd=function(a,b){return null===b||void 0===b?null:a[b]},Sfa=function(a){var b;return a[2]&9216||(null==(b=a[23])?void 0:b.dirty)},Tfa=function(a){for(a=a[3];null!==a&&!(jd(a)&&a[2]&4||id(a)&&a[2]&8192);){if(jd(a))a[2]|=4;else if(a[2]|=8192,128!==(a[2]&128))break;a=a[3]}},Ufa=function(a,b){if(256===
(a[2]&256))throw new Hc(911,!1);null===a[21]&&(a[21]=[]);a[21].push(b)},v=function(){return rd.lView},x=function(a){rd.contextLView=a;return a[8]},z=function(a){rd.contextLView=null;return a},sd=function(){for(var a=rd.currentTNode;null!==a&&64===a.type;)a=a.parent;return a},td=function(a,b){var c=rd;c.currentTNode=a;c.isParent=b},vd=function(){var a=rd,b=a.bindingRootIndex;-1===b&&(b=a.bindingRootIndex=a.tView.bindingStartIndex);return b},wd=function(a){var b=rd,c=b.bindingIndex;b.bindingIndex+=
a;return c},Vfa=function(a){var b=rd.currentDirectiveIndex;return-1===b?null:a[b]},Xfa=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[5]:null;if(null===b)break;a=a[14];if(b.type&10)break}if(null===b)return!1}c=rd=Wfa();c.currentTNode=b;c.lView=a;return!0},Yfa=function(a){var b=Wfa(),c=a[1];rd=b;b.currentTNode=c.firstChild;b.lView=a;b.tView=c;b.contextLView=a;b.bindingIndex=c.bindingStartIndex;b.inI18n=!1},Wfa=function(){var a=rd,b=null===a?
null:a.child;return null===b?Zfa(a):b},Zfa=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},$fa=function(){var a=rd;rd=a.parent;a.currentTNode=null;a.lView=null;return a},aga=function(){var a=$fa();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},xd=function(){var a=rd;return a.tView.data[a.selectedIndex]},yd=function(){rd.currentNamespace="svg"},bga=function(a,b){var c=b.directiveStart;for(b=b.directiveEnd;c<b;c++){var d=a.data[c].type.prototype,e=d.ngAfterContentInit,f=d.ngAfterContentChecked,h=d.ngAfterViewInit,k=d.ngAfterViewChecked;d=d.ngOnDestroy;if(e){var q=void 0,t=void 0;(null!=(t=(q=a).contentHooks)?
t:q.contentHooks=[]).push(-c,e)}f&&(q=e=void 0,(null!=(q=(e=a).contentHooks)?q:e.contentHooks=[]).push(c,f),q=e=void 0,(null!=(q=(e=a).contentCheckHooks)?q:e.contentCheckHooks=[]).push(c,f));h&&(e=f=void 0,(null!=(e=(f=a).viewHooks)?e:f.viewHooks=[]).push(-c,h));k&&(f=h=void 0,(null!=(f=(h=a).viewHooks)?f:h.viewHooks=[]).push(c,k),f=h=void 0,(null!=(f=(h=a).viewCheckHooks)?f:h.viewCheckHooks=[]).push(c,k));null!=d&&(h=k=void 0,(null!=(h=(k=a).destroyHooks)?h:k.destroyHooks=[]).push(c,d))}},cga=function(a,
b,c,d){(a[2]&3)===c&&zd(a,b,c,d)},dga=function(a,b){var c=a[2];(c&3)===b&&(a[2]=(c&16383)+1)},zd=function(a,b,c,d){for(var e=null!=d?d:-1,f=b.length-1,h=0,k=void 0!==d?a[17]&65535:0;k<f;k++)if("number"===typeof b[k+1]){if(h=b[k],null!=d&&h>=d)break}else{0>b[k]&&(a[17]+=65536);if(h<e||-1==e){var q=0>b[k],t=b[k+1],w=a[q?-b[k]:b[k]];q?a[2]>>14<a[17]>>16&&(a[2]&3)===c&&(a[2]+=16384,ega(w,t)):ega(w,t);a[17]=(a[17]&4294901760)+k+2}k++}},ega=function(a,b){var c=kd(null);try{b.call(a)}finally{kd(c)}},fga=
function(a,b){for(a>>=16;0<a;)b=b[14],a--;return b},hga=function(a){var b=gga;gga=a;return b},jga=function(a,b,c){var d;"string"===typeof c?d=c.charCodeAt(0)||0:c.hasOwnProperty(Ad)&&(d=c[Ad]);null==d&&(d=c[Ad]=iga++);c=d&255;b.data[a+(c>>5)]|=1<<c},nga=function(a,b){var c=kga(a,b);if(-1!==c)return c;c=b[1];c.firstCreatePass&&(a.injectorIndex=b.length,lga(c.data,a),lga(b,null),lga(c.blueprint,null));c=mga(a,b);a=a.injectorIndex;if(-1!==c)for(var d=c&32767,e=fga(c,b),f=e[1].data,h=0;8>h;h++)b[a+h]=
e[d+h]|f[d+h];b[a+8]=c;return a},lga=function(a,b){a.push(0,0,0,0,0,0,0,0,b)},kga=function(a,b){return-1===a.injectorIndex||a.parent&&a.parent.injectorIndex===a.injectorIndex||null===b[a.injectorIndex+8]?-1:a.injectorIndex},mga=function(a,b){if(a.parent&&-1!==a.parent.injectorIndex)return a.parent.injectorIndex;a=0;for(var c=b;null!==c;){b=oga(c);if(null===b)break;a++;c=c[14];if(-1!==b.injectorIndex)return b.injectorIndex|a<<16}return-1},Bd=function(a){var b=sd();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},pga=function(a,b,c,d){c&8&&void 0===d&&(d=null);if(0===(c&3)){a=a[9];var e=Ic();try{return a?a.get(b,d,c&8):Oea(b,d,c&8)}finally{Ic(e)}}c&8||void 0!==d?b=d:(Mea(),b=void 0);return b},rga=function(a,b,c,d,e){d=void 0===d?0:d;if(null!==a){if(b[2]&2048&&!(d&2)){a:{var f=d;for(var h=
Cd,k=a,q=b;null!==k&&null!==q&&q[2]&2048&&!(q[2]&512);){var t=qga(k,q,c,f|2);if(t!==Cd){f=t;break a}k=k.parent;if(!k){if(k=q[20])if(k=k.get(c,Cd,f),k!==Cd){f=k;break a}k=oga(q);q=q[14]}}f=h}if(f!==Cd)return f}a=qga(a,b,c,d);if(a!==Cd)return a}return pga(b,c,d,e)},qga=function(a,b,c,d){var e=Cd;if("string"===typeof c)var f=c.charCodeAt(0)||0;else f=c.hasOwnProperty(Ad)?c[Ad]:void 0,f="number"===typeof f?0<=f?f&255:sga:f;if("function"===typeof f){if(!Xfa(b,a,d))return d&1?d&8||void 0!==e?b=e:(Mea(),
b=void 0):b=pga(b,c,d,e),b;try{var h=f(d);if(null!=h||d&8)return h;Mea()}finally{$fa()}}else if("number"===typeof f){h=null;var k=kga(a,b),q=d&1?b[15][5]:null;if(-1===k||d&4){var t=-1===k?mga(a,b):b[k+8];-1===t||d&2?k=-1:(h=b[1],k=t&32767,b=fga(t,b))}for(;-1!==k;){a=b[1];if(a.data[k+(f>>5)]&1<<f){t=b[1];var w=t.data[k+8],y=tga(w,t,c,null==h?-1<w.componentOffset&&gga:h!=t&&0!==(w.type&3),d&1&&q===w);t=null!==y?Dd(b,t,y,w):Cd;if(t!==Cd)return t}t=b[k+8];-1!==t&&!(d&2||d&1&&b[1].data[k+8]===q)&&b[k+
(f>>5)]&1<<f?(h=a,k=t&32767,b=fga(t,b)):k=-1}}return e},tga=function(a,b,c,d,e){var f=a.providerIndexes,h=b.data,k=f&1048575;b=a.directiveStart;a=a.directiveEnd;var q=f>>20;f=e?k+q:a;for(d=d?k:k+q;d<f;d++)if(k=h[d],d<b&&c===k||d>=b&&k.type===c)return d;return e&&(e=h[b])&&e.template&&e.type===c?b:null},Dd=function(a,b,c,d){var e=a[c],f=b.data;if(e instanceof Ed){var h=e;if(h.resolving)throw a=f[c],new Hc(-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():Fc(a)));var k=hga(h.canSeeViewProviders);h.resolving=!0;var q=h.injectImpl?Ic(h.injectImpl):null;Xfa(a,d,0);try{if(e=a[c]=h.factory(void 0,f,a,d),b.firstCreatePass&&c>=d.directiveStart){var t=f[c],w=t.type.prototype,y=w.ngOnInit,C=w.ngDoCheck;if(w.ngOnChanges){var J=Ofa(t),I;(null!=(I=b.preOrderHooks)?I:b.preOrderHooks=[]).push(c,J);var P;(null!=(P=b.preOrderCheckHooks)?P:b.preOrderCheckHooks=[]).push(c,J)}if(y){var O;(null!=
(O=b.preOrderHooks)?O:b.preOrderHooks=[]).push(-c,y)}if(C){var U;(null!=(U=b.preOrderHooks)?U:b.preOrderHooks=[]).push(c,C);var aa;(null!=(aa=b.preOrderCheckHooks)?aa:b.preOrderCheckHooks=[]).push(c,C)}}}finally{null!==q&&Ic(q),hga(k),h.resolving=!1,$fa()}}return e},sga=function(){return new Fd(sd(),v())},Gd=function(a){return Qc(function(){var b=a.prototype.constructor;b=b[ifa]||uga(b);for(var c=Object.prototype,d=Object.getPrototypeOf(a.prototype).constructor;d&&d!==c;){var e=d[ifa]||uga(d);if(e&&
e!==b)return e;d=Object.getPrototypeOf(d)}return function(f){return new f}})},uga=function(a){return Pea(a)?function(){var b=uga(Kc(a));return b&&b()}:Xc(a)},oga=function(a){var b=a[1],c=b.type;return 2===c?b.declTNode:1===c?a[5]:null},xga=function(a,b,c,d){a=vga(a,void 0===b?null:b,void 0===c?null:c,d);wga(a);return a},vga=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)||Rc,ofa(a)];d=d||("object"===typeof a?void 0:Gc(a));return new dd(c,b||yfa(),d||null,e)},
zga=function(){if(void 0!==yga)return yga;if("undefined"!==typeof document)return document;throw new Hc(210,!1);},Id=function(a,b){return new Hd(nd(a,b))},Aga=function(a){return a instanceof Hd?a.nativeElement:a},Jd=function(a,b){id(b)?(a.__ngContext__=b[19],Bga.set(b[19],b)):a.__ngContext__=b},Cga=function(a){a=a[3];return jd(a)?a[3]:a},Dga=function(a){for(;null!==a&&!jd(a);)a=a[4];return a},Gga=function(){return"".replace(Ega,function(a){return a.replace(Fga,"\u200b$1\u200b")})},Kd=function(a,b,
c,d,e){if(null!=d){var f=!1;if(jd(d))var h=d;else id(d)&&(f=!0,d=d[0]);d=md(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 k=b.parentNode(d);k&&b.removeChild(k,d,f)}else 3===a&&b.destroyNode(d);if(null!=h)for(d=h[7],f=md(h),d!==f&&Kd(a,b,c,d,e),e=10;e<h.length;e++)f=h[e],Ld(b,a,f[1].firstChild,f,c,d,!1)}},Hga=function(a,b){a=a[9];b=a.indexOf(b);a.splice(b,1)},Md=function(a,b){if(!(10>=a.length)){var c=
10+b,d=a[c];if(d){var e=d[16];null!==e&&e!==a&&Hga(e,d);0<b&&(a[c-1][4]=d[4]);a=kfa(a,10+b);Ld(d[11],2,d[1].firstChild,d,null,null,!1);d[0]=null;d[5]=null;b=a[18];null!==b&&b.detachView(a[1]);d[3]=null;d[4]=null;d[2]&=-129}return d}},Jga=function(a,b){if(!(b[2]&256)){var c=b[11];if(b[23]){var d=b[23];Mfa(d);if(Jfa(d))for(var e=0;e<d.producerNode.length;e++)Kfa(d.producerNode[e],d.producerIndexOfThis[e]);d.producerNode.length=d.producerLastReadVersion.length=d.producerIndexOfThis.length=0;d.liveConsumerNode&&
(d.liveConsumerNode.length=d.liveConsumerIndexOfThis.length=0)}c.destroyNode&&Ld(c,3,a.firstChild,b,null,null,!1);if(a=b[12])for(;a;){c=null;id(a)?c=a[12]:(d=a[10])&&(c=d);if(!c){for(;a&&!a[4]&&a!==b;)id(a)&&Iga(a[1],a),a=a[3];null===a&&(a=b);id(a)&&Iga(a[1],a);c=a&&a[4]}a=c}else Iga(b[1],b)}},Iga=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 Ed)){var f=c[d+1];if(Array.isArray(f))for(var h=
0;h<f.length;h+=2)f[h+1].call(e[f[h]]);else f.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]){f=c[e+3];if(0<=f)d[f]();else d[-f].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&&jd(b[3])&&(c!==b[3]&&Hga(c,b),c=b[18],null!==c&&c.detachView(a));Bga.delete(b[19])}},Kga=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:nd(b,c)},Lga=function(a,b,c,d){a=Kga(a,d.parent,b);var e=b[11];d=d.parent||b[5];b=d.type&40?nd(d,b):null;if(null!=a)if(Array.isArray(c))for(d=0;d<c.length;d++){var f=c[d];null!==b?e.insertBefore(a,f,b,!1):e.appendChild(a,f)}else null!==b?e.insertBefore(a,c,b,!1):e.appendChild(a,c)},Nga=function(a,b){if(null!==b){var c=b.type;if(c&3)return nd(b,a);if(c&4)return Mga(-1,a[b.index]);if(c&8){c=
b.child;if(null!==c)return Nga(a,c);a=a[b.index];return jd(a)?Mga(-1,a):md(a)}if(c&32)return(void 0)(b,a)()||md(a[b.index]);c=null!==b?a[15][5].projection[b.projection]:null;if(null!==c){if(Array.isArray(c))return c[0];a=Cga(a[15]);return Nga(a,c)}return Nga(a,b.next)}return null},Mga=function(a,b){a+=11;if(a<b.length){a=b[a];var c=a[1].firstChild;if(null!==c)return Nga(a,c)}return b[7]},Ld=function(a,b,c,d,e,f,h){for(;null!=c;){var k=d[c.index],q=c.type;h&&0===b&&(k&&Jd(md(k),d),c.flags|=2);if(32!==
(c.flags&32))if(q&8)Ld(a,b,c.child,d,e,f,!1),Kd(b,a,e,k,f);else if(q&32){q=(void 0)(c,d);for(var t;t=q();)Kd(b,a,e,t,f);Kd(b,a,e,k,f)}else q&16?Oga(a,b,d,c,e,f):Kd(b,a,e,k,f);c=h?c.projectionNext:c.next}},Oga=function(a,b,c,d,e,f){var h=c[15];c=h[5].projection[d.projection];if(Array.isArray(c))for(d=0;d<c.length;d++)Kd(b,a,e,c[d],f);else h=h[3],128===(d.flags&128)&&(c.flags|=128),Ld(a,b,c,h,e,f,!0)},Pga=function(a,b,c){var d=c.mergedAttrs,e=c.classes;c=c.styles;null!==d&&Vea(a,b,d);null!==e&&(""===
e?a.removeAttribute(b,"class"):a.setAttribute(b,"class",e));null!==c&&a.setAttribute(b,"style",c)},Qga=function(a,b,c,d,e){for(e=void 0===e?!1:e;null!==c;){var f=b[c.index];null!==f&&d.push(md(f));if(jd(f)){for(var h=d,k=10;k<f.length;k++){var q=f[k],t=q[1].firstChild;null!==t&&Qga(q[1],q,t,h)}f[7]!==f[0]&&h.push(f[7])}f=c.type;if(f&8)Qga(a,b,c.child,d);else if(f&32)for(f=(void 0)(c,b);h=f();)d.push(h);else f&16&&(f=null!==c?b[15][5].projection[c.projection]:null,Array.isArray(f)?d.push.apply(d,u(f)):
(h=Cga(b[15]),Qga(h[1],h,f,d,!0)));c=e?c.projectionNext:c.next}return d},Nd=function(a){return a.ownerDocument.defaultView},Rga=function(a){return a.ownerDocument},A=function(a){Sga(rd.tView,v(),rd.selectedIndex+a)},Sga=function(a,b,c){3===(b[2]&3)?(a=a.preOrderCheckHooks,null!==a&&zd(b,a,3,c)):(a=a.preOrderHooks,null!==a&&cga(b,a,0,c));rd.selectedIndex=c},B=function(a,b){b=void 0===b?0:b;var c=v();return null===c?p(a,b):rga(sd(),c,Kc(a),b)},Od=function(){throw Error("ta");},Qd=function(a){return a instanceof
Pd?a.changingThisBreaksApplicationSecurity:a},Rd=function(a,b){a=a instanceof Pd&&a.getTypeName()||null;if(null!=a&&a!==b){if("ResourceURL"===a&&"URL"===b)return!0;throw Error("ua`"+b+"`"+a);}return a===b},Uga=function(){if(void 0===Tga&&(Tga=null,Sd.trustedTypes))try{Tga=Sd.trustedTypes.createPolicy("angular",{createHTML:function(a){return a},createScript:function(a){return a},createScriptURL:function(a){return a}})}catch(a){}return Tga},Vga=function(a){var b;return(null==(b=Uga())?void 0:b.createHTML(a))||
a},Xga=function(a){a=String(a);return a.match(Wga)?a:"unsafe:"+a},Td=function(a){var b={};a=l(a.split(","));for(var c=a.next();!c.done;c=a.next())b[c.value]=!0;return b},Ud=function(){for(var a={},b=l($c.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},$ga=function(a){return a.replace(/&/g,"&amp;").replace(Yga,function(b){return"&#"+(1024*(b.charCodeAt(0)-55296)+(b.charCodeAt(1)-56320)+65536)+";"}).replace(Zga,function(b){return"&#"+
b.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")},jha=function(a,b){var c=null;try{var d;if(!(d=aha)){var e=new bha(a);try{var f=!!(new window.DOMParser).parseFromString(Vga(""),"text/html")}catch(U){f=!1}d=f?new cha(e):e}aha=d;var h=b?String(b):"";c=aha.getInertBodyElement(h);a=5;b=h;do{if(0===a)throw Error("wa");a--;h=b;b=c.innerHTML;c=aha.getInertBodyElement(h)}while(h!==b);var k=new dha,q=(("content"in c&&c.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===c.nodeName?c.content:null)||
c).firstChild;for(h=!0;q;){if(q.nodeType===Node.ELEMENT_NODE){a=k;b=q;var t=b.nodeName.toLowerCase();if(eha.hasOwnProperty(t)){a.buf.push("<");a.buf.push(t);var w=b.attributes;for(b=0;b<w.length;b++){var y=w.item(b),C=y.name,J=C.toLowerCase();if(fha.hasOwnProperty(J)){var I=y.value;gha[J]&&(I=Xga(I));a.buf.push(" ",C,'="',$ga(I),'"')}}a.buf.push(">");h=!0}else h=!hha.hasOwnProperty(t)}else q.nodeType===Node.TEXT_NODE&&k.buf.push($ga(q.nodeValue));if(h&&q.firstChild)q=q.firstChild;else for(;q;){q.nodeType===
Node.ELEMENT_NODE&&k.endElement(q);var P=iha(q,q.nextSibling);if(P){q=P;break}q=iha(q,q.parentNode)}}var O=k.buf.join("");return Vga(O)}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)}},lha=function(){if(void 0===kha&&(kha=null,Sd.trustedTypes))try{kha=Sd.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(a){return a},createScript:function(a){return a},createScriptURL:function(a){return a}})}catch(a){}return kha},
mha=function(a){var b;return(null==(b=lha())?void 0:b.createHTML(a))||a},nha=function(a){var b;return(null==(b=lha())?void 0:b.createScriptURL(a))||a},Vd=function(a){var b=oha();return b?mha(b.sanitize(1,a)||""):Rd(a,"HTML")?mha(Qd(a)):jha(zga(),Fc(a))},pha=function(a){var b=oha();return b?b.sanitize(2,a)||"":Rd(a,"Style")?Qd(a):Fc(a)},Wd=function(a){var b=oha();return b?b.sanitize(4,a)||"":Rd(a,"URL")?Qd(a):Xga(Fc(a))},qha=function(a){var b=oha();if(b)return nha(b.sanitize(5,a)||"");if(Rd(a,"ResourceURL"))return nha(Qd(a));
throw new Hc(904,!1);},oha=function(){var a=v();return a&&a[10].sanitizer},sha=function(a,b,c,d,e,f,h,k,q,t,w){var y=b.blueprint.slice();y[0]=e;y[2]=d|140;if(null!==t||a&&a[2]&2048)y[2]|=2048;y[17]=0;y[3]=y[14]=a;y[8]=c;y[10]=h||a&&a[10];y[11]=k||a&&a[11];y[9]=q||a&&a[9]||null;y[5]=f;y[19]=rha++;y[6]=w;y[20]=t;y[15]=2==b.type?a[15]:y;return y},Xd=function(a,b,c,d,e){var f=a.data[b];if(null===f){f=rd.currentTNode;var h=rd.isParent,k=a.data,q=h?f:f&&f.parent,t=q?q.injectorIndex:-1,w=0;null!==tha&&(w|=
128);b=k[b]={type:c,index:b,insertBeforeIndex:null,injectorIndex:t,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:w,providerIndexes:0,value:d,attrs:e,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:q,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,
styleBindings:0};null===a.firstChild&&(a.firstChild=b);null!==f&&(h?null==f.child&&null!==b.parent&&(f.child=b):null===f.next&&(f.next=b,b.prev=f));f=b;rd.inI18n&&(f.flags|=32)}else f.type&64&&(f.type=c,f.value=d,f.attrs=e,a=rd,b=a.currentTNode,a=a.isParent?b:b.parent,f.injectorIndex=null===a?-1:a.injectorIndex);td(f,!0);return f},uha=function(a,b,c,d){if(0===c)return-1;for(var e=b.length,f=0;f<c;f++)b.push(d),a.blueprint.push(d),a.data.push(null);return e},vha=function(a,b,c,d,e){var f=rd.selectedIndex;
try{rd.selectedIndex=-1,d&2&&25<b.length&&Sga(a,b,25),c(d,e)}finally{rd.selectedIndex=f}},wha=function(a,b,c){if(0!==(b.flags&4)){var d=kd(null);try{for(var e=b.directiveEnd,f=b.directiveStart;f<e;f++){var h=a.data[f];h.contentQueries&&h.contentQueries(1,c[f],f)}}finally{kd(d)}}},Bha=function(a,b,c){var d=nd(c,b),e=c.directiveStart,f=c.directiveEnd;if(-1<c.componentOffset){var h=a.data[e+c.componentOffset],k=nd(c,b),q=xha(h),t=b[10].rendererFactory,w=16;h.signals?w=4096:h.onPush&&(w=64);h=yha(b,sha(b,
q,null,w,k,c,null,t.createRenderer(k,h),null,null,null));b[c.index]=h}a.firstCreatePass||nga(c,b);Jd(d,b);d=c.initialInputs;for(h=e;h<f;h++){k=a.data[h];q=Dd(b,a,h,c);Jd(q,b);if(null!==d&&(t=d[h-e],null!==t))for(w=0;w<t.length;){var y=t[w++],C=t[w++],J=t[w++];zha(k,q,y,C,J)}k.template&&(od(c.index,b)[8]=Dd(b,a,h,c))}64===(c.flags&64)&&Aha(a,b,c)},Cha=function(a,b,c){c=void 0===c?nd:c;var d=b.localNames;if(null!==d)for(var e=b.index+1,f=0;f<d.length;f+=2){var h=d[f+1];h=-1===h?c(b,a):a[h];a[e++]=h}},
xha=function(a){var b=a.tView;return null===b||b.incompleteFirstPass?a.tView=Dha(1,null,a.template,a.decls,a.vars,a.directiveDefs,a.pipeDefs,a.viewQuery,a.schemas,a.consts,a.id):b},Dha=function(a,b,c,d,e,f,h,k,q,t,w){d=25+d;e=d+e;for(var y=[],C=0;C<e;C++)y.push(C<d?null:Yd);t="function"===typeof t?t():t;return y[1]={type:a,blueprint:y,template:c,queries:null,viewQuery:k,declTNode:b,data:y.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:e,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,
staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"===typeof f?f():f,pipeRegistry:"function"===typeof h?h():h,firstChild:null,schemas:q,consts:t,incompleteFirstPass:!1,ssrId:w}},Eha=function(a,b,c,d){for(var e in a)if(a.hasOwnProperty(e)){c=null===c?{}:c;var f=a[e];if(null===d){var h=c,k=b,q=
e;h.hasOwnProperty(q)?h[q].push(k,f):h[q]=[k,f]}else d.hasOwnProperty(e)&&(h=c,k=b,q=d[e],h.hasOwnProperty(q)?h[q].push(k,f):h[q]=[k,f])}return c},Zd=function(a,b,c,d,e,f,h,k){var q=nd(b,c),t=b.inputs,w;!k&&null!=t&&(w=t[d])?(Fha(a,c,w,d,e),-1<b.componentOffset&&(a=od(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,
f.setProperty(q,d,e))},Iha=function(a,b,c,d){var e=null===d?null:{"":-1};var f=a.directiveRegistry;var h=null,k=null;if(f)for(var q=0;q<f.length;q++){var t=f[q];if(Yea(c,t.selectors,!1))if(h||(h=[]),t.template)if(null!==t.findHostDirectiveDefs){var w=[];k=k||new Map;t.findHostDirectiveDefs(t,w,k);h.unshift.apply(h,[].concat(u(w),[t]));Gha(a,c,w.length)}else h.unshift(t),Gha(a,c,0);else{k=k||new Map;var y=w=void 0;null==(y=(w=t).findHostDirectiveDefs)||y.call(w,t,h,k);h.push(t)}}f=null===h?null:[h,
k];null===f?f=h=null:(h=l(f),f=h.next().value,h=h.next().value);null!==f&&Hha(a,b,c,f,e,h);if(e&&d)for(a=c.localNames=[],b=0;b<d.length;b+=2){f=e[d[b+1]];if(null==f)throw new Hc(-301,!1);a.push(d[b],f)}c.mergedAttrs=Pc(c.mergedAttrs,c.attrs)},Hha=function(a,b,c,d,e,f){for(var h=0;h<d.length;h++){var k=nga(c,b);jga(k,a,d[h].type)}h=a.data.length;k=d.length;c.flags|=1;c.directiveStart=h;c.directiveEnd=h+k;c.providerIndexes=h;for(h=0;h<d.length;h++)k=d[h],k.providersResolver&&k.providersResolver(k);
var q=!1,t=!1;h=uha(a,b,d.length,null);for(k=0;k<d.length;k++){var w=d[k];c.mergedAttrs=Pc(c.mergedAttrs,w.hostAttrs);var y=a,C=c,J=b,I=h;y.data[I]=w;var P=w.factory||(w.factory=Xc(w.type));P=new Ed(P,!!w.template);y.blueprint[I]=P;J[I]=P;var O=C;J=uha(y,J,w.hostVars,Yd);if(C=w.hostBindings){P=y.hostBindingOpCodes;null===P&&(P=y.hostBindingOpCodes=[]);y=~O.index;a:{for(O=P.length;0<O;){var U=P[--O];if("number"===typeof U&&0>U){O=U;break a}}O=0}O!=y&&P.push(y);P.push(I,J,C)}y=h;if(I=e){if(w.exportAs)for(J=
0;J<w.exportAs.length;J++)I[w.exportAs[J]]=y;w.template&&(I[""]=y)}null!==w.contentQueries&&(c.flags|=4);if(null!==w.hostBindings||null!==w.hostAttrs||0!==w.hostVars)c.flags|=64;w=w.type.prototype;!q&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&(y=q=void 0,(null!=(y=(q=a).preOrderHooks)?y:q.preOrderHooks=[]).push(c.index),q=!0);t||!w.ngOnChanges&&!w.ngDoCheck||(w=t=void 0,(null!=(w=(t=a).preOrderCheckHooks)?w:t.preOrderCheckHooks=[]).push(c.index),t=!0);h++}b=c.directiveEnd;a=a.data;d=c.attrs;e=[];
k=h=null;for(q=c.directiveStart;q<b;q++){t=a[q];y=(w=f?f.get(t):null)?w.outputs:null;h=Eha(t.inputs,q,h,w?w.inputs:null);k=Eha(t.outputs,q,k,y);if(null===h||null===d||4===c.type&&"ng-template"!==c.value)t=null;else{t=h;w=q;y=null;for(I=0;I<d.length;)if(J=d[I],0===J)I+=4;else{if(5!==J){if("number"===typeof J)break;if(t.hasOwnProperty(J))for(null===y&&(y=[]),C=t[J],P=0;P<C.length;P+=2)if(C[P]===w){y.push(J,C[P+1],d[I+1]);break}}I+=2}t=y}e.push(t)}null!==h&&(h.hasOwnProperty("class")&&(c.flags|=8),h.hasOwnProperty("style")&&
(c.flags|=16));c.initialInputs=e;c.inputs=h;c.outputs=k},Aha=function(a,b,c){var d=c.directiveStart,e=c.directiveEnd,f=c.index;c=rd.currentDirectiveIndex;try{for(rd.selectedIndex=f;d<e;d++){var h=a.data[d],k=b[d];rd.currentDirectiveIndex=d;null===h.hostBindings&&0===h.hostVars&&null===h.hostAttrs||null===h.hostBindings||h.hostBindings(1,k)}}finally{rd.selectedIndex=-1,rd.currentDirectiveIndex=c}},Gha=function(a,b,c){b.componentOffset=c;var d;(null!=(d=a.components)?d:a.components=[]).push(b.index)},
Jha=function(a,b,c,d,e,f){var h=nd(a,b);b=b[11];a=a.value;null==d?b.removeAttribute(h,c,f):(d=null==e?Fc(d):e(d,a||"",c),b.setAttribute(h,c,d,f))},zha=function(a,b,c,d,e){var f=kd(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{kd(f)}},Kha=function(a,b){var c=a.contentQueries;if(null!==c){var d=kd(null);try{for(var e=0;e<c.length;e+=2){var f=c[e],h=c[e+1];if(-1!==h){var k=a.data[h];rd.currentQueryIndex=f;k.contentQueries(2,
b[h],h)}}}finally{kd(d)}}},yha=function(a,b){a[12]?a[13][4]=b:a[12]=b;return a[13]=b},Lha=function(a,b,c){rd.currentQueryIndex=0;var d=kd(null);try{b(a,c)}finally{kd(d)}},Mha=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]},Nha=function(a,b){(a=(a=a[9])?a.get($d,null):null)&&a.handleError(b)},Fha=function(a,b,c,d,e){for(var f=0;f<c.length;){var h=c[f++],k=c[f++];zha(a.data[h],b[h],d,k,e)}},Oha=function(a,
b){var c=md(a[rd.selectedIndex]);a[11].setValue(c,b)},Tha=function(a,b,c,d){var e=b[2];if(256!==(e&256)){var f;null!=(f=b[10].inlineEffectRunner)&&f.flush();Yfa(b);var h=f=null;if(2!==a.type){if(null==(f=b[23])){var k;f=null!=(k=Pha.pop())?k:Object.create(Qha);f.lView=b}h=f;f=Ifa(h)}try{b[17]=0;rd.bindingIndex=a.bindingStartIndex;null!==c&&vha(a,b,c,2,d);if(c=3===(e&3)){var q=a.preOrderCheckHooks;null!==q&&zd(b,q,3,null)}else{var t=a.preOrderHooks;null!==t&&cga(b,t,0,null);dga(b,0)}for(var w=Dga(b[12]);null!==
w;w=Dga(w[4]))if(w[2]&2){var y=w[9];for(q=0;q<y.length;q++){var C=y[q];C[2]&1024||(C[2]|=1024,128===(C[2]&128)&&Tfa(C))}}Rha(b,0);null!==a.contentQueries&&Kha(a,b);if(c){var J=a.contentCheckHooks;null!==J&&zd(b,J,3)}else{var I=a.contentHooks;null!==I&&cga(b,I,1);dga(b,1)}var P=a.hostBindingOpCodes;if(null!==P)try{for(w=0;w<P.length;w++){var O=P[w];if(0>O)rd.selectedIndex=~O;else{y=O;var U=P[++w],aa=P[++w];C=rd;C.bindingIndex=C.bindingRootIndex=U;rd.currentDirectiveIndex=y;aa(2,b[y])}}}finally{rd.selectedIndex=
-1}var na=a.components;if(null!==na)for(P=0;P<na.length;P++){var sa=od(na[P],b);128===(sa[2]&128)&&Sha(sa,0)}var Ba=a.viewQuery;null!==Ba&&Lha(2,Ba,d);if(c){var Pa=a.viewCheckHooks;null!==Pa&&zd(b,Pa,3)}else{var Ja=a.viewHooks;null!==Ja&&cga(b,Ja,2);dga(b,2)}!0===a.firstUpdatePass&&(a.firstUpdatePass=!1);if(b[22]){for(var cb=l(b[22]),qb=cb.next();!qb.done;qb=cb.next()){var Ra=qb.value;Ra()}b[22]=null}b[2]&=-73}catch(fa){throw Tfa(b),fa;}finally{null!==h&&(Lfa(h,f),a=h,a.lView[23]!==a&&(a.lView=null,
Pha.push(a))),aga()}}},Rha=function(a,b){for(a=Dga(a[12]);null!==a;a=Dga(a[4])){a[2]&=-5;for(var c=10;c<a.length;c++){var d=a[c];128===(d[2]&128)&&Sha(d,b)}}},Sha=function(a,b){var c=a[1],d=a[2],e=a[23],f=!!(0===b&&d&16);f||(f=!!(d&64&&0===b));f||(f=!!(d&1024));f||(f=!!((null==e?0:e.dirty)&&Nfa(e)));e&&(e.dirty=!1);a[2]&=-9217;if(f)Tha(c,a,c.template,a[8]);else if(d&8192&&(Rha(a,1),b=c.components,null!==b))for(c=0;c<b.length;c++)d=od(b[c],a),128===(d[2]&128)&&Sha(d,1)},Uha=function(a){for(;a;){a[2]|=
64;var b=Cga(a);if(0!==(a[2]&512)&&!b)break;a=b}},Vha=function(a){var b=sd(),c=v();-1<b.componentOffset&&16!==(a&16)?(a=od(b.index,c),a=new ae(a,a)):a=b.type&47?new ae(c[15],c):null;return a},Xha=function(a){return Wha(a)?Array.isArray(a)||!(a instanceof Map)&&Symbol.iterator in a:!1},Yha=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)},Wha=function(a){return null!==a&&("function"===typeof a||"object"===typeof a)},
Zha=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},$ha=function(){return new be(v())},aia=function(a){var b=kd(null);try{return a()}finally{kd(b)}},cia=function(a){if(!bia.has(a)){bia.add(a);var b,c;null==(b=performance)||null==(c=b.mark)||c.call(b,"mark_use_counter",{detail:{feature:a}})}},ce=function(a){setTimeout(function(){throw a;},0)},de=function(a){return"function"===typeof a},dia=function(a){return null!==a&&"object"===typeof a},eia=function(a){return a instanceof
ee||a&&"closed"in a&&"function"===typeof a.remove&&"function"===typeof a.add&&"function"===typeof a.unsubscribe},fia=function(a){return a.reduce(function(b,c){return b.concat(c instanceof fe?c.errors:c)},[])},gia=function(a){for(;a;){var b=a,c=b.destination,d=b.isStopped;if(b.closed||d)return!1;c&&c instanceof ge?a=c:a=null}return!0},he=function(a){return a},hia=function(a){return 0===a.length?he:1===a.length?a[0]:function(b){return a.reduce(function(c,d){return d(c)},b)}},iia=function(a){return a&&
"function"===typeof a.next&&"function"===typeof a.error&&"function"===typeof a.complete},jia=function(a){a||(a=ie.Promise||Promise);if(!a)throw Error("za");return a},kia=function(a){return new je(function(b){return a.schedule(function(){return b.complete()})})},lia=function(a,b){return new je(function(c){var d=new ee,e=0;d.add(b.schedule(function(){e===a.length?c.complete():(c.next(a[e++]),c.closed||d.add(this.schedule()))}));return d})},ke=function(a,b){return b?lia(a,b):new je(mia(a))},le=function(a){return a&&
"function"===typeof a.schedule},nia=function(){var a=$c.apply(0,arguments),b=a[a.length-1];return le(b)?(a.pop(),lia(a,b)):ke(a)},oia=function(a){a.subscriber.error(a.error)},me=function(a,b){if(a&&"function"===typeof a.lift)return a.lift(b);throw new TypeError("Aa");},pia=function(a,b,c){if(a&&"function"===typeof a.lift)return a.lift.call(b,c);throw new TypeError("Aa");},ne=function(){return function(a){return me(a,new qia)}},D=function(a){return function(b){if("function"!==typeof a)throw new TypeError("Ba");
return me(b,new ria(a))}},sia=function(a,b,c){if(b)if(le(b))c=b;else return function(){return sia(a,c).apply(null,u($c.apply(0,arguments))).pipe(D(function(d){return oe(d)?b.apply(null,u(d)):b(d)}))};return function(){var d=$c.apply(0,arguments),e=this,f,h={context:e,subject:void 0,callbackFunc:a,scheduler:c};return new je(function(k){if(c)return c.schedule(tia,0,{args:d,subscriber:k,params:h});if(!f){f=new pe;var q=function(){var t=$c.apply(0,arguments);f.next(1>=t.length?t[0]:t);f.complete()};try{a.apply(e,
[].concat(u(d),[q]))}catch(t){gia(f)?f.error(t):console.warn(t)}}return f.subscribe(k)})}},tia=function(a){var b=this,c=a.args,d=a.subscriber,e=a.params;a=e.callbackFunc;var f=e.context,h=e.scheduler,k=e.subject;if(!k){k=e.subject=new pe;e=function(){var q=$c.apply(0,arguments);b.add(h.schedule(uia,0,{value:1>=q.length?q[0]:q,subject:k}))};try{a.apply(f,[].concat(u(c),[e]))}catch(q){k.error(q)}}this.add(k.subscribe(d))},uia=function(a){var b=a.subject;b.next(a.value);b.complete()},via=function(a,
b,c){if(b)if(le(b))c=b;else return function(){return via(a,c).apply(null,u($c.apply(0,arguments))).pipe(D(function(d){return oe(d)?b.apply(null,u(d)):b(d)}))};return function(){var d=$c.apply(0,arguments),e={subject:void 0,args:d,callbackFunc:a,scheduler:c,context:this};return new je(function(f){var h=e.context,k=e.subject;if(c)return c.schedule(wia,0,{params:e,subscriber:f,context:h});if(!k){k=e.subject=new pe;var q=function(){var t=$c.apply(0,arguments),w=t.shift();w?k.error(w):(k.next(1>=t.length?
t[0]:t),k.complete())};try{a.apply(h,[].concat(u(d),[q]))}catch(t){gia(k)?k.error(t):console.warn(t)}}return k.subscribe(f)})}},wia=function(a){var b=this,c=a.params,d=a.subscriber;a=a.context;var e=c.callbackFunc,f=c.args,h=c.scheduler,k=c.subject;if(!k){k=c.subject=new pe;c=function(){var q=$c.apply(0,arguments),t=q.shift();t?b.add(h.schedule(xia,0,{err:t,subject:k})):b.add(h.schedule(yia,0,{value:1>=q.length?q[0]:q,subject:k}))};try{e.apply(a,[].concat(u(f),[c]))}catch(q){this.add(h.schedule(xia,
0,{err:q,subject:k}))}}this.add(k.subscribe(d))},yia=function(a){var b=a.subject;b.next(a.value);b.complete()},xia=function(a){a.subject.error(a.err)},zia=function(a){return!!a&&"function"!==typeof a.subscribe&&"function"===typeof a.then},Bia=function(a){return function(b){Aia(a,b).catch(function(c){return b.error(c)})}},Aia=function(a,b){var c,d,e,f,h,k;return qe(function(q){switch(q.nextAddress){case 1:re(q,2,3);var t=a[Symbol.asyncIterator];f=void 0!==t?t.call(a):new Cia(l(a));case 5:return q.yield(f.next(),
8);case 8:d=q.yieldResult;if(d.done){q.jumpTo(3);break}h=d.value;b.next(h);q.jumpTo(5);break;case 3:te(q);q.catchAddress_=0;q.finallyAddress_=9;if(!d||d.done||!(e=f.return)){q.jumpTo(9);break}return q.yield(e.call(f),9);case 9:te(q,0,0,1);if(c)throw c.error;ue(q,10,1);break;case 10:ue(q,4);break;case 2:k=ve(q);c={error:k};q.jumpTo(3);break;case 4:b.complete(),we(q)}})},xe=function(a,b){if(!b.closed)return a instanceof je?a.subscribe(b):Dia(a)(b)},Eia=function(a,b){if(!a)throw Error("Ea");return new je(function(c){var d=
new ee;d.add(b.schedule(function(){var e=a[Symbol.asyncIterator]();d.add(b.schedule(function(){var f=this;e.next().then(function(h){h.done?c.complete():(c.next(h.value),f.schedule())})}))}));return d})},Fia=function(a,b){if(!a)throw Error("Ea");return new je(function(c){var d=new ee,e;d.add(function(){e&&"function"===typeof e.return&&e.return()});d.add(b.schedule(function(){e=a[ye]();d.add(b.schedule(function(){if(!c.closed){try{var f=e.next();var h=f.value;var k=f.done}catch(q){c.error(q);return}k?
c.complete():(c.next(h),this.schedule())}}))}));return d})},Gia=function(a,b){return new je(function(c){var d=new ee;d.add(b.schedule(function(){var e=a[ze]();d.add(e.subscribe({next:function(f){d.add(b.schedule(function(){return c.next(f)}))},error:function(f){d.add(b.schedule(function(){return c.error(f)}))},complete:function(){d.add(b.schedule(function(){return c.complete()}))}}))}));return d})},Hia=function(a,b){return new je(function(c){var d=new ee;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})},Jia=function(a,b){if(null!=a){if(a&&"function"===typeof a[ze])return Gia(a,b);if(zia(a))return Hia(a,b);if(Iia(a))return lia(a,b);if(a&&"function"===typeof a[ye]||"string"===typeof a)return Fia(a,b);if(Symbol&&Symbol.asyncIterator&&"function"===typeof a[Symbol.asyncIterator])return Eia(a,b)}throw new TypeError("Fa`"+(null!==a&&typeof a||a));},Ae=function(a,b){return b?
Jia(a,b):a instanceof je?a:new je(Dia(a))},Be=function(a,b){var c=void 0===c?Infinity:c;if("function"===typeof b)return function(d){return d.pipe(Be(function(e,f){return Ae(a(e,f)).pipe(D(function(h,k){return b(e,h,f,k)}))},c))};"number"===typeof b&&(c=b);return function(d){return me(d,new Kia(a,c))}},Ce=function(a){a=void 0===a?Infinity:a;return Be(he,a)},De=function(){return Ce(1)(nia.apply(null,u($c.apply(0,arguments))))},Lia=function(a){return new je(function(b){try{var c=a()}catch(d){b.error(d);
return}return Ae(c).subscribe(b)})},Oia=function(a){return new je(function(b){var c=a||Mia,d=c.now(),e=function(h){var k=c.now();b.next({timestamp:a?k:h,elapsed:k-d});b.closed||(f=Nia(e))};var f=Nia(e);return function(){return f.unsubscribe()}})},Pia=function(a,b){return new je(function(c){var d=a.length;if(0===d)c.complete();else for(var e=Array(d),f=0,h=0,k={i$jscomp$326:0};k.i$jscomp$326<d;k={hasValue:k.hasValue,i$jscomp$326:k.i$jscomp$326},k.i$jscomp$326++){var q=Ae(a[k.i$jscomp$326]);k.hasValue=
!1;c.add(q.subscribe({next:function(t){return function(w){t.hasValue||(t.hasValue=!0,h++);e[t.i$jscomp$326]=w}}(k),error:function(t){return c.error(t)},complete:function(t){return function(){f++;f!==d&&t.hasValue||(h===d&&c.next(b?b.reduce(function(w,y,C){return w[y]=e[C],w},{}):e),c.complete())}}(k)}))}})},Qia=function(a,b,c,d){de(c)&&(d=c,c=void 0);return d?Qia(a,b,c).pipe(D(function(e){return oe(e)?d.apply(null,u(e)):d(e)})):new je(function(e){Ria(a,b,function(f){1<arguments.length?e.next(Array.prototype.slice.call(arguments)):
e.next(f)},e,c)})},Ria=function(a,b,c,d,e){if(a&&"function"===typeof a.addEventListener&&"function"===typeof a.removeEventListener){a.addEventListener(b,c,e);var f=function(){return a.removeEventListener(b,c,e)}}else if(a&&"function"===typeof a.on&&"function"===typeof a.off)a.on(b,c),f=function(){return a.off(b,c)};else if(a&&"function"===typeof a.addListener&&"function"===typeof a.removeListener)a.addListener(b,c),f=function(){return a.removeListener(b,c)};else if(a&&a.length)for(var h=0,k=a.length;h<
k;h++)Ria(a[h],b,c,d,e);else throw new TypeError("Ga");d.add(f)},Sia=function(a,b,c){return c?Sia(a,b).pipe(D(function(d){return oe(d)?c.apply(null,u(d)):c(d)})):new je(function(d){var e=function(){var h=$c.apply(0,arguments);return d.next(1===h.length?h[0]:h)};try{var f=a(e)}catch(h){d.error(h);return}if(de(b))return function(){return b(e,f)}})},Tia=function(a){var b=a.subscriber,c=a.condition;if(!b.closed){if(a.needIterate)try{a.state=a.iterate(a.state)}catch(f){b.error(f);return}else a.needIterate=
!0;if(c){try{var d=c(a.state)}catch(f){b.error(f);return}if(!d){b.complete();return}if(b.closed)return}try{var e=a.resultSelector(a.state)}catch(f){b.error(f);return}if(!b.closed&&(b.next(e),!b.closed))return this.schedule(a)}},Uia=function(a){return!oe(a)&&0<=a-parseFloat(a)+1},Via=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)},Ee=function(){},Wia=function(){var a=$c.apply(0,arguments);if(0===a.length)return Fe;var b=l(a),c=b.next().value,
d=Ge(b);return 1===a.length&&oe(c)?Wia.apply(null,u(c)):new je(function(e){var f=function(){return e.add(Wia.apply(null,u(d)).subscribe(e))};return Ae(c).subscribe({next:function(h){e.next(h)},error:f,complete:f})})},Xia=function(a){var b=a.keys,c=a.index,d=a.subscriber,e=a.subscription;a=a.obj;if(!d.closed)if(c<b.length){var f=b[c];d.next([f,a[f]]);e.add(this.schedule({keys:b,index:c+1,subscriber:d,subscription:e,obj:a}))}else d.complete()},He=function(a,b){return function(c){return me(c,new Yia(a,
b))}},Zia=function(a,b){function c(){return!c.pred.apply(c.thisArg,arguments)}c.pred=a;c.thisArg=b;return c},aja=function(){var a=$c.apply(0,arguments);if(1===a.length)if(oe(a[0]))a=a[0];else return Ae(a[0]);return me(ke(a),new $ia)},bja=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)))},cja=function(a){return a instanceof Date&&!isNaN(a)},eja=function(a,b,c){a=void 0===a?0:a;var d=-1;null!=b&&(le(b)?c=b:d=b);
le(c)||(c=Ie);return new je(function(e){var f=Math.max(0,cja(a)?+a-c.now():a);return c.schedule(dja,f,{counter:0,period:d,subscriber:e})})},dja=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)}},Je=function(a){var b;return function(c){var d=void 0,e=void 0,f=null,h;b=null!=(h=b)?h:Ie;if(cja(a))var k=a;else if("number"===typeof a)d=a;else{k=a.first;d=a.each;e=a.with;b=a.scheduler||Ie;var q;f=null!=(q=a.meta)?q:null}var t;
e=null!=(t=e)?t:fja;if(null==k&&null==d)throw new TypeError("Ia");return me(c,function(w){var y=this,C=new ee,J,I=null,P=null,O=0,U=function(aa){C.add(I=b.schedule(function(){var na={meta:f,lastValue:P,seen:O};try{var sa=Ae(e(na))}catch(Ba){y.error(Ba);return}J.unsubscribe();C.add(sa.subscribe(y))},aa))};C.add(J=w.subscribe({next:function(aa){var na;null==(na=I)||na.unsubscribe();I=null;O++;P=aa;null!=d&&0<d&&U(d);y.next(aa)},error:function(aa){return y.error(aa)},complete:function(){return y.complete()}}));
w=null!=k?"number"===typeof k?k:+k-b.now():d;U(w);return C})}},fja=function(a){throw new gja(a);},ija=function(a){return a in hja?(delete hja[a],!0):!1},jja=function(a){return function(b){setTimeout(a,void 0,b)}},kja=function(){},mja=function(a){return function(b){return me(b,new lja(a))}},Ke=function(a,b){b=void 0===b?Ie:b;return mja(function(){return eja(a,b)})},oja=function(a){return function(b){return me(b,new nja(a))}},Le=function(a){return function(b){return me(b,function(c){var d=this,e=new ee,
f=null,h=!1,k;f=c.subscribe({next:function(q){return d.next(q)},error:function(q){try{k=Ae(a(q,Le(a)(c)))}catch(t){d.error(t)}k&&(f?(f.unsubscribe(),f=null,e.add(k.subscribe(d))):h=!0)},complete:function(){return d.complete()}});h?(f.unsubscribe(),f=null,e.add(k.subscribe(d))):e.add(f);return e})}},qja=function(){var a=$c.apply(0,arguments),b=void 0;"function"===typeof a[a.length-1]&&(b=a.pop());1===a.length&&oe(a[0])&&(a=a[0].slice());return function(c){return pia(c,Ae([c].concat(u(a))),new pja(b))}},
Me=function(){return qja.apply(null,u($c.apply(0,arguments)))},rja=function(){var a=$c.apply(0,arguments);return function(b){return pia(b,De.apply(null,[b].concat(u(a))))}},sja=function(){var a=$c.apply(0,arguments);return function(b){return pia(b,De.apply(null,[b].concat(u(a))))}},uja=function(a){return function(b){return me(b,new tja(a))}},Ne=function(a,b){b=void 0===b?Ie:b;return function(c){return me(c,new vja(a,b))}},xja=function(a){wja(a)},zja=function(a){a=void 0===a?null:a;return function(b){return me(b,
new yja(a))}},Oe=function(a,b){b=void 0===b?Ie:b;var c=cja(a)?+a-b.now():Math.abs(a);return function(d){return me(d,new Aja(c,b))}},Pe=function(a){return function(b){return me(b,new Bja(a))}},Qe=function(){if(isNaN(1))throw new TypeError("Ja");return function(a){return me(a,new Cja)}},Fja=function(a){a=void 0===a?Dja:a;return function(b){return me(b,new Eja(a))}},Dja=function(){return new Re},Se=function(a){return function(b){return me(b,new Gja(a))}},Te=function(a,b){var c=2<=arguments.length;return function(d){return d.pipe(a?
He(function(e,f){return a(e,f,d)}):he,Qe(),c?zja(b):Fja(function(){return new Re}))}},Ija=function(){return function(a){return me(a,new Hja)}},Kja=function(){if(isNaN(1))throw new TypeError("Ja");return function(a){return me(a,new Jja)}},Lja=function(a,b){var c=2<=arguments.length;return function(d){return d.pipe(a?He(function(e,f){return a(e,f,d)}):he,Kja(),c?zja(b):Fja(function(){return new Re}))}},Ue=function(a){return function(b){return me(b,new Mja(a))}},Oja=function(a,b){var c=!1;2<=arguments.length&&
(c=!0);return function(d){return me(d,new Nja(a,b,c))}},Qja=function(a){return function(b){var c="function"===typeof a?a:function(){return a};var d=Object.create(b,Pja);d.source=b;d.subjectFactory=c;return d}},Rja=function(){var a=new Ve(1,void 0,void 0);return function(b){return Qja(function(){return a})(b)}},Sja=function(){var a=$c.apply(0,arguments);return function(b){return 0===a.length?b:pia(b,aja.apply(null,[b].concat(u(a))))}},Tja=function(){return new We},Xe=function(){return function(a){return ne()(Qja(Tja)(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 me(c,Uja(b))}},Uja=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,f,h=0,k;return function(q){h++;if(f)var t=f.subscribe(this);else f=new Ve(b,c,e),t=f.subscribe(this),k=q.subscribe({next:function(w){f.next(w)},error:function(w){var y=f;f=k=void 0;y.error(w)},complete:function(){k=
void 0;f.complete()}}),k.closed&&(k=void 0);this.add(function(){h--;t.unsubscribe();d&&0===h&&k&&(k.unsubscribe(),f=k=void 0)})}},Ze=function(a){return function(b){return me(b,new Vja(a))}},$e=function(){var a=$c.apply(0,arguments),b=a[a.length-1];return le(b)?(a.pop(),function(c){return De(a,c,b)}):function(c){return De(a,c)}},af=function(a){return function(b){return me(b,new Wja(a))}},bf=function(a){return function(b){return me(b,new Xja(a))}},Zja=function(a){var b=void 0===b?!1:b;return function(c){return me(c,
new Yja(a,b))}},cf=function(a,b){return function(c){return me(c,new $ja(a,b))}},cka=function(a){var b=void 0===b?aka:b;return function(c){return me(c,new bka(a,!!b.leading,!!b.trailing))}},df=function(){var a=$c.apply(0,arguments);return function(b){var c;"function"===typeof a[a.length-1]&&(c=a.pop());return me(b,new dka(a,c))}},eka=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}}},gka=function(a){a.isCheckStableRunning||-1!==a.lastRequestAnimationFrameId||(a.lastRequestAnimationFrameId=a.nativeRequestAnimationFrame.call(Sd,function(){a.fakeTopEventTask||(a.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",function(){a.lastRequestAnimationFrameId=-1;fka(a);a.isCheckStableRunning=!0;eka(a);a.isCheckStableRunning=!1},void 0,function(){},function(){}));a.fakeTopEventTask.invoke()}),fka(a))},ika=function(a){a._inner=a._inner.fork({name:"angular",properties:{isAngularZone:!0},
onInvokeTask:function(b,c,d,e,f,h){if(Array.isArray(h)&&1===h.length){var k;c=!0===(null==(k=h[0].data)?void 0:k.__ignore_ng_zone__)}else c=!1;if(c)return b.invokeTask(d,e,f,h);try{return hka(a),b.invokeTask(d,e,f,h)}finally{(a.shouldCoalesceEventChangeDetection&&"eventTask"===e.type||a.shouldCoalesceRunChangeDetection)&&gka(a),a._nesting--,eka(a)}},onInvoke:function(b,c,d,e,f,h,k){try{return hka(a),b.invoke(d,e,f,h,k)}finally{a.shouldCoalesceRunChangeDetection&&gka(a),a._nesting--,eka(a)}},onHasTask:function(b,
c,d,e){b.hasTask(d,e);c===d&&("microTask"==e.change?(a._hasPendingMicrotasks=e.microTask,fka(a),eka(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}})},fka=function(a){a.hasPendingMicrotasks=a._hasPendingMicrotasks||(a.shouldCoalesceEventChangeDetection||a.shouldCoalesceRunChangeDetection)&&-1!==a.lastRequestAnimationFrameId?!0:!1},hka=function(a){a._nesting++;a.isStable&&
(a.isStable=!1,a.onUnstable.emit(null))},lka=function(){var a=Nc(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(){jka();queueMicrotask(function(){b||a.hasPendingMacrotasks||a.hasPendingMicrotasks||(b=!0,c.next(!0))})})});var e=a.onUnstable.subscribe(function(){if(!kka())throw new Hc(909,
!1);b&&(b=!1,a.runOutsideAngular(function(){c.next(!1)}))});return function(){d.unsubscribe();e.unsubscribe()}})).pipe(Xe()))},nka=function(a,b){if(!b&&!Nea&&!Lc)throw new Hc(-203,!1);var c,d=null!=(c=null==b?void 0:b.injector)?c:Nc(ff);if("browser"===(null!=d?d:Nc(ff)).get(gf)){cia("NgAfterNextRender");var e,f,h=null!=(f=(e=d.get(hf)).handler)?f:e.handler=new jf,k;b=null!=(k=null==b?void 0:b.phase)?k:2;var q=function(){h.unregister(w);t()},t=d.get(kf).onDestroy(q),w=new mka(d,b,function(){q();a()});
h.register(w)}},oka=function(a,b,c){Yfa(b);try{var d=a.viewQuery;null!==d&&Lha(1,d,c);var e=a.template;null!==e&&vha(a,b,e,1,c);a.firstCreatePass&&(a.firstCreatePass=!1);a.staticContentQueries&&Kha(a,b);a.staticViewQueries&&Lha(2,a.viewQuery,c);var f=a.components;if(null!==f)for(c=0;c<f.length;c++){var h=od(f[c],b),k=h[1];d=k;e=h;for(var q=e.length;q<d.blueprint.length;q++)e.push(d.blueprint[q]);null!==h[0]&&null===h[6]&&(h[6]=null);oka(k,h,h[8])}}catch(t){throw a.firstCreatePass&&(a.incompleteFirstPass=
!0,a.firstCreatePass=!1),t;}finally{b[2]&=-5,aga()}},pka=function(a,b,c){var d=c?a.styles:null,e=c?a.classes:null,f=0;if(null!==b)for(var h=0;h<b.length;h++){var k=b[h];if("number"===typeof k)f=k;else if(1==f)e=Lea(e,k);else if(2==f){var q=b[++h];d=Lea(d,k+": "+q+";")}}c?a.styles=d:a.stylesWithoutHost=d;c?a.classes=e:a.classesWithoutHost=e},qka=function(a){var b=[],c;for(c in a)a.hasOwnProperty(c)&&b.push({propName:a[c],templateName:c});return b},rka=function(){bga(v()[1],sd())},ska=function(a,b,
c){return new lf(a,b,c)},uka=function(a,b,c){return(new tka({providers:a,parent:b,debugName:void 0===c?null:c,runEnvironmentInitializers:!0})).injector},mf=function(a){return!!a&&"function"===typeof a.then},vka=function(a){return!!a&&"function"===typeof a.subscribe},nf=function(a){var b=a.toLowerCase().replace(/_/g,"-");if(a=wka(b))return a;b=b.split("-")[0];if(a=wka(b))return a;if("en"===b)return xka;throw new Hc(701,!1);},wka=function(a){a in yka||(yka[a]=Sd.ng&&Sd.ng.common&&Sd.ng.common.locales&&
Sd.ng.common.locales[a]);return yka[a]},Aka=function(a){var b;null==(b=a.get(zka,null))||b.forEach(function(c){return c()})},Eka=function(a,b,c){c=void 0===c?[]:c;var d="Platform: "+b,e=new bd(d);return function(f){f=void 0===f?[]:f;var h=Bka();if(!h||h.injector.get(Cka,!1))if(f=[].concat(u(c),u(f),[{provide:e,useValue:!0}]),a)a(f);else{f=Dka(f,d);if(of&&!of.get(Cka,!1))throw new Hc(400,!1);of=f;f.get(pf);Aka(f)}f=Bka();if(!f)throw new Hc(401,!1);return f}},Dka=function(a,b){a=void 0===a?[]:a;return qf({name:b,
providers:[{provide:Fka,useValue:"platform"},{provide:Gka,useValue:new Set([function(){return of=null}])}].concat(u(a))})},Bka=function(){var a,b;return null!=(b=null==(a=of)?void 0:a.get(pf))?b:null},Hka=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}},Ika=function(a,b){a=void 0===a?"zone.js":a;return"noop"===a?new rf:"zone.js"===a?
new ef(b):a},Jka=function(a,b,c){try{var d=c();return mf(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;}},Kka=function(a,b){return Array.isArray(b)?b.reduce(Kka,a):Object.assign({},a,b)},Lka=function(a,b){b=a.indexOf(b);-1<b&&a.splice(b,1)},Mka=function(){var a=Nc(ef),b=Nc($d);return function(c){return a.runOutsideAngular(function(){return b.handleError(c)})}},Pka=function(a){return[{provide:ef,
useFactory:a},{provide:tfa,multi:!0,useFactory:function(){var b=Nc(sf,{optional:!0});return function(){return b.initialize()}}},{provide:Nka,useFactory:Mka},{provide:Oka,useFactory:lka}]},Qka=function(a,b,c,d){var e=b.tView,f,h,k=sha(a,e,c,a[2]&4096?4096:16,null,b,null,null,null,null!=(f=null==d?void 0:d.injector)?f:null,null!=(h=null==d?void 0:d.dehydratedView)?h:null);k[16]=a[b.index];a=a[18];null!==a&&(k[18]=a.createEmbeddedView(e));oka(e,k,c);return k},Rka=function(a,b){b=10+b;if(b<a.length)return a[b]},
Tka=function(a,b,c,d){d=void 0===d?!0:d;var e=b[1],f=10+c,h=a.length;0<c&&(a[f-1][4]=b);c<h-10?(b[4]=a[f],f=10+c,f>=a.length?a.push(b):a.splice(f,0,b)):(a.push(b),b[4]=null);b[3]=a;f=b[16];null!==f&&a!==f&&(h=f[9],b[15]!==b[3][3][15]&&(f[2]|=2),null===h?f[9]=[b]:h.push(b));f=b[18];null!==f&&Ska(f,e);Sfa(b)&&Tfa(b);b[2]|=128;d&&(c=Mga(c,a),d=b[11],f=d.parentNode(a[7]),null!==f&&(a=a[5],b[0]=f,b[5]=a,Ld(d,1,e.firstChild,b,f,c,!1)))},Vka=function(){return Uka(sd(),v())},Wka=function(a){return a[8]||
(a[8]=[])},Uka=function(a,b){var c=b[a.index];if(jd(c))var d=c;else d=[c,!0,0,b,null,a,null,null,null,null],b[a.index]=d,yha(b,d);Xka(d,b,a,c);return new tf(d,a,b)},Yka=function(a,b,c,d){if(!a[7]){if(c.type&8)d=md(d);else{d=b[11];var e=d.createComment("");c=nd(c,b);b=d.parentNode(c);c=d.nextSibling(c);d.insertBefore(b,e,c,!1);d=e}a[7]=d}},uf=function(a,b,c){return a[b]=c},vf=function(a,b,c){if(Object.is(a[b],c))return!1;a[b]=c;return!0},wf=function(a,b,c,d){c=vf(a,b,c);return vf(a,b+1,d)||c},F=function(a,
b,c,d,e,f,h,k){var q=v(),t=rd.tView,w=a+25;if(t.firstCreatePass){var y=t.consts;e=Xd(t,w,4,e||null,pd(y,f));Iha(t,q,e,pd(y,h));bga(t,e);b=e.tView=Dha(2,e,b,c,d,t.directiveRegistry,t.pipeRegistry,null,t.schemas,y,null);null!==t.queries&&(t.queries.template(t,e),b.queries=t.queries.embeddedTView(e));b=e}else b=t.data[w];td(b,!1);a=Zka(t,q,b,a);xf&&Lga(t,q,a,b);Jd(a,q);a=[a,!0,0,q,null,b,null,a,null,null];q[w]=a;yha(q,a);1===(b.flags&1)&&Bha(t,q,b);null!=h&&Cha(q,b,k);return F},$ka=function(a,b){xf=
!0;return b[11].createComment("")},yf=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 Hc(903,!1);e=b.\u0275dir}if(e){if(c){d.push(e);var f=a;f.inputs=ala(a.inputs);f.inputTransforms=ala(a.inputTransforms);f.declaredInputs=ala(a.declaredInputs);f.outputs=ala(a.outputs);var h=e.hostBindings;h&&bla(a,h);h=e.viewQuery;var k=e.contentQueries;h&&cla(a,h);k&&dla(a,k);Dea(a.inputs,e.inputs);
Dea(a.declaredInputs,e.declaredInputs);Dea(a.outputs,e.outputs);null!==e.inputTransforms&&(null===f.inputTransforms&&(f.inputTransforms={}),Dea(f.inputTransforms,e.inputTransforms));e.template&&e.data.animation&&(f=a.data,f.animation=(f.animation||[]).concat(e.data.animation))}if(e=e.features)for(f=0;f<e.length;f++)(h=e[f])&&h.ngInherit&&h(a),h===yf&&(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=Pc(e.hostAttrs,b=Pc(b,e.hostAttrs))},
ala=function(a){return a===Uc?{}:a===Rc?[]:a},cla=function(a,b){var c=a.viewQuery;a.viewQuery=c?function(d,e){b(d,e);c(d,e)}:b},dla=function(a,b){var c=a.contentQueries;a.contentQueries=c?function(d,e,f){b(d,e,f);c(d,e,f)}:b},bla=function(a,b){var c=a.hostBindings;a.hostBindings=c?function(d,e){b(d,e);c(d,e)}:b},zf=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},Af=function(a,b,c,d){var e=v(),f=rd.bindingIndex++;
vf(e,f,b)&&(f=xd(),Jha(f,e,a,b,c,d));return Af},Bf=function(a,b,c,d){return vf(a,rd.bindingIndex++,c)?b+Fc(c)+d:Yd},ela=function(a,b,c,d,e,f){a=wf(a,rd.bindingIndex,c,e);wd(2);return a?b+Fc(c)+d+Fc(e)+f:Yd},Cf=function(a,b,c,d,e,f){var h=v();b=Bf(h,b,c,d);b!==Yd&&(c=xd(),Jha(c,h,a,b,e,f));return Cf},Df=function(a,b,c,d,e,f,h,k){var q=v();b=ela(q,b,c,d,e,f);b!==Yd&&(c=xd(),Jha(c,q,a,b,h,k));return Df},fla=function(a,b,c,d,e,f,h,k,q,t){var w=v();var y=rd.bindingIndex;var C=wf(w,y,c,e);y=vf(w,y+2,h)||
C;wd(3);b=y?b+Fc(c)+d+Fc(e)+f+Fc(h)+k:Yd;b!==Yd&&(c=xd(),Jha(c,w,a,b,q,t));return fla},G=function(a,b,c){var d=v(),e=rd.bindingIndex++;if(vf(d,e,b)){e=rd.tView;var f=xd();Zd(e,f,d,a,b,d[11],c,!1)}return G},gla=function(a,b,c,d,e){e=e?"class":"style";Fha(a,c,b.inputs[e],e,d)},hla=function(a,b,c,d){for(var e=a[c+1],f=null===b,h=d?e>>17&32767:(e&131068)>>2,k=!1;0!==h&&(!1===k||f);){var q=a[h+1],t=a[h],w=b;if(null===t||null==w||(Array.isArray(t)?t[1]:t)===w||Array.isArray(t)&&"string"===typeof w&&0<=
Yc(t,w))k=!0,a[h+1]=d?q|1:q|2;h=d?q>>17&32767:(q&131068)>>2}k&&(a[c+1]=d?e|2:e|1)},ila=function(a,b){var c=Ef;if(c===b)return-1;for(b=Ff=b;b<c&&32<a.charCodeAt(b);)b++;b=Gf=b;return Hf(a,b,c)},nla=function(a,b){var c=Ef;b=Ff=Hf(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=Gf=b;b=jla(a,b,c);d=b=kla=Hf(a,b,c);for(var e=b=-1,f=-1,h=d,k=h;h<c;){var q=a.charCodeAt(h++);if(59===q)break;else 34===q||39===q?k=h=lla(a,q,h,c):d===
h-4&&85===f&&82===e&&76===b&&40===q?k=h=lla(a,41,h,c):32<q&&(k=h);f=e;e=b;b=q&-33}b=mla=k;return jla(a,b,c)},Hf=function(a,b,c){for(;b<c&&32>=a.charCodeAt(b);)b++;return b},jla=function(a,b,c){b=Hf(a,b,c);b<c&&b++;return b},lla=function(a,b,c,d){for(var e=-1;c<d;){var f=a.charCodeAt(c++);if(f==b&&92!==e)return c;e=92==f&&92===e?0:f}throw Error();},If=function(a,b,c){ola(a,b,c,!1);return If},Jf=function(a,b){ola(a,b,null,!0);return Jf},qla=function(a,b){var c;mla=kla=Gf=Ff=0;Ef=b.length;for(c=nla(b,
Hf(b,0,Ef));0<=c;c=nla(b,c))pla(a,b.substring(Ff,Gf),b.substring(kla,mla))},Kf=function(a){rla(sla,tla,a,!0)},tla=function(a,b){var c;mla=kla=Gf=Ff=0;Ef=b.length;for(c=ila(b,Hf(b,0,Ef));0<=c;c=ila(b,c))Zc(a,b.substring(Ff,Gf),!0)},ola=function(a,b,c,d){var e=v(),f=rd.tView,h=wd(2);f.firstUpdatePass&&ula(f,a,h,d);if(b!==Yd&&vf(e,h,b)){var k=f.data[rd.selectedIndex],q=e[11];null!=b&&""!==b&&("string"===typeof c?b+=c:"object"===typeof b&&(b=Gc(Qd(b))));vla(f,k,e,q,a,e[h+1]=b,d,h)}},rla=function(a,b,
c,d){var e=rd.tView,f=wd(2);e.firstUpdatePass&&ula(e,null,f,d);var h=v();if(c!==Yd&&vf(h,f,c)){var k=e.data[rd.selectedIndex];if(0===(k.flags&(d?8:16))||f>=e.expandoStartIndex){var q=h[11],t=h[f+1];if(null==c||""===c)a=Rc;else{var w=[];c=Qd(c);if(Array.isArray(c))for(b=0;b<c.length;b++)a(w,c[b],!0);else if("object"===typeof c)for(var y in c)c.hasOwnProperty(y)&&a(w,y,c[y]);else"string"===typeof c&&b(w,c);a=w}a=h[f+1]=a;t===Yd&&(t=Rc);b=w=0;c=0<t.length?t[0]:null;for(y=0<a.length?a[0]:null;null!==
c||null!==y;){var C=w<t.length?t[w+1]:void 0,J=b<a.length?a[b+1]:void 0,I=null,P=void 0;c===y?(w+=2,b+=2,C!==J&&(I=y,P=J)):null===y||null!==c&&c<y?(w+=2,I=c):(b+=2,I=y,P=J);null!==I&&vla(e,k,h,q,I,P,d,f);c=w<t.length?t[w]:null;y=b<a.length?a[b]:null}}else f=d?k.classesWithoutHost:k.stylesWithoutHost,null!==f&&(c=Lea(f,c?c:"")),gla(e,k,h,c,d)}},ula=function(a,b,c,d){var e=a.data;if(null===e[c+1]){var f=e[rd.selectedIndex];a=c>=a.expandoStartIndex;0!==(f.flags&(d?8:16))&&null===b&&!a&&(b=!1);var h=
Vfa(e),k=d?f.residualClasses:f.residualStyles;if(null===h)0===(d?f.classBindings:f.styleBindings)&&(b=wla(null,e,f,b,d),b=Lf(b,f.attrs,d),k=null);else{var q=f.directiveStylingLast;if(-1===q||e[q]!==h)if(b=wla(h,e,f,b,d),null===k)h=d?f.classBindings:f.styleBindings,h=0!==(h&131068)>>2?e[h>>17&32767]:void 0,void 0!==h&&Array.isArray(h)&&(h=wla(null,e,f,h[1],d),h=Lf(h,f.attrs,d),e[(d?f.classBindings:f.styleBindings)>>17&32767]=h);else{k=void 0;h=f.directiveEnd;for(q=1+f.directiveStylingLast;q<h;q++)k=
Lf(k,e[q].hostAttrs,d);k=Lf(k,f.attrs,d)}}void 0!==k&&(d?f.residualClasses=k:f.residualStyles=k);q=b;k=d?f.classBindings:f.styleBindings;b=k>>17&32767;k=(k&131068)>>2;e[c]=q;var t=!1;if(Array.isArray(q)){if(h=q[1],null===h||0<Yc(q,h))t=!0}else h=q;a?0!==k?(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]=k<<17|0,0===b?b=c:e[k+1]=e[k+1]&-131069|c<<2,k=c);t&&(e[c+1]|=2);hla(e,h,c,!0);
hla(e,h,c,!1);a=d?f.residualClasses:f.residualStyles;null!=a&&"string"==typeof h&&0<=Yc(a,h)&&(e[c+1]|=1);k=b<<17|k<<2;d?f.classBindings=k:f.styleBindings=k}},wla=function(a,b,c,d,e){var f=c.directiveEnd,h=c.directiveStylingLast;for(-1===h?h=c.directiveStart:h++;h<f;){var k=b[h];d=Lf(d,k.hostAttrs,e);if(k===a)break;h++}null!==a&&(c.directiveStylingLast=h);return d},Lf=function(a,b,c){var d=c?1:2,e=-1;if(null!==b)for(var f=0;f<b.length;f++){var h=b[f];"number"===typeof h?e=h:e===d&&(Array.isArray(a)||
(a=void 0===a?[]:["",a]),Zc(a,h,c?!0:b[++f]))}return void 0===a?null:a},pla=function(a,b,c){Zc(a,b,Qd(c))},sla=function(a,b,c){b=String(b);""===b||b.includes(" ")||Zc(a,b,c)},vla=function(a,b,c,d,e,f,h,k){if(b.type&3){a=a.data;var q=a[k+1];void 0===(1===(q&1)?xla(a,b,c,e,(q&131068)>>2,h):void 0)&&(void 0!==f||2==(q&2)&&(f=xla(a,null,c,e,k,h)),b=md(c[rd.selectedIndex]),h?f?d.addClass(b,e):d.removeClass(b,e):(h=-1===e.indexOf("-")?void 0:2,null==f?d.removeStyle(b,e,h):("string"===typeof f&&f.endsWith("!important")&&
(f=f.slice(0,-10),h|=1),d.setStyle(b,e,f,h))))}},xla=function(a,b,c,d,e,f){for(var h=null===b,k=void 0;0<e;){var q=a[e],t=Array.isArray(q),w=t?q[1]:q,y=null===w,C=c[e+1];C===Yd&&(C=y?Rc:void 0);w=y?mfa(C,d):w===d?C:void 0;t&&void 0===w&&(w=mfa(q,d));if(void 0!==w&&(k=w,h))return k;e=a[e+1];e=h?e>>17&32767:(e&131068)>>2}null!==b&&(a=f?b.residualClasses:b.residualStyles,null!=a&&(k=mfa(a,d)));return k},Mf=function(a,b,c){a=Bf(v(),a,b,c);rla(Zc,tla,a,!0)},yla=function(a,b,c,d,e){return a===c&&Object.is(b,
d)?1:Object.is(e(a,b),e(c,d))?-1:0},Ela=function(a,b,c){var d=void 0,e=void 0,f=0,h=a.length-1;if(Array.isArray(b)){for(var k=b.length-1;f<=h&&f<=k;){var q=a.at(f),t=b[f],w=yla(f,q,f,t,c);if(0!==w)0>w&&a.updateValue(f,t),f++;else{var y=a.at(h);w=b[k];var C=yla(h,y,k,w,c);0!==C?(0>C&&a.updateValue(h,w),h--,k--):(q=c(f,q),y=c(h,y),C=c(f,t),Object.is(C,y)?(y=c(k,w),Object.is(y,q)?(zla(a,f,h),a.updateValue(h,w),k--,h--):a.move(h,f),a.updateValue(f,t),f++):(null!=d||(d=new Ala),null!=e||(e=Bla(a,f,h,c)),
Cla(a,d,f,C)?(a.updateValue(f,t),f++,h++):e.has(C)?(d.set(q,a.detach(f)),h--):(t=a.create(f,b[f]),a.attach(f,t),f++,h++)))}}for(;f<=k;)Dla(a,d,c,f,b[f]),f++}else if(null!=b){b=b[Symbol.iterator]();for(k=b.next();!k.done&&f<=h;)t=a.at(f),w=k.value,q=yla(f,t,f,w,c),0!==q?(0>q&&a.updateValue(f,w),f++,k=b.next()):(null!=d||(d=new Ala),null!=e||(e=Bla(a,f,h,c)),q=c(f,w),Cla(a,d,f,q)?(a.updateValue(f,w),f++,h++,k=b.next()):e.has(q)?(t=c(f,t),d.set(t,a.detach(f)),h--):(a.attach(f,a.create(f,w)),f++,h++,
k=b.next()));for(;!k.done;)Dla(a,d,c,a.length,k.value),k=b.next()}for(;f<=h;)a.destroy(a.detach(h--));var J;null==(J=d)||J.forEach(function(I){a.destroy(I)})},Cla=function(a,b,c,d){return void 0!==b&&b.has(d)?(a.attach(c,b.get(d)),b.delete(d),!0):!1},Dla=function(a,b,c,d,e){Cla(a,b,d,c(d,e))?a.updateValue(d,e):(b=a.create(d,e),a.attach(d,b))},Bla=function(a,b,c,d){for(var e=new Set;b<=c;b++)e.add(d(b,a.at(b)));return e},Nf=function(a,b,c){cia("NgControlFlow");var d=v(),e=rd.bindingIndex++;a=d[25+
a];if(vf(d,e,b)){e=kd(null);try{var f=Md(a,0);void 0!==f&&Jga(f[1],f);if(-1!==b){var h=Qka(d,d[1].data[25+b],c,{dehydratedView:null});Tka(a,h,0,!0)}}finally{kd(e)}}else b=Rka(a,0),void 0!==b&&(b[8]=c)},Fla=function(a){return a},Of=function(a,b){return b},Pf=function(a,b,c,d,e,f,h){cia("NgControlFlow");v()[25+a]=new Gla(h);F(a+1,b,c,d,e,f)},Qf=function(a){var b=kd(null),c=rd.selectedIndex;try{var d=v(),e=d[1],f=d[c];void 0===f.liveCollection?(c+=1,f.liveCollection=new Hla(d[c],d,e.data[c])):f.liveCollection.reset();
var h=f.liveCollection;Ela(h,a,f.trackByFn);if(h.needsIndexUpdate)for(a=0;a<h.length;a++)Rka(h.lContainer,a)[8].$index=a}finally{kd(b)}},H=function(a,b,c,d){var e=v(),f=rd.tView,h=25+a;a=e[11];if(f.firstCreatePass){var k=f.consts;c=pd(k,c);c=Xd(f,h,2,b,c);Iha(f,e,c,pd(k,d));null!==c.attrs&&pka(c,c.attrs,!1);null!==c.mergedAttrs&&pka(c,c.mergedAttrs,!0);null!==f.queries&&f.queries.elementStart(f,c);k=c}else k=f.data[h];xf=!0;b=a.createElement(b,rd.currentNamespace);e[h]=b;h=1===(k.flags&1);td(k,!0);
Pga(a,b,k);32!==(k.flags&32)&&xf&&Lga(f,e,b,k);0===rd.elementDepthCount&&Jd(b,e);rd.elementDepthCount++;h&&(Bha(f,e,k),wha(f,k,e));null!==d&&Cha(e,k);return H},K=function(){var a=sd();rd.isParent?rd.isParent=!1:(a=a.parent,td(a,!1));var b=a;tha===b&&(tha=null);rd.elementDepthCount--;var c=rd.tView;c.firstCreatePass&&(bga(c,a),0!==(a.flags&4)&&c.queries.elementEnd(a));null!=b.classesWithoutHost&&0!==(b.flags&8)&&gla(c,b,v(),b.classesWithoutHost,!0);null!=b.stylesWithoutHost&&0!==(b.flags&16)&&gla(c,
b,v(),b.stylesWithoutHost,!1);return K},L=function(a,b,c,d){H(a,b,c,d);K();return L},M=function(a,b,c){var d=v(),e=rd.tView;a+=25;if(e.firstCreatePass){var f=e.consts;var h=pd(f,b);b=Xd(e,a,8,"ng-container",h);null!==h&&pka(b,h,!0);f=pd(f,c);Iha(e,d,b,f);null!==e.queries&&e.queries.elementStart(e,b);f=b}else f=e.data[a];td(f,!0);xf=!0;b=d[11].createComment(Gga());d[a]=b;xf&&Lga(e,d,b,f);Jd(b,d);1===(f.flags&1)&&(Bha(e,d,f),wha(e,f,d));null!=c&&Cha(d,f);return M},N=function(){var a=sd(),b=rd.tView;
rd.isParent?rd.isParent=!1:(a=a.parent,td(a,!1));b.firstCreatePass&&(bga(b,a),0!==(a.flags&4)&&b.queries.elementEnd(a));return N},Rf=function(a,b,c){M(a,b,c);N();return Rf},Sf=function(a,b,c){var d=v(),e=rd.bindingIndex++;if(vf(d,e,b)){e=rd.tView;var f=xd();Zd(e,f,d,a,b,d[11],c,!0)}return Sf},Tf=function(a,b,c){var d=v(),e=rd.bindingIndex++;if(vf(d,e,b)){e=rd.tView;var f=xd(),h=Mha(Vfa(e.data),f,d);Zd(e,f,d,a,b,h,c,!0)}return Tf},Q=function(a,b,c,d){c=v();Ila(rd.tView,c,c[11],sd(),a,b,d);return Q},
Uf=function(a,b){var c=sd(),d=v(),e=rd.tView,f=Mha(Vfa(e.data),c,d);Ila(e,d,f,c,a,b);return Uf},Jla=function(a,b,c,d){a=a.cleanup;if(null!=a)for(var e=0;e<a.length-1;e+=2){var f=a[e];if(f===c&&a[e+1]===d)return b=b[7],c=a[e+2],b.length>c?b[c]:null;"string"===typeof f&&(e+=2)}return null},Ila=function(a,b,c,d,e,f,h){var k=1===(d.flags&1),q=a.firstCreatePass&&(a.cleanup||(a.cleanup=[])),t=b[7]||(b[7]=[]),w=!0;if(d.type&3||h){var y=nd(d,b),C=h?h(y):y;y=t.length;var J=h?function(O){return h(md(O[d.index]))}:
d.index,I=null;!h&&k&&(I=Jla(a,b,e,d.index));null!==I?((I.__ngLastListenerFn__||I).__ngNextListenerFn__=f,I.__ngLastListenerFn__=f,w=!1):(f=Kla(d,b,f),a=c.listen(C,e,f),t.push(f,a),q&&q.push(e,J,y,y+1))}else f=Kla(d,b,f);a=d.outputs;var P;if(w&&null!==a&&(P=a[e])&&(w=P.length))for(a=0;a<w;a+=2)c=b[P[a]][P[a+1]].subscribe(f),k=t.length,t.push(f,c),q&&q.push(e,d.index,k,-(k+1))},Lla=function(a,b,c){try{return!1!==b(c)}catch(d){return Nha(a,d),!1}finally{}},Kla=function(a,b,c){return function f(e){if(e===
Function)return c;var h=-1<a.componentOffset?od(a.index,b):b;Uha(h);h=Lla(b,c,e);for(var k=f.__ngNextListenerFn__;k;)h=Lla(b,k,e)&&h,k=k.__ngNextListenerFn__;return h}},R=function(a){a=void 0===a?1:a;for(var b=rd.contextLView;0<a;)b=b[14],a--;return(rd.contextLView=b)[8]},Vf=function(a){var b=v()[15][5];if(!b.projection){var c=b.projection=lfa(a?a.length:1,null),d=c.slice();for(b=b.child;null!==b;){if(a)a:{var e=b;var f=a,h=null;b:{var k=e.attrs;if(null!=k){var q=k.indexOf(5);if(0===(q&1)){k=k[q+
1];break b}}k=null}for(q=0;q<f.length;q++){var t=f[q];if("*"===t)h=q;else{if(null===k)t=Yea(e,t,!0);else b:{var w=0;c:for(;w<t.length;w++){var y=t[w];if(k.length===y.length){for(var C=0;C<k.length;C++)if(k[C]!==y[C])continue c;t=!0;break b}}t=!1}if(t){e=q;break a}}}e=h}else e=0;null!==e&&(d[e]?d[e].projectionNext=b:c[e]=b,d[e]=b);b=b.next}}},Wf=function(a,b,c){b=void 0===b?0:b;var d=v(),e=rd.tView;a=Xd(e,25+a,16,null,c||null);null===a.projection&&(a.projection=b);rd.isParent=!1;d[6]&&null===tha||
32===(a.flags&32)||(b=d[11],e=Kga(e,a.parent,d),c=a.parent||d[5],c=c.type&40?nd(c,d):null,Oga(b,0,d,a,e,c))},Yf=function(a,b,c){Xf(a,"",b,"",c);return Yf},Xf=function(a,b,c,d,e){var f=v();b=Bf(f,b,c,d);b!==Yd&&(c=rd.tView,d=xd(),Zd(c,d,f,a,b,f[11],e,!1));return Xf},Zf=function(a,b,c,d,e,f,h){var k=v();b=ela(k,b,c,d,e,f);b!==Yd&&(c=rd.tView,d=xd(),Zd(c,d,k,a,b,k[11],h,!1));return Zf},S=function(a){return rd.contextLView[25+a]},T=function(a,b){b=void 0===b?"":b;var c=v(),d=rd.tView;a+=25;var e=d.firstCreatePass?
Xd(d,a,1,b,null):d.data[a];xf=!0;b=c[11].createText(b);c[a]=b;xf&&Lga(d,c,b,e);td(e,!1)},$f=function(a){V("",a,"");return $f},V=function(a,b,c){var d=v();a=Bf(d,a,b,c);a!==Yd&&Oha(d,a);return V},ag=function(a,b,c,d,e){var f=v();a=ela(f,a,b,c,d,e);a!==Yd&&Oha(f,a);return ag},Mla=function(a,b,c,d,e,f,h,k,q){var t=v();var w=rd.bindingIndex;var y=wf(t,w,b,d);w=wf(t,w+2,f,k)||y;wd(4);a=w?a+Fc(b)+c+Fc(d)+e+Fc(f)+h+Fc(k)+q:Yd;a!==Yd&&Oha(t,a);return Mla},Nla=function(a,b,c,d,e){a=Kc(a);if(Array.isArray(a))for(var f=
0;f<a.length;f++)Nla(a[f],b,c,d,e);else{f=rd.tView;var h=v(),k=sd(),q=ad(a)?a:Kc(a.provide),t=Bfa(a),w=k.providerIndexes&1048575,y=k.directiveStart,C=k.providerIndexes>>20;if(ad(a)||!a.multi)d=new Ed(t,e),t=Ola(q,b,e?w:w+C,y),-1===t?(t=nga(k,h),jga(t,f,q),Pla(f,a,b.length),b.push(q),k.directiveStart++,k.directiveEnd++,e&&(k.providerIndexes+=1048576),c.push(d),h.push(d)):(c[t]=d,h[t]=d);else{y=Ola(q,b,w+C,y);w=Ola(q,b,w,w+C);var J=0<=y&&c[y];C=0<=w&&c[w];e&&!C||!e&&!J?(y=nga(k,h),jga(y,f,q),y=c.length,
J=new Ed(e?Qla:Rla,e),J.multi=[],J.index=y,J.componentProviders=0,d&&!e&&J.componentProviders++,J.multi.push(t),!e&&C&&(c[w].providerFactory=J),Pla(f,a,b.length,0),b.push(q),k.directiveStart++,k.directiveEnd++,e&&(k.providerIndexes+=1048576),c.push(J),h.push(J)):(b=c[e?w:y],!e&&d&&b.componentProviders++,b=b.multi.push(t)-1,Pla(f,a,-1<y?y:w,b));!e&&d&&C&&c[w].componentProviders++}}},Pla=function(a,b,c,d){var e=ad(b),f=!!b.useClass;if(e||f)if(f=(f?Kc(b.useClass):b).prototype.ngOnDestroy)a=a.destroyHooks||
(a.destroyHooks=[]),!e&&b.multi?(b=a.indexOf(c),-1===b?a.push(c,[d,f]):a[b+1].push(d,f)):a.push(c,f)},Ola=function(a,b,c,d){for(;c<d;c++)if(b[c]===a)return c;return-1},Rla=function(){return Sla(this.multi,[])},Qla=function(a,b,c,d){b=this.multi;if(this.providerFactory){var e=this.providerFactory.componentProviders;d=Dd(c,c[1],this.providerFactory.index,d);c=d.slice(0,e);Sla(b,c);for(b=e;b<d.length;b++)c.push(d[b])}else c=[],Sla(b,c);return c},Sla=function(a,b){for(var c=0;c<a.length;c++)b.push((0,a[c])());
return b},bg=function(a){var b=void 0===b?[]:b;return function(c){c.providersResolver=function(d,e){e=e?e(a):a;var f=rd.tView;f.firstCreatePass&&(d=!!d.template,Nla(b,f.data,f.blueprint,d,!0),Nla(e,f.data,f.blueprint,d,!1))}}},dg=function(a){cia("NgStandalone");a.getStandaloneInjector=function(b){b=b.get(cg);if(a.standalone){if(!b.cachedInjectors.has(a)){var c=nfa(!1,a.type);c=0<c.length?uka([c],b._injector,"Standalone["+a.type.name+"]"):null;b.cachedInjectors.set(a,c)}b=b.cachedInjectors.get(a)}else b=
null;return b}},eg=function(a,b){a=vd()+a;var c=v();return c[a]===Yd?uf(c,a,b()):c[a]},fg=function(a,b,c){return Tla(v(),vd(),a,b,c)},gg=function(a,b,c,d){return Ula(v(),vd(),a,b,c,d)},hg=function(a,b,c,d){return Vla(v(),vd(),2,a,b,c,d)},Xla=function(a,b,c,d,e,f){var h=Wla,k=vd()+8,q=v();var t=wf(q,k,a,b);t=wf(q,k+2,c,d)||t;return wf(q,k+4,e,f)||t?uf(q,k+6,h(a,b,c,d,e,f)):q[k+6]},Yla=function(a,b){a=a[b];return a===Yd?void 0:a},Tla=function(a,b,c,d,e,f){b+=c;return vf(a,b,e)?uf(a,b+1,f?d.call(f,e):
d(e)):Yla(a,b+1)},Ula=function(a,b,c,d,e,f,h){b+=c;return wf(a,b,e,f)?uf(a,b+2,h?d.call(h,e,f):d(e,f)):Yla(a,b+2)},Vla=function(a,b,c,d,e,f,h,k){b+=c;c=wf(a,b,e,f);return vf(a,b+2,h)||c?uf(a,b+3,k?d.call(k,e,f,h):d(e,f,h)):Yla(a,b+3)},W=function(a,b){var c=rd.tView;a+=25;if(c.firstCreatePass){a:{var d=c.pipeRegistry;if(d)for(var e=d.length-1;0<=e;e--){var f=d[e];if(b===f.name){b=f;break a}}b=void 0}c.data[a]=b;if(b.onDestroy){var h;(null!=(h=c.destroyHooks)?h:c.destroyHooks=[]).push(a,b.onDestroy)}}else b=
c.data[a];h=b.factory||(b.factory=Xc(b.type));b=Ic(B);try{var k=hga(!1),q=h();hga(k);var t=v();a>=c.data.length&&(c.data[a]=null,c.blueprint[a]=null);t[a]=q}finally{Ic(b)}},X=function(a,b,c){a+=25;var d=v(),e=d[a];return d[1].data[a].pure?Tla(d,vd(),b,e.transform,c,e):e.transform(c)},ig=function(a,b,c,d){a+=25;var e=v(),f=e[a];return e[1].data[a].pure?Ula(e,vd(),b,f.transform,c,d,f):f.transform(c,d)},Zla=function(a,b,c,d){a+=25;var e=v(),f=e[a];return e[1].data[a].pure?Vla(e,vd(),b,f.transform,c,
0,d,f):f.transform(c,0,d)},$la=function(){return this._results[Symbol.iterator]()},bma=function(){return ama(sd(),v())},ama=function(a,b){return a.type&4?new jg(b,a,Id(a,b)):null},cma=function(a,b,c,d){d=b[18].queries[d];if(null===d.matches){a=a.data;for(var e=c.matches,f=[],h=0;h<e.length;h+=2){var k=e[h];if(0>k)f.push(null);else{var q=f,t=q.push,w=b,y=a[k],C=e[h+1];k=c.metadata.read;-1===C?(k=y,w=k.type&11?Id(k,w):k.type&4?ama(k,w):null):-2===C?w=k===Hd?Id(y,w):k===kg?ama(y,w):k===lg?Uka(y,w):void 0:
w=Dd(w,w[1],C,y);t.call(q,w)}}d.matches=f}return d.matches},dma=function(a,b,c,d){var e=a.queries.queries[c],f=e.matches;if(null!==f)for(a=cma(a,b,e,c),c=0;c<f.length;c+=2){var h=f[c];if(0<h)d.push(a[c/2]);else{e=f[c+1];h=b[-h];for(var k=10;k<h.length;k++){var q=h[k];q[16]===q[3]&&dma(q[1],q,e,d)}if(null!==h[9])for(h=h[9],k=0;k<h.length;k++)q=h[k],dma(q[1],q,e,d)}}return d},ng=function(a){var b=v(),c=rd.tView,d=rd.currentQueryIndex;rd.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?dma(c,b,d,[]):cma(c,b,e,d),a.reset(b,Aga),mg(a)),!0):!1},og=function(a,b,c){var d=rd.tView;d.firstCreatePass&&(ema(d,new fma(a,b,c),-1),2===(b&2)&&(d.staticViewQueries=!0));gma(d,b)},pg=function(a,b,c,d){var e=rd.tView;e.firstCreatePass&&(ema(e,new fma(b,c,d),sd().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));gma(e,c)},qg=function(){return v()[18].queries[rd.currentQueryIndex].queryList},gma=function(a,b){var c=v();b=new rg(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 hma);c[18].queries.push(new ima(b))},ema=function(a,b,c){null===a.queries&&(a.queries=new jma);a.queries.track(new sg(b,c))},kma=function(a,b){a=a.\u0275cmp;a.directiveDefs=bfa(b,!1);a.pipeDefs=bfa([],!0)},tg=function(a,b){return ama(a,
b)},ug=function(a){return"boolean"===typeof a?a:null!=a&&"false"!==a},vg=function(a,b){b=void 0===b?NaN:b;return isNaN(parseFloat(a))||isNaN(Number(a))?b:Number(a)},lma=function(a){var b=a[Sc]||null;if(!b)return null;var c=new wg(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}}},mma=
function(a,b){if(b&&!b.createEmbeddedView)throw Error("La`"+a+"`"+Gc(b));},nma=function(a,b,c){a=nf(a);b=xg([a[1],a[2]],b);return xg(b,c)},oma=function(a,b,c){a=nf(a);b=xg([a[3],a[4]],b);return xg(b,c)},pma=function(a,b,c){a=nf(a);b=xg([a[5],a[6]],b);return xg(b,c)},qma=function(a,b){a=nf(a)[7];return xg(a,b)},rma=function(a,b){a=nf(a);return xg(a[10],b)},sma=function(a,b){a=nf(a);return xg(a[11],b)},tma=function(a,b){a=nf(a)[12];return xg(a,b)},yg=function(a,b){a=nf(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},uma=function(a){if(!a[21])throw Error("Ma`"+a[0]);},wma=function(a){a=nf(a);uma(a);return(a[21][2]||[]).map(function(b){return"string"===typeof b?vma(b):[vma(b[0]),vma(b[1])]})},xma=function(a,b,c){a=nf(a);uma(a);b=xg([a[21][0],a[21][1]],b)||[];return xg(b,c)||[]},xg=function(a,b){for(;-1<b;b--)if("undefined"!==typeof a[b])return a[b];throw Error("Na");},vma=function(a){var b=l(a.split(":"));a=b.next().value;b=b.next().value;
return{hours:+a,minutes:+b}},zg=function(){return new Hc(2100,!1)},Gma=function(a,b,c,d){var e=yma(a);b=Ag(c,b)||b;a=[];for(var f;b;)if(f=zma.exec(b)){if(a=a.concat(f.slice(1)),b=a.pop(),!b)break}else{a.push(b);break}var h=e.getTimezoneOffset();d&&(h=Ama(d,h),e=Bma(e,d));var k="";a.forEach(function(q){a:if(Cma[q])var t=Cma[q];else{switch(q){case "G":case "GG":case "GGG":t=Cg(3,1);break;case "GGGG":t=Cg(3,2);break;case "GGGGG":t=Cg(3,0);break;case "y":t=Dg(0,1,0,!1,!0);break;case "yy":t=Dg(0,2,0,!0,
!0);break;case "yyy":t=Dg(0,3,0,!1,!0);break;case "yyyy":t=Dg(0,4,0,!1,!0);break;case "Y":t=Dma(1);break;case "YY":t=Dma(2,!0);break;case "YYY":t=Dma(3);break;case "YYYY":t=Dma(4);break;case "M":case "L":t=Dg(1,1,1);break;case "MM":case "LL":t=Dg(1,2,1);break;case "MMM":t=Cg(2,1);break;case "MMMM":t=Cg(2,2);break;case "MMMMM":t=Cg(2,0);break;case "LLL":t=Cg(2,1,1);break;case "LLLL":t=Cg(2,2,1);break;case "LLLLL":t=Cg(2,0,1);break;case "w":t=Ema(1);break;case "ww":t=Ema(2);break;case "W":t=Ema(1,!0);
break;case "d":t=Dg(2,1);break;case "dd":t=Dg(2,2);break;case "c":case "cc":t=Dg(7,1);break;case "ccc":t=Cg(1,1,1);break;case "cccc":t=Cg(1,2,1);break;case "ccccc":t=Cg(1,0,1);break;case "cccccc":t=Cg(1,3,1);break;case "E":case "EE":case "EEE":t=Cg(1,1);break;case "EEEE":t=Cg(1,2);break;case "EEEEE":t=Cg(1,0);break;case "EEEEEE":t=Cg(1,3);break;case "a":case "aa":case "aaa":t=Cg(0,1);break;case "aaaa":t=Cg(0,2);break;case "aaaaa":t=Cg(0,0);break;case "b":case "bb":case "bbb":t=Cg(0,1,1,!0);break;
case "bbbb":t=Cg(0,2,1,!0);break;case "bbbbb":t=Cg(0,0,1,!0);break;case "B":case "BB":case "BBB":t=Cg(0,1,0,!0);break;case "BBBB":t=Cg(0,2,0,!0);break;case "BBBBB":t=Cg(0,0,0,!0);break;case "h":t=Dg(3,1,-12);break;case "hh":t=Dg(3,2,-12);break;case "H":t=Dg(3,1);break;case "HH":t=Dg(3,2);break;case "m":t=Dg(4,1);break;case "mm":t=Dg(4,2);break;case "s":t=Dg(5,1);break;case "ss":t=Dg(5,2);break;case "S":t=Dg(6,1);break;case "SS":t=Dg(6,2);break;case "SSS":t=Dg(6,3);break;case "Z":case "ZZ":case "ZZZ":t=
Fma(0);break;case "ZZZZZ":t=Fma(3);break;case "O":case "OO":case "OOO":case "z":case "zz":case "zzz":t=Fma(1);break;case "OOOO":case "ZZZZ":case "zzzz":t=Fma(2);break;default:t=null;break a}Cma[q]=t}k+=t?t(e,c,h):"''"===q?"'":q.replace(/(^'|'$)/g,"").replace(/''/g,"'")});return k},Hma=function(a,b,c){var d=new Date(0);d.setFullYear(a,b,c);d.setHours(0,0,0);return d},Ag=function(a,b){var c=nf(a)[0];Eg[c]=Eg[c]||{};if(Eg[c][b])return Eg[c][b];var d="";switch(b){case "shortDate":d=rma(a,0);break;case "mediumDate":d=
rma(a,1);break;case "longDate":d=rma(a,2);break;case "fullDate":d=rma(a,3);break;case "shortTime":d=sma(a,0);break;case "mediumTime":d=sma(a,1);break;case "longTime":d=sma(a,2);break;case "fullTime":d=sma(a,3);break;case "short":d=Ag(a,"shortTime");var e=Ag(a,"shortDate");d=Ima(tma(a,0),[d,e]);break;case "medium":d=Ag(a,"mediumTime");e=Ag(a,"mediumDate");d=Ima(tma(a,1),[d,e]);break;case "long":d=Ag(a,"longTime");e=Ag(a,"longDate");d=Ima(tma(a,2),[d,e]);break;case "full":d=Ag(a,"fullTime"),e=Ag(a,
"fullDate"),d=Ima(tma(a,3),[d,e])}d&&(Eg[c][b]=d);return d},Ima=function(a,b){b&&(a=a.replace(/\{([^}]+)}/g,function(c,d){return null!=b&&d in b?b[d]:c}));return a},Fg=function(a,b,c,d,e){c=void 0===c?"-":c;var f="";if(0>a||e&&0>=a)e?a=-a+1:(a=-a,f=c);for(a=String(a);a.length<b;)a="0"+a;d&&(a=a.slice(a.length-b));return f+a},Dg=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(f,h){f=Jma(a,f);if(0<c||f>-c)f+=c;if(3===a)0===f&&-12===c&&(f=12);else if(6===a)return Fg(f,
3).substring(0,b);h=yg(h,5);return Fg(f,b,h,d,e)}},Jma=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("Oa`"+a);}},Cg=function(a,b,c,d){c=void 0===c?0:c;d=void 0===d?!1:d;return function(e,f){return Kma(e,f,a,b,c,d)}},Kma=function(a,b,c,d,e,f){switch(c){case 2:return pma(b,e,d)[a.getMonth()];
case 1:return oma(b,e,d)[a.getDay()];case 0:var h=a.getHours(),k=a.getMinutes();return f&&(c=wma(b),a=xma(b,e,d),c=c.findIndex(function(q){if(Array.isArray(q)){var t=l(q);q=t.next().value;t=t.next().value;var w=h>=q.hours&&k>=q.minutes,y=h<t.hours||h===t.hours&&k<t.minutes;if(q.hours<t.hours){if(w&&y)return!0}else if(w||y)return!0}else if(q.hours===h&&q.minutes===k)return!0;return!1}),-1!==c)?a[c]:nma(b,e,d)[12>h?0:1];case 3:return qma(b,d)[0>=a.getFullYear()?0:1];default:throw Error("Pa`"+c);}},
Fma=function(a){return function(b,c,d){b=-1*d;c=yg(c,5);var e=0<b?Math.floor(b/60):Math.ceil(b/60);switch(a){case 0:return(0<=b?"+":"")+Fg(e,2,c)+Fg(Math.abs(b%60),2,c);case 1:return"GMT"+(0<=b?"+":"")+Fg(e,1,c);case 2:return"GMT"+(0<=b?"+":"")+Fg(e,2,c)+":"+Fg(Math.abs(b%60),2,c);case 3:return 0===d?"Z":(0<=b?"+":"")+Fg(e,2,c)+":"+Fg(Math.abs(b%60),2,c);default:throw Error("Qa`"+a);}}},Lma=function(a){return Hma(a.getFullYear(),a.getMonth(),a.getDate()+(4-a.getDay()))},Ema=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=Lma(c);c=e.getFullYear();var f=Hma(c,0,1).getDay();c=Hma(c,0,1+(4>=f?4:11)-f);e=1+Math.round((e.getTime()-c.getTime())/6048E5)}return Fg(e,a,yg(d,5))}},Dma=function(a,b){b=void 0===b?!1:b;return function(c,d){c=Lma(c).getFullYear();return Fg(c,a,yg(d,5),b)}},Ama=function(a,b){a=a.replace(/:/g,"");a=Date.parse("Jan 01, 1970 00:00:00 "+a)/6E4;return isNaN(a)?b:a},
Bma=function(a,b){var c=a.getTimezoneOffset();b=Ama(b,c);a=new Date(a.getTime());a.setMinutes(a.getMinutes()+-1*(b-c));return a},yma=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=l(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 Hma(a,c-1,void 0===b?1:b)}b=parseFloat(a);if(!isNaN(a-
b))return new Date(b);if(b=a.match(Mma))return Nma(b)}b=new Date(a);if(!(b instanceof Date)||isNaN(b.valueOf()))throw Error("Ra`"+a);return b},Nma=function(a){var b=new Date(0),c=0,d=0,e=a[8]?b.setUTCFullYear:b.setFullYear,f=a[8]?b.setUTCHours:b.setHours;a[9]&&(c=Number(a[9]+a[10]),d=Number(a[9]+a[11]));e.call(b,Number(a[1]),Number(a[2])-1,Number(a[3]));f.call(b,Number(a[4]||0)-c,Number(a[5]||0)-d,Number(a[6]||0),Math.floor(1E3*parseFloat("0."+(a[7]||0))));return b},Oma=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},Uma=function(a,b,c,d){var e=void 0===e?!1:e;var f="",h=!1;if(isFinite(a)){h=Pma(a);e&&(h=Qma(h));f=b.minInt;e=b.minFrac;var k=b.maxFrac;if(d){var q=d.match(Rma);if(null===q)throw Error("Sa`"+
d);d=q[1];var t=q[3];q=q[5];null!=d&&(f=Sma(d));null!=t&&(e=Sma(t));null!=q?k=Sma(q):null!=t&&e>k&&(k=e)}Tma(h,e,k);d=h.digits;q=h.integerLen;e=h.exponent;k=[];for(h=d.every(function(w){return!w});q<f;q++)d.unshift(0);for(;0>q;q++)d.unshift(0);0<q?k=d.splice(q,d.length):(k=d,d=[0]);f=[];for(d.length>=b.lgSize&&f.unshift(d.splice(-b.lgSize,d.length).join(""));d.length>b.gSize;)f.unshift(d.splice(-b.gSize,d.length).join(""));d.length&&f.unshift(d.join(""));f=f.join(yg(c,1));k.length&&(f+=yg(c,0)+k.join(""));
e&&(f+=yg(c,6)+"+"+e)}else f=yg(c,9);return f=0>a&&!h?b.negPre+f+b.negSuf:b.posPre+f+b.posSuf},Qma=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},Pma=function(a){a=Math.abs(a)+"";var b=0,c,d,e,f;-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===(f=a.length)){var h=
[0];c=1}else{for(f--;"0"===a.charAt(f);)f--;c-=d;h=[];for(e=0;d<=f;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}},Tma=function(a,b,c){if(b>c)throw Error("Ta`"+b+"`"+c);var d=a.digits,e=d.length-a.integerLen;c=Math.min(Math.max(b,e),c);var f=c+a.integerLen,h=d[f];if(0<f){d.splice(Math.max(a.integerLen,f));for(var k=f;k<d.length;k++)d[k]=0}else for(e=Math.max(0,e),a.integerLen=1,d.length=Math.max(1,f=c+1),d[0]=0,k=1;k<f;k++)d[k]=0;if(5<=
h)if(0>f-1){for(h=0;h>f;h--)d.unshift(0),a.integerLen++;d.unshift(1);a.integerLen++}else d[f-1]++;for(;e<Math.max(0,c);e++)d.push(0);var q=0!==c,t=b+a.integerLen;if(b=d.reduceRight(function(w,y,C,J){y+=w;J[C]=10>y?y:y-10;q&&(0===J[C]&&C>=t?J.pop():q=!1);return 10<=y?1:0},0))d.unshift(b),a.integerLen++},Sma=function(a){var b=parseInt(a);if(isNaN(b))throw Error("Ua`"+a);return b},Vma=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},Wma=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)},Gg=function(a){return a&&"?"!==a[0]?"?"+a:a},Xma=function(a){return RegExp("^(https?:)?//").test(a)?(a=l(a.split(/\/\/[^\/]+/)),a.next(),a.next().value):a},Yma=function(a){return null==a||("string"===typeof a||Array.isArray(a))&&0===a.length},Zma=function(a){return function(b){if(Yma(b.value)||Yma(a))return null;var c=parseFloat(b.value);return!isNaN(c)&&
c<a?{min:{min:a,actual:b.value}}:null}},$ma=function(a){return Yma(a.value)?{required:!0}:null},ana=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}},cna=function(a){if(!a)return bna;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(Yma(d.value))return null;d=
d.value;return c.test(d)?null:{pattern:{requiredPattern:b,actualValue:d}}}},bna=function(){return null},dna=function(a){return null!=a},ena=function(a){return mf(a)?(0,E.from)(a):a},fna=function(a){var b={};a.forEach(function(c){b=null!=c?Object.assign({},b,c):b});return 0===Object.keys(b).length?null:b},gna=function(a,b){return b.map(function(c){return c(a)})},hna=function(a){return a.map(function(b){return b.validate?function(c){return b.validate(c)}:b})},ina=function(a){if(!a)return null;var b=
a.filter(dna);return 0==b.length?null:function(c){return fna(gna(c,b))}},jna=function(a){return null!=a?ina(hna(a)):null},kna=function(a){if(!a)return null;var b=a.filter(dna);return 0==b.length?null:function(c){c=gna(c,b).map(ena);return(0,E.forkJoin)(c).pipe(D(fna))}},lna=function(a){return null!=a?kna(hna(a)):null},mna=function(a,b){return null===a?[b]:Array.isArray(a)?[].concat(u(a),[b]):[a,b]},nna=function(a,b){return[].concat(u(b.path),[a])},Hg=function(a,b,c){c=void 0===c?"whenDisabledForLegacyCode":
c;ona(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)}pna(a,b);qna(a,b);rna(a,b);sna(a,b)},una=function(a,b){var c=function(){};b.valueAccessor&&(b.valueAccessor.registerOnChange(c),b.valueAccessor.registerOnTouched(c));tna(a,b);a&&(b._invokeOnDestroyCallbacks(),a._registerOnCollectionChange(function(){}))},vna=function(a,b){a.forEach(function(c){c.registerOnValidatorChange&&c.registerOnValidatorChange(b)})},
sna=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)})}},ona=function(a,b){var c=a._rawValidators;null!==b.validator?wna(a,mna(c,b.validator)):"function"===typeof c&&wna(a,[c]);c=a._rawAsyncValidators;null!==b.asyncValidator?xna(a,mna(c,b.asyncValidator)):"function"===typeof c&&xna(a,[c]);c=function(){return Ig(a)};vna(b._rawValidators,c);vna(b._rawAsyncValidators,
c)},tna=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(f){return f!==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(f){return f!==b.asyncValidator}),e.length!==d.length&&(c=!0,a._assignAsyncValidators(e))))}a=function(){};vna(b._rawValidators,a);vna(b._rawAsyncValidators,a);return c},pna=
function(a,b){b.valueAccessor.registerOnChange(function(c){a._pendingValue=c;a._pendingChange=!0;a._pendingDirty=!0;"change"===a.updateOn&&yna(a,b)})},rna=function(a,b){b.valueAccessor.registerOnTouched(function(){a._pendingTouched=!0;"blur"===a.updateOn&&a._pendingChange&&yna(a,b);"submit"!==a.updateOn&&zna(a)})},yna=function(a,b){a._pendingDirty&&Ana(a);a.setValue(a._pendingValue,{emitModelToViewChange:!1});b.viewToModelUpdate(a._pendingValue);a._pendingChange=!1},qna=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)})},Bna=function(a,b){if(!a.hasOwnProperty("model"))return!1;a=a.model;return a.isFirstChange()?!0:!Object.is(b,a.currentValue)},Cna=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)})},Dna=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===Jg?b=e:Object.getPrototypeOf(e.constructor)===Kg?c=e:d=e});return d?d:c?c:b?b:null},Ena=function(a){return(Lg(a)?a.validators:a)||null},Lg=function(a){return null!=a&&!Array.isArray(a)&&"object"===typeof a},Fna=function(a,b){a._forEachChild(function(c,d){if(void 0===b[d])throw new Hc(1002,"");})},Gna=function(a){return"object"===typeof a&&null!==a&&2===Object.keys(a).length&&"value"in a&&"disabled"in a},Hna=function(a){return 0===
a.buttons||0===a.detail},Ina=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)},Mg=function(a){var b=$c.apply(1,arguments);return b.length?b.some(function(c){return a[c]}):a.altKey||a.shiftKey||a.ctrlKey||a.metaKey},Lna=function(){if(Jna)return Jna;if("object"!==typeof document||!document)return Jna=new Set(Kna);var a=document.createElement("input");return Jna=new Set(Kna.filter(function(b){a.setAttribute("type",
b);return a.type===b}))},Mna=function(){if(null==Ng&&"undefined"!==typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Ng=!0}}))}finally{Ng=Ng||!1}return Ng},Og=function(a){return Mna()?a:!!a.capture},Nna=function(){if(null==Pg){if("object"!==typeof document||!document||"function"!==typeof Element||!Element)return Pg=!1;if("scrollBehavior"in document.documentElement.style)Pg=!0;else{var a=Element.prototype.scrollTo;Pg=a?!/\{\s*\[native code\]\s*\}/.test(a.toString()):
!1}}return Pg},Pna=function(){if("object"!==typeof document||!document)return 0;if(null==Ona){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);Ona=0;0===a.scrollLeft&&(a.scrollLeft=1,Ona=0===a.scrollLeft?1:2);a.remove()}return Ona},Rna=function(a){if(null==Qna){var b="undefined"!==
typeof document?document.head:null;Qna=!(!b||!b.createShadowRoot&&!b.attachShadow)}return Qna&&(a=a.getRootNode?a.getRootNode():null,"undefined"!==typeof ShadowRoot&&ShadowRoot&&a instanceof ShadowRoot)?a:null},Qg=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},Rg=function(a){return a.composedPath?a.composedPath()[0]:a.target},Sna=function(){return"undefined"!==typeof __karma__&&
!!__karma__||"undefined"!==typeof jasmine&&!!jasmine||"undefined"!==typeof jest&&!!jest||"undefined"!==typeof Mocha&&!!Mocha},Tna=function(a){return Array.isArray(a)?a:[a]},Sg=function(a){return null!=a&&"false"!==""+a},Tg=function(a){return null==a?"":"string"===typeof a?a:a+"px"},Ug=function(a){return a instanceof Hd?a.nativeElement:a},Vg=function(a,b){return isNaN(parseFloat(a))||isNaN(Number(a))?void 0===b?0:b:Number(a)},Una=function(a){var b=void 0===b?/\s+/:b;var c=[];if(null!=a)for(a=Array.isArray(a)?
a:(""+a).split(b),a=l(a),b=a.next();!b.done;b=a.next())(b=(""+b.value).trim())&&c.push(b);return c},Vna=function(a){if(!a.hasAttribute("tabindex")||void 0===a.tabIndex)return!1;a=a.getAttribute("tabindex");return!(!a||isNaN(parseInt(a,10)))},Wna=function(a){if(!Vna(a))return null;a=parseInt(a.getAttribute("tabindex")||"",10);return isNaN(a)?-1:a},Xna=function(a){return{matches:"all"===a||""===a,media:a,addListener:function(){},removeListener:function(){}}},Yna=function(a){return a.map(function(b){return b.split(",")}).reduce(function(b,
c){return b.concat(c)}).map(function(b){return b.trim()})},Zna=function(){return null},aoa=function(a,b,c){var d=$na(a,b);d.some(function(e){return e.trim()==c.trim()})||(d.push(c.trim()),a.setAttribute(b,d.join(" ")))},Wg=function(a,b,c){var d=$na(a,b).filter(function(e){return e!=c.trim()});d.length?a.setAttribute(b,d.join(" ")):a.removeAttribute(b)},$na=function(a,b){return(a.getAttribute(b)||"").match(/\S+/g)||[]},boa=function(a,b){return"string"===typeof a?(b||"")+"/"+a:a},doa=function(a,b){a.id||
(a.id="cdk-describedby-message-"+b+"-"+coa++)},eoa=function(a,b){return b.some(function(c){var d=a.top>c.bottom,e=a.right<c.left,f=a.left>c.right;return a.bottom<c.top||d||e||f})},foa=function(a,b){return b.some(function(c){var d=a.bottom>c.bottom,e=a.left<c.left,f=a.right>c.right;return a.top<c.top||d||e||f})},goa=function(){return Nc(Xg)},hoa=function(a){return a&&"function"===typeof a.connect&&!(a instanceof E.ConnectableObservable)},Yg=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])},
joa=function(a){if("number"!==typeof a&&null!=a){var b=l(a.split(ioa));a=b.next().value;return(b=b.next().value)&&"px"!==b?null:parseFloat(a)}return a||null},koa=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)}},moa=function(a,b){return b.map(function(c){return c.replace(loa,a)})},noa=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=l(e);e=c.next().value;c=c.next().value;d=b.get(e)||[];d.push(c);b.set(e,d)});return b},qoa=function(a){return encodeURIComponent(a).replace(ooa,function(b,c){var d;return null!=(d=poa[c])?d:b})},roa=function(a){return""+a},soa=function(a){return"undefined"!==typeof ArrayBuffer&&a instanceof ArrayBuffer},toa=function(a){return"undefined"!==typeof Blob&&
a instanceof Blob},uoa=function(a){return"undefined"!==typeof FormData&&a instanceof FormData},voa=function(a,b){return{body:b,headers:a.headers,context:a.context,observe:a.observe,params:a.params,reportProgress:a.reportProgress,responseType:a.responseType,withCredentials:a.withCredentials,transferCache:a.transferCache}},woa=function(a,b){return b(a)},xoa=function(a,b){return function(c,d){return b.intercept(c,{handle:function(e){return a(e,d)}})}},yoa=function(a,b,c){return function(d,e){return fd(c,
function(){return b(d,function(f){return a(f,e)})})}},Coa=function(a,b){var c=a.url.toLowerCase();if(!Nc(zoa)||"GET"===a.method||"HEAD"===a.method||c.startsWith("http://")||c.startsWith("https://"))return b(a);c=Nc(Aoa).getToken();var d=Nc(Boa);null==c||a.headers.has(d)||(a=a.clone({headers:a.headers.set(d,c)}));return b(a)},Doa=function(a){return-1===a.toString().indexOf("`")},Zg=function(a){return new Eoa(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})},ah=function(a){var b=void 0===
b?Foa:b;a:if(b=void 0===b?Foa:b,!(a instanceof hc)){for(var c=0;c<b.length;++c){var d=b[c];if(d instanceof Eoa&&d.isValid(a)){a=$g(a);break a}}a=void 0}return a||Oda},Hoa=function(a){a:if(Goa){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},Ioa=function(a){return a instanceof hc?ic(a):Hoa(a)},ch=function(a,b){b=void 0===b?{}:b;if(mc(a))return a;
a=String(a).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;");b.preserveSpaces&&(a=a.replace(/(^|[\r\n\t ]) /g,"$1&#160;"));b.preserveNewlines&&(a=a.replace(/(\r\n|\n|\r)/g,"<br>"));b.preserveTabs&&(a=a.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>'));return bh(a)},eh=function(a){var b=ch("");return bh(a.map(function(c){return dh(ch(c))}).join(dh(b).toString()))},Loa=function(a){if(!Joa.test(a))throw Error("T");if(-1!==Koa.indexOf(a.toUpperCase()))throw Error("T");
},fh=function(a,b,c){Loa(a);var d="<"+a;b&&(d+=Moa(b));Array.isArray(c)||(c=void 0===c?[]:[c]);-1!==Noa.indexOf(a.toUpperCase())?d+=">":(b=eh(c.map(function(e){return mc(e)?e:ch(String(e))})),d+=">"+b.toString()+"</"+a+">");return bh(d)},Moa=function(a){for(var b="",c=Object.keys(a),d=0;d<c.length;d++){var e=c[d],f=a[e];if(!Joa.test(e))throw Error("T");if(void 0!==f&&null!==f){if(/^on/i.test(e))throw Error("T");-1!==Ooa.indexOf(e.toLowerCase())&&(f=f instanceof hc?f.toString():Hoa(String(f))||"about:invalid#zClosurez");
e=e+'="'+ch(String(f))+'"';b+=" "+e}}return b},hh=function(a){var b=$c.apply(1,arguments);if(0===b.length)return gh(a[0]);for(var c=a[0],d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return gh(c)},ih=function(a,b){return{type:7,name:a,definitions:b,options:{}}},jh=function(a,b){return{type:4,styles:void 0===b?null:b,timings:a}},Poa=function(a){return{type:3,steps:a,options:null}},kh=function(a){return{type:6,styles:a,offset:null}},lh=function(a,b){return{type:0,name:a,styles:b,options:void 0}},
mh=function(a){return{type:5,steps:a}},nh=function(a,b,c){return{type:1,expr:a,animation:b,options:void 0===c?null:c}},oh=function(){return{type:9,options:null}},ph=function(a,b){var c={optional:!0};return{type:11,selector:a,animation:b,options:void 0===c?null:c}},qh=function(a){if("number"==typeof a)return a;a=a.match(/^(-?[\.\d]+)(m?s)/);return!a||2>a.length?0:Qoa(parseFloat(a[1]),a[2])},Qoa=function(a,b){switch(b){case "s":return 1E3*a;default:return a}},Roa=function(a,b,c){if(a.hasOwnProperty("duration"))b=
a;else a:{var d=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,e=0,f="";if("string"===typeof a){d=a.match(d);if(null===d){b.push(new Hc(3E3,!1));b={duration:0,delay:0,easing:""};break a}a=Qoa(parseFloat(d[1]),d[2]);var h=d[3];null!=h&&(e=Qoa(parseFloat(h),d[4]));(d=d[5])&&(f=d)}c||(c=!1,d=b.length,0>a&&(b.push(new Hc(3100,!1)),c=!0),0>e&&(b.push(new Hc(3101,!1)),c=!0),c&&b.splice(d,0,new Hc(3E3,!1)));b={duration:a,delay:e,easing:f}}return b},rh=function(a){var b=void 0===
b?{}:b;Object.keys(a).forEach(function(c){b[c]=a[c]});return b},Soa=function(a){var b=new Map;Object.keys(a).forEach(function(c){b.set(c,a[c])});return b},Toa=function(a){return a.length?a[0]instanceof Map?a:a.map(function(b){return Soa(b)}):[]},sh=function(a,b,c){b=void 0===b?new Map:b;if(c){c=l(c);for(var d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;b.set(d,e)}}a=l(a);for(c=a.next();!c.done;c=a.next())d=l(c.value),c=d.next().value,d=d.next().value,b.set(c,d);
return b},th=function(a,b,c){b.forEach(function(d,e){var f=Uoa(e);c&&!c.has(e)&&c.set(e,a.style[f]);a.style[f]=d})},uh=function(a,b){b.forEach(function(c,d){d=Uoa(d);a.style[d]=""})},vh=function(a){if(Array.isArray(a)){var b;1==a.length?b=a[0]:b={type:2,steps:a,options:null};a=b}return a},Woa=function(a,b,c){var d=b.params||{};a=Voa(a);a.length&&a.forEach(function(e){d.hasOwnProperty(e)||c.push(new Hc(3001,!1))})},Voa=function(a){var b=[];if("string"===typeof a){for(var c;c=Xoa.exec(a);)b.push(c[1]);
Xoa.lastIndex=0}return b},wh=function(a,b,c){var d=a.toString(),e=d.replace(Xoa,function(f,h){h=b[h];null==h&&(c.push(new Hc(3003,!1)),h="");return h.toString()});return e==d?a:e},Yoa=function(a){for(var b=[],c=a.next();!c.done;)b.push(c.value),c=a.next();return b},Uoa=function(a){return a.replace(Zoa,function(){return $c.apply(0,arguments)[1].toUpperCase()})},$oa=function(a,b,c){if(c.size&&b.length){var d=b[0],e=[];c.forEach(function(h,k){d.has(k)||e.push(k);d.set(k,h)});if(e.length){c={};for(var f=
1;f<b.length;c={kf$jscomp$1:c.kf$jscomp$1},f++)c.kf$jscomp$1=b[f],e.forEach(function(h){return function(k){var q=h.kf$jscomp$1,t=q.set;var w=window.getComputedStyle(a)[k];return t.call(q,k,w)}}(c))}}return b},xh=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 Hc(3004,!1);}},zh=function(a){switch(a.length){case 0:return new yh;case 1:return a[0];default:return new apa(a)}},cpa=function(a,b,c){b=void 0===b?new Map:b;c=void 0===c?new Map:c;var d=[],e=[],f=-1,h=null;a.forEach(function(k){var q=k.get("offset"),t=q==f,w=t&&h||new Map;k.forEach(function(y,C){var J=
C;if("offset"!==C)switch(J=Uoa(J),y){case "!":y=b.get(C);break;case "*":y=c.get(C);break;default:y=bpa(J,y,d)}w.set(J,y)});t||e.push(w);h=w;f=q});if(d.length)throw new Hc(3502,!1);return e},epa=function(a,b,c,d){switch(b){case "start":a.onStart(function(){return d(c&&dpa(c,"start",a))});break;case "done":a.onDone(function(){return d(c&&dpa(c,"done",a))});break;case "destroy":a.onDestroy(function(){return d(c&&dpa(c,"destroy",a))})}},dpa=function(a,b,c){var d=c.totalTime;b=fpa(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},fpa=function(a,b,c,d,e,f,h){return{element:a,triggerName:b,fromState:c,toState:d,phaseName:void 0===e?"":e,totalTime:void 0===f?0:f,disabled:!!h}},Ah=function(a,b,c){var d=a.get(b);d||a.set(b,d=c);return d},gpa=function(a){var b=a.indexOf(":"),c=a.substring(1,b);a=a.slice(b+1);return[c,a]},ipa=function(a){a=a.parentNode||a.host||null;return a===hpa?null:a},jpa=function(a,b){for(;b;){if(b===
a)return!0;b=ipa(b)}return!1},kpa=function(a,b,c){return c?Array.from(a.querySelectorAll(b)):(a=a.querySelector(b))?[a]:[]},npa=function(a,b){var c=[];"string"==typeof a?a.split(/\s*,\s*/).forEach(function(d){a:{if(":"==d[0]&&(d=lpa(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 Hc(3015,!1)),d=c;else{d=e[1];var f=e[2];e=e[3];c.push(mpa(d,e));"<"!=f[0]||"*"==d&&"*"==e||c.push(mpa(e,d));d=void 0}}return d}):
c.push(a);return c},lpa=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 Hc(3016,!1)),"* => *"}},mpa=function(a,b){var c=opa.has(a)||ppa.has(a),d=opa.has(b)||ppa.has(b);return function(e,f){var h="*"==a||a==e,k="*"==b||b==f;!h&&c&&"boolean"===typeof e&&(h=e?opa.has(a):ppa.has(a));!k&&d&&
"boolean"===typeof f&&(k=f?opa.has(b):ppa.has(b));return h&&k}},rpa=function(a){var b=a.split(/\s*,\s*/).find(function(c){return":self"==c})?!0:!1;b&&(a=a.replace(qpa,""));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]},spa=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},tpa=function(a,b){if(a.hasOwnProperty("duration"))return a;if("number"==typeof a)return{duration:Roa(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=Roa(a,b);return{duration:a.duration,delay:a.delay,easing:a.easing}},Bh=function(a){if(a){if(a=rh(a),a.params){var b=a;var c=(c=
a.params)?rh(c):null;b.params=c}}else a={};return a},upa=function(a,b,c,d,e,f,h,k){return{type:1,element:a,keyframes:b,preStyleProps:c,postStyleProps:d,duration:e,delay:f,totalTime:e+f,easing:void 0===h?null:h,subTimeline:void 0===k?!1:k}},wpa=function(a,b,c,d,e,f,h,k,q,t){f=void 0===f?new Map:f;h=void 0===h?new Map:h;t=void 0===t?[]:t;return(new vpa).buildKeyframes(a,b,c,d,e,f,h,k,q,t)},xpa=function(a){var b=Math.pow(10,2);return Math.round(a*b)/b},ypa=function(a,b){var c=new Map,d;a.forEach(function(e){if("*"===
e){d=d||b.keys();e=l(d);for(var f=e.next();!f.done;f=e.next())c.set(f.value,"*")}else sh(e,c)});return c},zpa=function(a,b,c,d,e,f,h,k,q,t,w,y,C){return{type:0,element:a,triggerName:b,isRemovalTransition:e,fromState:c,fromStyles:f,toState:d,toStyles:h,timelines:k,queriedElements:q,preStyleProps:t,postStyleProps:w,totalTime:y,errors:C}},Apa=function(a,b,c,d,e){return a.some(function(f){return f(b,c,d,e)})},Bpa=function(a,b){b=rh(b);for(var c in a)a.hasOwnProperty(c)&&null!=a[c]&&(b[c]=a[c]);return b},
Cpa=function(a,b){return new Ch(a,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(){return!0}],options:null,queryCount:0,depCount:0},b)},Dpa=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))},Epa=function(a){return a&&1===a.nodeType},Fpa=function(a,b){var c=a.style.display;a.style.display=null!=b?b:"none";return c},Hpa=function(a,b,c,d,e){var f=[];c.forEach(function(q){return f.push(Fpa(q))});var h=[];d.forEach(function(q,t){var w=new Map;q.forEach(function(y){var C=
b.computeStyle(t,y,e);w.set(y,C);C&&0!=C.length||(t.__ng_removed=Gpa,h.push(t))});a.set(t,w)});var k=0;c.forEach(function(q){return Fpa(q,f[k++])});return h},Ipa=function(a,b){function c(h){if(!h)return 1;var k=f.get(h);if(k)return k;var q=h.parentNode;d.has(q)?k=q:e.has(q)?k=1:k=c(q);f.set(h,k);return k}var d=new Map;a.forEach(function(h){return d.set(h,[])});if(0==b.length)return d;var e=new Set(b),f=new Map;b.forEach(function(h){var k=c(h);1!==k&&d.get(k).push(h)});return d},Dh=function(a,b){var c;
null==(c=a.classList)||c.add(b)},Eh=function(a,b){var c;null==(c=a.classList)||c.remove(b)},Jpa=function(a,b,c){zh(c).onDone(function(){return Fh(a,b)})},Lpa=function(a){var b=[];Kpa(a,b);return b},Kpa=function(a,b){for(var c=0;c<a.length;c++){var d=a[c];d instanceof apa?Kpa(d.players,b):b.push(d)}},Mpa=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},Npa=function(a,b,c){var d=
c.get(a);if(!d)return!1;var e=b.get(a);e?d.forEach(function(f){return e.add(f)}):b.set(a,d);c.delete(a);return!0},Qpa=function(a,b){var c=null,d=null;Array.isArray(b)&&b.length?(c=Opa(b[0]),1<b.length&&(d=Opa(b[b.length-1]))):b instanceof Map&&(c=Opa(b));return c||d?new Ppa(a,c,d):null},Opa=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},Rpa=function(a){switch(a){case "body":return document.body;case "document":return document;case "window":return window;
default:return a}},Spa=function(a){var b=a.indexOf("."),c=a.substring(0,b);a=a.slice(b+1);return[c,a]},Hh=function(a,b){var c=function(){var d=a.apply(this,[].concat(u($c.apply(0,arguments))))||this;d.defaultColor=b;d.color=b;return d};Y(c,a);Gh.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},Ih=function(a){var b=function(){var c=a.apply(this,[].concat(u($c.apply(0,arguments))))||this;c._disableRipple=!1;return c};Y(b,a);Gh.Object.defineProperties(b.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(c){this._disableRipple=Sg(c)}}});return b},Jh=function(a){var b=function(){var c=a.apply(this,[].concat(u($c.apply(0,arguments))))||this;c._disabled=!1;return c};Y(b,a);Gh.Object.defineProperties(b.prototype,
{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(c){this._disabled=Sg(c)}}});return b},Upa=function(a){var b=function(){return a.apply(this,[].concat(u($c.apply(0,arguments))))||this};Y(b,a);b.prototype.updateErrorState=function(){this._getTracker().updateErrorState()};b.prototype._getTracker=function(){this._tracker||(this._tracker=new Tpa(this._defaultErrorStateMatcher,this.ngControl,this._parentFormGroup,this._parentForm,this.stateChanges));return this._tracker};
Gh.Object.defineProperties(b.prototype,{errorState:{configurable:!0,enumerable:!0,get:function(){return this._getTracker().errorState},set:function(c){this._getTracker().errorState=c}},errorStateMatcher:{configurable:!0,enumerable:!0,get:function(){return this._getTracker().matcher},set:function(c){this._getTracker().matcher=c}}});return b},Vpa=function(a){var b=function(){var c=a.apply(this,[].concat(u($c.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};Y(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},Wpa=function(a){var b=void 0===b?0:b;var c=function(){var d=a.apply(this,[].concat(u($c.apply(0,arguments))))||this;d._tabIndex=b;d.defaultTabIndex=b;return d};Y(c,a);Gh.Object.defineProperties(c.prototype,
{tabIndex:{configurable:!0,enumerable:!0,get:function(){return this.disabled?-1:this._tabIndex},set:function(d){this._tabIndex=null!=d?Vg(d):this.defaultTabIndex}}});return c},Xpa=function(){return Nc(Kh)},Ypa=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)})},Zpa=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)},$pa=function(){return{color:"accent"}},aqa=function(a){a&1&&(H(0,"tr",0)(1,"td",2),T(2),K()());a&2&&(a=R(),A(1),If("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),Af("colspan",a.numCols),A(1),V(" ",a.label," "))},bqa=function(a){a&1&&(H(0,"td",2),T(1),K());a&
2&&(a=R(2),If("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),Af("colspan",a._firstRowOffset),A(1),V(" ",a._firstRowOffset>=a.labelMinRequiredCells?a.label:""," "))},cqa=function(a,b){if(a&1){var c=v();H(0,"td",5)(1,"button",6);Q("click",function(f){var h=x(c).$implicit,k=R(2);return z(k._cellClicked(h,f))})("focus",function(f){var h=x(c).$implicit,k=R(2);return z(k._emitActiveDateChange(h,f))});H(2,"span",7);T(3);K();L(4,"span",8);K()()}if(a&2){a=b.$implicit;b=b.$index;var d=R().$index,
e=R();If("width",e._cellWidth)("padding-top",e._cellPadding)("padding-bottom",e._cellPadding);Af("data-mat-row",d)("data-mat-col",b);A(1);Jf("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));
G("ngClass",a.cssClasses)("tabindex",e._isActiveCell(d,b)?0:-1);Af("aria-label",a.ariaLabel)("aria-disabled",!a.enabled||null)("aria-pressed",e._isSelected(a.compareValue))("aria-current",e.todayValue===a.compareValue?"date":null)("aria-describedby",e._getDescribedby(a.compareValue));A(1);Jf("mat-calendar-body-selected",e._isSelected(a.compareValue))("mat-calendar-body-comparison-identical",e._isComparisonIdentical(a.compareValue))("mat-calendar-body-today",e.todayValue===a.compareValue);A(1);V(" ",
a.displayValue," ")}},dqa=function(a,b){a&1&&(H(0,"tr",3),F(1,bqa,2,6,"td",4),Pf(2,cqa,5,48,"td",9,Of),K());if(a&2){a=b.$implicit;b=b.$index;var c=R();A(1);Nf(1,0===b&&c._firstRowOffset?1:-1);A(1);Qf(a)}},eqa=function(a){return"TD"===(null==a?void 0:a.nodeName)},fqa=function(a){if(eqa(a))var b=a;else if(eqa(a.parentNode))b=a.parentNode;else{var c;eqa(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},
gqa=function(a,b,c){return null!==c&&b!==c&&a<c&&a===b},hqa=function(a,b,c){return null!==b&&b!==c&&a>=b&&a===c},iqa=function(a,b,c,d){return d&&null!==b&&null!==c&&b!==c&&a>=b&&a<=c},jqa=function(a){a=a.changedTouches[0];return document.elementFromPoint(a.clientX,a.clientY)},kqa=function(a,b){a&1&&(H(0,"th",4)(1,"span",5),T(2),K(),H(3,"span",6),T(4),K()());a&2&&(a=b.$implicit,A(2),$f(a.long),A(2),$f(a.narrow))},mqa=function(a,b,c,d,e){b=a.getYear(b);c=a.getYear(c);a=lqa(a,d,e);return Math.floor((b-
a)/24)===Math.floor((c-a)/24)},Lh=function(a,b,c,d){return((a.getYear(b)-lqa(a,c,d))%24+24)%24},lqa=function(a,b,c){var d=0;c?d=a.getYear(c)-24+1:b&&(d=a.getYear(b));return d},nqa=function(){},oqa=function(a){if(a&1){var b=v();H(0,"mat-month-view",2);Q("activeDateChange",function(c){x(b);var d=R();return z(d.activeDate=c)})("_userSelection",function(c){x(b);var d=R();return z(d._dateSelected(c))})("dragStarted",function(c){x(b);var d=R();return z(d._dragStarted(c))})("dragEnded",function(c){x(b);
var d=R();return z(d._dragEnded(c))});K()}a&2&&(a=R(),G("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))},pqa=function(a){if(a&1){var b=v();H(0,"mat-year-view",3);Q("activeDateChange",function(c){x(b);var d=
R();return z(d.activeDate=c)})("monthSelected",function(c){x(b);var d=R();return z(d._monthSelectedInYearView(c))})("selectedChange",function(c){x(b);var d=R();return z(d._goToDateInView(c,"month"))});K()}a&2&&(a=R(),G("activeDate",a.activeDate)("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass))},qqa=function(a){if(a&1){var b=v();H(0,"mat-multi-year-view",4);Q("activeDateChange",function(c){x(b);var d=R();return z(d.activeDate=c)})("yearSelected",
function(c){x(b);var d=R();return z(d._yearSelectedInMultiYearView(c))})("selectedChange",function(c){x(b);var d=R();return z(d._goToDateInView(c,"year"))});K()}a&2&&(a=R(),G("activeDate",a.activeDate)("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass))},rqa=function(){},sqa=function(a){a&1&&(yd(),H(0,"svg",3),L(1,"path",4),K())},tqa=function(a){var b=function(){var c=a.apply(this,[].concat(u($c.apply(0,arguments))))||this;c._disableRipple=
!1;return c};Y(b,a);Gh.Object.defineProperties(b.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(c){this._disableRipple=Sg(c)}}});return b},uqa=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},vqa=function(a,b,c,d){return a<c?a:a+b>c+d?Math.max(0,a-d+b):c},wqa=function(a){a&1&&L(0,"mat-pseudo-checkbox",5);a&2&&(a=R(),G("state",a.selected?"checked":
"unchecked")("disabled",a.disabled))},xqa=function(a){a&1&&(H(0,"span",6),T(1),K());a&2&&(a=R(),A(1),V("(",a.group.label,")"))},yqa=function(){},zqa=function(a,b){for(var c=a.length;c--;)b(a[c])},Aqa=function(){},Bqa=function(a){return null==a?null:"number"===typeof a?a:a.endsWith("ms")?Vg(a.substring(0,a.length-2)):a.endsWith("s")?1E3*Vg(a.substring(0,a.length-1)):"0"===a?0:null},Cqa=function(){},Dqa=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},Eqa=function(a){a&1&&(M(0),H(1,"div",14),L(2,"div",15)(3,"div",16)(4,"div",17),K(),H(5,"div",18),L(6,"div",15)(7,"div",16)(8,"div",17),K(),N())},Fqa=function(a){if(a&1){var b=v();H(0,"div",19);Q("cdkObserveContent",function(){x(b);var c=R();return z(Mh(c))});Wf(1,1);K()}a&2&&(a=R(),G("cdkObserveContentDisabled","outline"!=a.appearance))},Gqa=function(a){a&1&&(M(0),Wf(1,2),H(2,"span"),T(3),K(),N());a&2&&(a=R(2),A(3),$f(a._control.placeholder))},
Hqa=function(a){a&1&&Wf(0,3,["*ngSwitchCase","true"])},Iqa=function(a){a&1&&(H(0,"span",23),T(1," *"),K())},Jqa=function(a){if(a&1){var b=v();H(0,"label",20,21);Q("cdkObserveContent",function(){x(b);var c=R();return z(Mh(c))});F(2,Gqa,4,1,"ng-container",12)(3,Hqa,1,0,"ng-content",12)(4,Iqa,2,0,"span",22);K()}a&2&&(a=R(),Jf("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),
G("cdkObserveContentDisabled","outline"!=a.appearance)("id",a._labelId)("ngSwitch",a._hasLabel()),Af("for",a._control.id)("aria-owns",a._control.id),A(2),G("ngSwitchCase",!1),A(1),G("ngSwitchCase",!0),A(1),G("ngIf",!a.hideRequiredMarker&&a._control.required&&!a._control.disabled))},Kqa=function(a){a&1&&(H(0,"div",24),Wf(1,4),K())},Lqa=function(a){a&1&&(H(0,"div",25),L(1,"span",26),K());a&2&&(a=R(),A(1),Jf("mat-accent","accent"==a.color)("mat-warn","warn"==a.color))},Mqa=function(a){a&1&&(H(0,"div"),
Wf(1,5),K());a&2&&(a=R(),G("@transitionMessages",a._subscriptAnimationState))},Nqa=function(a){a&1&&(H(0,"div",30),T(1),K());a&2&&(a=R(2),G("id",a._hintLabelId),A(1),$f(a.hintLabel))},Oqa=function(a){a&1&&(H(0,"div",27),F(1,Nqa,2,2,"div",28),Wf(2,6),L(3,"div",29),Wf(4,7),K());a&2&&(a=R(),G("@transitionMessages",a._subscriptAnimationState),A(1),G("ngIf",a.hintLabel))},Qqa=function(){if(void 0===Pqa&&(Pqa=null,"undefined"!==typeof window)){var a=window;void 0!==a.trustedTypes&&(Pqa=a.trustedTypes.createPolicy("angular#components",
{createHTML:function(b){return b}}))}return Pqa},Rqa=function(a){var b;return(null==(b=Qqa())?void 0:b.createHTML(a))||a},Sqa=function(){var a=Nc(Xg),b=a?a.location:null;return{getPathname:function(){return b?b.pathname+b.search:""}}},Nh=function(a){a&&"function"==typeof a.dispose&&a.dispose()},Tqa=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];za(d)?Tqa.apply(null,d):Nh(d)}},Uqa=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;
w=t=0}function b(y){for(var C=h,J=0;64>J;J+=4)C[J/4]=y[J]<<24|y[J+1]<<16|y[J+2]<<8|y[J+3];for(J=16;80>J;J++)y=C[J-3]^C[J-8]^C[J-14]^C[J-16],C[J]=(y<<1|y>>>31)&4294967295;y=e[0];var I=e[1],P=e[2],O=e[3],U=e[4];for(J=0;80>J;J++){if(40>J)if(20>J){var aa=O^I&(P^O);var na=1518500249}else aa=I^P^O,na=1859775393;else 60>J?(aa=I&P|O&(I|P),na=2400959708):(aa=I^P^O,na=3395469782);aa=((y<<5|y>>>27)&4294967295)+aa+U+na+C[J]&4294967295;U=O;O=P;P=(I<<30|I>>>2)&4294967295;I=y;y=aa}e[0]=e[0]+y&4294967295;e[1]=e[1]+
I&4294967295;e[2]=e[2]+P&4294967295;e[3]=e[3]+O&4294967295;e[4]=e[4]+U&4294967295}function c(y,C){if("string"===typeof y){y=unescape(encodeURIComponent(y));for(var J=[],I=0,P=y.length;I<P;++I)J.push(y.charCodeAt(I));y=J}C||(C=y.length);J=0;if(0==t)for(;J+64<C;)b(y.slice(J,J+64)),J+=64,w+=64;for(;J<C;)if(f[t++]=y[J++],w++,64==t)for(t=0,b(f);J+64<C;)b(y.slice(J,J+64)),J+=64,w+=64}function d(){var y=[],C=8*w;56>t?c(k,56-t):c(k,64-(t-56));for(var J=63;56<=J;J--)f[J]=C&255,C>>>=8;b(f);for(J=C=0;5>J;J++)for(var I=
24;0<=I;I-=8)y[C++]=e[J]>>I&255;return y}for(var e=[],f=[],h=[],k=[128],q=1;64>q;++q)k[q]=0;var t,w;a();return{reset:a,update:c,digest:d,digestString:function(){for(var y=d(),C="",J=0;J<y.length;J++)C+="0123456789ABCDEF".charAt(Math.floor(y[J]/16))+"0123456789ABCDEF".charAt(y[J]%16);return C}}},Vqa=function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}},Wqa=function(a){a&1&&(yd(),H(0,"svg",3),L(1,"polygon",4),K())},Xqa=function(a){a&
1&&(yd(),H(0,"svg",2),L(1,"polygon",3),K())},Yqa=function(a){if(a&1){var b=v();H(0,"div",0);Q("keydown",function(c){x(b);var d=R();return z(d._handleKeydown(c))})("click",function(){x(b);var c=R();return z(c.closed.emit("click"))})("@transformMenu.start",function(c){x(b);var d=R();return z(d._onAnimationStart(c))})("@transformMenu.done",function(c){x(b);var d=R();return z(d._onAnimationDone(c))});H(1,"div",1);Wf(2);K()()}a&2&&(a=R(),G("id",a.panelId)("ngClass",a._classList)("@transformMenu",a._panelAnimationState),
Af("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby||null)("aria-describedby",a.ariaDescribedby||null))},Oh=function(a,b){throw Error(void 0===b?"unexpected value "+a+"!":b);},ara=function(a){var b=Ph(a,"Content-Type");if(!b)return null;b=b.toLowerCase();if(b.startsWith("application/json"))return b.startsWith("application/json+protobuf")?new Zqa:new $qa;if(b.startsWith("application/x-protobuf")){a=Ph(a,"Content-Transfer-Encoding");if(!a)return new Qh;if("base64"==a.toLowerCase())return new Rh}return null},
bra=function(a){return"nonprod"===a.environment?"https://autopushcorp-devopsconsole-pa-googleapis.corp.google.com":"https://devopsconsole-pa-googleapis.corp.google.com"},cra=function(a){a=a.tagName;if("SCRIPT"===a||"STYLE"===a)throw Error("T");},dra=function(a,b){a.src=Sh(b).toString()},era=function(a,b,c){b=Ioa(b);void 0!==b&&a.open(b,c,void 0)},Th=function(a,b){a.src=Sh(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)},Uh=function(a){switch(a){case "P0":case "P1":case "P2":case "P3":case "P4":return a;default:return null}},fra=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}},gra=function(a){switch(a){case "S0":case "S1":case "S2":case "S3":case "S4":return a;
default:return null}},Vh=function(a){switch(a){case "BUG":return"Bug";case "FEATURE_REQUEST":return"Feature Request";case "CUSTOMER_ISSUE":return"Customer Issue";case "INTERNAL_CLEANUP":return"Internal Cleanup";case "PROCESS":return"Process";case "VULNERABILITY":return"Vulnerability";case "PRIVACY_ISSUE":return"Privacy Issue";case "PROJECT":return"Project";case "FEATURE":return"Feature";case "MILESTONE":return"Milestone";case "EPIC":return"Epic";case "STORY":return"Story";case "TASK":return"Task";
case "TYPE_UNSPECIFIED":return"";default:return""}},hra=function(a){return Wh({id:a.getId(),std_offset:Xh(a,3),names:Yh(a,2),transitions:Zh(a,4)||[]})},ira=function(a,b){return a.size!==b.size?!1:[].concat(u(a)).every(function(c){return b.has(c)})},jra=function(a){var b=new Set;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=l(c.value);for(var d=c.next();!d.done;d=c.next())b.add(d.value)}return b},kra=function(a,b){if(!ira(a,b)){var c=[].concat(u(b)).filter(function(e){return!a.has(e)}),d=[].concat(u(a)).filter(function(e){return!b.has(e)});
return{added:c,removed:d}}},lra=function(a,b){var c=a.size>b.size?a:b;return new Set([].concat(u(a===c?b:a)).filter(function(d){return c.has(d)}))},mra=function(a,b){return a.size>=b.size&&[].concat(u(b)).every(function(c){return a.has(c)})},$h=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(!$h(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?ira(a,b):!1;if(mc(a)||mc(b))return mc(a)&&mc(b)?a===b||a.toString()===b.toString():!1;if(a instanceof n||b instanceof n)return a instanceof n&&b instanceof n?(Ab=0,c=a==b||!(!a||!b)&&a instanceof b.constructor&&Wba(a,b),a&&b&&a.constructor===b.constructor&&!c&&0<Ab&&!nra++&&ib(),a=c):a=!1,a;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 f=c[e];if(!ora.call(b,f)||!$h(a[f],b[f]))return!1}return!0}return!1},pra=function(a){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=!1,e=l(b),f=e.next();!f.done;f=e.next())if($h(c,f.value)){d=!0;break}d||b.push(c)}return b},qra=function(a,b){for(var c=a.length-1;0<=c;c--)$h(a[c],b)&&a.splice(c,1)},rra=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 f=d[e];if(a[f]!==b[f]&&("object"!==typeof a[f]||"object"!==typeof b[f]))return!1}return!0},tra=function(a){return Object.assign.apply(Object,[{}].concat(u(sra.map(function(b){var c={};return c[b]=a[b],c}))))},ai=function(a){if(null!==a&&void 0!==a&&-1===["boolean","function","number","string"].indexOf(typeof a))if(Array.isArray(a)){var b=[];a=l(a);for(var c=
a.next();!c.done;c=a.next())b.push(ai(c.value));a=b}else if(a instanceof Date)a=new Date(a.getTime());else if(a instanceof Map){b=new Map;a=l(a);for(c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;b.set(ai(c),ai(d))}a=b}else if(!mc(a))if(a instanceof n)a=a.clone();else{b={};c=l(Object.entries(a));for(d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;b[d]=ai(e)}Object.setPrototypeOf(b,Object.getPrototypeOf(a));a=b}return a},ura=function(a){return"number"===
typeof a},bi=function(a){return"string"===typeof a},ci=function(a){return Array.isArray(a)&&a.every(bi)},vra=function(a){return Array.isArray(a)&&a.every(ura)},wra=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},di=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},gi=function(a){if(a){if(ura(a)){var b=new Date(a);47E3<b.getFullYear()&&(b=new Date(a/1E3));return new ei(b)}b=
a.split("/");if(3===b.length)return a=fi(b[2]),50>a?a+=2E3:100>a&&(a+=1900),new ei(a,fi(b[0])-1,fi(b[1]));if(1===b.length)return gi(Number(a))}return new ei},xra=function(a){return a.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"")},yra=function(a){return!(!a||!a.startsWith("text/")&&!a.startsWith("image/")&&"application/pdf"!==a)},zra=function(a,b){return a.map(function(c){return c[b]})},Ara=function(a,b){return a.filter(function(c){return!b.has(c)})},Bra=function(a,b){for(var c=l(a),d=c.next();!d.done;d=
c.next())if(!b.has(d.value))return!1;b=l(b);for(d=b.next();!d.done;d=b.next())if(!a.has(d.value))return!1;return!0},hi=function(a,b){return Ara(a,new Set(b))},Cra=function(a,b){var c=/[,;]/;(void 0===b||b)&&(c=/[\s,;]/);return a.split(c).map(ii).filter(function(d){return!!d})},Dra=function(a,b){a=new URL(a);return a.host+a.pathname+b},ji=function(a){return void 0!==a.user},ki=function(a){return void 0!==a.group},Era=function(a){switch(a){case "public_non_google":return"Public (non-google.com)";case "googlers_unrestricted":return"Full-time Googlers";
default:return li(a.replace(/_/g," ").toLowerCase())}},Fra=function(a){if(!a)return!1;a=a.userGaiaStatus;return!a||"ACTIVE"===a||"UNSPECIFIED"===a},ni=function(a){return a?a.map(mi):[]},oi=function(a){a=ni(a);a.sort();return a},mi=function(a){return a&&a.getUserGaiaStatus?Gra(pi(a)):Gra(a)},Gra=function(a){return a?"DELETED"===a.userGaiaStatus?"[Deleted User]":"UNAVAILABLE"===a.userGaiaStatus?"[Unavailable User]":Fra(a)?Hra(a)||"[No Data]":"[No Data]":""},qi=function(a){return a&&a.getUserGaiaStatus?
Hra(pi(a)):Hra(a)},Hra=function(a){if(a)return a.emailAddress||a.obfuscatedEmailAddress||""},pi=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=Ira[c];(c=a.getAliasesList())&&0<c.length&&(b.aliases=c);return b}},Jra=function(a){if(!a)return null;var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next())(c=pi(c.value))&&b.push(c);return b},si=function(a){var b=a.emailAddress,
c=a.obfuscatedEmailAddress,d=a.aliases;a=a.userGaiaStatus;var e=new ri;b&&e.setEmailAddress(b);c&&e.setObfuscatedEmailAddress(c);d&&e.setAliasesList(d);a&&e.setUserGaiaStatus(Kra[a]);return e},ti=function(a){return a?{emailAddress:a.trim(),userGaiaStatus:"ACTIVE"}:null},Lra=function(a){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next())b.push(ti(c.value));return b},Nra=function(a){var b=a.getTrackerId(),c=a.getName(),d=a.getComponentId(),e=ui(a,4);var f=vi(a,wi,5);f=null!=f?{logoUrl:f.getLogoUrl(),
cocUrl:xi(f,3),theme:Mra[f.getTheme()]}:void 0;return{trackerId:b,name:c,componentId:d,associatedTrackerIds:e,branding:null!=f?f:null,internalBaseUrl:yi(a,6)?xi(a,6):void 0,externalBaseUrl:yi(a,7)?xi(a,7):void 0,collaboratorGroups:0<zi(a,ri,8).length?Jra(zi(a,ri,8)):void 0}},Ora=function(a){var b;return(null!=(b=a.getTrackersList())?b:[]).map(Nra)},Pra=function(a){return{trackers:a.getTrackersList().map(Nra),nextPageToken:a.getNextPageToken(),totalSize:a.getTotalSize()}},Ai=function(a){if(null==a)return"UNSPECIFIED_FORMATTING_MODE";
switch(Qra[a]){case 2:return"MARKDOWN";case 1:return"PLAIN";case 3:return"LITERAL";default:return"UNSPECIFIED_FORMATTING_MODE"}},Ci=function(a){"duplicateOfIssueId"===a&&(a="canonicalIssueId");var b=Number(a);isNaN(b)?a=new Bi({type:String(a).replace(/([A-Z])/g,"_$1").toUpperCase()}):0===b?a=null:(a={customFieldId:b},a=new Bi({type:"CUSTOM_FIELD",customFieldId:a.customFieldId,customFieldName:a.name}));return a},Rra=function(a){a=Di(a);if(Ei(a))return null;var b=a.split(":");if(2!==b.length||Ei(b[1]))return null;
a="asc"===b[1].toLowerCase()?"ASCENDING":"DESCENDING";return(b=Ci(b[0]))&&a?new Fi(b,a):null},fsa=function(a){var b={};Gi(a,1)&&(b.showFullHistory=Hi(a,1));Gi(a,2)&&(b.useCodefont=Hi(a,2));Ii(a,5)&&(b.resultsPerPage=Xh(a,5));Gi(a,26)&&(b.showRecentEventsFirst=Hi(a,26));var c=a.getDisplayColumns();c&&(b.displayColumns={column:c.getColumnList().map(Sra)});if(c=a.getSortColumns())b.sortColumns={column:c.getColumnList().map(Tra)};yi(a,7)&&(b.bannerMessageId=xi(a,7));if(c=vi(a,Ura,3)){var d={};Ji(c,1)&&
(d.reportedPriority=Ki[Li(c,1,0)]);Ji(c,2)&&(d.assignedPriority=Ki[Li(c,2,0)]);Ji(c,3)&&(d.verifiedPriority=Ki[Li(c,3,0)]);Ji(c,4)&&(d.ccdPriority=Ki[Li(c,4,0)]);Ji(c,9)&&(d.collaboratorPriority=Ki[Li(c,9,0)]);Ji(c,5)&&(d.starredPriority=Ki[Li(c,5,0)]);Gi(c,6)&&(d.excludeChangesByMe=Hi(c,6));Gi(c,7)&&(d.unsubscribeFromAll=Hi(c,7));Gi(c,8)&&(d.enableV2Prefs=Hi(c,8));b.notificationPreferences=d}if(d=vi(a,Vra,9)){c={showHotlists:Hi(d,1),showStatusIcons:Hi(d,4),wrapComponents:Hi(d,3),wrapTitles:Hi(d,
2),rtlComponentPath:Hi(d,5)};var e=Lb(d,6,wb);c.fieldStatus=Object.fromEntries(e.entries());d=Lb(d,7,wb);c.modeForField=Object.fromEntries(d.entries());b.listViewPreferences=c}if(c=a.getLayoutPreferences())d={},Ii(c,1)&&(d.leftSidebarWidth=Xh(c,1)),Gi(c,2)&&(d.expandIssueSlo=Hi(c,2)),Ii(c,3)&&(d.rightSidebarWidth=Xh(c,3)),b.layoutPreferences=d;if(c=a.getDateTimePreferences())d={},yi(c,1)&&(d.calendarFormat=xi(c,1)),yi(c,2)&&(d.timeFormat=xi(c,2)),c.hasTimeZone()&&(d.timeZone=c.getTimeZone()),Ji(c,
7)&&(d.sloEtaViewAs=Wra[Li(c,7,0)]),b.dateTimePreferences=d;if(c=vi(a,Mi,8))d={},Ji(c,1)&&(d.density=Xra[c.getDensity()]),b.themePreferences=d;if(c=a.getHomepagePreferences())d={},c.hasResourceType()&&(d.resourceType=Yra(c.getResourceType())),c.hasResourceId()&&(d.resourceId=c.getResourceId()),b.homepagePreferences=d;if(c=vi(a,Zra,17))d={},Gi(c,1)&&(d.enableAllHotkeys=Hi(c,1,!0)),b.keyboardPreferences=d;null!=Ni(a,16)&&(b.newFeaturesAcknowledgedMillis=Oi(a,16));Gi(a,18)&&(b.autoCcOnComment=Hi(a,18));
Pi(a,Qi,20)&&(d=vi(a,Qi,20),c=Li(d,2,0),d=Li(d,1,0),b.textDisplayPreferences={commentDisplayOverride:$ra(c),lastPublishMode:$ra(d)});Pi(a,Ri,21)&&(c=vi(a,Ri,21),d={},Gi(c,2)&&(d.announcementDismissed=Hi(c,2)),Gi(c,1)&&(d.enableBugScreensaver=Hi(c,1)),b.bugScreensaverPreferences=d);Pi(a,Si,24)&&(c=vi(a,Si,24),d={},Ti(c,1)&&(d.announcementDismissedMillis=Ui(c,1)),b.g3nPreferences=d);if(c=vi(a,Vi,23))b.teamWarningPreferences={componentTeamWarnings:zi(c,Wi,1).map(asa)};c=Mb(a,25,Xi,wb);c.size&&(b.dismissalTimestamps=
bsa(c));c=a.getCollapsedMap();c.size&&(b.collapsed=Object.fromEntries(c.entries()));Gi(a,29)&&(b.showInlineImages=a.getShowInlineImages());Pi(a,Yi,28)&&(c=vi(a,Yi,28),d={},Ji(c,1)&&(d.commentFilter=csa(Li(c,1,0))),b.commentFilterPreferences=d);Pi(a,Zi,30)&&(b.needsAttentionPreferences=dsa(vi(a,Zi,30)));if(a=vi(a,$i,31))b.missionControlPreferences=esa(a);return b},Sra=function(a){var b={};a.hasType()&&(b.type=gsa[a.getType()]);a.hasCustomFieldId()&&(b.customFieldId=a.getCustomFieldId());return b},
Tra=function(a){var b={};if(Ji(a,2)){a:{var c=Li(a,2,1);switch(c){case 1:c="ASCENDING";break a;case 2:c="DESCENDING";break a;default:c=Oh(c,"Unknown sortOrder: "+c)}}b.order=c}if(a=a.getColumn())b.column=Sra(a);return b},$ra=function(a){if(0!==a)return Qra[a]},Yra=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"MISSION_CONTROL";case 6:return"ASSIGNED_TO_ME";default:return Oh(a,"Unknown resourceType: "+
a)}},asa=function(a){var b={};a.hasComponentId()&&(b.componentId=a.getComponentId());Ti(a,2)&&(b.dismissMillis=Ui(a,2));return b},bsa=function(a){a=Array.from(a.entries()).map(function(b){var c=l(b);b=c.next().value;c=c.next().value;return[b,c.toDate()]});return Object.fromEntries(a)},csa=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 Oh(a,"Unknown resourceType: "+a)}},dsa=function(a){var b={};
b.selectedSignals=aj(a,1).map(function(c){return hsa[c]});return b},esa=function(a){var b=Ii(a,3)?Xh(a,3):void 0,c=Ii(a,6)?Xh(a,6):void 0,d=Ii(a,5)?Xh(a,5):void 0,e=Ii(a,4)?Xh(a,4):void 0,f=Gi(a,10)?Hi(a,10):void 0,h=Gi(a,11)?Hi(a,11):void 0,k=Gi(a,12)?Hi(a,12):void 0,q=aj(a,7).map(function(w){return isa[w]}),t=aj(a,8).map(function(w){return isa[w]});b={workAreaUrls:Yh(a,1),myTasksTab:b,myTasksDaysOld:c,needsAttentionDaysOld:d,workAreaTab:e,needsAttentionSources:q,myTasksSources:t,hideBadgeInNav:f,
isNeedsAttentionSourcesConfigured:h,isMyTasksSourcesConfigured:k};c=Lb(a,9,Pba);c.size&&(b.workAreaQuickFilters=jsa(c));a=a.getCollapsedMap();a.size&&(b.collapsed=Object.fromEntries(a.entries()));return b},jsa=function(a){var b={};a=l(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;b[c]=ksa[d]}return b},xsa=function(a){var b=new bj;null!=a.showFullHistory&&cj(b,1,a.showFullHistory);null!=a.useCodefont&&cj(b,2,a.useCodefont);null!=a.resultsPerPage&&
dj(b,5,a.resultsPerPage);null!=a.displayColumns&&b.setDisplayColumns(lsa(a.displayColumns));if(null!=a.sortColumns){var c=msa(a.sortColumns);ej(b,fj,6,c)}null!=a.bannerMessageId&&gj(b,7,a.bannerMessageId);if(null!=a.notificationPreferences){c=a.notificationPreferences;var d=new Ura;d=hj(d,1,ij[c.reportedPriority]);d=hj(d,2,ij[c.assignedPriority]);d=hj(d,3,ij[c.verifiedPriority]);d=hj(d,4,ij[c.ccdPriority]);d=hj(d,9,ij[c.collaboratorPriority]);d=hj(d,5,ij[c.starredPriority]);d=cj(d,6,c.excludeChangesByMe);
d=cj(d,7,c.unsubscribeFromAll);c=cj(d,8,c.unsubscribeFromAll);ej(b,Ura,3,c)}null!=a.listViewPreferences&&(c=a.listViewPreferences,d=new Vra,d=cj(d,1,c.showHotlists),d=cj(d,2,c.wrapTitles),d=cj(d,3,c.wrapComponents),d=cj(d,4,c.showStatusIcons),d=cj(d,5,c.rtlComponentPath),null!=c.fieldStatus&&jj(c.fieldStatus,Lb(d,6,wb)),null!=c.modeForField&&jj(c.modeForField,Lb(d,7,wb)),ej(b,Vra,9,d));null!=a.layoutPreferences&&(c=a.layoutPreferences,d=new nsa,null!=c.leftSidebarWidth&&dj(d,1,c.leftSidebarWidth),
null!=c.expandIssueSlo&&cj(d,2,c.expandIssueSlo),null!=c.rightSidebarWidth&&dj(d,3,c.rightSidebarWidth),ej(b,nsa,10,d));null!=a.dateTimePreferences&&(c=a.dateTimePreferences,d=new kj,d=gj(d,1,c.calendarFormat),d=gj(d,2,c.timeFormat).setTimeZone(c.timeZone),c=hj(d,7,osa[c.sloEtaViewAs]),ej(b,kj,11,c));null!=a.themePreferences&&(c=a.themePreferences,c=(new Mi).setDensity(psa[c.density]),ej(b,Mi,8,c));null!=a.homepagePreferences&&(c=a.homepagePreferences,d=new lj,null!=c.resourceType&&d.setResourceType(qsa(c.resourceType)),
null!=c.resourceId&&d.setResourceId(c.resourceId),ej(b,lj,13,d));null!=a.keyboardPreferences&&(c=a.keyboardPreferences,d=new Zra,c=cj(d,1,c.enableAllHotkeys),ej(b,Zra,17,c));null!=a.newFeaturesAcknowledgedMillis&&mj(b,16,a.newFeaturesAcknowledgedMillis);null!=a.autoCcOnComment&&cj(b,18,a.autoCcOnComment);null!=a.textDisplayPreferences&&(c=a.textDisplayPreferences,d=new Qi,c.commentDisplayOverride&&hj(d,2,rsa(c.commentDisplayOverride)),c.lastPublishMode&&hj(d,1,rsa(c.lastPublishMode)),ej(b,Qi,20,d));
null!=a.bugScreensaverPreferences&&(c=a.bugScreensaverPreferences,d=new Ri,null!=c.enableBugScreensaver&&cj(d,1,c.enableBugScreensaver),null!=c.announcementDismissed&&cj(d,2,c.announcementDismissed),ej(b,Ri,21,d));null!=a.g3nPreferences&&(c=a.g3nPreferences,d=new Si,null!=c.announcementDismissedMillis&&nj(d,1,c.announcementDismissedMillis),ej(b,Si,24,d));null!=a.teamWarningPreferences&&(c=ssa(a.teamWarningPreferences),ej(b,Vi,23,c));if(null!=a.dismissalTimestamps){c=Mb(b,25,Xi,wb);d=l(Object.entries(a.dismissalTimestamps));
for(var e=d.next();!e.done;e=d.next()){var f=l(e.value);e=f.next().value;var h=f.next().value;f=c;var k=f.set,q=new Xi,t=q;h=h.getTime();Number.isFinite(h)||(h=0);t.setSeconds(Math.trunc(h/1E3)).setNanos(Math.trunc(h%1E3*1E6));k.call(f,e,q)}}null!=a.collapsed&&jj(a.collapsed,b.getCollapsedMap());null!=a.showRecentEventsFirst&&cj(b,26,a.showRecentEventsFirst);null!=a.showInlineImages&&cj(b,29,a.showInlineImages);null!=a.commentFilterPreferences&&(d=a.commentFilterPreferences,c=new Yi,null!=d.commentFilter&&
(d=tsa(d.commentFilter),hj(c,1,d)),ej(b,Yi,28,c));null!=a.needsAttentionPreferences&&(d=a.needsAttentionPreferences,c=new Zi,d.selectedSignals&&(d=d.selectedSignals.map(usa),oj(c,1,d)),ej(b,Zi,30,c));if(null!=a.missionControlPreferences){a=a.missionControlPreferences;c=new $i;a.workAreaUrls&&pj(c,1,a.workAreaUrls);a.collapsed&&jj(a.collapsed,c.getCollapsedMap());if(a.workAreaQuickFilters){d=a.workAreaQuickFilters;e={};f=l(Object.keys(d));for(k=f.next();!k.done;k=f.next())k=k.value,e[k]=vsa[d[k]];
jj(e,Lb(c,9,Pba))}null!=a.myTasksTab&&dj(c,3,a.myTasksTab);null!=a.workAreaTab&&dj(c,4,a.workAreaTab);null!=a.myTasksDaysOld&&dj(c,6,a.myTasksDaysOld);null!=a.needsAttentionDaysOld&&dj(c,5,a.needsAttentionDaysOld);a.needsAttentionSources&&(d=a.needsAttentionSources.map(wsa),oj(c,7,d));a.myTasksSources&&(d=a.myTasksSources.map(wsa),oj(c,8,d));null!=a.hideBadgeInNav&&cj(c,10,!!a.hideBadgeInNav);null!=a.isNeedsAttentionSourcesConfigured&&cj(c,11,!!a.isNeedsAttentionSourcesConfigured);null!=a.isMyTasksSourcesConfigured&&
cj(c,12,!!a.isMyTasksSourcesConfigured);ej(b,$i,31,c)}return b},lsa=function(a){return(new qj).setColumnList(a.column.map(function(b){return ysa(b)}))},ysa=function(a){var b=new rj,c=b.setType,d=a.type;if(!sj.hasOwnProperty(d))throw Error("Pb`"+d);b=c.call(b,zsa[d]);null!=a.customFieldId&&b.setCustomFieldId(a.customFieldId);return b},msa=function(a){return(new fj).setColumnList(a.column.map(function(b){var c=(new tj).setColumn(ysa(b.column));a:switch(b=b.order,b){case "ASCENDING":b=1;break a;case "DESCENDING":b=
2;break a;default:b=Oh(b,"Unknown sortOrder: "+b)}return hj(c,2,b)}))},qsa=function(a){switch(a){case "HOTLIST":return 1;case "SAVED_SEARCH":return 2;case "BOOKMARK_GROUP":return 3;case "NEEDS_ATTENTION":return 4;case "MISSION_CONTROL":return 5;case "ASSIGNED_TO_ME":return 6;default:return Oh(a,"Unknown resourceType: "+a)}},rsa=function(a){switch(Qra[a]){case 2:return 2;case 1:return 1;case 3:return 3;default:return 0}},ssa=function(a){var b=new Vi;null!=a.componentTeamWarnings&&Asa(b,a.componentTeamWarnings.map(function(c){var d=
new Wi;c.componentId&&d.setComponentId(c.componentId);c.dismissMillis&&nj(d,2,c.dismissMillis);return d}));return b},tsa=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 Oh(a,"Unknown commentFilterType: "+a)}},usa=function(a){return Bsa[a]},wsa=function(a){return Csa[a]},jj=function(a,b){a=l(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;
b.set(c,d)}},vj=function(a){a=dh(a).toString();var b=new uj;gj(b,2,a);return b},xj=function(a){if(!a)return null;a=wj(a,2);return null===a||void 0===a?null:bh(a)},Aj=function(a){return function(){var b=zj.getItem(a);return null==b?!1:!!JSON.parse(b)}},Dsa=function(a){return function(b){!0===b?zj.setItem(a,"1"):zj.removeItem(a)}},Esa=function(a){return a&&"object"===typeof a&&"overrideUntilDate"in a&&"flagName"in a&&"value"in a?!0:!1},Fsa=function(a){return{overrides:a.overrides.filter(function(b){return b.overrideUntilDate?
Date.parse(b.overrideUntilDate)>Date.now():!0})}},Gsa=function(){console.warn("Local flag overrides only apply to the client runtime (TypeScript), and do not have an effect on any flag values on the Front End server or API.")},Ksa=function(){if(Hsa("flag-overrides")()){var a=Isa("flag-overrides")();if(a&&"object"===typeof a&&"overrides"in a&&Array.isArray(a.overrides)&&a.overrides.every(Esa))return Fsa(a);Jsa();console.warn("Could not parse flag overrides.")}},Jsa=function(){Bj("flag-overrides")()},
Lsa=function(a,b){var c=new Date(Date.now()+864E5);c=void 0===c?null:c;Gsa();var d,e=(null==(d=Ksa())?void 0:d.overrides)||[];Bj("flag-overrides")({overrides:[].concat(u(e.filter(function(f){return f.flagName!==a})),[{flagName:a,value:b,overrideUntilDate:c}])})},Msa=function(a,b){Lsa(a,b)},Nsa=function(a){Gsa();var b,c=(null==(b=Ksa())?void 0:b.overrides)||[];Bj("flag-overrides")({overrides:c.filter(function(d){return d.flagName!==a})})},Qsa=function(){null==Cj&&(Cj=new Osa(Psa.buganizerSessionJspb));
if(!Pi(Cj,Dj,2)){var a=Cj,b=new Dj;ej(a,Dj,2,b)}Pi(Cj,Ej,9)||(a=Cj,b=new Ej,ej(a,Ej,9,b));Cj.hasUser()||Cj.setUser(new Fj);Pi(Cj,bj,7)||(a=Cj,b=new bj,ej(a,bj,7,b));return Cj},Kj=function(){if(null==Rsa){var a=Qsa();var b=a.hasUser()?a.getUser():new Fj;b=Hi(b,4)?{anonymous:!0,email:null,userTypeLabel:"ANONYMOUS",sessionIdentifier:""}:{anonymous:!1,email:b.getEmail(),userTypeLabel:b.getUserTypeLabel(),sessionIdentifier:b.getSessionIdentifier()};var c=Pi(a,Dj,2)?a.getConfig():new Dj;for(var d=new Map,
e=l(Lb(c,4,Mba).entries()),f=e.next();!f.done;f=e.next()){var h=l(f.value);f=h.next().value;h=h.next().value;d.set(f,h)}c={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:ui(c,10),isDogfooder:Hi(c,11),createRestrictedSubresourcesComponentIds:Gj(c,13),indefiniteRetentionComponentsAllowlist:Gj(c,20),similarIssuesComponentsAllowlist:Gj(c,21)};d=fsa(Pi(a,bj,7)?a.getUserPreferences():new bj);f=Pi(a,Ej,9)?vi(a,Ej,9):new Ej;e=zi(f,Hj,1).map(hra);Pi(f,Ij,2)?(f=f.getAnnouncement(),f={message:f.getMessage(),messageId:xi(f,2),dismissible:Hi(f,3),tags:f.getTagsList()}):f=null;e={timezones:e,announcement:f};f=a.getXsrfToken();h=a.getCspNonce();
var k=a.getFrontendAccessMode(),q=a.getMustAcknowledgeTerms(),t=a.getShowNewFeaturesDialog(),w=a.getAppBaseHref(),y=Pi(a,Jj,11)?Nra(a.getTracker()):null;Pi(a,Ssa,12)?(a=a.getPassiveLoginIframeUrl())?(a=wj(a,4),a=null===a||void 0===a?null:gh(a)):a=null:a=null;b=Rsa={user:b,config:c,xsrfToken:f,cspNonce:h,frontendAccessMode:k,mustAcknowledgeTerms:q,showNewFeaturesDialog:t,userPreferences:d,preload:e,appBaseHref:w,tracker:y,passiveLoginIframeUrl:a};if(a=Ksa()){c=l(a.overrides);for(d=c.next();!d.done;d=
c.next())d=d.value,b.config.enabledFlags.set(d.flagName,d.value);console.warn("Active flag overrides:");console.table(a.overrides);Gsa()}}return Rsa},Tsa=function(a){return a.frontendAccessMode||"INTERNAL"},Usa=function(a){a&1&&(H(0,"button",16)(1,"span"),T(2,"Edit"),K(),L(3,"b-icon",17),K());if(a&2){a=R();var b=S(7);G("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},Vsa=function(a){a&1&&(H(0,"button",16)(1,"span"),T(2,"Link"),K(),L(3,"b-icon",17),K());if(a&2){a=R();var b=S(69);G("disabled",a.isAnonymous)("matMenuTriggerFor",
b)}},Wsa=function(a){a&1&&(H(0,"button",16)(1,"span"),T(2,"CC"),K(),L(3,"b-icon",17),K());if(a&2){a=R();var b=S(85);G("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},Xsa=function(a){if(a&1){var b=v();H(0,"button",3);Q("click",function(){x(b);var c=R();return z(c.bulkEdit("ESTIMATED_EFFORT"))});T(1,"Estimated Effort");K()}},Ysa=function(a,b){if(a&1){var c=v();H(0,"button",3);Q("click",function(){var d=x(c).$implicit,e=R();return z(e.quickBulkEdit("PRIORITY",d))});T(1);K()}a&2&&(a=b.$implicit,A(1),
V(" ",a," "))},Zsa=function(a,b){if(a&1){var c=v();H(0,"button",3);Q("click",function(){var d=x(c).$implicit,e=R();return z(e.quickBulkEdit("SEVERITY",d))});T(1);K()}a&2&&(a=b.$implicit,A(1),V(" ",a," "))},$sa=function(a,b){if(a&1){var c=v();H(0,"button",3);Q("click",function(){var d=x(c).$implicit,e=R();return z(e.quickBulkEdit("STATUS",d))});T(1);K()}a&2&&(a=b.$implicit,b=R(),A(1),V(" ",b.STATUS_JS_FULL_TEXT[a]," "))},ata=function(a,b){if(a&1){var c=v();H(0,"button",18);Q("click",function(){var e=
x(c).$implicit,f=R();return z(f.quickBulkEdit("TYPE",e))});T(1);K()}if(a&2){a=b.$implicit;b=R();var d;G("matTooltip",null!==(d=b.constants.issueTypesShortDescriptions.get(a))&&void 0!==d?d:"");A(1);V(" ",b.constants.issueTypesDisplayNames.get(a)," ")}},bta=function(a){if(a&1){var b=v();H(0,"button",5);Q("click",function(){x(b);var c=R(2);return z(c.exportCsvClicked.emit())});T(1,"Export issues to CSV ");K()}},cta=function(a){if(a&1){var b=v();H(0,"button",5);Q("click",function(){x(b);var c=R(2);return z(c.flagAsSpamClicked.emit())});
T(1,"Flag issues as spam ");K()}},dta=function(a){a&1&&(M(0),H(1,"button",1)(2,"span"),T(3,"More"),K(),L(4,"b-icon",2),K(),H(5,"mat-menu",null,3),F(7,bta,2,0,"button",4)(8,cta,2,0,"button",4),K(),N());if(a&2){var b=S(6);a=R();A(1);G("disabled",a.isAnonymous)("matMenuTriggerFor",b);A(6);G("ngIf",a.showExportCsv);A(1);G("ngIf",a.showFlagIssuesAsSpam)}},eta=function(a){a&1&&(M(0),T(1," Network connection has been interrupted. "),N())},fta=function(a){a&1&&T(0," Network connection has been interrupted or login credentials may have expired. ")},
ita=function(a){if(a&1){var b=v();H(0,"button",5);Q("click",function(c){x(b);R(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=Nda("undefined"!=typeof"/refreshSso".href?"/refreshSso".href:"/refreshSso")||Oda;var f=void 0!==self.crossOriginIsolated,h="strict-origin-when-cross-origin";window.Request&&(h=(new Request("/")).referrerPolicy);var k="unsafe-url"===h;h=d.noreferrer;
if(f&&h){if(k)throw Error("Qb");h=!1}f=d.target||"/refreshSso".target;k=[];for(var q in d)switch(q){case "width":case "height":case "top":case "left":k.push(q+"="+d[q]);break;case "target":case "noopener":case "noreferrer":break;default:k.push(q+"="+(d[q]?1:0))}q=k.join(",");pa()&&c.navigator&&c.navigator.standalone&&f&&"_self"!=f?(d=Lj(document,"A"),e=e instanceof hc?e:gta(e),d.href=ic(e),d.target=f,h&&(d.rel="noreferrer"),e=document.createEvent("MouseEvent"),e.initMouseEvent("click",!0,!0,c,1),
d.dispatchEvent(e)):h?(c=hta("",c,f,q),e=ic(e),c&&(Mj&&ka(e,";")&&(e="'"+e.replace(/'/g,"%27")+"'"),c.opener=null,""===e&&(e="javascript:''"),e=bh('<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+Nj(e)+'">'),(c=c.document)&&c.write&&(c.write(dh(e)),c.close()))):((c=hta(e,c,f,q))&&d.noopener&&(c.opener=null),c&&d.noreferrer&&(c.opener=null));return z()});T(1," Log in again ");K()}},jta=function(a){a&1&&(H(0,"b-callout",1)(1,"b-callout-body"),F(2,eta,2,0,"ng-container",
2)(3,fta,1,0,"ng-template",null,3,tg),K(),H(5,"b-callout-actions"),F(6,ita,2,0,"button",4),K()());if(a&2){var b=S(4);a=R();G("messageType","error");A(2);G("ngIf",a.isAnonymous)("ngIfElse",b);A(4);G("ngIf",!a.isAnonymous)}},Oj=function(){return new kta},ota=function(a){var b={};a=Mb(a,1,lta,wb);a=l(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;b[c]={principalType:mta[Li(d,1,0)],detailedUserType:nta[Li(d,2,0)]}}return b},pta=function(a,b){return a.map(function(c){return b[c]||
null})},qta=function(a){return a},Qj=function(a){return Pj(a,qta)},Pj=function(a,b){var c={};return a.filter(function(d){d=String(b(d));return c[d]?!1:c[d]=!0})},rta=function(a){return function(b){return Pj(b,a)}},sta=function(a,b){var c=void 0===a?[]:a;a=void 0===b?[]:b;if(0===c.length)return a;b=a.filter(function(d){return 0>c.indexOf(d)});return b.length===a.length?a:b},tta=function(a,b){if(a.length!==b.length)return!1;a=[].concat(u(a)).sort();b=[].concat(u(b)).sort();return a.every(function(c,
d){return c===b[d]})},uta=function(a,b){if(0===a.length)return b;b=b.slice();b=sta(a,b);return[].concat(u(a),u(b))},vta=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)})}},wta=function(a,b){var c=new Map;a=l(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=b(d),f=void 0,h=null!=(f=c.get(e))?f:[];h.push(d);c.set(e,h)}return[].concat(u(c.values()))},xta=function(a){for(var b=[],c=0;c<a.length;c+=100){var d=
a.slice(c,c+100);b.push(d)}return b},yta=function(a){var b=3;b=void 0===b?3:b;if(0===a.length)return a;var c=a.slice(0,2*b),d=[].concat(u(c));if(!(1>=c.length))for(c=d.length-1;0<c;--c){var e=Math.floor(Math.random()*(c+1)),f=d[c];d[c]=d[e];d[e]=f}b=d.slice(0,b);a=a[0];b.includes(a)||(b.pop(),b.unshift(a));return b},zta=function(){return{principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}},Ata=function(a){a&1&&(H(0,"a",1),T(1," Hiring!\n"),K())},Bta=function(a){return a instanceof Rj?a:
new Rj(a,{})},Sj=function(a){a=Bta(a);return new Rj(a.char,Object.assign({},a.modifiers,{shift:!0}))},Cta=function(a){a=Bta(a);return new Rj(a.char,Object.assign({},a.modifiers,{ctrl:!0}))},Dta=function(){var a=Sj("f");a=Bta(a);return new Rj(a.char,Object.assign({},a.modifiers,{alt:!0}))},Fta=function(a){if(a instanceof Rj){var b=Eta(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(Fta).join(" "):Eta(a)},
Tj=function(){return $c.apply(0,arguments)},Eta=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 Oh(a)}},Gta=function(){for(var a={},b=l(Object.entries(Uj)),c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;1<d&&(a[c]=d)}return a},Hta=function(a,b){return a+b},Ita=function(){var a=Object.values(Uj),b=a.map(function(c){return c-1}).reduce(Hta,0);a=a.reduce(Hta,0);return{total:a,redundant:b,redundancyRatio:Math.round(b/a*100)/
100}},Jta=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],f=a[c];if(e.startsWith(":"))b[e.substring(1)]=f;else if(e!==f.path)return null}return{consumed:a.slice(0,d.length),posParams:b}},Vj=function(a,b){var c=a?Kta(a):void 0,d=b?Kta(b):void 0;if(!c||!d||c.length!=d.length)return!1;for(var e=0;e<c.length;e++)if(d=c[e],!Lta(a[d],b[d]))return!1;return!0},Kta=function(a){return[].concat(u(Object.keys(a)),
u(Object.getOwnPropertySymbols(a)))},Lta=function(a,b){if(Array.isArray(a)&&Array.isArray(b)){if(a.length!==b.length)return!1;a=[].concat(u(a)).sort();var c=[].concat(u(b)).sort();return a.every(function(d,e){return c[e]===d})}return a===b},Wj=function(a){return(0,E.isObservable)(a)?a:mf(a)?(0,E.from)(Promise.resolve(a)):(0,E.of)(a)},Ota=function(a,b,c){return Mta[c.paths](a.root,b.root,c.matrixParams)&&Nta[c.queryParams](a.queryParams,b.queryParams)&&!("exact"===c.fragment&&a.fragment!==b.fragment)},
Pta=function(a,b){return Vj(a,b)},Rta=function(a,b,c){if(!Xj(a.segments,b.segments)||!Qta(a.segments,b.segments,c)||a.numberOfChildren!==b.numberOfChildren)return!1;for(var d in b.children)if(!a.children[d]||!Rta(a.children[d],b.children[d],c))return!1;return!0},Sta=function(a,b){return Object.keys(b).length<=Object.keys(a).length&&Object.keys(b).every(function(c){return Lta(a[c],b[c])})},Uta=function(a,b,c){return Tta(a,b,b.segments,c)},Tta=function(a,b,c,d){if(a.segments.length>c.length)return a=
a.segments.slice(0,c.length),Xj(a,c)&&!b.hasChildren()&&Qta(a,c,d)?!0:!1;if(a.segments.length===c.length){if(!Xj(a.segments,c)||!Qta(a.segments,c,d))return!1;for(var e in b.children)if(!a.children[e]||!Uta(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 Xj(a.segments,e)&&Qta(a.segments,e,d)&&a.children.primary?Tta(a.children.primary,b,c,d):!1},Qta=function(a,b,c){return b.every(function(d,e){return Nta[c](a[e].parameters,d.parameters)})},
Vta=function(a,b){return Xj(a,b)&&a.every(function(c,d){return Vj(c.parameters,b[d].parameters)})},Xj=function(a,b){return a.length!==b.length?!1:a.every(function(c,d){return c.path===b[d].path})},Wta=function(a,b){var c=[];Object.entries(a.children).forEach(function(d){var e=l(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=l(d);d=e.next().value;e=e.next().value;"primary"!==d&&(c=c.concat(b(e,d)))});return c},Zta=function(a){return a.segments.map(function(b){return Xta(b.path)+
Yta(b.parameters)}).join("/")},Yj=function(a,b){if(!a.hasChildren())return Zta(a);if(b){b=a.children.primary?Yj(a.children.primary,!1):"";var c=[];Object.entries(a.children).forEach(function(d){var e=l(d);d=e.next().value;e=e.next().value;"primary"!==d&&c.push(d+":"+Yj(e,!1))});return 0<c.length?b+"("+c.join("//")+")":b}b=Wta(a,function(d,e){return"primary"===e?[Yj(a.children.primary,!1)]:[e+":"+Yj(d,!1)]});return 1===Object.keys(a.children).length&&null!=a.children.primary?Zta(a)+"/"+b[0]:Zta(a)+
"/("+b.join("//")+")"},$ta=function(a){return encodeURIComponent(a).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")},aua=function(a){return $ta(a).replace(/%3B/gi,";")},Xta=function(a){return $ta(a).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")},Yta=function(a){return Object.keys(a).map(function(b){return";"+Xta(b)+"="+Xta(a[b])}).join("")},bua=function(a){var b=Object.keys(a).map(function(c){var d=a[c];return Array.isArray(d)?d.map(function(e){return aua(c)+
"="+aua(e)}).join("&"):aua(c)+"="+aua(d)}).filter(function(c){return!!c});return b.length?"?"+b.join("&"):""},dua=function(a){return(a=a.match(cua))?a[0]:""},eua=function(a){var b={};return 0<a.segments.length?new Zj([],(b.primary=a,b)):a},fua=function(a){for(var b={},c=l(Object.keys(a.children)),d=c.next();!d.done;d=c.next()){d=d.value;var e=fua(a.children[d]);if("primary"===d&&0===e.segments.length&&e.hasChildren())for(d=l(Object.entries(e.children)),e=d.next();!e.done;e=d.next()){var f=l(e.value);
e=f.next().value;f=f.next().value;b[e]=f}else if(0<e.segments.length||e.hasChildren())b[d]=e}a=new Zj(a.segments,b);1===a.numberOfChildren&&a.children.primary&&(b=a.children.primary,a=new Zj(a.segments.concat(b.segments),b.children));return a},bk=function(a){return a instanceof ak},gua=function(a){function b(f){for(var h={},k=l(f.children),q=k.next();!q.done;q=k.next()){q=q.value;var t=b(q);h[q.outlet]=t}h=new Zj(f.url,h);f===a&&(c=h);return h}var c,d=b(a.root);d=eua(d);var e;return null!=(e=c)?e:
d},mua=function(a,b,c,d){for(var e=a;e.parent;)e=e.parent;if(0===b.length)return hua(e,e,e,c,d);b=iua(b);if(b.isAbsolute&&1===b.commands.length&&"/"==b.commands[0])return hua(e,e,new Zj([],{}),c,d);var f=e;if(b.isAbsolute)a=new jua(f,!0,0);else if(a)if(null===a.parent)a=new jua(a,!0,0);else{f=a;a=a.segments.length-1+(kua(b.commands[0])?0:1);for(var h=b.numberOfDoubleDots;h>a;){h-=a;f=f.parent;if(!f)throw new Hc(4005,!1);a=f.segments.length}a=new jua(f,!1,a-h)}else a=new jua(f,!1,NaN);b=a.processChildren?
ck(a.segmentGroup,a.index,b.commands):lua(a.segmentGroup,a.index,b.commands);return hua(e,a.segmentGroup,b,c,d)},kua=function(a){return"object"===typeof a&&null!=a&&!a.outlets&&!a.segmentPath},dk=function(a){return"object"===typeof a&&null!=a&&a.outlets},hua=function(a,b,c,d,e){var f={};d&&Object.entries(d).forEach(function(h){var k=l(h);h=k.next().value;k=k.next().value;f[h]=Array.isArray(k)?k.map(function(q){return""+q}):""+k});a=a===b?c:nua(a,b,c);a=eua(fua(a));return new ak(a,f,e)},nua=function(a,
b,c){var d={};Object.entries(a.children).forEach(function(e){var f=l(e);e=f.next().value;f=f.next().value;d[e]=f===b?c:nua(f,b,c)});return new Zj(a.segments,d)},iua=function(a){if("string"===typeof a[0]&&1===a.length&&"/"===a[0])return new oua(!0,0,a);var b=0,c=!1;a=a.reduce(function(d,e,f){if("object"===typeof e&&null!=e){if(e.outlets){var h={};Object.entries(e.outlets).forEach(function(k){var q=l(k);k=q.next().value;q=q.next().value;h[k]="string"===typeof q?q.split("/"):q});return[].concat(u(d),
[{outlets:h}])}if(e.segmentPath)return[].concat(u(d),[e.segmentPath])}return"string"!==typeof e?[].concat(u(d),[e]):0===f?(e.split("/").forEach(function(k,q){if(0!=q||"."!==k)0==q&&""===k?c=!0:".."===k?b++:""!=k&&d.push(k)}),d):[].concat(u(d),[e])},[]);return new oua(c,b,a)},pua=function(a){if(dk(a[0]))return a[0].outlets;var b={};return b.primary=a,b},lua=function(a,b,c){a||(a=new Zj([],{}));if(0===a.segments.length&&a.hasChildren())return ck(a,b,c);a:{var d=a;for(var e=0,f=b,h={match:!1,pathIndex:0,
commandIndex:0};f<d.segments.length;){if(e>=c.length){d=h;break a}var k=d.segments[f],q=c[e];if(dk(q))break;q=""+q;var t=e<c.length-1?c[e+1]:null;if(0<f&&void 0===q)break;if(q&&t&&"object"===typeof t&&void 0===t.outlets){if(q!=k.path||!Vj(t,k.parameters)){d=h;break a}e+=2}else{t={};if(q!=k.path||!Vj(t,k.parameters)){d=h;break a}e++}f++}d={match:!0,pathIndex:f,commandIndex:e}}e=c.slice(d.commandIndex);return d.match&&d.pathIndex<a.segments.length?(b=new Zj(a.segments.slice(0,d.pathIndex),{}),b.children.primary=
new Zj(a.segments.slice(d.pathIndex),a.children),ck(b,0,e)):d.match&&0===e.length?new Zj(a.segments,{}):d.match&&!a.hasChildren()?qua(a,b,c):d.match?ck(a,0,e):qua(a,b,c)},ck=function(a,b,c){if(0===c.length)return new Zj(a.segments,{});var d=pua(c),e={};if(Object.keys(d).some(function(f){return"primary"!==f})&&a.children.primary&&1===a.numberOfChildren&&0===a.children.primary.segments.length)return c=ck(a.children.primary,b,c),new Zj(a.segments,c.children);Object.entries(d).forEach(function(f){var h=
l(f);f=h.next().value;h=h.next().value;"string"===typeof h&&(h=[h]);null!==h&&(e[f]=lua(a.children[f],b,h))});Object.entries(a.children).forEach(function(f){var h=l(f);f=h.next().value;h=h.next().value;void 0===d[f]&&(e[f]=h)});return new Zj(a.segments,e)},qua=function(a,b,c){for(var d=a.segments.slice(0,b),e=0;e<c.length;){var f=c[e];if(dk(f))return a=rua(f.outlets),new Zj(d,a);if(0===e&&kua(c[0]))d.push(new ek(a.segments[b].path,sua(c[0]))),e++;else{f=dk(f)?f.outlets.primary:""+f;var h=e<c.length-
1?c[e+1]:null;f&&h&&kua(h)?(d.push(new ek(f,sua(h))),e+=2):(d.push(new ek(f,{})),e++)}}return new Zj(d,{})},rua=function(a){var b={};Object.entries(a).forEach(function(c){var d=l(c);c=d.next().value;d=d.next().value;"string"===typeof d&&(d=[d]);null!==d&&(b[c]=qua(new Zj([],{}),0,d))});return b},sua=function(a){var b={};Object.entries(a).forEach(function(c){var d=l(c);c=d.next().value;d=d.next().value;return b[c]=""+d});return b},tua=function(a,b){if(a===b.value)return b;b=l(b.children);for(var c=
b.next();!c.done;c=b.next())if(c=tua(a,c.value))return c;return null},uua=function(a,b){if(a===b.value)return[b];for(var c=l(b.children),d=c.next();!d.done;d=c.next())if(d=uua(a,d.value),d.length)return d.unshift(b),d;return[]},fk=function(a){var b={};a&&a.children.forEach(function(c){return b[c.value.outlet]=c});return b},vua=function(a,b,c){var d=a.routeConfig,e;if(null===b||"always"!==(void 0===c?"emptyOnly":c)&&""!==(null==d?void 0:d.path)&&(b.component||(null==(e=b.routeConfig)?0:e.loadComponent))){var f;
a={params:a.params,data:a.data,resolve:Object.assign({},a.data,null!=(f=a._resolvedData)?f:{})}}else a={params:Object.assign({},b.params,a.params),data:Object.assign({},b.data,a.data),resolve:Object.assign({},a.data,b.data,null==d?void 0:d.data,a._resolvedData)};!d||"string"!==typeof d.title&&null!==d.title||(a.resolve[gk]=d.title);return a},wua=function(a,b){b.value._routerState=a;b.children.forEach(function(c){return wua(a,c)})},xua=function(a){var b=0<a.children.length?" { "+a.children.map(xua).join(", ")+
" } ":"";return""+a.value+b},yua=function(a){if(a.snapshot){var b=a.snapshot,c=a._futureSnapshot;a.snapshot=c;Vj(b.queryParams,c.queryParams)||a.queryParamsSubject.next(c.queryParams);b.fragment!==c.fragment&&a.fragmentSubject.next(c.fragment);Vj(b.params,c.params)||a.paramsSubject.next(c.params);a:{var d=b.url;var e=c.url;if(d.length!==e.length)d=!1;else{for(var f=0;f<d.length;++f)if(!Vj(d[f],e[f])){d=!1;break a}d=!0}}d||a.urlSubject.next(c.url);Vj(b.data,c.data)||a.dataSubject.next(c.data)}else a.snapshot=
a._futureSnapshot,a.dataSubject.next(a._futureSnapshot.data)},zua=function(a,b){var c=Vj(a.params,b.params)&&Vta(a.url,b.url),d=!a.parent!==!b.parent;return c&&!d&&(!a.parent||zua(a.parent,b.parent))},Cua=function(a,b,c){if(c&&a.shouldReuseRoute(b.value,c.value.snapshot)){var d=c.value;d._futureSnapshot=b.value;b=Aua(a,b,c);return new hk(d,b)}d=Bua(b.value);b=b.children.map(function(e){return Cua(a,e)});return new hk(d,b)},Aua=function(a,b,c){return b.children.map(function(d){for(var e=l(c.children),
f=e.next();!f.done;f=e.next())if(f=f.value,a.shouldReuseRoute(d.value,f.value.snapshot))return Cua(a,d,f);return Cua(a,d)})},Bua=function(a){return new ik(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)},Eua=function(a){var b=bk(a)?{redirectTo:a,navigationBehaviorOptions:void 0}:a,c=b.redirectTo;b=b.navigationBehaviorOptions;a=Dua(0,a);a.url=c;a.navigationBehaviorOptions=
b;return a},Dua=function(a,b){var c=Error("Xb`");c.ngNavigationCancelingError=!0;c.cancellationCode=a;b&&(c.url=b);return c},Fua=function(a,b){a.providers&&!a._injector&&(a._injector=uka(a.providers,b,"Route: "+a.path));var c;return null!=(c=a._injector)?c:b},Gua=function(a){var b=a.children&&a.children.map(Gua);a=b?Object.assign({},a,{children:b}):Object.assign({},a);a.component||a.loadComponent||!b&&!a.loadChildren||!a.outlet||"primary"===a.outlet||(a.component=jk);return a},kk=function(a){return a.outlet||
"primary"},Hua=function(a,b){var c=a.filter(function(d){return kk(d)===b});c.push.apply(c,u(a.filter(function(d){return kk(d)!==b})));return c},lk=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},mk=function(){return af(function(a){return(0,E.combineLatest)(a.map(function(b){return b.pipe(Qe(),
$e(Iua))})).pipe(D(function(b){b=l(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,!0!==c){if(c===Iua)return Iua;if(!1===c||c instanceof ak)return c}return!0}),He(function(b){return b!==Iua}),Qe())})},nk=function(a,b){var c=Symbol(),d=b.get(a,c);return d===c?"function"!==typeof a||null!==Gea(a)?b.get(a):a:d},ok=function(a,b,c,d,e){e=void 0===e?{canDeactivateChecks:[],canActivateChecks:[]}:e;var f=fk(b);a.children.forEach(function(h){var k=f[h.value.outlet],q=d.concat([h.value]),t=e;t=void 0===
t?{canDeactivateChecks:[],canActivateChecks:[]}:t;var w=h.value,y=k?k.value:null,C=c?c.getContext(h.value.outlet):null;if(y&&w.routeConfig===y.routeConfig){var J=Jua(y,w,w.routeConfig.runGuardsAndResolvers);J?t.canActivateChecks.push(new Kua(q)):(w.data=y.data,w._resolvedData=y._resolvedData);w.component?ok(h,k,C?C.children:null,q,t):ok(h,k,c,q,t);J&&C&&C.outlet&&C.outlet.isActivated&&t.canDeactivateChecks.push(new Lua(C.outlet.component,y))}else y&&pk(k,C,t),t.canActivateChecks.push(new Kua(q)),
w.component?ok(h,null,C?C.children:null,q,t):ok(h,null,c,q,t);delete f[h.value.outlet]});Object.entries(f).forEach(function(h){var k=l(h);h=k.next().value;k=k.next().value;return pk(k,c.getContext(h),e)});return e},Jua=function(a,b,c){if("function"===typeof c)return c(a,b);switch(c){case "pathParamsChange":return!Xj(a.url,b.url);case "pathParamsOrQueryParamsChange":return!Xj(a.url,b.url)||!Vj(a.queryParams,b.queryParams);case "always":return!0;case "paramsOrQueryParamsChange":return!zua(a,b)||!Vj(a.queryParams,
b.queryParams);default:return!zua(a,b)}},pk=function(a,b,c){var d=fk(a),e=a.value;Object.entries(d).forEach(function(f){var h=l(f);f=h.next().value;h=h.next().value;e.component?b?pk(h,b.children.getContext(f),c):pk(h,null,c):pk(h,b,c)});e.component?b&&b.outlet&&b.outlet.isActivated?c.canDeactivateChecks.push(new Lua(b.outlet.component,e)):c.canDeactivateChecks.push(new Lua(null,e)):c.canDeactivateChecks.push(new Lua(null,e))},qk=function(a){return"function"===typeof a},Mua=function(a){return a instanceof
E.EmptyError||"EmptyError"===(null==a?void 0:a.name)},Pua=function(a,b){return Be(function(c){var d=c.targetSnapshot,e=c.currentSnapshot,f=c.guards,h=f.canActivateChecks;f=f.canDeactivateChecks;return 0===f.length&&0===h.length?(0,E.of)(Object.assign({},c,{guardsResult:!0})):Nua(f,d,e,a).pipe(Be(function(k){return k&&"boolean"===typeof k?Oua(d,h,a,b):(0,E.of)(k)}),D(function(k){return Object.assign({},c,{guardsResult:k})}))})},Nua=function(a,b,c,d){return(0,E.from)(a).pipe(Be(function(e){return Qua(e.component,
e.route,c,b,d)}),Te(function(e){return!0!==e},!0))},Oua=function(a,b,c,d){return(0,E.from)(b).pipe(Be(function(e){var f=E.concat;var h=e.route.parent;null!==h&&d&&d(new Rua(h));h=(0,E.of)(!0);var k=e.route;null!==k&&d&&d(new Sua(k));k=(0,E.of)(!0);return f.call(E,h,k,Tua(a,e.path,c),Uua(a,e.route,c))},1),Te(function(e){return!0!==e},!0))},Uua=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 f,
h=null!=(f=lk(b))?f:c,k=nk(e,h);f=k&&qk(k.canActivate)?k.canActivate(b,a):fd(h,function(){return k(b,a)});return Wj(f).pipe(Te())})});return(0,E.of)(d).pipe(mk())},Tua=function(a,b,c){var d=b[b.length-1];b=b.slice(0,b.length-1).reverse().map(function(e){var f=e.routeConfig?e.routeConfig.canActivateChild:null;return f&&0!==f.length?{node:e,guards:f}:null}).filter(function(e){return null!==e}).map(function(e){return(0,E.defer)(function(){var f=e.guards.map(function(h){var k,q=null!=(k=lk(e.node))?k:
c,t=nk(h,q);h=t&&qk(t.canActivateChild)?t.canActivateChild(d,a):fd(q,function(){return t(d,a)});return Wj(h).pipe(Te())});return(0,E.of)(f).pipe(mk())})});return(0,E.of)(b).pipe(mk())},Qua=function(a,b,c,d,e){var f=b&&b.routeConfig?b.routeConfig.canDeactivate:null;if(!f||0===f.length)return(0,E.of)(!0);f=f.map(function(h){var k,q=null!=(k=lk(b))?k:e,t=nk(h,q);h=t&&qk(t.canDeactivate)?t.canDeactivate(a,b,c,d):fd(q,function(){return t(a,b,c,d)});return Wj(h).pipe(Te())});return(0,E.of)(f).pipe(mk())},
Wua=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 f=nk(e,a);e=f&&qk(f.canLoad)?f.canLoad(b,c):fd(a,function(){return f(b,c)});return Wj(e)});return(0,E.of)(d).pipe(mk(),Vua())},Vua=function(){return(0,E.pipe)(cf(function(a){if(bk(a))throw Eua(a);}),D(function(a){return!0===a}))},Xua=function(a,b,c){var d=b.canMatch;if(!d||0===d.length)return(0,E.of)(!0);d=d.map(function(e){var f=nk(e,a);e=f&&qk(f.canMatch)?f.canMatch(b,c):fd(a,function(){return f(b,
c)});return Wj(e)});return(0,E.of)(d).pipe(mk(),Vua())},rk=function(a){return(0,E.throwError)(new Yua(a))},ava=function(a,b,c,d){var e=Zua(a,b,c);if(!e.matched)return(0,E.of)(e);d=Fua(b,d);return Xua(d,b,c).pipe(D(function(f){return!0===f?e:Object.assign({},$ua)}))},Zua=function(a,b,c){if(""===b.path)return"full"===b.pathMatch&&(a.hasChildren()||0<c.length)?Object.assign({},$ua):{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};a=(b.matcher||Jta)(c,a,b);
if(!a)return Object.assign({},$ua);var d={},e;Object.entries(null!=(e=a.posParams)?e:{}).forEach(function(h){var k=l(h);h=k.next().value;k=k.next().value;d[h]=k.path});e=0<a.consumed.length?Object.assign({},d,a.consumed[a.consumed.length-1].parameters):d;var f;return{matched:!0,consumedSegments:a.consumed,remainingSegments:c.slice(a.consumed.length),parameters:e,positionalParamSegments:null!=(f=a.posParams)?f:{}}},eva=function(a,b,c,d){if(0<c.length&&bva(a,c,d)){var e=Zj;a=new Zj(c,a.children);c=
{};c.primary=a;a=l(d);for(d=a.next();!d.done;d=a.next())if(d=d.value,""===d.path&&"primary"!==kk(d)){var f=new Zj([],{});c[kk(d)]=f}c={segmentGroup:new e(b,c),slicedSegments:[]}}else if(0===c.length&&cva(a,c,d)){b=Zj;e=a.segments;f=a.children;var h={};d=l(d);for(var k=d.next();!k.done;k=d.next())if(k=k.value,dva(a,c,k)&&!f[kk(k)]){var q=new Zj([],{});h[kk(k)]=q}a=Object.assign({},f,h);c={segmentGroup:new b(e,a),slicedSegments:c}}else c={segmentGroup:new Zj(a.segments,a.children),slicedSegments:c};
return c},bva=function(a,b,c){return c.some(function(d){return dva(a,b,d)&&"primary"!==kk(d)})},cva=function(a,b,c){return c.some(function(d){return dva(a,b,d)})},dva=function(a,b,c){return(a.hasChildren()||0<b.length)&&"full"===c.pathMatch?!1:""===c.path},fva=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)})},gva=function(a){return(a=a.value.routeConfig)&&""===a.path},hva=function(a){var b=[],c=new Set;
a=l(a);for(var d=a.next(),e={};!d.done;e={node$jscomp$142:e.node$jscomp$142},d=a.next())e.node$jscomp$142=d.value,gva(e.node$jscomp$142)?(d=b.find(function(f){return function(h){return f.node$jscomp$142.value.routeConfig===h.value.routeConfig}}(e)),void 0!==d?(d.children.push.apply(d.children,u(e.node$jscomp$142.children)),c.add(d)):b.push(e.node$jscomp$142)):b.push(e.node$jscomp$142);a=l(c);for(e=a.next();!e.done;e=a.next())e=e.value,d=hva(e.children),b.push(new hk(e.value,d));return b.filter(function(f){return!c.has(f)})},
iva=function(a){return{matched:!0,parameters:0<a.length?(0<a.length?a[a.length-1]:null).parameters:{},consumedSegments:a,remainingSegments:[],positionalParamSegments:{}}},kva=function(a,b,c,d,e,f){return Be(function(h){return(new jva(a,b,c,d,h.extractedUrl,void 0===f?"emptyOnly":f,e)).recognize().pipe(D(function(k){return Object.assign({},h,{targetSnapshot:k.state,urlAfterRedirects:k.tree})}))})},nva=function(a,b){return Be(function(c){var d=c.targetSnapshot,e=c.guards.canActivateChecks;if(!e.length)return(0,E.of)(c);
var f=new Set(e.map(function(w){return w.route})),h=new Set;e=l(f);for(var k=e.next();!k.done;k=e.next())if(k=k.value,!h.has(k)){k=l(lva(k));for(var q=k.next();!q.done;q=k.next())h.add(q.value)}var t=0;return(0,E.from)(h).pipe(Be(function(w){if(f.has(w))return mva(w,d,a,b);w.data=vua(w,w.parent,a).resolve;return(0,E.of)(void 0)},1),cf(function(){return t++}),Kja(),Be(function(){return t===h.size?(0,E.of)(c):E.EMPTY}))})},lva=function(a){var b=a.children.map(function(c){return lva(c)}).flat();return[a].concat(u(b))},
mva=function(a,b,c,d){var e=a.routeConfig,f=a._resolve;void 0!==(null==e?void 0:e.title)&&"string"!==typeof e.title&&null!==e.title&&(f[gk]=e.title);return ova(f,a,b,d).pipe(D(function(h){a._resolvedData=h;a.data=vua(a,a.parent,c).resolve;return null}))},ova=function(a,b,c,d){var e=Kta(a);if(0===e.length)return(0,E.of)({});var f={};return(0,E.from)(e).pipe(Be(function(h){return pva(a[h],b,c,d).pipe(Te(),cf(function(k){f[h]=k}))}),Kja(),Ue(f),Le(function(h){return Mua(h)?E.EMPTY:(0,E.throwError)(h)}))},
pva=function(a,b,c,d){var e,f=null!=(e=lk(b))?e:d,h=nk(a,f);a=h.resolve?h.resolve(b,c):fd(f,function(){return h(b,c)});return Wj(a)},qva=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)})},vva=function(a,b,c){return Wj(a.loadChildren()).pipe(D(rva),Be(function(d){return d instanceof sva||Array.isArray(d)?(0,E.of)(d):(0,E.from)(Promise.resolve(new tva(d)))}),D(function(d){c&&c(a);if(!Array.isArray(d)){var e=d.create(b).injector;d=e.get(uva,
[],{optional:!0,self:!0}).flat()}return{routes:d.map(Gua),injector:e}}))},rva=function(a){return a&&"object"===typeof a&&"default"in a?a["default"]:a},yva=function(a,b,c){var d=a.get(wva),e=a.get(Xg);return a.get(ef).runOutsideAngular(function(){if(!e.startViewTransition||d.skipNextTransition)return d.skipNextTransition=!1,Promise.resolve();var f,h=new Promise(function(t){f=t}),k=e.startViewTransition(function(){f();return xva(a)}),q=d.onViewTransitionCreated;q&&fd(a,function(){return q({transition:k,
from:b,to:c})});return h})},xva=function(a){return new Promise(function(b){nka(b,{injector:a})})},zva=function(a,b){a.events.pipe(He(function(c){return c instanceof sk||c instanceof tk||c instanceof uk||c instanceof vk}),D(function(c){return c instanceof sk||c instanceof vk?0:c instanceof tk&&(0===c.code||1===c.code)?2:1}),He(function(c){return 2!==c}),Qe()).subscribe(function(){b()})},Ava=function(a){throw a;},wk=function(a,b){return{"\u0275kind":a,"\u0275providers":b}},Bva=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("/")},Cva=function(a){return a instanceof sk},Dva=function(a){return a instanceof xk},yk=function(a){return null==console?!1:"function"===typeof console[a]},zk=function(){yk("debug")&&console.debug.apply(console,$c.apply(0,arguments))},Ak=function(){yk("info")&&console.info.apply(console,$c.apply(0,arguments))},Eva=function(){yk("log")&&console.log.apply(console,
$c.apply(0,arguments))},Bk=function(){yk("warn")&&console.warn.apply(console,$c.apply(0,arguments))},Fva=function(){yk("error")&&console.error.apply(console,$c.apply(0,arguments))},Gva=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()})})})}},Ck=function(a,b){b=new E.BehaviorSubject(b);
a.subscribe(b);return b},Dk=function(a){var b;a.subscribe(function(c){b=c}).unsubscribe();return b},Ek=function(){return Pe(function(a,b){return $h(a,b)})},Hva=function(){return function(a){return a.pipe(D(function(b){return{event:b,timestamp:Date.now()}}),oja(a.pipe(Ne(1E4,E.asapScheduler))))}},Iva=function(a){return a.keys.join("-")+"-"+a.description+"-"+a.displayAs},Jva=function(a,b){a&1&&(H(0,"tr")(1,"td",5),T(2),K(),H(3,"td"),T(4,":"),K(),H(5,"td",6),T(6),K()());a&2&&(a=b.$implicit,A(2),$f(a.displayAs),
A(4),$f(a.description))},Kva=function(a,b){a&1&&(H(0,"thead")(1,"tr"),L(2,"th",3),H(3,"th",4),T(4),K()(),F(5,Jva,7,2,"tr",1),K());a&2&&(a=b.$implicit,A(4),$f(a.title),A(1),G("ngForOf",a.hotkeys))},Fk=function(){return Lva.performance&&Lva.PerformanceObserver&&"function"===typeof window.performance.getEntriesByType&&"function"===typeof window.performance.mark&&"function"===typeof window.performance.measure},Mva=function(a){var b=a.name;if(null!=b&&(a=Math.round(a.duration),!isNaN(a))){var c=l(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}}},Ova=function(a){a=a.sort(function(d,e){return d.startTime-e.startTime});var b=a.find(Nva);if(null!=b){var c=b.name.split(" -> ")[1];return a.find(function(d){return d.name===c})}},Sva=function(){var a=window.performance.getEntries(),b=Ova(a);if(null==b)return[];var c=b.startTime;return a.filter(Pva).filter(Qva).filter(Rva).filter(function(d){return d.startTime<=
c})},Nva=function(a){var b=a.name;return"measure"===a.entryType&&0===b.indexOf("browserStart")},Pva=function(a){return 0!==a.name.indexOf("Zone")},Rva=function(a){return"resource"===a.entryType},Tva=function(a){return"xmlhttprequest"===a.initiatorType},Qva=function(a){return null==a.name.match(/\.html$/)},Uva=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}},Vva=function(){return"function"===
typeof Gk.gtag},Wva=function(a){if(null!=a&&!(3E4<=a.duration))return{hitType:"event",eventCategory:"cf",eventAction:a.from,eventLabel:a.to,eventValue:a.duration}},Zva=function(a){a=a.getEntries().map(Mva).map(Wva);a=l(a);for(var b=a.next();!b.done;b=a.next()){var c=b.value;if(c&&c.hitType){b=c.hitType;var d=c.eventAction;var e=c.eventCategory,f=c.eventLabel;c=c.eventValue;d=Object.assign({},void 0!==d?{event_action:d}:{},void 0!==e?{event_category:e}:{},void 0!==f?{event_label:f}:{},void 0!==c?{event_value:c}:
{});Xva(b,d)}}setTimeout(Yva,100)},Yva=function(){if(!$va){var a=Sva(),b=a.filter(function(c){return!Tva(c)}).reduce(Uva,awa());Hk("r-until-cf","asset","count",b.count);Hk("r-until-cf","asset","transferSize",b.transferSize);Hk("r-until-cf","asset","duration",b.duration);Hk("r-until-cf","asset","cacheHitRate",b.cacheHitRate);a=a.filter(Tva).reduce(Uva,awa());Hk("r-until-cf","xhr","count",a.count);Hk("r-until-cf","xhr","transferSize",a.transferSize);Hk("r-until-cf","xhr","duration",a.duration);$va=
!0}},Hk=function(a,b,c,d){Xva(a,Object.assign({},void 0!==b?{event_action:b}:{},void 0!==c?{event_label:c}:{},void 0!==d?{event_value:d}:{}))},Xva=function(a,b){null!=b&&(bwa("page_location","Scrubbed Page URL"),bwa("page_title","Scrubbed Page Title"),Vva()&&Gk.gtag("event",a,b),cwa&&Ak("[stub gtag.ts] gtag('event')",a,b))},Jk=function(a,b){Ik(a,b)},bwa=function(a,b){if(Vva()){var c={};Gk.gtag("set",(c[a]=b,c))}cwa&&Ak("[stub gtag.ts] gtag('set', {"+a+": "+b+")}")},Ik=function(a,b){if(Vva()){var c=
{};Gk.gtag("set","user_properties",(c[a]=b,c))}cwa&&Ak("[stub gtag.ts] gtag('set', 'user_properties', {"+a+": "+b+")}")},dwa=function(a){a=void 0===a?!1:a;var b=Ita(),c=b.total,d=b.redundancyRatio;Hk("after-60s","xhr","redundant",b.redundant);Hk("after-60s","xhr","total",c);Hk("after-60s","xhr","redundancyRatio",d);a&&(console.table(Gta()),console.log(b))},Lk=function(a,b,c,d){return{status:a,displayValue:Kk[a],open:b,assigneeRequirement:c,sortOrder:d}},gwa=function(a,b){var c=new ewa;fwa(c,a,b);
return c},fwa=function(a,b,c){var d=qa(b.snapshot),e=b.aggregatedData,f=b.userActivityStats;var h=b&&b.accessLimit?b.accessLimit.accessLevel:void 0;a.accessLevel=h;a.id=b.issueId;a.issueId=b.issueId;a.trackerId=b.trackerId;d.componentId&&(a.componentId=d.componentId);c&&c.componentPathInfo&&c.componentPathInfo.componentPathName?a.componentPath=c.componentPathInfo:a.componentPath=[String(d.componentId)];d.type&&(a.type=d.type);if(d.status){a.status=d.status;var k;a.isClosed=!(null==(k=Mk[d.status])?
0:k.open)||b.isArchived}a.priority=d.priority.substr(1);a.severity=d.severity.substr(1);a.reporter=mi(d.reporterUser);a.assignee=mi(d.assigneeUser);a.assigneeEmail=qi(d.assigneeUser);a.verifier=mi(d.verifierUser);a.verifierEmail=qi(d.verifierUser);a.cc=ni(d.ccUsers);a.collaborator=ni(d.collaboratorsUsers);a.changelist=d.changelist;a.postmortem=d.postmortems;a.hotlistId=d.hotlistId;a.blockingIssueId=d.blockingIssueId;a.blockedByIssueId=d.blockedByIssueId;a.teamId=e&&e.teamId?e.teamId:0;a.createdTime=
e?Math.round(e.createdTimeMicros/1E3):0;a.modifiedTime=e?Math.round(e.modifiedTimeMicros/1E3):0;a.resolvedTime=e&&e.resolvedTimeMicros?Math.round(e.resolvedTimeMicros/1E3):null;a.verifiedTime=e&&e.verifiedTimeMicros?Math.round(e.verifiedTimeMicros/1E3):null;a.majorModifiedTime=b.majorModifiedTimeMicros?Math.round(b.majorModifiedTimeMicros/1E3):0;a.archived=b.isArchived;a.lastViewedTime=b.userData&&b.userData.lastViewedTimeMicros?Math.round(b.userData.lastViewedTimeMicros/1E3):null;a.title=d.title;
a.foundInVersion=d.foundInVersion;a.targetedToVersion=d.targetedToVersion;a.verifiedInVersion=d.verifiedInVersion;d.inProd&&(a.inProd=d.inProd);a.duplicateOfIssueId=d.duplicateOfIssueId;a.starred=b.userData&&b.userData.starred?b.userData.starred:!1;a.voteCount=e?e.voteCount:0;a.duplicateCount=d.duplicateIssueId?d.duplicateIssueId.length:0;a.ccCount=d.ccUsers?d.ccUsers.length:0;a.collaboratorCount=d.collaboratorsUsers?d.collaboratorsUsers.length:0;var q;a.lastModifier=mi(null==(q=b.aggregatedData)?
void 0:q.lastModifier);a.customFieldMap={};a.customFieldNameToIdMap={};a.customFieldValueMap={};if(c&&c.componentPathInfo&&c.componentPathInfo.allCustomField)for(c=l(c.componentPathInfo.allCustomField),h=c.next();!h.done;h=c.next())h=h.value,a.customFieldMap[String(h.customFieldId)]=h,a.customFieldNameToIdMap[h.name.toLowerCase()]=h.customFieldId;if(d.customField)for(c=l(d.customField),h=c.next();!h.done;h=c.next())h=h.value,a.customFieldValueMap[String(h.customFieldId)]=h;a.retentionState=e?e.retentionState:
void 0;a.sloId=e?""+e.sloId:"";a.sloStatus=e?e.sloStatus||null:null;a.sloStartTime=d.sloStartTime;a.sloEndTime=d.sloEndTime;a.isRead=!!a.lastViewedTime&&a.lastViewedTime>=a.majorModifiedTime;d.effort&&(a.effort=d.effort);a.issueAccessLevel=d.issueAccessLimitLevel;a.descendantCount=b.descendantCount;a.openDescendantCount=b.openDescendantCount;a.oneDayViewCount=f?f.oneDayViewCount:0;a.sevenDayViewCount=f?f.sevenDayViewCount:0;a.thirtyDayViewCount=f?f.thirtyDayViewCount:0},Ok=function(a,b){return Nk("issues/:issueId",
{id:a,params:b})},hwa=function(a,b){return Nk("issues/:issueId/dependencies",{id:a,params:b})},Qk=function(a){return Pk("issues",{params:a})},iwa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},jwa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},kwa=function(a,b){return Nk("components/:componentId/manage",{id:a,tab:b})},lwa=function(a){return a?Pk("settings/:settingsTab?",{id:a,token:":settingsTab?"}):Pk("settings")},
Nk=function(a,b){b=void 0===b?{}:b;return null==b.id?"":Pk(a,b)},Pk=function(a,b){var c=b=void 0===b?{}:b;b=c.id;var d=c.params,e=c.tab;c=c.token;var f=a;null!=b&&(f=a.replace(c?c:/:\w+/,b.toString()));d&&(f=mwa(f,d));e&&(f=f+"#"+e);return f},nwa=function(a,b){b=(void 0===b?{}:b).comment;return{path:"/issues/"+a,fragment:b?"comment"+b:void 0}},Rk=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},owa=function(a){var b={};a=(b.component=a?String(a):void 0,b);a=void 0===a?{}:a;return{path:"/issues/new",queryParams:a}},pwa=function(a){return{path:"/components/"+a}},qwa=function(a){var b={};a&&(b.componentId=a);return{path:"/components",queryParams:b}},rwa=function(a){return{path:"/slos/"+a+"/edit"}},swa=function(a){for(var b={},c=l(a.keys),d=c.next();!d.done;d=c.next()){d=d.value;var e=a.getAll(d);b[d]=1<e.length?e:e[0]}return b},twa=function(a){if(null!=
a){var b=a.getYear();if(null==b)Bk("No year. dateToJs");else{var c=a.getDay();if(null==c)Bk("No day. dateToJs");else if(a=a.getMonth(),null==a)Bk("No month. dateToJs");else return{year:b,day:c,month:a}}}},uwa=function(a){var b=new Sk;Tk(b,3,a.day);b.setMonth(a.month);b.setYear(a.year);return b},Uk=function(a){if(null!=a){var b=a.getSeconds();a=a.getNanos();return{seconds:b,nanos:a}}},Vk=function(a){var b=new Xi;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},vwa=function(a){var b=new Wk;b.setSeconds(a.seconds);
b.setNanos(a.nanos);return b},wwa=function(a){if(null!=a)return Number(a.toDate())},xwa=function(a){var b=void 0===a.seconds?0:a.seconds;a=void 0===a.nanos?0:a.nanos;if(-1E9>=a||1E9<=a)b+=Math.trunc(a/1E9),a%=1E9;0>a&&(a+=1E9,--b);return Vk({seconds:b,nanos:a})},ywa=function(a){if(!a)return 0;a=1E9*a.getSeconds()+a.getNanos();return Math.round(a/1E3)},Bwa=function(a){return"CUSTOM_FIELD"===a.type?[zwa[Awa[a.type]],a.customFieldId].join(":"):zwa[Awa[a.type]]},Ewa=function(a){return a.includes(":")?
(a=l(a.split(":")),a.next(),a=a.next().value,{type:"CUSTOM_FIELD",customFieldId:Xk(a)}):{type:Cwa[Dwa[a]]}},Fwa=function(a){var b,c;return null!=(c=null==a?void 0:null==(b=Yh(a,1))?void 0:b.map(Ewa))?c:[]},Gwa=function(a){var b=l(a.trim().split(" ")),c=b.next().value;a=b.next().value;Ge(b);b=Ewa(c);c="DESCENDING";"asc"===a&&(c="ASCENDING");return{field:b,direction:c}},Hwa=function(a){return Bwa(a.field)+" "+("ASCENDING"===a.direction?"asc":"desc")},Zk=function(a){var b=a.emailAddress,c=a.obfuscatedEmailAddress,
d=a.aliases;a=a.userGaiaStatus;var e=new Yk;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:Oh(a)}return e},$k=function(a){var b={},c=a.getEmailAddress();c&&(b.emailAddress=c);if(c=a.getObfuscatedEmailAddress())b.obfuscatedEmailAddress=c;c=a.getUserGaiaStatus();
switch(c){case 0:break;case 1:b.userGaiaStatus="ACTIVE";break;case 2:b.userGaiaStatus="DELETED";break;case 3:b.userGaiaStatus="UNAVAILABLE";break;default:throw Error("bc`"+c);}a=a.getAliasesList();if(null==a?0:a.length)b.aliases=a;return b},Lwa=function(a){var b=new al,c=b.setIt,d,e,f,h,k,q=(new bl).setHotlistId(a.hotlistId).setName(a.name).setDescription(a.description).setArchived(a.archived).setDefaultOrderBy((null!=(f=a.sortOrder)?f:[]).map(Hwa).join(","));f=q.setDisplayPreferences;var t=new cl,
w=null!=(h=null==(d=a.displayColumn)?void 0:d.map(Bwa))?h:[];d=pj(t,1,w);q=f.call(q,d).setCreatedTime(xwa({seconds:0,nanos:1E3*a.createdTimeMicros})).setModifiedTime(xwa({seconds:0,nanos:1E3*a.modifiedTimeMicros})).setOwnersList(null!=(k=null==(e=a.adminUsers)?void 0:e.map(Zk))?k:[]);if(void 0!==a.etag){e=q.setEtag;a=a.etag;if(a.length){k=!0;k=void 0===k?!1:k;if(Iwa){if(k&&(Jwa?!a.isWellFormed():/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/.test(a)))throw Error("v");a=
(Kwa||(Kwa=new TextEncoder)).encode(a)}else{d=0;h=new Uint8Array(3*a.length);for(f=0;f<a.length;f++)if(t=a.charCodeAt(f),128>t)h[d++]=t;else{if(2048>t)h[d++]=t>>6|192;else{if(55296<=t&&57343>=t){if(56319>=t&&f<a.length)if(w=a.charCodeAt(++f),56320<=w&&57343>=w){t=1024*(t-55296)+w-56320+65536;h[d++]=t>>18|240;h[d++]=t>>12&63|128;h[d++]=t>>6&63|128;h[d++]=t&63|128;continue}else f--;if(k)throw Error("v");t=65533}h[d++]=t>>12|224;h[d++]=t>>6&63|128}h[d++]=t&63|128}a=d===h.length?h:h.subarray(0,d)}a=new Ga(a,
Ha)}else a=Fa();e.call(q,a)}return c.call(b,q)},dl=function(a){a=a.getIt();if(!a.getHotlistId())throw Error("cc");if(!a.getName())throw Error("dc");if(!a.getCreatedTime())throw Error("ec");if(!a.getModifiedTime())throw Error("fc");var b,c,d,e;return{hotlistId:a.getHotlistId(),name:a.getName(),description:null!=(c=a.getDescription())?c:"",archived:null!=(d=a.getArchived())?d:!1,createdTimeMicros:ywa(a.getCreatedTime()),modifiedTimeMicros:ywa(a.getModifiedTime()),displayColumn:Fwa(a.getDisplayPreferences()),
sortOrder:a.getDefaultOrderBy().split(",").filter(Boolean).map(Gwa),etag:Mwa(a.getEtag())||void 0,adminUsers:null!=(e=null==(b=a.getOwnersList())?void 0:b.map($k))?e:[]}},Nwa=function(a){var b;return(null!=(b=zi(a,al,1))?b:[]).map(dl)},Owa=function(a){var b;return{paths:null!=(b=Yh(a,1))?b:[]}},Qwa=function(a){if(a)return{accessLevel:Pwa[a.getAccessLevel()]}},Swa=function(a){return(new el).setAccessLevel(Rwa[a.accessLevel])},Twa=function(a){return["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(a.type)},
Vwa=function(a){var b=new Uwa;b.customFieldId=a.customFieldId;b.componentId=a.componentId;b.name=a.name;b.type=a.type;b.description=a.description||"";a.typedDefaultValue&&(b.typedDefaultValue=a.typedDefaultValue);b.required=!!a.required;b.fieldSignificance=a.fieldSignificance||"MINOR";b.allowedValue=a.allowedValue||void 0;var c;b.stateOnIssues=null!=(c=a.stateOnIssues)?c:"INHERIT";c=a.enabledOnIssues;b.enabledOnIssues=null==c?!0:c;b.shared=a.shared;return b},fl=function(a){if(null!=a&&(a=String(a),
""!==a.trim()))return a=Number(a),isNaN(a)?void 0:a},gl=function(a){if(null!=a)return String(a)},Wwa=function(a){if(null!=a&&"0"!==a)return a},hl=function(a){return null==a?void 0:a},Xwa=function(a){return null==a?null:a},il=function(a){return function(b){return null==b?a:b}},jl=function(a){return null!=a},Zwa=function(a){if(null!=a)return{customFieldId:hl(fl(a.getCustomFieldId())),standardField:Ywa[Li(a,kl(a,ll,2),0)]}},axa=function(a){var b=new ml;a.customFieldId?b.setCustomFieldId(a.customFieldId):
a.standardField&&nl(b,2,ll,qba($wa[a.standardField]));return b},bxa=function(a){if(a){var b=fl(a.getCustomFieldId());if(null==b)Bk("No customFieldId. customFieldValueToJs");else{b={customFieldId:b,displayValues:zi(a,uj,11).map(function(C){return dh(xj(C)).toString()})};switch(a.getValueCase()){case 2:b.textValue=hl(xi(a,kl(a,ol,2)));break;case 3:b.dateValue=twa(a.getDateValue());break;case 4:b.enumValue=hl(xi(a,kl(a,ol,4)));break;case 5:b.numericValue=hl(pl(a,kl(a,ol,5)));break;case 6:var c,d;b.repeatedTextValue=
{values:null!=(d=null==(c=ql(a,rl,6,ol))?void 0:c.getValuesList())?d:[]};break;case 8:var e,f;b.repeatedEnumValue={values:null!=(f=null==(e=ql(a,rl,8,ol))?void 0:e.getValuesList())?f:[]};break;case 9:var h,k;b.repeatedNumericValue={values:null!=(k=null==(h=ql(a,sl,9,ol))?void 0:h.getValuesList())?k:[]};break;case 7:var q,t,w,y;b.repeatedDateValue={values:null!=(y=null==(q=ql(a,tl,7,ol))?void 0:null==(t=q.getValuesList())?void 0:null==(w=t.map(twa))?void 0:w.filter(jl))?y:[]}}return b}}},cxa=function(a){var b=
(new ul).setCustomFieldId(a.customFieldId);null!=a.textValue?vl(b,2,ol,a.textValue):null!=a.dateValue?(a=uwa(a.dateValue),wl(b,3,ol,a)):null!=a.enumValue?vl(b,4,ol,a.enumValue):null!=a.numericValue?nl(b,5,ol,kb(a.numericValue)):null!=a.repeatedTextValue?(a=(new rl).setValuesList(a.repeatedTextValue.values),wl(b,6,ol,a)):null!=a.repeatedEnumValue?(a=(new rl).setValuesList(a.repeatedEnumValue.values),wl(b,8,ol,a)):null!=a.repeatedNumericValue?(a=(new sl).setValuesList(a.repeatedNumericValue.values),
wl(b,9,ol,a)):null!=a.repeatedDateValue&&(a=(new tl).setValuesList(a.repeatedDateValue.values.map(uwa)),wl(b,7,ol,a));return b},fxa=function(a){var b={customFieldId:a.getCustomFieldId(),type:dxa[a.getType()],required:Hi(a,4),name:a.getName(),description:a.getDescription(),typedDefaultValue:bxa(vi(a,ul,10)),allowedValue:Yh(a,8),fieldSignificance:exa[Li(a,9,0)],shared:a.getShared()};a.getComponentId()&&(b.componentId=fl(a.getComponentId()));return b},gxa=function(a){return Vwa(fxa(a))},jxa=function(a){var b=
new xl;a.customFieldId&&b.setCustomFieldId(String(a.customFieldId));b.setComponentId(String(a.componentId));b.setType(hxa[a.type]);yl(b,4,a.required);b.setName(a.name);b.setDescription(a.description);if(a.typedDefaultValue){var c=cxa(a.typedDefaultValue);ej(b,ul,10,c)}a.allowedValue&&pj(b,8,a.allowedValue);a.fieldSignificance&&b.setFieldSignificance(ixa[a.fieldSignificance]);b.setShared(a.shared);return b},pxa=function(a){var b=new zl;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&&kxa(b,lxa(new mxa,a.numericSpec.multiplier));if(a.enumSpec){var c;nxa(b,oxa(new Al,(null!=(c=a.enumSpec.options)?c:[]).map(function(d){return(new Bl).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}Cl(b,6,a)}return b},rxa=function(a){return{fieldId:Zwa(vi(a,ml,1)),stateOnIssues:qxa[Li(a,4,0)],enabledOnIssues:Hi(a,
5)}},sxa=function(a){if(null!=a){var b,c;return{retentionPeriod:null!=(b=Uk(a.getRetentionPeriod()))?b:null,scheduledDeletionTime:null!=(c=Uk(vi(a,Xi,2)))?c:null}}},uxa=function(a){return{retentionSelection:txa[Li(a,1,0)],retentionPeriodDays:Xh(a,2),piiRetentionSelection:txa[Li(a,3,0)],piiRetentionPeriodDays:Xh(a,4),spiiRetentionPeriodDays:Xh(a,5)}},wxa=function(a){var b=new Dl;b=Cl(b,1,vxa[a.retentionSelection]);b=Tk(b,2,a.retentionPeriodDays);b=Cl(b,3,vxa[a.piiRetentionSelection]);b=Tk(b,4,a.piiRetentionPeriodDays);
return Tk(b,5,a.spiiRetentionPeriodDays)},xxa=function(a){switch(a){case 0:return"RETENTION_UNSPECIFIED";case 1:return"COMPONENT_DEFAULT";case 2:return"INDEFINITE";default:throw Error("gc`"+a);}},yxa=function(a){switch(a){case "RETENTION_UNSPECIFIED":return 0;case "COMPONENT_DEFAULT":return 1;case "INDEFINITE":return 2;default:throw Error("gc`"+a);}},Axa=function(a){return{startTime:Uk(a.getStartTime()),targetTime:Uk(vi(a,Xi,3)),endTime:Uk(vi(a,Xi,2)),objective:Uk(a.getObjective()),businessDays:a.getBusinessDays(),
dayType:zxa[a.getDayType()]}},Cxa=function(a){var b=new El;if(a.startTime){var c=Vk(a.startTime);ej(b,Xi,1,c)}a.targetTime&&(c=Vk(a.targetTime),ej(b,Xi,3,c));a.endTime&&(c=Vk(a.endTime),ej(b,Xi,2,c));a.objective&&b.setObjective(vwa(a.objective));a.businessDays&&b.setBusinessDays(a.businessDays);a.dayType&&b.setDayType(Bxa[a.dayType]);return b},Exa=function(a){var b=(new Fl).setInherit(a.inherit).setSource(Dxa[a.source]).setId(Xk(a.id)).setComment(a.comment);return Gl(b,6,Xk(a.sourceComponentId)).setSourceTeamId(Xk(a.sourceTeamId))},
Gxa=function(a){var b,c,d=String(a.getSloId()),e=a.getName(),f=a.getDescription(),h=String(a.getParentId()),k=(null!=(b=zi(a,Hl,5))?b:[]).map(Fxa);b=(null!=(c=zi(a,Hl,6))?c:[]).map(Fxa);c=a.getIsArchived();a:switch(a=Li(a,8,0),a){case 0:a="OFF";break a;case 1:a="OFF";break a;case 2:a="ON";break a;default:throw Error("hc`"+a);}return{sloId:d,name:e,description:f,parentId:h,elements:k,effectiveElements:b,isArchived:c,alertState:a}},Fxa=function(a){var b=Hxa(a.getMetric()),c=a.getMatcher();a:{var d=
a.getDayType();switch(d){case 0:d="CALENDAR";break a;case 1:d="CALENDAR";break a;case 2:d="BUSINESS";break a;default:throw Error("jc`"+d);}}return{metric:b,matcher:c,dayType:d,objective:Uk(a.getObjective()),businessDays:a.getBusinessDays()}},Hxa=function(a){switch(a){case 0:return"METRIC_UNSPECIFIED";case 1:return"ASSIGNMENT";case 2:return"RESPONSE";case 3:return"CLOSURE";default:throw Error("ic`"+a);}},Jxa=function(a){var b=new Hl,c=Ixa(a.metric);b=Cl(b,1,c).setMatcher(a.matcher);c=b.setDayType;
a:{var d=a.dayType;switch(d){case "DAY_TYPE_UNSPECIFIED":d=0;break a;case "CALENDAR":d=1;break a;case "BUSINESS":d=2;break a;default:throw Error("jc`"+d);}}return c.call(b,d).setObjective(vwa(a.objective)).setBusinessDays(a.businessDays)},Ixa=function(a){switch(a){case "METRIC_UNSPECIFIED":return 0;case "ASSIGNMENT":return 1;case "RESPONSE":return 2;case "CLOSURE":return 3;default:throw Error("kc`"+a);}},Kxa=function(a){var b=a.getUser();return{user:b?$k(b):{},isLead:Hi(a,2)}},Lxa=function(a){var b=
new Il;return yl(b,2,a.isLead).setUser(Zk(a.user))},Mxa=function(a){var b=new Jl;b.setInherit(a.inherit).setId(Number(a.sloId)).setComment(a.comment).setSourceTeamId(Number(a.sourceTeamId));return b},Nxa=function(a){return(new Kl).setInherit(a.inherit).setId(a.id)},Oxa=function(a){return{teamId:a.getTeamId(),score:a.getScore()}},Pxa=function(a){return(new Ll).setTeamId(a.teamId).setScore(a.score)},Qxa=function(a){var b=fl(a);if(null==b)throw Error("lc`"+a);return b},Rxa=function(a){var b=zi(a,Ml,
4).map(rxa);b=new Map(b.map(function(q){return[q.fieldId.customFieldId,q]}));var c,d,e=null!=(d=null==(c=zi(a,xl,5))?void 0:c.map(gxa))?d:[];c=l(e);for(d=c.next();!d.done;d=c.next()){d=d.value;var f=b.get(d.customFieldId);f&&(d.enabledOnIssues=f.enabledOnIssues,d.stateOnIssues=f.stateOnIssues)}var h,k;return{componentPathId:null!=(k=null==(h=Gj(a,1))?void 0:h.map(Qxa))?k:[],componentPathName:Yh(a,2),allCustomField:e}},Uxa=function(a){if(a)return(a=vi(a,Sxa,1))?(a=a.getSeverity(),a={piiVerdict:a?{severity:Txa(a)}:
{severity:"NONE_DETECTED"}}):a={piiVerdict:{severity:"NONE_DETECTED"}},a},Txa=function(a){switch(a){case 0:case 1:return"NONE_DETECTED";case 2:return"RESTRICTED";case 3:return"RESTRICTED_PLUS";default:throw Error("mc`"+a);}},Vxa=function(a){switch(a){case "RESTRICTION_SEVERITY_UNSPECIFIED":case "NONE_DETECTED":return 1;case "RESTRICTED":return 2;case "RESTRICTED_PLUS":return 3;default:throw Error("mc`"+a);}},Wxa=function(a){var b=new Nl;b=Gl(b,1,a.contentJudgementId);b=Ol(b,2,a.resourcePath);var c=
Vxa(a.severity);b=Cl(b,3,c);b=Ol(b,4,a.judgementReason);return Ol(b,8,a.contentJudge)},Xxa=function(a){var b=new Nl;var c=Vxa(a.severity);b=Cl(b,3,c);return Ol(b,4,a.judgementReason)},Zxa=function(a){if(a){a:{var b=a.getStatus();switch(b){case 0:b="ACTIVE";break a;case 1:b="DELETED";break a;case 2:b="PURGED";break a;default:throw Error("nc`"+b);}}return{status:b,reason:Yxa(a.getReason())}}},Yxa=function(a){switch(a){case 0:return"UNSPECIFIED";case 1:return"USER_REQUEST";case 2:return"ABUSE";case 3:return"RESTRICTED";
case 4:return"RETENTION";case 5:return"ACCOUNT_CAPABILITIES";default:throw Error("oc`"+a);}},cya=function(a){var b=void 0,c=a.getContentVerdict();c&&(b=Uxa(c));c=void 0;var d=a.getFormattedComment();d&&(c=$xa(d));d=void 0;var e=vi(a,Yk,3);e&&(d=$k(e));e=void 0;var f=a.getEtag();f&&(e=Mwa(f));f=void 0;var h=a.getEntityStatus();h&&(f=Zxa(h));h=void 0;var k=a.getRestrictedRetentionState();k&&(h=sxa(k));return{issueId:String(a.getIssueId()),commentNumber:a.getCommentNumber(),commentContentVerdict:b,formattingMode:aya(a.getFormattingMode()),
formattedComment:c,lastEditorUser:d,lastModified:ywa(a.getModifiedTime()),version:a.getVersion(),unlinkifiedComment:a.getComment(),entityStatus:f,piiRetentionState:h,piiRetention:xxa(a.getRestrictedRetention()),redacted:Hi(a,13),etag:e,commentReactions:bya(vi(a,Pl,17))}},$xa=function(a){if(a.hasPlainFormat()){var b;var c={plainSection:(null!=(b=a.getPlainFormat().getPlainSectionList())?b:[]).map(dya)}}else c=void 0;return{plainFormat:c,markdownFormat:a.hasMarkdownFormat()?{content:xj(a.getMarkdownFormat().getContent())}:
void 0,literalFormat:a.hasLiteralFormat()?{content:xj(a.getLiteralFormat().getContent())}:void 0}},dya=function(a){return{isQuoted:a.getIsQuoted(),content:xj(a.getContent())}},fya=function(a){return(new eya).setIsQuoted(a.isQuoted).setContent(vj(a.content))},aya=function(a){switch(a){case 0:case 1:return"PLAIN";case 2:return"MARKDOWN";case 3:return"LITERAL";default:throw Error("pc`"+a);}},Ql=function(a){switch(a){case "PLAIN":return 1;case "MARKDOWN":return 2;case "LITERAL":return 3;case void 0:case null:case "UNSPECIFIED_FORMATTING_MODE":return 1;
default:throw Error("pc`"+a);}},bya=function(a){var b;a=null!=(b=null==a?void 0:a.getReactionStatesList())?b:[];b=new Map;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;a:{var d=c.getType();switch(d){case 0:d="REACTION_TYPE_UNSPECIFIED";break a;case 1:d="UPVOTE";break a;default:throw Error("qc`"+d);}}var e=void 0,f=void 0,h=void 0,k=void 0,q={type:d,hasReacted:null!=(f=c.getHasReacted())?f:!1,count:null!=(h=c.getCount())?h:0,recentResponders:null!=(k=null==(e=c.getRecentRespondersList())?
void 0:e.map($k).filter(jl))?k:[]};b.set(d,q)}return b},gya=function(a){return a.map(function(b){return b.getMentionedUser()}).filter(jl).map($k).map(function(b){return{mentionedUser:b}})},Rl=function(a){switch(a.getIdentityCase()){case 0:throw Error("rc");case 1:return{user:$k(a.getUser())};case 2:return{group:$k(a.getGroup())};case 3:return{alias:a.getAlias()};default:throw Error("sc");}},Tl=function(a){var b=new Sl;ji(a)&&b.setUser(Zk(a.user));ki(a)&&b.setGroup(Zk(a.group));void 0!==a.alias&&b.setAlias(a.alias);
return b},hya=function(a){var b=new Ul;switch(a){case "ACCESS_LEVEL_UNSPECIFIED":b.setAccessLevel(0);break;case "LIMIT_NONE":b.setAccessLevel(1);break;case "LIMIT_VIEW":b.setAccessLevel(2);break;case "LIMIT_APPEND":b.setAccessLevel(3);break;case "LIMIT_VIEW_TRUSTED":b.setAccessLevel(4);break;default:throw Error("vc");}return b},iya=function(a){switch(a.getAccessLevel()){case 0:return"ACCESS_LEVEL_UNSPECIFIED";case 1:return"LIMIT_NONE";case 2:return"LIMIT_VIEW";case 3:return"LIMIT_APPEND";case 4:return"LIMIT_VIEW_TRUSTED";
default:throw Error("vc");}},kya=function(a){var b=new Vl;var c=new jya;a=a?new Ga(a,Ha):Fa();c=Wl(c,2,a);b=ej(b,jya,5,c);c=b.setEntityStatus;a=new Xl;a=a.setStatus.call(a,0).setReason(0);return c.call(b,a)},lya=function(a){switch(a){case 1:return"BUG";case 3:return"CUSTOMER_ISSUE";case 2:return"FEATURE_REQUEST";case 4:return"INTERNAL_CLEANUP";case 5:return"PROCESS";case 6:return"VULNERABILITY";case 7:return"PRIVACY_ISSUE";case 10:return"PROJECT";case 11:return"FEATURE";case 12:return"MILESTONE";
case 13:return"EPIC";case 14:return"STORY";case 15:return"TASK";case 8:return"TYPE_UNSPECIFIED";case 9:return"TYPE_UNSPECIFIED";case 0:return"TYPE_UNSPECIFIED";default:return"TYPE_UNSPECIFIED"}},mya=function(a){switch(a){case "BUG":return 1;case "CUSTOMER_ISSUE":return 3;case "FEATURE_REQUEST":return 2;case "INTERNAL_CLEANUP":return 4;case "PROCESS":return 5;case "VULNERABILITY":return 6;case "PRIVACY_ISSUE":return 7;case "PROJECT":return 10;case "FEATURE":return 11;case "MILESTONE":return 12;case "EPIC":return 13;
case "STORY":return 14;case "TASK":return 15;case "TYPE_UNSPECIFIED":return 0;default:return 0}},vya=function(a){var b=a.getAccessLimit(),c=nya[Li(a,30,0)],d,e,f,h,k,q,t,w,y,C,J,I,P,O,U,aa,na,sa,Ba,Pa,Ja,cb=a.getComponentId(),qb=a.getType()?lya(a.getType()):null,Ra=a.getStatus()?oya[a.getStatus()]:null,fa=a.getPriority()?pya[a.getPriority()]:null,wa=a.getSeverity()?qya[a.getSeverity()]:null,Ca=a.getTitle(),Wa=a.getReporter()?$k(a.getReporter()):null,Va=a.getAssignee()?$k(a.getAssignee()):null,qd=
a.getVerifier()?$k(a.getVerifier()):null,$a=null!=(t=null==(d=a.getCcsList())?void 0:d.map($k))?t:[];d=null!=(w=null==(e=a.getCollaboratorsList())?void 0:e.map($k))?w:[];e=a.getCanonicalIssueId()?String(a.getCanonicalIssueId()):null;w=null!=(y=null==(f=a.getBlockedByIssueIdsList())?void 0:f.map(String))?y:[];f=null!=(C=null==(h=a.getBlockingIssueIdsList())?void 0:h.map(String))?C:[];h=null!=(J=a.getHotlistIdsList())?J:[];J=null!=(I=null==(k=a.getCustomFieldsList())?void 0:k.map(bxa).filter(jl))?I:
[];k=null!=(P=a.getCodeChangesList())?P:[];P=null!=(O=zi(a,rya,35).map(sya))?O:[];O=null!=(U=Yh(a,17))?U:[];U=null!=(aa=Yh(a,18))?aa:[];aa=null!=(na=Yh(a,19))?na:[];na=a.getInProd();I=a.getIsArchived();C=null!=(sa=null==(q=a.getDuplicateIssueIdsList())?void 0:q.map(String))?sa:[];q=a.getIsDeleted();sa=tya[Li(a,24,0)];y=null!=(Ba=Uk(a.getSloSnoozeUntil()))?Ba:null;Ba=null!=(Pa=Uk(a.getSloEndTime()))?Pa:null;Pa=null!=(Ja=Yh(a,27))?Ja:[];Ja=uya[a.getRetention()];a.hasEffort()?(a=a.getEffort(),a={specId:Ui(a,
1),estimate:xi(a,2),averageDays:pl(a,3),totalOpen:pl(a,4),totalComplete:pl(a,5)}):a=void 0;return{componentId:cb,type:qb,status:Ra,priority:fa,severity:wa,title:Ca,reporterUser:Wa,assigneeUser:Va,verifierUser:qd,ccUsers:$a,collaboratorsUsers:d,duplicateOfIssueId:e,blockedByIssueId:w,blockingIssueId:f,hotlistId:h,customField:J,changelist:k,gerritChanges:P,foundInVersion:O,targetedToVersion:U,verifiedInVersion:aa,inProd:na,isArchived:I,duplicateIssueId:C,isDeleted:q,deletionReason:sa,sloStartTime:y,
sloEndTime:Ba,sloSnoozeType:"SLO_SNOOZE_TYPE_UNSPECIFIED"===c?null:c,postmortems:Pa,retention:Ja,effort:a,issueAccessLimitLevel:null!=b?iya(b):null,comment:"",formattingMode:void 0}},Cya=function(a){var b=new Yl;a.componentId&&b.setComponentId(a.componentId);a.title&&b.setTitle(a.title);null!=a.type&&b.setType(mya(a.type));null!=a.inProd&&b.setInProd(a.inProd);null!=a.isArchived&&b.setIsArchived(a.isArchived);null!=a.status&&b.setStatus(wya[a.status]);null!=a.priority&&b.setPriority(xya[a.priority]);
null!=a.severity&&b.setSeverity(yya[a.severity]);a.reporterUser&&b.setReporter(Zk(a.reporterUser));a.assigneeUser&&b.setAssignee(Zk(a.assigneeUser));a.verifierUser&&b.setVerifier(Zk(a.verifierUser));a.ccUsers&&b.setCcsList(a.ccUsers.map(Zk));a.collaboratorsUsers&&b.setCollaboratorsList(a.collaboratorsUsers.map(Zk));a.duplicateOfIssueId&&b.setCanonicalIssueId(Number(a.duplicateOfIssueId));a.blockedByIssueId&&b.setBlockedByIssueIdsList(a.blockedByIssueId.map(Number));a.blockingIssueId&&b.setBlockingIssueIdsList(a.blockingIssueId.map(Number));
a.hotlistId&&b.setHotlistIdsList(a.hotlistId);a.customField&&b.setCustomFieldsList(a.customField.map(cxa));a.changelist&&b.setCodeChangesList(a.changelist);if(a.gerritChanges){var c=a.gerritChanges.map(zya);Zl(b,35,c)}a.foundInVersion&&pj(b,17,a.foundInVersion);a.targetedToVersion&&pj(b,18,a.targetedToVersion);a.verifiedInVersion&&pj(b,19,a.verifiedInVersion);a.duplicateIssueId&&b.setDuplicateIssueIdsList(a.duplicateIssueId.map(Number));null!=a.isDeleted&&b.setIsDeleted(a.isDeleted);null!=a.deletionReason&&
b.setDeletionReason(Aya[a.deletionReason]);a.sloStartTime&&b.setSloSnoozeUntil(Vk(a.sloStartTime));a.sloEndTime&&b.setSloEndTime(Vk(a.sloEndTime));null!=a.sloSnoozeType&&b.setSloSnoozeType(Bya[a.sloSnoozeType]);null!=a.retention&&b.setRetention(yxa(a.retention));if(a.effort){c=b.setEffort;var d=a.effort,e=new $l;d.specId&&Gl(e,1,d.specId);d.estimate&&Ol(e,2,d.estimate);d.averageDays&&Ob(e,3,kb(d.averageDays),0);d.totalOpen&&Ob(e,4,kb(d.totalOpen),0);d.totalComplete&&Ob(e,5,kb(d.totalComplete),0);
c.call(b,e)}a.issueAccessLimitLevel&&b.setAccessLimit(hya(a.issueAccessLimitLevel));return b},sya=function(a){return{host:xi(a,1),repo:xi(a,2),changeNumber:a.getChangeNumber(),state:Dya[a.getState()]}},zya=function(a){var b=(new rya).setHost(a.host);return Ol(b,2,a.repo).setChangeNumber(a.changeNumber).setState(Eya[a.state])},Fya=function(a){return{author:pi(a.getAuthor()),timestamp:Uk(a.getTimestamp()),add:am(a.getAdd()),remove:am(a.getRemove()),addMask:Owa(a.getAddMask()),removeMask:Owa(a.getRemoveMask())}},
Gya=function(a){var b;return{updates:(null!=(b=a.getUpdatesList())?b:[]).map(Fya)}},am=function(a){a=a.getIt();var b=Pi(a,Dl,15)?uxa(vi(a,Dl,15)):void 0,c=Pi(a,bm,7)?Rxa(vi(a,bm,7)):void 0;if(a.hasSlo()){var d=a.getSlo();d={inherit:d.getInherit(),source:Hya[d.getSource()],id:String(d.getId()),sourceComponentId:String(Ui(d,6)),sourceTeamId:String(d.getSourceTeamId()),comment:d.getComment()}}else d=void 0;var e;if(Pi(a,zl,18)){var f=a.getEffortSpec(),h=f.getInherit(),k=f.getId(),q=f.getName();a:switch(Li(f,
6,0)){case 2:var t="MAX";break a;case 1:t="SUM";break a;default:t="AGGREGATION_TYPE_UNSPECIFIED"}h={inherit:h,id:k,name:q,aggregationType:t,customFieldId:f.getCustomFieldId()};if(cm(f,mxa,4,dm)){if(e=ql(f,mxa,4,dm))h.numericSpec={multiplier:pl(e,1)}}else if(cm(f,Al,5,dm)&&(f=ql(f,Al,5,dm),h.enumSpec={options:[]},f&&0<(null==f?void 0:null==(e=zi(f,Bl,1))?void 0:e.length)))for(e=l(zi(f,Bl,1)),f=e.next();!f.done;f=e.next())f=f.value,q=k=void 0,null==(k=h.enumSpec)||null==(q=k.options)||q.push({label:f.getLabel(),
value:f.getValue()});e=h}else e=void 0;Pi(a,Kl,16)?(h=a.getTeam(),h={inherit:h.getInherit(),id:String(h.getId())}):h=void 0;f=Qwa(a.getAccessLimit());k=Li(a,21,0);k=2===k?"ALL_PROTECTIONS":1===k?"NO_PROTECTIONS":f?"EXTERNAL_PUBLIC"===f.accessLevel?"ALL_PROTECTIONS":"NO_PROTECTIONS":"NO_PROTECTIONS";var w,y;q=a.getComponentId();t=Ui(a,3);var C=a.getName(),J=a.getDescription(),I=a.getIsArchived(),P="buganizer-system+"+a.getComponentId()+"@google.com";var O=1===Li(a,10,0)?"ENABLED":"DISABLED";return{componentId:q,
parentComponentId:t,name:C,description:J,archived:I,componentPathInfo:c,accessLimit:f,emailAlias:P,commentEditState:O,defaultTemplateId:Qxa(Ui(a,6)),slo:d,bugscopeSloId:String(Ui(a,14)),retentionSettings:b,fieldOrdering:Iya[Li(a,17,0)],effortSpec:e,team:h,teamSuggestions:null!=(y=null==(w=a.getTeamSuggestionsList())?void 0:w.map(Oxa))?y:[],trackerId:a.getTrackerId()?String(a.getTrackerId()):void 0,spamProtection:k}},Jya=function(a){var b=new em;b=Gl(b,3,a.parentComponentId).setName(a.name).setDescription(a.description);
a.commentEditState&&b.setCommentEditState("ENABLED"===a.commentEditState?1:2);a.retentionSettings&&(a=wxa(a.retentionSettings),ej(b,Dl,15,a));return(new fm).setIt(b)},Kya=function(a){var b;return(null!=(b=zi(a,fm,1))?b:[]).map(am)},Lya=function(a){return{warningHeader:xi(a,1),warning:xi(a,2),isAllowed:Hi(a,3),isExternalMove:Hi(a,4)}},Nya=function(a){a=a.getIt();var b=vya(a.getIssueState());a.getComment()&&(b.comment=a.getComment());a.getFormattingMode()&&(b.formattingMode=Mya[a.getFormattingMode()]);
return{componentId:a.getComponentId(),templateId:a.getTemplateId(),name:a.getName(),description:a.getDescription(),default:Hi(a,9),snapshot:b}},Oya=function(a){var b=new gm,c=b.setIt,d=(new hm).setFormattingMode(Ql(a.snapshot.formattingMode)).setComment(a.snapshot.comment).setComponentId(a.componentId).setTemplateId(a.templateId).setName(a.name).setDescription(a.description);a=yl(d,9,a.default).setIssueState(Cya(a.snapshot));return c.call(b,a)},Pya=function(a){var b;return(null!=(b=zi(a,fm,1))?b:
[]).map(am)},Qya=function(a){return{componentPath:a.getComponentPath(),retentionSettings:uxa(vi(a,Dl,3))}},Sya=function(a){return zi(a,Rya,2).map(Qya)},im=function(a){return a&&a.piiVerdict?a.piiVerdict.severity:"NONE_DETECTED"},Tya=function(a){switch(a){case "NONE_DETECTED":return 1;case "RESTRICTED":return 2;case "RESTRICTED_PLUS":return 3;default:return 1}},Uya=function(a){switch(a){case "RESTRICTED":return"Restricted";case "RESTRICTED_PLUS":return"Restricted+";default:return""}},Vya=function(a){a=
a.getIt();return{contentJudgementId:Ui(a,1)?String(Ui(a,1)):void 0,resourcePath:xi(a,2)||void 0,severity:Txa(a.getRestrictionSeverity()),judgementReason:xi(a,4),contentJudge:xi(a,8)}},Wya=function(a){return(new jm).setIt(Xxa(a))},Xya=function(a){return{encryptedMedia:lca(km(a,1)),errorMessage:a.getErrorMessage()}},Zya=function(a){var b=new Yya;lm(b,1,bb(a.attachment,!1,!0,!1));void 0!==a.contentJudgement&&b.setContentJudgement(Wya(a.contentJudgement));return b},$ya=function(a){var b;return{attachments:(null!=
(b=a.getAttachmentsList())?b:[]).map(mm)}},mm=function(a){if(null!=a){a=a.getIt();var b=fl(a.getAttachmentId());var c=a.getFilename();var d=a.getLength()||void 0,e=xi(a,2);c=c&&e?{filename:c,length:d,contentType:e}:void 0;return{attachmentId:b,media:c,contentType:xi(a,2),filename:a.getFilename(),length:a.getLength(),etag:Mwa(a.getEtag())||"",contentVerdict:Uxa(a.getContentVerdict()),entityStatus:Zxa(a.getEntityStatus()),piiRetentionState:sxa(a.getRestrictedRetentionState()),piiRetention:xxa(a.getRestrictedRetention())}}},
cza=function(a){if(null!=a)return{reason:aza[a.getReason()],status:bza[a.hasStatus()?a.getStatus():0]}},dza=function(a){if(null!=a)return Zwa(a.getIt())},eza=function(a){return(new nm).setIt(axa(a))},fza=function(a){if(null!=a)return fxa(a.getIt())},gza=function(a){a:{if(a=vi(a,om,1))if(a=fza(a)){a=Vwa(a);break a}a=void 0}return a},hza=function(a){return(new om).setIt(jxa(a))},iza=function(a){a=a.getIt();return{customFields:a.getCustomFieldsList().map(fxa),nextPageToken:a.getNextPageToken(),totalSize:a.getTotalSize()}},
mza=function(a){if(null!=a){var b=a.getName();if(null==b)Bk("No name. eventDiffToJs");else{b={name:b,displayName:hl(a.getDisplayName()),timestamp:wwa(a.getTimestamp()),important:!!Hi(a,5),type:jza[a.getType()]};if(cm(a,pm,6,qm)){var c=ql(a,pm,6,qm);if(cm(c,kza,1,rm)){var d=ql(c,kza,1,rm);b.isUser=!0;b.oldValue=il("<none>")(qi(null==d?void 0:vi(d,ri,1)));b.newValue=il("<none>")(qi(null==d?void 0:vi(d,ri,2)))}if(cm(c,sm,2,rm)){var e,f;b.oldValue=hl(null==(e=ql(a,pm,6,qm))?void 0:null==(f=ql(e,sm,2,
rm))?void 0:f.getOldValue());var h,k;b.newValue=hl(null==(h=ql(a,pm,6,qm))?void 0:null==(k=ql(h,sm,2,rm))?void 0:k.getNewValue())}}else if(cm(a,tm,9,qm)){var q;b.customFieldId=hl(null==(q=ql(a,tm,9,qm))?void 0:q.getCustomFieldId());var t;b.oldValue=hl(null==(t=ql(a,tm,9,qm))?void 0:t.getOldValue());var w;b.newValue=hl(null==(w=ql(a,tm,9,qm))?void 0:w.getNewValue())}else if(cm(a,um,10,qm))e=ql(a,um,10,qm),b.isUser=!0,a=(null==e?void 0:e.getAddedList())||[],e=(null==e?void 0:e.getRemovedList())||[],
b.added=a.map(function(J){return qi(J)}).map(il("<none>")),b.removed=e.map(function(J){return qi(J)}).map(il("<none>"));else if(cm(a,wm,7,qm)){var y;b.added=(null==(y=ql(a,wm,7,qm))?void 0:y.getAddedList())||[];var C;b.removed=(null==(C=ql(a,wm,7,qm))?void 0:C.getRemovedList())||[]}else cm(a,xm,8,qm)?(e=(null==(d=ql(a,xm,8,qm))?void 0:d.getAddedList())||[],a=(null==(c=ql(a,xm,8,qm))?void 0:c.getRemovedList())||[],b.added=e.map(lza).filter(jl),b.removed=a.map(lza).filter(jl)):cm(a,ym,11,qm)?(a=cza(ql(a,
ym,11,qm).getEntityStatus()),b.statusUpdateDiff={entityStatus:a}):Bk("Unhandled diff type '"+b.type+"'");return b}}},lza=function(a){if(null!=a){var b=a.getValue();if(null==b)Bk("No value. linkedItemToJs");else if(a=a.getHref(),null==a)Bk("No href. linkedItemToJs");else return{value:b,href:a}}},zm=function(a,b){return function(c,d){return nza(c,a,b,d)}},nza=function(a,b,c,d){d=void 0===d?"":d;return""===d?a:[].concat(u(a)).sort(function(e,f){var h="asc"===d?1:-1;return c(b(e),b(f))*h})},Am=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},oza=function(a,b){return null==a||null==b?null==a&&null==b?0:null==a?1:null==b?-1:0:a.localeCompare(b)},Bm=function(a,b){var c=void 0===c?function(e){return e}:c;if(pza()&&(a=c(a),b=c(b),!$h(a,b))){var d=function(e,f){if(f instanceof Array)return f;if(!(f instanceof Object))return f;e=zm(function(h){h=l(h);var k=h.next().value;h.next();return k},oza)([].concat(u(Object.entries(f))),
"asc");return Object.fromEntries(e)};c=function(e,f){return d(e,void 0===f?null:f)};console.error("Discrepancy of messages during LeanFE migration.\n    ### obj1: "+JSON.stringify(a,c,2)+"\n\n    ### obj2: "+JSON.stringify(b,c,2)+"\n    ");console.log({obj1:a,obj2:b})}},Cm=function(a){var b,c;return null!=(c=null==(b=Qsa().getConfig())?void 0:Lb(b,4,Mba).get(a))?c:!1},qza=function(a){return{noAccessEmails:Yh(a,1),unknownEmails:Yh(a,2)}},rza=function(a){if(null!=a){var b={},c;if(c=a.getUser())b.user=
pi(c);if(c=a.getGroup())b.group=pi(c);if(c=a.getAlias())b.alias=c;return b}},Em=function(a){var b=new Dm;if(ji(a))return b.setUser(si(a.user)),b;if(ki(a))return b.setGroup(si(a.group)),b;void 0!==a.alias&&b.setAlias(a.alias);return b},uza=function(a){var b=sza[a.getImplicitAccess()],c,d,e,f,h,k,q,t,w,y,C={admins:Fm(null!=(c=a.getAdminsList())?c:[]),appenders:Fm(null!=(d=a.getAppendersList())?d:[]),editors:Fm(null!=(e=a.getEditorsList())?e:[]),readers:Fm(null!=(f=a.getReadersList())?f:[]),restrictedReaders:Fm(null!=
(h=a.getRestrictedReadersList())?h:[]),restrictedPlusReaders:Fm(null!=(k=a.getRestrictedPlusReadersList())?k:[]),inheritedAdmins:Fm(null!=(q=a.getInheritedAdminsList())?q:[]),implicitAppenders:Fm(null!=(t=a.getImplicitAppendersList())?t:[]),implicitEditors:Fm(null!=(w=a.getImplicitEditorsList())?w:[]),implicitReaders:Fm(null!=(y=a.getImplicitReadersList())?y:[]),implicitAccess:b};if(tza&&a.hasIt()){w=a.getIt();a=w.getAdminsList().map(Rl);b=w.getAppendersList().map(Rl);c=w.getEditorsList().map(Rl);
d=w.getReadersList().map(Rl);e=w.getRestrictedReadersList().map(Rl);f=w.getRestrictedPlusReadersList().map(Rl);h=w.getInheritedAdminsList().map(Rl);k=w.getImplicitAppendersList().map(Rl);q=w.getImplicitEditorsList().map(Rl);t=w.getImplicitReadersList().map(Rl);a:switch(w.getImplicitAccess()){case 0:w="IMPLICIT_ACCESS_UNSPECIFIED";break a;case 1:w="ALLOW";break a;case 2:w="DENY";break a;default:throw Error("tc");}a={admins:a,appenders:b,editors:c,readers:d,restrictedReaders:e,restrictedPlusReaders:f,
inheritedAdmins:h,implicitAppenders:k,implicitEditors:q,implicitReaders:t,implicitAccess:w};Bm(C,a);return a}return C},Fm=function(a){return a.map(rza).filter(jl)},wza=function(a){if(a.hasPlainFormat()){var b;var c={plainSection:(null!=(b=a.getPlainFormat().getPlainSectionList())?b:[]).map(vza)}}else c=void 0;return{plainFormat:c,markdownFormat:a.hasMarkdownFormat()?{content:xj(a.getMarkdownFormat().getContent())}:void 0,literalFormat:a.hasLiteralFormat()?{content:xj(a.getLiteralFormat().getContent())}:
void 0}},vza=function(a){return{isQuoted:a.getIsQuoted(),content:xj(a.getContent())}},yza=function(a){return(new xza).setIsQuoted(a.isQuoted).setContent(vj(a.content))},Aza=function(a){var b=a.getMentionsList().map(function(c){return qi(c.getMentionedUser())||""});return zza&&a.hasIt()?(a=gya(a.getIt().getMentionsList()).map(function(c){return c.mentionedUser}).map(qi).map(function(c){return c||""}),Bm(b,a),a):b},Bza=function(a){var b=a.hasFormattedComment()?wza(a.getFormattedComment()):{};return zza&&
a.hasIt()?(a=a.getIt(),a=a.hasFormattedComment()?$xa(a.getFormattedComment()):{},Bm(b,a),a):b},Cza=function(a){var b;return 1===(null==(b=a.getTeamSloEditPolicy())?void 0:Li(b,2,0))},Dza=function(a){var b;return 1===(null==(b=vi(a,Hm,1))?void 0:b.getEffectiveSloEditPolicy())},Eza=function(a){var b=vi(a,Yk,2);a:{var c=Li(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:Oh(c)}c=void 0}var d=a.getTimeZone(),e=vi(a,Im,6);if(null==b)throw Error("wc");
if(null==c)throw Error("xc");if(null==d)throw Error("yc");if(null==e)throw Error("zc");var f=a.getId();b=$k(b);a=Xh(a,4);var h={id:d.getId()};d.getVersion()&&(h.version=d.getVersion());return{id:f,lead:b,frequency:c,ordinal:a,timeZone:h,timeOfDay:{hours:e.getHours(),minutes:e.getMinutes(),seconds:e.getSeconds(),nanos:e.getNanos()}}},Gza=function(a){var b=(new Jm).setId(a.id),c=Zk(a.lead);b=ej(b,Yk,2,c).setFrequency(Fza(a.frequency));b=Tk(b,4,a.ordinal);c=b.setTimeZone;var d=a.timeZone,e=(new Km).setId(d.id);
d.version&&e.setVersion(d.version);b=c.call(b,e);a=a.timeOfDay;a=(new Im).setHours(a.hours).setMinutes(a.minutes).setSeconds(a.seconds).setNanos(a.nanos);return ej(b,Im,6,a)},Hza=function(a){return Gxa(a.getIt())},Iza=function(a){var b=new Lm,c=b.setIt;var d=(new Mm).setSloId(a.sloId).setName(a.name).setDescription(a.description).setParentId(a.parentId);var e=a.elements.map(Jxa);d=Zl(d,5,e);e=a.effectiveElements.map(Jxa);d=Zl(d,6,e).setIsArchived(a.isArchived);a:switch(a=a.alertState,a){case "OFF":a=
1;break a;case "ON":a=2;break a;default:throw Error("hc`"+a);}a=Cl(d,8,a);return c.call(b,a)},Jza=function(a){a=a.getIt();return{author:$k(a.getAuthor()),timestamp:Uk(a.getTimestamp()),add:Gxa(a.getAdd()),remove:Gxa(a.getRemove()),addMask:Owa(a.getAddMask()),removeMask:Owa(a.getRemoveMask())}},Fza=function(a){switch(a){case "daily":return 1;case "weekly":return 2;case "monthly":return 3;default:return Oh(a)}},Kza=function(a){if(null!=a)return{tag:a.getTag(),text:a.getText()}},Nza=function(a,b,c,d){if(Lza){var e=
new Nm,f=e.setIt;a=(new Om).setIssueId(a);b&&a.setIssueAccessLimit(hya(b));c&&a.setAddedCollaboratorsList(c.map(Zk));d&&a.setRemovedCollaboratorsList(d.map(Zk));return f.call(e,a)}e=(new Nm).setIssueId(a);b&&(b=Mza[b])&&(b=(new Ul).setAccessLevel(b),e.setIssueAccessLimit(b));c&&e.setAddedCollaboratorsList(c.map(si));d&&e.setRemovedCollaboratorsList(d.map(si));return e},Oza=function(a){var b=new Pm;b.setIssueId(String(a));return b},Qza=function(a){var b=new Pza;b.setIssueId(String(a.issueId));b.setComponentId(String(a.componentId));
return b},Sza=function(a){var b=new Rza;b.setIssueId(String(a.issueId));b.setComponentId(String(a.componentId));return b},Tza=function(a){return{issueId:Wwa(a.getIssueId()),status:oya[a.getStatus()],title:a.getTitle()}},Wza=function(a){var b=new Uza;b.setFieldName(a.fieldName);a.value&&b.setValue(a.value);a.actionType&&b.setActionType(Vza[a.actionType]);if(a.customFieldValue){var c=b.setCustomFieldValue;a=a.customFieldValue;a=(new Qm).setIt(cxa(a));c.call(b,a)}return b},Yza=function(a){var b=new Xza;
b.setIssueId(String(a.issueId));b.setActionsList(a.actions.filter(function(c){return!c.ignoreOnIssueEditRequest}).map(Wza));return b},aAa=function(a){var b=new Zza,c=a.addHotlistIds.map(String);Nb(b,1,c,rb);c=a.removeHotlistIds.map(String);Nb(b,2,c,rb);var d=a.hotlistIssue;a=new Rm;a.setIssueId(String(d.issueId));d.position&&a.setPosition(d.position);if(d.issue){c=a.setIssue;d=d.issue;var e=new Sm;e.setIssueId(String(d.issueId));e.setVersion(d.version);d.snapshot&&d.snapshot[0]&&e.setIssueState(Cya(d.snapshot[0]));
if(d.userData){var f=e.setUserData,h=d.userData,k=new Tm;h.voted&&k.setVoted(h.voted);h.starred&&k.setStarred(h.starred);h.notificationSubscription&&k.setNotificationSubscription($za[h.notificationSubscription]);void 0!==h.lastViewedTimeMicros&&nj(k,5,h.lastViewedTimeMicros);f.call(e,k)}if(d.aggregatedData){h=d.aggregatedData;f=new Um;f.setVoteCount(h.voteCount);nj(f,2,h.createdTimeMicros);nj(f,4,h.resolvedTimeMicros);nj(f,5,h.verifiedTimeMicros);nj(f,3,h.modifiedTimeMicros);f.setLastModifier(si(h.lastModifier));
f.setSloId(String(h.sloId));f.setTeamId(String(h.teamId));if(h.retentionState){k=f.setRetentionState;var q=h.retentionState;var t=new Vm;var w=t.setIt,y=new Wm;if(q.retentionPeriod){var C=vwa(q.retentionPeriod);ej(y,Wk,1,C)}q.scheduledDeletionTime&&(q=Vk(q.scheduledDeletionTime),ej(y,Xi,2,q));t=w.call(t,y);k.call(f,t)}h.sloStatus&&(k=f.setSloStatus,y=h.sloStatus,h=new Xm,t=h.setIt,w=new Ym,y.assignmentBounds&&(q=Cxa(y.assignmentBounds),ej(w,El,1,q)),y.responseBounds&&(q=Cxa(y.responseBounds),ej(w,
El,2,q)),y.closureBounds&&(y=Cxa(y.closureBounds),ej(w,El,3,y)),h=t.call(h,w),k.call(f,h));ej(e,Um,4,f)}d.accessLimit&&(f=Swa(d.accessLimit),ej(e,el,17,f));e.setCustomFieldsList(d.customFields.map(Vwa).map(hza));var J;e.setVisibleFieldsList((null!=(J=d.visibleFields)?J:[]).map(eza));nj(e,7,d.majorModifiedTimeMicros);e.setParentIssueIdsList(d.parentIssueIds);if(d.ancestors)for(J=e.getAncestorsMap(),f=l(d.ancestors.entries()),h=f.next();!h.done;h=f.next())h=l(h.value),w=h.next().value,h=h.next().value,
k=J,t=k.set,w=Number(w),y=new Zm,y.setSourceIssueIdsList(h.sourceIssueIds.map(fl).filter(jl)),t.call(k,w,y);e.setChildIssueCount(d.childIssueCount);e.setIsArchived(d.isArchived);c.call(a,e)}ej(b,Rm,3,a);return b},bAa=function(a){var b;return{issueDigests:(null!=(b=a.getIssueDigestsList())?b:[]).map(Tza),numTotalResults:a.getNumTotalResults()}},eAa=function(a){var b=new cAa;b.setIssueId(String(a.issueId));var c=a.targetIds.map(String);Nb(b,2,c,rb);b.setRelation(dAa[a.relation]);b.setActionType(Vza[a.actionType]);
return b},hAa=function(a){var b=new fAa;b.setIssueId(String(a.issueId));b.setRetention(gAa[a.retention]);a.significanceOverride&&b.setSignificanceOverride(ixa[a.significanceOverride]);return b},iAa=function(a){var b=new $m,c=b.setIt,d=(new an).setIssueState(Cya(a.snapshot));if(a.snapshot.comment){var e=(new bn).setComment(a.snapshot.comment).setFormattingMode(Ql(a.snapshot.formattingMode));ej(d,bn,4,e)}a.attachments&&d.addAllAttachments(a.attachments.map(kya));d=(new cn).setIssue(d);null!=a.templateId&&
(e=new dn,e=yl(e,1,!1).setTemplateId(a.templateId),ej(d,dn,3,e));a.contentJudgement&&(e=d.setContentJudgement,a=Cl(Xxa(a.contentJudgement),5,2),a=Cl(a,6,1),e.call(d,a));return c.call(b,d)},jAa=function(a){return{issueId:Wwa(a.getIssueId())}},gn=function(a){var b={issueId:Wwa(a.getIssueId()),updateText:a.getUpdateText(),formattedText:Pi(a,en,3)?wza(vi(a,en,3)):void 0,formattingMode:kAa(a.getFormattingMode()),author:hl(pi(a.getAuthor())),updateTime:hl(Uk(a.getUpdateTime())),version:a.getVersion()};
return lAa&&a.hasIt()?(a=a.getIt(),a={issueId:String(a.getIssueId()),updateText:a.getUpdateText(),formattedText:Pi(a,fn,3)?$xa(vi(a,fn,3)):void 0,formattingMode:a.getFormattingMode()?aya(a.getFormattingMode()):void 0,author:a.hasAuthor()?$k(a.getAuthor()):void 0,updateTime:a.hasUpdateTime()?hl(Uk(a.getUpdateTime())):void 0,version:a.getVersion()},Bm(b,a),a):b},kAa=function(a){switch(a){case 0:break;case 1:return"PLAIN";case 2:return"MARKDOWN";case 3:return"LITERAL";default:return Oh(a)}},mAa=function(a){var b=
(new hn).setQuery(a.query);b=hj(b,2,ixa[a.minimumSignificance]);return dj(b,3,a.maximumSize)},nAa=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("Ac");default:Oh(b)}b=void 0}b={status:b,summary:xi(a,2)};Pi(a,jn,3)&&(b.formattedSummary={content:xj(vi(a,jn,3).getContent())});return b},kn=function(a){if(null!=a){var b=a.getIssueId();if(null==b)Bk("No issueId. issueToJs");else{for(var c=new Map,d=l(a.getAncestorsMap().entries()),
e=d.next();!e.done;e=d.next()){var f=l(e.value);e=f.next().value;f=f.next().value;c.set(String(e),{sourceIssueIds:f.getSourceIssueIdsList().map(String)})}d=a.hasIssueState()?[vya(a.getIssueState())]:[];var h,k,q,t,w,y;e=a.getVersion();f=a.getUserData();if(null!=f){var C;f={voted:Xwa(f.getVoted()),starred:Xwa(f.getStarred()),notificationSubscription:oAa[f.getNotificationSubscription()],lastViewedTimeMicros:null!=(C=Ui(f,5))?C:0}}else f=void 0;C=Qwa(vi(a,el,17));var J=a.getCustomFieldsList().map(fza).filter(jl),
I=a.getVisibleFieldsList().map(dza).filter(jl),P;var O=vi(a,Um,4);if(null!=O){var U=void 0;O.hasSloStatus()&&(U=O.getSloStatus().getIt(),U={assignmentBounds:(null==U?0:Pi(U,El,1))?Axa(vi(U,El,1)):void 0,responseBounds:(null==U?0:Pi(U,El,2))?Axa(vi(U,El,2)):void 0,closureBounds:(null==U?0:Pi(U,El,3))?Axa(vi(U,El,3)):void 0});var aa,na,sa,Ba,Pa=null!=(aa=O.getVoteCount())?aa:0;aa=null!=(na=Ui(O,2))?na:0;na=null!=(sa=Ui(O,4))?sa:0;sa=null!=(Ba=Ui(O,5))?Ba:0;Ba=null!=(P=O.getModifiedTimeMicros())?P:0;
P=pi(O.getLastModifier());var Ja=fl(O.getSloId()),cb=fl(O.getTeamId());O=O.getRetentionState();O=null!=O?sxa(O.getIt()):void 0;P={voteCount:Pa,createdTimeMicros:aa,resolvedTimeMicros:na,verifiedTimeMicros:sa,modifiedTimeMicros:Ba,lastModifier:P,sloId:Ja,teamId:cb,retentionState:O,sloStatus:U}}else P=void 0;Ba=null!=(h=Ui(a,7))?h:0;h=null!=(k=a.getParentIssueIdsList())?k:[];k=null!=(q=a.getChildIssueCount())?q:0;q=null!=(t=a.getDescendantIssueCount())?t:0;t=null!=(w=a.getOpenDescendantIssueCount())?
w:0;w=a.getIsArchived();sa=(null!=(y=a.getRelatedLinksList())?y:[]).map(pAa);y="0"!==a.getTrackerId()?a.getTrackerId():void 0;U=a.hasStatusUpdate()?gn(a.getStatusUpdate()):void 0;a.hasUserActivityStats()?(a=a.getUserActivityStats(),a={oneDayViewCount:Ui(a,1),sevenDayViewCount:Ui(a,2),thirtyDayViewCount:Ui(a,3)}):a=void 0;return{issueId:b,version:e,userData:f,accessLimit:C,snapshot:d,customFields:J,visibleFields:I,aggregatedData:P,majorModifiedTimeMicros:Ba,parentIssueIds:h,ancestors:c,childIssueCount:k,
descendantCount:q,openDescendantCount:t,isArchived:w,relatedLinks:sa,trackerId:y,statusUpdate:U,userActivityStats:a}}}},rAa=function(a){if(null!=a){var b=wwa(vi(a,Xi,4));if(null==b)Bk("No modifiedDate. issueEventToJs");else{var c=!!Hi(a,8),d,e=null!=(d=qAa(a.getComment()))?d:{};d=a.hasStatusUpdate()?gn(a.getStatusUpdate()):void 0;var f,h=null==(f=zi(a,ln,2))?void 0:f.map(mza).filter(jl),k;f=null==(k=zi(a,ln,3))?void 0:k.map(mza).filter(jl);var q;k=null==(q=zi(a,mn,9))?void 0:q.map(Kza).filter(jl);
q=a.getAttachmentsList().map(mm).filter(jl);var t=qi(vi(a,ri,5));t=il("<none>")(t);var w=pi(vi(a,ri,5));return Object.assign({},e,{attachments:q,issueId:a.getIssueId(),version:a.getVersion(),modifiedDate:b,preDiffs:h,postDiffs:f,isMajorEvent:c,statusUpdate:d,taggedSummary:k,userPerformingAction:t,userPerformingActionUser:w})}}},sAa=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:hl(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}},qAa=function(a){return null==a?{}:sAa(nn(a))},pn=function(a){if(null!=a){var b=kn(a.getIssue());if(null==b)Bk("No issue. issueFetchResponseToJs");
else return a=rAa(vi(a,on,5)),{issue:b,firstEvent:a}}},tAa=function(a){var b=new qn;b.setIssueIdsList(a.issueIds.map(String));b.setActionsList(a.actions.map(Wza));return b},uAa=function(a){return{issueId:a.getIssueId(),message:a.getMessage()}},vAa=function(a){var b={};var c=Mb(a,1,Sm,wb);c=l(c.entries());for(var d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;b[Number(d)]=kn(e)}c={};d=Mb(a,3,fm,wb);d=l(d.entries());for(e=d.next();!e.done;e=d.next()){var f=l(e.value);
e=f.next().value;f=f.next().value;c[Number(e)]=am(f)}var h;a=(null!=(h=zi(a,rn,2))?h:[]).map(uAa);return{affectedIssues:b,componentMap:c,errors:a}},xAa=function(a){if(a.getIt()&&wAa){var b;return(null!=(b=a.getIt().getIssueCommentsList())?b:[]).map(cya).map(sAa)}var c;return(null!=(c=a.getIssueCommentsList())?c:[]).map(qAa)},pAa=function(a){var b=sn(a,yAa);switch(b){case 2:return b=ql(a,tn,2,yAa),0!==b.getCommentNumber()?{type:"issueReference",issueId:String(b.getIssueId()),commentNumber:b.getCommentNumber(),
sourceCommentNumber:Xh(a,3)}:{type:"issueReference",issueId:String(b.getIssueId()),sourceCommentNumber:Xh(a,3)};case 1:return{type:"hyperlink",href:ql(a,zAa,1,yAa).getHref(),sourceCommentNumber:Xh(a,3)};case 0:throw Error("Bc");default:return Oh(b)}},AAa=function(a){return{readTimestamp:Ui(a,1)}},BAa=function(a){a=a.getIt();var b=a.getIssueState(),c=b.getAccessLimit();b={type:lya(b.getType()),status:oya[b.getStatus()],priority:pya[b.getPriority()],severity:qya[b.getSeverity()],componentId:b.getComponentId(),
accessLimitLevel:null!=c?iya(c):null};return{issueId:String(a.getIssueId()),issueState:b,modifiedTime:Uk(a.getModifiedTime()),teamId:a.getTeamId()}},nn=function(a){return cya(a.getIt())},CAa=function(a){var b;return(null!=(b=a.getIssueCommentsList())?b:[]).map(nn)},EAa=function(a){var b=null==a?void 0:a.getReactionStatesList(),c=new Map;b=l(b||[]);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=void 0,f=null!=(e=DAa[d.getType()])?e:"REACTION_TYPE_UNSPECIFIED",h=e=void 0,k=void 0,q=void 0,t=
{type:f,hasReacted:null!=(h=d.getHasReacted())?h:!1,count:null!=(k=d.getCount())?k:0,recentResponders:null!=(q=null==(e=d.getRecentRespondersList())?void 0:e.map(pi).filter(jl))?q:[]};c.set(f,t)}return wAa?(a=bya(null==a?void 0:a.getIt()),Bm(c,a),a):c},FAa=function(a){var b=a.getIssuesList();if(b){var c=[];b=l(b);for(var d=b.next();!d.done;d=b.next())(d=d.value)&&(d=kn(d))&&c.push(d)}else c=[];b=a.getNumTotalResults();var e=a.getComponentsMap();d={};e=l(e.entries());for(var f=e.next();!f.done;f=e.next()){var h=
l(f.value);f=h.next().value;h=h.next().value;d[Number(f)]=am(h)}f=Lb(a,4,Nba);if(void 0!==f)for(e={},f=l(f.entries()),h=f.next();!h.done;h=f.next()){var k=l(h.value);h=k.next().value;k=k.next().value;e[Number(h)]=k}else e=void 0;return{issues:c,numTotalResults:b,componentMap:d,positionMap:e,nextPageToken:a.getNextPageToken()}},GAa=function(a){var b={};if(null==a)return b;a=l(zi(a,un,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},HAa=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})},JAa=function(a){for(var b={},c=l(a.getComponentsMap().entries()),d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;b[Number(d)]=am(e)}var f,h;return{issuesWithSignals:zi(a,vn,1).map(IAa),
numTotalResults:null!=(f=a.getNumTotalResults())?f:0,components:b,nextPageToken:null!=(h=a.getNextPageToken())?h:""}},IAa=function(a){return{issue:kn(a.getIssue()),signals:a.getSignalsList().map(KAa)}},KAa=function(a){return{signalType:hsa[Li(a,1,0)],timestamp:Uk(a.getTimestamp())}},LAa=function(a){return{dismissTimestamp:Pi(a,Xi,1)?Uk(vi(a,Xi,1)):void 0}},MAa=function(a){return Bsa[a]},NAa=function(a){if(a&1){var b=v();H(0,"div",2)(1,"button",3);Q("click",function(){x(b);var c=R();return z(c.action())});
T(2);K()()}a&2&&(a=R(),A(2),$f(a.data.action))},OAa=function(){},PAa=function(a){a&1&&(H(0,"span",6),T(1),K());a&2&&(a=R(),A(1),$f(a.data.message))},QAa=function(a){a&1&&L(0,"span",7);a&2&&(a=R(),G("innerHtml",a.data.htmlMessage,Vd))},SAa=function(a){if(a&1){var b=v();H(0,"button",8);Q("click",function(){x(b);var c=R();return z(RAa(c.snackBarRef))});T(1);K()}a&2&&(a=R(),A(1),V(" ",a.data.actionLabel," "))},TAa=function(a){if(a&1){var b=v();H(0,"button",8);Q("click",function(){x(b);var c=R();return z(c.snackBarRef.dismiss())});
T(1);K()}a&2&&(a=R(),A(1),V(" ",a.data.dismissLabel," "))},UAa=function(a){if(a&1){var b=v();H(0,"button",9);Q("click",function(){x(b);var c=R();return z(c.snackBarRef.dismiss())});L(1,"mat-icon",10);K()}},VAa=function(a){var b;return void 0!==(null==(b=a.error)?void 0:b.message)},wn=function(a){return!!a&&Aa(a)&&(!!a.data&&void 0!==a.data.message||VAa(a))},xn=function(a){return a.data&&void 0!==a.data.message&&a.data&&a.data.message?a.data.message:VAa(a)&&a.error&&a.error.message?a.error.message:
""},WAa=function(){},XAa=function(a){return 0<Object.values(a).length},YAa=function(a,b){a.next(Object.freeze(Object.assign({},a.getValue(),b)))},ZAa=function(a,b){var c=a.getValue();c=Object.assign({},c);b=(delete c[b],c);a.next(Object.freeze(b))},$Aa=function(a,b){var c=a.getValue(),d={};c=l(Object.entries(c));for(var e=c.next();!e.done;e=c.next()){var f=l(e.value);e=f.next().value;f=f.next().value;b.includes(e)||(d[e]=f)}a.next(Object.freeze(d))},aBa=function(a){var b=Object.assign({},a);a=a.ids;
b=(delete b.ids,b);a&&(b.ids=[].concat(u(a)).sort());return JSON.stringify(b)},bBa=function(a,b,c){c=a.get(b)||c;a.has(b)||a.set(b,c);return c},cBa=function(a){a=void 0===a?{}:a;return tra(a)},dBa=function(a){var b=new E.Subject,c=a.subscribe(b);a=(0,E.firstValueFrom)(b);a.finally(function(){c.unsubscribe()});return a},eBa=function(a){return null==a?new Promise(function(){}):Promise.resolve(a)},fBa=function(){return new Promise(function(){})},gBa=function(a){if(a)return{status:oya[a.getStatus()],
issueIds:a.getIssueIdsList().map(gl).filter(jl)}},hBa=function(a){if(a)return{priority:pya[a.getPriority()],issueIds:a.getIssueIdsList().map(gl).filter(jl)}},iBa=function(a){var b;return{changelistNumbers:null!=(b=Zh(a,1))?b:[]}},lBa=function(a){return{changelists:zi(a,jBa,1).map(kBa),nextPageToken:a.getNextPageToken()}},kBa=function(a){var b,c;return{author:a.getAuthor(),changelistNumber:a.getChangelistNumber(),pending:a.getPending(),timestamp:Uk(a.getTimestamp()),issueIds:null!=(b=a.getIssueIdsList())?
b:[],fixedIssueIds:null!=(c=ui(a,6))?c:[]}},mBa=function(a){var b;return{author:a.getAuthor(),description:a.getDescription(),pending:a.getPending(),timestamp:a.getTimestamp(),affectedFiles:null!=(b=Yh(a,5))?b:[]}},yn=function(a){return!a||"0"===a},nBa=function(a){return Nya(vi(a,gm,1))},oBa=function(a){return(zi(a,gm,1)||[]).map(Nya)},pBa=function(a){return null==a?{closed:0,total:0}:{closed:a.descendantCount-a.openDescendantCount,total:a.descendantCount}},qBa=function(a,b){if(null==a)return 0;var c=
0;a=l(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},rBa=function(a){var b,c;return null!=(c=null==a?void 0:null==(b=a.changelists)?void 0:b.length)?c:0},sBa=function(a){if(null==a)return[];a=[].concat(u(a.assignees.map(function(b){return b.emailAddress})),u(a.collaborators.map(function(b){return b.emailAddress})),u(a.verifiers.map(function(b){return b.emailAddress})),u(a.reporters.map(function(b){return b.emailAddress})));
return Qj(a).filter(jl)},tBa=function(a,b){var c;a=null==(c=a.componentPathInfo)?void 0:c.allCustomField;if(!a)return!0;c=l(a);var d=c.next();for(a={};!d.done;a={customField$jscomp$10:a.customField$jscomp$10},d=c.next())if(a.customField$jscomp$10=d.value,a.customField$jscomp$10.required){d=!!a.customField$jscomp$10.typedDefaultValue;var e=void 0,f=void 0,h=null==(e=b)?void 0:null==(f=e.snapshot.customField)?void 0:f.some(function(k){return function(q){return q.customFieldId===k.customField$jscomp$10.customFieldId}}(a));
if(!d&&!h)return!1}return!0},vBa=function(a){return null==a?!1:uBa.has(a.name)},wBa=function(a){return"hotlist"===(null==a?void 0:a.name)},xBa=function(a){return null==a?!1:null!=a.href&&null!=a.value},yBa=function(a){return Array.isArray(a)?a.every(xBa):!1},zn=function(a){return!!a&&zBa.test(a)&&!ABa.test(a)},DBa=function(a){a=void 0===a?"":a;return!BBa(a)||a.endsWith("-robots@google.com")||CBa(a)},CBa=function(a){return EBa.some(function(b){return a.endsWith(b)})},BBa=function(a){return!a.endsWith("@prod.google.com")&&
!a.endsWith("@appspot.gserviceaccount.com")},An=function(a){return a?1E3*a.seconds+a.nanos/1E6:0},Bn=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":""))+")"},FBa=function(a){if(a){var b=new Cn;b.setTime(a.getTime());return b}},GBa=function(a){if(null!=a)return new Date(a.year,a.month-1,a.day)},HBa=function(a){if(null==a)return"";var b=a.toLocaleDateString(void 0,{dateStyle:"medium"});return(new Date).getFullYear()===a.getFullYear()?
b.split(", ")[0]:b},Dn=function(a){return!(null==a||!a.commentNumber)},En=function(a){var b;return 0<(null==(b=a.attachments)?void 0:b.length)},IBa=function(a,b){return Object.assign({},a,{commentRedacted:b.redacted,unlinkifiedComment:b.unlinkifiedComment})},JBa=function(a,b,c){var d=a.findIndex(function(f){return f.commentNumber===b}),e=a[d];if(null==e)return a;c=Object.assign({},e,c);return[].concat(u(a.slice(0,d)),[c],u(a.slice(d+1)))},KBa=function(a){var b,c;return null==a?void 0:null==(b=a.issue)?
void 0:null==(c=b.snapshot)?void 0:c[0]},LBa=function(a){var b;return mi(null==(b=Fn(a))?void 0:b.assigneeUser)||void 0},MBa=function(a){if(null==a)return"";var b,c,d,e,f=a.etag,h=a.piiRetention;var k=a.piiRetentionState;k=null==k?"":[JSON.stringify(k.retentionPeriod),JSON.stringify(k.scheduledDeletionTime)].join("-");return[f,h,k,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("-")},
NBa=function(a){if(null==a)return"";var b=a.attachments.map(MBa).join("-"),c=[];if(a.commentReactions&&0<a.commentReactions.size){var d,e=l(null==(d=a.commentReactions)?void 0:d.entries());for(d=e.next();!d.done;d=e.next()){var f=l(d.value);d=f.next().value;f=f.next().value;c.push(d+"-"+f.count)}}c=c.join("-");var h,k;return[a.modifiedDate,a.version,"["+b+"]",a.preDiffs.length,a.postDiffs.length,a.commentVersion,null==(h=a.commentContentVerdict)?void 0:null==(k=h.piiVerdict)?void 0:k.severity,a.commentDeletionStatus,
a.commentRetention,"["+c+"]"].join("-")},OBa=function(a){return a.map(function(b){return b.commentNumber}).filter(jl).reduce(function(b,c){return Math.max(b,c)},1)},PBa=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||NBa(d)!==NBa(e)))return!1}return!0},Gn=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=Mk[a])?void 0:d.open)?e:!1},QBa=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=Mk[a];return null==b?!1:!(null==b?0:b.open)},RBa=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)},Hn=function(a){return null==a.isArchived?!1:!a.isArchived},TBa=
function(){var a=In;return zm(function(b){var c,d;return null!=(d=SBa[null==(c=a(b))?void 0:c.snapshot[0].status])?d:0},Am)},UBa=function(){var a=In;return zm(function(b){var c,d;return null==(c=a(b))?void 0:null==(d=c.snapshot[0].assigneeUser)?void 0:d.emailAddress},oza)},VBa=function(){var a=In;return zm(function(b){var c;return null==(c=a(b))?void 0:c.snapshot[0].type},oza)},WBa=function(){var a=In;return zm(function(b){var c,d;return null==(c=a(b))?void 0:null==(d=c.snapshot[0].reporterUser)?
void 0:d.emailAddress},oza)},XBa=function(){var a=In;return zm(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},Am)},YBa=function(){var a=In;return zm(function(b){var c,d,e;return null!=(e=null==(c=a(b))?void 0:null==(d=c.aggregatedData)?void 0:d.modifiedTimeMicros)?e:0},Am)},ZBa=function(a){var b,c,d;return null!=(d=null==a?void 0:null==(b=a.snapshot)?void 0:null==(c=b[0])?void 0:c.priority)?d:"PRIORITY_UNSPECIFIED"},aCa=function(){var a=
In;return zm(function(b){return $Ba[ZBa(a(b))]},Am)},Jn=function(a){var b,c;return null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.snapshot)?void 0:c[0]},Fn=function(a){var b;return null==a?void 0:null==(b=a.snapshot)?void 0:b[0]},bCa=function(a,b){var c=Fn(a),d;a=[null==(d=a.aggregatedData)?void 0:d.lastModifier,null==c?void 0:c.reporterUser,null==c?void 0:c.assigneeUser,null==c?void 0:c.verifierUser].concat(u(b.map(function(e){return e.userPerformingActionUser})));return Pj(a.filter(jl),qi)},
cCa=function(a,b){b=bCa(a,b);var c,d,e;a=null!=(e=null==(c=Fn(a))?void 0:null==(d=c.ccUsers)?void 0:d.length)?e:0;return b.length+a},dCa=function(a){var b;return"piper-bugupdater@prod.google.com"===(null==a?void 0:null==(b=a.userPerformingActionUser)?void 0:b.emailAddress)},eCa=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})}},gCa=function(a,b,c){b=fCa.get(c)||new Set(c.map(function(e){return e.issueId}));
fCa.set(c,b);var d;a=l(null!=(d=a.parentIssueIds)?d:[]);for(d=a.next();!d.done;d=a.next())if(b.has(d.value))return!1;return!0},hCa=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},iCa=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"}},jCa=function(a){var b=a.newEditors,c=a.newImplicitUsers,d=a.isExternalSession,e=a.issueId,f=a.actionIssueId;a=hCa(a.userPrincipals);d="Allow "+(1===a?"members of the group to ":iCa(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===f?"issue "+f:"canonical issue "+f)+".";return{title:d,content:b}},kCa=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)})},lCa=function(a,b){var c=[];a=l(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 f=null==(e=d.resource)?void 0:e.critiqueResource;f&&(f.ccEmails.includes(b)||f.comments.some(function(h){return h.authorEmail===b}))&&c.push(d);break;case "DRIVE":break;case "ARIANE":break;default:e=void 0,console.warn("getMyTasksFollowing() Unhandled task type: "+
(null==(e=d.resource)?void 0:e.source),d)}}return c},mCa=function(a){if(a)if("DRIVE"===a.source){var b;a=null==(b=a.driveResource)?void 0:b.type}else a=a.source;else a=void 0;switch(a){case "CRITIQUE":return"critique-logo";case "ARIANE":return"launch-logo";case "Docs":return"drive-doc";case "Sheets":return"drive-sheet";case "Slides":return"drive-slide";default:return"link"}},Kn=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,"+")},nCa=function(a){if(a)return{accessLevel:Pwa[a.getAccessLevel()]}},Ln=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("Nc`"+a);}},pCa=function(a){a=a.getFavorite();return{user:pi(a.getUser()),resourceType:oCa[a.getResourceType()],resourceId:Number(a.getResourceId()),name:a.getName()}},qCa=function(a){a=a.getIt();var b;return{searchId:Number(a.getSavedSearchId()),name:a.getName(),description:a.getDescription(),query:a.getQuery(),sortOrder:a.getDefaultOrderBy().split(",").filter(Boolean).map(Gwa),displayColumn:Fwa(a.getDisplayPreferences()),adminUsers:(null!=(b=a.getOwnersList())?
b:[]).map($k)}},rCa=function(a){var b;return(null!=(b=zi(a,Mn,1))?b:[]).map(qCa)},sCa=function(a){return{id:a.getId(),name:a.getName(),description:a.getDescription(),adminUsers:Jra(a.getAdminUsersList()),starred:a.getStarred(),resourceType:a.getResourceType()}},tCa=function(a){var b;return{id:a.getId(),name:a.getName(),description:a.getDescription(),adminUsers:Jra(a.getAdminUsersList()),starred:a.getStarred(),sublinks:(null!=(b=zi(a,Nn,6))?b:[]).map(sCa)}},uCa=function(a){var b,c,d,e;return{hotlists:(null!=
(b=a.getHotlistsList())?b:[]).map(sCa),bookmarkGroups:(null!=(c=zi(a,On,2))?c:[]).map(tCa),archivedHotlists:(null!=(d=zi(a,Nn,3))?d:[]).map(sCa),archivedBookmarkGroups:(null!=(e=zi(a,On,4))?e:[]).map(tCa)}},wCa=function(){var a=window.defrostedResourcesJspb;if(a&&Array.isArray(a)&&(a=zi(new vCa(a),Pn,1))&&1===a.length)return pn(a[0])},BCa=function(){var a=void 0===a?Hk:a;var b=Date.now(),c=Qn(b);Qn(xCa())!==c?a("retention","first-visit"):(c=Qn(b),Qn(xCa())===c&&1===yCa()&&a("retention","second-visit"));
a=Qn(b);Qn(xCa())!==a?zCa(1):(a=yCa()||0,zCa(a+1));ACa(b)},Qn=function(a){if(null!=a)return(new Date(a)).toLocaleDateString()},CCa=function(){return $c.apply(0,arguments).map(String).join("__")},DCa=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},ECa=function(a){var b=Object.assign({},a);a=a.issue;b=(delete b.issue,b);return Object.assign({},b,{issueId:a.issueId})},
FCa=function(a){var b=new Rn;b=Gl(b,1,Number(a.targetIssueId));return Gl(b,2,a.afterIssueId?Number(a.afterIssueId):void 0)},Sn=function(a){return{targetIssueId:String(Ui(a,1)),afterIssueId:Ui(a,2)?String(Ui(a,2)):void 0}},GCa=function(a){return{sourceIssueId:Ui(a,3),issueRelationships:a.getIssueRelationshipsList().map(Sn),totalSize:a.getTotalSize()}},HCa=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)}},ICa=function(a){function b(){var e,f,h,k;return qe(function(q){if(1==q.nextAddress){if(d||0===c.length)return q.return();d=!0;e=[].concat(u(c));c=[];f=l(e);h=f.next()}if(3!=q.nextAddress){if(h.done)return d=!1,q.yield(b(),0);k=h.value;return q.yield(a.apply(null,u(k.args)).then(k.returnValue.resolve).catch(k.returnValue.reject),3)}h=f.next();return q.jumpTo(2)})}var c=[],d=!1;return function(){var e=$c.apply(0,arguments),f=new kta;c.push({args:e,returnValue:f});b();return f.promise}},JCa=function(a){var b=
!1;return function(){var c=$c.apply(0,arguments);if(!b)return b=!0,a.apply(null,u(c))}},KCa=function(a){var b=[];a=l(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;b.push({issueId:c,relatedChildren:d.issueRelationships,totalChildCount:d.totalSize})}return b},LCa=function(a){return!(null==a||!a.relatedChildren.length)},NCa=function(a,b){var c=[].concat(u(a));a=new Set(a.map(function(h){return h.targetIssueId}));b=l(b);for(var d=b.next(),e={};!d.done;e=
{newItem$jscomp$6:e.newItem$jscomp$6},d=b.next())if(e.newItem$jscomp$6=d.value,!a.has(e.newItem$jscomp$6.targetIssueId)){d=c.findIndex(function(h){return function(k){return k.targetIssueId===h.newItem$jscomp$6.afterIssueId}}(e));var f=void 0;f=e.newItem$jscomp$6.afterIssueId?-1===d?c.length:d+1:0;c.splice(f,0,e.newItem$jscomp$6);a.add(e.newItem$jscomp$6.targetIssueId)}return MCa(c)},OCa=function(a,b){return MCa(a.filter(function(c){return c.targetIssueId!==b}))},MCa=function(a){for(var b=[],c=l(a.entries()),
d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;var f=e.next().value;e=void 0;d=Object.assign({},f,{afterIssueId:null==(e=a[d-1])?void 0:e.targetIssueId});b.push(d)}return b},PCa=function(a){var b=new Map;a=l(a);for(var c=a.next(),d={};!c.done;d={previousOperation:d.previousOperation},c=a.next()){var e=c.value;c=e.issues.map(function(f){return f.issueId}).join(",");d.previousOperation=b.get(c);d.previousOperation?(e={newParentId:e.newParentId,newRelations:e.newRelations,issues:d.previousOperation.issues,
eventTimestamps:[].concat(u(d.previousOperation.eventTimestamps),u(e.eventTimestamps)),newParentChildrenSnapshot:e.newParentChildrenSnapshot,done:e.done},e.done.promise.then(d.previousOperation.done.resolve).catch(function(f){return function(h){f.previousOperation.done.reject(h);throw h;}}(d)),b.set(c,e)):b.set(c,e)}b=[].concat(u(b.values()));a=l(b);c=a.next();for(d={};!c.done;d={operation$jscomp$5:d.operation$jscomp$5},c=a.next())d.operation$jscomp$5=c.value,d.operation$jscomp$5.newRelations=d.operation$jscomp$5.newRelations.map(function(f){return function(h){return f.operation$jscomp$5.newParentChildrenSnapshot.find(function(k){return k.targetIssueId===
h.targetIssueId})}}(d));return b.sort(function(f,h){var k=f.newParentChildrenSnapshot,q=h.newParentChildrenSnapshot;f=Math.min.apply(Math,u(f.issues.map(function(t){return k.findIndex(function(w){return w.targetIssueId===t.issueId})})));h=Math.min.apply(Math,u(h.issues.map(function(t){return q.findIndex(function(w){return w.targetIssueId===t.issueId})})));return f===h?0:f<h?-1:1})},QCa=function(a){return qCa(a.getSearch())},RCa=function(a){return zi(a,Mn,1).map(qCa)},$Ca=function(a){var b=a.getResponsesList().map(function(d){return zi(d,
SCa,1)}).flat();a=a.getResponsesList().map(function(d){return zi(d,TCa,2)}).flat();var c=UCa(a);return b.map(function(d){var e,f,h=xi(d,1);var k=d.getResource();if(k){var q;var t={resourceId:k.getResourceId(),source:"TASK_SOURCE_UNSPECIFIED",title:k.getTitle(),lastModifiedTimestamp:null!=(q=fl(k.getLastModifiedTimestamp()))?q:0,externalLink:k.getExternalLink()};if(cm(k,Tn,8,Un))k=ql(k,Tn,8,Un),k={description:k.getDescription(),category:VCa(Li(k,2,0)),status:WCa(k.getStatus()),reviewerEmails:Yh(k,
6),comments:k.getCommentsList().map(XCa),authorEmail:k.getAuthorEmail(),needsAttention:Hi(k,12),attentionSetUsers:Yh(k,17),ccEmails:Yh(k,11)},t.critiqueResource=k,t.source="CRITIQUE";else if(cm(k,Vn,5,Un))k=ql(k,Vn,5,Un),k={type:YCa(k.getMimeType()),createdTimestamp:k.getCreatedTimestamp(),createdByMe:Hi(k,2),ownedByMe:k.getOwnedByMe(),sharedWithMe:Hi(k,14)},t.driveResource=k,t.source="DRIVE";else if(cm(k,Wn,9,Un))k=ql(k,Wn,9,Un),k={description:k.getDescription(),ownedByMe:k.getOwnedByMe(),needApprovalFromMe:Hi(k,
8),creatorEmail:k.getCreatorEmail()},t.launchResource=k,t.source="ARIANE";else throw Error("Qc");}else t=void 0;return{taskId:h,resource:t,createdTimestamp:null!=(e=fl(d.getCreatedTimestamp()))?e:0,updatedTimestamp:null!=(f=fl(d.getUpdatedTimestamp()))?f:0,signals:c.has(xi(d,1))?ZCa(c.get(xi(d,1))):void 0}})},UCa=function(a){var b=new Map;a=l(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(u(d),[c]))}else b.set(c.getResourceId(),
[c]);return b},ZCa=function(a){return a.map(function(b){return{resourceId:b.getResourceId(),timestamp:Uk(b.getTimestamp()),suggestedAction:xi(vi(b,aDa,2),4),signalSpec:bDa(vi(b,aDa,2))}}).filter(function(b){return cDa.has(b.signalSpec)})},bDa=function(a){if(null!=Xn(a,kl(a,Yn,2)))switch(Li(a,kl(a,Yn,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";case 6:return"READY_TO_SUBMIT";
default:return"CHANGELIST_SIGNAL_UNSPECIFIED"}else if(null!=Xn(a,kl(a,Yn,3)))switch(Li(a,kl(a,Yn,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!=Xn(a,kl(a,Yn,5)))switch(Li(a,kl(a,Yn,5),0)){case 0:return"LAUNCH_SIGNAL_UNSPECIFIED";case 1:return"NEAR_LAUNCH_DATE";default:return"LAUNCH_SIGNAL_UNSPECIFIED"}return"SIGNAL_UNSPECIFIED"},VCa=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"}},WCa=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"}},XCa=function(a){return{authorEmail:a.getAuthorEmail()}},YCa=function(a){switch(a){case "document":return"Docs";case "spreadsheet":return"Sheets";
case "presentation":return"Slides";default:return"File"}},dDa=function(a){switch(a){case "ARIANE":return 3;case "CRITIQUE":return 1;case "DRIVE":return 4;default:return 0}},eDa=function(a){return{id:a.getId(),name:a.getName(),description:a.getDescription()}},$n=function(a){if(a=a.getIt()){var b=vi(a,Zn,7),c,d=null!=(c=null==b?void 0:b.getSlo())?c:new Jl;c=null==b?void 0:vi(b,Yk,4);var e=null==b?void 0:vi(b,Yk,5),f,h;return{teamId:String(a.getId()),version:null!=(f=null==b?void 0:b.getVersion())?f:
0,name:a.getName(),description:a.getDescription(),pathNames:[].concat(u(a.getPathNamesList())),pathIds:a.getPathIdsList().map(String),collapsedPathNames:[].concat(u(Yh(a,5))),members:a.getMembersList().map(Kxa),deleted:a.getDeleted(),estimatedComponentCount:null!=(h=null==b?void 0:Ui(b,3))?h:0,slo:{inherit:d.getInherit(),sloId:String(d.getId()),comment:d.getComment(),sourceTeamId:String(d.getSourceTeamId())},sloLead:c?$k(c):void 0,defaultSloLead:e?$k(e):void 0}}throw Error("Rc");},fDa=function(a){return{teamId:a.getId(),
name:a.getName(),description:a.getDescription(),pathNames:a.getPathNamesList(),pathIds:a.getPathIdsList()}},gDa=function(a){return{teamId:a,version:0,name:a,description:"",pathIds:[a],pathNames:[a],collapsedPathNames:[a],members:[],deleted:!1,estimatedComponentCount:0,slo:{inherit:!1,sloId:"0",comment:"",sourceTeamId:"0"}}},hDa=function(a){return a.endsWith("?")?a.slice(0,a.length-1):a},mDa=function(a,b){if(!a||!b)return iDa;var c;return!jDa(null!=(c=b.readers)?c:[])||kDa(a)?lDa:iDa},jDa=function(a){return a.some(function(b){return void 0!==
b.alias?"public"===b.alias||"public_non_google"===b.alias:!1})},kDa=function(a){return"LIMIT_VIEW"===a||"LIMIT_VIEW_TRUSTED"===a},nDa=function(a){a&1&&L(0,"bug-screensaver")},oDa=function(a){a&1&&Wf(0)},pDa=function(a){a&1&&Rf(0)},qDa=function(a){if(a&1){var b=v();H(0,"button",7,8);Q("click",function(e){x(b);var f=R();return z(f.onClick(e))});F(2,pDa,1,0,"ng-container",9);K()}if(a&2){a=R();var c=S(1),d;G("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&
void 0!==d?d:"");Af("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);A(2);G("ngTemplateOutlet",c)}},rDa=function(a){a&1&&Rf(0)},sDa=function(a){if(a&1){var b=v();H(0,"button",10,8);Q("click",function(e){x(b);var f=R();return z(f.onClick(e))});F(2,rDa,1,0,"ng-container",9);K()}if(a&2){a=R();var c=S(1),d;G("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");Af("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);A(2);G("ngTemplateOutlet",
c)}},tDa=function(a){a&1&&Rf(0)},uDa=function(a){if(a&1){var b=v();H(0,"button",11,8);Q("click",function(e){x(b);var f=R();return z(f.onClick(e))});F(2,tDa,1,0,"ng-container",9);K()}if(a&2){a=R();var c=S(1),d;G("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");Af("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);A(2);G("ngTemplateOutlet",c)}},vDa=function(a){a&1&&Rf(0)},wDa=function(a){if(a&1){var b=v();H(0,"button",12,8);Q("click",
function(e){x(b);var f=R();return z(f.onClick(e))});F(2,vDa,1,0,"ng-container",9);K()}if(a&2){a=R();var c=S(1),d;G("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");Af("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);A(2);G("ngTemplateOutlet",c)}},xDa=function(a){a&1&&Rf(0)},yDa=function(a){if(a&1){var b=v();H(0,"button",7,8);Q("click",function(e){x(b);var f=R();return z(f.onClick(e))});F(2,xDa,1,0,"ng-container",9);K()}if(a&2){a=
R();var c=S(1),d;G("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");Af("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);A(2);G("ngTemplateOutlet",c)}},zDa=function(a,b){a&1&&(H(0,"div")(1,"span",3),T(2,"|"),K(),H(3,"a",6),T(4,"Code of Conduct"),K()());a&2&&(a=b.ngIf,A(3),G("href",a,Wd))},ADa=function(a){a&1&&(H(0,"footer"),L(1,"img",1),W(2,"async"),H(3,"span",2),T(4),W(5,"async"),K(),T(6," Powered by Google "),H(7,"span",3),T(8,
"|"),K(),H(9,"a",4),T(10,"Privacy"),K(),H(11,"span",3),T(12,"|"),K(),H(13,"a",5),T(14,"Terms"),K(),F(15,zDa,5,1,"div",0),W(16,"async"),K());a&2&&(a=R(),A(1),G("src",X(2,3,a.trackerLogo$),Wd),A(3),V("",X(5,5,a.trackerName$)," Issue Tracker"),A(11),G("ngIf",X(16,7,a.trackerCoc$)))},BDa=function(a){var b;return null!=(b=fl(a))?b:null},CDa=function(a){var b;return null!=(b=gl(a))?b:null},DDa=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}},EDa=function(a){return a?li(a.replace(/_/g," ").toLowerCase()):""},FDa=function(a){return a?a.join(", "):""},GDa=function(a,b){if(!a)return ch("");if(!b)return ch(a);b=b.split(" ").map(xra);b=b.filter(function(h){return!!h});b=b.map(ao);if(0===b.length)return ch(a);b=new RegExp("(\\W|^)("+b.join("|")+")(\\w*)","i");for(var c=[];a;){var d=b.exec(a);if(!d){c.push(a);break}var e=d.index+
d[1].length,f=d[2];d=d[3];c.push(a.substring(0,e));c.push(fh("b",{},f));c.push(d);a=a.substring(e+f.length+d.length)}return eh(c)},HDa=function(a){return a?"Yes":"No"},IDa=function(a){return a?a.pathNames?a.pathNames.join(" > "):"":""},JDa=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},KDa=function(a){if(!a)return null;var b=new Cn;b.setTime(1E3*a.seconds);return b},
LDa=function(a){if(a&&zn(a))return a},bo=function(a){return null==a?"":String(a)},MDa=function(a){var b;return null!=(b=null==a?void 0:a.filter(function(c){return!!c.trim()}).join(", "))?b:""},NDa=function(a,b){if(a&1){var c=v();H(0,"a",8);Q("click",function(){var d=x(c).$implicit,e=R(2);return z(e.clickSegment.emit(d.name||d.path))});T(1);K()}a&2&&(a=b.$implicit,G("href",a.path,Wd),A(1),V(" ",a.name||a.path," "))},ODa=function(a){a&1&&(M(0),H(1,"button",4),L(2,"mat-icon",5),K(),H(3,"mat-menu",null,
6),F(5,NDa,2,2,"a",7),K(),N());if(a&2){var b=S(4);a=R();A(1);G("matMenuTriggerFor",b);A(4);G("ngForOf",a.segments)}},PDa=function(a,b){if(a&1){var c=v();M(0);H(1,"b-fab-segmented",1);Q("clickMain",function(f){x(c);var h=R(3);return z(h.trackClick(f))})("clickSegment",function(f){x(c);var h=R(3);return z(h.trackClick(f))});K();N()}if(a&2){a=b.ngIf;b=R().ngIf;var d=R().ngIf,e=R();A(1);G("label",b)("icon",a)("href",e.createIssuePath)("segments",d)}},QDa=function(a){a&1&&(M(0),F(1,PDa,2,4,"ng-container",
0),W(2,"async"),N());a&2&&(a=R(2),A(1),G("ngIf",X(2,1,a.buttonIcon$)))},RDa=function(a){a&1&&(M(0),F(1,QDa,3,3,"ng-container",0),W(2,"async"),N());a&2&&(a=R(),A(1),G("ngIf",X(2,1,a.buttonLabel$)))},TDa=function(a){return a.map(function(b){var c,d,e,f,h;return{id:b.taskId,type:null==(c=b.resource)?void 0:c.source,description:null!=(f=null==(d=b.resource)?void 0:d.title)?f:"",timestamp:SDa(b),signals:b.signals.map(function(k){return k.signalSpec}),icon:mCa(b.resource),link:null!=(h=null==(e=b.resource)?
void 0:e.externalLink)?h:"",priority:null,accessLevel:null}})},WDa=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,f,h,k,q,t,w,y,C;return{id:"b/"+(null==(c=b.issue)?void 0:c.issueId),type:"Buganizer",description:null!=(w=null==(d=b.issue)?void 0:null==(e=d.snapshot[0])?void 0:e.title)?w:"",timestamp:UDa(b),signals:b.signals.map(function(J){return J.signalType}),icon:"bug_report_24px",link:"issues/"+(null==(f=b.issue)?void 0:f.issueId),
priority:VDa(b.issue),accessLevel:null!=(y=null==(h=b.issue)?void 0:null==(k=h.accessLimit)?void 0:k.accessLevel)?y:null,hotlistIds:null!=(C=null==(q=b.issue)?void 0:null==(t=q.snapshot[0])?void 0:t.hotlistId)?C:[]}})},SDa=function(a){a=a.signals.sort(function(b,c){var d,e;return(null!=(d=An(c.timestamp))?d:0)-(null!=(e=An(b.timestamp))?e:0)})[0].timestamp;return An(a)},UDa=function(a){var b=a.signals.sort(function(c,d){var e,f,h,k;return(null!=(h=null==(e=KDa(d.timestamp))?void 0:e.getTime())?h:
0)-(null!=(k=null==(f=KDa(c.timestamp))?void 0:f.getTime())?k:0)})[0].timestamp;return b&&0!==An(b)?An(b):a.issue.majorModifiedTimeMicros/1E3},XDa=function(a,b,c,d){d=void 0===d?30:d;var e=[];c.includes("BUGANIZER")&&e.push.apply(e,u(b));e.push.apply(e,u(a.filter(function(h){return c.includes(h.type)})));var f=(new Date).getTime()-864E5*d;return e.filter(function(h){return h.timestamp>f}).sort(function(h,k){return k.timestamp-h.timestamp})},YDa=function(a){return TDa(kCa(a.results))},ZDa=function(a){return WDa(a.issuesWithSignals)},
VDa=function(a){a=null==a?void 0:a.snapshot[0].priority;return"P0"===a||"P1"===a?a:null},$Da=function(a){switch(sn(a,co)){case 1:var b=a.getHotlist(),c=null==b?void 0:b.getHotlist(),d,e,f;return{hotlistId:null!=(d=null==b?void 0:b.getHotlistId())?d:0,name:null!=(e=null==c?void 0:c.getName())?e:"",description:null!=(f=null==c?void 0:c.getDescription())?f:"",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("Uc");}},aEa=function(a){var b=new eo;"HOTLIST"===a.resourceType&&a.hotlistId&&b.setHotlist((new fo).setHotlistId(a.hotlistId).setHotlist((new bl).setName(a.name).setDescription(a.description)));"SAVED_SEARCH"===a.resourceType&&a.savedSearchId&&b.setSavedSearch((new go).setSavedSearchId(a.savedSearchId).setSavedSearch((new ho).setName(a.name).setDescription(a.description)));
return b},bEa=function(a){return{archived:a.getArchived(),bookmarkGroupId:a.getBookmarkGroupId(),description:a.getDescription(),item:zi(a,eo,5).map($Da),name:a.getName(),adminUsers:a.getOwnersList().map($k)}},cEa=function(a){return bEa(a.getIt())},dEa=function(a){var b;return(null!=(b=zi(a,io,2))?b:[]).map(bEa)},eEa=function(a,b){a=void 0===a?"":a;b=void 0===b?48:b;var c=void 0===c?"...":c;var d=[].concat(u(a));if(d.length<=b)return a;a=b-[].concat(u(c)).length;d=d.slice(0,a).join("");null!=String.prototype.trimEnd&&
(d=d.trimEnd());return d+c},fEa=function(a){a=void 0===a?"":a;var b=new Set([].concat(u('!"#$%&()*+,-./:;<=>?@[\\]^_`{|}~\t\n')));a=[].concat(u(a)).map(function(c){return b.has(c)?" ":c}).join("").trim();return 0===a.length?[]:a.split(/[\s]+/g)},gEa=function(a){return a.split("").every(function(b){return 1===b.length&&0<=b.charCodeAt(0)&&255>=b.charCodeAt(0)})},iEa=function(a){if(null!=a){a=[].concat(u(a)).slice(0,100);a=l(a);for(var b=a.next();!b.done;b=a.next())if(b=hEa[b.value])return b}},jEa=
function(a){if(a.includes('"')||a.includes("'"))return[];var b=[].concat(u(a.matchAll(RegExp("(^|[;,\\-\\s])+(\\d+)","g"))));if(b.length)return b.map(function(c){c=l(c);c.next();c.next();return c.next().value});a=[].concat(u(a.matchAll(RegExp("(b|b-qa|issues)\\/(\\d+)","g"))));return a.length?a.map(function(c){c=l(c);c.next();c.next();return c.next().value}):[]},kEa=function(a){if(a&1){var b=v();H(0,"button",5);Q("click",function(){x(b);var c=R();return z(c.dialogRef.close(!1))});T(1);K()}a&2&&(a=
R(),A(1),V(" ",a.cancelButtonText," "))},lEa=function(a){a&1&&Rf(0)},mEa=function(a){a&1&&Rf(0)},nEa=function(a){a&1&&(M(0),F(1,mEa,1,0,"ng-container",1),N());a&2&&(a=R(),A(1),G("ngTemplateOutlet",a.content))},oEa=function(a){a&1&&T(0," Archived ")},pEa=function(a){a&1&&(H(0,"button",16),Q("click",function(c){return c.stopPropagation()}),L(1,"mat-icon",17),K());if(a&2){R();var b=S(5);G("matMenuTriggerFor",b)}},qEa=function(a){if(a&1){var b=v();H(0,"button",18);Q("click",function(){x(b);var c=R(3).$implicit;
return z(c.unstar())});T(1," Unstar ");K()}},rEa=function(a){if(a&1){var b=v();H(0,"button",18);Q("click",function(){x(b);var c=R(3).$implicit;return z(c.unarchive())});T(1," Unarchive ");K()}},sEa=function(a){if(a&1){var b=v();H(0,"button",18);Q("click",function(){x(b);var c=R(2).$implicit,d=R(3);return z(d.handleBookmarkGroupOpen(c.id))});T(1," Open ");K();H(2,"button",18);Q("click",function(){x(b);var c=R(2).$implicit,d=R(3);return z(d.handleBookmarkGroupDashboard(c.id))});T(3," Dashboard ");K();
H(4,"button",18);Q("click",function(){x(b);var c=R(2).$implicit,d=R(3);return z(d.openEditBookmarkGroup(c.id))});T(5," Settings ");K();F(6,qEa,2,0,"button",19)(7,rEa,2,0,"button",19)}a&2&&(a=R(2).$implicit,A(6),G("ngIf",a.isUnstarable()),A(1),G("ngIf",a.isEditable()))},tEa=function(a){a&1&&(H(0,"div",11)(1,"span",12),T(2),K(),F(3,pEa,2,1,"button",13),H(4,"mat-menu",null,14),F(6,sEa,8,2,"ng-template",15),K()());a&2&&(a=R().$implicit,Cf("id","bv2-user-archived-bookmarkgroup-item-",a.id,""),A(2),$f(a.name),
A(1),G("ngIf",a))},uEa=function(a,b){if(a&1){var c=v();H(0,"li",22)(1,"a",23);Q("click",function(d){var e=x(c).$implicit,f=R(5);return z(f.onAnchorClick(e.href,d))});H(2,"span",12);T(3);K()()()}a&2&&(a=b.$implicit,b=R(2).$implicit,Jf("selected-indented",a.isSelected())("bv2-bookmark-group-hotlist-item","HOTLIST"==a.type)("bv2-bookmark-group-saved-search-item","SAVED_SEARCH"==a.type),fla("id","bv2-user-hotlists-bg-",b.id,"-",a.type,"-",a.id,""),G("title",a.name),A(1),G("href",a.href,Wd),A(2),V(" ",
a.name," "))},vEa=function(a){a&1&&(H(0,"ul",20),F(1,uEa,4,12,"li",21),K());a&2&&(a=R().$implicit,A(1),G("ngForOf",a.items))},wEa=function(a,b){a&1&&(H(0,"li",7)(1,"sidebar-zippy",8),F(2,tEa,7,3,"ng-template",null,9,tg)(4,vEa,2,1,"ng-template",null,10,tg),K()());if(a&2){a=b.$implicit;var c=S(3),d=S(5);G("title",a.name);A(1);G("header",c)("content",d)}},xEa=function(a){a&1&&(H(0,"button",28),L(1,"mat-icon",17),K());if(a&2){R();var b=S(6);G("matMenuTriggerFor",b)}},yEa=function(a){if(a&1){var b=v();
H(0,"button",18);Q("click",function(){x(b);var c=R(2).$implicit;return z(c.unstar())});T(1," Unstar ");K()}},zEa=function(a){if(a&1){var b=v();H(0,"button",18);Q("click",function(){x(b);var c=R(2).$implicit;return z(c.unarchive())});T(1," Unarchive ");K()}},AEa=function(a){if(a&1){var b=v();H(0,"button",18);Q("click",function(){x(b);var c=R().$implicit,d=R(3);return z(d.openEditHotlist(c.id))});T(1," Settings ");K();F(2,yEa,2,0,"button",19)(3,zEa,2,0,"button",19)}a&2&&(a=R().$implicit,A(2),G("ngIf",
a.isUnstarable()),A(1),G("ngIf",a.isEditable()))},BEa=function(a,b){if(a&1){var c=v();H(0,"li",24)(1,"a",25);Q("click",function(d){var e=x(c).$implicit,f=R(3);return z(f.onAnchorClick(e.href,d))});H(2,"span",12);T(3);K()();F(4,xEa,2,1,"button",26);H(5,"mat-menu",null,27);F(7,AEa,4,2,"ng-template",15);K()()}a&2&&(a=b.$implicit,Jf("selected",a.isSelected()),Xf("id","bv2-user-hotlists-archived-hotlist-item-",a.id,""),G("title",a.name),A(1),G("href",a.href,Wd),A(2),$f(a.name),A(1),G("ngIf",a))},CEa=function(a){a&
1&&(H(0,"ul",4),F(1,wEa,6,3,"li",5)(2,BEa,8,7,"li",6),K());a&2&&(a=R(2),A(1),G("ngForOf",a.bookmarkGroups),A(1),G("ngForOf",a.hotlists))},DEa=function(a){a&1&&(H(0,"div"),L(1,"hr"),H(2,"sidebar-zippy",1),F(3,oEa,1,0,"ng-template",null,2,tg)(5,CEa,3,2,"ng-template",null,3,tg),K()());if(a&2){var b=S(4),c=S(6);A(2);G("header",b)("content",c)}},EEa=function(){return{diameter:100}},FEa=function(a){a&1&&(yd(),L(0,"circle",4));if(a&2){a=R();var b=S(1);If("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));Af("r",a._getCircleRadius())}},GEa=function(a){a&1&&(yd(),L(0,"circle",4));if(a&2){a=R();var b=S(1);If("stroke-dashoffset",a._getStrokeDashOffset(),"px")("stroke-dasharray",a._getStrokeCircumference(),"px")("stroke-width",a._getCircleStrokeWidth(),"%")("transform-origin",a._getCircleTransformOrigin(b));
Af("r",a._getCircleRadius())}},HEa=function(a){a&1&&L(0,"mat-spinner",2);a&2&&(a=R(),G("diameter",36),Af("aria-label",a.ariaLabel))},IEa=function(a){a&1&&L(0,"mat-spinner",3);a&2&&(a=R(),G("diameter",16)("strokeWidth",2),Af("aria-label",a.ariaLabel))},KEa=function(a){if(null==JEa){var b="undefined"!==typeof document?document.head:null;JEa=!(!b||!b.createShadowRoot&&!b.attachShadow)}return JEa&&(a=a.getRootNode?a.getRootNode():null,"undefined"!==typeof ShadowRoot&&ShadowRoot&&a instanceof ShadowRoot)?
a:null},LEa=function(a){if(a&1){var b=v();H(0,"div",0);Q("clickOutside",function(){x(b);var c=R();return z(c.closeHovercard$.next())})("mouseenter",function(){x(b);R().isOnHover$.next(!0);return z()})("mouseleave",function(){x(b);R().isOnHover$.next(!1);return z()});Wf(1);K()}a&2&&(a=R(),Kf(a.className),G("cdkTrapFocusAutoCapture",a.wasTriggeredByKeyboard))},MEa=function(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}},NEa=function(a,
b){a&1&&(H(0,"div",0,1),Wf(2),K());a&2&&(a=b.id,b=R(),G("id",b.id)("ngClass",b._classList),Af("aria-label",b.ariaLabel||null)("aria-labelledby",b._getPanelAriaLabelledby(a)))},OEa=function(a){a&1&&L(0,"b-spinner")},PEa=function(a){if(a&1){var b=v();H(0,"b-star-toggle",15);Q("starClicked",function(){x(b);var c=R().$implicit,d=R();return z(d.toggleStar(c))});K()}a&2&&(a=R().$implicit,G("starMessage","Star this item")("unStarMessage","Un-star this item")("starred",a.isStarred))},QEa=function(a){a&1&&
L(0,"b-hotlist-card",16);a&2&&(a=R().$implicit,G("hotlist",a))},REa=function(a){a&1&&L(0,"b-bookmark-group-card",17);a&2&&(a=R().$implicit,G("bookmarkGroup",a))},SEa=function(a,b){a&1&&(H(0,"mat-option",8)(1,"div",9),F(2,PEa,1,3,"b-star-toggle",10),H(3,"onedev-hovercard",null,11),F(5,QEa,1,1,"b-hotlist-card",12)(6,REa,1,1,"b-bookmark-group-card",13),K(),H(7,"span",14),T(8),K()()());if(a&2){a=b.$implicit;var c=S(4);b=R();G("value",a);A(1);Jf("bv2-bookmark-group",b.showHotlists&&a.isGroup);A(1);G("ngIf",
b.shouldShowStar(a));A(3);G("ngIf",!a.isGroup);A(1);G("ngIf",!!a.isGroup);A(1);G("onedevHovercardTrigger",c);A(1);$f(a.name)}},TEa=function(){return uja(function(){return(0,E.from)(Promise.resolve(void 0))})},UEa=function(a){a&1&&L(0,"a",1)},VEa=function(a){if(a&1){var b=v();H(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"b-hotlist-search",3);Q("itemSelect",function(c){x(b);var d=R();d.itemSelect.emit(c);d.dialog.disabled=!0;d.dialog.disabled=!1;return z()});K()()()}a&2&&(a=R(),A(2),G("showGroups",
a.showGroups)("showHotlists",a.showHotlists)("allowStarring",a.allowStarring)("focusOnInit",!0))},WEa=function(a){if(a&1){var b=v();H(0,"span");T(1,"Bookmark groups");K();H(2,"b-hotlist-search-popup",4);Q("itemSelect",function(c){x(b);var d=R();c.isGroup&&d.handleBookmarkGroupOpen(c.bookmarkGroupId);return z()})("click",function(c){return c.stopPropagation()});K()}a&2&&(A(2),G("showHotlists",!1))},XEa=function(a){a&1&&(H(0,"button",17),Q("click",function(c){return c.stopPropagation()}),L(1,"mat-icon",
18),K());if(a&2){R();var b=S(5);G("matMenuTriggerFor",b)}},YEa=function(a){if(a&1){var b=v();H(0,"button",19);Q("click",function(){x(b);var c=R(3).$implicit;return z(c.unstar())});T(1," Unstar ");K()}},ZEa=function(a){if(a&1){var b=v();H(0,"button",19);Q("click",function(){x(b);var c=R(3).$implicit;return z(c.archive())});T(1," Archive ");K()}},$Ea=function(a){if(a&1){var b=v();H(0,"button",19);Q("click",function(){x(b);var c=R(3).$implicit;return z(c.setAsPreferredHomepage())});T(1," Set as homepage ");
K()}},aFa=function(a){if(a&1){var b=v();H(0,"button",19);Q("click",function(){x(b);var c=R(2).$implicit,d=R(3);return z(d.handleBookmarkGroupOpen(c.id))});T(1," Open ");K();H(2,"button",19);Q("click",function(){x(b);var c=R(2).$implicit,d=R(3);return z(d.handleBookmarkGroupDashboard(c.id))});T(3," Dashboard ");K();H(4,"button",19);Q("click",function(){x(b);var c=R(2).$implicit,d=R(3);return z(d.editBookmarkGroup(c.id))});T(5," Settings ");K();F(6,YEa,2,0,"button",20)(7,ZEa,2,0,"button",20)(8,$Ea,
2,0,"button",20)}a&2&&(a=R(2).$implicit,A(6),G("ngIf",a.isUnstarable()),A(1),G("ngIf",a.isEditable()),A(1),G("ngIf",!a.isPreferredHomepage()))},bFa=function(a){a&1&&(H(0,"div",12)(1,"span",13),T(2),K(),F(3,XEa,2,1,"button",14),H(4,"mat-menu",null,15),F(6,aFa,9,3,"ng-template",16),K()());a&2&&(a=R().$implicit,Cf("id","bv2-user-bookmarkgroup-item-",a.id,""),A(2),$f(a.name),A(1),G("ngIf",a))},cFa=function(a){a&1&&(H(0,"button",27),L(1,"mat-icon",18),K());if(a&2){R();var b=S(6);G("matMenuTriggerFor",
b)}},dFa=function(a){if(a&1){var b=v();H(0,"button",19);Q("click",function(){x(b);var c=R(2).$implicit;return z(c.unstar())});T(1," Unstar ");K()}},eFa=function(a){if(a&1){var b=v();H(0,"button",19);Q("click",function(){x(b);var c=R(2).$implicit;return z(c.setAsPreferredHomepage())});T(1," Set as homepage ");K()}},fFa=function(a){if(a&1){var b=v();H(0,"button",19);Q("click",function(){x(b);var c=R().$implicit,d=R(5);"HOTLIST"===c.type?d.location.setUrl(d.paths.editHotlist(c.id)):d.location.setUrl(d.paths.editSavedSearch(c.id));
return z()});T(1," Settings ");K();F(2,dFa,2,0,"button",20)(3,eFa,2,0,"button",20)}a&2&&(a=R().$implicit,A(2),G("ngIf",a.isUnstarable()),A(1),G("ngIf",!a.isPreferredHomepage()))},gFa=function(a,b){if(a&1){var c=v();H(0,"li",23)(1,"a",24);Q("click",function(d){var e=x(c).$implicit,f=R(5);return z(f.onAnchorClick(e.href,d))});H(2,"span",13);T(3);K()();F(4,cFa,2,1,"button",25);H(5,"mat-menu",null,26);F(7,fFa,4,2,"ng-template",16);K()()}a&2&&(a=b.$implicit,b=R(2).$implicit,Jf("selected-indented",a.isSelected())("bv2-bookmark-group-hotlist-item",
"HOTLIST"==a.type)("bv2-bookmark-group-saved-search-item","SAVED_SEARCH"==a.type),fla("id","bv2-user-hotlists-bg-",b.id,"-",a.type,"-",a.id,""),G("title",a.getDisplayName()),A(1),G("href",a.href,Wd),A(2),V(" ",a.getDisplayName()," "),A(1),G("ngIf",b))},hFa=function(a){a&1&&(H(0,"ul",21),F(1,gFa,8,13,"li",22),K());a&2&&(a=R().$implicit,A(1),G("ngForOf",a.items))},iFa=function(a,b){a&1&&(H(0,"li",8)(1,"sidebar-zippy",9),F(2,bFa,7,3,"ng-template",null,10,tg)(4,hFa,2,1,"ng-template",null,11,tg),K()());
if(a&2){a=b.$implicit;var c=S(3),d=S(5);G("title",a.name);A(1);G("header",c)("content",d)("expanded",!1)}},jFa=function(a){a&1&&(H(0,"ul",6),F(1,iFa,6,4,"li",7),K());a&2&&(a=R(2),A(1),G("ngForOf",a.bookmarkGroups))},kFa=function(a){a&1&&F(0,jFa,2,1,"ul",5);a&2&&(a=R(),G("ngIf",a.bookmarkGroups))},lFa=function(a,b){b=void 0===b?[]:b;return"http://cl/search/cl:("+[].concat(u(a),u(b.map(function(c){return String(c.changelistNumber)}))).join("|")+")"},mFa=function(a,b,c){c=void 0===c?22:c;return["display: inline-block; border-radius: 50%;",
"width: "+c+"px;","min-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(" ")},nFa=function(a){return"hotlist-"+a},oFa=function(a){return"savedsearch-"+a},ko=function(a){if(null!=a){if(pFa.includes(a))return a;var b=a.match(/\bhotlists?\b/)?jo(a):void 0;if(b)return"hotlist";b=a.match(/\bsavedsearch(?:es|)\b/)?jo(a):void 0;if(b)return"savedsearch";b=/\bb\/\d+\b/;
b=a.match(/\bissues?\b/)||a.match(b)?jo(a):void 0;b||(a=a.trim(),b=3>a.length?!1:!!a.match(/^\d+$/));if(b)return"issue"}},qFa=function(a){switch(ko(a)){case "hotlist":return"Hotlist";case "savedsearch":return"Saved Search";case "issue":return"Issue"}},jo=function(a){if(null!=a)return a.split(/[^\d]+/).filter(Boolean).pop()},rFa=function(a){var b=jo(a);if(null!=b)switch(ko(a)){case "hotlist":return"/hotlists/"+b;case "savedsearch":return"/savedsearches/"+b;default:return"/issues/"+b}},sFa=function(a){for(var b=
{},c={},d=l(a),e=d.next();!e.done;e=d.next())e=e.value,c[e.issueId]=e;d=a.slice();d.sort(function(q,t){var w,y;return-1*((null!=(w=t.descendantCount)?w:0)-(null!=(y=q.descendantCount)?y:0))});d=l(d);for(e=d.next();!e.done;e=d.next()){var f=e.value,h=void 0;e=null!=(h=b[f.issueId])?h:0;h=void 0;f=l(null!=(h=f.parentIssueIds)?h:[]);for(h=f.next();!h.done;h=f.next())if(h=c[h.value],null!=h){var k=void 0;b[h.issueId]=null!=(k=b[h.issueId])?k:0;b[h.issueId]+=1+e}}return a.map(function(q){var t,w=null!=
(t=b[q.issueId])?t:0;return[[w,q.openDescendantCount+10*w],q]})},tFa=function(a,b){a=a.results;if(a.length<(void 0===b?50:b))return[];a=sFa(a);a.sort(function(f,h){f=l(f);f=l(f.next().value);f.next();f=f.next().value;h=l(h);h=l(h.next().value);h.next();return h.next().value-f});b=a.filter(function(f){f=l(f);return 0<l(f.next().value).next().value}).map(function(f){f=l(f);f.next();return f.next().value}).filter(function(f){return 2<=f.descendantCount}).filter(gCa);b=yta(b);var c={};a=l(a);for(var d=
a.next();!d.done;d=a.next()){var e=l(d.value);d=e.next().value;e=e.next().value;c[e.issueId]=d}return b.map(function(f){var h,k;return{title:null==(h=f.snapshot)?void 0:null==(k=h[0])?void 0:k.title,ref:f.issueId,suggestionRationale:f.descendantCount+" descendants and "+c[f.issueId][0]+" recent personal touchpoints."}})},uFa=function(a){return a},vFa=function(a){if("UNKNOWN_SOURCE"===a)throw Error("Xc");return a},wFa=function(a){if(a&1){var b=v();H(0,"span");T(1,"Hotlists");K();H(2,"b-hotlist-search-popup",
4);Q("itemSelect",function(c){x(b);var d=R();d.analytics.trackEvent("hotlistSearch","goToHotlist");d.location.setUrl(c.href);return z()})("click",function(c){return c.stopPropagation()});K()}a&2&&(A(2),G("showGroups",!1))},xFa=function(a){a&1&&(H(0,"button",14),L(1,"mat-icon",15),K());if(a&2){R();var b=S(6);G("matMenuTriggerFor",b)}},yFa=function(a){if(a&1){var b=v();H(0,"button",17);Q("click",function(){x(b);var c=R(2).$implicit,d=R(3);return z(d.addToMissionControl(c.id))});L(1,"mat-icon",19);T(2,
" Add to 'Home' screen ");K()}},zFa=function(a){if(a&1){var b=v();H(0,"button",17);Q("click",function(){x(b);var c=R(2).$implicit;return z(c.setAsPreferredHomepage())});L(1,"mat-icon",20);T(2," Set as preferred homepage ");K()}},AFa=function(a){if(a&1){var b=v();H(0,"button",17);Q("click",function(){x(b);var c=R(2).$implicit;return z(c.unstar())});L(1,"mat-icon",21);T(2," Unstar ");K()}},BFa=function(a){if(a&1){var b=v();F(0,yFa,3,0,"button",16)(1,zFa,3,0,"button",16);H(2,"button",17);Q("click",function(){x(b);
var d=R().$implicit,e=R(3);return z(e.openEditHotlist(d.id))});L(3,"mat-icon",18);T(4," Settings ");K();F(5,AFa,3,0,"button",16)}if(a&2){a=R().$implicit;var c=R(3);G("ngIf",c.ENABLE_MISSION_CONTROL);A(1);G("ngIf",!a.isPreferredHomepage());A(4);G("ngIf",a.isUnstarable())}},CFa=function(a,b){if(a&1){var c=v();H(0,"li",8)(1,"a",9);Q("click",function(d){var e=x(c).$implicit,f=R(3);return z(f.onAnchorClick(e.href,d))});H(2,"span",10);T(3);K()();F(4,xFa,2,1,"button",11);H(5,"mat-menu",null,12);F(7,BFa,
6,3,"ng-template",13);K()()}a&2&&(a=b.$implicit,Jf("selected",a.isSelected()),Xf("id","bv2-user-hotlists-hotlist-item-",a.id,""),G("title",a.name),A(1),G("href",a.href,Wd),A(2),$f(a.name),A(1),G("ngIf",a))},DFa=function(a){a&1&&(H(0,"ul",6),F(1,CFa,8,7,"li",7),K());a&2&&(a=R(2),A(1),G("ngForOf",a.hotlists))},EFa=function(a){a&1&&F(0,DFa,2,1,"ul",5);a&2&&(a=R(),G("ngIf",a.hotlists))},FFa=function(a){a&1&&(H(0,"span"),T(1,"Saved searches"),K())},GFa=function(a){if(a&1){var b=v();H(0,"button",15);Q("click",
function(){x(b);var c=R(2).$implicit,d=R(3);return z(d.addToMissionControl(c.id))});L(1,"mat-icon",18);T(2," Add to 'Home' screen ");K()}},HFa=function(a){if(a&1){var b=v();H(0,"button",15);Q("click",function(){x(b);var c=R(2).$implicit;return z(c.setAsPreferredHomepage())});L(1,"mat-icon",19);T(2," Set as preferred homepage ");K()}},JFa=function(a){if(a&1){var b=v();F(0,GFa,3,0,"button",14)(1,HFa,3,0,"button",14);H(2,"button",15);Q("click",function(){x(b);var d=R().$implicit,e=R(3);return z(e.openEditSavedSearch(d.id))});
L(3,"mat-icon",16);T(4," Settings ");K();H(5,"button",15);Q("click",function(){x(b);var d=R().$implicit,e=R(3);return z(IFa(e,d))});L(6,"mat-icon",17);T(7," Delete ");K()}if(a&2){a=R().$implicit;var c=R(3);G("ngIf",c.ENABLE_MISSION_CONTROL);A(1);G("ngIf",!a.isPreferredHomepage())}},KFa=function(a,b){if(a&1){var c=v();H(0,"li",7)(1,"a",8);Q("click",function(e){var f=x(c).$implicit,h=R(3);return z(h.onAnchorClick(f.href,e))});H(2,"span",9);T(3);K()();H(4,"button",10);L(5,"mat-icon",11);K();H(6,"mat-menu",
null,12);F(8,JFa,8,2,"ng-template",13);K()()}if(a&2){a=b.$implicit;var d=S(7);Jf("selected",a.isSelected());Cf("id","bv2-saved-searches-search-item-",a.id,"");G("title",a.name);A(1);G("href",a.href,Wd);A(2);$f(a.name);A(1);G("matMenuTriggerFor",d)}},LFa=function(a){a&1&&(H(0,"ul",5),F(1,KFa,9,7,"li",6),K());a&2&&(a=R(2),A(1),G("ngForOf",a.searches))},MFa=function(a){a&1&&F(0,LFa,2,1,"ul",4);a&2&&(a=R(),G("ngIf",a.searches))},PFa=function(a){var b=a.match(/\(.*\)/);if(a.match(/'.*'/)||a.match(/".*"/)||
b)return{complexSyntax:!0};a=a.split(/\s+/).filter(Boolean);b=a.filter(NFa).length;var c=a.filter(function(d){return!NFa(d)}).filter(OFa).length;return{filters:b,text:a.length-b-c,resourceIds:c}},OFa=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:lo(a)},NFa=function(a){return!!a.match(/\w:\w/g)},QFa=function(a,b){return(null!=a?a:0)+(null!=b?b:0)},RFa=function(a,b){for(a.has(b)&&a.delete(b);50<=a.size;)a.delete(a.keys().next().value);
a.set(b,void 0)},SFa=function(a,b){var c;b=null!=(c=null==b?void 0:b.split(","))?c:[];a.clear();c=l(b);for(b=c.next();!b.done;b=c.next())a.set(b.value,void 0)},mo=function(){return"NEAR_SLO MENTIONED UNBLOCKED NEEDS_REPORTER_INPUT REPLIED_TO_MENTION NEWLY_BLOCKING ASSIGNED".split(" ")},TFa=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"}},UFa=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""}},VFa=function(a,b){a&1&&L(0,"mat-icon",27);a&2&&(a=b.$implicit,G("matBadge",99<a?"99+":a)("matBadgeHidden",0===a)("matBadgeDescription","Badge indicating "+a+" tasks need attention"))},WFa=function(a){a&1&&L(0,"mat-icon",28)},XFa=function(a){a&1&&(H(0,"button",29),L(1,"mat-icon",30),K());if(a&2){R();var b=S(12);G("matMenuTriggerFor",b)}},ZFa=function(a){if(a&
1){var b=v();H(0,"button",31);Q("click",function(){x(b);var c=R(2);YFa(c,"MISSION_CONTROL");return z()});T(1," Set as homepage ");K()}},$Fa=function(a){if(a&1){var b=v();M(0);H(1,"li",22)(2,"a",7);Q("click",function(d){x(b);var e=R();e.onAnchorClick(e.missionControlPath,d);return z()});F(3,VFa,1,3,"mat-icon",23);W(4,"async");W(5,"async");F(6,WFa,1,0,"ng-template",null,24,tg);T(8," Home ");K();F(9,XFa,2,1,"button",25);W(10,"async");H(11,"mat-menu",null,26);F(13,ZFa,2,0,"ng-template",10);K()();N()}if(a&
2){var c=S(7);a=R();A(1);Jf("selected",!!a.location.path().match(/^\/home\b/));A(1);G("href",a.missionControlPath,Wd);A(1);G("ngIf",!X(4,6,a.hideBadgeInNav$)&&X(5,8,a.missionControlTaskCount$))("ngIfElse",c);A(6);G("ngIf",!X(10,10,a.isHomepageMissionControl$))}},aGa=function(a,b){a&1&&L(0,"mat-icon",35);a&2&&(a=b.$implicit,G("matBadge",99<a?"99+":a)("matBadgeHidden",0===a)("matBadgeDescription","Badge indicating "+a+" issues need attention"))},bGa=function(a){a&1&&L(0,"mat-icon",36)},cGa=function(a){a&
1&&(M(0),H(1,"button",37),L(2,"mat-icon",30),K(),N());if(a&2){R();var b=S(10);A(1);G("matMenuTriggerFor",b)}},dGa=function(a){if(a&1){var b=v();H(0,"button",31);Q("click",function(){x(b);var c=R(2);YFa(c,"NEEDS_ATTENTION");return z()});T(1," Set as homepage ");K()}},eGa=function(a){if(a&1){var b=v();H(0,"li",32)(1,"a",7);Q("click",function(d){x(b);var e=R();return z(e.onAnchorClick(e.needsAttentionPath,d))});F(2,aGa,1,3,"mat-icon",33);W(3,"async");F(4,bGa,1,0,"ng-template",null,24,tg);T(6," Needs attention ");
K();F(7,cGa,3,1,"ng-container",4);W(8,"async");H(9,"mat-menu",null,34);F(11,dGa,2,0,"ng-template",10);K()()}if(a&2){var c=S(5);a=R();Jf("selected",!!a.location.path().match(/^\/attention\b/));A(1);G("href",a.needsAttentionPath,Wd);A(1);G("ngIf",X(3,6,a.needsAttentionIssueCount$))("ngIfElse",c);A(5);G("ngIf",!X(8,8,a.isHomepageNeedsAttention$))}},fGa=function(a){a&1&&(M(0),H(1,"button",38),L(2,"mat-icon",30),K(),N());if(a&2){R();var b=S(14);A(1);G("matMenuTriggerFor",b)}},gGa=function(a){if(a&1){var b=
v();H(0,"button",31);Q("click",function(){x(b);var c=R();YFa(c,"ASSIGNED_TO_ME");return z()});T(1," Set as homepage ");K()}},iGa=function(a){if(a&1){var b=v();H(0,"li")(1,"a",7);Q("click",function(c){x(b);var d=R();return z(d.onAnchorClick(d.votedPath,c))});L(2,"mat-icon",39);T(3," Upvoted by me ");K()()}a&2&&(a=R(),Jf("selected",hGa(a.appSearchState)),A(1),G("href",a.votedPath,Wd))},jGa=function(a,b){if(a&1){var c=v();H(0,"li")(1,"a",7);Q("click",function(d){var e=x(c).$implicit,f=R();return z(f.onAnchorClick(e,
d))});L(2,"mat-icon",40);T(3," Recently Viewed ");K()()}a&2&&(a=b.$implicit,b=R(),Jf("selected",!!b.location.path().match(/^\/recent\b/)),A(1),G("href",a,Wd))},kGa=function(){return{diameter:100}},lGa=function(){return{color:"accent",clickAction:"check-indeterminate"}},no=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]]}))})},oo=function(){var a=0;a=void 0===a?0:a;return new Promise(function(b){setTimeout(b,
a)})},mGa=function(a){a&1&&Rf(0)},nGa=function(a){if(a&1){var b=v();H(0,"div",3);Q("mouseenter",function(){x(b);var c=R();return z(c.toggle(!0))})("mouseleave",function(){x(b);var c=R();return z(c.toggle(!1))})("mousemove",function(){x(b);R().activity.next();return z()});F(1,mGa,1,0,"ng-container",4);K()}a&2&&(a=R(),G("ngClass",a.bubbleStyle)("@fade",void 0),A(1),G("ngTemplateOutlet",a.panelTemplate))},oGa=function(a){a&1&&(M(0),H(1,"span",3),T(2),K(),N());a&2&&(a=R(2),A(1),Jf("xs",a.compactMode),
G("ngClass",a.chipClass),A(1),V(" ",a.chipText," "))},pGa=function(a){a&1&&(H(0,"div",7),T(1),H(2,"a",8),T(3," Learn more"),K()());a&2&&(a=R(3),A(1),V(" ",a.bubbleText," "),A(1),G("href",po(a.documentationLinks),Wd))},qGa=function(a){a&1&&(H(0,"xap-bubble",4)(1,"span",5),T(2),K(),F(3,pGa,4,2,"ng-template",null,6,tg),K());if(a&2){var b=S(4);a=R(2);G("panelTemplate",b);A(1);Jf("xs",a.compactMode);G("ngClass",a.chipClass);A(1);V(" ",a.chipText," ")}},rGa=function(a){a&1&&(M(0),F(1,oGa,3,4,"ng-container",
1)(2,qGa,5,5,"ng-template",null,2,tg),N());if(a&2){var b=S(3);a=R();A(1);G("ngIf",a.labelOnlyMode)("ngIfElse",b)}},sGa=function(a){a&1&&(M(0),T(1," Trackers are distinct communities with their own branding. "),N())},tGa=function(a){a&1&&(H(0,"a",10),T(1,"Learn More"),K());a&2&&(a=R(2),G("href",a.documentationLinks.baseDocumentationUrl+"/concepts/trackers",Wd))},uGa=function(a){a&1&&(M(0),H(1,"button",1),L(2,"img",2)(3,"img",3),H(4,"span",4),T(5),K()(),H(6,"onedev-hovercard",null,5)(8,"div",6)(9,"div",
7)(10,"span",8),T(11),F(12,sGa,2,0,"ng-container",0),K(),H(13,"div",9)(14,"a",10),T(15),K(),F(16,tGa,2,1,"a",11),K()()()(),N());if(a&2){var b=S(7);a=R();A(1);Jf("xs",a.compactMode);G("onedevHovercardTrigger",b)("onedevHovercardActive",a.showHovercard);A(1);G("src",a.logoLight,Wd);A(1);G("src",a.logoDark,Wd);A(2);$f(a.name);A(6);V(" This component or issue is part of ",a.extendedName,". ");A(1);G("ngIf",!a.isGlobalBuganizer);A(2);G("href",a.redirectUrl,Wd);A(1);V("View ",a.extendedName,"");A(1);G("ngIf",
!a.isGlobalBuganizer)}},vGa=function(a){a&1&&(L(0,"b-tracker-chip",1),W(1,"async"));a&2&&(a=R(),G("tracker",X(1,4,a.tracker$)||void 0)("compactMode",a.compactMode)("showHovercard",a.showHovercard)("isGlobalBuganizer",a.isGlobalBuganizer))},wGa=function(a){a&1&&(M(0),L(1,"mat-icon",11),N())},xGa=function(a){if(a&1){var b=v();M(0);H(1,"button",12);Q("mousedown",function(c){x(b);var d=R();return z(d.back(c))});L(2,"mat-icon",13);K();N()}},yGa=function(a){if(a&1){var b=v();M(0);H(1,"button",14);Q("mousedown",
function(c){x(b);var d=R();return z(d.expand(d.componentOption,c))});L(2,"mat-icon",15);K();N()}a&2&&(a=R(),A(1),G("matTooltip","View child components of "+a.componentOption.name),Af("aria-label","View child components of "+a.componentOption.name),A(1),G("svgIcon",a.showFolderSpecialIcon?"folder_special_24px":"folder"))},zGa=function(a){if(a&1){var b=v();M(0);H(1,"a",19);Q("mousedown",function(d){x(b);var e=R().$implicit;R(2).selectComponentId.emit(e.id);d.preventDefault();d.stopPropagation();return z()});
W(2,"boldPrefixMatches");W(3,"toString");K();N()}if(a&2){a=R().$implicit;var c=R(2);A(1);G("innerHtml",ig(2,1,X(3,4,a.name),c.query),Vd)}},AGa=function(a){a&1&&T(0);a&2&&(a=R().$implicit,V(" ",a.name," "))},BGa=function(a){a&1&&(M(0),T(1,"\u00a0>\u00a0"),N())},CGa=function(a,b){a&1&&(M(0),F(1,zGa,4,6,"ng-container",6)(2,AGa,1,1,"ng-template",null,17,tg)(4,BGa,2,0,"ng-container",18),N());if(a&2){a=b.$implicit;b=b.last;var c=S(3);A(1);G("ngIf",a.name!=a.id)("ngIfElse",c);A(3);G("ngIf",!b)}},DGa=function(a){a&
1&&(M(0),F(1,CGa,5,3,"ng-container",16),N());a&2&&(a=R(),A(1),G("ngForOf",a.componentOption.componentPath))},EGa=function(a,b){if(a&1){var c=v();M(0);H(1,"a",20);Q("mousedown",function(d){var e=x(c).ngIf;R(2).selectComponentId.emit(e.id);d.preventDefault();d.stopPropagation();return z()});T(2);K();N()}a&2&&(a=b.ngIf,A(2),V(" ",a.name," "))},FGa=function(a){a&1&&F(0,EGa,3,1,"ng-container",18);a&2&&(a=R(),G("ngIf",a.componentOption.componentPath[a.componentOption.componentPath.length-1]))},GGa=function(a){a&
1&&(H(0,"span",21),T(1," [Archived] "),K())},HGa=function(a){return{type:"team",id:a.teamId,name:a.name,description:a.description,pathNames:a.pathNames,pathIds:a.pathIds,expanded:!1}},IGa=function(a){return{type:"team",id:a.id,name:a.name,description:a.description,expanded:!1}},JGa=function(a,b){var c,d=null!=(c=null==b?void 0:b.componentPathId)?c:[],e,f=null!=(e=null==b?void 0:b.componentPathName)?e:[];b=d.map(function(h,k){return{id:h,name:f[k],pathText:f.slice(0,k+1).join(" > ")}});return{type:"component",
id:a.componentId,name:a.name,description:a.description,accessLimit:a.accessLimit,archived:a.archived,componentPath:b,trackerId:a.trackerId}},KGa=function(a){return new Map([].concat(u(a.entries())).map(function(b){var c=l(b);b=c.next().value;c=c.next().value;return[b,c.map(IGa)]}))},LGa=function(a){a&1&&L(0,"img",5);a&2&&(a=R(),Af("src",a.getLogoUrl(),Wd))},MGa=function(a){a&1&&(H(0,"span",9),T(1,"no components"),K())},NGa=function(a){a&1&&(H(0,"div",6),L(1,"div",7),W(2,"boldPrefixMatches"),F(3,MGa,
2,0,"span",8),K());a&2&&(a=R(),A(1),G("innerHtml",ig(2,2,a.teamOption.name,a.query),Vd),A(2),G("ngIf",a.hasNoComponent))},OGa=function(a){if(a&1){var b=v();M(0);H(1,"a",15);Q("mousedown",function(c){x(b);var d=R(2).index,e=R(2);d=null==e.teamOption.pathIds?null:e.teamOption.pathIds[d];c.preventDefault();c.stopPropagation();d&&e.selectTeamId.emit(d);return z()});T(2);K();N()}a&2&&(a=R(2).$implicit,A(2),$f(a))},PGa=function(a){a&1&&T(0);a&2&&(a=R(2).$implicit,$f(a))},QGa=function(a){a&1&&(M(0),F(1,
OGa,3,1,"ng-container",12)(2,PGa,1,1,"ng-template",null,14,tg),M(4),T(5," \u00b7 "),N()());if(a&2){var b=S(3);a=R(3);A(1);G("ngIf",a.allowSegmentSelection)("ngIfElse",b)}},RGa=function(a){a&1&&(M(0),H(1,"strong",17),T(2),K(),N());a&2&&(a=R(2).$implicit,A(2),$f(a))},SGa=function(a){a&1&&T(0);a&2&&(a=R(2).$implicit,$f(a))},TGa=function(a){a&1&&F(0,RGa,3,1,"ng-container",12)(1,SGa,1,1,"ng-template",null,16,tg);if(a&2){var b=S(2);a=R(3);G("ngIf",a.compact)("ngIfElse",b)}},UGa=function(a,b){a&1&&(M(0),
F(1,QGa,6,2,"ng-container",12)(2,TGa,3,2,"ng-template",null,13,tg),N());if(a&2){a=b.last;var c=S(3);A(1);G("ngIf",!a)("ngIfElse",c)}},VGa=function(a){a&1&&(H(0,"div",10),F(1,UGa,4,2,"ng-container",11),K());a&2&&(a=R(),A(1),G("ngForOf",a.teamOption.pathNames))},WGa=function(){var a=Nc(Xg),b=a?a.location:null;return{getPathname:function(){return b?b.pathname+b.search:""}}},XGa=function(a){if(a&1){var b=v();H(0,"button",9);Q("mousedown",function(c){x(b);R().clearQuery();return z(qo(c))});L(1,"mat-icon",
10);K()}},YGa=function(a){a&1&&(H(0,"div",13),T(1," Checking for admin access... "),K())},ZGa=function(a){a&1&&(H(0,"div",15),T(1," You do not have admin access to this component. "),H(2,"a",16),T(3,"View component admins"),K()());a&2&&(a=R(3),A(2),G("href",a.paths.manageComponent(a.selectedComponent.componentId,"access"),Wd))},$Ga=function(a){a&1&&F(0,ZGa,4,1,"div",14);a&2&&(a=R(2),G("ngIf",!a.hasAccess&&a.selectedComponent))},aHa=function(a){a&1&&(H(0,"div"),F(1,YGa,2,0,"div",11)(2,$Ga,1,1,"ng-template",
null,12,tg),K());if(a&2){var b=S(3);a=R();A(1);G("ngIf",a.checkingAccess)("ngIfElse",b)}},bHa=function(a){a&1&&L(0,"mat-progress-bar",24)},cHa=function(a){a&1&&(M(0),T(1,"s"),N())},eHa=function(a,b){if(a&1){var c=v();M(0);H(1,"div",30);Q("mousedown",function(e){var f=x(c).$implicit,h=R(5);dHa(h.searchState,f);return z(qo(e))});H(2,"team-row",31);Q("selectTeamId",function(e){x(c);var f=R(5);return z(ro(f.searchState,e))});K()();N()}if(a&2){a=b.$implicit;b=R(5);var d=S(3);A(1);G("data",a);A(1);G("teamOption",
a)("query",d.value)("hasNoComponent",b.searchState.hasNoComponent(a.id))}},fHa=function(a){a&1&&(H(0,"div",27)(1,"div",28),T(2," Filter components by my teams "),H(3,"span"),T(4),F(5,cHa,2,0,"ng-container",5),K()(),F(6,eHa,3,4,"ng-container",29),L(7,"mat-divider"),K());a&2&&(a=R().ngIf,A(4),V("",a.length," team"),A(1),G("ngIf",1<a.length),A(1),G("ngForOf",a))},gHa=function(a,b){a&1&&(M(0),F(1,fHa,8,3,"div",26),N());a&2&&(a=b.ngIf,A(1),G("ngIf",a.length))},hHa=function(a){a&1&&Rf(0)},jHa=function(a){a&
1&&(M(0),F(1,gHa,2,1,"ng-container",5),W(2,"async"),F(3,hHa,1,0,"ng-container",25),N());if(a&2){a=R(2);var b=S(12);A(1);G("ngIf",X(2,3,a.searchState.myTeams$));A(2);G("ngTemplateOutlet",b)("ngTemplateOutletContext",fg(5,iHa,a.searchState.recentComponents))}},kHa=function(a){a&1&&(M(0),T(1,"s"),N())},lHa=function(a){a&1&&Rf(0)},oHa=function(a,b){a&1&&(M(0),F(1,lHa,1,0,"ng-container",25),N());if(a&2){a=b.$implicit;b=b.index;R(5);var c=S(10);A(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",gg(4,
mHa,a,fg(2,nHa,b)))}},pHa=function(a){if(a&1){var b=v();H(0,"button",33);Q("mousedown",function(){x(b);var c=R(5);return z(c.searchState.showAllTeams$.next(!0))});L(1,"mat-icon",34);T(2," Show all teams ");K()}},qHa=function(a,b){a&1&&(H(0,"div",27)(1,"div",28),T(2," Filter components by teams "),H(3,"span"),T(4),F(5,kHa,2,0,"ng-container",5),K()(),F(6,oHa,2,7,"ng-container",29),W(7,"async"),F(8,pHa,3,0,"button",32),W(9,"async"),L(10,"mat-divider"),K());a&2&&(a=b.ngIf,b=R(4),A(4),V("",a," team"),
A(1),G("ngIf",1<a),A(1),G("ngForOf",X(7,4,b.searchState.filteredTeamOptions$)),A(2),G("ngIf",X(9,6,b.searchState.hasHiddenTeams$)))},rHa=function(a,b){a&1&&(M(0),F(1,qHa,11,8,"div",26),N());a&2&&(a=b.ngIf,A(1),G("ngIf",a.length))},sHa=function(a){a&1&&Rf(0)},uHa=function(a){a&1&&(M(0),F(1,rHa,2,1,"ng-container",5),W(2,"async"),F(3,sHa,1,0,"ng-container",25),N());if(a&2){a=R(2);var b=S(12);A(1);G("ngIf",X(2,3,a.searchState.teamOptions$));A(2);G("ngTemplateOutlet",b)("ngTemplateOutletContext",fg(5,
tHa,a.searchState.componentOptions))}},vHa=function(a){a&1&&Rf(0)},xHa=function(a,b){a&1&&(M(0),F(1,vHa,1,0,"ng-container",25),N());if(a&2){a=b.$implicit;b=b.index;R(7);var c=S(10);A(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",gg(4,mHa,a,fg(2,wHa,b)))}},yHa=function(a){a&1&&(H(0,"div",42),F(1,xHa,2,7,"ng-container",29),K());a&2&&(a=R(2).ngIf,A(1),G("ngForOf",a))},BHa=function(a){if(a&1){var b=v();M(0);F(1,yHa,2,1,"div",41);H(2,"button",33);Q("mousedown",function(c){x(b);var d=R(5),e=d.searchState.teamScope$.value;
e.expanded?zHa(d.searchState,e):AHa(d.searchState,e);return z(qo(c))});L(3,"mat-icon",34);T(4);K();N()}a&2&&(a=R(5),A(1),G("ngIf",a.searchState.teamScope$.value.expanded),A(2),Jf("expanded",a.searchState.teamScope$.value.expanded),A(1),V(" ",a.searchState.teamScope$.value.expanded?"Hide":"Show"," child teams "))},CHa=function(a,b){a&1&&(M(0),F(1,BHa,5,4,"ng-container",5),N());a&2&&(a=b.ngIf,A(1),G("ngIf",a.length))},FHa=function(a){if(a&1){var b=v();H(0,"div",36)(1,"div",28);T(2," Filtering by team: ");
K();H(3,"div",37)(4,"team-row",38);Q("selectTeamId",function(d){x(b);var e=R(3);return z(ro(e.searchState,d))});K();H(5,"button",39);Q("mousedown",function(d){x(b);var e=R(3);DHa(e.searchState);return z(qo(d))});L(6,"mat-icon",40);K()();F(7,CHa,2,1,"ng-container",5);K()}if(a&2){a=R(3);var c=S(3);A(3);G("data",a.searchState.teamScope$.value)("listOrder",eg(7,EHa));A(1);G("teamOption",a.searchState.teamScope$.value)("query",c.value)("compact",!0)("allowSegmentSelection",!0);A(3);G("ngIf",a.searchState.getChildTeams(a.searchState.teamScope$.value.id))}},
GHa=function(a){a&1&&Rf(0)},IHa=function(a){a&1&&(M(0),F(1,FHa,8,8,"div",35)(2,GHa,1,0,"ng-container",25),N());if(a&2){a=R(2);var b=S(12);A(1);G("ngIf",a.searchState.teamScope$.value);A(1);G("ngTemplateOutlet",b)("ngTemplateOutletContext",gg(3,HHa,a.searchState.componentOptions,a.searchState.teamScope$.value))}},LHa=function(a){if(a&1){var b=v();H(0,"div",44)(1,"div",45);T(2,"Component Tree Browser");K();H(3,"component-row",46);Q("goBack",function(){x(b);var c=R(3);return z(JHa(c.searchState))})("selectComponentId",
function(c){x(b);var d=R(3);return z(KHa(d.searchState,c))});K()()}a&2&&(a=R(3),A(3),G("componentOption",a.searchState.componentScope))},MHa=function(a){a&1&&Rf(0)},OHa=function(a){a&1&&(M(0),F(1,LHa,4,1,"div",43)(2,MHa,1,0,"ng-container",25),N());if(a&2){a=R(2);var b=S(12);A(1);G("ngIf",a.searchState.componentScope);A(1);G("ngTemplateOutlet",b)("ngTemplateOutletContext",fg(3,NHa,a.searchState.componentOptions))}},PHa=function(a){if(a&1){var b=v();H(0,"div",17,18);Q("mousedown",function(c){x(b);R();
return z(qo(c))});H(2,"div",19);F(3,bHa,1,0,"mat-progress-bar",20);K();H(4,"div",21);M(5,22);W(6,"async");F(7,jHa,4,7,"ng-container",23)(8,uHa,4,7,"ng-container",23)(9,IHa,3,6,"ng-container",23)(10,OHa,3,5,"ng-container",23);N();K()()}a&2&&(a=R(),A(3),G("ngIf",a.isLoading()),A(2),G("ngSwitch",X(6,6,a.searchState.state$)),A(2),G("ngSwitchCase","default"),A(1),G("ngSwitchCase","global"),A(1),G("ngSwitchCase","team_scope"),A(1),G("ngSwitchCase","component_scope"))},QHa=function(a){if(a&1){var b=v();
H(0,"button",50);Q("mousedown",function(c){x(b);var d=R().team,e=R();d.expanded?zHa(e.searchState,d):AHa(e.searchState,d);return z(qo(c))});L(1,"mat-icon",51);K()}a&2&&(a=R().team,A(1),Jf("expanded",a.expanded))},RHa=function(a){a&1&&Rf(0)},THa=function(a,b){a&1&&(M(0),F(1,RHa,1,0,"ng-container",25),N());if(a&2){a=b.$implicit;b=b.index;var c=R(2),d=c.level;c=c.order;R();var e=S(10);A(1);G("ngTemplateOutlet",e)("ngTemplateOutletContext",hg(SHa,a,d+1,c.concat(b)))}},UHa=function(a){a&1&&(M(0),F(1,THa,
2,6,"ng-container",29),N());if(a&2){a=R().team;var b=R();A(1);G("ngForOf",b.searchState.getChildTeams(a.id))}},VHa=function(a,b){if(a&1){var c=v();H(0,"div",47);Q("mousedown",function(h){var k=x(c).team,q=R();dHa(q.searchState,k);return z(qo(h))});H(1,"div",48);F(2,QHa,2,2,"button",49);H(3,"team-row",31);Q("selectTeamId",function(h){x(c);var k=R();return z(ro(k.searchState,h))});K()()();F(4,UHa,2,1,"ng-container",5)}if(a&2){a=b.team;var d=b.level;b=b.order;var e=R(),f=S(3);G("listOrder",b)("data",
a);A(1);If("margin-left",28*d,"px");A(1);G("ngIf",e.searchState.getChildTeams(a.id).length);A(1);Jf("indent",!e.searchState.getChildTeams(a.id).length);G("teamOption",a)("query",f.value)("hasNoComponent",e.searchState.hasNoComponent(a.id));A(1);G("ngIf",a.expanded)}},WHa=function(a){a&1&&(M(0),T(1,"s"),N())},YHa=function(a,b){if(a&1){var c=v();H(0,"div",56);Q("mousedown",function(f){var h=x(c).$implicit,k=R(3);XHa(k.searchState,h.id);return z(qo(f))});H(1,"component-row",57);Q("selectComponentId",
function(f){x(c);var h=R(3);return z(XHa(h.searchState,f))})("expandComponent",function(f){x(c);var h=R(3);return z(h.searchState.expandComponent(f))});K()()}if(a&2){a=b.$implicit;b=R(2).mode;var d=R(),e=S(3);G("data",a);A(1);G("showFolderSpecialIcon",d.currentTracker.inTracker)("componentOption",a)("query",e.value)("mode",b)}},ZHa=function(a,b){a&1&&(H(0,"div",54)(1,"div",28),T(2),H(3,"span"),T(4),F(5,WHa,2,0,"ng-container",5),K()(),F(6,YHa,2,5,"div",55),K());if(a&2){a=b.ngIf;var c=R();b=c.mode;
c=c.$implicit;A(2);V(" ","recent"===b?"Select recent component":"Select component"," ");A(2);V("",a," component");A(1);G("ngIf",1<a);A(1);G("ngForOf",c)}},$Ha=function(a){a&1&&(M(0),T(1," No recent components "),N())},aIa=function(a){a&1&&(M(0),T(1," No child components "),N())},bIa=function(a){a&1&&(M(0),T(1),L(2,"mat-icon",61),T(3," above ("),H(4,"a",62),T(5,"learn more "),L(6,"mat-icon",63),K(),T(7," about team associations)"),N());a&2&&(a=R(4).teamScope,A(1),V(" for ",a.name,". Remove the team filter by clicking on the "))},
cIa=function(a){a&1&&(M(0),T(1," No components found "),F(2,bIa,8,1,"ng-container",5),N());a&2&&(a=R(3).teamScope,A(2),G("ngIf",a))},dIa=function(a){a&1&&(H(0,"div",59),M(1,22),F(2,$Ha,2,0,"ng-container",23)(3,aIa,2,0,"ng-container",23)(4,cIa,3,1,"ng-container",60),N(),K());a&2&&(a=R(2).mode,A(1),G("ngSwitch",a),A(1),G("ngSwitchCase","recent"),A(1),G("ngSwitchCase","leaf"))},eIa=function(a){a&1&&F(0,dIa,5,3,"div",58);a&2&&(a=R(2),G("ngIf",!(a.componentLoading||a.searchState.componentsLoading)))},
fIa=function(a,b){a&1&&F(0,ZHa,7,4,"div",52)(1,eIa,1,1,"ng-template",null,53,tg);if(a&2){a=b.$implicit;var c=S(2);G("ngIf",a.length)("ngIfElse",c)}},gIa=function(a,b){b=l([a.listOrder,b.listOrder]);a=b.next().value;b=b.next().value;for(var c=0;c<Math.min(a.length,b.length);c++)if(a[c]!==b[c])return a[c]-b[c];return a.length-b.length},so=function(a){return a?ka(a,"@")?a:"[Deleted User]"===a?a:a+"@google.com":""},jIa=function(a,b){var c=Math.floor((new Date).getTime()/1E3-a);if(300>c)return"just now";
if(!(0>c)){for(var d=[],e=l(hIa),f=e.next();!f.done;f=e.next()){var h=l(f.value);f=h.next().value;h=h.next().value;if(2<=d.length)break;var k=Math.floor(c/h);if(1<=k)b?d.push(""+k+iIa[f]):1===k?d.push(k+" "+f):d.push(k+" "+f+"s");else if(d.length)break;c-=k*h;if(1<k)break}if(d.length)return d.join(" ")+" ago";console.error("epochToDateAgo() unhandled input. Seconds:",a)}},kIa=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},lIa=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)},nIa=function(a,b,c){b=void 0===b?"#ccc":b;c=void 0===c?400:c;mIa++;var d=156;d+=12*(mIa-1);return function(e){e=void 0===e?b:e;var f,h=null!=(f=document.getElementById(a))?
f:kIa(a,d);lIa(h,e,c)}},oIa=function(a,b){if(a&1){var c=v();M(0);H(1,"iframe",6);Q("load",function(){x(c);var d=R();return z(d.contentLoaded=!0)});K();N()}a&2&&(a=b.$implicit,b=R(),A(1),Jf("loading",!b.contentLoaded),G("src",a,qha))},pIa=function(a){a&1&&L(0,"mat-spinner",7)},rIa=function(a){return qIa.some(function(b){return b.test(a)})},sIa=function(a){var b;return null==(b=a.formContent)?void 0:b.locale},wIa=function(a,b){var c=sIa(a);c=(c&&tIa.includes(c)?sIa(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))?hh(uIa,a):hh(vIa,a,c)},yIa=function(a,b,c,d){if(xIa)return xIa;var e=wIa(a,d);return xIa=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(f,h){var k=Lj(document,"SCRIPT");Th(k,e);k.onload=function(){b.feedbackV2GlobalObject?f(b.feedbackV2GlobalObject):h("feedbackV2GlobalObject not found on window.")};k.onerror=
function(){h("Feedback binary script tag failed to load: "+e.toString())};c.body.appendChild(k)})},AIa=function(a,b,c,d){if(zIa)return zIa;var e=wIa(a,d);return zIa=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(f,h){var k=Lj(document,"SCRIPT");Th(k,e);k.onload=function(){b.feedbackV2GlobalObject?f(b.feedbackV2GlobalObject):h("feedbackV2GlobalObject not found on window.")};k.onerror=function(){h("Feedback binary script tag failed to load: "+e.toString())};
c.body.appendChild(k)})},BIa=function(a,b,c,d,e){e=void 0===e?!0:e;var f,h,k,q,t;return qe(function(w){switch(w.nextAddress){case 1:return f=Date.now(),w.yield(yIa(a,c,d,b),2);case 2:h=w.yieldResult;if(!(e||(null==(q=a.initializationData)?0:q.useNightlyRelease)||(null==(t=a.initializationData)?0:t.isLocalServer))){k=h.initializeFeedbackClient(a,f,b);w.jumpTo(3);break}return w.yield(h.initializeFeedbackClientAsync(a,f,b),4);case 4:k=w.yieldResult;case 3:return k.initiateAloha(),w.return(k)}})},DIa=
function(a,b,c,d){var e,f,h;return qe(function(k){if(1==k.nextAddress)return e=Date.now(),k.yield(AIa(a,c,d.document,b),2);if(3!=k.nextAddress)return f=k.yieldResult,k.yield(f.initializeFeedbackClientAsync(a,e,b,d),3);h=k.yieldResult;h.initiateAloha();return k.return(h)})},EIa=function(a,b,c){var d=!0;d=void 0===d?!0:d;var e,f,h,k,q,t,w,y,C,J;return qe(function(I){e=c||da;if(null==(f=b)?0:null==(k=(h=f).getEnableAlohaBinarySplit)?0:k.call(h)){q=e;if(q.isFormOpened)throw t=Error("Yc"),t.name="DuplicateFormError",
t;q.isFormOpened=!0;a.callbacks=a.callbacks||{};w=a.callbacks.onClose||function(){};a.callbacks.onClose=function(P){q.isFormOpened=!1;w(P)};try{return I.return(DIa(a,b,q,e))}catch(P){throw q.isFormOpened=!1,P;}}else{y=e;if(y.isFormOpened)throw C=Error("Yc"),C.name="DuplicateFormError",C;y.isFormOpened=!0;a.callbacks=a.callbacks||{};J=a.callbacks.onClose||function(){};a.callbacks.onClose=function(P){y.isFormOpened=!1;J(P)};try{return I.return(BIa(a,b,y,e.document,d))}catch(P){throw y.isFormOpened=
!1,P;}}})},IIa=function(a,b){return qe(function(c){return c.return(new Promise(function(d){var e=FIa(null!=b?b:"")+"/aloha_form_properties?productId="+a;to(e,function(f){f=f.target;var h=null;try{h=uda(GIa,JSON.stringify(f.getResponseJson(")]}'\n")))}catch(k){f=new GIa,h=HIa(),h=yl(h,7,!0),h=yl(h,10,!0),h=yl(h,12,!0),h=yl(h,13,!1),h=yl(h,14,!0),h=yl(h,15,!0),h=yl(h,20,!1),h=ej(f,uo,1,h)}d(h)},"GET","",{},2E3,!0)}))})},FIa=function(a){return rIa(a)?a:"https://www.google.com/tools/feedback"},JIa=function(a){if(a&
1){var b=v();H(0,"button",4);Q("click",function(){x(b);var c=R();return z(c.toggle())});L(1,"mat-icon",5);K()}a&2&&(a=R(),Jf("isClosed",a.isClosed),G("ngClass",a.direction)("matTooltip",a.toggleButtonLabel),Af("aria-label",a.toggleButtonLabel),A(1),G("svgIcon",a.isLTR?"chevron-left":"chevron-right"))},KIa=function(a){a=a.getBoundingClientRect();return 0<=a.top&&a.bottom<=window.innerHeight},LIa=function(a){a=a.getBoundingClientRect();return 0<a.bottom&&a.top<window.innerHeight},MIa=function(a,b,c,
d){var e=(d=void 0===d?!1:d)?function(f){return c.partially(f)}:function(f){return c.fully(f)};return(new E.Observable(function(f){f.next(e(a));var h=b(function(k){f.next(k[0].isIntersecting)},d?{threshold:0}:{threshold:1});h.observe(a);return function(){h.unobserve(a)}})).pipe(Pe())},NIa=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(Ne(500))).pipe(D(function(){return d(a)}),
Pe())},PIa=function(a){return!!a.match(OIa)&&!a.endsWith("/history")},vo=function(a){return"hyperlink"===a.type},QIa=function(a){return vo(a)&&PIa(a.href)},SIa=function(a){return vo(a)&&!!a.href.match(RIa)},TIa=function(a){if(a.endsWith("/history"))return null;var b,c;return(a=null!=(c=null==(b=a.match(OIa))?void 0:b[2])?c:null)?"https://screenshot.googleplex.com/"+a+".png":null},UIa=function(a){return"issueReference"===a.type},VIa=function(a){return vo(a)&&!QIa(a)&&!(vo(a)&&a.href.startsWith("mailto:"))},
WIa=function(a){a&1&&(M(0),L(1,"img",3),W(2,"async"),N());if(a&2){a=R(2);var b;A(1);G("src",X(2,2,a.srcRedirected$),Wd);Af("alt",null!==(b=a.alt)&&void 0!==b?b:"user provided image")}},XIa=function(a){a&1&&(M(0),F(1,WIa,3,4,"ng-container",0),W(2,"async"),N());if(a&2){a=R();var b=S(3);A(1);G("ngIf",X(2,2,a.showImage$))("ngIfElse",b)}},YIa=function(a){if(a&1){var b=v();H(0,"a",4);Q("click",function(c){x(b);var d=R();return z(d.trigger(c))})("keydown.enter",function(c){x(b);var d=R();return z(d.trigger(c))});
W(1,"async");W(2,"async");H(3,"b-glue");L(4,"mat-icon",5);K();M(5);T(6);W(7,"async");N();K()}a&2&&(a=R(),G("href",X(1,3,a.src$),Wd)("title",X(2,5,a.src$)),A(6),$f(X(7,7,a.srcTruncated$)))},ZIa=function(a){a&1&&(L(0,"mat-icon",6),W(1,"async"));a&2&&(a=R(),Xf("matTooltip","Unable to load image ",X(1,1,a.srcTruncated$),""))},$Ia=function(a){a&1&&(M(0),L(1,"br"),H(2,"a",4),L(3,"b-secure-image-widget",5),K(),L(4,"br"),N());if(a&2){a=R().ngIf;var b=R();A(2);G("href",a,Wd)("rel",b.EXTERNAL_LINK_REL);A(1);
G("src",a)("alt",b.alt||"User provided screenshot")("showByDefault",!0)}},aJa=function(a){a&1&&L(0,"b-secure-image-widget",6);if(a&2){a=R().ngIf;var b=R();G("src",a)("alt",b.alt||"User provided screenshot")("showByDefault",!1)}},bJa=function(a){a&1&&(M(0)(1,1),W(2,"async"),F(3,$Ia,5,5,"ng-container",2)(4,aJa,1,3,"b-secure-image-widget",3),N()());a&2&&(a=R(),A(1),G("ngSwitch",X(2,3,a.displayMode$)),A(2),G("ngSwitchCase",a.DisplayMode.SHOW),A(1),G("ngSwitchCase",a.DisplayMode.COLLAPSE))},dJa=function(a){if(a&
1){var b=v();H(0,"a",8);Q("keydown.enter",function(){x(b);var c=R(2);return z(cJa(c))})("keydown.space",function(){x(b);var c=R(2);return z(cJa(c))})("click",function(){x(b);var c=R(2);return z(cJa(c))});T(1," Dismiss");K()}},eJa=function(a){a&1&&(H(0,"div",4)(1,"div",5),L(2,"span",6),F(3,dJa,2,0,"a",7),K()());a&2&&(a=R(),A(2),G("innerHtml",a.announcement.message,Vd),A(1),G("ngIf",a.announcement.dismissible))},gJa=function(a){if(a&1){var b=v();H(0,"b-resizable-sidebar",9);Q("widthChanged",function(c){x(b);
var d=R();c!==d.matSidebarWidth&&(d.matSidebarWidth=c,fJa(d,c));return z()});L(1,"b-sidebar");K()}a&2&&(a=R(),G("size",a.matSidebarWidth)("disableToggleBtn",!0))},hJa=function(a){switch(a){case "COMFORTABLE":return"d-comfort";case "COZY":return"d-cozy";case "COMPACT":return"d-compact";default:return"d-comfort"}},iJa=function(a){a&1&&(H(0,"div",2),T(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),T(3," Learn more "),K()());a&2&&(a=R(2),A(2),G("href",a.getRestrictedAccessHelpLink(),Wd))},kJa=function(a){a&1&&(M(0),F(1,iJa,4,1,"div",8),N());a&2&&(a=R(),A(1),G("ngIf",jJa(a)))},lJa=function(a){a&1&&(H(0,"div",2)(1,"span",14),T(2," You do not have access to view this attachment. "),K()())},mJa=function(a){a&1&&L(0,"mat-spinner",15)},nJa=function(a,b){a&1&&(M(0),H(1,"time",1),W(2,"async"),T(3),K(),N());if(a&2){a=b.ngIf;b=R();A(1);var c=Bf(v(),"padding-left: ",b.paddingLeftPx,"px");rla(pla,
qla,c,!1);G("title",a.title);Af("datetime",X(2,6,b.timestampIso$));A(2);$f(a.formatted)}},pJa=function(a){if(a&1){var b=v();H(0,"button",10);Q("click",function(){x(b);var c=R(2),d=new ei;c.date=d;c.dateSelectionChange.emit(d);oJa(c,c.date);c.calendar._getCurrentViewComponent()._focusActiveCell(!1);c.dateChange.emit(c.date);return z(c.saveClicked.emit())});T(1,"Today");K()}},qJa=function(a){if(a&1){var b=v();H(0,"button",11);Q("click",function(){x(b);var c=R(2);c.date=void 0;c.dateSelectionChange.emit(void 0);
c.dateChange.emit(c.date);return z(c.saveClicked.emit())});T(1,"None");K()}},rJa=function(a){a&1&&(H(0,"div",1),F(1,pJa,2,0,"button",8)(2,qJa,2,0,"button",9),L(3,"mat-divider"),K());a&2&&(a=R(),A(1),G("ngIf",a.todayButtonEnabled),A(1),G("ngIf",a.noneButtonEnabled&&!a.required))},sJa=function(a){a&1&&L(0,"b-formatted-date-time",4);a&2&&(a=R(),G("date",a.value))},tJa=function(a){a&1&&(M(0),T(1,"---"),N())},uJa=function(a){a&1&&L(0,"mat-pseudo-checkbox",5);a&2&&(a=R(),G("state",a.selected?"checked":
"unchecked")("disabled",a.disabled))},vJa=function(a,b){if(a&1){var c=v();H(0,"div",8)(1,"mat-checkbox",9);Q("change",function(){var d=x(c).$implicit,e=R();e.focusFilterBox();var f=e.valueMap.get(d);f?e.valueMap.set(d,!1):!1===f?(f=null===e.originalValueMap.get(d),e.valueMap.set(d,f?null:!0)):e.valueMap.set(d,!0);e.onSave.emit({valueMap:e.valueMap,valueChanged:e.valueChanged()});return z()})("click",function(d){return d.stopPropagation()});T(2);K()()}a&2&&(a=b.$implicit,b=R(),G("title",b.getDisplayString(a)),
A(1),G("checked",!!b.valueMap.get(a))("indeterminate",null===b.valueMap.get(a)),A(1),V(" ",b.getDisplayString(a)," "))},xJa=function(a){if(a&1){var b=v();H(0,"input",10,11);Q("keydown",function(c){x(b);var d=R();"Enter"===c.key&&(wJa(d)&&d.addValue(),c.preventDefault());return z()})("click",function(c){return c.stopPropagation()})("ngModelChange",function(c){x(b);var d=R();return z(d.filterValue=c)});K()}a&2&&(a=R(),G("type","REPEATED_NUMERIC"===a.type?"number":"text")("ngModel",a.filterValue)("placeholder",
"REPEATED_ENUM"===a.type?"Filter values":"Add or filter values"))},yJa=function(a){a&1&&L(0,"mat-divider")},zJa=function(a){if(a&1){var b=v();H(0,"div",12);Q("click",function(c){x(b);var d=R();c.stopPropagation();return z(d.addValue())});T(1," Add ");K()}},AJa=function(a){if(a&1){var b=v();H(0,"div")(1,"b-date-time-input",13);Q("valueChange",function(c){x(b);var d=R();return z(d.currentSelectedDate=c)});K();H(2,"div",14);Q("click",function(c){x(b);var d=R();c.stopPropagation();if(c=d.currentSelectedDate)d.filterValue=
c?c.getMonth()+1+"/"+c.getDate()+"/"+c.getFullYear():"",d.addValue(),d.currentSelectedDate=void 0;return z()});T(3," Add ");K()()}a&2&&(a=R(),A(1),G("value",a.currentSelectedDate))},wo=function(a){return new ei(a.year,a.month-1,a.day)},xo=function(a){return{month:a.getMonth()+1,day:a.getDate(),year:a.getFullYear()}},BJa=function(a){return!(!a||null==a.day||null==a.month||null==a.year)},yo=function(a){return 0===a.numericValue?a.numericValue:a.textValue||a.dateValue||a.enumValue||a.numericValue||a.repeatedTextValue||
a.repeatedDateValue||a.repeatedEnumValue||a.repeatedNumericValue||null},zo=function(a){a=yo(a);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},CJa=function(a){return a?xo(gi(a)):null},DJa=function(a){return a?(a=Xk(a),isNaN(a)?null:a):null},EJa=function(a){if(a&1){var b=v();H(0,"div",0);Q("keydown",function(c){x(b);var d=R();return z(d.processKeydown(c))});Wf(1);K()}a&2&&(a=R(),Kf(a.className),Af("id",a.id))},FJa=
function(a){a&1&&Rf(0)},HJa=function(a){if(a&1){var b=v();H(0,"div",3);Q("click",function(){x(b);var d=R();return z(d.select(void 0))});F(1,FJa,1,0,"ng-container",4);K()}if(a&2){a=R();var c=S(3);G("option",void 0);Af("aria-selected",a.isSelected(void 0));A(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",eg(4,GJa))}},IJa=function(a){a&1&&Rf(0)},KJa=function(a){if(a&1){var b=v();H(0,"div",3);Q("click",function(){x(b);var e=R().$implicit,f=R();return z(f.select(e))});F(1,IJa,1,0,"ng-container",
4);K()}if(a&2){a=R().$implicit;var c=R(),d=S(3);G("option",a);Af("aria-selected",c.isSelected(a));A(1);G("ngTemplateOutlet",d)("ngTemplateOutletContext",fg(4,JJa,a))}},LJa=function(a,b){a&1&&(M(0),F(1,KJa,2,6,"div",0),N());a&2&&(a=b.$implicit,A(1),G("ngIf",a))},MJa=function(a){a&1&&(M(0),T(1),N());a&2&&(a=R(2).$implicit,A(1),V(" ",a," "))},NJa=function(a){a&1&&(H(0,"span",8),T(1,"--"),K())},OJa=function(a){a&1&&(M(0),F(1,MJa,2,1,"ng-container",5)(2,NJa,2,0,"ng-template",null,7,tg),N());if(a&2){var b=
S(3);a=R().$implicit;A(1);G("ngIf",null!=a)("ngIfElse",b)}},PJa=function(a){a&1&&Rf(0)},QJa=function(a){a&1&&F(0,PJa,1,0,"ng-container",4);if(a&2){a=R().$implicit;var b=R();G("ngTemplateOutlet",b.optionTemplate)("ngTemplateOutletContext",fg(2,JJa,a))}},RJa=function(a){a&1&&F(0,OJa,4,2,"ng-container",5)(1,QJa,1,4,"ng-template",null,6,tg);if(a&2){var b=S(2);a=R();G("ngIf",!a.optionTemplate)("ngIfElse",b)}},SJa=function(a){a&1&&Rf(0)},UJa=function(a){a&1&&(M(0),F(1,SJa,1,0,"ng-container",10),N());a&
2&&(a=R(),A(1),G("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",fg(2,TJa,a.value)))},VJa=function(a){a&1&&Rf(0)},WJa=function(a){a&1&&(M(0),F(1,VJa,1,0,"ng-container",10),N());a&2&&(a=R(2),A(1),G("ngTemplateOutlet",a.optionTemplate)("ngTemplateOutletContext",fg(2,TJa,a.value)))},XJa=function(a){a&1&&F(0,WJa,2,4,"ng-container",3);if(a&2){a=R();var b=S(8);G("ngIf",a.optionTemplate)("ngIfElse",b)}},YJa=function(a){a&1&&(M(0),T(1),N());a&2&&(a=R(2),A(1),V(" ",a.value," "))},ZJa=function(a){a&
1&&(H(0,"span",12),T(1,"--"),K())},$Ja=function(a){a&1&&F(0,YJa,2,1,"ng-container",3)(1,ZJa,2,0,"ng-template",null,11,tg);if(a&2){var b=S(2);a=R();G("ngIf",null!=a.value)("ngIfElse",b)}},aKa=function(a){a&1&&(yd(),H(0,"svg",13),L(1,"path",14),K())},bKa=function(a){a&1&&(H(0,"div"),T(1," The selected issues have no custom fields in common. "),K())},cKa=function(a){a&1&&(H(0,"span"),T(1,"*"),K())},dKa=function(a){if(a&1){var b=v();H(0,"input",16);Q("ngModelChange",function(c){x(b);var d=R(2).$implicit;
return z(d.textValue=c)});K()}a&2&&(a=R(2).$implicit,R(),G("ngModel",a.textValue),Af("aria-labelledby",Ao(a)))},eKa=function(a){if(a&1){var b=v();H(0,"input",17);Q("ngModelChange",function(c){x(b);var d=R(2).$implicit;return z(d.numericValue=c)});K()}a&2&&(a=R(2).$implicit,R(),G("ngModel",a.numericValue),Af("aria-labelledby",Ao(a)))},gKa=function(a){if(a&1){var b=v();H(0,"div")(1,"b-date-time-input",18);Q("valueChange",function(e){x(b);var f=R(2).$implicit;R();return z(f.dateValue=e?xo(e):void 0)});
K()()}if(a&2){a=R(2).$implicit;var c=R(),d;A(1);G("value",null!==(d=fKa(a.dateValue))&&void 0!==d?d:void 0)("required",c.isCustomFieldRequired(a))("customAriaLabelledBy",Ao(a))("customFormId","bv2-custom-field-"+a.customFieldId)}},iKa=function(a){if(a&1){var b=v();H(0,"onedev-single-select",19);Q("valueChange",function(d){x(b);var e=R(2).$implicit;return z(e.enumValue=d)});K()}if(a&2){a=R(2).$implicit;R();var c;G("value",a.enumValue)("options",null!==(c=a.allowedValue)&&void 0!==c?c:eg(3,hKa));Af("aria-labelledby",
Ao(a))}},kKa=function(a){if(a&1){var b=v();H(0,"b-bulk-repeated-field-picker",20);Q("onSave",function(e){x(b);var f=R(2).$implicit,h=R();return z(jKa(h,f.customFieldId,e))});K()}if(a&2){a=R(2).$implicit;var c=R(),d;G("type",c.getCustomFieldType(a))("originalValueMap",c.repeatedCustomFieldsMap.get(a.customFieldId))("enumChoices",null!==(d=a.allowedValue)&&void 0!==d?d:eg(3,hKa))}},lKa=function(a){a&1&&(M(0,10),F(1,dKa,1,2,"input",11)(2,eKa,1,2,"input",12)(3,gKa,2,4,"div",13)(4,iKa,1,4,"onedev-single-select",
14)(5,kKa,1,4,"b-bulk-repeated-field-picker",15),N());if(a&2){a=R().$implicit;var b=R();G("ngSwitch",b.getCustomFieldType(a));A(1);G("ngSwitchCase","TEXT");A(1);G("ngSwitchCase","NUMERIC");A(1);G("ngSwitchCase","DATE");A(1);G("ngSwitchCase","ENUM")}},mKa=function(a){if(a&1){var b=v();H(0,"span");T(1," Multiple values ");K();H(2,"a",21);Q("click",function(){x(b);var c=R().$implicit,d=R();return z(d.clearCustomFieldValue(c))});T(3,"X");K()}},nKa=function(a,b){a&1&&(H(0,"div",5)(1,"div",6)(2,"label",
7),T(3),F(4,cKa,2,0,"span",1),K()(),F(5,lKa,6,5,"ng-template",8)(6,mKa,4,0,"ng-template",null,9,tg),K());if(a&2){a=b.$implicit;var c=S(7);R();A(2);G("matTooltip",(a.description||"")+" [ID: "+a.customFieldId+"]");Af("id",Ao(a));A(1);V(" ",a.name," ");A(1);G("ngIf",a.required);A(1);G("ngIf",!a.hasMultipleValues)("ngIfElse",c)}},oKa=function(a){a&1&&L(0,"img",9);a&2&&(a=R(),G("src",a.person.imageUrl,Wd)("alt",a.person.name+"'s profile picture"))},pKa=function(a){a&1&&(H(0,"div",10),T(1),K());a&2&&(a=
R(),A(1),V(" ",a.person.email," "))},qKa=function(a){a&1&&(H(0,"div",11)(1,"onedev-chip",12),L(2,"mat-icon",13),T(3),K()());a&2&&(a=R(),A(3),V("",a.outOfOfficeDescription," "))},rKa=function(a){a&1&&(H(0,"li"),T(1),K());a&2&&(a=R(2),A(1),$f(a.person.title))},sKa=function(a){a&1&&L(0,"li",18)},tKa=function(a){a&1&&(H(0,"li"),T(1),K());a&2&&(a=R(2),A(1),$f(a.person.department))},uKa=function(a){a&1&&(M(0),L(1,"mat-icon",14),H(2,"div",15)(3,"ul",16),F(4,rKa,2,1,"li",8)(5,sKa,1,0,"li",17)(6,tKa,2,1,"li",
8),K()(),N());a&2&&(a=R(),A(4),G("ngIf",a.person.title),A(1),G("ngIf",a.person.title&&a.person.department),A(1),G("ngIf",a.person.department))},vKa=function(a){a&1&&(M(0),L(1,"mat-icon",19),H(2,"div",15),T(3),K(),N());a&2&&(a=R(),A(3),$f(a.person.location))},wKa=function(a){a&1&&(M(0),L(1,"mat-icon",20),H(2,"div",15)(3,"ul",16)(4,"li")(5,"a",21),T(6,"Teams"),K()(),L(7,"li",18),H(8,"li")(9,"a",21),T(10,"Calendar"),K()(),L(11,"li",18),H(12,"li")(13,"a",21),T(14,"CLs"),K()(),L(15,"li",18),H(16,"li")(17,
"a",21),T(18,"Readability"),K()()()(),N());a&2&&(a=R(),A(5),G("href","https://moma.corp.google.com/person/"+a.person.ldap,Wd),A(4),G("href","https://www.google.com/calendar/embed?src="+a.person.email+"&mode=WEEK&showCalendars=0",Wd),A(4),G("href","https://critique.corp.google.com/"+a.person.ldap,Wd),A(4),G("href","https://icanread.corp.google.com/s/"+a.person.ldap,Wd))},xKa=function(a,b){if(null==a)return null;a=a.getRequestHook(b);return null==a?null:a},yKa=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}},zKa=function(a,b,c){c=void 0===c?{}:c;b=l(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=l(d.value);d=e.next().value;e=e.next().value;d in a&&(c[e]=a[d])}return c},AKa=function(a){return Object.assign({},{arrays:{},descriptions:{},keys:[],objectMaps:{},objects:{},enums:{},emptyArrayIsUnset:!1},a)},BKa=function(a,b){return Bo(b,a)},CKa=function(a,b,c){b[a]=c},DKa=function(){return{}},IKa=
function(a,b){var c=new a;return null==b?c:EKa(b,FKa,GKa,HKa,a)},FKa=function(a,b){return b[a]},GKa=function(a,b,c){b.Serializable$values[a]=c},HKa=function(a){if(null==a)throw Error("sd");return new a},EKa=function(a,b,c,d,e){e=d(e);for(var f=JKa(a,e),h=f.arrays||{},k=f.objects||{},q=f.objectMaps||{},t=l(f.keys||[]),w=t.next(),y={};!w.done;y={mapMetadata:y.mapMetadata},w=t.next()){w=w.value;var C=b(w,a);if(null!=C){var J=void 0;if(h.hasOwnProperty(w)){if(f.emptyArrayIsUnset&&0===C.length)continue;
J=KKa(C,b,c,d,!0,!0,h[w])}else if(k.hasOwnProperty(w))J=KKa(C,b,c,d,!1,!0,k[w]);else if(q.hasOwnProperty(w))y.mapMetadata=q[w],J=y.mapMetadata.isPropertyArray?C.map(function(I){return function(P){return LKa(P,I.mapMetadata,b,c,d)}}(y)):LKa(C,y.mapMetadata,b,c,d);else if(Array.isArray(C)){if(f.emptyArrayIsUnset&&0===C.length)continue;J=KKa(C,b,c,d,!0,!1)}else J=C;c(w,e,J)}}return e},LKa=function(a,b,c,d,e){for(var f={},h=l(Object.keys(a)),k=h.next();!k.done;k=h.next()){k=k.value;var q=a[k];null!=q&&
(f[k]=KKa(q,c,d,e,b.isValueArray,b.isSerializable,b.ctor))}return f},KKa=function(a,b,c,d,e,f,h){if(f&&null==h)throw Error("td");if(null==a)return a;var k;e&&f?k=a.map(function(q){return EKa(q,b,c,d,h)}):e&&!f?k=a.map(function(q){return q}):k=!e&&f?EKa(a,b,c,d,h):"object"===typeof a?JSON.parse(JSON.stringify(a)):a;return k},JKa=function(a,b){if(b instanceof Co)a=AKa(b.getPartialClassMetadata());else if(a instanceof Co)a=AKa(a.getPartialClassMetadata());else throw Error("ud");return a},NKa=function(a){return a&&
MKa.test(a)?a.split("@")[0]:""},OKa=function(a){return a?a.find(function(b){var c;return"DOMAIN_PROFILE"===(null==(c=b.metadata)?void 0:c.container)}):null},PKa=function(a){return a?a.find(function(b){var c;return"DOMAIN_PROFILE"===(null==(c=b.metadata)?void 0:c.container)}):null},QKa=function(a,b){return a.map(function(c){var d,e,f,h=null==(e=null==b?void 0:null==(d=b.matches)?void 0:d.find(function(J){return J.lookupId===c}))?void 0:null==(f=e.personId)?void 0:f[0];if(!h)return{ldap:NKa(c),name:"",
email:c};var k;d=null==b?void 0:null==(k=b.people)?void 0:k[h];var q;h=null==(q=PKa(null==d?void 0:d.email))?void 0:q.value;var t,w;q=null==d?void 0:null==(t=d.name)?void 0:null==(w=t[0])?void 0:w.displayName;var y,C;t=null==d?void 0:null==(y=d.photo)?void 0:null==(C=y[0])?void 0:C.url;w=OKa(null==d?void 0:d.organization);y=null==w?void 0:w.title;C=null==w?void 0:w.department;w=null==w?void 0:w.location;return{ldap:NKa(h),email:h||c||"",name:q||"",imageUrl:t,title:y,department:C,location:w}})},RKa=
function(){},UKa=function(){var a={timeout:5E3};a=void 0===a?{}:a;return null!=SKa?SKa:SKa=TKa(a)},VKa=function(){return new Promise(function(a,b){window.gapi.load("client",{callback:a,onerror:b})})},TKa=function(a){a=void 0===a?{}:a;var b;return qe(function(c){if(1==c.nextAddress)return(b=window.gapi)&&b.client&&b.client.load?c.return(b):c.yield(WKa(hh(XKa),a),2);if(3!=c.nextAddress){b=window.gapi;if(!b)throw Error("vd");return b.client&&b.client.load?c.jumpTo(3):c.yield(VKa(),3)}return c.return(b)})},
YKa=function(a,b,c){var d=a.config.get(b);c!==d&&a.config.update(b,c)},$Ka=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(ZKa.has(a))return ZKa.get(a);b=Promise.resolve(c.reloadAuthResponse()).finally(function(){ZKa.delete(a)});ZKa.set(a,b);return b}return Promise.resolve()},aLa=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})},bLa=function(a,b){a&1&&(H(0,"div",1),yd(),H(1,"svg",2)(2,"g"),L(3,"path",3),K()(),rd.currentNamespace=null,H(4,"span",4),T(5),K()());a&2&&(a=b.ngIf,Af("aria-label",a)("title",a),A(5),$f(a))},cLa=function(a,b){a&1&&(H(0,"onedev-person-hovercard-body",1),W(1,"async"),Wf(2,0,["ngProjectAs","onedev-hovercard-action",5,["onedev-hovercard-action"]]),Wf(3,1,["ngProjectAs","[onedev-additional-content]",5,["","onedev-additional-content",""]]),K());a&
2&&(a=b.ngIf,b=R(),G("person",a)("outOfOfficeDescription",X(1,2,b.outOfOfficeDescription$)))},dLa=function(a){a&1&&(H(0,"onedev-person-hovercard",1,2),Wf(2,0,["ngProjectAs","onedev-hovercard-action",5,["onedev-hovercard-action"]]),K());if(a&2){var b=S(1);a=R();G("email",a.email)("enableWaldo",!0)("onedevIsHovercardReady",b.init)}},eLa=function(a){a&1&&Rf(0)},fLa=function(a){a&1&&(M(0),H(1,"span",2),F(2,eLa,1,0,"ng-container",3),K(),H(3,"onedev-hovercard",null,4),L(5,"b-person-card",5),K(),N());if(a&
2){var b=S(4);a=R();var c=S(2);A(1);G("onedevHovercardTrigger",b)("onedevHovercardActive",!!a.email);A(1);G("ngTemplateOutlet",c);A(3);G("email",a.email)}},gLa=function(a){a&1&&Wf(0)},hLa=function(a){a&1&&L(0,"waldo-availability-chip",1);a&2&&(a=R(),G("user",a.user),Af("coinonly",a.coinonly))},Do=function(a){return"string"===typeof a?"buganizer.drafts."+a:"buganizer.drafts.labeled."+a.label},iLa=function(a){var b=[];a=[].concat.apply([],u(a.map(function(e){return e.actions})));a=l(a);for(var c=a.next(),
d={};!c.done;d={action$jscomp$44:d.action$jscomp$44},c=a.next())d.action$jscomp$44=c.value,b.some(function(e){return function(f){return $h(e.action$jscomp$44,f)}}(d))||b.push(d.action$jscomp$44);return b},jLa=function(a){return Array.from(new Set([].concat.apply([],u(a.map(function(b){return b.issueIds})))))},kLa=function(a,b){a&1&&(H(0,"li"),T(1),K());a&2&&(a=b.$implicit,A(1),$f(a))},lLa=function(a,b,c,d){c&&c.targetTime&&(c.endTime?b.push({sloBounds:c,sloMetric:d}):a.push({sloBounds:c,sloMetric:d}))},
mLa=function(a,b){return a.sloBounds.targetTime.seconds-b.sloBounds.targetTime.seconds},Eo=function(a,b){return function(c){if(a.has(c))return a.get(c);var d=b(c);a.set(c,d);return d}},Fo=function(a,b){return new Map(a.map(function(c){return[c,b(c)]}))},nLa=function(a,b){var c;return new Map(null!=(c=null==a?void 0:a.map(function(d){return[b(d),d]}))?c:[])},oLa=function(a,b){return Fo([].concat(u(a.keys())),function(c){return b(a.get(c))})},pLa=function(){return{startTime:Date.now(),firstActionSeen:!1,
editCount:0,variations:new Set}},qLa=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},rLa=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},sLa=function(a){var b;return null==(b=Jn(a))?void 0:b.title},tLa=function(a){var b,c;return null!=(c=null==(b=Jn(a))?void 0:b.status)?c:void 0},uLa=function(a){var b,c;return null!=(c=null==(b=Jn(a))?void 0:b.priority)?c:void 0},
vLa=function(a){var b,c;return null!=(c=null==(b=Jn(a))?void 0:b.assigneeUser)?c:void 0},wLa=function(a){var b,c;return null!=(c=null==(b=Jn(a))?void 0:b.reporterUser)?c:void 0},xLa=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 gl(a)},yLa=function(a){var b;a=null==(b=Jn(a))?void 0:b.componentId;return gl(a)},zLa=function(a){var b,c;return null!=(c=null==(b=Jn(a))?void 0:b.ccUsers)?c:[]},ALa=function(a){var b,c;return null!=(c=null==
(b=Jn(a))?void 0:b.issueAccessLimitLevel)?c:"LIMIT_NONE"},BLa=function(a){var b,c;return null!=(c=null==(b=Jn(a))?void 0:b.collaboratorsUsers)?c:[]},CLa=function(a){var b,c;return null!=(c=null==(b=Jn(a))?void 0:b.type)?c:void 0},DLa=function(a){var b,c;return null!=(c=null==(b=Jn(a))?void 0:b.foundInVersion)?c:[]},ELa=function(a){var b,c;return null!=(c=null==(b=Jn(a))?void 0:b.targetedToVersion)?c:[]},FLa=function(a){var b,c;return null!=(c=null==(b=Jn(a))?void 0:b.changelist)?c:[]},GLa=function(a){var b,
c;return null!=(c=null==(b=Jn(a))?void 0:b.postmortems)?c:[]},HLa=function(a){var b;return(null==(b=Jn(a))?void 0:b.inProd)||!1},ILa=function(a){var b;return null==(b=Jn(a))?void 0:b.effort},JLa=function(a){var b,c;return null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.aggregatedData)?void 0:c.voteCount},KLa=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},MLa=function(a){return LLa(null==a?void 0:a.issue)},LLa=function(a){var b,c;return null!=
(c=null==(b=Fn(a))?void 0:b.isDeleted)?c:!1},OLa=function(a){return NLa(null==a?void 0:a.issue)},NLa=function(a){var b;return null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel},PLa=function(a){var b;return(a=null==a?void 0:null==(b=a.issue)?void 0:b.aggregatedData)&&Math.round(a.modifiedTimeMicros/1E3)},RLa=function(a){return QLa(null==a?void 0:a.issue)},QLa=function(a){var b,c;return null!=(c=null==(b=Fn(a))?void 0:b.retention)?c:void 0},SLa=function(a){var b,c;return null!=(c=null==(b=
Jn(a))?void 0:b.duplicateOfIssueId)?c:void 0},ULa=function(a){return TLa(null==a?void 0:a.issue)},TLa=function(a){var b,c;return null!=(c=null==a?void 0:null==(b=a.aggregatedData)?void 0:b.retentionState)?c:void 0},VLa=function(a){var b;return gl(null==a?void 0:null==(b=a.issue.aggregatedData)?void 0:b.sloId)},WLa=function(a){var b;return null==a?void 0:null==(b=a.issue.aggregatedData)?void 0:b.createdTimeMicros},XLa=function(a){return null==a?void 0:a.effortSpec},YLa=function(a){a=XLa(a);return!(!a||
!a.name&&!a.inherit)},ZLa=function(a){return null==a?void 0:a.componentPathInfo},$La=function(a){if(!a)return{};var b,c=l(null!=(b=a.match(RegExp("comment([0-9]+)")))?b:[]);c.next();b=c.next().value;var d;a=l(null!=(d=a.match(RegExp("comment[0-9]+version([0-9]+)")))?d:[]);a.next();d=a.next().value;return{commentNumber:fl(b),commentVersion:fl(d)}},bMa=function(a,b){if(aMa[a])return aMa[a][b]},cMa=function(a){return a.customFieldValue?String(a.customFieldValue.customFieldId):a.fieldName},fMa=function(a){if(a&
1){var b=v();M(0,3);H(1,"onedev-hovercard-action",4);Q("onAction",function(){x(b);var e=R();return z(dMa(e))});W(2,"async");H(3,"span");T(4);K()();H(5,"onedev-hovercard-action",4);Q("onAction",function(){x(b);var e=R();return z(eMa(e))});W(6,"async");H(7,"span");T(8);K()();N()}if(a&2){a=R();var c,d;A(1);G("disabled",null!==(c=X(2,4,a.actionService.assigneeUpdating$))&&void 0!==c?c:!1);A(3);$f(a.email!==a.currentAssignee?"Set as assignee":"Remove assignee");A(1);G("disabled",null!==(d=X(6,6,a.actionService.ccUpdating$))&&
void 0!==d?d:!1);A(3);$f(a.currentCc.includes(a.email)?"Remove from CCs":"Add to CCs")}},gMa=function(a){a&1&&(M(0),L(1,"b-availability-chip",3),N());a&2&&(a=R(2).ngIf,A(1),G("user",a.email))},hMa=function(a){a&1&&(M(0),T(1),N(),F(2,gMa,2,1,"ng-container",0));if(a&2){a=R().ngIf;var b=R();A(1);$f(a.content);A(1);G("ngIf",b.enableWaldoAvailability&&b.availabilityChipEnabled)}},iMa=function(a){a&1&&Rf(0)},jMa=function(a){a&1&&(M(0),H(1,"span",4),F(2,iMa,1,0,"ng-container",5),K(),H(3,"onedev-hovercard",
null,6),L(5,"b-issue-person-card",7),K(),N());if(a&2){var b=S(4);a=R().ngIf;var c=S(2),d=R();A(1);G("onedevHovercardTrigger",b);Af("tabindex",d.hovercardEnabled&&d.hovercardFocusEnabled?"0":null);A(1);G("ngTemplateOutlet",c);A(3);G("email",a.email)}},kMa=function(a,b){a&1&&(M(0),F(1,hMa,3,2,"ng-template",null,1,tg)(3,jMa,6,4,"ng-container",2),N());if(a&2){a=b.ngIf;var c=S(2);b=R();A(3);G("ngIf",b.hovercardEnabled&&b.isNonObfuscatedEmail(a.email))("ngIfElse",c)}},lMa=function(a){a&1&&L(0,"b-user-display-name",
2);a&2&&(a=R(),G("email",a.getEmailAddress())("hovercardEnabled",!1)("availabilityChipEnabled",a.availabilityChipEnabled)("hovercardFocusEnabled",a.hovercardFocusEnabled))},mMa=function(a){a&1&&(H(0,"span"),T(1),K());a&2&&(a=R(),A(1),$f(a.getDisplayString()))},nMa=function(a){a&1&&Rf(0)},oMa=function(a){a&1&&(M(0),H(1,"span",3),F(2,nMa,1,0,"ng-container",4),K(),H(3,"onedev-hovercard",null,5),L(5,"b-issue-person-card",6),K(),N());if(a&2){var b=S(4);a=R().ngIf;var c=S(3);A(1);G("onedevHovercardTrigger",
b);A(1);G("ngTemplateOutlet",c);A(3);G("email",a.email)}},qMa=function(a){a&1&&(M(0),L(1,"img",8),N());a&2&&(a=R(2).ngIf,R(),A(1),G("src",pMa[a.email],Wd))},rMa=function(a){a&1&&L(0,"img",11);a&2&&(a=R(3).ngIf,G("src",a.src,Wd)("srcset",a.srcset))},sMa=function(a){a&1&&(H(0,"span",9),F(1,rMa,1,2,"img",10),K());a&2&&(a=R(2).ngIf,Jf("anonymous",!a.showImage),A(1),G("ngIf",a.showImage))},uMa=function(a){a&1&&F(0,qMa,2,1,"ng-container",0)(1,sMa,2,3,"span",7);if(a&2){a=R().ngIf;var b=R();G("ngIf",a.email&&
tMa(b,a.email));A(1);G("ngIf",!tMa(b,a.email))}},vMa=function(a,b){a&1&&(M(0),F(1,oMa,6,3,"ng-container",1)(2,uMa,2,2,"ng-template",null,2,tg),N());if(a&2){a=b.ngIf;var c=S(3);b=R();A(1);G("ngIf",b.isNonObfuscatedEmail(a.email))("ngIfElse",c)}},wMa=function(a){a&1&&(H(0,"div",8),L(1,"b-spinner"),K())},xMa=function(a){a&1&&L(0,"code",22);a&2&&(a=R(2).$implicit,R(2),G("innerHtml",dh(a.formattingModeDiff),Vd))},yMa=function(a){a&1&&(H(0,"code",23),T(1),K());a&2&&(a=R(2).$implicit,A(1),V(" ",a.formattingMode,
" "))},zMa=function(a){a&1&&(H(0,"p",19),T(1," Formatting: "),F(2,xMa,1,1,"code",20)(3,yMa,2,1,"code",21),K());a&2&&(a=R(3),A(2),G("ngIf",a.diffView),A(1),G("ngIf",!a.diffView))},AMa=function(a){if(a&1){var b=v();H(0,"div")(1,"span",24)(2,"b-person-hovercard",25);W(3,"omitObfuscatedEmail");T(4);W(5,"appendDomain");K()();H(6,"a",26);Q("click",function(c){x(b);var d=R().$implicit,e=R(2);d=d.version;c.stopPropagation();c=e.paths.editIssue(e.issueId)+("#comment"+e.commentNumber+"version"+d);e.location.replaceState(c);
return z()});T(7);K()()}a&2&&(a=R().$implicit,R(2),A(2),G("email",X(3,5,qi(a.lastEditorUser))),A(2),V(" <",X(5,7,qi(a.lastEditorUser)),"> "),A(2),Cf("aria-label","Comment version ",a.version,""),Xf("id","bv2-edit-issue-comment-",a.version,""),A(1),V(" #",a.version,""))},BMa=function(a){a&1&&(H(0,"div",30),T(1),K());a&2&&(a=R(2).$implicit,A(1),$f(a.preview))},CMa=function(a){a&1&&(H(0,"div",31),T(1,"Comment deleted."),K())},DMa=function(a){a&1&&(H(0,"div",32),T(1,"Comment history restricted."),K())},
EMa=function(a){a&1&&(M(0),F(1,BMa,2,1,"div",27)(2,CMa,2,0,"div",28)(3,DMa,2,0,"div",29),N());a&2&&(a=R().$implicit,A(1),G("ngIf",!a.restricted&&!a.deleted),A(1),G("ngIf",!a.restricted&&a.deleted),A(1),G("ngIf",a.restricted))},FMa=function(a){a&1&&(H(0,"div",35),T(1,"Comment deleted."),K())},GMa=function(a){a&1&&(H(0,"div",36),W(1,"async"),K());if(a&2){a=R(2).$implicit;var b=R(2);Jf("codefont",X(1,3,b.codefont.codefont$));G("innerHtml",a.unlinkifiedComment,Vd)}},HMa=function(a){a&1&&(H(0,"div",36),
W(1,"async"),K());if(a&2){a=R(2).$implicit;var b=R(2);Jf("codefont",X(1,3,b.codefont.codefont$));G("innerHtml",dh(a.diff),Vd)}},IMa=function(a){a&1&&(H(0,"div",32),T(1," This comment is not available due to present or past restrictions on the comment. "),K())},JMa=function(a){a&1&&(M(0),F(1,FMa,2,0,"div",33)(2,GMa,2,5,"div",34)(3,HMa,2,5,"div",34)(4,IMa,2,0,"div",29),N());if(a&2){a=R().$implicit;var b=R(2);A(1);G("ngIf",!a.restricted&&a.deleted);A(1);G("ngIf",!b.diffView&&!a.restricted&&!a.deleted);
A(1);G("ngIf",b.diffView&&!a.restricted&&!a.deleted);A(1);G("ngIf",a.restricted)}},KMa=function(a,b){if(a&1){var c=v();H(0,"li",11)(1,"div",12);L(2,"b-user-image",13);K();H(3,"div",14);Q("click",function(){var d=x(c).$implicit;return z(d.open=!d.open)});L(4,"b-user-display",15)(5,"b-formatted-date-time",16);F(6,zMa,4,2,"p",17)(7,AMa,8,9,"div",18)(8,EMa,4,3,"ng-container",18);K();F(9,JMa,5,4,"ng-container",18);K()}a&2&&(a=b.$implicit,R(2),Jf("comment-version-open",a.open),A(2),G("email",qi(a.lastEditorUser)),
A(2),G("model",a.lastEditorUser),A(1),G("timestamp",a.lastModified),A(1),G("ngIf",!a.deleted),A(1),G("ngIf",a.open),A(1),G("ngIf",!a.open),A(1),G("ngIf",a.open))},LMa=function(a){a&1&&(H(0,"ul",9),F(1,KMa,10,9,"li",10),K());a&2&&(a=R(),A(1),G("ngForOf",a.history)("ngForTrackBy",a.trackByIndex))},MMa=function(a){a&1&&L(0,"b-user-image",5);a&2&&(a=R(),G("email",a.email))},NMa=function(a){a&1&&Rf(0)},OMa=function(a){a&1&&(M(0),H(1,"span",6),F(2,NMa,1,0,"ng-container",7),K(),H(3,"onedev-hovercard",null,
8),L(5,"b-issue-person-card",9),K(),N());if(a&2){var b=S(4);a=R();var c=S(4);A(1);G("onedevHovercardTrigger",b);A(1);G("ngTemplateOutlet",c);A(3);G("email",a.email)}},PMa=function(a){a&1&&(H(0,"span"),T(1),K());a&2&&(a=R(),A(1),$f(a.email))},QMa=function(a){a&1&&(H(0,"span",10),L(1,"b-availability-chip",11),K());a&2&&(a=R(),A(1),G("user",a.email))},RMa=function(a){a&1&&L(0,"b-icon",7)},SMa=function(a){a&1&&L(0,"b-user-image",8);a&2&&(a=R(2),G("email",a.email))},TMa=function(a){a&1&&(M(0),F(1,RMa,
1,0,"b-icon",5)(2,SMa,1,1,"ng-template",null,6,tg),N());if(a&2){var b=S(3);a=R();A(1);G("ngIf",a.enableGroupIcon&&a.isGroup)("ngIfElse",b)}},UMa=function(a){a&1&&L(0,"b-user-display-name",9);a&2&&(a=R(),G("email",a.email)("hovercardFocusEnabled",!0)("availabilityChipEnabled",!1))},VMa=function(a){a&1&&Rf(0)},WMa=function(a){a&1&&(M(0),H(1,"span",12),F(2,VMa,1,0,"ng-container",13),K(),H(3,"onedev-hovercard",null,14),L(5,"b-issue-person-card",15),K(),N());if(a&2){var b=S(4);R();var c=S(2);a=R();A(1);
G("onedevHovercardTrigger",b);A(1);G("ngTemplateOutlet",c);A(3);G("email",a.email)}},XMa=function(a){a&1&&(H(0,"span",16),T(1),K());a&2&&(a=R(2),A(1),$f(a.email))},YMa=function(a){a&1&&F(0,WMa,6,3,"ng-container",10)(1,XMa,2,1,"ng-template",null,11,tg);if(a&2){var b=S(2);a=R();G("ngIf",a.isNonObfuscatedEmail(a.email))("ngIfElse",b)}},ZMa=function(a){a&1&&(L(0,"mat-icon",17),W(1,"async"),W(2,"async"));if(a&2){a=R();var b,c;G("svgIcon",null!==(b=X(1,2,a.iconName$))&&void 0!==b?b:"")("matTooltip",null!==
(c=X(2,4,a.iconToolTip$))&&void 0!==c?c:"")}},$Ma=function(a){a&1&&(M(0),L(1,"b-availability-chip",18),N());a&2&&(a=R(),A(1),G("user",a.email))},cNa=function(a,b){var c=new aNa;a=Go(c,a,b);bNa(c,a);c=a.map(function(d){var e=d[0];d=d[1];switch(e){case -1:return Ho("SPAN",{"class":"diff-removed"},d);case 1:return Ho("SPAN",{"class":"diff-added"},d);case 0:return Ho("SPAN",{"class":null},d);default:throw Error("Ad`"+e);}});return Io(c)},dNa=function(a){var b;return"DELETED"===(null==(b=a.entityStatus)?
void 0:b.status)},eNa=function(a){return new Set(a.map(function(b){return di(b)}))},Jo=function(a,b,c){return a.has(b)?c:""},fNa=function(a,b,c){return a.has(b)?c:[]},Ko=function(a,b,c){return{fieldName:a,diffType:"SINGLE_VALUE",diff:{oldValue:b,newValue:c}}},iNa=function(a){if(!a)return"";var b=gNa.get(a.retentionSelection),c=a.retentionPeriodDays,d="Issue Retention: "+b;b=d;c&&(b=d+(", Days: "+c));d=hNa.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},kNa=function(a){if(!a)return"";var b=a.inherit,c=jNa.get(a.source),d=a.comment;a="Inherit: "+b+", Source: "+c+", ID: "+a.id;return d?a+(", Justification: "+d):a},lNa=function(a){return a?"Inherit: "+a.inherit+", ID: "+a.id:""},mNa=function(a){a&1&&(H(0,"li")(1,"a",4),T(2," Create an issue in this component"),K()());a&2&&(a=R(2),A(1),G("href",a.createIssueUrl,Wd))},nNa=function(a,b){a&1&&(M(0),H(1,"h3"),T(2),K(),H(3,"p"),
T(4),K(),L(5,"b-component-access-level-indicator",3),H(6,"p"),T(7),K(),H(8,"ul")(9,"li")(10,"a",4),T(11," View recent open issues"),K()(),F(12,mNa,3,1,"li",2),H(13,"li")(14,"a",4),T(15," View component"),K()()(),N());a&2&&(a=b.ngIf,b=R(),A(2),$f(a.name),A(2),V("ID: ",b.componentId,""),A(1),G("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel)("labelOnlyMode",!0),A(2),$f(a.description),A(3),G("href",b.recentIssuesUrl,Wd),A(2),G("ngIf",!b.isAnonymous),A(2),G("href",b.viewComponentUrl,
Wd))},oNa=function(a){a&1&&(H(0,"span",8),T(1),K());a&2&&(a=R(),A(1),$f(a.placeholder))},pNa=function(a){a&1&&(H(0,"span",12),T(1),K());a&2&&(a=R(2),A(1),$f(a.triggerValue))},qNa=function(a){a&1&&Wf(0,0,["*ngSwitchCase","true"])},rNa=function(a){a&1&&(H(0,"span",9),F(1,pNa,2,1,"span",10)(2,qNa,1,0,"ng-content",11),K());a&2&&(a=R(),G("ngSwitch",!!a.customTrigger),A(2),G("ngSwitchCase",!0))},sNa=function(a){if(a&1){var b=v();H(0,"div",13)(1,"div",14,15);Q("@transformPanel.done",function(c){x(b);var d=
R();return z(d._panelDoneAnimatingStream.next(c.toState))})("keydown",function(c){x(b);var d=R();return z(d._handleKeydown(c))});Wf(3,1);K()()}a&2&&(a=R(),G("@transformPanelWrap",void 0),A(1),Mf("mat-select-panel ",a._getPanelTheme(),""),If("transform-origin",a._transformOrigin)("font-size",a._triggerFontSize,"px"),G("ngClass",a.panelClass)("@transformPanel",a.multiple?"showing-multiple":"showing"),Af("id",a.id+"-panel")("aria-multiselectable",a.multiple)("aria-label",a.ariaLabel||null)("aria-labelledby",
a._getPanelAriaLabelledby()))},tNa=function(a,b){a&1&&(H(0,"mat-option",19),T(1),K());a&2&&(a=b.$implicit,G("value",a),A(1),V(" ",a," "))},uNa=function(a){if(a&1){var b=v();H(0,"mat-form-field",16)(1,"mat-select",17);Q("selectionChange",function(c){x(b);var d=R(2);return z(d._changePageSize(c.value))});F(2,tNa,2,2,"mat-option",18);K()()}a&2&&(a=R(2),G("appearance",a._formFieldAppearance)("color",a.color),A(1),G("value",a.pageSize)("disabled",a.disabled)("panelClass",a.selectConfig.panelClass||"")("disableOptionCentering",
a.selectConfig.disableOptionCentering)("aria-label",a._intl.itemsPerPageLabel),A(1),G("ngForOf",a._displayedPageSizeOptions))},vNa=function(a){a&1&&(H(0,"div",20),T(1),K());a&2&&(a=R(2),A(1),$f(a.pageSize))},wNa=function(a){a&1&&(H(0,"div",12)(1,"div",13),T(2),K(),F(3,uNa,3,8,"mat-form-field",14)(4,vNa,2,1,"div",15),K());a&2&&(a=R(),A(2),V(" ",a._intl.itemsPerPageLabel," "),A(1),G("ngIf",1<a._displayedPageSizeOptions.length),A(1),G("ngIf",1>=a._displayedPageSizeOptions.length))},xNa=function(a){if(a&
1){var b=v();H(0,"button",21);Q("click",function(){x(b);var c=R();if(c.hasPreviousPage()){var d=c.pageIndex;c.pageIndex=0;c._emitPageEvent(d)}return z()});yd();H(1,"svg",7);L(2,"path",22);K()()}a&2&&(a=R(),G("matTooltip",a._intl.firstPageLabel)("matTooltipDisabled",a._previousButtonsDisabled())("matTooltipPosition","above")("disabled",a._previousButtonsDisabled()),Af("aria-label",a._intl.firstPageLabel))},yNa=function(a){if(a&1){var b=v();yd();rd.currentNamespace=null;H(0,"button",23);Q("click",function(){x(b);
var c=R();if(c.hasNextPage()){var d=c.pageIndex;c.pageIndex=(c.pageSize?Math.ceil(c.length/c.pageSize):0)-1;c._emitPageEvent(d)}return z()});yd();H(1,"svg",7);L(2,"path",24);K()()}a&2&&(a=R(),G("matTooltip",a._intl.lastPageLabel)("matTooltipDisabled",a._nextButtonsDisabled())("matTooltipPosition","above")("disabled",a._nextButtonsDisabled()),Af("aria-label",a._intl.lastPageLabel))},zNa=function(a){if(a&1){var b=v();H(0,"mat-paginator",3);Q("page",function(c){x(b);var d=R(),e=c.pageIndex*c.pageSize;
d.childrenOnPage=d.children.slice(e,e+c.pageSize);return z()});K()}a&2&&(a=R(),G("length",a.children.length)("pageSize",a.pageSize)("pageSizeOptions",a.pageSizeOptions))},ANa=function(a,b){if(a&1){var c=v();H(0,"li")(1,"a",4);Q("click",function(){var e=x(c).$implicit,f=R();return z(f.onVisit.emit(e))});T(2);K();H(3,"onedev-hovercard",null,5);L(5,"b-component-card",6);K()()}if(a&2){a=b.$implicit;var d=S(4);b=R();A(1);G("onedevHovercardTrigger",d)("href",b.paths.manageComponent(a.componentId),Wd);A(1);
V(" ",a.name," ");A(3);G("componentId",a.componentId.toString())}},BNa=function(a){if(a&1){var b=v();H(0,"button",6);Q("click",function(){x(b);var c=R();return z(c.onClickCopyIssueShortLinks.emit())});T(1);K()}a&2&&(a=R(),A(1),V(" Copy '",a.shortLinkPrefix,"'' links "))},CNa=function(a,b){a&1&&(H(0,"span",5)(1,"a",6),T(2),K(),H(3,"onedev-hovercard",null,7),L(5,"b-component-card",8),K()());if(a&2){a=b.$implicit;var c=S(4);A(1);G("onedevHovercardTrigger",c)("routerLinkObj",a.route);A(1);$f(a.name);
A(3);G("componentId",a.id.toString())}},DNa=function(a){a&1&&(H(0,"span",9),T(1,"[Archived]"),K())},Lo=function(a,b){b=void 0===b?Rk:b;var c,d=null!=(c=null==a?void 0:a.componentPathId)?c:[],e,f=null!=(e=null==a?void 0:a.componentPathName)?e:[];return d.map(function(h,k){var q;k=null!=(q=f[k])?q:String(h);q=b(h);return{id:h,name:k,route:q}})},ENa=function(a){a&1&&(H(0,"span"),T(1),K());a&2&&(a=R().$implicit,A(1),$f(a.text))},FNa=function(a){a&1&&(H(0,"span"),L(1,"b-component-access-level-indicator",
2),K());a&2&&(a=R().$implicit,A(1),G("accessLevel",a.accessLevel))},GNa=function(a,b){a&1&&(H(0,"span"),F(1,ENa,2,1,"span",1)(2,FNa,2,1,"span",1),K());a&2&&(a=b.$implicit,R(),A(1),G("ngIf",void 0!==a.text),A(1),G("ngIf",void 0===a.text))},INa=function(a,b){var c=HNa.get(b);if(!c)return null;a=a.toLowerCase().indexOf(c);return 0<=a?{accessLevel:b,startOfMatch:a,endOfMatch:a+c.length}:null},JNa=function(a){if(a&1){var b=v();H(0,"div");L(1,"br");H(2,"mat-checkbox",8);Q("ngModelChange",function(c){x(b);
var d=R();return z(d.acknowledged=c)});K();H(3,"span");T(4,"All information in this issue is suitable for external sharing.");K()()}a&2&&(a=R(),A(2),G("ngModel",a.acknowledged))},KNa=function(a){if(a&1){var b=v();H(0,"button",9);Q("click",function(){x(b);var c=R();return z(c.allow())});T(1," Move Issue ");K()}a&2&&(a=R(),G("disabled",!a.acknowledged))},LNa=function(a){if(a&1){var b=v();H(0,"a",18);Q("click",function(){x(b);var c=R().$implicit,d=R();return z(d.showChildren(c))});L(1,"mat-icon",19);
K()}},MNa=function(a){if(a&1){var b=v();H(0,"a",20);Q("click",function(){x(b);var c=R().$implicit;return z(c.showChildren=!1)});L(1,"mat-icon",21);K()}},ONa=function(a){a&1&&(H(0,"a",22),T(1," (Recent Issues) "),K());if(a&2){a=R().$implicit;var b=R();G("href",b.paths.listIssues(fg(1,NNa,"status:open componentid:"+a.componentId)),Wd)}},PNa=function(a){a&1&&(H(0,"span"),T(1,"[Archived]"),K())},QNa=function(a){a&1&&(H(0,"a",23),T(1," Create issue "),K());if(a&2){a=R().$implicit;var b=R();G("href",b.paths.createIssue()+
"?component="+a.componentId,Wd)}},RNa=function(a){a&1&&(H(0,"div",28),T(1," No child components found. "),K())},SNa=function(a){a&1&&(H(0,"div",29),L(1,"b-spinner"),K())},TNa=function(a){if(a&1){var b=v();H(0,"component-subtree-list",30);Q("childClosed",function(d){x(b);var e=R(3);return z(e.onSubtreeChildClosed(d))});K()}if(a&2){a=R(2).$implicit;var c=R();G("components",a.children)("parentComponent",a)("rootController",c.rootController)("includeArchived",c.includeArchived)}},UNa=function(a){a&1&&
(H(0,"div",24),F(1,RNa,2,0,"div",25)(2,SNa,2,0,"div",26)(3,TNa,1,4,"component-subtree-list",27),K());a&2&&(a=R().$implicit,A(1),G("ngIf",a.noChildren),A(1),G("ngIf",!(a.noChildren||a.children)),A(1),G("ngIf",a.children))},VNa=function(a,b){if(a&1){var c=v();H(0,"li",2);Q("click",function(d){var e=x(c).$implicit,f=R();return z(f.setSelected(e.componentId,d))});H(1,"div",3);L(2,"div",4);H(3,"div",5);F(4,LNa,2,0,"a",6)(5,MNa,2,0,"a",7);K();H(6,"div",8)(7,"div")(8,"a",9);T(9);K();F(10,ONa,2,3,"a",10)(11,
PNa,2,0,"span",11);L(12,"b-component-access-level-indicator",12)(13,"b-tracker-chip-smart",13);K();H(14,"div",14);T(15);K()();H(16,"div",15);F(17,QNa,2,1,"a",16);K()();F(18,UNa,4,3,"div",17);K()}a&2&&(a=b.$implicit,b=R(),Xf("id","component-",a.componentId,""),A(4),G("ngIf",!a.showChildren),A(1),G("ngIf",a.showChildren),A(3),G("href",b.paths.viewComponent(a.componentId),Wd),A(1),V(" ",a.name," "),A(1),G("ngIf",!a.archived),A(1),G("ngIf",a.archived),A(1),G("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel),
A(1),G("trackerId",a.trackerId),A(2),$f(a.description),A(2),G("ngIf",!a.archived),A(1),G("ngIf",a.showChildren))},WNa=function(a){if(a&1){var b=v();H(0,"a",18);Q("click",function(){x(b);var c=R().$implicit,d=R();return z(d.showChildren(c))});L(1,"mat-icon",19);K()}},XNa=function(a){if(a&1){var b=v();H(0,"a",20);Q("click",function(){x(b);var c=R().$implicit;return z(c.showChildren=!1)});L(1,"mat-icon",21);K()}},ZNa=function(a){a&1&&(H(0,"a",22),T(1," (Recent Issues) "),K());if(a&2){a=R().$implicit;
var b=R();G("href",b.paths.listIssues(fg(1,YNa,"status:open componentid:"+a.componentId)),Wd)}},$Na=function(a){a&1&&(H(0,"span"),T(1,"[Archived]"),K())},aOa=function(a){a&1&&(H(0,"a",23),T(1," Create issue "),K());if(a&2){a=R().$implicit;var b=R();G("href",b.paths.createIssue()+"?component="+a.componentId,Wd)}},bOa=function(a){a&1&&(H(0,"div",28),T(1," No child components found. "),K())},cOa=function(a){a&1&&(H(0,"div",29),L(1,"b-spinner"),K())},dOa=function(a){if(a&1){var b=v();H(0,"component-subtree-list",
30);Q("childClosed",function(d){x(b);var e=R(3);return z(e.onSubtreeChildClosed(d))});K()}if(a&2){a=R(2).$implicit;var c=R();G("components",a.children)("parentComponent",a)("rootController",c.rootController)("includeArchived",c.includeArchived)}},eOa=function(a){a&1&&(H(0,"div",24),F(1,bOa,2,0,"div",25)(2,cOa,2,0,"div",26)(3,dOa,1,4,"component-subtree-list",27),K());a&2&&(a=R().$implicit,A(1),G("ngIf",a.noChildren),A(1),G("ngIf",!(a.noChildren||a.children)),A(1),G("ngIf",a.children))},fOa=function(a,
b){if(a&1){var c=v();H(0,"li",2);Q("click",function(d){var e=x(c).$implicit,f=R();return z(f.setSelected(e.componentId,d))});H(1,"div",3);L(2,"div",4);H(3,"div",5);F(4,WNa,2,0,"a",6)(5,XNa,2,0,"a",7);K();H(6,"div",8)(7,"div")(8,"a",9);T(9);K();F(10,ZNa,2,3,"a",10)(11,$Na,2,0,"span",11);L(12,"b-component-access-level-indicator",12)(13,"b-tracker-chip-smart",13);K();H(14,"div",14);T(15);K()();H(16,"div",15);F(17,aOa,2,1,"a",16);K()();F(18,eOa,4,3,"div",17);K()}a&2&&(a=b.$implicit,b=R(),G("id","component-"+
a.componentId),A(4),G("ngIf",!a.showChildren),A(1),G("ngIf",a.showChildren),A(3),G("href",b.paths.viewComponent(a.componentId),Wd),A(1),V(" ",a.name," "),A(1),G("ngIf",!a.archived),A(1),G("ngIf",a.archived),A(1),G("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel),A(1),G("trackerId",a.trackerId),A(2),$f(a.description),A(2),G("ngIf",!a.archived),A(1),G("ngIf",a.showChildren))},No=function(a){return(null!=a?a:[]).map(Mo)},Po=function(a){return(null!=a?a:[]).map(Oo)},Mo=function(a){if(null==
a)return"";var b=a.user,c=a.group,d=a.alias;a=void 0;null!=b?(a="USER",b=qi(b)):null!=c?(a="GROUP",b=qi(c)):null!=d?(a="ALIAS",b=d):b="";return void 0===a||""===b?"":a+":"+b},Qo=function(a){return(null!=a?a:[]).map(Mo)},gOa=function(a){return(null!=a?a:[]).map(Oo)},Oo=function(a){var b=l(a.split(":"));a=b.next().value;b=b.next().value;if(!a||!b)throw Error("Bd`"+b);switch(a){case "USER":return{user:{emailAddress:b}};case "GROUP":return{group:{emailAddress:b}};case "ALIAS":return{alias:b};default:throw Error("Cd`"+
b);}},Ro=function(){return{admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],restrictedPlusReaders:[],inheritedAdmins:[],implicitAccess:null}},So=function(a){return{admins:No(a.admins),editors:No(a.editors),appenders:No(a.appenders),readers:No(a.readers),restrictedReaders:No(a.restrictedReaders),restrictedPlusReaders:No(a.restrictedPlusReaders),inheritedAdmins:No(a.inheritedAdmins),implicitAccess:a.implicitAccess||null}},To=function(a){return{admins:Po(a.admins),editors:Po(a.editors),
appenders:Po(a.appenders),readers:Po(a.readers),restrictedReaders:Po(a.restrictedReaders),restrictedPlusReaders:Po(a.restrictedPlusReaders),implicitAccess:a.implicitAccess}},Uo=function(a){return null==a?"":"number"===typeof a?isFinite(a)?String(a):"":a&&(a=String(a),254>=a.length)?a:""},kOa=function(){var a=Vo("gapi.config.get");if((a=Uo(a&&a("googleapis.config/sessionIndex")))||(a=Uo(da.__X_GOOG_AUTHUSER))||(a=Uo(Vo("google.authuser"))))return a;var b=da.location.href||"",c=hOa.exec(b);try{a=Uo(c&&
decodeURIComponent(c[2]))}catch(d){}if(a)return a;c=iOa.exec(b);try{a=Uo(c&&decodeURIComponent(c[2]))}catch(d){}if(a)return a;a=jOa.exec(b);return(a=Uo(a&&a[1]))?a:""},lOa=function(){var a=Vo("gapi.auth.getToken");a=(a=a?a():null)&&a.access_token;var b=null;if(!a){a=(a=Vo("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}},mOa=function(a){a=
void 0===a?"":a;var b;if(!(b=lOa())){b=a;var c=void 0===c?kOa():c;a={};var d=Wo([]);d&&(a.Authorization=d);b||(b=(b=Vo("gapi.config.get"))&&b("client/apiKey"));b&&(a["X-Goog-Api-Key"]=b);c&&(a["X-Goog-AuthUser"]=String(c));b=a}return b},nOa=function(a,b){b=void 0===b?0:b;var c;if(c=0===b)c=(c=Vo("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=Vo("gapi.config.get"))&&b("client/rewrite"))&&b[a]&&(a=String(b[a]));return a},pOa=function(a,b){return 1>a||!isFinite(a)?Promise.reject("gapi.client missing"):(new Promise(function(c){return da.setTimeout(c,b)})).then(function(){return oOa(a-1,2*b)})},oOa=function(a,b){a=void 0===a?0:a;b=void 0===b?5E3:b;var c=da;try{do var d=c.gapi;while(!d&&c!==c.top&&(c=c.parent))}catch(e){}if(!d)return pOa(a,
b);da.gapi||(da.gapi=d);return d.client?Promise.resolve(d):new Promise(function(e,f){d.load("client",function(){d.client?e(d):f("gapi.client missing")})})},qOa=function(){var a=void 0===a?"":a;var b=void 0===b?kOa():b;var c=Vo("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)},rOa=function(a){return(new Xo).setEventType(2).setRpcType(2).setLookupType(a)},sOa=function(a){a=
Math.round(1E3*a);return isFinite(a)?a:null},Yo=function(a){var b;return null!=(b=null==a?void 0:a.trim())?b:""},Zo=function(a){var b=void 0===b?tOa:b;var c=Da(a),d=function(e){e=l(e);e.next();e=Ge(e);return b(c,e)};return function(){var e=$c.apply(0,arguments),f=this||da,h=uOa.get(f);h||(h={},uOa.set(f,h));f=h;h=[this].concat(u(e));e=d?d(h):h;if(Object.prototype.hasOwnProperty.call(f,e))f=f[e];else{var k=l(h);h=k.next().value;k=Ge(k);h=a.apply(h,k);f=f[e]=h}return f}},wOa=function(a,b,c,d){d=void 0===
d?"":d;a=new $o(a,b);d&&(a.destinationUrl=d);c&&c.length&&(d=new vOa,ap(d,3,c),a.setClearExperimentIds(d));return a.build()},dp=function(a,b,c,d){bp.call(this);this.initialized_=!1;this.title_=null;this.cache_=b;this.id_=c;this.transport_=a;xOa(this.transport_,this.id_);d&&cp(d.getEventTarget(),"a",this.onContactsChange_,!1,this)},yOa=function(a){var b={};if(a){a=l(a);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=d.containerType;d=d.id||"";c&&d&&(b[c]=b[c]||d)}}return b},AOa=function(a){return a.extendedData&&
a.extendedData.contactPreferences?a.extendedData.contactPreferences.map(function(b){return zOa(b.name,b.email)}).join(", "):""},DOa=function(a,b,c){var d=[];a&&(BOa("name",a.name,b,d,c),BOa("phone",a.phone,b,d,c),BOa("photo",a.photo,b,d,c));return d.map(function(e){return new COa(e)})},BOa=function(a,b,c,d,e){if(b){b=l(b);for(var f=b.next();!f.done;f=b.next())if(f=f.value,"CONTACT"!==Vo("metadata.containerType",f)){var h=c,k=d,q=e,t=Vo("metadata.encodedContainerId",f),w=Vo("metadata.containerType",
f);if(h.contains(t,w))var y=h.get(t,w)||0;else y=k.length,h.set(t,w,y),k.push({}),q.push(t);y=k[y];y[a]=y[a]||[];y[a].push(f)}}},FOa=function(a,b){if(a){a=EOa(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},GOa=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},HOa=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},IOa=function(a){this.query_=a;this.error_=0},fp=function(a,b){b=a(b||JOa,void 0);a=ep();b&&b.renderAsElement?a=b.renderAsElement():(a=a.createElement("DIV"),b=KOa(b),LOa(a,b));1==a.childNodes.length&&(b=a.firstChild,1==b.nodeType&&(a=b));return a},KOa=function(a){return Aa(a)?a.toSafeHtml&&(a=a.toSafeHtml(),a instanceof lc)?a:gp("zSoyz"):gp(String(a))},ip=function(a,b,
c,d,e,f,h){this.serverBase_="string"===typeof a?new hp(a):a;this.useApiary_=!!c;this.apiaryClientDeferred_=d;this.onAuthError_=e;this.testGaia_=!!f;this.contactStoreConfig_=h;this.commonAcParams_={};this.acWrappers_={};this.onAcCompleteListeners_={};this.inputToAcWrapper_={};this.focusedElement_=null},MOa=function(a){a=a.getEmail();if(!a)return!1;for(var b=l(["-pager","+pager","-oncall","+oncall","lifeguard-ng"]),c=b.next();!c.done;c=b.next())if(0<=a.indexOf(c.value))return!0;return!1},QOa=function(a,
b,c){a=a.filter(NOa());if(!c)return a;c=c.map(function(d){return{contact:d,toString:function(){return d.text}}});b=OOa(new POa(c),b,c.length);return a.concat(b.map(function(d){return d.contact}))},ROa=function(a){a&1&&(L(0,"div"),W(1,"lowercase"));a&2&&(a=R(3),Mf("bv2-edit-icon ",X(1,3,a.type),""))},SOa=function(a){a&1&&(H(0,"div")(1,"label"),T(2),K(),F(3,ROa,2,5,"div",11),K());a&2&&(a=R(2),Mf("bv2-editable-title bv2-editable-title-",a.name," flex-kids-x"),A(2),V(" ",a.title," "),A(1),G("ngIf",!a.readonly&&
!a.disabled))},TOa=function(a){a&1&&Rf(0)},UOa=function(a){if(a&1){var b=v();H(0,"div",16);Q("menuClosed",function(){x(b);var e=R(3);return z(jp(e,null,!1,!0))});F(1,TOa,1,0,"ng-container",17);K()}if(a&2){R(2);var c=S(7);R();var d=S(7);G("matMenuTriggerFor",d);A(1);G("ngTemplateOutlet",c)}},WOa=function(a,b){a&1&&(H(0,"a",22),T(1),K());a&2&&(a=b.ngIf,b=R(4),Df("aria-label","customfield",b.customFieldId,":",a,""),G("queryParams",fg(4,VOa,"customfield"+b.customFieldId+':"'+a+'"')),A(1),V(" ",a," "))},
XOa=function(a){a&1&&T(0," -- ")},YOa=function(a){if(a&1){var b=v();H(0,"div",18);F(1,WOa,2,6,"a",19)(2,XOa,1,0,"ng-template",null,20,tg);L(4,"br");H(5,"button",21);Q("menuClosed",function(){x(b);var e=R(3);return z(jp(e,null,!1,!0))});T(6," Edit ");K()()}if(a&2){var c=S(3);a=R(3);var d=S(7);A(1);G("ngIf",a.getDisplayValue(""))("ngIfElse",c);A(4);Cf("aria-label","Edit item for ",a.title,"");G("matMenuTriggerFor",d)}},ZOa=function(a){a&1&&(M(0),F(1,UOa,2,2,"div",14)(2,YOa,7,4,"ng-template",null,15,
tg),N());if(a&2){var b=S(3);a=R(2);A(1);G("ngIf",!(a.enableCustomFieldSearchImprovements&&50<a.choices.length)||0===a.customFieldId)("ngIfElse",b)}},$Oa=function(a){a&1&&Rf(0)},aPa=function(a){a&1&&(H(0,"div",23),F(1,$Oa,1,0,"ng-container",17),K());if(a&2){R();var b=S(7);A(1);G("ngTemplateOutlet",b)}},bPa=function(a){a&1&&L(0,"b-user-membership-chip",32);a&2&&(a=R(5),G("user",a.user)("email",a.value)("teamId",a.teamId)("enableSmallChip",!0))},cPa=function(a){a&1&&L(0,"b-user-image",33);a&2&&(a=R(5),
G("email",a.value))},dPa=function(a){a&1&&(H(0,"span",34)(1,"b-person-hovercard",35),T(2),K()());a&2&&(a=R(5),A(1),G("email",a.value),A(1),V(" ",a.getDisplayValue("--")," "))},ePa=function(a){a&1&&(M(0),H(1,"div",28),F(2,bPa,1,4,"b-user-membership-chip",29)(3,cPa,1,1,"b-user-image",30)(4,dPa,3,2,"span",31),K(),N());a&2&&(a=R(4),A(2),G("ngIf",a.enableTeamAnnotations&&!!a.value),A(1),G("ngIf",!a.enableTeamAnnotations&&!!a.value),A(1),G("ngIf",!a.enableTeamAnnotations))},fPa=function(a){a&1&&(H(0,"div"),
F(1,ePa,5,3,"ng-container",3),K());a&2&&(a=R(3),A(1),G("ngIf",a.isUser))},gPa=function(a){a&1&&L(0,"b-truncated-span",40);a&2&&(a=R(4),G("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},hPa=function(a){a&1&&L(0,"b-truncated-span",41);a&2&&(a=R(4),G("ngClass",a.getPriority(a.value))("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},iPa=function(a){a&1&&L(0,"b-truncated-span",40);a&2&&(a=R(4),Mf("chippy status-",a.value,""),G("maxWidth",150)("modelValue",
a.getDisplayValue("--"))("disabled",!a.truncate))},jPa=function(a){a&1&&L(0,"div",42)},kPa=function(a){a&1&&(H(0,"div"),F(1,gPa,1,3,"b-truncated-span",36)(2,hPa,1,4,"b-truncated-span",37)(3,iPa,1,6,"b-truncated-span",38)(4,jPa,1,0,"div",39),K());a&2&&(a=R(3),A(1),G("ngIf","Priority"!==a.title&&"Status"!==a.title),A(1),G("ngIf","Priority"===a.title),A(1),G("ngIf","Status"===a.title),A(1),G("ngIf",!a.title&&!a.readonly&&!a.disabled))},lPa=function(a){a&1&&(H(0,"div",43),L(1,"mat-icon",44),K())},mPa=
function(a){a&1&&(H(0,"div",45),L(1,"mat-icon",46),K())},oPa=function(a){if(a&1){var b=v();H(0,"div",24,25);Q("keydown",function(c){x(b);var d=R(2);return z(nPa(d,c))})("click",function(c){x(b);var d=R(2);return z(jp(d,c,!0,!1))});F(2,fPa,2,1,"div",3)(3,kPa,5,4,"div",3)(4,lPa,2,0,"div",26)(5,mPa,2,0,"div",27);K()}a&2&&(a=R(2),Jf("edit-field-user-container",a.isUser)("edit-field-activated",a.isActive),A(2),G("ngIf",a.isUser),A(1),G("ngIf",!a.isUser),A(1),G("ngIf","ENUM"!=a.type),A(1),G("ngIf","ENUM"==
a.type))},pPa=function(a){if(a&1){var b=v();H(0,"div",9,10);Q("click",function(c){x(b);var d=R();return z(jp(d,c,!0,!1))})("keydown",function(c){x(b);var d=R();return z(nPa(d,c))})("keydown.escape",function(){x(b);var c=S(2);return z(c.hide())});F(3,SOa,4,5,"div",11)(4,ZOa,4,2,"ng-container",3)(5,aPa,2,1,"div",12)(6,oPa,6,8,"ng-template",null,13,tg);K()}a&2&&(a=R(),Mf("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",a.name,""),Jf("bv2-disabled",a.disabled)("bv2-readonly",a.readonly),Df("aria-label",
"",a.title," value is ",a.getDisplayValue("empty"),""),G("matTooltip",a.getTooltip()),Af("aria-disabled",!1),A(3),G("ngIf",a.title),A(1),G("ngIf","ENUM"===a.type),A(1),G("ngIf","ENUM"!==a.type))},qPa=function(a){if(a&1){var b=v();H(0,"div",50);Q("click",function(){x(b);var c=R(2);return z(c.setFieldValue(!c.value))});H(1,"label");T(2);K()()}a&2&&(a=R(2),Mf("bv2-editable-title bv2-editable-title-",a.name," flex-kids-x"),A(2),$f(a.title))},sPa=function(a){if(a&1){var b=v();H(0,"div",47);F(1,qPa,3,4,
"div",48);H(2,"b-slide-toggle",49);Q("modelChange",function(){x(b);var d=R();return z(d.setFieldValue(!d.value))});K()()}if(a&2){a=R();var c;Mf("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",a.name,"");G("ngClass",gg(10,rPa,a.disabled,a.readonly))("matTooltip",a.getTooltip());Af("aria-disabled",!1);A(1);G("ngIf",a.title);A(1);G("disabled",a.disabled||a.readonly)("aria-label",a.name)("model",null!==(c=a.value)&&void 0!==c?c:void 0)}},tPa=function(a){a&1&&L(0,"b-availability-chip",52);a&
2&&(a=R(2),G("user",a.value))},uPa=function(a){a&1&&(M(0),F(1,tPa,1,1,"b-availability-chip",51),N());a&2&&(a=R(),A(1),G("ngIf",a.value&&a.enableWaldoAvailability))},vPa=function(a){if(a&1){var b=v();H(0,"button",55);Q("click",function(){x(b);var c=R(2);return z(c.clearFieldValue())});H(1,"span",56);L(2,"mat-icon",57);K();T(3," \u00a0 ");K()}a&2&&(a=R(2),Jf("b-menu-item-checked",null==a.value),G("disabled",null==a.value))},wPa=function(a,b){if(a&1){var c=v();H(0,"button",58);Q("click",function(){var d=
x(c).$implicit,e=R(2);return z(e.setFieldValue(d.value))});H(1,"span",56);L(2,"mat-icon",57);K();T(3);K()}a&2&&(a=b.$implicit,b=R(2),Jf("b-menu-item-checked",b.value==a.value),G("disabled",b.value==a.value)("matTooltip",a.altText||""),Af("aria-label",a.displayText)("title",!b.showEnumTitle||a.altText?"":a.displayText),A(3),V(" ",a.displayText," "))},xPa=function(a){a&1&&F(0,vPa,4,3,"button",53)(1,wPa,4,7,"button",54);a&2&&(a=R(),G("ngIf",a.clearable),A(1),G("ngForOf",a.choices))},yPa=function(a){a&
1&&Rf(0)},zPa=function(a){a&1&&Rf(0)},APa=function(a){if(a&1){var b=v();H(0,"div",50);Q("click",function(d){return d.stopPropagation()});H(1,"b-date-time-picker-content",64);Q("dateSelectionChange",function(d){x(b);var e=R(2);return z(e.googDateValue=null!==d&&void 0!==d?d:null)})("saveClicked",function(){x(b);var d=R(2);return z(d.setFieldValue(d.googDateValue))})("cancelClicked",function(){x(b);var d=R(2);return z(jp(d,null,!1,!1))});K()()}if(a&2){a=R(2);var c;A(1);G("required",!(a.clearable&&"DATE"===
a.type))("date",null!==(c=a.googDateValue)&&void 0!==c?c:void 0)}},CPa=function(a){if(a&1){var b=v();H(0,"textarea",73);Q("ngModelChange",function(c){x(b);var d=R(4);return z(d.textBuffer=c)})("keydown",function(c){x(b);var d=R(4);return z(BPa(d,c))});K()}a&2&&(a=R(4),G("ngModel",a.textBuffer),Af("aria-label",a.title))},EPa=function(a){if(a&1){var b=v();H(0,"input",74);Q("ngModelChange",function(c){x(b);var d=R(4);return z(d.textBuffer=c)})("keydown",function(c){x(b);var d=R(4);return z(DPa(d,c))});
K()}a&2&&(a=R(4),G("ngModel",a.textBuffer),Af("type","NUMERIC"===a.type?"number":"text")("aria-label",a.title))},FPa=function(a){a&1&&(H(0,"div"),F(1,CPa,1,2,"textarea",71)(2,EPa,1,3,"input",72),K());a&2&&(a=R(3),A(1),G("ngIf",a.multiline),A(1),G("ngIf",!a.multiline))},GPa=function(a){if(a&1){var b=v();H(0,"textarea",77);Q("ngModelChange",function(c){x(b);var d=R(4);return z(d.textBuffer=c)})("keydown",function(c){x(b);var d=R(4);return z(BPa(d,c))})("autocompleteActive",function(c){x(b);var d=R(4);
return z(d.autocompleteActive=c)});K()}a&2&&(a=R(4),G("ngModel",a.textBuffer)("bContactAutocomplete","MULTI"),Af("aria-label",a.title))},HPa=function(a){if(a&1){var b=v();H(0,"input",78);Q("ngModelChange",function(c){x(b);var d=R(4);return z(d.textBuffer=c)})("keydown",function(c){x(b);var d=R(4);return z(DPa(d,c))})("autocompleteActive",function(c){x(b);var d=R(4);return z(d.autocompleteActive=c)});K()}a&2&&(a=R(4),G("ngModel",a.textBuffer)("bContactAutocomplete","SINGLE"),Af("type","NUMERIC"===
a.type?"number":"text")("aria-label",a.title))},IPa=function(a){a&1&&(H(0,"div"),F(1,GPa,1,3,"textarea",75)(2,HPa,1,4,"input",76),K());a&2&&(a=R(3),A(1),G("ngIf",a.multiline),A(1),G("ngIf",!a.multiline))},KPa=function(a){if(a&1){var b=v();H(0,"div",65);Q("click",function(c){return c.stopPropagation()});F(1,FPa,3,2,"div",3)(2,IPa,3,2,"div",3);H(3,"div",66)(4,"button",67);Q("click",function(){x(b);var c=R(2);return z(JPa(c))});L(5,"mat-icon",68);K();H(6,"button",69);Q("click",function(c){x(b);var d=
R(2);return z(jp(d,c,!1,!0))});L(7,"mat-icon",70);K()();H(8,"div",43);L(9,"mat-icon",44);K()()}a&2&&(a=R(2),A(1),G("ngIf",!a.isUser),A(1),G("ngIf",a.isUser),A(2),Cf("aria-label","Apply change to ",a.title,""),Xf("matTooltip","Apply change to ",a.title,""),G("disabled",a.value==a.textBuffer),A(2),Cf("aria-label","Discard change to ",a.title,""),Xf("matTooltip","Discard change to ",a.title,""))},LPa=function(a){a&1&&(H(0,"div",59,60),F(2,yPa,1,0,"ng-container",61)(3,zPa,1,0,"ng-container",61)(4,APa,
2,2,"div",62)(5,KPa,10,7,"div",63),K());a&2&&(a=R(),Mf("bv2-issue-metadata-field-edit bv2-issue-metadata-field-",a.name,"-edit"),G("ngSwitch",a.type),A(2),G("ngSwitchCase","ENUM"),A(1),G("ngSwitchCase","BOOL"),A(1),G("ngSwitchCase","DATE"))},MPa=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}},NPa=function(a,b){a&1&&(H(0,"mat-option",5)(1,"div",6),T(2),K()());a&2&&(a=b.$implicit,
G("value",a),A(2),V(" ",a," "))},OPa=function(a,b){a&1&&(H(0,"span",9),T(1," by "),L(2,"b-user-display-name",10),K());a&2&&(a=b.ngIf,A(2),G("email",a)("hovercardEnabled",!1))},PPa=function(a,b){a&1&&(H(0,"div")(1,"span"),T(2),K(),L(3,"b-formatted-date-time",11),K());a&2&&(a=b.ngIf,b=R().ngIf,A(2),$f(b.pending?"Created on: ":"Submitted on: "),A(1),G("timestamp",a))},QPa=function(a,b){a&1&&(M(0),L(1,"br"),T(2),N());a&2&&(a=b.$implicit,A(2),V("",a," "))},RPa=function(a,b){a&1&&(M(0),H(1,"div",3)(2,"a",
4),T(3," CL "),H(4,"span"),T(5),K()(),F(6,OPa,3,2,"span",5),L(7,"br")(8,"br"),F(9,PPa,4,2,"div",2),H(10,"div",6),L(11,"div",7)(12,"br"),H(13,"div"),T(14," Affected files: "),F(15,QPa,3,1,"ng-container",8),K()()(),N());a&2&&(a=b.ngIf,b=R(),A(2),G("href","http://critique.corp.google.com/"+b.changelistId,Wd),A(3),$f(b.changelistId),A(1),G("ngIf",a.author),A(3),G("ngIf",a.timestamp),A(2),G("innerHTML",a.description,Vd),A(4),G("ngForOf",a.affectedFiles))},SPa=function(a){a&1&&L(0,"b-changelist-card",3,
4);if(a&2){var b=S(1);a=R();G("onedevIsHovercardReady",b.init)("changelistId",a.changelistId)}},TPa=function(a){if(a&1){var b=v();H(0,"a",15);Q("click",function(){x(b);var c=R();return z(c.trackClick("viewTeamAssociationOnComponent"))});H(1,"button",11);T(2,"View team association on component");K()()}a&2&&(a=R(),G("href",a.manageComponentLink(),Wd))},UPa=function(a){if(a&1){var b=v();H(0,"a",6);Q("click",function(){x(b);var d=R(2);return z(d.trackClick("viewTeamInMoma"))});H(1,"span");T(2);L(3,"mat-icon",
7);K()()}if(a&2){a=R(2);var c=S(3);Xf("href","https://moma.corp.google.com/team/",a.teamId,"",Wd);G("onedevHovercardTrigger",c);Af("aria-labelledby",a.linkAriaLabelledBy())("aria-label",(a.teamName?a.teamName:a.teamId)+" - link opens in a new tab");A(1);Af("id",a.teamLinkId);A(1);V("",a.teamName?a.teamName:a.teamId," ")}},VPa=function(a){a&1&&(H(0,"span",8),T(1),K());if(a&2){a=R(2);var b=S(3);G("onedevHovercardTrigger",b);A(1);$f(a.teamName?a.teamName:a.teamId)}},WPa=function(a){a&1&&(M(0),F(1,UPa,
4,6,"a",4)(2,VPa,2,2,"span",5),N());a&2&&(a=R(),A(1),G("ngIf",a.anchorLinkEnabled),A(1),G("ngIf",!a.anchorLinkEnabled))},XPa=function(a){a&1&&L(0,"span",11)},YPa=function(a){a&1&&(H(0,"span"),T(1),K());a&2&&(a=R(2),A(1),$f(a.teamNotAssignedMessage))},ZPa=function(a){a&1&&F(0,XPa,1,0,"span",9)(1,YPa,2,1,"span",10);a&2&&(a=R(),G("ngIf","0"!=a.teamId),A(1),G("ngIf","0"==a.teamId))},$Pa=function(a){a&1&&L(0,"b-icon",7);a&2&&(a=R(),G("name",a.iconName))},aQa=function(a){a&1&&(H(0,"span",8),T(1),K());a&
2&&(a=R(),A(1),$f(a.title))},bQa=function(a){a&1&&(H(0,"div",9),T(1,"\u00a0"),K())},cQa=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}},dQa=function(a,b,c){var d=a.bottom,e=a.left,f=a.right;return c>=a.top&&c<=d&&b>=e&&b<=f},kp=function(a,b,c){a.top+=b;a.bottom=a.top+a.height;a.left+=c;a.right=a.left+a.width},eQa=function(a,b,c){var d=a.right,e=a.bottom,f=a.left,h=.05*a.width,k=.05*a.height;return c>a.top-
k&&c<e+k&&b>f-h&&b<d+h},iQa=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?fQa(a,b):("input"===d||"select"===d||"textarea"===d)&&gQa(a,b);hQa("canvas",a,b,fQa);hQa("input, textarea, select",a,b,gQa);return b},hQa=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])},gQa=function(a,b){"file"!==b.type&&(b.value=
a.value);"radio"===b.type&&b.name&&(b.name="mat-clone-"+b.name+"-"+jQa++)},fQa=function(a,b){if(b=b.getContext("2d"))try{b.drawImage(a,0,0)}catch(c){}},kQa=function(a,b,c){for(var d in b)if(b.hasOwnProperty(d)){var e=b[d];if(e){var f=void 0;a.setProperty(d,e,(null==(f=c)?0:f.has(d))?"important":"")}else a.removeProperty(d)}},lp=function(a,b){var c=b?"":"none";kQa(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})},mQa=function(a,b){kQa(a.style,{position:b?"":"fixed",top:b?"":"0",opacity:b?"":"0",left:b?"":"-999em"},lQa)},nQa=function(a,b){return b&&"none"!=b?a+" "+b:a},oQa=function(a){var b=-1<a.toLowerCase().indexOf("ms")?1:1E3;return parseFloat(a)*b},qQa=function(a){a=getComputedStyle(a);var b=pQa(a,"transition-property"),c=b.find(function(d){return"transform"===d||"all"===d});if(!c)return 0;b=b.indexOf(c);c=pQa(a,"transition-duration");a=pQa(a,"transition-delay");
return oQa(c[b])+oQa(a[b])},pQa=function(a,b){return a.getPropertyValue(b).split(",").map(function(c){return c.trim()})},rQa=function(a,b){return"translate3d("+Math.round(a)+"px, "+Math.round(b)+"px, 0)"},mp=function(a){return"t"===a.type[0]},sQa=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},tQa=function(a,b){a.style.width=b.width+"px";a.style.height=b.height+"px";a.style.transform=
rQa(b.left,b.top)},np=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}},uQa=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},vQa=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},wQa=function(a){a&1&&(H(0,"label"),T(1),K());a&2&&(a=R(),A(1),V(" ",a.title," "))},yQa=function(a,b){a&1&&(H(0,"div",19),Rf(1,
20),K());if(a&2){a=b.$implicit;b=b.index;R(2);var c=S(13);A(1);G("ngTemplateOutletContext",gg(2,xQa,a,b))("ngTemplateOutlet",c)}},AQa=function(a){a&1&&(H(0,"collapsible-panel",16),F(1,yQa,2,5,"div",17),Rf(2,18),K());if(a&2){a=R();var b=S(15);G("isExpanded",a.isExpanded)("iconName",a.iconName)("hasCompactTitleBar",!0)("title",a.collapsiblePanelTitle);A(1);G("ngForOf",zQa(a))("ngForTrackBy",a.trackByIndex);A(1);G("ngTemplateOutlet",b)}},BQa=function(a,b){a&1&&(H(0,"div",19),Rf(1,20),K());if(a&2){a=
b.$implicit;b=b.index;R(2);var c=S(13);A(1);G("ngTemplateOutletContext",gg(2,xQa,a,b))("ngTemplateOutlet",c)}},CQa=function(a){a&1&&(H(0,"div"),T(1,"--"),K())},DQa=function(a){a&1&&(M(0),F(1,BQa,2,5,"div",17),Rf(2,18),F(3,CQa,2,0,"div",3),N());if(a&2){a=R();var b=S(15);A(1);G("ngForOf",zQa(a))("ngForTrackBy",a.trackByIndex);A(1);G("ngTemplateOutlet",b);A(1);G("ngIf",!(null==a.values?0:a.values.length))}},GQa=function(a){if(a&1){var b=v();H(0,"button",27);Q("menuOpened",function(){x(b);var d=R(3);
EQa(d);d.enumPendingValues=new Set(d.values||[]);return z()})("menuClosed",function(){x(b);var d=R(3);return z(FQa(d))});T(1,"Edit ");K()}if(a&2){a=R(3);var c=S(17);Cf("aria-label","Add item to ",a.title,"");G("matMenuTriggerFor",c)}},HQa=function(a){if(a&1){var b=v();H(0,"button",28);Q("closed",function(){x(b);var d=R(3);return z(d.pendingEnumValue="")});T(1,"Add ");K()}if(a&2){a=R(3);var c=S(24);Cf("aria-label","Add item to ",a.title,"");G("xapInlineDialogClick",c)("overlayPositions",a.OVERLAY_POSITION_LIST)}},
IQa=function(a){a&1&&(M(0),F(1,GQa,2,2,"button",25)(2,HQa,2,3,"button",26),N());a&2&&(a=R(2),A(1),G("ngIf",!op(a)),A(1),G("ngIf",op(a)))},JQa=function(a){a&1&&(H(0,"button",29),T(1,"Add "),K());if(a&2){a=R(2);var b=S(22);Cf("aria-label","Add item to ",a.title,"");G("xapInlineDialogClick",b)("overlayPositions",a.OVERLAY_POSITION_LIST)}},KQa=function(a){if(a&1){var b=v();H(0,"button",30);Q("beforeOpened",function(){x(b);var d=R(2);return z(d.invalidMessage="")});T(1,"Add ");K()}if(a&2){a=R(2);var c=
S(20);Cf("aria-label","Add item to ",a.title,"");Xf("matTooltip","Add item to ",a.title,"");G("xapInlineDialogClick",c)("overlayPositions",a.OVERLAY_POSITION_LIST)}},LQa=function(a){a&1&&(M(0,21),F(1,IQa,3,2,"ng-container",22)(2,JQa,2,3,"button",23)(3,KQa,2,4,"button",24),N());a&2&&(a=R(),G("ngSwitch",a.type),A(1),G("ngSwitchCase","REPEATED_ENUM"),A(1),G("ngSwitchCase","REPEATED_DATE"))},MQa=function(a){a&1&&(H(0,"div"),L(1,"b-changelist-link",43),K());if(a&2){a=R(2).item;var b=R();A(1);G("changelistId",
b.asNumber(a))}},NQa=function(a){a&1&&(H(0,"div")(1,"a",44),T(2),K()());if(a&2){a=R(3).item;var b=R();A(1);switch(b.environmentType){case "NIGHTLY":case "PROD":b="https://taskflow.corp.google.com/workspaces";break;default:b="https://taskflow-autopush.corp.google.com/workspaces"}G("href",b+"/"+a.workspaceId+"/work_item/b/"+a.issueId+"?edit=b/"+a.issueId,Wd);Af("aria-label","Workspace"+a.workspaceId);A(1);V(" ",a.workspaceName," ")}},OQa=function(a){a&1&&F(0,NQa,3,3,"div",34);if(a&2){R();var b=S(6);
R();a=R();G("ngIf","WORKSPACES"===a.type)("ngIfElse",b)}},PQa=function(a){a&1&&(H(0,"div"),L(1,"b-team-display",45),K());a&2&&(a=R(3).item,A(1),G("teamId",a.teamId)("componentId",a.componentId))},QQa=function(a){a&1&&F(0,PQa,2,2,"div",34);if(a&2){R();var b=S(8);R();a=R();G("ngIf","TEAM"===a.type)("ngIfElse",b)}},RQa=function(a){if(a&1){var b=v();H(0,"div")(1,"a",46);Q("click",function(){x(b);var c=R(4);return z(c.trackClick("postmortem"))});T(2);K()()}a&2&&(a=R(3).item,A(1),Xf("href","https://pm.corp.google.com/",
a,"",Wd),Cf("aria-label","Postmortem ",a,""),A(1),V(" ",a," "))},SQa=function(a){a&1&&F(0,RQa,3,3,"div",34);if(a&2){R();var b=S(10);R();a=R();G("ngIf","POSTMORTEMS"===a.type)("ngIfElse",b)}},UQa=function(a){if(a&1){var b=v();H(0,"div",48)(1,"a",49);Q("click",function(){x(b);var d=R(4);return z(d.trackClick("repeated-enum"))});T(2);K()()}if(a&2){a=R(3).item;var c=R();G("matTooltip",a);A(1);Df("aria-label","Search issues for customfield",c.customFieldId,":",a,"");G("queryParams",fg(5,TQa,"customfield"+
c.customFieldId+':"'+a+'"'));A(1);V(" ",a," ")}},VQa=function(a){a&1&&F(0,UQa,3,7,"div",47);if(a&2){R();var b=S(12);R();a=R();G("ngIf","REPEATED_ENUM"===a.type&&op(a))("ngIfElse",b)}},WQa=function(a){a&1&&(H(0,"div"),L(1,"b-truncated-span",51),K());if(a&2){a=R(3).item;var b=R();A(1);G("maxWidth",150)("modelValue",a)("disabled",!b.truncate)}},XQa=function(a){a&1&&L(0,"b-user-membership-chip",55,56);if(a&2){a=R(4).item;var b=R();G("user",b.getUser(a))("email",a)("teamId",b.teamId)("enableSmallChip",
!0)("enableGroupIcon",!0)}},YQa=function(a){a&1&&(H(0,"b-person-hovercard",57),T(1),K());a&2&&(a=R(4).item,G("email",a),A(1),V(" ",a," "))},ZQa=function(a){a&1&&(H(0,"div",52),F(1,XQa,2,5,"b-user-membership-chip",53)(2,YQa,2,2,"b-person-hovercard",54),K());a&2&&(a=R(4),A(1),G("ngIf",a.enableTeamAnnotations),A(1),G("ngIf",!a.enableTeamAnnotations))},$Qa=function(a){a&1&&F(0,WQa,2,3,"div",3)(1,ZQa,3,2,"div",50);if(a&2){a=R(2).item;var b=R();G("ngIf",!b.isUser&&b.isString(a));A(1);G("ngIf",b.isUser&&
b.isString(a))}},aRa=function(a){if(a&1){var b=v();H(0,"b-icon",58);Q("click",function(){x(b);var c=R(3);return z(c.toggleAccessLimits.emit())})("keydown.enter",function(){x(b);var c=R(3);return z(c.toggleAccessLimits.emit())})("keydown.space",function(){x(b);var c=R(3);return z(c.toggleAccessLimits.emit())});K()}},bRa=function(a){if(a&1){var b=v();H(0,"button",60,61);Q("click",function(){x(b);var d=R(3).$index,e=R();return z(e.removeItem(d))});K()}if(a&2){a=R(3).item;var c=R();Df("aria-label","Remove ",
a," from ",c.title,"");G("disabled",c.listFieldDisabled)("matTooltip","Remove item")}},cRa=function(a){a&1&&F(0,bRa,2,4,"button",59);a&2&&(a=R(3),G("ngIf",!a.readonly||op(a)))},dRa=function(a){a&1&&(H(0,"div",32)(1,"div",33),F(2,MQa,2,1,"div",34)(3,OQa,1,2,"ng-template",null,35,tg)(5,QQa,1,2,"ng-template",null,36,tg)(7,SQa,1,2,"ng-template",null,37,tg)(9,VQa,1,2,"ng-template",null,38,tg)(11,$Qa,2,2,"ng-template",null,39,tg),K(),F(13,aRa,1,0,"b-icon",40)(14,cRa,1,1,"ng-template",null,41,tg),L(16,"div",
42),K());if(a&2){var b=S(4),c=S(15);a=R().$index;var d=R();A(2);G("ngIf","CHANGELISTS"===d.type)("ngIfElse",b);A(11);G("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)}},eRa=function(a,b){a&1&&F(0,dRa,17,4,"div",31);a&2&&(a=b.$index,b=R(),G("ngIf",b.showingAll||a<b.defaultLineCount||!!b.values&&b.values.length===b.defaultLineCount+1))},fRa=function(a){if(a&1){var b=v();H(0,"div",
63,64);Q("click",function(c){x(b);var d=R(2);return z(pp(d,!1,c))})("keydown.enter",function(c){x(b);var d=R(2);return z(pp(d,!1,c))})("keydown.space",function(c){x(b);var d=R(2);return z(pp(d,!1,c))});T(2," (show fewer) ");K()}a&2&&(a=R(2),Df("aria-label","Show at most ",a.defaultLineCount," ",a.title," items"),Xf("matTooltip","Show a truncated list of at most ",a.defaultLineCount," items"))},gRa=function(a){if(a&1){var b=v();H(0,"div")(1,"div",65);T(2);H(3,"span",66,67);Q("click",function(c){x(b);
var d=R(2);return z(pp(d,!0,c))})("keydown.enter",function(c){x(b);var d=R(2);return z(pp(d,!0,c))})("keydown.space",function(c){x(b);var d=R(2);return z(pp(d,!0,c))});T(5," (show all) ");K()()()}a&2&&(a=R(2),A(2),V(" ... and ",a.values.length-a.defaultLineCount," more "),A(1),Df("aria-label","Show all ",null==a.values?null:a.values.length," ",a.title," items"),Xf("matTooltip","Show all ",null==a.values?null:a.values.length," items in the list"))},iRa=function(a){a&1&&F(0,fRa,3,3,"div",62)(1,gRa,
6,4,"div",3);a&2&&(a=R(),G("ngIf",a.showingAll&&hRa(a)),A(1),G("ngIf",!a.showingAll&&hRa(a)))},jRa=function(a,b){if(a&1){var c=v();H(0,"button",69);Q("click",function(d){var e=x(c).$implicit,f=R(2);e=e.value;f.enumPendingValues.has(e)?f.enumPendingValues.delete(e):f.enumPendingValues.add(e);null==d||d.stopPropagation();return z()});H(1,"span",70);L(2,"mat-icon",71);K();T(3);K()}a&2&&(a=b.$implicit,b=R(2),Jf("b-menu-item-checked",b.enumPendingValues.has(a.value)),G("disabled",b.listFieldDisabled),
Af("aria-label",a.displayText),A(3),V(" ",a.displayText," "))},kRa=function(a){a&1&&F(0,jRa,4,5,"button",68);a&2&&(a=R(),G("ngForOf",a.sortedEnumChoices)("ngForTrackBy",a.trackByIndex))},lRa=function(a){a&1&&L(0,"input",81);a&2&&(a=R(2),Cf("aria-label","Addition to ",a.title,""),G("bContactAutocomplete","MULTI"))},mRa=function(a){a&1&&L(0,"input",82);a&2&&(a=R(2),Cf("aria-label","Addition to ",a.title,""),G("type","REPEATED_NUMERIC"===a.type?"number":"text"))},nRa=function(a){a&1&&(H(0,"mat-error"),
T(1),K());a&2&&(a=R(2),Df("aria-label","",a.title," error: ",a.invalidMessage,""),A(1),V(" ",a.invalidMessage," "))},pRa=function(a){if(a&1){var b=v();H(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"form",72,73);Q("ngSubmit",function(){x(b);var d=S(3),e=S(4),f=R();return z(oRa(f,d,e))});F(5,lRa,1,2,"input",74)(6,mRa,1,2,"input",75);H(7,"div",76)(8,"button",77);L(9,"mat-icon",78);K();H(10,"button",79);Q("click",function(){x(b);var d=R();return z(qp(d,!0))});L(11,"mat-icon",80);K()();F(12,
nRa,2,3,"mat-error",3);K()()()}if(a&2){var c=S(3);a=R();A(5);G("ngIf",a.isUser);A(1);G("ngIf",!a.isUser);A(2);Cf("aria-label","Apply addition to ",a.title,"");G("disabled",!c.valid||a.listFieldDisabled);A(2);Cf("aria-label","Discard addition to ",a.title,"");A(2);G("ngIf",a.invalidMessage)}},qRa=function(a){if(a&1){var b=v();H(0,"b-date-time-picker-content",83);Q("dateChange",function(c){x(b);var d=R();return z(c&&d.addItems(c))})("cancelClicked",function(){x(b);var c=R();return z(qp(c,!1))});K()}a&
2&&G("required",!0)("renderPanel",!1)},sRa=function(a){if(a&1){var b=v();H(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"b-custom-repeated-enum-picker",84);Q("onValueSelect",function(c){x(b);R().pendingEnumValue=c;return z()});K();H(3,"div",76)(4,"button",85);Q("click",function(){x(b);var c=R(),d;c.values=null!=(d=c.values)?d:[];d=c.pendingEnumValue;c.values.includes(d)||(c.values.push(d),c.valuesChange.emit({values:c.values,added:[d]}));qp(c,!0);hRa(c)&&pp(c,!0);return z()});L(5,"mat-icon",
78);K();H(6,"button",79);Q("click",function(){x(b);var c=R();return z(qp(c,!0))});L(7,"mat-icon",80);K()()()()}a&2&&(a=R(),A(2),G("allowedValues",rRa(a)),A(2),Cf("aria-label","Apply addition to ",a.title,""),G("disabled",!a.pendingEnumValue),A(2),Cf("aria-label","Discard addition to ",a.title,""))},rp=function(a,b){return{originX:a,originY:b}},sp=function(a,b){return{overlayX:a,overlayY:b}},tRa=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}},uRa=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},xRa=function(a){if(a&1){var b=v();H(0,"b-edit-field",3);Q("valueChange",function(e){x(b);
var f=R(2);return z(f.save.emit(e))});K()}if(a&2){a=R().ngIf;var c=R(),d;G("readonly",c.readonly)("name","customField"+c.field.customFieldId)("title",c.field.name)("type",c.field.type)("tooltip",c.getTooltip())("clearable",!c.field.required)("value",vRa(c))("displayValueOverride",c.getDisplayValue())("choices",null!==(d=a.choices)&&void 0!==d?d:eg(12,wRa))("showEnumTitle",!0)("disabled",c.disabled)("customFieldId",c.field.customFieldId)}},zRa=function(a){if(a&1){var b=v();H(0,"b-list-field",4);Q("valuesChange",
function(d){x(b);var e=R(2);return z(e.save.emit(d.values))});K()}if(a&2){a=R().ngIf;var c=R();G("readonly",c.readonly)("defaultLineCount",3)("title",c.field.name)("type",c.field.type)("customFieldId",c.field.customFieldId)("tooltip",c.getTooltip())("values",yRa(c))("displayValuesOverride",a.displayValues)("enumChoices",a.choices)("listFieldDisabled",c.disabled)}},ARa=function(a,b){a&1&&(M(0),F(1,xRa,1,13,"b-edit-field",1)(2,zRa,1,10,"b-list-field",2),N());a&2&&(a=b.ngIf,A(1),G("ngIf",!a.isRepeated()),
A(1),G("ngIf",a.isRepeated()))},BRa=function(a){a&1&&(H(0,"div"),T(1," Loading custom fields... "),K())},CRa=function(a){a&1&&(H(0,"div"),T(1),K());a&2&&(a=R(2),A(1),V(" There are no custom fields in component ",a.selectedComponent.name,". "))},DRa=function(a,b){a&1&&(H(0,"mat-option",9),T(1),K());a&2&&(a=b.$implicit,G("value",a),A(1),V(" ",a.name," "))},ERa=function(a){if(a&1){var b=v();H(0,"div")(1,"mat-form-field",6)(2,"mat-label");T(3,"Custom field");K();H(4,"mat-select",7);Q("selectionChange",
function(c){x(b);var d=R(2);return z(d.fieldSelected.emit(c.value))});F(5,DRa,2,2,"mat-option",8);K()()()}a&2&&(a=R(2),A(5),G("ngForOf",a.customFields))},FRa=function(a){a&1&&(H(0,"div",4),F(1,BRa,2,0,"div",5)(2,CRa,2,1,"div",5)(3,ERa,6,1,"div",5),K());a&2&&(a=R(),A(1),G("ngIf",null==a.customFields),A(1),G("ngIf",a.customFields&&!a.customFields.length),A(1),G("ngIf",null==a.customFields?null:a.customFields.length))},GRa=function(a){a&1&&Rf(0)},HRa=function(){},IRa=function(a){a&1&&(M(0),T(1),N());
a&2&&(a=R().value,A(1),$f(a.textValue))},JRa=function(a){a&1&&(M(0),L(1,"b-formatted-date-time",5),N());if(a&2){a=R().value;var b=R();A(1);G("date",b.toDate(a.dateValue))}},KRa=function(a){a&1&&(M(0),T(1),N());a&2&&(a=R().value,A(1),$f(a.enumValue))},LRa=function(a){a&1&&(M(0),T(1),N());a&2&&(a=R().value,A(1),$f(a.numericValue))},MRa=function(a,b){a&1&&(M(0),T(1),N());a&2&&(a=b.$implicit,b=b.last,A(1),ag("",a,"",b?"":", ",""))},NRa=function(a){a&1&&(M(0),F(1,MRa,2,2,"ng-container",6),N());a&2&&(a=
R().value,A(1),G("ngForOf",a.repeatedTextValue.values))},ORa=function(a,b){a&1&&(M(0),L(1,"b-formatted-date-time",5),T(2),N());if(a&2){a=b.$implicit;b=b.last;var c=R(3);A(1);G("date",c.toDate(a));A(1);$f(b?"":", ")}},PRa=function(a){a&1&&(M(0),F(1,ORa,3,2,"ng-container",6),N());a&2&&(a=R().value,A(1),G("ngForOf",a.repeatedDateValue.values))},QRa=function(a,b){a&1&&(M(0),T(1),N());a&2&&(a=b.$implicit,b=b.last,A(1),ag("",a,"",b?"":", ",""))},RRa=function(a){a&1&&(M(0),F(1,QRa,2,2,"ng-container",6),
N());a&2&&(a=R().value,A(1),G("ngForOf",a.repeatedEnumValue.values))},SRa=function(a,b){a&1&&(M(0),T(1),N());a&2&&(a=b.$implicit,b=b.last,A(1),ag("",a,"",b?"":", ",""))},TRa=function(a){a&1&&(M(0),F(1,SRa,2,2,"ng-container",6),N());a&2&&(a=R().value,A(1),G("ngForOf",a.repeatedNumericValue.values))},URa=function(a,b){a&1&&F(0,IRa,2,1,"ng-container",4)(1,JRa,2,1,"ng-container",4)(2,KRa,2,1,"ng-container",4)(3,LRa,2,1,"ng-container",4)(4,NRa,2,1,"ng-container",4)(5,PRa,2,1,"ng-container",4)(6,RRa,2,
1,"ng-container",4)(7,TRa,2,1,"ng-container",4);a&2&&(a=b.value,b=R(),G("ngIf",null!=a.textValue),A(1),G("ngIf",b.isNonemptyJsonDateValue(a.dateValue)),A(1),G("ngIf",null!=a.enumValue),A(1),G("ngIf",null!=a.numericValue),A(1),G("ngIf",null!=a.repeatedTextValue),A(1),G("ngIf",null!=a.repeatedDateValue),A(1),G("ngIf",null!=a.repeatedEnumValue),A(1),G("ngIf",null!=a.repeatedNumericValue))},tp=function(a){var b;a=null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel;return"EXTERNAL_PARTNER"===a||
"EXTERNAL_PUBLIC"===a},VRa=function(a){var b;return"EXTERNAL_PARTNER"===(null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel)},up=function(a){var b;return"EXTERNAL_PUBLIC"===(null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel)},WRa=function(a,b){return a?a.join(" > "):String(b)},XRa=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""}},YRa=function(a){a&1&&(H(0,"div")(1,"p"),T(2),K()());a&2&&(a=R(),A(2),ag(" Checking if you have permissions to mark these issues as spam. Checked ",a.issuesChecked," of ",a.issuesToFlag.length,"... "))},ZRa=function(a,b){a&1&&(H(0,"li"),T(1),K());a&2&&(a=b.$implicit,A(1),ag(" ",a.issueId," - ",a.title," "))},$Ra=function(a){a&1&&(H(0,"div")(1,
"p"),T(2),K(),H(3,"ul"),F(4,ZRa,2,2,"li",9),K()());a&2&&(a=R(),A(2),V(" You do not have permissions to mark ",a.protectedIssues.length," issues. These will not be flagged as spam. "),A(2),G("ngForOf",a.protectedIssues))},aSa=function(a){if(a&1){var b=v();H(0,"mat-dialog-content")(1,"mat-form-field")(2,"mat-label");T(3);K();H(4,"input",5);Q("ngModelChange",function(c){x(b);var d=R();return z(d.numericEstimatedEffort=c)})("keypress",function(c){x(b);var d=R();return z(/^(\d*\.)?\d*$/.test(d.numericEstimatedEffort+
c.key))});K()()()}a&2&&(a=R(),A(3),V(" ",a.effortSpecName," "),A(1),G("ngModel",a.numericEstimatedEffort))},bSa=function(a){if(a&1){var b=v();H(0,"div",6)(1,"label");T(2);K();H(3,"onedev-single-select",7);Q("valueChange",function(c){x(b);var d=R();return z(d.currentEnumLabel=c)});K()()}a&2&&(a=R(),A(2),V(" ",a.effortSpecName," "),A(1),G("value",a.currentEnumLabel)("includeEmptyOption",!0)("options",a.allowedLabels))},gSa=function(a,b){if(a&1){var c=v();H(0,"div",18,19);Q("click",function(){var e=
x(c).$implicit,f=R(2);cSa(f,e)||vp(f,e);return z()});H(2,"mat-pseudo-checkbox",20);Q("click",function(e){var f=x(c).$implicit,h=R(2);e.stopPropagation();return z(dSa(h,f))});K();H(3,"span");T(4);K()()}if(a&2){a=b.$implicit;b=b.index;var d=R(2);If("display",d.shouldShowHotlist[a.hotlistId]?"block":"none");Jf("focused",b===d.focusedRowIndex);Yf("title",a.name);Af("id","hotlist-item-"+a.hotlistId)("aria-checked",eSa(d.selectedHotlistMap[a.hotlistId]))("aria-disabled",cSa(d,a));A(2);G("state",fSa(d.selectedHotlistMap[a.hotlistId]))("disabled",
cSa(d,a));A(2);V(" ",a.name," ")}},hSa=function(a){a&1&&(H(0,"span"),T(1),K());a&2&&(a=R(2),A(1),V(" (",a.filterText,")"))},iSa=function(a){if(a&1){var b=v();H(0,"div",21,22);Q("click",function(){x(b);var c=R(2);return z(c.loadHotlist())})("keydown.enter",function(){x(b);var c=R(2);return z(c.loadHotlist())});T(2,"Load hotlist from id ");H(3,"span");T(4);K()()}a&2&&(a=R(2),Jf("focused",a.focusedRowIndex===a.choices.length+1),Af("aria-label","Load hotlist from"+a.filterText),A(4),V("(",a.filterText,
")"))},kSa=function(a){if(a&1){var b=v();H(0,"div",23,24);Q("click",function(){x(b);var c=R(2);return z(jSa(c))})("keydown.enter",function(){x(b);var c=R(2);return z(jSa(c))});T(2,"Apply");K()}a&2&&(a=R(2),Jf("focused",a.focusedRowIndex===a.choices.length+2))},lSa=function(a){if(a&1){var b=v();H(0,"div",5)(1,"div",10,11);F(3,gSa,5,11,"div",12);K()();L(4,"mat-divider");H(5,"div",13,14);Q("click",function(){x(b);var c=R();return z(c.createHotlist())})("keydown.enter",function(){x(b);var c=R();return z(c.createHotlist())});
T(7,"Create new hotlist ");F(8,hSa,2,1,"span",15);K();F(9,iSa,5,4,"div",16)(10,kSa,3,2,"div",17)}a&2&&(a=R(),A(3),G("ngForOf",a.choices),A(2),Jf("focused",a.focusedRowIndex===a.choices.length),G("disabled",!a.canCreate),Af("aria-label","Create new hotlist"+a.filterText),A(3),G("ngIf",!!a.filterText),A(1),G("ngIf",a.canLoad),A(1),G("ngIf",a.pendingChanges))},wp=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},xp=function(a,b){for(var c in a)if(c.toLowerCase()===b.toLowerCase())return a[c]},mSa=function(a,b){for(var c in a)if(c.toLowerCase()===b.toLowerCase()){delete a[c];break}},oSa=function(a){a=fc(a);for(var b=0;b<nSa.length;++b){var c=nSa[b],d=xp(a,c);d&&(a["X-Goog-Upload-Header-"+c]=d,mSa(a,c))}return a},pSa=function(a){a=fc(a);mSa(a,"X-Goog-Upload-Status");return a},rSa=function(a){if(a&1){var b=v();H(0,"button",3);Q("fileSelected",function(c){x(b);var d=R();return z(qSa(d,
c))});L(1,"mat-icon",4);K()}a&2&&(a=R(),G("selectorType",a.SelectorType.MULTIPLE_FILE_SELECTION)("disableAutoUpload",!0)("disabled",a.disabled))},sSa=function(a){if(a&1){var b=v();H(0,"button",5);Q("fileSelected",function(c){x(b);var d=R();return z(qSa(d,c))});L(1,"mat-icon",4);T(2," Add attachments ");K()}a&2&&(a=R(),G("selectorType",a.SelectorType.MULTIPLE_FILE_SELECTION)("disableAutoUpload",!0)("disabled",a.disabled))},tSa=function(a){a&1&&(H(0,"span"),T(1),W(2,"humanFileSize"),W(3,"humanFileSize"),
K());if(a&2){a=R().$implicit;var b;A(1);ag(" ",X(2,2,a.transferredBytes)," of ",X(3,4,null!==(b=a.size)&&void 0!==b?b:0)," ")}},uSa=function(a){a&1&&(H(0,"span",11),T(1),K());a&2&&(a=R().$implicit,A(1),V(" ",a.errorMessage," "))},vSa=function(a){a&1&&(H(0,"span",11),T(1),W(2,"humanFileSize"),K());if(a&2){a=R().$implicit;var b;A(1);V(" ",X(2,1,null!==(b=a.size)&&void 0!==b?b:0)," ")}},xSa=function(a,b){if(a&1){var c=v();H(0,"div",3)(1,"div",4);L(2,"mat-icon",5);H(3,"span",6);T(4);K();H(5,"span",7);
F(6,tSa,4,6,"span",8)(7,uSa,2,1,"span",9)(8,vSa,3,3,"span",9);K()();H(9,"button",10);Q("click",function(){var d=x(c).$implicit,e=R(2);return z(e.cancel(d))});K()()}a&2&&(a=b.$implicit,b=R(2),G("ngClass",fg(8,wSa,a.state===b.uploadStates.ERROR)),A(3),G("matTooltip",a.name),A(1),$f(a.name),A(2),G("ngIf",a.state===b.uploadStates.UPLOADING),A(1),G("ngIf",a.state===b.uploadStates.ERROR),A(1),G("ngIf",a.state===b.uploadStates.COMPLETE),A(1),G("matTooltip",a.state===b.uploadStates.UPLOADING?"Cancel upload":
"Remove attachment"),Af("aria-label","Remove attachment"+a.name))},ySa=function(a){a&1&&(H(0,"div",1),F(1,xSa,10,10,"div",2),K());a&2&&(a=R(),A(1),G("ngForOf",a.uploads))},zSa=function(a){this.action=a;this.wfv=!1},ASa=function(a,b){zSa.call(this,"set-drive-options");this.appId=a;this.appOrigin=b},BSa=function(a){a=a&&a.getWindow()||window;return a.gadgets&&a.gadgets.rpc},DSa=function(a,b){var c=b&&b.getWindow()||window;if(BSa(b))a();else if(CSa)CSa.push(a);else var d=CSa=[a],e=c.setInterval(function(){if(BSa(b)){c.clearInterval(e);
for(var f=0;f<d.length;f++)d[f]();CSa=null}},100)},FSa=function(a,b){var c;a:{for(c=b.target;c;){if(1==c.nodeType){var d=yp(c,"overflowY");if("auto"==d||"scroll"==d)break a}c=c.parentNode}c=null}(!c||!ESa(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()},GSa=function(a,b){if(b)1===a.nodeType&&cra(a),a.innerHTML=dh(b);else for(;a.lastChild;)a.lastChild.remove()},HSa=function(a){for(a=a.firstChild;a;){if(a.nodeType!==
Node.TEXT_NODE)return!1;a=a.nextSibling}return!0},zp=function(a){return a.endsWith("px")?Math.floor(Number(a.substr(0,a.length-2))):Number.NaN},ISa=function(a){return a.ctrlKey||a.metaKey||a.shiftKey||a.altKey},JSa=function(a){if(a&1){var b=v();H(0,"div",5);Q("clickOutside",function(){x(b);var c=R();return z(c.hide())});H(1,"div",6);T(2," Relative link may be malformed:\u00a0 ");H(3,"code");T(4);K();H(5,"button",7);Q("click",function(){x(b);var c=R();return z(c.copyToClipboard())});L(6,"mat-icon",
8);K()();H(7,"div",6);T(8," Force open as: \u00a0 ");H(9,"a",9);Q("click",function(c){x(b);var d=R();ISa(c)||(c.preventDefault(),c.stopPropagation(),Ap(d.domSafe,"http://"+d.originalHref));return z()});T(10);K()()()}a&2&&(a=R(),A(4),$f(a.originalHref),A(5),Xf("href","http://",a.originalHref,"",Wd),A(1),V(" http://",a.originalHref," "))},KSa=function(a){a&1&&(H(0,"b-glue"),L(1,"mat-icon",5),K())},OSa=function(a){if(a&1){var b=v();H(0,"div",6);Q("clickOutside",function(){x(b);var c=R();return z(c.hide())});
H(1,"span",7)(2,"a",8);Q("click",function(c){x(b);var d=R();return z(LSa(d,c))})("keydown",function(c){x(b);var d=R();return z(MSa(d,c))});T(3);K()();H(4,"button",9);Q("keydown.Tab",function(c){x(b);var d=R();return z(NSa(d,c))})("click",function(){x(b);var c=R();return z(c.copyToClipboard())});L(5,"mat-icon",10);K()()}a&2&&(a=R(),A(2),G("href",a.originalHref,Wd)("rel",a.EXTERNAL_LINK_REL),A(1),$f(a.originalHref))},PSa=function(a){a&1&&(H(0,"div",4),Rf(1,5),K());a&2&&(a=R(),G("onedevIsHovercardReady",
a.hovercardReady))},QSa=function(a){for(;a.firstChild;)a.removeChild(a.firstChild)},RSa=function(a,b){a&1&&(M(0),L(1,"b-plain-format-section",2),N());a&2&&(a=b.$implicit,A(1),G("section",a))},SSa=function(a){a&1&&L(0,"b-plain-format-quoted-section",1);a&2&&(a=R(),G("section",a.section))},TSa=function(a){a&1&&L(0,"b-plain-format-unquoted-section",1);a&2&&(a=R(),G("section",a.section))},VSa=function(a){if(a&1){var b=v();H(0,"a",4);Q("click",function(){x(b);var c=R();c.showQuote=!0;USa(c);return z()});
T(1," - Show quoted text - ");K()}a&2&&(a=R(),Af("aria-controls",a.childId))},WSa=function(a){if(a&1){var b=v();H(0,"a",5);Q("click",function(){x(b);var c=R();c.showQuote=!1;USa(c);return z()});T(1," - Hide quoted text - ");K()}a&2&&(a=R(),Af("aria-controls",a.childId))},XSa=function(a,b){a&1&&(M(0),L(1,"b-literal-format-presenter",1),N());a&2&&(a=b.ngIf,A(1),G("content",a))},YSa=function(a,b){a&1&&(M(0),L(1,"b-markdown-format-presenter",1),N());a&2&&(a=b.ngIf,A(1),G("content",a))},ZSa=function(a,
b){a&1&&(M(0),L(1,"b-plain-format-presenter",1),N());a&2&&(a=b.ngIf,A(1),G("content",a))},$Sa=function(a){switch(a.formattingMode){case "LITERAL":return(0,E.of)({literalFormat:{content:ch(a.comment)}});case "MARKDOWN":return a={markdownFormat:{content:ch("")}},(0,E.of)(a);case void 0:case "PLAIN":case "UNSPECIFIED_FORMATTING_MODE":return a={plainFormat:{plainSection:[{isQuoted:!1,content:ch(a.comment)}]}},(0,E.of)(a);default:return Oh(a.formattingMode,"Unknown formatting mode: "+a.formattingMode)}},
aTa=function(a,b){a&1&&(M(0),H(1,"div",1),L(2,"b-formatted-comment-presenter",2),K(),N());a&2&&(a=b.$implicit,b=R(),A(1),Jf("invisible",""===(b.comment||"").trim())("error",a.isFallback),A(1),G("formattedComment",a.formattedComment))},bTa=function(a){a&1&&(H(0,"a",2),L(1,"mat-icon",3),K());a&2&&(a=R(),G("href",a.mdHelpLink,Wd)("disableRipple",!0))},cTa=function(a){a&1&&L(0,"b-formatted-comment-presenter",4);a&2&&(a=R(),G("formattedComment",a.note.formattedComment))},dTa=function(a){a&1&&L(0,"b-live-preview",
5);a&2&&(a=R(),G("comment",a.rawComment)("issueId",a.issueId)("audience",a.audience)("formattingMode",a.formattingModeOverride||a.formattingMode||a.FormattingMode.PLAIN)("idPrefix",a.idPrefix))},eTa=function(a){var b=function(){var c=a.apply(this,[].concat(u($c.apply(0,arguments))))||this;c._fitToContent=!1;return c};Y(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)}},fTa=function(a){var b=function(){var c=a.apply(this,[].concat(u($c.apply(0,arguments))))||this;c._fitToContent=!1;return c};Y(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)}},gTa=function(){},hTa=function(){},iTa=function(a){a&1&&Wf(0)},jTa=function(){},kTa=function(a){a&1&&F(0,jTa,0,0,"ng-template",10);a&2&&(a=R().$implicit,G("cdkPortalOutlet",a.templateLabel))},lTa=function(a){a&1&&T(0);a&2&&(a=R().$implicit,$f(a.textLabel))},mTa=function(a,b){if(a&1){var c=v();H(0,"div",6);Q("click",function(){var f=x(c),h=f.$implicit;f=f.index;var k=R(),q=S(1);return z(k._handleClick(h,q,f))})("cdkFocusChange",function(f){var h=
x(c).index,k=R();return z(k._tabFocusChanged(f,h))});H(1,"div",7);F(2,kTa,1,1,"ng-template",8)(3,lTa,1,1,"ng-template",null,9,tg);K()()}if(a&2){a=b.$implicit;b=b.index;var d=S(4),e=R();Jf("mat-tab-label-active",e.selectedIndex===b);G("id",e._getTabLabelId(b))("ngClass",a.labelClass)("disabled",a.disabled)("matRippleDisabled",a.disabled||e.disableRipple);Af("tabIndex",e._getTabIndex(b))("aria-posinset",b+1)("aria-setsize",e._tabs.length)("aria-controls",e._getTabContentId(b))("aria-selected",e.selectedIndex===
b)("aria-label",a.ariaLabel||null)("aria-labelledby",!a.ariaLabel&&a.ariaLabelledby?a.ariaLabelledby:null);A(2);G("ngIf",a.templateLabel)("ngIfElse",d)}},nTa=function(a,b){if(a&1){var c=v();H(0,"mat-tab-body",11);Q("_onCentered",function(){x(c);var e=R();return z(e._removeTabBodyWrapperHeight())})("_onCentering",function(e){x(c);var f=R();return z(f._setTabBodyWrapperHeight(e))});K()}if(a&2){a=b.$implicit;b=b.index;var d=R();Jf("mat-tab-body-active",d.selectedIndex===b);G("id",d._getTabContentId(b))("ngClass",
a.bodyClass)("content",a.content)("position",a.position)("origin",a.origin)("animationDuration",d.animationDuration)("preserveContent",d.preserveContent);Af("tabindex",null!=d.contentTabIndex&&d.selectedIndex===b?d.contentTabIndex:null)("aria-labelledby",d._getTabLabelId(b))}},rTa=function(a){if(a&1){var b=v();H(0,"input",7,8);Q("change",function(){x(b);var c=R();if(oTa(c)){var d=Bp(c);pTa(c);qTa(c,!0);Bp(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=R();document.activeElement===Cp(d)&&("Enter"===c.key||"Tab"===c.key?(d.taggingInProgress=!1,qTa(d,!0),Bp(d).focus()):qTa(d));return z()});K()}a&2&&(a=R(),G("value",a.autocompleteUserName))},sTa=function(a){a&1&&L(0,"div",9,10)},tTa=function(a){a&1&&Rf(0)},uTa=function(a){a&1&&Rf(0)},vTa=function(a){if(a&1){var b=v();H(0,"div",1);L(1,"mat-icon",2);H(2,"div",3);T(3," Comment and vote +1 on this issue to increase visibility ");
K();H(4,"div",4)(5,"button",5);Q("click",function(){x(b);var c=R();return z(c.onClick())});T(6,"Comment and vote +1");K()()()}a&2&&(A(1),G("matTooltip","The +1 button is located in the top right corner of the issue details page"))},wTa=function(a){if(a&1){var b=v();M(0);H(1,"b-plus-one-comment-callout",7);Q("onSubmitComment",function(){x(b);R().onSubmit.emit();return z()});K();N()}a&2&&(a=R(),A(1),G("isPlusOneText","+1"===a.comment.value.trim()))},xTa=function(a){if(a&1){var b=v();H(0,"b-drive-attachment",
12);Q("onPickDoc",function(c){x(b);var d=R(2);d.comment&&(d.comment.value="MARKDOWN"===d.comment.formattingMode?d.comment.value+("\n\n["+c.name+"]("+c.url+")"):d.comment.value+("\n\n"+c.name+" - "+c.url));return z()})("onCloneBlob",function(c){x(b);var d=R(2);return z(d.addUpload(c))});K()}a&2&&(a=R(2),G("disabled",a.attachmentsDisabled))},yTa=function(a){if(a&1){var b=v();M(0);H(1,"button",16);Q("click",function(){x(b);var c=R(3);return z(c.onRestrict.emit())});L(2,"mat-icon",17);K();N()}a&2&&(a=
R(3),A(1),G("disabled",a.attachmentsDisabled))},zTa=function(a){if(a&1){var b=v();H(0,"button",18);Q("click",function(){x(b);var c=R(3);return z(c.onRestrict.emit())});L(1,"mat-icon",17);T(2);K()}a&2&&(a=R(3),A(2),V(" ",a.getRestrictedLabel()," "))},ATa=function(a){a&1&&(H(0,"div",13),F(1,yTa,3,1,"ng-container",14)(2,zTa,3,1,"ng-template",null,15,tg),K());if(a&2){var b=S(3);a=R(2);A(1);G("ngIf",!a.isRestricted())("ngIfElse",b)}},BTa=function(a){if(a&1){var b=v();H(0,"div",8);Wf(1,2,["class","goog-inline-block"]);
H(2,"b-attachment-selector",9);Q("onSelect",function(d){x(b);var e=R();return z(e.uploadFile(d))});K();F(3,xTa,1,1,"b-drive-attachment",10);W(4,"async");F(5,ATa,4,2,"div",11);K()}if(a&2){a=R();var c;A(2);G("disabled",a.attachmentsDisabled);A(1);G("ngIf",!(null!==(c=X(4,3,a.currentTracker.inTracker$))&&void 0!==c&&c));A(2);G("ngIf",a.showRestrictionOptions)}},CTa=function(a){a&1&&(H(0,"div"),L(1,"b-live-preview",19),K());a&2&&(a=R(),A(1),G("comment",a.comment.value)("issueId",a.issueId)("audience",
a.audience)("formattingMode",a.comment.formattingMode))},DTa=function(a){a&1&&(H(0,"div",4),T(1),W(2,"async"),H(3,"a",5),T(4," Learn more"),K()());a&2&&(a=R(2),A(1),V(" ",X(2,2,a.bubbleText$)," "),A(2),G("href",po(a.documentationLinks),Wd))},ETa=function(a){a&1&&(M(0),H(1,"xap-bubble",1)(2,"span",2),W(3,"async"),T(4),W(5,"async"),K(),F(6,DTa,5,4,"ng-template",null,3,tg),K(),N());if(a&2){var b=S(7);a=R();A(1);G("panelTemplate",b);A(1);Jf("xs",a.compactMode);G("ngClass",X(3,5,a.chipClass$));A(2);V(" ",
X(5,7,a.chipText$)," ")}},FTa=function(a){a&1&&(H(0,"li")(1,"a",2),T(2),K(),L(3,"b-issue-visibility-chip",3),K());a&2&&(a=R().$implicit,A(1),Xf("href","issues/",a.issueId,"",Wd),A(1),V("b/",a.issueId,""),A(1),G("issueId",a.issueId))},GTa=function(a,b){a&1&&F(0,FTa,4,3,"li");a&2&&Nf(0,"issue"===b.$implicit.type?0:-1)},HTa=function(a){a&1&&(H(0,"ul"),Pf(1,GTa,1,1,null,null,Fla),K(),T(3," within: "));a&2&&(a=R(2),A(1),Qf(a.externalWarnings))},ITa=function(a){a&1&&(H(0,"li"),T(1),L(2,"b-component-access-level-indicator",
4),K());a&2&&(a=R().$implicit,A(1),V(" ",a.path," "),A(1),G("accessLevel",a.accessLevel))},JTa=function(a,b){a&1&&F(0,ITa,3,2,"li");a&2&&Nf(0,"component"===b.$implicit.type?0:-1)},KTa=function(a){a&1&&(H(0,"div",1)(1,"div")(2,"strong"),T(3,"You are editing issues in components that may have external viewers:"),K()(),F(4,HTa,4,0),H(5,"ul"),Pf(6,JTa,1,1,null,null,Fla),K()());a&2&&(a=R(),A(4),Nf(4,a.enableNewVisibilityChips?4:-1),A(2),Qf(a.externalWarnings))},MTa=function(a,b){if(a&1){var c=v();H(0,
"button",13);Q("click",function(){var d=x(c).$implicit,e=R(3);return z(LTa(e.issueEditBuilder,d))});T(1);K()}a&2&&(a=b.$implicit,b=R(3),G("disabled",b.issueEditBuilder.issueState==a),A(1),V(" ",a.displayValue," "))},NTa=function(a){if(a&1){var b=v();H(0,"div",27)(1,"span");T(2,"Multiple");K();H(3,"a",28);Q("click",function(){x(b);var c=R(4);return z(c.issueEditBuilder.clearAssignee())});T(4,"X");K()()}},OTa=function(a){if(a&1){var b=v();H(0,"div",27)(1,"span");T(2,"Possibly multiple");K();H(3,"a",
28);Q("click",function(){x(b);var c=R(4);return z(c.issueEditBuilder.clearAssignee())});T(4,"X");K()()}},QTa=function(a){if(a&1){var b=v();H(0,"div")(1,"input",29);Q("ngModelChange",function(c){x(b);var d=R(4);return z(d.issueEditBuilder.commonAssignee=c)})("ngModelChange",function(){x(b);var c=R(4);return z(PTa(c.issueEditBuilder))});K()()}a&2&&(a=R(4),A(1),G("ngModel",a.issueEditBuilder.commonAssignee)("bContactAutocomplete","SINGLE"),Af("cdkFocusInitial",a.focus===a.FocusableField.ASSIGNEE||null))},
RTa=function(a){if(a&1){var b=v();H(0,"div",27)(1,"span");T(2);K();H(3,"a",30);Q("click",function(){x(b);var c=R(4);return z(c.issueEditBuilder.clearVerifier())});T(4,"X");K()()}a&2&&(a=R(4),Jf("bv2-invalid-multiple-user-chip",!Dp(a.issueEditBuilder)),A(2),V(" Multiple ",Dp(a.issueEditBuilder)?"":"(some unset)"," "))},STa=function(a){if(a&1){var b=v();H(0,"div",27)(1,"span");T(2);K();H(3,"a",30);Q("click",function(){x(b);var c=R(4);return z(c.issueEditBuilder.clearVerifier())});T(4,"X");K()()}a&2&&
(a=R(4),Jf("bv2-invalid-multiple-user-chip",!Dp(a.issueEditBuilder)),A(2),V(" Possibly multiple ",Dp(a.issueEditBuilder)?"":"(some unset)"," "))},TTa=function(a){if(a&1){var b=v();H(0,"div")(1,"input",31);Q("ngModelChange",function(c){x(b);var d=R(4);return z(d.issueEditBuilder.commonVerifier=c)});K()()}a&2&&(a=R(4),A(1),G("ngModel",a.issueEditBuilder.commonVerifier)("required","VERIFIED"==(null==a.issueEditBuilder.issueState?null:a.issueEditBuilder.issueState.status))("bContactAutocomplete","SINGLE"),
Af("cdkFocusInitial",a.focus===a.FocusableField.VERIFIER||null))},UTa=function(a){a&1&&(H(0,"div")(1,"div",21)(2,"label",22),T(3," Assignee "),K(),H(4,"div",15),F(5,NTa,5,0,"div",23)(6,OTa,5,0,"div",23)(7,QTa,2,3,"div",24),K()(),H(8,"div",21)(9,"label",25),T(10," Verifier "),K(),H(11,"div",15),F(12,RTa,5,3,"div",26)(13,STa,5,3,"div",26)(14,TTa,2,4,"div",24),K()()());a&2&&(a=R(3),A(4),G("ngSwitch",a.issueEditBuilder.selectedAssigneesStatus),A(1),G("ngSwitchCase","MULTIPLE"),A(1),G("ngSwitchCase","POSSIBLY_MULTIPLE"),
A(5),G("ngSwitch",a.issueEditBuilder.selectedVerifiersStatus),A(1),G("ngSwitchCase","MULTIPLE"),A(1),G("ngSwitchCase","POSSIBLY_MULTIPLE"))},VTa=function(a){if(a&1){var b=v();H(0,"div",21)(1,"label",32);T(2," Issue ID ");K();H(3,"input",33);Q("ngModelChange",function(c){x(b);var d=R(3).issueEditBuilder;c=jEa(c);return z(d.commonDuplicateOf=1===c.length?c[0]:"")});K()()}a&2&&(a=R(3),A(3),G("ngModel",a.issueEditBuilder.commonDuplicateOf),Af("cdkFocusInitial",a.focus===a.FocusableField.DUPE_ID||null))},
WTa=function(a){if(a&1){var b=v();H(0,"div",9)(1,"button",10)(2,"span");T(3);K();L(4,"b-icon",11);K();H(5,"mat-menu",null,12)(7,"button",13);Q("click",function(){x(b);var d=R(2);return z(d.issueEditBuilder.issueState=void 0)});T(8,"No change ");K();F(9,MTa,2,2,"button",14);K();H(10,"div",15);F(11,UTa,15,6,"div",16)(12,VTa,4,2,"div",17);K();H(13,"div")(14,"b-comment-box",18);Q("onSubmit",function(){x(b);var d;null==(d=R(2).matDialogRef)||d.close(!0);return z()});K()();L(15,"div",19)(16,"b-external-warnings",
20);K()}if(a&2){var c=S(6);a=R(2);A(1);G("matMenuTriggerFor",c);A(2);$f(a.issueEditBuilder.issueState?a.issueEditBuilder.issueState.displayValue:"No change");A(4);G("disabled",!a.issueEditBuilder.issueState);A(2);G("ngForOf",a.issueStates);A(1);G("ngSwitch",!a.issueEditBuilder.issueState||"DUPLICATE"!==a.issueEditBuilder.issueState.status);A(1);G("ngSwitchCase",!0);A(3);G("comment",a.comment)("showToolbar",!1);A(2);G("externalWarnings",a.externalWarnings)}},XTa=function(a){if(a&1){var b=v();H(0,"div",
34)(1,"b-recaptcha",35);Q("onUpdate",function(c){x(b);var d=R(2);return z(d.issueEditBuilder.recaptchaResponse=c)});K()()}},ZTa=function(a){a&1&&(H(0,"form",null,1)(2,"h1",2),T(3,"Change issue status"),K(),H(4,"div",3)(5,"span"),T(6,"Enter updated issue status information below"),K(),F(7,WTa,17,9,"div",4),K(),F(8,XTa,2,0,"div",5),H(9,"div",6)(10,"button",7),T(11," Cancel "),K(),H(12,"button",8),T(13," Save "),K()()());if(a&2){var b=S(1);a=R();A(7);G("ngIf",a.issueEditBuilder);A(1);G("ngIf",a.issueEditBuilder&&
a.enableRecaptcha);A(2);G("mat-dialog-close",!1);A(2);var c=G("mat-dialog-close",!0),d;if(!(d=b.invalid))a:{if(null!=a.issueEditBuilder){d=YTa(a.issueEditBuilder);var e=d.get("status");if("DUPLICATE"===e){d=!d.get("duplicateOfIssueId");break a}if("VERIFIED"===e){d=!Dp(a.issueEditBuilder)&&!d.get("verifier");break a}}d=!1}c("disabled",d||!(!a.enableRecaptcha||""!==a.issueEditBuilder.recaptchaResponse))}},$Ta=function(a){var b=new Ep,c=b.setIt;var d=(new Fp).setIssueId(a.issueId);d=Ol(d,2,a.scope);
d=Ol(d,4,a.scopeSortOrder).setMaxResults(a.maxResults);a=Ol(d,3,a.keyword);return c.call(b,a)},aUa=function(a,b){return[].concat(u(b)).map(function(c){return Gp[c]}).every(function(c){return c.check(a)})},bUa=function(a){return!!Gp[a]},Hp=function(){return $c.apply(0,arguments).filter(Boolean).join(" AND ")},Ip=function(a,b,c){c=void 0===c?!1:c;if(!b)return"";Array.isArray(b)||(b=[b]);b=b.filter(jl);return 0===b.length?"":a+":("+b.join("|")+")"+(c?"+":"")},cUa=function(a){a&1&&L(0,"div",2)},dUa=function(a){a&
1&&(M(0),Wf(1),N())},eUa=function(a){a&1&&L(0,"b-formatted-date-time",3);a&2&&(a=R(),G("mode",a.mode)("timestamp",a.createdTime)("paddingLeftPx",0))},fUa=function(a){a&1&&T(0,"--")},gUa=function(a){a&1&&L(0,"mat-icon",3)},hUa=function(a){a&1&&(H(0,"span",25),T(1),K());a&2&&(a=R(3),A(1),$f(a.HOTKEYS.COPY_ISSUE_ID.displayAs))},iUa=function(a){a&1&&(H(0,"span",25),T(1),K());a&2&&(a=R(4),A(1),$f(a.HOTKEYS.COPY_ISSUE_SHORTLINK.displayAs))},jUa=function(a){if(a&1){var b=v();H(0,"div",11)(1,"label",12);
T(2,"Issue shortlink");K();H(3,"input",26,27);Q("onHotkey",function(){x(b);var d=S(4),e=R(3);return z(Jp(e,d))})("focus",function(){x(b);var d=S(4);return z(d.select())});K();F(5,iUa,2,1,"span",15);H(6,"button",28);Q("onHotkey",function(){x(b);var d=S(4),e=R(3);return z(Jp(e,d))})("click",function(){x(b);var d=S(4),e=R(3);return z(Jp(e,d))});L(7,"mat-icon",17);K()()}if(a&2){var c=S(4);a=R(3);A(1);G("htmlFor",c.id);A(2);G("hotkey",a.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",a.enableHotkeys);Af("value",
a.getAppBaseUrl().replace(/^.*?:\/\//,""));A(2);G("ngIf",a.enableHotkeys);A(1);G("hotkey",a.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",a.enableHotkeys)}},kUa=function(a){a&1&&(H(0,"span",25),T(1),K());a&2&&(a=R(3),A(1),$f(a.HOTKEYS.COPY_ISSUE_URL.displayAs))},lUa=function(a){a&1&&(H(0,"span",25),T(1),K());a&2&&(a=R(3),A(1),$f(a.HOTKEYS.COPY_ISSUE_TITLE.displayAs))},mUa=function(a){a&1&&(H(0,"span",25),T(1),K());a&2&&(a=R(4),A(1),$f(a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS.displayAs))},oUa=function(a){if(a&
1){var b=v();H(0,"div",11)(1,"label",12);T(2,"Issue email");K();H(3,"input",29,30);Q("onHotkey",function(){x(b);var d=S(4),e=R(3);return z(Jp(e,d))})("focus",function(){x(b);var d=S(4);return z(d.select())});K();F(5,mUa,2,1,"span",15);H(6,"button",31);Q("onHotkey",function(){x(b);var d=S(4),e=R(3);return z(Jp(e,d))})("click",function(){x(b);var d=S(4),e=R(3);return z(Jp(e,d))});L(7,"mat-icon",17);K()()}if(a&2){var c=S(4);a=R(3);A(1);G("htmlFor",c.id);A(2);G("hotkey",a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",
a.enableHotkeys);Af("value","buganizer-system"+(nUa(a.activeSession)?"":"-qa")+("+"+a.componentId+"+"+a.issueId)+"@google.com");A(2);G("ngIf",a.enableHotkeys);A(1);G("hotkey",a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",a.enableHotkeys)}},pUa=function(a){a&1&&(H(0,"span",25),T(1),K());a&2&&(a=R(4),A(1),$f(a.HOTKEYS.COPY_ISSUE_TODO.displayAs))},qUa=function(a){if(a&1){var b=v();H(0,"div",11)(1,"label",12);T(2,"TODO comment");K();H(3,"input",32,33);Q("onHotkey",function(){x(b);var d=S(4),e=R(3);
return z(Jp(e,d))})("focus",function(){x(b);var d=S(4);return z(d.select())});K();F(5,pUa,2,1,"span",15);H(6,"button",34);Q("onHotkey",function(){x(b);var d=S(4),e=R(3);return z(Jp(e,d))})("click",function(){x(b);var d=S(4),e=R(3);return z(Jp(e,d))});L(7,"mat-icon",17);K()()}if(a&2){var c=S(4);a=R(3);A(1);G("htmlFor",c.id);A(2);G("hotkey",a.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",a.enableHotkeys);Af("value","TODO: "+a.getAppBaseUrl().replace(/^.*?:\/\//,"")+" - "+a.issueTitle);A(2);G("ngIf",a.enableHotkeys);
A(1);G("hotkey",a.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",a.enableHotkeys)}},rUa=function(a){if(a&1){var b=v();H(0,"div",10)(1,"div",11)(2,"label",12);T(3,"Issue ID");K();H(4,"input",13,14);Q("onHotkey",function(){x(b);var f=S(5),h=R(2);return z(Jp(h,f))})("focus",function(){x(b);var f=S(5);return z(f.select())});K();F(6,hUa,2,1,"span",15);H(7,"button",16);Q("onHotkey",function(){x(b);var f=S(5),h=R(2);return z(Jp(h,f))})("click",function(){x(b);var f=S(5),h=R(2);return z(Jp(h,f))});L(8,"mat-icon",
17);K()();F(9,jUa,8,7,"div",18);H(10,"div",11)(11,"label",12);T(12,"Issue URL");K();H(13,"input",19,20);Q("onHotkey",function(){x(b);var f=S(14),h=R(2);return z(Jp(h,f))})("focus",function(){x(b);var f=S(14);return z(f.select())});K();F(15,kUa,2,1,"span",15);H(16,"button",21);Q("onHotkey",function(){x(b);var f=S(14),h=R(2);return z(Jp(h,f))})("click",function(){x(b);var f=S(14),h=R(2);return z(Jp(h,f))});L(17,"mat-icon",17);K()();H(18,"div",11)(19,"label",12);T(20,"URL and title");K();H(21,"input",
22,23);Q("onHotkey",function(){x(b);var f=S(22),h=R(2);return z(Jp(h,f))})("focus",function(){x(b);var f=S(22);return z(f.select())});K();F(23,lUa,2,1,"span",15);H(24,"button",24);Q("onHotkey",function(){x(b);var f=S(22),h=R(2);return z(Jp(h,f))})("click",function(){x(b);var f=S(22),h=R(2);return z(Jp(h,f))});L(25,"mat-icon",17);K()();F(26,oUa,8,7,"div",18)(27,qUa,8,7,"div",18);K()}if(a&2){var c=S(5),d=S(14),e=S(22);a=R(2);G("cdkTrapFocusAutoCapture",!0);A(2);G("htmlFor",c.id);A(2);G("hotkey",a.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",
a.enableHotkeys);Af("value",a.issueId);A(2);G("ngIf",a.enableHotkeys);A(1);G("hotkey",a.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",a.enableHotkeys);A(2);G("ngIf",a.activeSession.isInternalSession()&&!a.currentTracker.inTracker);A(2);G("htmlFor",d.id);A(2);G("hotkey",a.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",a.enableHotkeys);Af("value",a.getIssueUrl());A(2);G("ngIf",a.enableHotkeys);A(1);G("hotkey",a.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",a.enableHotkeys);A(3);G("htmlFor",e.id);A(2);G("hotkey",a.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",
a.enableHotkeys);Af("value",a.getAppBaseUrl(a.isExternalIssue)+" "+a.issueTitle);A(2);G("ngIf",a.enableHotkeys);A(1);G("hotkey",a.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",a.enableHotkeys);A(2);G("ngIf",a.activeSession.isInternalSession()&&!a.currentTracker.inTracker);A(1);G("ngIf",a.activeSession.isInternalSession()&&!a.currentTracker.inTracker)}},sUa=function(a){if(a&1){var b=v();M(0);H(1,"button",4,5);Q("onHotkey",function(){x(b);var d=R();d.disabled||d.trigger.open();return z()})("onedevPopupPanelTriggerOpened",
function(){x(b);var d=R();return z(d.isOpen=!0)})("onedevPopupPanelTriggerClosed",function(){x(b);var d=R();return z(d.isOpen=!1)})("click",function(){x(b);var d=R();d.disabled||d.trigger.open();return z()});L(3,"mat-icon",6);K();H(4,"onedev-popup-panel",7,8);F(6,rUa,28,25,"div",9);K();N()}if(a&2){var c=S(5);a=R();A(1);G("onedevPopupPanelTriggerFor",c)("hotkey",a.HOTKEYS.HIGHLIGHT_ISSUE_ID)("hotkeyEnabled",a.enableHotkeys);Af("aria-label","Show links for the issue "+a.issueId);A(5);G("ngIf",a.isOpen)}},
tUa=function(a){a&1&&L(0,"b-issue-id-picker",2);a&2&&(a=R(),G("issueId",a.id)("showCopyOptions",!1))},uUa=function(a){a&1&&(M(0),L(1,"b-issue-priority-display",3),N());a&2&&(a=R(),A(1),G("issuePriority",a.priority))},vUa=function(a){a&1&&T(0,"--")},wUa=function(a,b){a&1&&(H(0,"div",3),T(1),K());a&2&&(a=b.$implicit,b=R(),Mf("chippy status-",a,""),G("title",b.STATUS_JS_FULL_TEXT[a]),A(1),V(" ",b.STATUS_JS_TERSE[a]," "))},xUa=function(a){a&1&&T(0,"--")},yUa=function(a){a&1&&(M(0),T(1,"Un-"),N())},zUa=
function(a){a&1&&L(0,"b-issue-visibility-chip",6);a&2&&(a=R(2),G("issueId",a.issueId))},AUa=function(a){a&1&&L(0,"b-component-access-level-indicator",13);a&2&&(a=R(2),G("labelOnlyMode",!0)("accessLevel",null==a.issue.accessLimit?null:a.issue.accessLimit.accessLevel))},BUa=function(a){a&1&&(H(0,"span"),T(1," Assigned to "),L(2,"b-user-display",17),K());a&2&&(a=R(2).ngIf,A(2),G("model",a.assigneeUser)("hovercardEnabled",!1))},CUa=function(a){a&1&&(H(0,"span"),T(1," Accepted by "),L(2,"b-user-display",
17),K());a&2&&(a=R(2).ngIf,A(2),G("model",a.assigneeUser)("hovercardEnabled",!1))},DUa=function(a){a&1&&(H(0,"span"),T(1," Duplicate of "),H(2,"a",3),T(3),K()());if(a&2){a=R(2).ngIf;var b=R(),c;A(2);Cf("aria-label","Go to issue ",a.duplicateOfIssueId,"");G("href",b.editIssue(null!==(c=a.duplicateOfIssueId)&&void 0!==c?c:void 0),Wd);A(1);V(" ",a.duplicateOfIssueId," ")}},EUa=function(a){a&1&&(H(0,"span"),T(1),K());if(a&2){a=R().ngIf;var b=R(2);A(1);V(" ",b.STATUS_JS_FULL_TEXT[a]," ")}},FUa=function(a,
b){a&1&&(M(0,14),F(1,BUa,3,2,"span",15)(2,CUa,3,2,"span",15)(3,DUa,4,3,"span",15)(4,EUa,2,1,"span",16),N());a&2&&(G("ngSwitch",b.ngIf),A(1),G("ngSwitchCase","ASSIGNED"),A(1),G("ngSwitchCase","ACCEPTED"),A(1),G("ngSwitchCase","DUPLICATE"))},GUa=function(a,b){a&1&&(M(0),L(1,"b-app-vote-button",18),N());if(a&2){a=b.ngIf;b=R().ngIf;var c=R(2),d;A(1);G("issueId",c.issueId)("voteCount",b.voteCount)("upvoted",null!==(d=a.voted)&&void 0!==d?d:!1)}},HUa=function(a){a&1&&(M(0),F(1,GUa,2,3,"ng-container",1),
N());a&2&&(a=R(2),A(1),G("ngIf",a.issue.userData))},JUa=function(a){if(a&1){var b=v();M(0);H(1,"button",19);Q("click",function(){x(b);var c=R(2);return z(IUa(c,c.childContextId))});T(2," Unlink parent ");K();N()}},KUa=function(a,b){a&1&&(H(0,"li"),T(1," Last updated by "),L(2,"b-user-display",17),T(3," on: "),L(4,"b-formatted-date-time",20),K());a&2&&(a=b.ngIf,b=R().ngIf,A(2),G("model",a)("hovercardEnabled",!1),A(2),G("timestamp",b.modifiedTimeMicros/1E3))},LUa=function(a,b){a&1&&(M(0),F(1,KUa,5,
3,"li",1),H(2,"li"),T(3," Reported by "),L(4,"b-user-display",17),T(5," on: "),L(6,"b-formatted-date-time",20),K(),N());a&2&&(a=b.ngIf,b=R().ngIf,A(1),G("ngIf",a.lastModifier),A(3),G("model",b.reporterUser)("hovercardEnabled",!1),A(2),G("timestamp",a.createdTimeMicros/1E3))},MUa=function(a){a&1&&(H(0,"li",21),L(1,"b-note-container",22),K());if(a&2){a=R(2);var b;A(1);G("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())}},PUa=function(a,b){if(a&1){var c=v();M(0);H(1,"div",2)(2,"h3")(3,"a",3);T(4);K();T(5," \u00a0 ");H(6,"span",4);T(7);K()();H(8,"ul")(9,"li",5);F(10,zUa,1,1,"b-issue-visibility-chip",6)(11,AUa,1,2);K();H(12,"li",7)(13,"span",8);T(14);K();T(15," \u00a0 ");F(16,FUa,5,4,"ng-container",9);K()();H(17,"div",10)(18,"b-cc-button",11);Q("onCc",function(f){x(c);var h=R();h.location&&f&&h.analytics.trackEvent(h.location+
"_"+Kp.ISSUE_CARD,"add","CC");return z()});K();F(19,HUa,2,1,"ng-container",1)(20,JUa,3,0,"ng-container",1);K();H(21,"ul");F(22,LUa,7,4,"ng-container",1)(23,MUa,2,4,"li",12);K()();N()}if(a&2){a=b.ngIf;b=R();var d,e;A(3);Cf("aria-label","Go to issue ",b.issueId,"");G("href",b.editIssue(b.issueId),Wd);A(1);$f(b.issueId);A(3);$f(a.title);A(3);Nf(10,b.enableNewVisibilityChips?10:11);A(3);G("ngClass",b.priorityClass(a.priority));A(1);$f(b.ISSUE_PRIORITY_TEXT_JS[null!==(d=a.priority)&&void 0!==d?d:b.ISSUE_PRIORITY_ENUM.PRIORITY_UNSPECIFIED]);
A(2);G("ngIf",a.status);A(2);G("issueId",b.issueId)("ccState",NUa(b,null!==(e=a.ccUsers)&&void 0!==e?e:eg(14,OUa)));A(1);G("ngIf",b.issue.aggregatedData);A(1);G("ngIf",b.childContextId);A(2);G("ngIf",b.issue.aggregatedData);A(1);G("ngIf",b.firstEvent.unlinkifiedComment)}},QUa=function(a){if(a&1){var b=v();M(0);H(1,"span",6);T(2);K();H(3,"a",7);Q("keydown",function(c){x(b);R();"Enter"===c.key&&c.stopPropagation();return z()})("click",function(c){return c.stopPropagation()});L(4,"mat-icon",8);K();N()}a&
2&&(a=R(),A(2),$f(a.title||"--"),A(1),G("routerLink","/"+a.link)("target",a.anchorTarget)("matTooltipShowDelay",250))},RUa=function(a){if(a&1){var b=v();H(0,"a",9);Q("keydown",function(d){x(b);R();"Enter"===d.key&&d.stopPropagation();return z()})("click",function(d){return d.stopPropagation()});T(1);K()}if(a&2){a=R();var c=S(6);G("routerLink","/"+a.link)("target",a.anchorTarget)("onedevHovercardTrigger",c)("onedevHovercardActive",a.enableHovercard);A(1);$f(a.title||"--")}},SUa=function(a){a&1&&L(0,
"b-issue-card",10);a&2&&(a=R(),G("issueId",a.issue.issueId))},TUa=function(a){a&1&&(H(0,"span",7),Wf(1,1),K())},UUa=function(a){a&1&&(H(0,"span",8),Wf(1,2),K())},VUa=function(a){a&1&&(H(0,"span",8),Wf(1,1),H(2,"span",9),yd(),H(3,"svg",10),L(4,"path",11),K()()())},WUa=function(a){a&1&&(H(0,"span",12),Wf(1,2),K())},XUa=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"}},YUa=function(a){return void 0===a||null===a?[]:Object.keys(a).filter(function(b){return a.hasOwnProperty(b)})},ZUa=function(){return{color:"accent"}},$Ua=function(a){var b=
function(){var c=a.apply(this,[].concat(u($c.apply(0,arguments))))||this;c._sticky=!1;c._hasStickyChanged=!1;return c};Y(b,a);b.prototype.hasStickyChanged=function(){var c=this._hasStickyChanged;this._hasStickyChanged=!1;return c};b.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1};Gh.Object.defineProperties(b.prototype,{sticky:{configurable:!0,enumerable:!0,get:function(){return this._sticky},set:function(c){var d=this._sticky;this._sticky=Sg(c);this._hasStickyChanged=d!==this._sticky}}});
return b},aVa=function(a,b){return a.concat(Array.from(b))},bVa=function(a,b){a&1&&(H(0,"div",18)(1,"div",19),T(2,"CURRENT ISSUE"),K(),H(3,"div",20),T(4),K()());a&2&&(a=b.ngIf,A(4),V(" ",null==a?null:a.snapshot[0].title," "))},cVa=function(a,b){a&1&&(H(0,"mat-chip-option",26)(1,"span",27),T(2),K()());a&2&&(a=b.$implicit,b=R().ngIf,G("selected",b.has(a))("value",a),A(1),G("matTooltip",a.tooltip||""),A(1),V(" ",a.displayAs," "))},dVa=function(a){if(a&1){var b=v();H(0,"mat-chip-listbox",24);Q("change",
function(c){x(b);var d=R(3);c=c.value;c=void 0===c?[]:c;Array.isArray(c)||(c=[c]);d.selectedFilters$.reset(c);return z()});F(1,cVa,3,4,"mat-chip-option",25);K()}a&2&&(a=R(3),A(1),G("ngForOf",a.allFilters))},eVa=function(a){a&1&&(H(0,"div",22),F(1,dVa,2,1,"mat-chip-listbox",23),W(2,"async"),K());a&2&&(a=R(2),A(1),G("ngIf",X(2,1,a.selectedFilters$.value$)))},fVa=function(a,b){a&1&&(M(0),F(1,eVa,3,3,"div",21),N());if(a&2){a=b.ngIf;b=R();var c=S(14);A(1);G("ngIf",!a.includes(b.TABS.ISSUE_IDS)||a.indexOf(b.TABS.ISSUE_IDS)!==
c.selectedIndex)}},gVa=function(){},hVa=function(a){a&1&&F(0,gVa,0,0,"ng-template")},jVa=function(a){a&1&&(M(0),F(1,hVa,1,0,null,31),N());if(a&2){a=R().xapLet;var b=R(2),c=S(24);A(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",gg(2,iVa,a,b.TABS.SIMILAR_ISSUES))}},kVa=function(a){a&1&&(M(0),F(1,jVa,2,5,"ng-container",8),N());if(a&2){R();var b=S(1);A(1);G("ngIf",b.isActive)}},lVa=function(a){a&1&&(H(0,"mat-tab",28,29),F(2,kVa,2,1,"ng-container",30),W(3,"async"),K());a&2&&(a=R(),A(2),G("xapLet",
X(3,1,a.similarIssues$)))},mVa=function(){},nVa=function(a){a&1&&F(0,mVa,0,0,"ng-template")},oVa=function(a){a&1&&(M(0),F(1,nVa,1,0,null,31),N());if(a&2){a=R().xapLet;var b=R(2),c=S(24);A(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",gg(2,iVa,a,b.TABS.SEARCH_RESULTS))}},pVa=function(a){a&1&&(M(0),F(1,oVa,2,5,"ng-container",8),N());if(a&2){R();var b=S(1);A(1);G("ngIf",b.isActive)}},qVa=function(a){a&1&&(H(0,"mat-tab",32,29),F(2,pVa,2,1,"ng-container",30),W(3,"async"),K());a&2&&(a=R(),A(2),G("xapLet",
X(3,1,a.searchResults$)))},rVa=function(){},sVa=function(a){a&1&&F(0,rVa,0,0,"ng-template")},tVa=function(a){a&1&&(M(0),F(1,sVa,1,0,null,31),N());if(a&2){a=R().xapLet;var b=R(2),c=S(24);A(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",gg(2,iVa,a,b.TABS.ISSUE_IDS))}},uVa=function(a){a&1&&(M(0),F(1,tVa,2,5,"ng-container",8),N());if(a&2){R();var b=S(1);A(1);G("ngIf",b.isActive)}},vVa=function(a){a&1&&(H(0,"mat-tab",33,29),F(2,uVa,2,1,"ng-container",30),W(3,"async"),K());a&2&&(a=R(),A(2),G("xapLet",
X(3,1,a.issuesWithIdMatches$)))},wVa=function(a){a&1&&(H(0,"th",55)(1,"span",56),T(2,"Selection"),K()())},xVa=function(a,b){a&1&&(H(0,"td",57),L(1,"mat-radio-button",58),W(2,"async"),K());a&2&&(a=b.$implicit,b=R(3),A(1),G("checked",X(2,3,Lp(b.selectedIssues,a.issueId)))("aria-label",a.snapshot[0].title)("value",a.issueId))},yVa=function(a){a&1&&(H(0,"th",55),T(1," Title "),K())},zVa=function(a,b){a&1&&(H(0,"td",57),L(1,"b-issue-title-cell",59),K());a&2&&(a=b.$implicit,b=R(3),A(1),G("issue",a)("issueUrlFactory",
b.issueUrlFactory)("useButtonToNavigate",!0))},AVa=function(a){a&1&&(H(0,"th",55),T(1," Id "),K())},BVa=function(a,b){a&1&&(H(0,"td",57),L(1,"b-issue-id-cell",60),K());a&2&&(a=b.$implicit,A(1),G("id",a.issueId))},CVa=function(a){a&1&&(H(0,"th",55),T(1," Priority "),K())},DVa=function(a,b){a&1&&(H(0,"td",57),L(1,"b-issue-priority-cell",61),K());a&2&&(a=b.$implicit,A(1),G("issue",a))},EVa=function(a){a&1&&(H(0,"th",62),T(1," Status "),K())},FVa=function(a,b){a&1&&(H(0,"td",57),L(1,"b-issue-status-cell",
61),K());a&2&&(a=b.$implicit,A(1),G("issue",a))},GVa=function(a){a&1&&(H(0,"th",55),T(1," Dupes "),K())},HVa=function(a,b){a&1&&(H(0,"td",63),T(1),K());if(a&2){a=b.$implicit;var c;A(1);V(" ",null!==(c=null==a.snapshot[0].duplicateIssueId?null:a.snapshot[0].duplicateIssueId.length)&&void 0!==c?c:0," ")}},IVa=function(a){a&1&&(H(0,"th",64)(1,"span",56),T(2,"Votes"),K(),L(3,"mat-icon",65),K())},JVa=function(a,b){a&1&&(H(0,"td",63),T(1),K());a&2&&(a=b.$implicit,A(1),V(" ",a.aggregatedData.voteCount," "))},
KVa=function(a){a&1&&(H(0,"th",66),T(1," Created "),K())},LVa=function(a,b){a&1&&(H(0,"td",57),L(1,"b-issue-created-time-cell",67),K());a&2&&(a=b.$implicit,A(1),G("issue",a))},MVa=function(a){a&1&&L(0,"tr",68)},NVa=function(a,b){if(a&1){var c=v();H(0,"tr",69);Q("keydown",function(d){var e=x(c),f=e.index;e=e.$implicit;var h=R(3);return z(h.onRowKeydown(f,e,d))})("keydown.enter",function(){var d=x(c).$implicit,e=R(2).tab,f=R();return z(f.selectIssue(d.issueId,e))})("focusin",function(){var d=x(c).$implicit,
e=R(3);return z(Mp(e.focusManager,d))})("click",function(){var d=x(c),e=d.$implicit;d=d.index;var f=R(2).tab,h=R();h.selectIssue(e.issueId,f);return z(h.focusManager.setActiveItem(d))});K()}a&2&&G("row",b.$implicit)},PVa=function(a){if(a&1){var b=v();H(0,"table",37);Q("contentChanged",function(){x(b);var d=R().issues,e=R();return z(OVa(e,d))});M(1,38);F(2,wVa,3,0,"th",39);H(3,"mat-radio-group",40);Q("change",function(d){x(b);var e=R().tab,f=R();return z(f.selectIssue(d.value,e))});F(4,xVa,3,5,"td",
41);K();N();M(5,42);F(6,yVa,2,0,"th",39)(7,zVa,2,3,"td",41);N();M(8,43);F(9,AVa,2,0,"th",39)(10,BVa,2,1,"td",41);N();M(11,44);F(12,CVa,2,0,"th",39)(13,DVa,2,1,"td",41);N();M(14,45);F(15,EVa,2,0,"th",46)(16,FVa,2,1,"td",41);N();M(17,47);F(18,GVa,2,0,"th",39)(19,HVa,2,1,"td",48);N();M(20,49);F(21,IVa,4,0,"th",50)(22,JVa,2,1,"td",48);N();M(23,51);F(24,KVa,2,0,"th",52)(25,LVa,2,1,"td",41);N();F(26,MVa,1,0,"tr",53)(27,NVa,1,1,"tr",54);K()}if(a&2){a=R().issues;var c=R();G("dataSource",a)("trackBy",c.trackByIssueId);
A(26);G("matHeaderRowDef",c.tableColumns);A(1);G("matRowDefColumns",c.tableColumns)}},QVa=function(a){a&1&&(H(0,"div",70),L(1,"b-spinner",71),K())},RVa=function(a){a&1&&(H(0,"div",70)(1,"span",72),T(2,"No results found"),K()())},SVa=function(a,b){a&1&&(H(0,"div",34),F(1,PVa,28,4,"table",35)(2,QVa,2,0,"div",36)(3,RVa,3,0,"div",36),K());a&2&&(a=b.issues,b=R(),A(1),G("ngIf",!b.isLoading&&a&&a.length),A(1),G("ngIf",b.isLoading),A(1),G("ngIf",!b.isLoading&&0===(null==a?null:a.length)))},TVa=function(a){if(a&
1){var b=v();H(0,"button",4);Q("click",function(c){x(b);R().expansionChange.emit();c.stopPropagation();return z()});L(1,"b-icon",5);K()}a&2&&(a=R(),Jf("collapsed",!a.expanded),Af("aria-label",a.expanded?"Collapse children":"Expand children"))},UVa=function(a){a&1&&L(0,"div",6)},VVa=function(a){a&1&&(H(0,"b-person-hovercard",3),T(1),K());a&2&&(a=R(),G("email",a.assignee),A(1),V(" ",a.assignee," "))},WVa=function(a){a&1&&T(0,"--")},XVa=function(a){a&1&&L(0,"b-team-display",3);a&2&&(a=R(),G("teamId",
a.teamId)("componentId",a.componentId)("anchorLinkEnabled",!1))},YVa=function(a){a&1&&T(0,"--")},ZVa=function(a){a&1&&(M(0),T(1),W(2,"enumToHuman"),N());a&2&&(a=R(),A(1),$f(X(2,1,a.type)))},$Va=function(a){a&1&&T(0,"--")},aWa=function(a){a&1&&(H(0,"b-person-hovercard",3),T(1),K());a&2&&(a=R(),G("email",a.reporter),A(1),V(" ",a.reporter," "))},bWa=function(a){a&1&&T(0,"--")},cWa=function(a){a&1&&(H(0,"div")(1,"div",9),T(2," An issue cannot reference itself. "),K()())},dWa=function(a){a&1&&(H(0,"mat-option",
10)(1,"div",11),L(2,"b-spinner",12),K()());a&2&&(A(2),G("large",!0))},eWa=function(a){a&1&&(H(0,"mat-option",13),T(1," No issues found. "),K())},fWa=function(a){a&1&&L(0,"mat-icon",24);if(a&2){a=R().$implicit;var b=R();G("svgIcon",b.STATUS_ICON[a.status])}},gWa=function(a){a&1&&L(0,"b-issue-card",25,26);if(a&2){var b=S(1);a=R().$implicit;G("onedevIsHovercardReady",b.init)("issueId",a.resourceId)}},iWa=function(a,b){a&1&&(H(0,"mat-option",14)(1,"div",15),F(2,fWa,1,1,"mat-icon",16),H(3,"strong",17),
T(4),K(),H(5,"onedev-hovercard",null,18),F(7,gWa,2,2,"b-issue-card",19),K(),H(8,"a",20),Q("click",function(d){return d.stopPropagation()}),L(9,"mat-icon",21),K(),H(10,"span",22),T(11),K(),L(12,"div",23),W(13,"boldPrefixMatches"),K()());if(a&2){a=b.$implicit;var c=S(6);b=R();G("value",a);A(1);Af("aria-label",a.resourceId+", "+a.displayText+", click ALT RightArrow to open the issue in a new tab.");A(1);G("ngIf",a.status);A(1);Yf("title",a.resourceId);A(1);V(" ",a.resourceId," ");A(4);G("onedevHovercardTrigger",
c)("href",b.getIssueLink(a),Wd);A(3);$f(hWa(a));A(1);Yf("title",a.displayText);G("innerHTML",ig(13,10,a.displayText,b.query),Vd)}},jWa=function(a,b){a&1&&(H(0,"a",13),T(1),K());a&2&&(a=b.$implicit,b=b.last,Xf("href","issues/",a.resourceId,"",Wd),A(1),ag(" ",a.resourceId,"",b?"":","," "))},kWa=function(a){a&1&&(H(0,"div",11),F(1,jWa,2,3,"a",12),K());a&2&&(a=R(),A(1),G("ngForOf",a.selectedIssues))},lWa=function(a){a&1&&(H(0,"div",11)(1,"a",14)(2,"span",15),T(3),K(),H(4,"span"),L(5,"mat-icon",16),K()()());
a&2&&(a=R(),A(1),Xf("href","issues/",a.selectedIssues[0].resourceId,"",Wd),A(2),V(" ",a.selectedIssues[0].displayText," "))},nWa=function(a){if(a&1){var b=v();H(0,"div",17)(1,"div",18);Q("click",function(){x(b);var c=R();return z(mWa(c))})("keyup.space",function(){x(b);var c=R();return z(mWa(c))});K()()}a&2&&(a=R(),A(1),G("matTooltip",a.isQueryRestricted?"Searching in current component tree":"Click to search in current component tree"),Af("aria-checked",a.isQueryRestricted))},pWa=function(a){if(a&
1){var b=v();H(0,"b-app-bar-bulk-edit-menus",6);Q("onBulkEdit",function(d){x(b);var e=R();return z(e.bulkEdit(d))})("onQuickBulkEdit",function(d){x(b);var e=R();return z(e.quickBulkEdit(d))})("onBulkEditIssueRelation",function(d){x(b);var e=R();return z(e.bulkEditIssueRelation(d))})("onBulkMarkIssueRead",function(){x(b);var d=R();return z(d.bulkMarkIssueRead())});W(1,"async");K()}if(a&2){a=R();var c;G("readStatePrompt",oWa(a))("enableBulkEstimatedEffortOption",null!==(c=X(1,2,a.enableBulkEstimatedEffortOption$))&&
void 0!==c?c:!1)}},tWa=function(a){if(a&1){var b=v();H(0,"b-copy-issue-id-button",7);Q("onClickCopyIssueIds",function(){x(b);var c=R();return z(qWa(c.copyIssueIdService,Np(c)))})("onClickCopyIssueShortLinks",function(){x(b);var c=R();return z(rWa(c.copyIssueIdService,Np(c)))})("onClickCopyAsIssueSearch",function(){x(b);var c=R();return z(sWa(c.copyIssueIdService,Np(c)))});K()}a&2&&(a=R(),G("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",a.activeSession.isInternalSession()))},
uWa=function(a){if(a&1){var b=v();H(0,"div",8)(1,"b-hotlist-picker",9);Q("onApply",function(c){x(b);var d=R();return z(d.handleHotlistPickerSave(c))})("onCreate",function(c){x(b);var d=R();return z(d.onCreateHotlist.emit(c))})("onLoad",function(c){x(b);var d=R();return z(d.onLoadHotlist.emit(c))});K()()}a&2&&(a=R(),A(1),G("selectedHotlistIds",a.hotlistIdMatrix)("choices",a.hotlistChoices))},wWa=function(a){if(a&1){var b=v();H(0,"b-comment-box",16);Q("commentChange",function(c){x(b);var d=R(2);return z(d.comment=
c)})("onSubmit",function(){x(b);var c=R(2);return z(vWa(c))});K()}a&2&&(a=R(2),G("comment",a.comment)("showToolbar",!1))},xWa=function(a){if(a&1){var b=v();H(0,"div",17)(1,"b-recaptcha",18);Q("onUpdate",function(c){x(b);var d=R(2);return z(d.recaptchaResponse=c)});K()()}},yWa=function(a){a&1&&(H(0,"h1",10),T(1,"Add comment"),K(),H(2,"mat-dialog-content"),F(3,wWa,1,2,"b-comment-box",11),L(4,"b-external-warnings",12),K(),F(5,xWa,2,0,"div",13),H(6,"mat-dialog-actions")(7,"button",14),T(8," Cancel "),
K(),H(9,"button",15),T(10," Save "),K()());a&2&&(a=R(),A(3),G("ngIf",a.comment),A(1),G("externalWarnings",a.externalWarnings),A(1),G("ngIf",a.enableRecaptcha),A(2),G("mat-dialog-close",!1),A(2),G("disabled",a.enableRecaptcha&&""===a.recaptchaResponse)("mat-dialog-close",!0))},zWa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},Pp=function(a,b){b=void 0===b?{}:b;return null==b.id?"":Op(a,b)},Op=function(a,b){var c=b=void 0===b?{}:b;b=c.params;c=c.tab;b&&
(a=mwa(a,b));c&&(a=a+"#"+c);return a},AWa=function(a){if(a&1){var b=v();H(0,"button",7);Q("click",function(){x(b);var c=R(2);return z(c.removeHotlist.emit())});L(1,"mat-icon",8);K()}a&2&&(a=R(2),Jf("invisible",a.disabled),Af("aria-disabled",a.disabled)("aria-label","Remove the hotlist "+a.hotlist.name))},BWa=function(a){a&1&&(M(0),H(1,"span",1)(2,"span",2)(3,"a",3),T(4),K()(),F(5,AWa,2,4,"button",4),K(),H(6,"onedev-hovercard",null,5),L(8,"b-hotlist-card",6),K(),N());if(a&2){var b=S(7);a=R();A(1);
If("padding-right",a.removable?0:"10px");Jf("muted",a.disabled);G("onedevHovercardTrigger",b)("onedevHovercardActive",a.showHovercard);A(2);G("href",a.pathBuilder.viewHotlist(a.hotlist.hotlistId),Wd);Af("aria-label",a.getAriaLabel(a.hotlist));A(1);$f(a.hotlist.name);A(1);G("ngIf",a.removable);A(3);G("hotlist",a.hotlist)}},Rp=function(a){for(var b=l(CWa),c=b.next();!c.done;c=b.next())if(c=c.value,c.accessLevel===a)return c.title;return Qp.title},DWa=function(a){a&1&&L(0,"mat-icon",10);a&2&&(a=R(),
G("matTooltip",a.disabledDropdownTooltip))},EWa=function(a,b){if(a&1){var c=v();H(0,"button",11);Q("click",function(){var d=x(c).$implicit,e=R();e.selectedDisplay$.next(d);e.updatedAccessLimitLevel.emit(d.accessLevel);return z()});H(1,"div",12);L(2,"mat-icon",13);H(3,"span",14);T(4);K()();H(5,"div",15);T(6);K()()}a&2&&(a=b.$implicit,b=R(),A(2),G("svgIcon",a.icon),A(2),V(" ",a.title," "),A(2),V(" ",b.implicitAccessEnabled?a.descriptionWithExpandedAccess:a.descriptionNoExpandedAccess," "))},FWa=function(a){var b=
a.assigneeUser===a.currentUserEmail,c=a.verifierUser===a.currentUserEmail,d,e=!(null==(d=a.collaboratorsUsers)||!d.some(function(h){return h===a.currentUserEmail})),f;d=!(null==(f=a.ccUsers)||!f.some(function(h){return h===a.currentUserEmail}));return!b&&!c&&!e&&!d},GWa=function(a){a&1&&(H(0,"span"),T(1,"Edit"),K())},HWa=function(a){a&1&&(H(0,"span"),T(1,"Cancel"),K())},OWa=function(a){if(a&1){var b=v();M(0);H(1,"td")(2,"div")(3,"div",11);T(4);K();H(5,"div",12)(6,"a",13);T(7);K()()()();H(8,"td",3)(9,
"mat-radio-button",14);Q("change",function(d){x(b);var e=R(2);return z(IWa(e,d.value))});K()();H(10,"td",3)(11,"b-button",15);Q("onAction",function(){x(b);var d=R().$implicit,e=R();return z(JWa(e,d))});F(12,GWa,2,0,"span",9)(13,HWa,2,0,"span",9);K()();H(14,"td",3)(15,"b-button",16);Q("onAction",function(){x(b);var d=R().$implicit,e=R();return z(KWa(e,d))});T(16," Delete ");K()();N()}if(a&2){a=R().$implicit;var c=R();A(3);Jf("selected",LWa(c,a));A(1);V(" ",a.name," ");A(2);G("href",MWa(c,a),Wd);Af("aria-label",
a.name+"- Click to create a new issue");A(1);V(" ",MWa(c,a)," ");A(2);Xf("id","template-default-radio-",a.index,"");G("checked",c.defaultIndex===a.index)("aria-label","Make template "+a.name+" as default template")("value",a.index);A(2);G("bAriaLabel",LWa(c,a)?"Cancel editing "+a.name:"Edit "+a.name);A(1);G("ngIf",!LWa(c,a));A(1);G("ngIf",LWa(c,a));A(2);G("bAriaLabel","Delete "+a.name)("disabled",!NWa(c,a))}},PWa=function(a){a&1&&(H(0,"h2",73),T(1," Create Template "),K())},QWa=function(a){a&1&&(H(0,
"h2",73),T(1),K());a&2&&(a=R(2).$implicit,A(1),ag(' Edit template "',a.name,'" ',a.editableTemplate.isDirty()?"(changed)":""," "))},RWa=function(a,b){a&1&&(H(0,"mat-option",80),T(1),K());a&2&&(a=b.$implicit,Yf("value",a),A(1),V(" ",a," "))},SWa=function(a){if(a&1){var b=v();H(0,"div",74)(1,"div",21)(2,"label",75);T(3,"Collaborator Groups");K();L(4,"mat-icon",76);K();H(5,"mat-form-field",77)(6,"mat-select",78);Q("ngModelChange",function(d){x(b);var e=R(2).$implicit;return z(e.editableTemplate.collaboratorGroups=
d)})("ngModelChange",function(){x(b);R(2).$implicit.editableTemplate.dirty=!0;return z()});H(7,"mat-select-trigger");T(8);K();F(9,RWa,2,2,"mat-option",79);K()()()}if(a&2){a=R(2).$implicit;var c=R();A(4);Yf("matTooltip",c.COLLABORATOR_GROUPS_TOOLTIP);A(2);G("ngModel",a.editableTemplate.collaboratorGroups);A(2);V(" ",a.editableTemplate.getCollaboratorGroupsString()," ");A(1);G("ngForOf",c.trackerCollaboratorGroups)}},UWa=function(a,b){if(a&1){var c=v();H(0,"button",81);Q("click",function(){var e=x(c).$implicit,
f=R(2).$implicit,h=R();f.issueType=e.value;return z(TWa(h))});T(1);K()}if(a&2){a=b.$implicit;b=R(2).$implicit;var d;G("disabled",b.issueType===a.value)("matTooltip",null!==(d=a.altText)&&void 0!==d?d:"");A(1);V(" ",a.displayText," ")}},VWa=function(a,b){if(a&1){var c=v();H(0,"button",82);Q("click",function(){var d=x(c).$implicit,e=R(2).$implicit;e.editableTemplate.priority=d.value;e.editableTemplate.dirty=!0;return z()});T(1);K()}a&2&&(a=b.$implicit,b=R(2).$implicit,G("disabled",b.editableTemplate.priority===
a.value),A(1),V(" ",a.displayText," "))},WWa=function(a,b){if(a&1){var c=v();H(0,"button",82);Q("click",function(){var d=x(c).$implicit,e=R(2).$implicit;e.editableTemplate.severity=d.value;e.editableTemplate.dirty=!0;return z()});T(1);K()}a&2&&(a=b.$implicit,b=R(2).$implicit,G("disabled",b.editableTemplate.severity===a.value),A(1),V(" ",a.displayText," "))},XWa=function(a,b){if(a&1){var c=v();H(0,"div",83)(1,"b-hotlist-chip",84);Q("removeHotlist",function(){var d=x(c).$implicit,e=R(3);return z(e.removeHotlist(d.hotlistId))});
K()()}a&2&&(a=b.$implicit,A(1),G("hotlist",a))},YWa=function(a){a&1&&(H(0,"h3"),T(1,"Custom issue fields"),K())},ZWa=function(a){if(a&1){var b=v();H(0,"input",92);Q("ngModelChange",function(d){x(b);var e=R().$implicit,f=R(2).$implicit;return z(f.editableTemplate.customFieldValues[e.id].textValue=d)})("ngModelChange",function(){x(b);R(3).$implicit.editableTemplate.dirty=!0;return z()});K()}if(a&2){a=R().$implicit;var c=R(2).$implicit;Cf("id","template-cf-",a.id,"");G("ngModel",c.editableTemplate.customFieldValues[a.id].textValue)}},
$Wa=function(a){if(a&1){var b=v();H(0,"input",93);Q("ngModelChange",function(d){x(b);var e=R().$implicit,f=R(2).$implicit;return z(f.editableTemplate.customFieldValues[e.id].numericValue=d)})("ngModelChange",function(){x(b);R(3).$implicit.editableTemplate.dirty=!0;return z()});K()}if(a&2){a=R().$implicit;var c=R(2).$implicit;Cf("id","template-cf-",a.id,"");G("ngModel",c.editableTemplate.customFieldValues[a.id].numericValue)}},bXa=function(a){if(a&1){var b=v();H(0,"b-edit-field",94);Q("valueChange",
function(h){x(b);var k=R().$implicit,q=R(2).$implicit,t=R();return z(t.setCustomField(q,k.id,h))});K()}if(a&2){a=R().$implicit;var c=R(2).$implicit,d=R(),e,f;Cf("id","template-cf-",a.id,"");G("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!==(f=a.enumFields)&&void 0!==f?f:eg(6,aXa))}},cXa=function(a){if(a&1){var b=v();H(0,"bv2-input-date-picker",
95);Q("boundValueChange",function(e){x(b);var f=R().$implicit,h=R(2).$implicit,k=R();return z(h.editableTemplate.customFieldValues[f.id].dateValue=k.getDateValue(e))})("boundValueChange",function(){x(b);R(3).$implicit.editableTemplate.dirty=!0;return z()});K()}if(a&2){a=R().$implicit;var c=R(2).$implicit,d;Cf("id","template-cf-",a.id,"");G("boundValue",null!==(d=c.editableTemplate.customFieldValues[a.id].dateValue)&&void 0!==d?d:void 0)}},eXa=function(a){if(a&1){var b=v();H(0,"b-list-field",96);Q("valuesChange",
function(e){x(b);var f=R().$implicit,h=R(2).$implicit,k=R();return z(k.setCustomField(h,f.id,e.values))});K()}if(a&2){a=R().$implicit;var c=R(2).$implicit,d=R();Cf("id","template-cf-",a.id,"");G("defaultLineCount",2)("type",d.getListFieldType(a.type))("values",dXa(c.editableTemplate.customFieldValues[a.id]))("enumChoices",a.enumFields)("truncate",!0)}},fXa=function(a,b){a&1&&(H(0,"div")(1,"div",21)(2,"label",85),T(3),K()(),H(4,"div",86),F(5,ZWa,1,2,"input",87)(6,$Wa,1,2,"input",88)(7,bXa,1,7,"b-edit-field",
89)(8,cXa,1,2,"bv2-input-date-picker",90)(9,eXa,1,6,"b-list-field",91),K()());a&2&&(a=b.$implicit,Mf("cell-",a.cellType,""),A(2),Xf("for","template-cf-",a.id,""),A(1),ag("",a.name," (id=",a.id,")"),A(1),G("ngSwitch",a.type),A(1),G("ngSwitchCase","TEXT"),A(1),G("ngSwitchCase","NUMERIC"),A(1),G("ngSwitchCase","ENUM"),A(1),G("ngSwitchCase","DATE"))},lXa=function(a){if(a&1){var b=v();H(0,"td",17)(1,"div",18);F(2,PWa,2,0,"h2",19)(3,QWa,2,2,"h2",19);H(4,"div",20)(5,"div",21)(6,"label",22);T(7,"Template Name");
K()();H(8,"input",23);Q("ngModelChange",function(h){x(b);var k=R().$implicit;return z(k.editableTemplate.name=h)})("ngModelChange",function(){x(b);R().$implicit.editableTemplate.dirty=!0;return z()});K()();H(9,"div",20)(10,"div",21)(11,"label",24);T(12,"Description of Template");K()();H(13,"input",25);Q("ngModelChange",function(h){x(b);var k=R().$implicit;return z(k.editableTemplate.description=h)})("ngModelChange",function(){x(b);R().$implicit.editableTemplate.dirty=!0;return z()});K()();H(14,"div",
26)(15,"h3");T(16," Standard issue fields ");K();H(17,"div",27)(18,"div",28)(19,"div",21)(20,"label",29);T(21,"Issue Access Level");K()();H(22,"b-issue-access-limits-dropdown",30);Q("updatedAccessLimitLevel",function(h){x(b);var k=R().$implicit;return z(k.editableTemplate.onAccessLimitLevelSelected(h))});K()();F(23,SWa,10,4,"div",31);K();H(24,"div",20)(25,"div",21)(26,"label",32);T(27,"Title");K()();H(28,"input",33);Q("ngModelChange",function(h){x(b);var k=R().$implicit;return z(k.editableTemplate.title=
h)})("ngModelChange",function(){x(b);R().$implicit.editableTemplate.dirty=!0;return z()});K()();H(29,"div",34)(30,"div",21)(31,"label",35);T(32,"Type");K()();H(33,"button",36)(34,"span");T(35);K();L(36,"b-icon",37);K();H(37,"mat-menu",38,39);F(39,UWa,2,3,"button",40);K()();H(40,"div",34)(41,"div",21)(42,"label",41);T(43,"Priority");K()();H(44,"button",42)(45,"span");T(46);K();L(47,"b-icon",37);K();H(48,"mat-menu",38,43);F(50,VWa,2,2,"button",44);K()();H(51,"div",34)(52,"div",21)(53,"label",45);T(54,
"Severity");K()();H(55,"button",46)(56,"span");T(57);K();L(58,"b-icon",37);K();H(59,"mat-menu",38,47);F(61,WWa,2,2,"button",44);K()();H(62,"div",48)(63,"div",21)(64,"label",49);T(65,"Default Hotlists");K()();H(66,"b-hotlist-picker",50);Q("onApply",function(h){x(b);var k=R(2);return z(k.handleHotlistPickerSave(h))})("onCreate",function(h){x(b);var k=R(2);return z(k.createHotlist(h))})("onLoad",function(h){x(b);var k=R(2);return z(k.loadHotlist(h))});K();F(67,XWa,2,1,"div",51);K();L(68,"div",52);H(69,
"div",53)(70,"div",21)(71,"label",54);T(72,"Assignee");K()();H(73,"input",55);Q("ngModelChange",function(h){x(b);var k=R().$implicit;return z(k.editableTemplate.assignee=h)})("ngModelChange",function(){x(b);R().$implicit.editableTemplate.dirty=!0;return z()});K()();H(74,"div",53)(75,"div",21)(76,"label",56);T(77,"Verifier");K()();H(78,"input",57);Q("ngModelChange",function(h){x(b);var k=R().$implicit;return z(k.editableTemplate.verifier=h)})("ngModelChange",function(){x(b);R().$implicit.editableTemplate.dirty=
!0;return z()});K()();H(79,"div",20)(80,"div",21)(81,"label",58);T(82,"Collaborators");K();L(83,"mat-icon",59);K();H(84,"input",60);Q("ngModelChange",function(h){x(b);var k=R().$implicit;return z(gXa(k.editableTemplate,h))});K()();H(85,"div",20)(86,"div",21)(87,"label",61);T(88,"CC");K()();H(89,"input",62);Q("ngModelChange",function(h){x(b);var k=R().$implicit;return z(hXa(k.editableTemplate,h))});K()();H(90,"div",20)(91,"div",21)(92,"label",63);T(93,"Initial Comment");K()();H(94,"textarea",64);Q("ngModelChange",
function(h){x(b);var k=R().$implicit;return z(k.editableTemplate.comment=h)})("ngModelChange",function(){x(b);R().$implicit.editableTemplate.dirty=!0;return z()});T(95,"              ");K();H(96,"b-markdown-toggle",65);Q("change",function(h){x(b);var k=R().$implicit;return z(k.editableTemplate.setFormattingMode(h))});K()();H(97,"div",20)(98,"div",21)(99,"label",66);T(100,"In Prod");K()();H(101,"b-slide-toggle",67);Q("modelChange",function(){x(b);var h=R().$implicit.editableTemplate;h.inProd=!h.inProd;
h.dirty=!0;return z()});K()()();H(102,"div",68);F(103,YWa,2,0,"h3",9)(104,fXa,10,11,"div",69);K();H(105,"div",70)(106,"b-button",71);Q("onAction",function(){x(b);var h=R(2);return z(iXa(h))});T(107," Save ");K();H(108,"b-button",72);Q("onAction",function(){x(b);var h=R(2);return z(jXa(h))});T(109," Cancel ");K()()()()}if(a&2){var c=S(38),d=S(49),e=S(60);a=R().$implicit;var f=R();A(2);G("ngIf",a.editableTemplate.new);A(1);G("ngIf",!a.editableTemplate.new);A(5);G("ngModel",a.editableTemplate.name);
A(5);G("ngModel",a.editableTemplate.description);A(9);G("disabled",!1)("defaultAccessLimitLevel",a.editableTemplate.issueAccessLimitLevel)("implicitAccessEnabled",f.implicitAccessEnabled);A(1);G("ngIf",f.trackerCollaboratorGroups.length);A(5);G("ngModel",a.editableTemplate.title);A(5);G("matMenuTriggerFor",c);A(2);$f(kXa(a.issueType));A(2);G("overlapTrigger",!0);A(2);G("ngForOf",f.issueTypeChoices);A(5);G("matMenuTriggerFor",d);A(2);$f(a.editableTemplate.priority);A(2);G("overlapTrigger",!0);A(2);
G("ngForOf",f.priorityChoices);A(5);G("matMenuTriggerFor",e);A(2);$f(a.editableTemplate.severity);A(2);G("overlapTrigger",!0);A(2);G("ngForOf",f.severityChoices);A(5);G("selectedHotlistIds",f.selectedHotlistIds)("choices",f.hotlists);A(1);G("ngForOf",f.selectedHotlists);A(6);G("bContactAutocomplete","SINGLE")("ngModel",a.editableTemplate.assignee);A(5);G("bContactAutocomplete","SINGLE")("ngModel",a.editableTemplate.verifier);A(6);G("bContactAutocomplete","MULTI")("ngModel",a.editableTemplate.collaborators.join(", "));
A(5);G("bContactAutocomplete","MULTI")("ngModel",a.editableTemplate.cc.join(", "));A(5);G("ngModel",a.editableTemplate.comment);A(2);G("initialValue",a.editableTemplate.formattingMode);A(5);G("model",a.editableTemplate.inProd);A(2);G("ngIf",0<f.customFieldRows.length);A(1);G("ngForOf",f.customFieldRows);A(2);G("disabled",!a.editableTemplate.isDirty())}},mXa=function(a,b){a&1&&(H(0,"tr"),F(1,OWa,17,15,"ng-container",9)(2,lXa,110,38,"td",10),K());a&2&&(a=b.$implicit,A(1),G("ngIf",!a.editableTemplate),
A(1),G("ngIf",!!a.editableTemplate))},nXa=function(a,b){a&1&&(H(0,"div",97),T(1),K(),H(2,"div",98)(3,"button",99),T(4," Cancel "),K(),H(5,"button",100),T(6," Confirm "),K()());a&2&&(a=b.$implicit,A(1),V(' Are you sure you want to delete the template "',a.name,'"? '),A(2),G("mat-dialog-close",!1),A(2),G("mat-dialog-close",!0))},oXa=function(a,b){a&1&&(H(0,"div",97),T(1),K(),H(2,"div",98)(3,"button",101),T(4," Cancel "),K(),H(5,"button",101),T(6," Don't Save "),K(),H(7,"button",102),T(8," Save "),K()());
a&2&&(a=b.$implicit,A(1),V(' Do you want to save changes to template "',a.name,'" before closing? '),A(2),G("mat-dialog-close",void 0),A(2),G("mat-dialog-close",!1),A(2),G("mat-dialog-close",!0))},pXa=function(a){a&1&&(M(0),H(1,"div"),T(2),K(),H(3,"div"),T(4),K(),N());a&2&&(a=R(),A(2),V(" Policy: ",a.rawObjectiveDisplayText," (business) "),A(2),V("Effective: ",a.objectiveDisplayText," (calendar)"))},qXa=function(a){a&1&&(H(0,"div"),T(1),K());a&2&&(a=R(),A(1),V("Policy: ",a.rawObjectiveDisplayText,
" (calendar)"))},rXa=function(a){a&1&&(H(0,"div"),L(1,"b-slo-time-indicator",1),K());a&2&&(a=R(),A(1),G("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.assignmentSlo)("includeObjective",!0))},sXa=function(a){a&1&&(H(0,"div"),L(1,"b-slo-time-indicator",2),K());a&2&&(a=R(),A(1),G("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.responseSlo)("includeObjective",!0))},tXa=function(a){a&1&&(H(0,"div"),L(1,"b-slo-time-indicator",3),K());a&2&&(a=R(),A(1),G("sloStartTime",
a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.closureSlo)("includeObjective",!0))},uXa=function(a){a&1&&(H(0,"div",8),L(1,"b-slo-status-summary",9),K());a&2&&(a=R(),A(1),G("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric",a.onlyShowMetric))},vXa=function(a){a&1&&(M(0),T(1," No applicable SLO rules "),N())},wXa=function(a){a&1&&(M(0),T(1," No SLO set on issue component "),N())},xXa=function(a){a&1&&(H(0,"div",10),F(1,vXa,2,0,"ng-container",7)(2,wXa,2,0,"ng-container",
7),K());a&2&&(a=R(),A(1),G("ngIf",a.editSloLink),A(1),G("ngIf",!a.editSloLink))},yXa=function(a){if(a&1){var b=v();H(0,"a",12);Q("click",function(){x(b);var c=R(2);return z(c.trackOpenSlo())});T(1);K()}a&2&&(a=R(2),G("href",a.editSloLink,Wd),A(1),V(" ",a.sloName," "))},zXa=function(a){a&1&&(H(0,"span"),T(1," (private) "),K())},AXa=function(a){a&1&&(H(0,"span"),T(1," SLO definition: "),F(2,yXa,2,2,"a",11)(3,zXa,2,0,"span",7),K());a&2&&(a=R(),A(2),G("ngIf",a.sloName),A(1),G("ngIf",!a.sloName))},CXa=
function(a){if("CUSTOM_FIELD"===a.type)return new Sp({name:a.customFieldId?String(a.customFieldId):a.customFieldName||"",label:a.customFieldName||"",fullLabel:a.customFieldName||"",isCustomField:!0,sortable:void 0!==a.customFieldId,tooltip:""});a=di(a.type);"canonicalIssueId"===a&&(a="duplicateOfIssueId");return BXa.includes(a)?Tp(a):null},EXa=function(a){return DXa(a.map(CXa).filter(function(b){return!!b}))},FXa=function(a){return a.map(function(b){b.isCustomField?b={type:"CUSTOM_FIELD",customFieldId:fi(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})},DXa=function(a){return Pj(a,function(b){return b.name})},Tp=function(a){var b={name:a,label:a.toUpperCase()},c=GXa[a];c?Object.assign(b,c):BXa.includes(a)||(b.isCustomField=!0);b.fullLabel=b.fullLabel||b.label.charAt(0).toUpperCase()+b.label.slice(1).toLowerCase();return new Sp(b)},IXa=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))}),HXa(b,{childList:!0,subtree:!0}).pipe(He(function(c){return c.some(function(d){return 0<d.addedNodes.length})}),D(function(){return b.querySelector(a)}))).pipe(He(jl),Qe(),D(function(c){return c}))},HXa=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()}})},Up=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)}}},JXa=function(a,b){a&1&&L(0,"col");a&2&&Mf("",b.$implicit.name,"-col")},KXa=function(a){a&1&&Rf(0)},MXa=function(a,b){a&1&&(M(0),F(1,KXa,1,0,"ng-container",8),N());a&2&&(a=b.$implicit,b=R(),A(1),G("ngTemplateOutlet",b.headerCellTemplates[a.name]||b.defaultHeaderCellTemplate)("ngTemplateOutletContext",fg(2,LXa,a)))},NXa=function(a){a&1&&Rf(0)},PXa=function(a,b){a&1&&(M(0),F(1,NXa,1,0,"ng-container",8),N());if(a&2){a=b.$implicit;
b=b.index;var c=R(),d=c.$implicit;c=c.index;var e=R().ngIf;A(1);G("ngTemplateOutlet",e[b])("ngTemplateOutletContext",hg(OXa,d,a,c))}},QXa=function(a,b){if(a&1){var c=v();H(0,"tr",10,11);Q("click",function(){var e=x(c).index,f=R(2);f.focusedRowIndex!==e&&(f.focusedRowIndex=e,f.focusedRowIndexChange.emit(e));return z()})("focus",function(){var e=x(c).index,f=R(2);f.focusedRowIndex!==e&&(f.focusedRowIndex=e,f.focusedRowIndexChange.emit(e));return z()});F(2,PXa,2,6,"ng-container",4);K()}if(a&2){a=b.$implicit;
b=b.index;var d=R(2);Jf("selected",a.selected)("unread",!d.readUnreadOptOut&&!a.isRead&&!a.isClosed)("closed",a.isClosed)("grid-focus",d.focusedRowIndex===b);Af("data-row-id",a.id)("data-is-read",a.isRead)("aria-label",d.renderRowLabel(a,b)+(a.selected?", row starred":""));A(2);G("ngForOf",d.columns)}},RXa=function(a){a&1&&(M(0),F(1,QXa,3,12,"tr",9),N());a&2&&(a=R(),A(1),G("ngForOf",a.list))},SXa=function(a,b){a&1&&(H(0,"th"),L(1,"pop-grid-default-th",12),K());a&2&&(a=b.column,A(1),G("column",a))},
TXa=function(a,b){a&1&&(H(0,"td"),L(1,"pop-grid-default-cell",13),K());a&2&&(a=b.row,b=b.column,A(1),G("row",a)("column",b))},UXa=function(a){if(a&1){var b=v();H(0,"b-sortable-header",3);Q("sortChanged",function(c){x(b);var d=R();d.grid&&d.grid.sortChange.emit(c);return z()});K()}a&2&&(a=R(),G("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||""))},VXa=function(a){a&
1&&(H(0,"span",6),T(1),K());a&2&&(a=R(2),A(1),V("column-",a.column.name,""))},WXa=function(a){a&1&&(H(0,"div",4),F(1,VXa,2,1,"span",5),T(2),K());a&2&&(a=R(),Af("aria-label",a.column.label),A(1),G("ngIf",!a.column.label),A(1),V(" ",a.column.label," "))},XXa=function(a){if(a&1){var b=v();H(0,"div",13,14);Q("menuOpened",function(){x(b);var d=R();return z(d.menuOpen=!0)})("menuClosed",function(){x(b);var d=R();return z(d.menuOpen=!1)})("keydown.enter",function(d){x(b);S(1).openMenu();d.preventDefault();
return z(d.stopPropagation())})("keydown.space",function(){x(b);var d=S(1);return z(d.openMenu())});K()}if(a&2){a=R();var c=S(5);Jf("columnpicker-button-active",a.menuOpen);Cf("aria-label","",a.column.fullLabel," column configuration");G("matMenuTriggerFor",c)}},$Xa=function(a,b){if(a&1){var c=v();H(0,"button",15);Q("click",function(){var d=x(c).$implicit,e=R();return z(YXa(e,d.name))});L(1,"b-icon",16);H(2,"span",17);T(3);K()()}a&2&&(a=b.$implicit,b=R(),Jf("b-menu-item-checked",ZXa(a.name).get(b.listViewPrefs)),
A(3),V(" ",a.menuItem," "))},aYa=function(a){a&1&&L(0,"mat-divider")},bYa=function(a){if(a&1){var b=v();H(0,"button",22);Q("click",function(){x(b);var c=R().$implicit,d=R().before,e=R();return z(e.add(c,d))})("keydown.enter",function(c){x(b);var d=R().$implicit,e=R().before;R().add(d,e);c.preventDefault();return z(c.stopPropagation())});T(1);K()}a&2&&(a=R().$implicit,G("matTooltip",a.tooltip),A(1),V(" ",a.fullLabel," "))},dYa=function(a){a&1&&(H(0,"button",9)(1,"span"),T(2),K()());if(a&2){a=R().$implicit;
var b=R().before;R();var c=S(18);G("matMenuTriggerFor",c)("matMenuTriggerData",gg(3,cYa,a.columns,b));A(2);$f(a.label)}},eYa=function(a,b){a&1&&(M(0),F(1,bYa,2,2,"button",20)(2,dYa,3,6,"button",21),N());a&2&&(a=b.$implicit,b=R(2),A(1),G("ngIf",b.isIssueGridColumn(a)),A(1),G("ngIf",!b.isIssueGridColumn(a)))},gYa=function(a){if(a&1){var b=v();H(0,"button",18);Q("click",function(){var c=x(b).before,d=R();return z(fYa(d,c))});T(1," Custom Field ");K();L(2,"mat-divider");F(3,eYa,3,2,"ng-container",19)}a&
2&&(a=R(),A(3),G("ngForOf",a.currentAvailableItems))},hYa=function(a,b){if(a&1){var c=v();H(0,"button",24);Q("click",function(){var d=x(c).$implicit,e=R().before,f=R();return z(f.add(d,e))})("keydown.enter",function(d){var e=x(c).$implicit,f=R().before;R().add(e,f);d.preventDefault();return z(d.stopPropagation())});T(1);K()}a&2&&(a=b.$implicit,A(1),V(" ",a.fullLabel," "))},iYa=function(a,b){a&1&&F(0,hYa,2,1,"button",23);a&2&&G("ngForOf",b.columns)},ZXa=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("ee`"+a);}},jYa=function(a){return{matchedPatterns:Yh(a,1)}},kYa=function(a){a&1&&(H(0,"p",12),T(1),K());a&2&&(a=R(),A(1),V(" * Status update must be less than ",a.CHAR_LIMIT," characters. "))},lYa=function(a){a&1&&(H(0,"p",13),T(1),H(2,"a",14),T(3," Learn more "),K()());a&2&&(a=R(),A(1),V(" Your status update contains restricted words: ",
Vp(a.bannedWordsChecker),". Review your status update before posting. "))},mYa=function(a){a&1&&(H(0,"div",15),L(1,"b-live-preview",16),K());a&2&&(a=R(),A(1),G("comment",a.newStatusUpdate.updateText)("issueId",a.origStatusUpdate.issueId)("formattingMode",a.newStatusUpdate.formattingMode)("audience",a.formattingAudience))},pYa=function(a){var b,c;return{output:null!=(c=null==(b=zi(Wp(a,nYa,5),oYa,1)[0])?void 0:b.getOutput())?c:""}},qYa=function(a){return!(!BBa(a.userPerformingAction)||!a.isMajorEvent)},
rYa=function(a){return function(b){return zi(b,Xp,1).map(function(c){return{workspaceId:c.getWorkspaceId_asLegacyNumberOrString(),workspaceName:c.getName(),issueId:a}})}},sYa=function(a){a&1&&(M(0),T(1," > "),N())},tYa=function(a,b){a&1&&(M(0),H(1,"a",7),T(2),K(),F(3,sYa,2,0,"ng-container",3),N());a&2&&(a=b.$implicit,b=b.last,A(1),Cf("aria-label","View recent issues in ",a.name,""),G("routerLinkObj",a.route),A(1),$f(a.name),A(1),G("ngIf",!b))},uYa=function(a){a&1&&(H(0,"span"),T(1," [Archived]"),
K())},vYa=function(a){a&1&&(H(0,"div",5),F(1,tYa,4,4,"ng-container",6),W(2,"async"),F(3,uYa,2,0,"span",3),W(4,"async"),K());a&2&&(a=R(),A(1),G("ngForOf",X(2,2,a.componentPath$)),A(2),G("ngIf",X(4,4,a.isArchived$)))},wYa=function(a,b){a&1&&(M(0),H(1,"div",8),L(2,"mat-icon",9),H(3,"div",10),T(4),K()(),H(5,"p",11),T(6),K(),H(7,"p",10),T(8),K(),N());a&2&&(a=b.$implicit,A(4),$f(a.name),A(2),V("Component ID: ",a.componentId,""),A(2),$f(a.description))},xYa=function(a,b){a&1&&(H(0,"div",12)(1,"a",13),T(2,
"View recent open issues"),K(),H(3,"a",14),T(4,"View component settings"),K(),H(5,"a",15),T(6,"Create issue in this component"),K()());a&2&&(a=b.$implicit,A(1),G("routerLinkObj",a.recentIssues),A(2),G("routerLinkObj",a.componentSettings),A(2),G("routerLinkObj",a.createIssue))},yYa=function(a){a&1&&(H(0,"span"),T(1),K());a&2&&(a=R().$implicit,A(1),V("(",a.disabledReason,")"))},zYa=function(a,b){a&1&&(H(0,"mat-radio-button",8),T(1),F(2,yYa,2,1,"span",9),K());a&2&&(a=b.$implicit,G("value",a)("disabled",
!a.enabled),A(1),V(" ",a.displayText," "),A(1),G("ngIf",!a.enabled))},AYa=function(a){a&1&&(H(0,"span"),T(1),K());a&2&&(a=R().$implicit,A(1),V("(",a.disabledReason,")"))},BYa=function(a,b){a&1&&(H(0,"mat-radio-button",8),T(1),F(2,AYa,2,1,"span",9),K());a&2&&(a=b.$implicit,G("value",a)("disabled",!a.enabled),A(1),V(" ",a.displayText," "),A(1),G("ngIf",!a.enabled))},CYa=function(a){return a?"https://goto.corp.google.com/buganizer-delete":"https://issuetracker.google.com/issues/new?component=169992&template=543202"},
DYa=function(a){switch(a){case "RESTRICTION_SEVERITY_UNSPECIFIED":return 0;case "NONE_DETECTED":return 1;case "RESTRICTED":return 2;case "RESTRICTED_PLUS":return 3;default:throw Error("fe`"+a);}},EYa=function(a){a&1&&(H(0,"span"),T(1),K());a&2&&(a=R(),A(1),V("Retain ",a.resource," as long as issue?"))},FYa=function(a){a&1&&(H(0,"span"),T(1,"Apply component retention settings?"),K())},GYa=function(a){a&1&&(H(0,"span")(1,"p"),T(2),K(),H(3,"p")(4,"b"),T(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."),
K(),L(6,"br"),T(7," Before selecting this option, you should make sure that Legal and Privacy have approved this non-standard retention period."),K()());a&2&&(a=R(),A(2),V("Are you sure you want to override any component retention settings, and retain this ",a.resource," as long as issue?"))},HYa=function(a){a&1&&(H(0,"span")(1,"p"),T(2),K()());a&2&&(a=R(),A(2),ag("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."))},
IYa=function(a){if(a&1){var b=v();H(0,"mat-checkbox",9);Q("ngModelChange",function(c){x(b);var d=R();return z(d.acknowledgeToMatchIssueRetention=c)});T(1," I acknowledge ");K()}a&2&&(a=R(),G("ngModel",a.acknowledgeToMatchIssueRetention))},JYa=function(){var a=Math.random;this.initialMaxDelayMs_=500;this.random_=a;this.reset()},Zp=function(a){return new Yp((a instanceof Yp?a:new Yp(a)).value,!0)},KYa=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 $p(c)})}return a.apiKey?a.appAuthTokens?Promise.resolve(new aq(a.apiKey,a.appAuthTokens)):Promise.resolve(new bq(a.apiKey,a.authUser)):Promise.reject(Error("qe"))},LYa=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}},MYa=function(a){return new E.Observable(function(b){var c=
cq(function(){b.next({});b.complete()},a);return function(){dq(c)}})},NYa=function(a){var b=new eq;b.setName(a);return b},PYa=function(a){a.isPrivate?(a=new fq,nl(a,2,OYa,mb(!0))):(a=new fq,nl(a,1,OYa,mb(!0)));return a},RYa=function(a){var b=new gq;a=l(a.parts);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=new hq;if(d.value instanceof iq)d.isDecreasing?nl(c,4,jq,sb(d.value.toString())):nl(c,2,jq,sb(d.value.toString()));else if("string"===typeof d.value)d.isDecreasing?vl(c,3,jq,d.value):vl(c,
1,jq,d.value);else if("number"===typeof d.value)d.isDecreasing?nl(c,9,jq,kb(d.value)):nl(c,10,jq,kb(d.value));else if(d.value instanceof Uint8Array)d.isDecreasing?nl(c,5,jq,bb(d.value,!1,!0,!1)):nl(c,7,jq,bb(d.value,!1,!0,!1));else if(d.value instanceof kq)d.isDecreasing?(d=QYa(d.value),wl(c,11,jq,d)):(d=QYa(d.value),wl(c,12,jq,d));else if(d.value instanceof lq){var e=d.value.rep;"number"===typeof e?d.isDecreasing?nl(c,9,jq,kb(e)):nl(c,10,jq,kb(e)):"string"===typeof e&&(d.isDecreasing?nl(c,6,jq,null==
e?e:Fba(e)):nl(c,8,jq,null==e?e:Fba(e)))}mq(b,1,hq,c)}return b},WYa=function(a,b){if(a instanceof nq)return 0<zi(b,hq,1).length?null:SYa.apply(nq,u(a.parts));a=Array.of.apply(Array,u(a.root.parts));b=l(zi(b,hq,1));for(var c=b.next();!c.done;c=b.next())switch(c=c.value,sn(c,jq)){case 4:a.push(Zp(oq(Ni(c,kl(c,jq,4)))));break;case 2:a.push(new Yp(oq(Ni(c,kl(c,jq,2)))));break;case 6:a.push(Zp(new lq(TYa(c,kl(c,jq,6)))));break;case 8:a.push(new Yp(new lq(TYa(c,kl(c,jq,8)))));break;case 10:a.push(new Yp(new lq(pq(c,
kl(c,jq,10)))));break;case 9:a.push(Zp(new lq(pq(c,kl(c,jq,9)))));break;case 3:a.push(Zp(qq(c,3,jq)));break;case 1:a.push(new Yp(qq(c,1,jq)));break;case 7:var d=void 0;a.push(new Yp(null==(d=rq(c,kl(c,jq,7)))?void 0:UYa(d)));break;case 5:d=void 0;a.push(Zp(null==(d=rq(c,kl(c,jq,5)))?void 0:UYa(d)));break;case 12:c=VYa(ql(c,Xi,12,jq));if(null===c)return null;a.push(new Yp(c));break;case 11:c=VYa(ql(c,Xi,11,jq));if(null===c)return null;a.push(Zp(c));break;case 0:return null;default:return null}return SYa.apply(nq,
u(a))},XYa=function(a){a&1&&(H(0,"p",12),T(1),H(2,"a",13),T(3," Learn more "),K()());a&2&&(a=R(),A(1),V(" Your comment contains restricted words: ",Vp(a.bannedWordsChecker),". Review your comment before posting. "))},YYa=function(a){a&1&&L(0,"b-live-preview",14);a&2&&(a=R(),G("comment",a.newComment.text)("issueId",a.origComment.issueId)("audience",a.origComment.audience)("formattingMode",a.newComment.formattingMode))},ZYa=function(a){if(a&1){var b=v();H(0,"section")(1,"div",15)(2,"b-recaptcha",16);
Q("onUpdate",function(c){x(b);var d=R();return z(d.recaptchaResponse=c)});K()()()}},$Ya=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]}}},aZa=function(a){var b=[],c=new Map;a=l(a);for(var d=a.next();!d.done;d=a.next())if(d=d.value,""!==d.displayText)if(c.get(d.resourceId)){var e=c.get(d.resourceId);e.relations=[].concat(u(e.relations),u(d.relations))}else c.set(d.resourceId,
d),b.push(d);return b},bZa=function(a,b){a&1&&L(0,"mat-icon",9);a&2&&(a=b.ngIf,G("svgIcon",a.icon)("matTooltip",a.tooltip),Af("aria-label",a.tooltip))},cZa=function(a){a&1&&(M(0),T(1,"\u2026 >"),N())},dZa=function(a){a&1&&(M(0),T(1,"\u2026"),N())},eZa=function(a){if(a&1){var b=v();H(0,"a",17);Q("click",function(){x(b);var c=R(4);return z(c.compactMode$.next(!1))});F(1,cZa,2,0,"ng-container",6)(2,dZa,2,0,"ng-container",6);K()}a&2&&(a=R().$implicit,A(1),G("ngIf",a.isSpliced),A(1),G("ngIf",a.isTruncated))},
fZa=function(a){a&1&&(H(0,"a",18),T(1),K());if(a&2){a=R().$implicit;var b=S(7);Jf("muted",a.name==a.id);G("routerLinkObj",a.route)("onedevHovercardTrigger",b);A(1);$f(a.name)}},gZa=function(a){a&1&&(H(0,"span",19),T(1),K());a&2&&(a=R().$implicit,Jf("muted",a.name==a.id),A(1),$f(a.name))},hZa=function(a){a&1&&(M(0),T(1," > "),N())},iZa=function(a){a&1&&(M(0),L(1,"b-component-path-card",20,21),N());if(a&2){var b=S(2);a=R().$implicit;A(1);G("onedevIsHovercardReady",b.init)("componentId",a.id)}},jZa=
function(a,b){a&1&&(M(0),F(1,eZa,3,2,"a",12)(2,fZa,2,5,"a",13)(3,gZa,2,3,"ng-template",null,14,tg)(5,hZa,2,0,"ng-container",6),H(6,"onedev-hovercard",null,15),F(8,iZa,3,2,"ng-container",16),K(),N());if(a&2){a=b.$implicit;b=b.last;var c=S(4),d=R(3);A(1);G("ngIf",a.isSpliced||a.isTruncated);A(1);G("ngIf",!d.viewOnly)("ngIfElse",c);A(3);G("ngIf",!b)}},kZa=function(a,b){a&1&&(H(0,"span",10),F(1,jZa,9,4,"ng-container",11),K());a&2&&(a=b.$implicit,A(1),G("ngForOf",a))},lZa=function(a){a&1&&(H(0,"span"),
T(1,"[Archived]"),K())},mZa=function(a){if(a&1){var b=v();H(0,"button",22);Q("click",function(){x(b);R(2).editing=!0;return z()});L(1,"mat-icon",23);K()}},nZa=function(a){a&1&&(H(0,"a",24),W(1,"async"),L(2,"mat-icon",25),K());if(a&2){a=R(2);var b;G("routerLinkObj",a.popoutLink(null==(b=X(1,1,a.component$))?null:b.componentId))}},oZa=function(a){a&1&&(H(0,"b-async-data-placeholder",2),W(1,"async"),H(2,"div",3),W(3,"async"),W(4,"async"),F(5,bZa,1,3,"mat-icon",4),W(6,"async"),F(7,kZa,2,1,"span",5),W(8,
"async"),F(9,lZa,2,0,"span",6),W(10,"async"),F(11,mZa,2,0,"button",7)(12,nZa,3,3,"a",8),K()());a&2&&(a=R(),G("isReady",X(1,10,a.isReady$)),A(2),Jf("public",X(3,12,a.showPublicIndicator$))("partner",X(4,14,a.showPartnerIndicator$)),A(3),G("ngIf",X(6,16,a.folder$)),A(2),G("ngIf",X(8,18,a.componentPath$)),A(2),G("ngIf",X(10,20,a.isArchived$)),A(2),G("ngIf",!a.viewOnly),A(1),G("ngIf",a.popoutLink))},qZa=function(a){if(a&1){var b=v();H(0,"b-team-component-picker",26);Q("selectedComponentChange",function(c){x(b);
var d=R();d.editing=!1;c&&pZa(d.issueEditComponentService,d.issueId,c);return z()})("dropdownClosed",function(){x(b);R().editing=!1;return z()});W(1,"async");K()}a&2&&(a=R(),G("selectedComponent",X(1,3,a.component$))("isRequired",!0)("shouldFocus",!0))},sZa=function(a,b){if(a&1){var c=v();H(0,"div",6)(1,"b-contact-chip",7);Q("chipSelection",function(){var d=x(c).index,e=R();e.selectedChipIndex!==d&&sq(e,d)&&(rZa(e),e.selectedChipIndex=d,e.items[d].isSelected=!0);return z()})("chipClear",function(){x(c);
var d=R();return z(rZa(d))})("chipRemove",function(){var d=x(c).index,e=R();return z(e.removeItem(d))});K()()}a&2&&(a=b.$implicit,b=R(),A(1),G("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()))},vZa=function(a){if(a&1){var b=v();H(0,"input",8,9);Q("autocompleteActive",function(){x(b);
var c=R();return z(c.chipifyFn())})("ngModelChange",function(c){x(b);var d=R();return z(d.typedText=c)})("focus",function(){x(b);var c=R();return z(tZa(c))})("blur",function(){x(b);var c=R();uZa(c,c.typedText.split(",")[0].trim());c.isFocused=!1;return z()});K()}a&2&&(a=R(),G("bContactAutocomplete","MULTI")("additionalContactsCallback",a.additionalContactsFn)("ngModel",a.typedText)("disabled",a.isWidgetDisabled()))},wZa=function(a){a&1&&(H(0,"span"),T(1," Groups cannot be granted Restricted+ reader permission. "),
H(2,"a",10),T(3,"Learn more"),K()());a&2&&(a=R(),A(2),Af("href",po(a.documentationLinks)+"#components",Wd))},xZa=function(a){a&1&&(H(0,"span"),T(1," Invalid user(s). "),K())},yZa=function(a){a&1&&(H(0,"span"),T(1,' "Public" or external users are not allowed for component designated as "internal access". '),K())},zZa=function(a){a&1&&(H(0,"span"),T(1,' "Public" is not allowed for components designated as "external partner access". '),K())},AZa=function(a){a&1&&(H(0,"span"),T(1," SLO lead can not be a group. "),
K())},BZa=function(a){a&1&&(H(0,"span"),T(1," SLO lead can only be a full-time Googler. "),K())},DZa=function(a,b){if(a&1){var c=v();M(0);H(1,"mat-checkbox",21);Q("click",function(d){return d.stopPropagation()})("change",function(d){var e=x(c).$implicit,f=R(2);e=e.value.user;d=d.source.checked;var h=f.collaboratorGroupsEmailToDetailsMap.get(e.emailAddress).specifiedOnIssue;d?(h||f.addedCollaboratorGroups.add(e),f.removedCollaboratorGroups.delete(e)):(h&&f.removedCollaboratorGroups.add(e),f.addedCollaboratorGroups.delete(e));
var k;CZa(f,null!=(k=f.updatedAccessLimitLevel$.getValue())?k:f.defaultAccessLimitLevel);return z()});T(2);K();N()}a&2&&(a=b.$implicit,A(1),G("id",a.key)("name",a.key)("checked",a.value.specifiedOnIssue),A(1),V(" ",a.key," "))},EZa=function(a){a&1&&(M(0),H(1,"div")(2,"span",18),T(3,"Add collaborator groups"),K(),L(4,"mat-icon",7),K(),H(5,"div",19),F(6,DZa,3,4,"ng-container",20),W(7,"keyvalue"),K(),N());a&2&&(a=R(),A(4),Yf("matTooltip",a.COLLABORATOR_GROUPS_TOOLTIP),A(2),G("ngForOf",X(7,2,a.collaboratorGroupsEmailToDetailsMap)))},
GZa=function(a){if(a&1){var b=v();M(0);H(1,"button",22);Q("click",function(){x(b);var c=R();return z(c.onPressCancel())});T(2," Cancel ");K();H(3,"button",23);Q("click",function(){x(b);var c=R();return z(c.onPressSave())});W(4,"async");T(5," Save ");K();N()}a&2&&(a=R(),A(3),G("disabled",!FZa(a,X(4,1,a.hasAccessLimitLevelSelectionChanged$))))},HZa=function(a){if(a&1){var b=v();H(0,"button",24);Q("click",function(){x(b);var c=R();return z(c.onPressCancel())});T(1," Close ");K()}},IZa=function(a){a&
1&&L(0,"div",2)},JZa=function(a){a&1&&(M(0),Wf(1),N())},KZa=function(a){a&1&&(yd(),H(0,"svg",1),L(1,"path",2),K());a&2&&(a=R(),G("matTooltip",a.warning))},LZa=function(a){a&1&&Rf(0)},OZa=function(a){if(a&1){var b=v();H(0,"div",1);Q("keydown",function(c){x(b);var d=R();return z(d.processKeydown(c))});H(1,"div",2);F(2,LZa,1,0,"ng-container",3);K();H(3,"div",4)(4,"button",5);Q("click",function(){x(b);var c=R();return z(MZa(c))});T(5,"Save");K();H(6,"button",6);Q("click",function(){x(b);var c=R();return z(NZa(c))});
T(7,"Cancel");K()()()}a&2&&(a=R(),G("cdkTrapFocusAutoCapture",!0),A(2),G("ngTemplateOutlet",a.editorTemplate),A(2),G("disabled",a.saveDisabled))},PZa=function(a){a&1&&Rf(0)},RZa=function(a){a&1&&(M(0),F(1,PZa,1,0,"ng-container",8),N());a&2&&(a=R(),A(1),G("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",fg(2,QZa,a.value)))},SZa=function(a){a&1&&T(0);a&2&&(a=R(),$f(null!=a.value?a.value:"--"))},TZa=function(a){a&1&&(yd(),H(0,"svg",9),L(1,"path",10),K())},UZa=function(a){if(a&1){var b=v();
H(0,"input",11);Q("ngModelChange",function(c){x(b);var d=R();return z(d.editingValue=c)});K()}a&2&&(a=R(),G("ngModel",a.editingValue))},VZa=function(a){return null!=a?Number(a):void 0},WZa=function(a){a&1&&L(0,"mat-icon",12);if(a&2){R();var b=S(5);G("onedevHovercardTrigger",b)}},XZa=function(a){if(a&1){var b=v();M(0);H(1,"onedev-numeric-field",13);Q("valueChange",function(d){x(b);var e=R(2);e.selectedNumericEstimate=d;null==d?e.effortChange.emit(void 0):e.effortChange.emit({estimate:String(d)});return z()});
K();N()}if(a&2){a=R(2);var c=S(2);A(1);G("value",a.selectedNumericEstimate)("valueTemplate",c)("disabled",a.disabled)("displayEditIcon",!a.disabled)}},YZa=function(a){a&1&&(M(0),T(1),N());a&2&&(a=R().$implicit,A(1),V(" ",a.label," "))},ZZa=function(a){a&1&&T(0," -- ")},$Za=function(a,b){a&1&&F(0,YZa,2,1,"ng-container",16)(1,ZZa,1,0,"ng-template",null,17,tg);if(a&2){a=b.$implicit;var c=S(2);G("ngIf",a)("ngIfElse",c)}},b_a=function(a){if(a&1){var b=v();M(0);H(1,"onedev-single-select",14);Q("valueChange",
function(e){x(b);var f=R(2);return z(f.selectOption(e))});K();F(2,$Za,3,2,"ng-template",null,15,tg);N()}if(a&2){var c=S(3);a=R(2);var d;A(1);G("value",a.selectedOption)("options",null!==(d=null==a.effortSpec.enumSpec?null:a.effortSpec.enumSpec.options)&&void 0!==d?d:eg(6,a_a))("includeEmptyOption",!0)("optionTemplate",c)("disabled",a.disabled)("displayArrowIcon",!a.disabled)}},c_a=function(a){a&1&&(M(0),T(1),N());a&2&&(a=R(2),A(1),V(" ",null==a.effort?null:a.effort.estimate," "))},d_a=function(a){a&
1&&(H(0,"onedev-edit-field")(1,"onedev-field-label",2),T(2),F(3,WZa,1,1,"mat-icon",3),K(),H(4,"onedev-hovercard",null,4)(6,"div",5)(7,"div",6),T(8," This estimate was made under a different configuration and needs to be updated. "),H(9,"a",7),T(10,"Learn more"),K()()()(),H(11,"onedev-field-value",8),M(12,9),F(13,XZa,2,4,"ng-container",10)(14,b_a,4,7,"ng-container",10)(15,c_a,2,1,"ng-container",11),N(),K()());a&2&&(a=R(),A(1),G("thinking",a.thinking),A(1),V(" ",a.fieldName," "),A(1),G("ngIf",!a.isCompatibleValue),
A(8),G("thinking",a.thinking),A(1),G("ngSwitch",a.fieldType),A(1),G("ngSwitchCase","NUMERIC"),A(1),G("ngSwitchCase","DROPDOWN"))},e_a=function(a){a&1&&(M(0),T(1),N());a&2&&(a=R(2),A(1),V(" ",null==a.effort?null:a.effort.estimate," "))},f_a=function(a){a&1&&T(0);a&2&&(a=R().$implicit,V(" ",null!=a?a:"--"," "))},g_a=function(a,b){a&1&&F(0,e_a,2,1,"ng-container",16)(1,f_a,1,1,"ng-template",null,18,tg);if(a&2){a=b.$implicit;var c=S(2);b=R();G("ngIf",b.isNaN(a))("ngIfElse",c)}},i_a=function(a,b){var c=
a.getPrimaryTarget(),d=a.getTargetList().map(function(e){return e===c?b:e});return new tq(new h_a(a,d))},k_a=function(){return new j_a($c.apply(0,arguments))},m_a=function(){return new l_a($c.apply(0,arguments))},o_a=function(){var a=$c.apply(0,arguments);return 1===a.length?a[0]:new n_a(a)},p_a=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),null!=b.clearSelectionOnSearch&&a.setClearSelectionsOnSearch(b.clearSelectionOnSearch),null!=b.resultCustomizationCallback&&a.setResultCustomizationCallback(b.resultCustomizationCallback))},q_a=function(a){if(a&1){var b=v();H(0,"input",3,4);Q("peoplekitAutocompleteSelectionChange",function(c){x(b);var d=R();0<c.length&&(d.inputValue=
c[0].result().getPrimaryTarget().getValue());return z()})("ngModelChange",function(c){x(b);var d=R();return z(d.inputValue=c)});K()}a&2&&(a=R(),G("peoplekitAutocompleteConfig",a.mergedAutocompleteConfig)("peoplekitSearchSessionOptions",a.sessionOptions)("ngModel",a.inputValue))},r_a=function(a){a&1&&Rf(0)},t_a=function(a){a&1&&(M(0),F(1,r_a,1,0,"ng-container",6),N());a&2&&(a=R(),A(1),G("ngTemplateOutlet",a.selectedUserTemplate)("ngTemplateOutletContext",fg(2,s_a,a.email)))},u_a=function(a){a&1&&T(0);
a&2&&(a=R(),V(" ",a.email," "))},v_a=function(a){a&1&&(yd(),H(0,"svg",7),L(1,"path",8),K())},w_a=function(a){a&1&&L(0,"b-user-membership-chip",4);if(a&2){a=R().$implicit;var b=R(),c;G("email",a)("teamId",null!==(c=b.teamId)&&void 0!==c?c:"")("enableSmallChip",!0)}},x_a=function(a,b){a&1&&F(0,w_a,1,3,"b-user-membership-chip",3);a&2&&G("ngIf",b.$implicit)},y_a=function(a){a&1&&L(0,"mat-icon",13)},z_a=function(a){a&1&&L(0,"mat-icon",14)},A_a=function(a){a&1&&(H(0,"span"),L(1,"b-formatted-date-time",
22),K());a&2&&(a=R(2),A(1),G("timestamp",a.sloStartTime))},B_a=function(a){a&1&&(H(0,"span"),L(1,"b-formatted-date-time",22),H(2,"span"),T(3," (default)"),K()());a&2&&(a=R(2),A(1),G("timestamp",a.issueCreationTimestamp/1E3))},C_a=function(a){if(a&1){var b=v();H(0,"slo-edit-date-time-picker",23);Q("closePicker",function(){x(b);var c=R(2);return z(c.isSloStartEditTimePickerOpen=!1)})("sloEditCommit",function(c){x(b);var d=R(2);return z(d.updateSloStartTime(c))});K()}a&2&&(a=R(2),G("sloStatus",a.sloStatus)("sloEditTime",
a.sloStartTime))},D_a=function(a){if(a&1){var b=v();H(0,"div",15)(1,"a",16);T(2," Start Date: ");K();H(3,"div",17)(4,"a",18,19);Q("keydown.enter",function(){x(b);var d=R();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return z()})("keydown.space",function(){x(b);var d=R();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return z()})("click",function(){x(b);var d=R();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return z()});F(6,A_a,2,1,"span",20)(7,
B_a,4,1,"span",20);K();F(8,C_a,1,2,"ng-template",21);K()()}if(a&2){var c=S(5);a=R();A(6);G("ngIf",a.hasSloStartTime);A(1);G("ngIf",!a.hasSloStartTime);A(1);G("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",a.isSloStartEditTimePickerOpen)}},E_a=function(a){a&1&&(H(0,"span"),T(1," Set closure SLO "),K())},F_a=function(a){a&1&&(H(0,"span"),L(1,"b-formatted-date-time",22),K());a&2&&(a=R(2),A(1),G("timestamp",a.sloEndTime))},G_a=function(a){a&1&&(H(0,"span"),L(1,"b-formatted-date-time",22),H(2,
"span"),T(3," (default)"),K()());a&2&&(a=R(2),A(1),G("timestamp",1E3*a.closureSloTarget))},H_a=function(a){if(a&1){var b=v();H(0,"slo-edit-date-time-picker",23);Q("closePicker",function(){x(b);var c=R(2);return z(c.isSloEndEditTimePickerOpen=!1)})("sloEditCommit",function(c){x(b);var d=R(2);return z(d.updateSloEndTime(c))});K()}a&2&&(a=R(2),G("sloStatus",a.sloStatus)("sloEditTime",a.sloEndTime))},I_a=function(a){if(a&1){var b=v();H(0,"div",24)(1,"a",16);T(2," End Date: ");K();H(3,"div",17)(4,"a",
25,19);Q("click",function(){x(b);var d=R();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return z()})("keydown.enter",function(){x(b);var d=R();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return z()})("keydown.space",function(){x(b);var d=R();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return z()});F(6,E_a,2,0,"span",20)(7,F_a,2,1,"span",20)(8,G_a,4,1,"span",20);K();F(9,H_a,1,2,"ng-template",21);K()()}if(a&2){var c=S(5);a=R();A(6);G("ngIf",!a.hasClosureSlo);
A(1);G("ngIf",a.hasClosureSlo&&a.hasSloEndTime);A(1);G("ngIf",a.hasClosureSlo&&!a.hasSloEndTime);A(1);G("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",a.isSloEndEditTimePickerOpen)}},J_a=function(a,b){if(a&1){var c=v();H(0,"a",28);Q("click",function(){x(c);var d=R(2);return z(d.trackOpenSlo())});T(1);K()}a&2&&(a=b.ngIf,b=R(2),Af("href",b.editSloLink,Wd),A(1),V(" ",a.name," "))},K_a=function(a){a&1&&(H(0,"div",26),T(1," SLO definition: "),F(2,J_a,2,2,"a",27),W(3,"async"),K());a&2&&(a=R(),
A(2),G("ngIf",X(3,1,a.slo$)))},L_a=function(a){if(a&1){var b=v();H(0,"div",26)(1,"a",29);Q("click",function(){x(b);R();Hk(Kp.MANAGE_COMPONENT,"open","fromIssueSloBox");return z()});T(2,"Select an SLO");K()()}a&2&&(a=R(),A(1),Af("href",a.componentSloLink,Wd))},M_a=function(a){return a&&"0"!==a.teamId?a.deleted?"DELETED":"VALID":"MISSING"},N_a=function(a){if(a&1){var b=v();H(0,"div",6);T(1," Select a team from the suggestions below, or edit in ");H(2,"a",7);Q("click",function(){x(b);var c=R();return z(c.trackClick("viewTeamAssociationOnComponent"))});
T(3,"component settings");K();T(4,".\n");K()}a&2&&(a=R(),A(2),G("href",a.componentSetting,Wd))},O_a=function(a){a&1&&(H(0,"div",6),T(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),T(3,"component settings"),K(),T(4,".\n"),K());a&2&&(a=R(),A(2),G("href",a.componentSetting,Wd))},P_a=function(a){if(a&1){var b=v();H(0,"mat-radio-group",9);Q("ngModelChange",function(c){x(b);var d=R();return z(d.teamAction=c)});H(1,
"p")(2,"mat-radio-button",10);T(3," Don't make any changes ");K()();H(4,"p")(5,"mat-radio-button",11);T(6," Map component to selected team ");K()()()}a&2&&(a=R(),G("ngModel",a.teamAction))},Q_a=function(a){a&1&&(M(0),H(1,"span",19),T(2),K(),N());a&2&&(a=R().$implicit,A(2),$f(a.teamPath))},R_a=function(a){a&1&&T(0," -- ")},S_a=function(a,b){a&1&&F(0,Q_a,3,1,"ng-container",17)(1,R_a,1,0,"ng-template",null,18,tg);if(a&2){a=b.$implicit;var c=S(2);G("ngIf",a)("ngIfElse",c)}},T_a=function(a){if(a&1){var b=
v();H(0,"div",12)(1,"onedev-single-select",13);Q("valueChange",function(d){x(b);var e=R();return z(e.selectedTeam=d)})("valueChange",function(d){x(b);var e=R();return z(e.selectOption(d))});K();F(2,S_a,3,2,"ng-template",null,14,tg);H(4,"a",15);Q("click",function(){x(b);var d=R();return z(d.trackClick("viewTeamInMoma"))});L(5,"mat-icon",16);K()()}if(a&2){var c=S(3);a=R();A(1);G("disabled","NONE"===a.teamAction)("value",a.selectedTeam)("options",a.teamOptions)("includeEmptyOption",!1)("optionTemplate",
c);A(3);Af("href",a.getMomaTeamLink(),Wd)}},U_a=function(a){if(a&1){var b=v();H(0,"b-callout-actions")(1,"b-button",2);Q("click",function(){x(b);var c=R();return z(c.openDialog())});T(2);K()()}a&2&&(a=R(),A(2),$f(a.buttonName))},V_a=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 f=a();null!=f?c(f):(setTimeout(e,b),b*=2)}e();setTimeout(function(){var f=a();
null!=f?c(f):d("timeout: 5000")},5E3)})},W_a=function(a){a&1&&Rf(0)},X_a=function(a){a&1&&(M(0),F(1,W_a,1,0,"ng-container",50),N());if(a&2){R();var b=S(118);A(1);G("ngTemplateOutlet",b)}},Z_a=function(a,b){a&1&&L(0,"b-list-field",52);a&2&&(a=b.ngIf,b=R(3),G("readonly",!0)("defaultLineCount",3)("title","Team")("type",b.ListFieldType.TEAM)("values",fg(5,Y_a,a)))},$_a=function(a){a&1&&(M(0),F(1,Z_a,1,7,"b-list-field",51),W(2,"async"),N());a&2&&(a=R(2),A(1),G("ngIf",X(2,1,a.teamHovercardInputs$)))},b0a=
function(a){if(a&1){var b=v();H(0,"div",54)(1,"b-team-warning",55);Q("updateTeam",function(){x(b);var h=R(3);h.issueFridge.poke(h.issueId);return z()});W(2,"async");W(3,"async");K()()}if(a&2){a=R().ngIf;var c=R().ngIf,d=R(),e,f;A(1);G("warningType",a)("componentId",c.componentId)("parentComponentId",(null==(e=X(2,4,d.component$))?null:e.parentComponentId)||0)("teamSuggestions",null!==(f=X(3,6,d.teamSuggestions$))&&void 0!==f?f:eg(8,a0a))}},c0a=function(a){a&1&&(M(0),F(1,b0a,4,9,"div",53),W(2,"async"),
N());a&2&&(a=R(2),A(1),G("ngIf",X(2,1,a.shouldDisplayTeamSuggestions$)))},e0a=function(a){if(a&1){var b=v();M(0);H(1,"b-edit-field",56,57);Q("valueChange",function(f){x(b);var h=S(2),k=R(2);return z(d0a(k,h,null!==f&&void 0!==f?f:""))});W(3,"async");W(4,"async");W(5,"async");K();N()}if(a&2){a=R().ngIf;var c=R(),d,e;A(1);G("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",!X(3,10,c.hasAclToEdit$))("disabled",
!!X(4,12,c.isSaving$("reporter")))("showAvailability",!0)("teamId",null!==(e=X(5,14,c.teamId$))&&void 0!==e?e:"")}},g0a=function(a){if(a&1){var b=v();H(0,"onedev-edit-field")(1,"onedev-field-label");T(2,"Reporter");K();H(3,"onedev-field-value",58);W(4,"async");H(5,"b-user-picker",59);Q("emailChange",function(e){x(b);var f=R(2);return z(f0a(f.editIssueService,f.issueId,e))});W(6,"async");W(7,"async");K()()()}if(a&2){a=R().ngIf;var c=R(),d;A(3);G("thinking",!!X(4,4,c.isSaving$("reporter")));A(2);G("user",
a.reporterUser)("teamId",null!==(d=X(6,6,c.teamId$))&&void 0!==d?d:"")("disabled",!X(7,8,c.hasAclToEdit$))}},h0a=function(a){a&1&&Rf(0)},i0a=function(a){a&1&&(M(0),F(1,h0a,1,0,"ng-container",50),N());if(a&2){R();var b=S(120);A(1);G("ngTemplateOutlet",b)}},j0a=function(a,b){if(a&1){var c=v();H(0,"div",61);L(1,"div",62);H(2,"span",63);Q("click",function(){var d=x(c).ngIf,e=R(3);return z(uq(e,d))})("keydown.enter",function(d){var e=x(c).ngIf;uq(R(3),e);d.stopPropagation();return z(d.preventDefault())})("keydown.space",
function(d){var e=x(c).ngIf;uq(R(3),e);d.stopPropagation();return z(d.preventDefault())});W(3,"async");W(4,"async");T(5);K()()}a&2&&(a=b.ngIf,b=R(3),A(2),Jf("disabled",!!X(3,6,b.isSaving$("status"))),G("matTooltip",a.description||""),Af("aria-disabled",!!X(4,8,b.isSaving$("status")))("aria-label",a.displayText||null),A(3),V(" ",a.displayText," "))},k0a=function(a){a&1&&(M(0),F(1,j0a,6,10,"div",60),W(2,"async"),N());a&2&&(a=R(2),A(1),G("ngIf",X(2,1,a.issueStatusQuickAction$)))},l0a=function(a){a&1&&
(L(0,"b-issue-card",64,65),W(2,"async"));if(a&2){var b=S(1);a=R(2);G("onedevIsHovercardReady",b.init)("issueId",X(2,2,a.canonicalIssueId$))}},n0a=function(a){if(a&1){var b=v();H(0,"b-estimated-effort-row",66);Q("effortChange",function(e){x(b);var f=R(2);return z(m0a(f.editIssueService,f.issueId,e))});W(1,"async");W(2,"async");W(3,"async");K()}if(a&2){a=R(2);var c,d;G("effort",null!==(c=X(1,3,a.effort$))&&void 0!==c?c:void 0)("effortSpec",null!==(d=X(2,5,a.effortSpec$))&&void 0!==d?d:void 0)("disabled",
!X(3,7,a.hasAclToEdit$))}},o0a=function(a){a&1&&(H(0,"div"),T(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",72),T(3,"Learn more"),K()());a&2&&(a=R(3),A(2),G("href",po(a.documentationLinks)+"#expanded-access",Wd))},p0a=function(a){a&1&&(H(0,"div",67)(1,"span",68),T(2,"Expanded Access"),K(),H(3,"xap-bubble",69)(4,"xap-icon-trigger"),L(5,"mat-icon",70),K(),F(6,o0a,4,1,"ng-template",
null,71,tg),K()());if(a&2){var b=S(7);A(3);G("panelTemplate",b)}},q0a=function(a){a&1&&(H(0,"span",78),W(1,"async"),T(2),K());if(a&2){a=R().ngIf;var b=R(4);Jf("disabled",!!X(1,3,b.isSaving$("assignee")));A(2);V(" ",a.displayText," ")}},r0a=function(a,b){if(a&1){var c=v();H(0,"div",76);Q("onHotkey",function(){var d=x(c).ngIf,e=R(4);return z(uq(e,d))})("click",function(){var d=x(c).ngIf,e=R(4);return z(uq(e,d))})("keydown.enter",function(d){var e=x(c).ngIf;uq(R(4),e);d.stopPropagation();return z(d.preventDefault())})("keydown.space",
function(d){var e=x(c).ngIf;uq(R(4),e);d.stopPropagation();return z(d.preventDefault())});W(1,"async");L(2,"div",62);F(3,q0a,3,5,"span",77);W(4,"async");K()}a&2&&(a=b.ngIf,b=R(4),G("hotkey",b.HOTKEYS.ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE)("matTooltip",a.description),Af("aria-disabled",!!X(1,5,b.isSaving$("assignee")))("aria-label",a.description),A(3),G("ngIf",X(4,7,b.hasAclToEdit$)))},s0a=function(a){a&1&&(M(0),F(1,r0a,5,9,"div",75),W(2,"async"),N());a&2&&(a=R(3),A(1),G("ngIf",X(2,1,a.issueAssigneeQuickAction$)))},
u0a=function(a){if(a&1){var b=v();M(0);H(1,"b-edit-field",73,74);Q("onHotkey",function(){x(b);var f=S(2);return z(jp(f,null,!0,!1))})("valueChange",function(f){x(b);var h=S(2),k=R(2);return z(t0a(k,h,null!==f&&void 0!==f?f:""))});W(3,"async");W(4,"async");W(5,"async");K();F(6,s0a,3,3,"ng-container",0);N()}if(a&2){a=R().ngIf;var c=R(),d,e;A(1);G("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",!X(3,12,c.hasAclToEdit$))("disabled",!!X(4,14,c.isSaving$("assignee")))("showAvailability",!0)("teamId",null!==(e=X(5,16,c.teamId$))&&void 0!==e?e:"");A(5);G("ngIf",c.defaultAssigneeQuickActionEnabled)}},w0a=function(a){if(a&1){var b=v();H(0,"div",83);Q("click",function(){x(b);var c=R(3);return z(v0a(c.editIssueService,c.issueId,""))});T(1," Un-assign ");K()}},x0a=function(a,b){if(a&1){var c=v();H(0,"div",85);Q("onHotkey",function(){var d=x(c).ngIf,e=R(4);
return z(uq(e,d))})("click",function(){var d=x(c).ngIf,e=R(4);return z(uq(e,d))})("keydown.enter",function(d){var e=x(c).ngIf;uq(R(4),e);d.stopPropagation();return z(d.preventDefault())})("keydown.space",function(d){var e=x(c).ngIf;uq(R(4),e);d.stopPropagation();return z(d.preventDefault())});W(1,"async");W(2,"async");T(3);K()}a&2&&(a=b.ngIf,b=R(4),Jf("disabled",!!X(1,7,b.isSaving$("assignee"))),G("hotkey",b.HOTKEYS.ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE)("matTooltip",a.description),Af("aria-disabled",
!!X(2,9,b.isSaving$("assignee")))("aria-label",a.description),A(3),V(" ",a.displayText," "))},y0a=function(a){a&1&&(M(0),F(1,x0a,4,11,"div",84),W(2,"async"),N());a&2&&(a=R(3),A(1),G("ngIf",X(2,1,a.issueAssigneeQuickAction$)))},z0a=function(a){if(a&1){var b=v();H(0,"onedev-edit-field")(1,"onedev-field-label");T(2,"Assignee");K();H(3,"onedev-field-value",58);W(4,"async");H(5,"b-user-picker",79,80);Q("onHotkey",function(){x(b);var e=S(6);return z(e.openPopOver())})("emailChange",function(e){x(b);var f=
R(2);return z(v0a(f.editIssueService,f.issueId,e))});W(7,"async");W(8,"async");K();H(9,"div",81);F(10,w0a,2,0,"div",82);W(11,"async");F(12,y0a,3,3,"ng-container",0);W(13,"async");K()()()}if(a&2){a=R().ngIf;var c=R(),d;A(3);G("thinking",!!X(4,7,c.isSaving$("assignee")));A(2);G("hotkey",c.HOTKEYS.CHANGE_ASSIGNEE)("user",a.assigneeUser)("teamId",null!==(d=X(7,9,c.teamId$))&&void 0!==d?d:"")("disabled",!X(8,11,c.hasAclToEdit$));A(5);G("ngIf",a.assigneeUser&&X(11,13,c.hasAclToEdit$));A(2);G("ngIf",c.defaultAssigneeQuickActionEnabled&&
X(13,15,c.hasAclToEdit$))}},B0a=function(a){if(a&1){var b=v();M(0);H(1,"b-edit-field",86,87);Q("valueChange",function(f){x(b);var h=S(2),k=R(2);return z(A0a(k,h,null!==f&&void 0!==f?f:""))});W(3,"async");W(4,"async");W(5,"async");K();N()}if(a&2){a=R().ngIf;var c=R(),d,e;A(1);G("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",!X(3,10,c.hasAclToEdit$))("disabled",!!X(4,12,c.isSaving$("verifier")))("showAvailability",
!0)("teamId",null!==(e=X(5,14,c.teamId$))&&void 0!==e?e:"")}},D0a=function(a){if(a&1){var b=v();H(0,"onedev-edit-field")(1,"onedev-field-label");T(2,"Verifier");K();H(3,"onedev-field-value",58);W(4,"async");H(5,"b-user-picker",59);Q("emailChange",function(e){x(b);var f=R(2);return z(C0a(f.editIssueService,f.issueId,e))});W(6,"async");W(7,"async");K()()()}if(a&2){a=R().ngIf;var c=R(),d;A(3);G("thinking",!!X(4,4,c.isSaving$("verifier")));A(2);G("user",a.verifierUser)("teamId",null!==(d=X(6,6,c.teamId$))&&
void 0!==d?d:"")("disabled",!X(7,8,c.hasAclToEdit$))}},E0a=function(a){a&1&&(H(0,"span"),T(1," Remove me "),K())},F0a=function(a){a&1&&(H(0,"span"),T(1," Add me "),K())},H0a=function(a){if(a&1){var b=v();H(0,"div",17);Q("click",function(){x(b);var c=R(2);return z(G0a(c))})("keydown.enter",function(c){x(b);var d=R(2);G0a(d);c.stopPropagation();c.preventDefault();return z()})("keydown.space",function(c){x(b);var d=R(2);G0a(d);c.stopPropagation();c.preventDefault();return z()});W(1,"async");W(2,"async");
W(3,"async");W(4,"async");F(5,E0a,2,0,"span",0);W(6,"async");F(7,F0a,2,0,"span",0);W(8,"async");W(9,"async");K()}a&2&&(a=R(2),Jf("disabled",!!X(1,7,a.isSaving$("collaborators"))),G("matTooltip",X(4,13,a.isCurrentUserCollaborator$)?"Remove yourself from collaborators":"Add yourself to collaborators"),Af("aria-disabled",!!X(2,9,a.isSaving$("collaborators")))("aria-label",X(3,11,a.isCurrentUserCollaborator$)?"Remove yourself from collaborators":"Add yourself to collaborators"),A(5),G("ngIf",X(6,15,a.isCurrentUserCollaborator$)),
A(2),G("ngIf",!X(8,17,a.isCurrentUserCollaborator$)&&X(9,19,a.hasAclToEdit$)))},I0a=function(a){a&1&&(H(0,"span"),T(1," Un-CC me "),K())},J0a=function(a){a&1&&(H(0,"span"),T(1," CC me "),K())},L0a=function(a){if(a&1){var b=v();H(0,"div",17);Q("click",function(){x(b);var c=R(2);return z(K0a(c))})("keydown.enter",function(c){x(b);var d=R(2);K0a(d);c.stopPropagation();c.preventDefault();return z()})("keydown.space",function(c){x(b);var d=R(2);K0a(d);c.stopPropagation();c.preventDefault();return z()});
W(1,"async");W(2,"async");W(3,"async");W(4,"async");F(5,I0a,2,0,"span",0);W(6,"async");F(7,J0a,2,0,"span",0);W(8,"async");W(9,"async");K()}a&2&&(a=R(2),Jf("disabled",!!X(1,7,a.isSaving$("ccs"))),G("matTooltip",X(4,13,a.isCurrentUserCCd$)?"Remove yourself from CC":"Add yourself to CC"),Af("aria-disabled",!!X(2,9,a.isSaving$("ccs")))("aria-label",X(3,11,a.isCurrentUserCCd$)?"Remove yourself from CC":"Add yourself to CC"),A(5),G("ngIf",X(6,15,a.isCurrentUserCCd$)),A(2),G("ngIf",!X(8,17,a.isCurrentUserCCd$)&&
X(9,19,a.isAllowedToEditCC$)))},M0a=function(a){a&1&&Rf(0)},N0a=function(a){a&1&&(M(0),F(1,M0a,1,0,"ng-container",50),N());if(a&2){R();var b=S(122);A(1);G("ngTemplateOutlet",b)}},O0a=function(a){a&1&&L(0,"b-list-field",88);if(a&2){a=R().ngIf;var b=R(2);G("readonly",!0)("defaultLineCount",3)("title","TaskFlow Workspaces")("type",b.ListFieldType.WORKSPACES)("values",a)("tooltip","Links to TaskFlow workspaces this issue belongs to")}},P0a=function(a,b){a&1&&(M(0),F(1,O0a,1,6,"b-list-field",37),W(2,"async"),
N());a&2&&(a=b.ngIf,b=R(2),A(1),G("ngIf",X(2,1,b.shouldDisplayWtdmUi$)&&a.length))},Q0a=function(a){a&1&&L(0,"b-list-field",88);if(a&2){a=R().ngIf;var b=R();G("readonly",!0)("defaultLineCount",3)("title","Postmortems")("type",b.ListFieldType.POSTMORTEMS)("values",a.postmortems)("tooltip","Postmortems (auto-populated from a daily dump of Requiem)")}},S0a=function(a,b){a&1&&(H(0,"div"),Rf(1,89),K());if(a&2){a=b.$implicit;R();var c=S(134);A(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",fg(2,R0a,
a))}},T0a=function(a){a&1&&Rf(0)},U0a=function(a){a&1&&(M(0),F(1,T0a,1,0,"ng-container",50),N());if(a&2){R();var b=S(132);A(1);G("ngTemplateOutlet",b)}},V0a=function(a){a&1&&L(0,"hr",90)},W0a=function(a){a&1&&Rf(0)},X0a=function(a){a&1&&(M(0),F(1,W0a,1,0,"ng-container",50),N());if(a&2){R(2);var b=S(118);A(1);G("ngTemplateOutlet",b)}},Y0a=function(a){a&1&&Rf(0)},Z0a=function(a){a&1&&(M(0),F(1,Y0a,1,0,"ng-container",50),N());if(a&2){R(2);var b=S(120);A(1);G("ngTemplateOutlet",b)}},$0a=function(a){a&
1&&Rf(0)},a1a=function(a){a&1&&(M(0),F(1,$0a,1,0,"ng-container",50),N());if(a&2){R(2);var b=S(122);A(1);G("ngTemplateOutlet",b)}},b1a=function(a,b){a&1&&(H(0,"div"),Rf(1,89),K());if(a&2){a=b.$implicit;R(2);var c=S(134);A(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",fg(2,R0a,a))}},c1a=function(a){a&1&&Rf(0)},d1a=function(a){a&1&&(M(0),F(1,c1a,1,0,"ng-container",50),N());if(a&2){R(2);var b=S(132);A(1);G("ngTemplateOutlet",b)}},e1a=function(a){a&1&&(H(0,"collapsible-panel",91),W(1,"async"),F(2,
X0a,2,1,"ng-container",0),W(3,"async"),F(4,Z0a,2,1,"ng-container",0),W(5,"async"),F(6,a1a,2,1,"ng-container",0),W(7,"async"),F(8,b1a,2,4,"div",38),W(9,"async"),F(10,d1a,2,1,"ng-container",0),W(11,"async"),K());if(a&2){a=R(2);var b;G("titleWhenCollapsed",null!==(b=X(1,8,a.showHiddenFieldsLabel$))&&void 0!==b?b:"")("titleWhenExpanded","Hide additional fields");A(2);G("ngIf",a.showSloStatus&&!X(3,10,a.isSloStatusPrimary$));A(2);G("ngIf",!X(5,12,a.isSeverityPrimary$));A(2);G("ngIf",a.showChangelists&&
!X(7,14,a.isChangelistPrimary$));A(2);G("ngForOf",X(9,16,a.hiddenCustomFields$))("ngForTrackBy",a.trackCustomField);A(2);G("ngIf",!X(11,18,a.isForgottenFourPrimary$))}},f1a=function(a){if(a&1){var b=v();H(0,"b-issue-slo-box",93);Q("onSloStartTimeChange",function(h){x(b);var k=R(3);return z(k.editIssueService.updateSloStartTime(k.issueId,h.date))})("onSloEndTimeChange",function(h){x(b);var k=R(3);return z(k.editIssueService.updateSloEndTime(k.issueId,h.date))});W(1,"async");W(2,"async");W(3,"async");
W(4,"async");K()}if(a&2){a=R(2).ngIf;var c=R(),d,e,f;G("sloStatus",null!==(d=X(1,7,c.sloStatus$))&&void 0!==d?d:void 0)("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloId",null!==(e=X(2,9,c.sloId$))&&void 0!==e?e:void 0)("componentId",a.componentId)("isEditable",!!X(3,11,c.hasAclToEdit$))("issueCreationTimestamp",null!==(f=X(4,13,c.createdTimeMicros$))&&void 0!==f?f:0)}},g1a=function(a){a&1&&F(0,f1a,5,15,"ng-template",92);a&2&&(a=R(2),G("refreshable",a.refreshMonitor.getObservable()))},
i1a=function(a){if(a&1){var b=v();H(0,"b-edit-field",94);Q("valueChange",function(d){x(b);var e=R(2);return z(h1a(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});W(1,"async");W(2,"async");K()}if(a&2){a=R().ngIf;var c=R();G("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",!X(1,8,c.hasAclToEdit$))("disabled",!!X(2,10,c.isSaving$("severity")))}},
j1a=function(a){if(a&1){var b=v();H(0,"insights-graph-btn",98);Q("pressed",function(){x(b);var c=R(3).issueInsightsSidebarService;c.analytics.trackEvent(Kp.SIDEBAR,"ingress-click");c.openSidebar("deployments");return z()});K()}},l1a=function(a){if(a&1){var b=v();H(0,"b-list-field",95);Q("valuesChange",function(h){x(b);var k=R(2);return z(k1a(k.editIssueService,k.issueId,h.values))});W(1,"async");W(2,"async");H(3,"div",96);F(4,j1a,1,0,"insights-graph-btn",97);W(5,"async");K()();L(6,"b-list-field",
88);W(7,"async");W(8,"async");W(9,"async")}if(a&2){a=R().ngIf;var c=R(),d,e,f;G("readonly",!X(1,15,c.hasAclToEdit$))("defaultLineCount",3)("title","Changelists")("type",c.ListFieldType.CHANGELISTS)("values",a.changelist)("listFieldDisabled",!!X(2,17,c.isSaving$("changelists")));A(4);G("ngIf",X(5,19,c.issueInsightsSidebarService.shouldShowInsightsGraphButton$));A(2);Jf("bv2-issue-metadata-error",null==(d=X(7,21,c.pendingChangelists$))?null:d.hasError);G("readonly",!0)("defaultLineCount",3)("title",
"Pending Changelists")("type",c.ListFieldType.CHANGELISTS)("values",null!==(e=null==(e=X(8,23,c.pendingChangelists$))?null:e.cls)&&void 0!==e?e:eg(27,a0a))("tooltip",(null==(f=X(9,25,c.pendingChangelists$))?0:f.hasError)?"Error fetching pending CLs":"Pending changelists (auto-populated)")}},n1a=function(a){if(a&1){var b=v();H(0,"b-edit-field",99);Q("valueChange",function(d){x(b);var e=R(2);return z(m1a(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});W(1,"csv");W(2,"async");W(3,"async");
K()}if(a&2){a=R().ngIf;var c=R();G("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",X(1,8,a.foundInVersion))("readonly",!X(2,10,c.hasAclToEdit$))("disabled",!!X(3,12,c.isSaving$("foundInVersion")))}},p1a=function(a){if(a&1){var b=v();H(0,"b-edit-field",100);Q("valueChange",function(d){x(b);var e=R(2);return z(o1a(e.editIssueService,e.issueId,null!==d&&void 0!==
d?d:""))});W(1,"csv");W(2,"async");W(3,"async");K()}if(a&2){a=R().ngIf;var c=R();G("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",X(1,8,a.targetedToVersion))("readonly",!X(2,10,c.hasAclToEdit$))("disabled",!!X(3,12,c.isSaving$("targetedToVersion")))}},r1a=function(a){if(a&1){var b=v();H(0,"b-edit-field",99);Q("valueChange",function(d){x(b);var e=
R(2);return z(q1a(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});W(1,"csv");W(2,"async");W(3,"async");K()}if(a&2){a=R().ngIf;var c=R();G("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",X(1,8,a.verifiedInVersion))("readonly",!X(2,10,c.hasAclToEdit$))("disabled",!!X(3,12,c.isSaving$("verifiedInVersion")))}},t1a=function(a){if(a&1){var b=
v();H(0,"b-edit-field",101);Q("valueChange",function(d){x(b);var e=R(2);return z(s1a(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:!1))});W(1,"async");W(2,"async");K()}if(a&2){a=R().ngIf;var c=R();G("name","inProd")("title","In Prod")("type",c.FieldType.BOOL)("value",a.inProd)("tooltip","Set if this issue occurs in production")("readonly",!X(1,7,c.hasAclToEdit$))("disabled",!!X(2,9,c.isSaving$("inProd")))}},u1a=function(a){a&1&&Rf(0)},v1a=function(a){a&1&&Rf(0)},w1a=function(a){a&1&&Rf(0)},
x1a=function(a){a&1&&Rf(0)},y1a=function(a){a&1&&(H(0,"div",5),F(1,u1a,1,0,"ng-container",50)(2,v1a,1,0,"ng-container",50)(3,w1a,1,0,"ng-container",50)(4,x1a,1,0,"ng-container",50),K());if(a&2){R();var b=S(124),c=S(126),d=S(128),e=S(130);A(1);G("ngTemplateOutlet",b);A(1);G("ngTemplateOutlet",c);A(1);G("ngTemplateOutlet",d);A(1);G("ngTemplateOutlet",e)}},A1a=function(a,b){if(a&1){var c=v();H(0,"b-custom-field-editor",102);Q("save",function(e){var f=x(c).$implicit,h=R(2);return z(z1a(h.editIssueService,
h.issueId,f.customFieldId,e))});W(1,"async");W(2,"async");K()}if(a&2){a=b.$implicit;b=R().ngIf;var d=R();G("issue",b)("field",a)("readonly",!X(1,4,d.hasAclToEdit$))("disabled",!!X(2,6,d.isSaving$(a.customFieldId)))}},G1a=function(a,b){if(a&1){var c=v();M(0);F(1,X_a,2,1,"ng-container",0);W(2,"async");F(3,$_a,3,3,"ng-container",0)(4,c0a,3,3,"ng-container",0);W(5,"async");F(6,e0a,6,16,"ng-container",1)(7,g0a,8,10,"ng-template",null,2,tg);H(9,"b-edit-field",3,4);Q("valueChange",function(J){x(c);var I=
S(10),P=R();return z(B1a(P,I,null!==J&&void 0!==J?J:"",P.getTrackerId()))});W(11,"async");W(12,"async");K();H(13,"div",5)(14,"b-edit-field",6);Q("onHotkey",function(J){x(c);var I=R();(J=Uh("P"+J))&&C1a(I.editIssueService,I.issueId,J);return z()})("valueChange",function(J){x(c);var I=R();return z(C1a(I.editIssueService,I.issueId,null!==J&&void 0!==J?J:""))});W(15,"async");W(16,"async");K();F(17,i0a,2,1,"ng-container",0);W(18,"async");K();H(19,"div",7)(20,"b-edit-field",8);Q("valueChange",function(J){x(c);
var I=R();return z(D1a(I,null!==J&&void 0!==J?J:""))});W(21,"async");W(22,"async");W(23,"async");W(24,"async");K();F(25,k0a,3,3,"ng-container",0);W(26,"async");K();H(27,"onedev-hovercard",null,9);F(29,l0a,3,4,"b-issue-card",10);K();F(30,n0a,4,9,"b-estimated-effort-row",11);W(31,"async");W(32,"async");H(33,"div",12)(34,"div",13)(35,"div",14)(36,"label");T(37,"Access");K()();H(38,"div",15)(39,"span",16);T(40);W(41,"async");K();H(42,"div",17);Q("click",function(){x(c);var J=R();return z(J.toggleAccessLimits())})("keydown.enter",
function(J){x(c);var I=R();return z(I.toggleAccessLimitsWithKeystroke(J))})("keydown.space",function(J){x(c);var I=R();return z(I.toggleAccessLimitsWithKeystroke(J))});W(43,"async");W(44,"async");H(45,"span");T(46);W(47,"async");K()()()();H(48,"onedev-hovercard",null,18)(50,"div",19)(51,"div",20)(52,"span",21);T(53," Issue access level can only be set by Issue admins and it enables issue-level access control. ");H(54,"a",22);T(55,"Learn more");K()()()()()();H(56,"div",23);W(57,"async");F(58,p0a,8,
1,"div",24);W(59,"async");H(60,"div",25);F(61,u0a,7,18,"ng-container",1)(62,z0a,14,17,"ng-template",null,26,tg);K();F(64,B0a,6,16,"ng-container",1)(65,D0a,8,10,"ng-template",null,27,tg);M(67);H(68,"b-collaborators-field",28,29);Q("toggleAccessLimits",function(){x(c);var J=R();return z(J.toggleAccessLimits())})("valuesChange",function(J){x(c);var I=S(69),P=R();return z(E1a(P,I,J.values))});W(70,"async");W(71,"async");W(72,"async");H(73,"div",30);F(74,H0a,10,21,"div",31);W(75,"async");W(76,"async");
W(77,"async");K()();H(78,"onedev-hovercard",null,32)(80,"div",19)(81,"div",20)(82,"span",21);T(83," Collaborators are users who are actively working on an issue. ");H(84,"a",33);T(85,"Learn more.");K()()()()();H(86,"b-list-field",34,35);Q("valuesChange",function(J){x(c);var I=S(87),P=R();return z(F1a(P,I,J.values))});W(88,"async");W(89,"async");W(90,"async");H(91,"div",30);F(92,L0a,10,21,"div",31);W(93,"async");W(94,"async");W(95,"async");K()();H(96,"onedev-hovercard",null,36)(98,"div",19)(99,"div",
20)(100,"span",21);T(101," CC are users who want to receive updates. ");H(102,"a",33);T(103,"Learn more.");K()()()()();N();K();F(104,N0a,2,1,"ng-container",0);W(105,"async");F(106,P0a,3,3,"ng-container",0);W(107,"async");F(108,Q0a,1,6,"b-list-field",37)(109,S0a,2,4,"div",38);W(110,"async");F(111,U0a,2,1,"ng-container",0);W(112,"async");F(113,V0a,1,0,"hr",39);W(114,"async");F(115,e1a,12,20,"collapsible-panel",40);W(116,"async");F(117,g1a,1,1,"ng-template",null,41,tg)(119,i1a,3,12,"ng-template",null,
42,tg)(121,l1a,10,28,"ng-template",null,43,tg)(123,n1a,4,14,"ng-template",null,44,tg)(125,p1a,4,14,"ng-template",null,45,tg)(127,r1a,4,14,"ng-template",null,46,tg)(129,t1a,3,11,"ng-template",null,47,tg)(131,y1a,5,4,"ng-template",null,48,tg)(133,A1a,3,8,"ng-template",null,49,tg);N()}if(a&2){a=b.ngIf;var d=S(8),e=S(28),f=S(49),h=S(63),k=S(66),q=S(79),t=S(97);b=R();var w,y,C;A(1);G("ngIf",b.showSloStatus&&X(2,82,b.isSloStatusPrimary$));A(2);G("ngIf",b.sessionIsInternal);A(1);G("ngIf",X(5,84,b.teamWarningType$));
A(2);G("ngIf",!b.enablePeoplekitAc)("ngIfElse",d);A(3);G("name","type")("title","Type")("type",b.FieldType.ENUM)("value",a.type)("choices",b.typeChoices)("readonly",!X(11,86,b.hasAclToEdit$))("disabled",!!X(12,88,b.isSaving$("type")));A(5);G("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",!X(15,90,b.hasAclToEdit$))("disabled",
!!X(16,92,b.isSaving$("priority")));A(3);G("ngIf",X(18,94,b.isSeverityPrimary$));A(3);G("name","status")("title","Status")("type",b.FieldType.ENUM)("value",a.status)("choices",null!==(w=X(21,96,b.statusChoices$))&&void 0!==w?w:eg(158,a0a))("readonly",!X(22,98,b.hasAclToEdit$))("disabled",!!X(23,100,b.isSaving$("status")))("onedevHovercardActive",!!X(24,102,b.canonicalIssueId$))("onedevHovercardTrigger",e);A(5);G("ngIf",X(26,104,b.hasAclToEdit$));A(5);G("ngIf",b.sessionIsInternal&&X(31,106,b.isEffortEnabled$)&&
!X(32,108,b.isWithinExternalComponent$));A(4);G("onedevHovercardTrigger",f)("onedevHovercardActive",!0)("onedevHovercardConfig",b.ACCESS_LIMITS_HOVERCARD_CONFIG);A(6);$f(b.getAccessLimitLevelDisplay(X(41,110,b.accessLimitLevel$)));A(2);G("matTooltip",X(44,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)");Af("aria-label",X(43,112,b.hasAclToAdmin$)?"Edit":"View");A(4);
V(" ",X(47,116,b.hasAclToAdmin$)?"Edit":"View"," ");A(8);G("href",b.documentationLinks.getIssueAccessLimit(),Wd);A(2);Jf("implicit-access-box",X(57,118,b.isImplicitAccessEnabled$));A(2);G("ngIf",X(59,120,b.isImplicitAccessEnabled$));A(3);G("ngIf",!b.enablePeoplekitAc)("ngIfElse",h);A(3);G("ngIf",!b.enablePeoplekitAc)("ngIfElse",k);A(4);G("readonly",!X(70,122,b.hasAclToEdit$))("collaborators",a.collaborators)("collaboratorsUsers",a.collaboratorsUsers)("listFieldDisabled",!!X(71,124,b.isSaving$("collaborators")))("teamId",
null!==(y=X(72,126,b.teamId$))&&void 0!==y?y:"")("isCollapsible",!0)("onedevHovercardTrigger",q)("onedevHovercardActive",!0)("onedevHovercardConfig",b.USER_FIELD_HOVERCARD_CONFIG);A(6);G("ngIf",X(75,128,b.isCurrentUserCollaborator$)||!X(76,130,b.isCurrentUserCollaborator$)&&X(77,132,b.hasAclToEdit$));A(12);Zf("collapsiblePanelTitle","",a.cc.length," ",1===a.cc.length?"user":"users","");G("defaultLineCount",5)("readonly",!X(88,134,b.isAllowedToEditCC$))("type",b.ListFieldType.USERCHIP)("isUser",!0)("values",
a.cc)("users",a.ccUsers)("listFieldDisabled",!!X(89,136,b.isSaving$("ccs")))("isCollapsible",!0)("isExpanded",!0)("onedevHovercardTrigger",t)("onedevHovercardActive",!0)("onedevHovercardConfig",b.USER_FIELD_HOVERCARD_CONFIG)("teamId",null!==(C=X(90,138,b.teamId$))&&void 0!==C?C:"");A(6);G("ngIf",X(93,140,b.isCurrentUserCCd$)||!X(94,142,b.isCurrentUserCCd$)&&X(95,144,b.isAllowedToEditCC$));A(12);G("ngIf",b.showChangelists&&X(105,146,b.isChangelistPrimary$));A(2);G("ngIf",X(107,148,b.workspaces$));
A(2);G("ngIf",!b.sessionIsExternal&&(null==a.postmortems?null:a.postmortems.length));A(1);G("ngForOf",X(110,150,b.visibleCustomFields$))("ngForTrackBy",b.trackCustomField);A(2);G("ngIf",X(112,152,b.isForgottenFourPrimary$));A(2);G("ngIf",X(114,154,b.hasHiddenFields$));A(2);G("ngIf",X(116,156,b.hasHiddenFields$))}},H1a=function(a,b){if(a&1){var c=v();M(0);H(1,"a",15);Q("click",function(){x(c);R().analytics.trackEvent(Kp.ISSUE_SIDEBAR,"navigate","issueDetailsPage");return z()});H(2,"span",16);T(3,"Navigate to issue ");
K();T(4);K();H(5,"button",17);Q("click",function(){var d=x(c).ngIf,e=R();return z(e.copyIssueId(d))});L(6,"mat-icon",18);K();N()}a&2&&(a=b.ngIf,A(1),Xf("href","/issues/",a,"",Wd),A(3),V(" ",a," "))},J1a=function(a){if(a&1){var b=v();M(0);H(1,"span");T(2);K();H(3,"button",21);Q("click",function(){x(b);var c=R(2);return z(I1a(c))});L(4,"mat-icon",22);K();N()}a&2&&(a=R().ngIf,A(1),Af("title",a.snapshot[0].title),A(1),V(" ",a.snapshot[0].title," "),A(1),G("matTooltipShowDelay",500))},K1a=function(a){if(a&
1){var b=v();H(0,"button",28);Q("click",function(){x(b);var c=R(3);return z(vq(c))});T(1,"Cancel");K()}},L1a=function(a){a&1&&(M(0),T(1," Update title "),N())},M1a=function(a){if(a&1){var b=v();M(0);H(1,"mat-form-field",23)(2,"textarea",24);Q("ngModelChange",function(d){x(b);var e=R(2);return z(e.draftTitle=d)});K()();H(3,"div",25);F(4,K1a,2,0,"button",26);H(5,"button",27);Q("click",function(){x(b);var d=R(2);return z(d.saveTitle())});F(6,L1a,2,0,"ng-container",13);K()();N()}if(a&2){a=R(2);var c=
S(20);A(2);G("cdkTextareaAutosize",!0)("cdkAutosizeMinRows",1)("ngModel",a.draftTitle)("bFocus",!0);A(2);G("ngIf",!a.isSavingTitle);A(1);G("disabled",a.isSavingTitle);A(1);G("ngIf",!a.isSavingTitle)("ngIfElse",c)}},N1a=function(a){a&1&&(H(0,"div",19)(1,"div",20),F(2,J1a,5,3,"ng-container",4)(3,M1a,7,8,"ng-container",4),K()());a&2&&(a=R(),A(2),G("ngIf",!a.editTitleMode),A(1),G("ngIf",a.editTitleMode))},O1a=function(a){a&1&&(H(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"div"),T(3," AI-generated summaries may contain inaccurate or offensive information that does not represent Google's views. Buganizer and other AI API usage does not store or log the issue's contents for any training purposes. "),
K()()())},Q1a=function(a){if(a&1){var b=v();H(0,"button",51);Q("click",function(){x(b);var c=R(3);c.analytics.trackEvent(Kp.ISSUE_SIDEBAR,"generateIssueSummary");c.analytics.trackEvent(Kp.LLM_SUMMARIZE,"click",P1a(c));c.isLoadingIssueSummary=!0;c.issueSummaryRequested$.next();c.isIssueSummaryExpanded=!0;return z()});T(1," Generate ");K()}},R1a=function(a){a&1&&L(0,"mat-icon",53)},S1a=function(a){a&1&&L(0,"mat-icon",54)},T1a=function(a){if(a&1){var b=v();H(0,"button",52);Q("click",function(){x(b);
var c=R(3);return z(c.isIssueSummaryExpanded=!c.isIssueSummaryExpanded)});F(1,R1a,1,0,"mat-icon",40)(2,S1a,1,0,"mat-icon",41);K()}a&2&&(a=R(3),G("matTooltipShowDelay",1E3),Af("aria-expanded",a.isIssueSummaryExpanded),A(1),G("ngIf",!a.isIssueSummaryExpanded),A(1),G("ngIf",a.isIssueSummaryExpanded))},U1a=function(a){a&1&&Rf(0,58);if(a&2){R(4);var b=S(20);G("ngTemplateOutlet",b)}},V1a=function(a){a&1&&L(0,"b-markdown-format-presenter",61);a&2&&(a=R().ngIf,G("content",a.formattedSummary))},W1a=function(a){a&
1&&(H(0,"div"),T(1),K());a&2&&(a=R(2).ngIf,A(1),V(" ",a.summary," "))},X1a=function(a){a&1&&F(0,W1a,2,1,"div",4);a&2&&(a=R(5),G("ngIf",!a.isLoadingIssueSummary))},Y1a=function(a,b){a&1&&(M(0),F(1,V1a,1,1,"b-markdown-format-presenter",59)(2,X1a,1,1,"ng-template",null,60,tg),N());if(a&2){a=b.ngIf;var c=S(3);b=R(4);A(1);G("ngIf",!b.isLoadingIssueSummary&&a.formattedSummary)("ngIfElse",c)}},Z1a=function(a){if(a&1){var b=v();H(0,"div",62)(1,"button",63);Q("click",function(){x(b);var c=R(4);return z(c.copySummary())});
L(2,"mat-icon",64);K();H(3,"button",65);Q("click",function(){x(b);var c=R(4);return z(c.openFeedbackDialog())});L(4,"mat-icon",66);K();H(5,"button",67);Q("click",function(){x(b);var c=R(4);return z(c.trackThumbsUp())});L(6,"mat-icon",68);K();H(7,"button",69);Q("click",function(){x(b);var c=R(4);return z(c.trackThumbsDown())});L(8,"mat-icon",70);K()()}a&2&&(a=R(4),A(5),G("disabled",a.hasRatedSummary),A(1),Jf("has-reacted-icon",a.summaryThumbsUp),A(1),G("disabled",a.hasRatedSummary),A(1),Jf("has-reacted-icon",
a.summaryThumbsDown))},$1a=function(a){a&1&&(H(0,"div",55),F(1,U1a,1,1,"ng-container",56)(2,Y1a,4,2,"ng-container",4),W(3,"async"),F(4,Z1a,9,6,"div",57),K());a&2&&(a=R(3),A(1),G("ngIf",a.isLoadingIssueSummary),A(1),G("ngIf",X(3,3,a.issueSummary$)),A(2),G("ngIf",a.isIssueSummaryExpanded&&!a.isLoadingIssueSummary))},a2a=function(a){a&1&&(M(0),H(1,"div",43)(2,"div",31)(3,"div",32),L(4,"mat-icon",44),H(5,"span"),T(6,"AI-GENERATED SUMMARY"),K(),H(7,"button",45),L(8,"mat-icon",46),K(),F(9,O1a,4,0,"ng-template",
null,47,tg),K(),F(11,Q1a,2,0,"button",48)(12,T1a,3,4,"button",49),K(),F(13,$1a,5,5,"div",50),K(),N());if(a&2){var b=S(10);a=R(2);A(7);G("xapInlineDialog",b)("dialogTabIndex",0);A(4);G("ngIf",!a.hasIssueSummary&&!a.isLoadingIssueSummary);A(1);G("ngIf",a.hasIssueSummary);A(1);G("ngIf",a.isIssueSummaryExpanded)}},b2a=function(a){a&1&&(H(0,"span"),T(1," No update yet "),K())},c2a=function(a){if(a&1){var b=v();H(0,"button",71);Q("click",function(){x(b);var c=R(2);return z(c.editStatusUpdate())});L(1,"mat-icon",
22);K()}a&2&&G("matTooltipShowDelay",1E3)},d2a=function(a){a&1&&L(0,"mat-icon",53)},e2a=function(a){a&1&&L(0,"mat-icon",54)},f2a=function(a){if(a&1){var b=v();H(0,"button",72);Q("click",function(){x(b);var c=R(2);return z(c.isStatusUpdateExpanded=!c.isStatusUpdateExpanded)});F(1,d2a,1,0,"mat-icon",40)(2,e2a,1,0,"mat-icon",41);K()}a&2&&(a=R(2),G("matTooltipShowDelay",1E3),Af("aria-expanded",a.isStatusUpdateExpanded),A(1),G("ngIf",!a.isStatusUpdateExpanded),A(1),G("ngIf",a.isStatusUpdateExpanded))},
g2a=function(a,b){a&1&&(L(0,"b-note-container",76),W(1,"async"));if(a&2){a=b.ngIf;b=R().ngIf;var c=R().ngIf,d=R(2),e;G("issueId",a)("note",c)("issueAccessLevel",X(1,4,d.accessLevel$))("formattingMode",null!==(e=b.formattingMode)&&void 0!==e?e:d.FormattingMode.PLAIN)}},h2a=function(a){a&1&&(H(0,"div",74),F(1,g2a,2,6,"b-note-container",75),W(2,"async"),K());if(a&2){a=R().ngIf;var b=R(2);A(1);G("ngIf",""!==a.unlinkifiedComment&&X(2,1,b.issueId$))}},i2a=function(a){a&1&&(M(0),F(1,h2a,3,3,"div",73),W(2,
"async"),N());a&2&&(a=R(2),A(1),G("ngIf",X(2,1,a.statusUpdate$)))},j2a=function(a){a&1&&(H(0,"span"),T(1," No description yet "),K())},l2a=function(a){if(a&1){var b=v();H(0,"button",80);Q("click",function(){x(b);var c=R(3);return z(k2a(c))});L(1,"mat-icon",22);K()}a&2&&G("matTooltipShowDelay",1E3)},m2a=function(a){a&1&&L(0,"mat-icon",53)},n2a=function(a){a&1&&L(0,"mat-icon",54)},o2a=function(a){if(a&1){var b=v();H(0,"button",81);Q("click",function(){x(b);var c=R(3);return z(c.isDescriptionExpanded=
!c.isDescriptionExpanded)});F(1,m2a,1,0,"mat-icon",40)(2,n2a,1,0,"mat-icon",41);K()}a&2&&(a=R(3),G("matTooltipShowDelay",1E3),Af("aria-expanded",a.isDescriptionExpanded),A(1),G("ngIf",!a.isDescriptionExpanded),A(1),G("ngIf",a.isDescriptionExpanded))},p2a=function(a,b){a&1&&(L(0,"b-note-container",76),W(1,"async"));if(a&2){a=b.ngIf;b=R().ngIf;var c=R(2).ngIf,d=R(2),e;G("issueId",a)("note",b)("issueAccessLevel",X(1,4,d.accessLevel$))("formattingMode",null!==(e=c[0].formattingMode)&&void 0!==e?e:d.FormattingMode.PLAIN)}},
q2a=function(a){if(a&1){var b=v();H(0,"div",86)(1,"a",87);Q("click",function(){x(b);var c=R(5);c.analytics.trackEvent(Kp.ISSUE_SIDEBAR,"showMoreDescription");c.showFullDescription=!0;return z()});T(2," Show more ");K()()}},r2a=function(a,b){a&1&&(M(0),H(1,"div",84),F(2,p2a,2,6,"b-note-container",75),W(3,"async"),K(),F(4,q2a,3,0,"div",85),N());a&2&&(a=b.ngIf,b=R(4),A(1),Jf("full-height",b.showFullDescription),A(1),G("ngIf",""!==a.unlinkifiedComment&&X(3,4,b.issueId$)),A(2),G("ngIf",!b.showFullDescription&&
b.descriptionHasMore))},s2a=function(a){a&1&&(M(0),H(1,"div",82,83),F(3,r2a,5,6,"ng-container",4),W(4,"async"),W(5,"async"),K(),N());a&2&&(a=R(3),A(3),G("ngIf",X(4,1,a.hasDescription$)&&X(5,3,a.firstNote$)))},t2a=function(a){a&1&&(M(0),H(1,"div",77)(2,"div",31)(3,"div",32)(4,"span"),T(5,"DESCRIPTION"),K()(),H(6,"div",34),F(7,j2a,2,0,"span",4),W(8,"async"),F(9,l2a,2,1,"button",78),W(10,"async"),W(11,"async"),F(12,o2a,3,4,"button",79),W(13,"async"),K()(),F(14,s2a,6,5,"ng-container",4),K(),N());a&2&&
(a=R(2),A(7),G("ngIf",!X(8,4,a.hasDescription$)),A(2),G("ngIf",(a.isDescriptionExpanded||!X(10,6,a.hasDescription$))&&X(11,8,a.userCanEditDescription$)),A(3),G("ngIf",X(13,10,a.hasDescription$)),A(2),G("ngIf",a.isDescriptionExpanded))},u2a=function(a){a&1&&L(0,"mat-icon",53)},v2a=function(a){a&1&&L(0,"mat-icon",54)},w2a=function(a){a&1&&(H(0,"div",88),L(1,"edit-issue-metadata",89),K());a&2&&(a=R().ngIf,A(1),G("issueId",a.issueId))},x2a=function(a){if(a&1){var b=v();M(0);H(1,"div",29);F(2,a2a,14,5,
"ng-container",4);W(3,"async");H(4,"div",30)(5,"div",31)(6,"div",32);L(7,"mat-icon",33);H(8,"span");T(9," STATUS UPDATE ");K()();H(10,"div",34);F(11,b2a,2,0,"span",4);W(12,"async");F(13,c2a,2,1,"button",35);W(14,"async");W(15,"async");F(16,f2a,3,4,"button",36);W(17,"async");K()();F(18,i2a,3,3,"ng-container",4);W(19,"async");K();F(20,t2a,15,12,"ng-container",13);W(21,"async");H(22,"div",37)(23,"div",31)(24,"div",32);L(25,"mat-icon",38);H(26,"span");T(27,"FIELDS");K()();H(28,"button",39);Q("click",
function(){x(b);var d=R();return z(d.isFieldsExpanded=!d.isFieldsExpanded)});F(29,u2a,1,0,"mat-icon",40)(30,v2a,1,0,"mat-icon",41);K()();F(31,w2a,2,1,"div",42);K()();N()}if(a&2){a=R();var c=S(20);A(2);G("ngIf",a.enableLlmSummarization&&X(3,12,a.isSummarizable$));A(9);G("ngIf",!X(12,14,a.hasStatusUpdate$));A(2);G("ngIf",(a.isStatusUpdateExpanded||!X(14,16,a.hasStatusUpdate$))&&X(15,18,a.userCanEditStatusUpdate$));A(3);G("ngIf",X(17,20,a.hasStatusUpdate$));A(2);G("ngIf",a.isStatusUpdateExpanded&&X(19,
22,a.statusUpdateNote$));A(2);G("ngIf",X(21,24,a.events$))("ngIfElse",c);A(8);G("matTooltipShowDelay",1E3);Af("aria-expanded",a.isFieldsExpanded);A(1);G("ngIf",!a.isFieldsExpanded);A(1);G("ngIf",a.isFieldsExpanded);A(1);G("ngIf",a.isFieldsExpanded)}},y2a=function(a){a&1&&(H(0,"div",90),L(1,"b-spinner"),K())},z2a=function(a){a&1&&(M(0),T(1," This issue has not been modified since "),L(2,"b-formatted-date-time",4),T(3," and is scheduled for deletion on "),H(4,"strong"),L(5,"b-formatted-date-time",4),
K(),T(6,". "),N());a&2&&(a=R(2),A(2),G("mode","date")("timestamp",a.modifiedTime)("paddingLeftPx",0),A(3),G("mode","date")("timestamp",a.retentionExpireTime)("paddingLeftPx",0))},A2a=function(a){a&1&&T(0," This issue is retained indefinitely. ")},B2a=function(a){a&1&&(M(0),F(1,z2a,7,6,"ng-container",1)(2,A2a,1,0,"ng-template",null,2,tg),H(4,"a",3),T(5,"Learn more"),K(),N());if(a&2){var b=S(3);a=R();A(1);G("ngIf",a.retentionState.retentionPeriod)("ngIfElse",b);A(3);G("href",a.documentationLink,Wd)}},
C2a=function(a){a&1&&(H(0,"b-base-chip",1)(1,"div",2),L(2,"retention-text",3),K(),H(3,"div",4),L(4,"retention-help-text",5),K()());a&2&&(a=R(),G("compactMode",a.compactMode)("labelClass",a.dangerZone?"danger":"expiring")("labelOnlyMode",a.labelOnlyMode),A(2),G("retentionState",a.retentionState)("compactMode",a.compactMode),A(2),G("retentionState",a.retentionState)("modifiedTime",a.modifiedTime))},D2a=function(a){var b=void 0===b?new Date:b;var c=a.retentionPeriod;return b.getTime()>=An(a.scheduledDeletionTime)-
Math.max(12096E5,.2*(c?1E3*c.seconds+(c.nanos||0)/1E6:0))},E2a=function(a){if(a&1){var b=v();H(0,"div",1);Q("click",function(){x(b);var c=R();return z(c._onBackdropClicked())});K()}a&2&&(a=R(),Jf("mat-drawer-shown",a._isShowingBackdrop()))},F2a=function(a){a&1&&(H(0,"mat-drawer-content"),Wf(1,2),K())},G2a=function(){return!1},H2a=function(a){if(a&1){var b=v();H(0,"div",1);Q("click",function(){x(b);var c=R();return z(c._onBackdropClicked())});K()}a&2&&(a=R(),Jf("mat-drawer-shown",a._isShowingBackdrop()))},
I2a=function(a){a&1&&(H(0,"mat-sidenav-content"),Wf(1,2),K())},L2a=function(a){if(a&1){var b=v();H(0,"issue-sidebar",8);Q("closeSidebar",function(){x(b);var d=R(2);return z(d.isIssueSidebarOpen=!1)})("navigateToNextIssue",function(){x(b);var d=R(2);return z(J2a(d))})("navigateToPreviousIssue",function(){x(b);var d=R(2);return z(K2a(d))});K()}if(a&2){a=R(2);var c;G("issueId",null==(c=a.getFocusedIssue())?null:c.issueId)}},M2a=function(a){a&1&&Rf(0)},N2a=function(a){if(a&1){var b=v();H(0,"mat-sidenav-container",
3,4)(2,"mat-sidenav",5);Q("openedChange",function(d){x(b);R().anayltics.trackEvent(Kp.ISSUE_SIDEBAR,d?"open":"close");return z()});F(3,L2a,1,1,"issue-sidebar",6);K();H(4,"mat-sidenav-content");F(5,M2a,1,0,"ng-container",7);K()()}if(a&2){a=R();var c=S(3);Jf("sidebar-enabled",a.isIssueSidebarEnabled);A(2);G("opened",a.isIssueSidebarOpen)("disableClose",!0);A(1);G("ngIf",a.isIssueSidebarOpen);A(2);G("ngTemplateOutlet",c)}},O2a=function(a){a&1&&Rf(0)},P2a=function(a,b){a&1&&(H(0,"th",30),F(1,O2a,1,0,
"ng-container",31),K());a&2&&(a=b.column,b=R(2),Af("data-stable-column-name",a.name),A(1),G("ngIf",b.isIssueGridColumn(a)))},Q2a=function(a){a&1&&Rf(0)},R2a=function(a,b){a&1&&(H(0,"th",32),F(1,Q2a,1,0,"ng-container",31),K());a&2&&(a=b.column,b=R(2),Af("data-stable-column-name",a.name),A(1),G("ngIf",b.isIssueGridColumn(a)))},T2a=function(a){if(a&1){var b=v();M(0);H(1,"mat-pseudo-checkbox",34);Q("click",function(c){x(b);var d=R(3);c.stopPropagation();return z(d.toggleAllIssueSelection())})("keydown.enter",
function(c){x(b);var d=R(3);c.stopPropagation();return z(d.toggleAllIssueSelection())})("keydown.space",function(c){x(b);var d=R(3);c.stopPropagation();return z(d.toggleAllIssueSelection())});K();N()}a&2&&(a=R(3),A(1),G("state",a.getHeaderCheckboxState()),Af("aria-checked",S2a(a)))},U2a=function(a,b){a&1&&(H(0,"th",33),F(1,T2a,2,2,"ng-container",31),K());a&2&&(a=b.column,b=R(2),Af("data-stable-column-name",a.name),A(1),G("ngIf",b.isIssueGridColumn(a)))},V2a=function(a){a&1&&Rf(0)},W2a=function(a,
b){a&1&&(H(0,"th"),F(1,V2a,1,0,"ng-container",31),K());a&2&&(a=b.column,b=R(2),Af("data-stable-column-name",a.name),A(1),G("ngIf",b.isIssueGridColumn(a)))},X2a=function(a){a&1&&(M(0),L(1,"pop-grid-default-th",35),N());a&2&&(a=R().column,A(1),G("column",a))},Y2a=function(a,b){a&1&&(H(0,"th"),F(1,X2a,2,1,"ng-container",31),K());a&2&&(a=b.column,b=R(2),Af("data-stable-column-name",a.name),A(1),G("ngIf",b.isIssueGridColumn(a)))},Z2a=function(a){if(a&1){var b=v();H(0,"b-column-picker",38);Q("selectedColumnsChange",
function(d){x(b);var e=R(4);e.columns=d;e.columnsChange.emit(d);e.cdr.detectChanges();return z()});K()}if(a&2){a=R(2).column;var c=R(2);G("column",a)("availableColumns",c.availableColumns)("selectedColumns",c.columns)}},$2a=function(a){a&1&&L(0,"pop-grid-default-th",35);a&2&&(a=R(2).column,G("column",a))},a3a=function(a){a&1&&(M(0),F(1,Z2a,1,3,"b-column-picker",36)(2,$2a,1,1,"pop-grid-default-th",37),N());a&2&&(a=R(3),A(1),G("ngIf",a.enableColumnSaving),A(1),G("ngIf",!a.enableColumnSaving))},b3a=
function(a,b){a&1&&(H(0,"th"),F(1,a3a,3,2,"ng-container",31),K());a&2&&(a=b.column,b=R(2),Af("data-stable-column-name",a.name),A(1),G("ngIf",b.isIssueGridColumn(a)))},c3a=function(a){a&1&&Rf(0)},d3a=function(a){a&1&&(H(0,"td",30),F(1,c3a,1,0,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},e3a=function(a){a&1&&Rf(0)},f3a=function(a){a&1&&(H(0,"td",39),F(1,e3a,1,0,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},g3a=function(a){if(a&1){var b=v();M(0);H(1,"mat-pseudo-checkbox",40);Q("click",
function(c){x(b);var d=R(),e=d.index;d=d.row;var f=R(2);c.stopPropagation();return z(f.onCheckboxClicked(c,e,d))});K();N()}a&2&&(a=R().row,A(1),G("state",a.selected?"checked":"unchecked"),Af("aria-label","Select issue "+a.issueId)("aria-checked",a.selected))},h3a=function(a){a&1&&(H(0,"td",33),F(1,g3a,2,3,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},i3a=function(a){if(a&1){var b=v();M(0);H(1,"b-star-toggle",42);Q("starClicked",function(){x(b);var d=R().row,e=R(2);return z(e.toggleStar(d))});
K();N()}if(a&2){a=R().row;var c=R(2);A(1);G("starred",a.starred)("disabled",c.starInProgress[a.issueId])("starMessage","Star this issue")("unStarMessage","Un-star this issue")}},j3a=function(a){a&1&&(H(0,"td",41),F(1,i3a,2,4,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},k3a=function(a){a&1&&(M(0),H(1,"span"),T(2),K(),N());a&2&&(a=R().row,A(1),Af("title",a.position),A(1),V(" ",a.position," "))},l3a=function(a){a&1&&(H(0,"td"),F(1,k3a,3,2,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},
m3a=function(a){a&1&&(M(0),H(1,"a",47),T(2),K(),N());if(a&2){a=R(2).row;var b=R(2);A(1);G("href",b.paths.editIssue(a.issueId),Wd);Af("title",a.title);A(1);V(" ",a.issueId," ")}},n3a=function(a){a&1&&(M(0),H(1,"b-issue-id-picker",48),Q("click",function(b){return b.stopPropagation()}),K(),N());a&2&&(a=R(2).row,A(1),G("issueId",a.issueId)("showCopyOptions",!1),Af("title",a.title))},o3a=function(a){a&1&&(M(0)(1,44),F(2,m3a,3,3,"ng-container",45)(3,n3a,2,3,"ng-container",46),N()());a&2&&(a=R(3),A(1),G("ngSwitch",
null==a.listViewPrefs?null:null==a.listViewPrefs.modeForField?null:a.listViewPrefs.modeForField.id),A(2),G("ngSwitchCase","copy"))},p3a=function(a){a&1&&(H(0,"td",43),F(1,o3a,4,2,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},q3a=function(a){a&1&&L(0,"archived-issue-indicator")},r3a=function(a){a&1&&L(0,"b-issue-visibility-chip",51);a&2&&(a=R(2).row,G("issueId",a.issueId)("compactMode",!0))},s3a=function(a){a&1&&L(0,"b-component-access-level-indicator",58);a&2&&(a=R(2).row,G("accessLevel",
a.accessLevel)("compactMode",!0))},t3a=function(a){a&1&&L(0,"mat-icon",59)},u3a=function(a,b){a&1&&L(0,"b-hotlist-chip-smart",62);a&2&&G("id",b.$implicit)("removable",!1)},v3a=function(a){a&1&&(H(0,"div",60),F(1,u3a,1,2,"b-hotlist-chip-smart",61),K());a&2&&(a=R(2).row,A(1),G("ngForOf",a.hotlistId))},w3a=function(a){a&1&&(M(0),H(1,"div",50),F(2,q3a,1,0,"archived-issue-indicator",31)(3,r3a,1,2,"b-issue-visibility-chip",51)(4,s3a,1,2),L(5,"b-tracker-chip-smart",52)(6,"b-retention-chip",53),H(7,"div",
54)(8,"a",55),T(9),F(10,t3a,1,0,"mat-icon",56),K()(),F(11,v3a,2,1,"div",57),K(),N());if(a&2){a=R().row;var b=R(2);A(1);Jf("bv2-grid-cell-flex-wrap",b.listViewPrefs&&b.listViewPrefs.wrapTitles);A(1);G("ngIf",a.archived);A(1);Nf(3,b.enableNewVisibilityChips?3:4);A(2);G("trackerId",a.trackerId)("compactMode",!0);A(1);G("retentionState",a.retentionState)("showOnlyInDangerZone",!0)("compactMode",!0)("modifiedTime",a.modifiedTime);A(2);G("href",b.paths.editIssue(a.issueId),Wd);Af("title",a.title);A(1);
V(" ",a.title," ");A(1);G("ngIf",b.isIssueSidebarEnabled);A(1);G("ngIf",b.listViewPrefs&&b.listViewPrefs.showHotlists)}},x3a=function(a){a&1&&(H(0,"td",49),F(1,w3a,12,15,"ng-container",31),K());a&2&&(a=R(2),Jf("bv2-grid-cell-variable-height",a.listViewPrefs&&a.listViewPrefs.wrapTitles),A(1),G("ngIf",!0))},z3a=function(a){a&1&&(M(0),H(1,"div",64),T(2),K(),N());if(a&2){a=R().row;var b=R(2);A(1);G("ngClass",hg(y3a,b.isLowPriority(a),b.isHighPriority(a),b.isP0Priority(a)));A(1);V(" P",a.priority," ")}},
A3a=function(a){a&1&&(H(0,"td",63),F(1,z3a,3,6,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},B3a=function(a){a&1&&(M(0),H(1,"div",64),T(2),K(),N());a&2&&(a=R().row,R(2),A(1),G("ngClass",hg(y3a,2<=Number(a.severity),2>Number(a.severity),0===Number(a.severity))),A(1),V(" S",a.severity," "))},C3a=function(a){a&1&&(H(0,"td",65),F(1,B3a,3,6,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},D3a=function(a){a&1&&L(0,"mat-icon",70);if(a&2){a=R().$implicit;var b=R(4);G("svgIcon",b.ISSUE_STATUS_JS_ICON_NAME[a])}},
E3a=function(a){a&1&&(M(0),T(1),N());if(a&2){a=R().$implicit;var b=R(4);A(1);$f(b.STATUS_JS_TERSE[a])}},F3a=function(a){a&1&&(H(0,"span"),T(1),K());if(a&2){a=R().$implicit;var b=R(4);Mf("chippy status-",a," margin-left-auto");A(1);V(" ",b.STATUS_JS_TERSE[a]," ")}},G3a=function(a,b){a&1&&(M(0),H(1,"span",67),F(2,D3a,1,1,"mat-icon",68)(3,E3a,2,1,"ng-container",46)(4,F3a,2,4,"span",69),K(),N());a&2&&(a=b.$implicit,b=R(4),A(1),G("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]),A(1),G("ngSwitchCase","icon"),A(1),G("ngSwitchCase","plain"))},H3a=function(a){a&1&&(M(0),F(1,G3a,5,4,"ng-container",31),N());a&2&&(a=R().row,A(1),G("ngIf",a.status))},I3a=function(a){a&1&&(H(0,"td",66),F(1,H3a,2,1,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},J3a=function(a){a&1&&(M(0),T(1),W(2,"enumToHuman"),N());a&2&&(a=R().row,A(1),V(" ",X(2,1,a.type)," "))},K3a=
function(a){a&1&&(H(0,"td",71),F(1,J3a,3,3,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},L3a=function(a){a&1&&(H(0,"b-person-hovercard",74),W(1,"omitObfuscatedEmail"),T(2),K());a&2&&(a=R(2).row,G("email",X(1,2,a.reporter)),A(2),V(" ",a.reporter," "))},M3a=function(a){a&1&&(H(0,"span"),T(1,"--"),K())},N3a=function(a){a&1&&(M(0),F(1,L3a,3,4,"b-person-hovercard",73),W(2,"omitObfuscatedEmail"),F(3,M3a,2,0,"span",31),N());a&2&&(a=R().row,A(1),G("ngIf",X(2,2,a.reporter)),A(2),G("ngIf",!a.reporter))},
O3a=function(a){a&1&&(H(0,"td",72),F(1,N3a,4,4,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},P3a=function(a){a&1&&(H(0,"b-person-hovercard",74),W(1,"omitObfuscatedEmail"),T(2),K());a&2&&(a=R(2).row,G("email",X(1,2,a.assignee)),A(2),V(" ",a.assignee," "))},Q3a=function(a){a&1&&(H(0,"span"),T(1,"--"),K())},R3a=function(a){a&1&&(M(0),F(1,P3a,3,4,"b-person-hovercard",73),W(2,"omitObfuscatedEmail"),F(3,Q3a,2,0,"span",31),N());a&2&&(a=R().row,A(1),G("ngIf",X(2,2,a.assignee)),A(2),G("ngIf",!a.assignee))},
S3a=function(a){a&1&&(H(0,"td",72),F(1,R3a,4,4,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},T3a=function(a){a&1&&(H(0,"b-person-hovercard",74),W(1,"omitObfuscatedEmail"),T(2),K());a&2&&(a=R(2).row,G("email",X(1,2,a.verifier)),A(2),V(" ",a.verifier," "))},U3a=function(a){a&1&&(H(0,"span"),T(1,"--"),K())},V3a=function(a){a&1&&(M(0),F(1,T3a,3,4,"b-person-hovercard",73),W(2,"omitObfuscatedEmail"),F(3,U3a,2,0,"span",31),N());a&2&&(a=R().row,A(1),G("ngIf",X(2,2,a.verifier)),A(2),G("ngIf",!a.verifier))},
W3a=function(a){a&1&&(H(0,"td",72),F(1,V3a,4,4,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},X3a=function(a){a&1&&(M(0),H(1,"span"),W(2,"arrayToHuman"),T(3),W(4,"arrayToHuman"),K(),N());a&2&&(a=R().row,A(1),Af("title",X(2,2,a.cc)),A(2),V(" ",X(4,4,a.cc)," "))},Y3a=function(a){a&1&&(H(0,"td",72),F(1,X3a,5,6,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},Z3a=function(a){a&1&&(M(0),H(1,"span"),W(2,"arrayToHuman"),T(3),W(4,"arrayToHuman"),K(),N());a&2&&(a=R().row,A(1),Af("title",X(2,
2,a.changelist)),A(2),V(" ",X(4,4,a.changelist)," "))},$3a=function(a){a&1&&(H(0,"td",72),F(1,Z3a,5,6,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},a4a=function(a){a&1&&(M(0),H(1,"span"),W(2,"arrayToHuman"),T(3),W(4,"arrayToHuman"),K(),N());a&2&&(a=R().row,A(1),Af("title",X(2,2,a.postmortem)),A(2),V(" ",X(4,4,a.postmortem)," "))},b4a=function(a){a&1&&(H(0,"td",72),F(1,a4a,5,6,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},c4a=function(a){a&1&&Rf(0)},d4a=function(a){a&1&&(H(0,"span"),
T(1,", "),K())},f4a=function(a,b){a&1&&(M(0),F(1,c4a,1,0,"ng-container",76)(2,d4a,2,0,"span",31),N());if(a&2){a=b.$implicit;b=b.last;R(4);var c=S(5);A(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",fg(3,e4a,a));A(1);G("ngIf",!b)}},g4a=function(a){a&1&&(M(0),F(1,f4a,3,5,"ng-container",75),N());a&2&&(a=R().row,A(1),G("ngForOf",a.blockingIssueId))},h4a=function(a){a&1&&(H(0,"td",72),F(1,g4a,2,1,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},i4a=function(a){a&1&&Rf(0)},j4a=function(a){a&
1&&(H(0,"span"),T(1,", "),K())},k4a=function(a,b){a&1&&(M(0),F(1,i4a,1,0,"ng-container",76)(2,j4a,2,0,"span",31),N());if(a&2){a=b.$implicit;b=b.last;R(4);var c=S(5);A(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",fg(3,e4a,a));A(1);G("ngIf",!b)}},l4a=function(a){a&1&&(M(0),F(1,k4a,3,5,"ng-container",75),N());a&2&&(a=R().row,A(1),G("ngForOf",a.blockedByIssueId))},m4a=function(a){a&1&&(H(0,"td",72),F(1,l4a,2,1,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},n4a=function(a){a&1&&Rf(0)},
o4a=function(a){a&1&&(M(0),F(1,n4a,1,0,"ng-container",76),N());if(a&2){a=R(2).row;R(2);var b=S(5);A(1);G("ngTemplateOutlet",b)("ngTemplateOutletContext",fg(2,e4a,a.duplicateOfIssueId))}},p4a=function(a){a&1&&(M(0),F(1,o4a,2,4,"ng-container",31),N());a&2&&(a=R().row,A(1),G("ngIf",a.duplicateOfIssueId))},q4a=function(a){a&1&&(H(0,"td",72),F(1,p4a,2,1,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},r4a=function(a){a&1&&(M(0),L(1,"b-formatted-date-time",78),N());a&2&&(a=R().row,A(1),G("timestamp",
a.createdTime))},s4a=function(a){a&1&&(H(0,"td",77),F(1,r4a,2,1,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},t4a=function(a){a&1&&(M(0),L(1,"b-formatted-date-time",78),N());a&2&&(a=R().row,A(1),G("timestamp",a.modifiedTime))},u4a=function(a){a&1&&(H(0,"td",77),F(1,t4a,2,1,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},v4a=function(a){a&1&&(M(0),L(1,"b-formatted-date-time",78),N());a&2&&(a=R().row,A(1),G("timestamp",a.resolvedTime))},w4a=function(a){a&1&&(H(0,"td",77),F(1,v4a,2,1,
"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},x4a=function(a){a&1&&(M(0),L(1,"b-formatted-date-time",78),N());a&2&&(a=R().row,A(1),G("timestamp",a.verifiedTime))},y4a=function(a){a&1&&(H(0,"td",77),F(1,x4a,2,1,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},z4a=function(a){a&1&&(M(0),H(1,"span"),W(2,"arrayToHuman"),T(3),W(4,"arrayToHuman"),K(),N());a&2&&(a=R().row,A(1),Af("title",X(2,2,a.foundInVersion)),A(2),V(" ",X(4,4,a.foundInVersion)," "))},A4a=function(a){a&1&&(H(0,"td",72),
F(1,z4a,5,6,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},B4a=function(a){a&1&&(M(0),H(1,"span"),W(2,"arrayToHuman"),T(3),W(4,"arrayToHuman"),K(),N());a&2&&(a=R().row,A(1),Af("title",X(2,2,a.targetedToVersion)),A(2),V(" ",X(4,4,a.targetedToVersion)," "))},C4a=function(a){a&1&&(H(0,"td",72),F(1,B4a,5,6,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},D4a=function(a){a&1&&(M(0),H(1,"span"),W(2,"arrayToHuman"),T(3),W(4,"arrayToHuman"),K(),N());a&2&&(a=R().row,A(1),Af("title",X(2,2,a.verifiedInVersion)),
A(2),V(" ",X(4,4,a.verifiedInVersion)," "))},E4a=function(a){a&1&&(H(0,"td",72),F(1,D4a,5,6,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},F4a=function(a){a&1&&(M(0),T(1),W(2,"yesNo"),N());a&2&&(a=R().row,A(1),V(" ",X(2,1,a.inProd)," "))},G4a=function(a){a&1&&(H(0,"td",72),F(1,F4a,3,3,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},H4a=function(a){a&1&&(M(0),T(1),W(2,"yesNo"),N());a&2&&(a=R().row,A(1),V(" ",X(2,1,a.archived)," "))},I4a=function(a){a&1&&(H(0,"td",72),F(1,H4a,3,3,"ng-container",
31),K());a&2&&(R(2),A(1),G("ngIf",!0))},J4a=function(a){a&1&&(M(0),H(1,"div",50)(2,"div",54)(3,"span"),T(4),K()()(),N());if(a&2){a=R().row;var b=R(2);A(3);Af("title",b.getComponentPath(a.componentPath));A(1);$f(b.getComponentPath(a.componentPath))}},L4a=function(a){a&1&&(H(0,"td",79),F(1,J4a,5,2,"ng-container",31),K());if(a&2){a=R(2);var b;var c=!(null==(b=a.listViewPrefs)||!b.rtlComponentPath);G("ngClass",gg(2,K4a,a.listViewPrefs&&a.listViewPrefs.wrapComponents,c));A(1);G("ngIf",!0)}},M4a=function(a){a&
1&&(H(0,"slo-status-card",82),L(1,"b-aggregated-slo-status-indicator",83),K());a&2&&(a=R(2).row,G("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime),A(1),G("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime))},N4a=function(a){a&1&&(M(0),F(1,M4a,2,5,"slo-status-card",81),N());a&2&&(a=R().row,A(1),G("ngIf",a.sloStatus))},O4a=function(a){a&1&&(H(0,"td",80),F(1,N4a,2,1,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},P4a=function(a){a&1&&(H(0,"slo-status-card",85),L(1,
"b-slo-time-indicator",86),K());a&2&&(a=R(2).row,G("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","RESPONSE"),A(1),G("sloBounds",a.sloStatus.responseBounds))},Q4a=function(a){a&1&&(M(0),F(1,P4a,2,5,"slo-status-card",84),N());a&2&&(a=R().row,A(1),G("ngIf",a.sloStatus))},R4a=function(a){a&1&&(H(0,"td",80),F(1,Q4a,2,1,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},S4a=function(a){a&1&&(H(0,"slo-status-card",85),L(1,"b-slo-time-indicator",86),K());a&
2&&(a=R(2).row,G("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","ASSIGNMENT"),A(1),G("sloBounds",a.sloStatus.assignmentBounds))},T4a=function(a){a&1&&(M(0),F(1,S4a,2,5,"slo-status-card",84),N());a&2&&(a=R().row,A(1),G("ngIf",a.sloStatus))},U4a=function(a){a&1&&(H(0,"td",80),F(1,T4a,2,1,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},V4a=function(a){a&1&&(H(0,"slo-status-card",85),L(1,"b-slo-time-indicator",86),K());a&2&&(a=R(2).row,G("sloId",a.sloId)("sloStatus",
a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","CLOSURE"),A(1),G("sloBounds",a.sloStatus.closureBounds))},W4a=function(a){a&1&&(M(0),F(1,V4a,2,5,"slo-status-card",84),N());a&2&&(a=R().row,A(1),G("ngIf",a.sloStatus))},X4a=function(a){a&1&&(H(0,"td",80),F(1,W4a,2,1,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},Y4a=function(a,b){a&1&&L(0,"b-formatted-date-time",88);a&2&&(a=b.$implicit,R(4),G("timestamp",1E3*a.seconds))},Z4a=function(a){a&1&&(M(0),F(1,Y4a,1,1,"b-formatted-date-time",
87),N());a&2&&(a=R().row,A(1),G("ngIf",null==a.retentionState?null:a.retentionState.scheduledDeletionTime))},$4a=function(a){a&1&&(H(0,"td",72),F(1,Z4a,2,1,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},a5a=function(a){a&1&&L(0,"div",90)},b5a=function(a){a&1&&(H(0,"div"),L(1,"b-team-display",91),K());a&2&&(a=R(2).row,A(1),G("teamId",a.teamId.toString())("componentId",a.componentId.toString())("anchorLinkEnabled",!1))},c5a=function(a){a&1&&(M(0),F(1,a5a,1,0,"div",89)(2,b5a,2,3,"div",31),N());
a&2&&(a=R(3),A(1),G("ngIf",a.isLoadingTeams),A(1),G("ngIf",!a.isLoadingTeams))},d5a=function(a){a&1&&(H(0,"td",72),F(1,c5a,3,2,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},e5a=function(a){a&1&&(M(0),T(1),N());a&2&&(a=R().row,A(1),V(" ",null==a.effort?null:a.effort.estimate," "))},f5a=function(a){a&1&&(H(0,"td",72),F(1,e5a,2,1,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},g5a=function(a){a&1&&(M(0),T(1),N());if(a&2){a=R().row;var b=R(2);A(1);V(" ",b.isTotalEstimatesEnabled?(null==
a.effort?null:a.effort.totalOpen)||"":""," ")}},h5a=function(a){a&1&&(H(0,"td",72),F(1,g5a,2,1,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},i5a=function(a){a&1&&(M(0),T(1),N());if(a&2){a=R().row;var b=R(2);A(1);V(" ",b.isTotalEstimatesEnabled?(null==a.effort?null:a.effort.totalComplete)||"":""," ")}},j5a=function(a){a&1&&(H(0,"td",72),F(1,i5a,2,1,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},k5a=function(a){a&1&&(M(0),T(1),N());if(a&2){a=R().row;var b=R(2);A(1);V(" ",b.GET_ISSUE_ACCESS_LEVEL_TITLE(a.issueAccessLevel),
" ")}},l5a=function(a){a&1&&(H(0,"td",80),F(1,k5a,2,1,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},m5a=function(a){a&1&&(M(0),T(1),N());a&2&&(a=R().row,A(1),V(" ",a.descendantCount," "))},n5a=function(a){a&1&&(H(0,"td",72),F(1,m5a,2,1,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},o5a=function(a){a&1&&(M(0),T(1),N());a&2&&(a=R().row,A(1),V(" ",a.openDescendantCount," "))},p5a=function(a){a&1&&(H(0,"td",72),F(1,o5a,2,1,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},q5a=function(a){a&
1&&(M(0),T(1),N());a&2&&(a=R().row,A(1),V(" ",a.oneDayViewCount," "))},r5a=function(a){a&1&&(H(0,"td",72),F(1,q5a,2,1,"ng-container",31),K());a&2&&(a=R(2),A(1),G("ngIf",a.enableAddViewCountColumnsOnIlp))},s5a=function(a){a&1&&(M(0),T(1),N());a&2&&(a=R().row,A(1),V(" ",a.sevenDayViewCount," "))},t5a=function(a){a&1&&(H(0,"td",72),F(1,s5a,2,1,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},u5a=function(a){a&1&&(M(0),T(1),N());a&2&&(a=R().row,A(1),V(" ",a.thirtyDayViewCount," "))},v5a=function(a){a&
1&&(H(0,"td",72),F(1,u5a,2,1,"ng-container",31),K());a&2&&(R(2),A(1),G("ngIf",!0))},x5a=function(a){if(a&1){var b=v();H(0,"pop-grid",9);Q("columnsChange",function(c){x(b);var d=R();d.columns=c;d.columnsChange.emit(c);d.cdr.detectChanges();return z()})("focusedRowIndexChange",function(c){x(b);var d=R();d.focusedRowIndex=c;return z(d.focusedRowIndexChange.emit(d.focusedRowIndex))})("sortChange",function(c){x(b);var d=R();return z(d.sortChange.emit(c))})("rowClick",function(c){x(b);var d=R(),e=c.event.target,
f,h=null!=(f=null==e?void 0:e.closest(".title-cell"))?f:!1,k;e=null!=(k=null==e?void 0:e.closest(".issue-id-cell"))?k:!1;h||e||!d.isIssueSidebarEnabled?d.rowClick.emit(c):(d.isIssueSidebarOpen=!0,d.cdr.detectChanges());return z()});F(1,P2a,2,2,"th",10)(2,R2a,2,2,"th",11)(3,U2a,2,2,"th",12)(4,W2a,2,2,"th",13)(5,Y2a,2,2,"th",13)(6,b3a,2,2,"th",14)(7,d3a,2,1,"td",15)(8,f3a,2,1,"td",16)(9,h3a,2,1,"td",17)(10,j3a,2,1,"td",18)(11,l3a,2,1,"td",19)(12,p3a,2,1,"td",20)(13,x3a,2,3,"td",21)(14,A3a,2,1,"td",
22)(15,C3a,2,1,"td",23)(16,I3a,2,1,"td",24)(17,K3a,2,1,"td",25)(18,O3a,2,1,"td",26)(19,S3a,2,1,"td",26)(20,W3a,2,1,"td",26)(21,Y3a,2,1,"td",26)(22,$3a,2,1,"td",26)(23,b4a,2,1,"td",26)(24,h4a,2,1,"td",26)(25,m4a,2,1,"td",26)(26,q4a,2,1,"td",26)(27,s4a,2,1,"td",27)(28,u4a,2,1,"td",27)(29,w4a,2,1,"td",27)(30,y4a,2,1,"td",27)(31,A4a,2,1,"td",26)(32,C4a,2,1,"td",26)(33,E4a,2,1,"td",26)(34,G4a,2,1,"td",26)(35,I4a,2,1,"td",26)(36,L4a,2,5,"td",28)(37,O4a,2,1,"td",29)(38,R4a,2,1,"td",29)(39,U4a,2,1,"td",29)(40,
X4a,2,1,"td",29)(41,$4a,2,1,"td",26)(42,d5a,2,1,"td",26)(43,f5a,2,1,"td",26)(44,h5a,2,1,"td",26)(45,j5a,2,1,"td",26)(46,l5a,2,1,"td",29)(47,n5a,2,1,"td",26)(48,p5a,2,1,"td",26)(49,r5a,2,1,"td",26)(50,t5a,2,1,"td",26)(51,v5a,2,1,"td",26);K()}a&2&&(a=R(),Jf("sidebar-open",a.isIssueSidebarOpen),G("list",(null==a.searchResults?null:a.searchResults.issues)||eg(58,w5a))("columns",a.columns)("focusedRowIndex",a.focusedRowIndex)("scrollContainer",".bv2-view")("sort",a.sort)("rowLabelRenderer",a.issueDescription),
A(1),G("forHeaderCell","focused"),A(1),G("forHeaderCell","draghandle"),A(1),G("forHeaderCell","selected"),A(1),G("forHeaderCell","starred"),A(1),G("forHeaderCell","position"),A(2),G("forViewCell","focused"),A(1),G("forViewCell","draghandle"),A(1),G("forViewCell","selected"),A(1),G("forViewCell","starred"),A(1),G("forViewCell","position"),A(1),G("forViewCell","issueId"),A(1),G("forViewCell","title"),A(1),G("forViewCell","priority"),A(1),G("forViewCell","severity"),A(1),G("forViewCell","status"),A(1),
G("forViewCell","type"),A(1),G("forViewCell","reporter"),A(1),G("forViewCell","assignee"),A(1),G("forViewCell","verifier"),A(1),G("forViewCell","cc"),A(1),G("forViewCell","changelist"),A(1),G("forViewCell","postmortem"),A(1),G("forViewCell","blockingIssueId"),A(1),G("forViewCell","blockedByIssueId"),A(1),G("forViewCell","duplicateOfIssueId"),A(1),G("forViewCell","createdTime"),A(1),G("forViewCell","modifiedTime"),A(1),G("forViewCell","resolvedTime"),A(1),G("forViewCell","verifiedTime"),A(1),G("forViewCell",
"foundInVersion"),A(1),G("forViewCell","targetedToVersion"),A(1),G("forViewCell","verifiedInVersion"),A(1),G("forViewCell","inProd"),A(1),G("forViewCell","archived"),A(1),G("forViewCell","componentPath"),A(1),G("forViewCell","minSlo"),A(1),G("forViewCell","responseSlo"),A(1),G("forViewCell","assignmentSlo"),A(1),G("forViewCell","closureSlo"),A(1),G("forViewCell","deletionTime"),A(1),G("forViewCell","team"),A(1),G("forViewCell","estimate"),A(1),G("forViewCell","estimateTotalOpen"),A(1),G("forViewCell",
"estimateTotalComplete"),A(1),G("forViewCell","accessLevel"),A(1),G("forViewCell","descendantCount"),A(1),G("forViewCell","openDescendantCount"),A(1),G("forViewCell","oneDayViewCount"),A(1),G("forViewCell","sevenDayViewCount"),A(1),G("forViewCell","thirtyDayViewCount"))},y5a=function(a){a&1&&L(0,"b-issue-card",95,96);if(a&2){var b=S(1);a=R().id;G("onedevIsHovercardReady",b.init)("issueId",a)}},z5a=function(a,b){a&1&&(H(0,"onedev-hovercard",null,92),F(2,y5a,2,2,"b-issue-card",93),K(),H(3,"span",94),
T(4),K());if(a&2){a=b.id;var c=S(1);A(3);G("onedevHovercardTrigger",c);A(1);$f(a)}},A5a=function(a){if(a&1){var b=v();H(0,"b-app-bar-bulk-edit-menus",10);Q("onBulkEdit",function(d){x(b);var e=R();return z(e.bulkEdit(d))})("onQuickBulkEdit",function(d){x(b);var e=R();return z(e.quickBulkEdit(d))})("onBulkEditIssueRelation",function(d){x(b);var e=R();return z(e.bulkEditIssueRelation(d))})("onBulkMarkIssueRead",function(){x(b);var d=R();return z(d.bulkMarkIssueRead())});W(1,"async");K()}if(a&2){a=R();
var c;G("enableBulkEstimatedEffortOption",null!==(c=X(1,2,a.enableBulkEstimatedEffortOption$))&&void 0!==c?c:!1)("readStatePrompt",oWa(a))}},B5a=function(a){if(a&1){var b=v();H(0,"b-copy-issue-id-button",11);Q("onClickCopyIssueIds",function(){x(b);var c=R();return z(qWa(c.copyIssueIdService,Np(c)))})("onClickCopyIssueShortLinks",function(){x(b);var c=R();return z(rWa(c.copyIssueIdService,Np(c)))})("onClickCopyAsIssueSearch",function(){x(b);var c=R();return z(sWa(c.copyIssueIdService,Np(c)))});K()}a&
2&&(a=R(),G("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",a.activeSession.isInternalSession()))},C5a=function(a){if(a&1){var b=v();H(0,"div",12)(1,"b-hotlist-picker",13);Q("onApply",function(c){x(b);var d=R();return z(d.handleHotlistPickerSave(c))})("onCreate",function(c){x(b);var d=R();return z(d.onCreateHotlist.emit(c))})("onLoad",function(c){x(b);var d=R();return z(d.onLoadHotlist.emit(c))});K()()}a&2&&(a=R(),A(1),G("selectedHotlistIds",a.hotlistIdMatrix)("choices",
a.hotlistChoices))},D5a=function(a){if(a&1){var b=v();H(0,"hotlist-add-issue-btn",16);Q("issueAddedToHotlist",function(){x(b);var c=R(2);return z(c.refresh())});K()}a&2&&(a=R(2),G("hotlistId",a.currentHotlistId))},E5a=function(a){a&1&&L(0,"hotlist-archive-btn",17);a&2&&(a=R(2),G("hotlistId",a.currentHotlistId))},F5a=function(a){a&1&&(M(0),F(1,D5a,1,1,"hotlist-add-issue-btn",14)(2,E5a,1,1,"hotlist-archive-btn",15),N());a&2&&(a=R(),A(1),G("ngIf",a.enableBulkEditUi),A(1),G("ngIf",a.isHotlistAdmin))},
G5a=function(a){a&1&&(H(0,"span",21),T(1,"Reporting"),K())},H5a=function(a){if(a&1){var b=v();H(0,"b-button",18);Q("onAction",function(){x(b);var c=R();return z(c.openInEstado())});L(1,"b-icon",19);F(2,G5a,2,0,"span",20);K()}a&2&&(a=R(),G("size",a.hasSelectedIssues()?"large":"medium")("format",a.hasSelectedIssues()?"icon":"flat"),A(2),G("ngIf",!a.hasSelectedIssues()))},I5a=function(a){if(a&1){var b=v();H(0,"b-comment-box",28);Q("commentChange",function(c){x(b);var d=R(2);return z(d.comment=c)})("onSubmit",
function(){x(b);var c=R(2);return z(vWa(c))});K()}a&2&&(a=R(2),G("comment",a.comment)("showToolbar",!1))},J5a=function(a){if(a&1){var b=v();H(0,"div",29)(1,"b-recaptcha",30);Q("onUpdate",function(c){x(b);var d=R(2);return z(d.recaptchaResponse=c)});K()()}},K5a=function(a){a&1&&(H(0,"h1",22),T(1,"Add comment"),K(),H(2,"mat-dialog-content"),F(3,I5a,1,2,"b-comment-box",23),L(4,"b-external-warnings",24),K(),F(5,J5a,2,0,"div",25),H(6,"mat-dialog-actions")(7,"button",26),T(8," Cancel "),K(),H(9,"button",
27),T(10," Save "),K()());a&2&&(a=R(),A(3),G("ngIf",a.comment),A(1),G("externalWarnings",a.externalWarnings),A(1),G("ngIf",a.enableRecaptcha),A(2),G("mat-dialog-close",!1),A(2),G("disabled",a.enableRecaptcha&&""===a.recaptchaResponse)("mat-dialog-close",!0))},L5a=function(a){if(a&1){var b=v();H(0,"div",7)(1,"button",8);Q("click",function(){x(b);var c=R();return z(c.onPressSave())});T(2," Save ");K();H(3,"button",9);Q("click",function(){x(b);var c=R();return z(c.onPressRevert())});T(4," Revert changes ");
K()()}a&2&&(a=R(),A(1),G("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving()||a.isInvalid())("matTooltip",a.isInvalid()?"Invalid form data":a.hasNoChanges()?"No changes":"Save these changes"),A(2),G("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Go back to the last saved state"))},M5a=function(a){if(a&1){var b=v();H(0,"div",7)(1,"button",8);Q("click",function(){x(b);var d=R();return z(d.save())});T(2," Save ");K();H(3,
"button",9);Q("click",function(){x(b);var d=R();return z(d.revert())});T(4," Revert changes ");K();L(5,"hotlist-archive-btn",10);W(6,"async");K()}if(a&2){a=R();var c;A(1);G("disabled",a.hasNoChanges()||a.fridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Save these changes");A(2);G("disabled",a.hasNoChanges()||a.fridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Go back to the last saved state");A(2);G("hotlistId",null!==(c=X(6,5,a.id$))&&void 0!==c?c:void 0)}},N5a=function(a,
b){a&1&&(M(0),T(1),N());a&2&&(a=b.$implicit,A(1),V(" ",a.name," "))},O5a=function(a){a&1&&(H(0,"strong",4),T(1,"(archived)"),K())},P5a=function(a){a&1&&L(0,"b-spinner")},Q5a=function(a){a&1&&(L(0,"hotlist-add-issue-btn",5),W(1,"async"));if(a&2){a=R();var b;G("hotlistId",null!==(b=X(1,1,a.id$))&&void 0!==b?b:void 0)}},R5a=function(a){a&1&&(H(0,"p",8),T(1," This hotlist cannot be edited because you are not an administrator of it. "),K())},S5a=function(a){a&1&&(M(0),L(1,"b-edit-hotlist-toolbar",1),H(2,
"div",2),L(3,"b-edit-hotlist-header",1),H(4,"mat-tab-group",3)(5,"mat-tab",4),L(6,"b-edit-hotlist-basic",5),W(7,"async"),K(),H(8,"mat-tab",6),L(9,"b-edit-hotlist-acl",5),W(10,"async"),K()(),F(11,R5a,2,0,"p",7),W(12,"async"),K(),N());a&2&&(a=R(),A(1),G("hotlistId",a.id),A(2),G("hotlistId",a.id),A(1),G("selectedIndex",a.tabIndex),A(2),G("hotlistId",a.id)("isReadOnly",!1===X(7,8,a.isAdmin$)),A(3),G("hotlistId",a.id)("isReadOnly",!1===X(10,10,a.isAdmin$)),A(2),G("ngIf",!1===X(12,12,a.isAdmin$)))},T5a=
function(a,b){a&1&&(M(0),L(1,"empty-toolbar"),H(2,"div",9)(3,"h2"),T(4,"Error"),K(),H(5,"p"),T(6),K()(),N());a&2&&(a=b.$implicit,A(6),$f(a))},U5a=function(a){a&1&&(H(0,"b-callout",1)(1,"b-callout-body"),T(2),K()());a&2&&(a=R(),A(2),$f(a.error))},V5a=function(a){a&1&&Rf(0)},W5a=function(a){a&1&&(H(0,"span"),T(1,"Details"),K())},X5a=function(a){a&1&&(H(0,"span"),T(1,"Members"),K())},Z5a=function(a){a&1&&(H(0,"div",13)(1,"a",14),F(2,W5a,2,0,"span",15)(3,X5a,2,0,"span",15),K()());if(a&2){a=R(2);A(1);
if(void 0===a.email)var b="";else{b=encodeURIComponent(a.getName());var c=encodeURIComponent(a.email);b=Y5a(a.email)?"https://ganpati2.corp.google.com/group/"+b+".corp":CBa(a.email)?"https://twosync.corp.google.com/rosterz/"+c:"https://groups.google.com/a/google.com/forum/#!members/"+b}G("href",b,Wd);A(1);G("ngIf",Y5a(a.email));A(1);G("ngIf",!Y5a(a.email))}},$5a=function(a){a&1&&(M(0),H(1,"span",2),F(2,V5a,1,0,"ng-container",3),K(),H(3,"onedev-hovercard",null,4)(5,"div",5)(6,"div",6)(7,"div",7)(8,
"div",8)(9,"div",9)(10,"h3"),T(11),K()(),H(12,"div",10),L(13,"mat-icon",11),H(14,"span"),T(15),K()()(),F(16,Z5a,4,3,"div",12),K()()()(),N());if(a&2){var b=S(4);a=R();var c=S(2);A(1);G("onedevHovercardTrigger",b);A(1);G("ngTemplateOutlet",c);A(9);$f(a.getName());A(4);$f(a.email);A(1);G("ngIf",a.shouldShowLinks())}},a6a=function(a){a&1&&Wf(0)},b6a=function(a,b){a&1&&L(0,"mat-icon",8);a&2&&G("svgIcon",b.ngIf)},c6a=function(a){a&1&&(H(0,"b-person-hovercard",9),T(1),K());a&2&&(a=R(),G("email",a.value),
A(1),V(" ",a.displayText," "))},d6a=function(a){a&1&&(H(0,"b-group-email-card",9),T(1),K());a&2&&(a=R(),G("email",a.value),A(1),V(" ",a.displayText," "))},e6a=function(a){a&1&&(H(0,"div"),T(1),K());a&2&&(a=R(),A(1),V(" ",a.displayText," "))},f6a=function(a){if(a&1){var b=v();H(0,"div",10);Q("click",function(){x(b);var c=R();return z(c.chipRemove.emit())})("keydown.enter",function(){x(b);var c=R();return z(c.chipRemove.emit())});L(1,"mat-icon",11);K()}a&2&&(a=R(),Xf("matTooltip","'Remove ",a.displayText,
"'"),Af("aria-label","Remove "+a.displayText))},g6a=function(a,b){a&1&&(H(0,"div",19),L(1,"b-contact-chip",20),K());a&2&&(a=b.$implicit,b=R(2),A(1),G("value",a.value)("detailedUserType",a.detailedUserType)("principalType",a.principalType)("accessLevel",b.accessLevel)("displayText",a.displayText))},h6a=function(a){a&1&&(H(0,"div",12)(1,"div",13)(2,"div",14),F(3,g6a,2,5,"div",15),H(4,"div",16),L(5,"div",17)(6,"div",18),K()()()());a&2&&(a=R(),A(3),G("ngForOf",a.nestedChips))},i6a=function(a){a&1&&(M(0),
T(1,", "),N())},j6a=function(a,b){a&1&&(M(0),T(1),F(2,i6a,2,0,"ng-container",14),N());if(a&2){a=b.$implicit;b=b.last;var c=R(2);A(1);V(" ",c.convertUserToString(a)," ");A(1);G("ngIf",!b)}},k6a=function(a,b){if(a&1){var c=v();H(0,"tr",7);Q("click",function(){var e=x(c).$implicit,f=R();return z(f.editHotlist(e))})("focus",function(){var e=x(c).index,f=R();return z(f.setFocusOnIndex(e))});L(1,"td",2);H(2,"td",8)(3,"a",9);Q("click",function(e){return e.stopPropagation()});T(4);K()();H(5,"td",10);T(6);
K();H(7,"td",11);F(8,j6a,3,2,"ng-container",12);K();H(9,"td",13);T(10);K()()}if(a&2){a=b.$implicit;b=b.index;var d=R();Jf("grid-focus",d.isFocused(b));Af("aria-selected",d.isFocused(b))("aria-label",d.renderRowLabel(b));A(3);G("href",d.paths.editHotlist(a.hotlistId),Wd);A(1);V(" ",a.name," ");A(2);V(" ",a.description," ");A(2);G("ngForOf",a.adminUsers);A(2);V(" ",a.hotlistId," ")}},l6a=function(a){if(a&1){var b=v();H(0,"button",9);Q("click",function(){x(b);var c=R(2);return z(c.appEvents.dashboardPanels.moveToTop.next(c.panelId))});
T(1," Move to top ");K()}},m6a=function(a){if(a&1){var b=v();H(0,"button",10);Q("click",function(){x(b);var c=R(2);return z(c.appEvents.dashboardPanels.moveUp.next(c.panelId))});T(1," Move up ");K()}},n6a=function(a){if(a&1){var b=v();H(0,"button",11);Q("click",function(){x(b);var c=R(2);return z(c.appEvents.dashboardPanels.moveDown.next(c.panelId))});T(1," Move down ");K()}},o6a=function(a){if(a&1){var b=v();H(0,"button",12);Q("click",function(){x(b);var c=R(2);return z(c.appEvents.dashboardPanels.moveToBottom.next(c.panelId))});
T(1," Move to bottom ");K()}},p6a=function(a){if(a&1){var b=v();F(0,l6a,2,0,"button",4)(1,m6a,2,0,"button",5)(2,n6a,2,0,"button",6)(3,o6a,2,0,"button",7);H(4,"button",8);Q("click",function(){x(b);var c=R();return z(c.removePanel())});T(5," Remove ");K()}a&2&&(a=R(),G("ngIf",!a.first),A(1),G("ngIf",!a.first),A(1),G("ngIf",!a.last),A(1),G("ngIf",!a.last))},q6a=function(a){a&1&&(yd(),rd.currentNamespace=null,M(0),T(1,"Insights"),N())},r6a=function(a){if(a&1){var b=v();H(0,"b-insights-graph-menu",2);
Q("openSidebar",function(d){x(b);var e=R(2);return z(e.openSidebar(d.panel))});K()}if(a&2){a=R().ngIf;var c=R();G("availablePanels",a)("iconOnly",c.iconOnly)("buttonClassname",c.buttonClassname)}},s6a=function(a){a&1&&(M(0),F(1,r6a,1,3,"b-insights-graph-menu",1),W(2,"async"),N());a&2&&(a=R(),A(1),G("ngIf",X(2,1,a.shouldShowInsightsGraphMenu$)))},t6a=function(a){a&1&&L(0,"edit-issue-metadata",5);a&2&&(a=R(),G("issueId",a.issueId))},u6a=function(a){a&1&&(H(0,"span"),T(1),K());a&2&&(a=R(),Af("title",
a.getValue()),A(1),V(" ",a.getValue(),"\n"))},v6a=function(a){a&1&&L(0,"b-custom-field-value-display",2);a&2&&(a=R(),G("customFieldValue",a.getCustomFieldValue()))},w6a=function(a){a&1&&(H(0,"button",5,6),L(2,"mat-icon",7),K());if(a&2){a=R();var b=S(2);G("matTooltip",a.buttonLabel)("matMenuTriggerFor",b);Af("aria-label",a.buttonLabel);A(2);G("svgIcon",a.buttonIcon)}},x6a=function(a){a&1&&(H(0,"div",8),T(1),K());a&2&&(a=R(),A(1),$f(a.header))},y6a=function(a){a&1&&L(0,"mat-icon",7);a&2&&(a=R(2).$implicit,
G("svgIcon",a.icon))},z6a=function(a){a&1&&(H(0,"span",14),T(1),K());a&2&&(a=R(2).$implicit,A(1),$f(a.hintText))},A6a=function(a){a&1&&L(0,"mat-icon",7);a&2&&(a=R(2).$implicit,G("svgIcon",a.icon))},B6a=function(a){a&1&&(H(0,"span",14),T(1),K());a&2&&(a=R(2).$implicit,A(1),$f(a.hintText))},C6a=function(a){if(a&1){var b=v();H(0,"button",17);Q("click",function(d){x(b);var e=R().$implicit,f=R(3);return z(f.onAction(d,e))})("mouseup",function(d){x(b);var e=R().$implicit,f=R(3);return z(f.onAction(d,e))});
F(1,A6a,1,1,"mat-icon",11);T(2);F(3,B6a,2,1,"span",12);K()}if(a&2){a=R().$implicit;var c=R(2).$implicit;G("disabled",a.disabled)("ngClass",c.className);Af("title",a.title);A(1);G("ngIf",a.icon);A(1);V(" ",a.label," ");A(1);G("ngIf",a.hintText)}},D6a=function(a){if(a&1){var b=v();H(0,"button",18);Q("click",function(d){x(b);var e=R().$implicit,f=R(3);return z(f.onAction(d,e))})("mouseup",function(d){x(b);var e=R().$implicit,f=R(3);return z(f.onAction(d,e))});H(1,"span",19);L(2,"mat-icon",20);K();T(3);
K()}if(a&2){a=R().$implicit;var c=R(2).$implicit;Jf("b-menu-item-checked",a.selected);G("disabled",a.disabled)("ngClass",c.className);Af("title",a.title);A(3);V(" ",a.label," ")}},E6a=function(a,b){a&1&&(M(0),F(1,C6a,4,6,"button",15)(2,D6a,4,6,"button",16),N());a&2&&(a=b.$implicit,A(1),G("ngIf","action"===a.type),A(1),G("ngIf","select"===a.type))},F6a=function(a){a&1&&(M(0),H(1,"button",10),F(2,y6a,1,1,"mat-icon",11),T(3),F(4,z6a,2,1,"span",12),K(),H(5,"mat-menu",null,13),F(7,E6a,3,2,"ng-container",
4),K(),N());if(a&2){var b=S(6);a=R().$implicit;var c=R();A(1);G("matMenuTriggerFor",b);A(1);G("ngIf",a.icon);A(1);V(" ",a.label," ");A(1);G("ngIf",a.hintText);A(3);G("ngForOf",a.items)("ngForTrackBy",c.trackByIndex)}},G6a=function(a){a&1&&L(0,"mat-icon",7);a&2&&(a=R(3).$implicit,G("svgIcon",a.icon))},H6a=function(a){a&1&&(H(0,"span",14),T(1),K());a&2&&(a=R(3).$implicit,A(1),$f(a.hintText))},I6a=function(a){if(a&1){var b=v();H(0,"button",17);Q("click",function(c){x(b);var d=R(2).$implicit,e=R();return z(e.onAction(c,
d))})("mouseup",function(c){x(b);var d=R(2).$implicit,e=R();return z(e.onAction(c,d))});F(1,G6a,1,1,"mat-icon",11);T(2);F(3,H6a,2,1,"span",12);K()}a&2&&(a=R(2).$implicit,G("disabled",a.disabled)("ngClass",a.className),Af("title",a.title),A(1),G("ngIf",a.icon),A(1),V(" ",a.label," "),A(1),G("ngIf",a.hintText))},J6a=function(a){if(a&1){var b=v();H(0,"button",18);Q("click",function(c){x(b);var d=R(2).$implicit,e=R();return z(e.onAction(c,d))})("mouseup",function(c){x(b);var d=R(2).$implicit,e=R();return z(e.onAction(c,
d))});H(1,"span",19);L(2,"mat-icon",20);K();T(3);K()}a&2&&(a=R(2).$implicit,Jf("b-menu-item-checked",a.selected),G("disabled",a.disabled)("ngClass",a.className),Af("title",a.title)("aria-label",a.label+" results per page"),A(3),V(" ",a.label," "))},K6a=function(a){a&1&&(M(0),F(1,I6a,4,6,"button",15)(2,J6a,4,7,"button",16),N());a&2&&(a=R().$implicit,A(1),G("ngIf","action"===a.type),A(1),G("ngIf","select"===a.type))},L6a=function(a,b){a&1&&(M(0),F(1,F6a,8,6,"ng-container",9)(2,K6a,3,2,"ng-container",
9),N());a&2&&(a=b.$implicit,A(1),G("ngIf","submenu"===a.type),A(1),G("ngIf","submenu"!==a.type))},M6a=function(a){a&1&&L(0,"b-actions-menu",7);a&2&&(a=R(),G("menuItems",a.menuItems))},N6a=function(a){a&1&&(H(0,"span",8)(1,"strong"),T(2),K(),T(3,"\u00a0of\u00a0"),H(4,"strong"),T(5),K()());a&2&&(a=R(),A(2),ag("",a.searchResults.startIndex,"\u00a0-\u00a0",a.searchResults.endIndex,""),A(3),$f(a.searchResults.totalText))},O6a=function(a){a&1&&(H(0,"div"),T(1," Hotlist not found. "),K())},P6a=function(a){a&
1&&(H(0,"div"),T(1," Loading details... "),K())},Q6a=function(a){a&1&&L(0,"b-panel-controls",11);a&2&&(a=R(2),G("panelId",a.panel.panelId))},R6a=function(a){a&1&&(H(0,"span",12),T(1," \u00a0(changed) "),K())},S6a=function(a){a&1&&(H(0,"div"),F(1,Q6a,1,1,"b-panel-controls",6),H(2,"span",7),T(3," Hotlist: "),H(4,"a",8)(5,"span",9),T(6),K()()(),F(7,R6a,2,0,"span",10),K());a&2&&(a=R(),A(1),G("ngIf",a.isDashboardEditable),A(3),G("href",a.paths.viewHotlist(a.hotlistId),Wd),A(1),Yf("matTooltip",a.resource.description),
A(1),$f(a.resource.name),A(1),G("ngIf",a.hasParamChanges()))},T6a=function(a){if(a&1){var b=v();H(0,"div",13)(1,"button",14);Q("click",function(){x(b);var c=R();return z(c.save())});T(2,"Save ");K();H(3,"button",15);Q("click",function(){x(b);var c=R();return z(c.discardChanges())});T(4," Discard changes ");K()()}},U6a=function(a){a&1&&(H(0,"span"),T(1),K());a&2&&(a=R(3),A(1),V(" Searching for ",a.searchParams.query," ..."))},V6a=function(a){a&1&&(H(0,"div",19),L(1,"b-spinner",20),F(2,U6a,2,1,"span",
3),K());a&2&&(a=R(2),A(1),G("large",!1),A(1),G("ngIf",a.searchParams&&(null==a.searchParams?null:a.searchParams.query)))},W6a=function(a){a&1&&(H(0,"div",21),T(1," No issues in hotlist. "),K())},Y6a=function(a){if(a&1){var b=v();H(0,"div",22)(1,"b-issues-grid",23);Q("init",function(c){x(b);var d=R(2);return z(X6a(d,c))})("focusedRowIndexChange",function(c){x(b);var d=R(2);return z(d.focusedRowIndex=c)})("columnsChange",function(c){x(b);var d=R(2);return z(d.issueColumns=c)})("sortChange",function(c){x(b);
var d=R(2);return z(d.setSort(c.field,c.direction))})("onRowDragDrop",function(c){x(b);var d=R(2);return z(d.repositionIssue(c.srcIndex,c.destIndex))})("rowClick",function(c){x(b);var d=R(2);return z(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){x(b);var c=R(2);return z(c.goToPage(c.page+1))})("onPrevPage",function(){x(b);var c=R(2);return z(c.goToPage(c.page-1))});K()()}a&2&&(a=R(2),A(1),G("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",
a.isColumnSaveEnabled)("sort",a.getSort()))},Z6a=function(a){a&1&&(H(0,"div"),F(1,V6a,3,2,"div",16)(2,W6a,2,0,"div",17)(3,Y6a,2,5,"div",18),K());a&2&&(a=R(),A(1),G("ngIf",a.isLoading),A(1),G("ngIf",!a.isLoading&&!(null==a.searchResults?0:null==a.searchResults.issues?0:a.searchResults.issues.length)),A(1),G("ngIf",!a.isLoading&&(null==a.searchResults?null:null==a.searchResults.issues?null:a.searchResults.issues.length)))},$6a=function(a){a&1&&(H(0,"div"),T(1," Saved search not found. "),K())},a7a=
function(a){a&1&&(H(0,"div"),T(1," Loading details... "),K())},b7a=function(a){a&1&&L(0,"b-panel-controls",11);a&2&&(a=R(2),G("panelId",a.panel.panelId))},c7a=function(a){a&1&&(H(0,"span",12),T(1," \u00a0(changed) "),K())},d7a=function(a){a&1&&(H(0,"div",6),F(1,b7a,1,1,"b-panel-controls",7),H(2,"span",6),T(3," Saved search: "),H(4,"a",8)(5,"span",9),T(6),K()()(),F(7,c7a,2,0,"span",10),K());a&2&&(a=R(),A(1),G("ngIf",a.isDashboardEditable),A(3),G("href",a.paths.viewSavedSearch(a.savedSearchId),Wd),
A(1),Yf("matTooltip",a.resource.description),A(1),$f(a.resource.name),A(1),G("ngIf",a.hasParamChanges()))},e7a=function(a,b){a&1&&(H(0,"span"),T(1),K());a&2&&(a=b.ngIf,A(1),V("Searching for ",a,"..."))},f7a=function(a){a&1&&(H(0,"div",16),L(1,"b-spinner",17),F(2,e7a,2,1,"span",3),K());a&2&&(a=R(2),A(1),G("large",!1),A(1),G("ngIf",null==a.searchParams?null:a.searchParams.query))},g7a=function(a){a&1&&(H(0,"div",18),T(1," No issues in saved search. "),K())},h7a=function(a){if(a&1){var b=v();H(0,"div",
19)(1,"b-issues-grid",20);Q("init",function(c){x(b);var d=R(2);return z(X6a(d,c))})("focusedRowIndexChange",function(c){x(b);var d=R(2);return z(d.focusedRowIndex=c)})("columnsChange",function(c){x(b);var d=R(2);return z(d.columnsChange(c))})("sortChange",function(c){x(b);var d=R(2);return z(d.setSort(c.field,c.direction))})("rowClick",function(c){x(b);var d=R(2);return z(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){x(b);var c=R(2);return z(c.goToPage(c.page+1))})("onPrevPage",function(){x(b);
var c=R(2);return z(c.goToPage(c.page-1))});K()()}a&2&&(a=R(2),A(1),G("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",a.isColumnSaveEnabled)("sort",a.getSort()))},i7a=function(a){a&1&&(H(0,"div"),F(1,f7a,3,2,"div",13)(2,g7a,2,0,"div",14)(3,h7a,2,5,"div",15),K());a&2&&(a=R(),A(1),G("ngIf",a.isLoading),A(1),G("ngIf",!a.isLoading&&a.searchResults&&0===a.searchResults.issues.length),A(1),G("ngIf",!a.isLoading&&a.searchResults&&0!==a.searchResults.issues.length))},
j7a=function(a,b){a&1&&(H(0,"span",3)(1,"a",4),T(2),K()());a&2&&(a=b.$implicit,A(1),Xf("routerLink","/teams/",a.id,"/edit"),G("preserveFragment",!0),A(1),$f(a.name))},k7a=function(a){a&1&&(H(0,"p")(1,"span",6),T(2,"NOTE:"),K(),T(3),H(4,"a",7),T(5,"Learn more"),K()());a&2&&(a=R(),A(3),V(" ",a.data.noteText," "),A(1),G("href",a.getDisablingFieldsHelpLink(),Wd))},l7a=function(a){a&1&&(M(0),L(1,"span",26)(2,"b-icon",27),N());a&2&&(a=R(),A(1),G("innerHTML",a.menuLabel,Vd))},m7a=function(a){a&1&&(H(0,"div",
28),T(1," This includes emails about major updates and: "),H(2,"ul",29)(3,"li"),T(4,"All title, hotlist, and status changes."),K(),H(5,"li"),T(6,"Blocking, Blocked By, or Duplicate changes."),K(),H(7,"li"),T(8,"Changes to Reporter, Verifier, and CCs."),K(),H(9,"li"),T(10,"Changes to Type, Found In, Targeted To, Verified In, and In Prod. "),K(),H(11,"li"),T(12,"Changes to custom fields marked as minor."),K()()())},n7a=function(a){a&1&&(H(0,"div",30),T(1," This includes emails about: "),H(2,"ul",29)(3,
"li"),T(4,"New comments."),K(),H(5,"li"),T(6,"New status updates."),K(),H(7,"li"),T(8,"Priority or Severity changes."),K(),H(9,"li"),T(10,"Assignee changes."),K(),H(11,"li"),T(12,"Component changes."),K(),H(13,"li"),T(14,"Issue closure or reopening."),K(),H(15,"li"),T(16,"Changes to custom fields marked as major."),K()()())},o7a=function(a,b){a&1&&(H(0,"mat-option",6),T(1),K());a&2&&(a=b.$implicit,G("value",a),A(1),V(" ",a.name," "))},p7a=function(a){a&1&&(H(0,"span",12),T(1," (must be between 30 days and 20 years) "),
K())},r7a=function(a){if(a&1){var b=v();H(0,"div",13)(1,"b-duration-picker",14);Q("durationDaysChange",function(c){x(b);var d=R();d.model.retentionPeriodDays=null!==c&&void 0!==c?c:null;d.modelChange.emit(d.model);wq(d);return z()});K();H(2,"div",15);T(3);K()()}a&2&&(a=R(),A(1),G("disabled",a.issueRetentionDisabled)("durationDays",a.model.retentionPeriodDays),A(2),V(" Issues will be marked for deletion when they have not been modified for ",q7a(a.model.retentionPeriodDays),". "))},s7a=function(a){a&
1&&(H(0,"div",16)(1,"p"),T(2,"Please note this extended retention is not appropriate in many circumstances. Before selecting this option, you should make sure "),H(3,"b"),T(4,"one or more"),K(),T(5," of the following is true:"),K(),H(6,"ol")(7,"li"),T(8,"There is no personal data, user data, or any other forms of sensitive data being stored."),K(),H(9,"li"),T(10,"You have a process in place to manually delete this data within an approved period of time."),K(),H(11,"li"),T(12,"Legal and Privacy have approved this non-standard retention period."),
K()()())},t7a=function(a){a&1&&(H(0,"div",17)(1,"p"),T(2,"Please note indefinite retention is not appropriate in many circumstances. Before selecting this option, you should make sure "),H(3,"b"),T(4,"one or more"),K(),T(5," of the following is true:"),K(),H(6,"ol")(7,"li"),T(8,"There is no personal data, user data, or any other forms of sensitive data being stored."),K(),H(9,"li"),T(10,"You have a process in place to manually delete this data within an approved period of time."),K(),H(11,"li"),T(12,
"Legal and Privacy have approved this non-standard retention period."),K()()())},u7a=function(a){a&1&&(H(0,"span",12),T(1," (Issue Retention is shorter than default Restricted Retention) "),K())},w7a=function(a){a&1&&(H(0,"span",12),T(1),K());a&2&&(a=R(),A(1),V(" ",v7a(a)," "))},x7a=function(a){a&1&&(H(0,"div",23)(1,"p"),T(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."),
K()())},z7a=function(a){if(a&1){var b=v();H(0,"div",13)(1,"div")(2,"span",18);T(3,"Restricted retention:");K();H(4,"b-duration-picker",19);Q("durationDaysChange",function(c){x(b);var d=R();d.model.piiRetentionPeriodDays=null!==c&&void 0!==c?c:null;d.modelChange.emit(d.model);wq(d);return z()});K()();H(5,"div",20)(6,"p");T(7);K()();H(8,"div")(9,"span",18);T(10,"Restricted+ retention:");K();H(11,"b-duration-picker",21);Q("durationDaysChange",function(c){x(b);var d=R();d.model.spiiRetentionPeriodDays=
null!==c&&void 0!==c?c:null;d.modelChange.emit(d.model);wq(d);return z()});K()();H(12,"div",20)(13,"p");T(14);K()();F(15,x7a,3,0,"div",22);K()}a&2&&(a=R(),A(4),G("disabled",!xq(a))("durationDays",a.model.piiRetentionPeriodDays),A(3),V(" Restricted comments and attachments will be marked for deletion when the containing issue has not been modified for ",q7a(a.model.piiRetentionPeriodDays),". "),A(4),G("disabled",!xq(a))("durationDays",a.model.spiiRetentionPeriodDays),A(3),V(" Restricted+ comments and attachments will be marked for deletion when the containing issue has not been modified for ",
q7a(a.model.spiiRetentionPeriodDays),". "),A(1),G("ngIf",a.model.piiRetentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&y7a(a)))},A7a=function(a){a&1&&(H(0,"div",24)(1,"p"),T(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."),K()())},B7a=function(a,b,
c){a=a.slice(b);c=yq(a,c,"[()|]","[()|,\\s]");c.idx+=b;return c},yq=function(a,b,c,d){var e=a.slice(0,b);e=(e=C7a(e,c))&&e.index||0;var f=a.slice(b);c=(new RegExp(d||c,"gi")).exec(f);return{val:a.slice(e,(c?c.index:f.length)+b),idx:e}},C7a=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},zq=function(a,b){return(void 0===b?0:b)?-1<a.search(/^\d+\+?$/):-1<a.search(/^\d+$/)},D7a=function(a){return"-"===a.charAt(0)?{negated:!0,token:a.slice(1)}:
{negated:!1,token:a}},Aq=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(q){q=q.name.toLowerCase();return q!==e||d?c?q.startsWith(e):ka(q,e):!1});b=b.idx;for(var f=b+e.length,h=l(a),k=h.next();!k.done;k=h.next())k=k.value.completionCfg,k.startIdx=b,k.endIdx=f,k.matchingString=e;return a},Bq=function(a){var b=a.name,c=a.label,d=a.type,e=a.enableShadowPlaceholder,f=a.id,h;return{trackId:(null!=(h=a.trackIdPrefix)?h:d)+":"+b,name:b,id:null!=f?f:b,label:c,
completionCfg:{enableShadowPlaceholder:null!=e?e:!0,completionValue:null!=f?f:b,type:d}}},G7a=function(a,b){if(a&1){var c=v();H(0,"div",9)(1,"div",10);Q("click",function(d){var e=x(c).$implicit,f=R();e=e.key;if(d=void 0===d?null:d)d.preventDefault(),d.stopPropagation();d=f.options.propertyValues[e];d.value=!d.value;E7a(f);F7a(f);f.optionsChange.emit(f.options);return z()});H(2,"mat-checkbox",11);Q("change",function(d){var e=x(c).$implicit,f=R();e.value.value=d.checked;E7a(f);F7a(f);f.optionsChange.emit(f.options);
return z()})("click",function(d){return d.stopPropagation()});T(3);K()()()}a&2&&(a=b.$implicit,Af("aria-checked",a.value.value),A(2),G("checked",a.value.value),A(1),V(" ",a.value.displayString," "))},H7a=function(a){a&1&&(H(0,"div",12),T(1),K());a&2&&(a=R(),A(1),V(" ",a.errorString," "))},J7a=function(a){if(a&1){var b=v();H(0,"span",4)(1,"input",5);Q("ngModelChange",function(c){x(b);var d=R(2);return z(d.businessDayString=c)})("ngModelChange",function(){x(b);var c=R(2);return z(I7a(c))});K();H(2,
"span",8);T(3,"days,");K()()}a&2&&(a=R(2),A(1),Jf("ng-invalid",!!a.errorString),G("ngModel",a.businessDayString))},L7a=function(a,b){a&1&&(H(0,"mat-option",9),T(1),K());a&2&&(a=b.$implicit,b=R(2),G("value",a),A(1),V(" ",K7a(b,a)," "))},Q7a=function(a){if(a&1){var b=v();H(0,"span",2);F(1,J7a,4,3,"span",3);H(2,"span",4)(3,"input",5);Q("ngModelChange",function(c){x(b);var d=R();return z(d.intervalString=c)})("ngModelChange",function(){x(b);var c=R();return z(I7a(c))});K();H(4,"mat-select",6);Q("ngModelChange",
function(c){x(b);var d=R();return z(d.intervalUnit=c)})("selectionChange",function(){x(b);var c=R();M7a(c);N7a(c);return z()});F(5,L7a,2,2,"mat-option",7);K()()()}a&2&&(a=R(),A(1),G("ngIf",O7a(a)),A(2),Jf("invalid",!!a.errorString),G("ngModel",a.intervalString),A(1),G("ngModel",a.intervalUnit),A(1),G("ngForOf",O7a(a)?[Cq,Dq]:[Cq,Dq,P7a]))},R7a=function(a){a&1&&(H(0,"span",13),T(1),K());a&2&&(a=R(2),A(1),ag(" ",a.objectiveBusinessDays," day",1!=a.objectiveBusinessDays?"s":""," "))},S7a=function(a){a&
1&&(H(0,"span"),T(1,", "),K())},T7a=function(a){a&1&&(H(0,"span"),F(1,S7a,2,0,"span",12),H(2,"span"),T(3),K()());a&2&&(a=R(2),A(1),G("ngIf",a.objectiveBusinessDays),A(2),ag("",a.intervalString," ",K7a(a,a.intervalUnit),""))},U7a=function(a){a&1&&(H(0,"span",10),F(1,R7a,2,2,"span",11)(2,T7a,4,3,"span",12),K());a&2&&(a=R(),A(1),G("ngIf",a.objectiveBusinessDays),A(1),G("ngIf",a.intervalString&&"0"!=a.intervalString))},W7a=function(a){if(a&1){var b=v();H(0,"b-icon",22);Q("click",function(){x(b);var c=
R(2);return z(V7a(c,0))});K()}a&2&&G("name","add")("size","small")},Y7a=function(a){if(a&1){var b=v();H(0,"span",17)(1,"span",18)(2,"span",19);F(3,W7a,1,2,"b-icon",20);K();H(4,"span",19)(5,"b-icon",21);Q("click",function(c){x(b);var d=R();return z(X7a(d,c))});K()()()()}a&2&&(a=R(),A(3),G("ngIf",a.canPerformActions),A(2),G("name","delete")("size","small"))},Z7a=function(a){a&1&&L(0,"td",42)},$7a=function(a){if(a&1){var b=v();H(0,"td",43)(1,"slo-element-property-picker",44);Q("optionsChange",function(c){x(b);
var d=R().$implicit;return z(d.typePickerValues=c)});K()()}a&2&&(a=R().$implicit,A(1),G("selectAllText","Any type")("validator",a.validateTypePicker)("options",a.typePickerValues))},a8a=function(a){if(a&1){var b=v();H(0,"td",45)(1,"slo-element-property-picker",46);Q("optionsChange",function(c){x(b);var d=R().$implicit;return z(d.priorityPickerValues=c)});K()()}a&2&&(a=R().$implicit,A(1),G("selectAllText","Any priority")("validator",a.validatePriorityPicker)("options",a.priorityPickerValues))},b8a=
function(a){if(a&1){var b=v();H(0,"td",47)(1,"slo-element-property-picker",48);Q("optionsChange",function(d){x(b);var e=R().$implicit;return z(e.postmortemPickerValues=d)});K()()}if(a&2){a=R().$implicit;var c=R(2);A(1);G("selectAllText",c.postmortemAllSummaryValue)("validator",a.validatePostmortemPicker)("options",a.postmortemPickerValues)}},d8a=function(a,b){a&1&&(H(0,"mat-option",53),T(1),K());a&2&&(a=b.$implicit,R(4),G("value",a),A(1),V(" ",c8a(a)," "))},e8a=function(a){if(a&1){var b=v();H(0,"td",
49)(1,"mat-form-field",50)(2,"mat-select",51);Q("ngModelChange",function(d){x(b);var e=R().$implicit;return z(e.selectedMetric=d)});F(3,d8a,2,2,"mat-option",52);K()()()}if(a&2){a=R().$implicit;var c=R(2);A(2);G("ngModel",a.selectedMetric)("customValidators",a.metricValidators);A(1);G("ngForOf",c.metricChoices)}},f8a=function(a){if(a&1){var b=v();H(0,"td",54)(1,"slo-objective-selector",55);Q("objectiveDurationChange",function(c){x(b);var d=R().$implicit;return z(d.selectedObjectiveDuration=c)})("objectiveBusinessDaysChange",
function(c){x(b);var d=R().$implicit;return z(d.selectedObjectiveBusinessDays=c)});K()()}a&2&&(a=R().$implicit,A(1),G("dayType",a.selectedDayType)("objectiveDuration",a.selectedObjectiveDuration)("objectiveBusinessDays",a.selectedObjectiveBusinessDays)("validator",a.validateObjective)("isDisabled",!1))},h8a=function(a,b){a&1&&(H(0,"mat-option",53),T(1),K());a&2&&(a=b.$implicit,R(4),G("value",a),A(1),V(" ",g8a.get(a||"CALENDAR")," "))},i8a=function(a){if(a&1){var b=v();H(0,"td",56)(1,"mat-form-field",
57)(2,"mat-select",58);Q("ngModelChange",function(d){x(b);var e=R().$implicit;return z(e.selectedDayType=d)})("selectionChange",function(){x(b);var d=R().$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()});F(3,h8a,2,2,"mat-option",52);K()()()}if(a&2){a=R().$implicit;var c=R(2);A(2);G("ngModel",a.selectedDayType);A(1);G("ngForOf",c.dayTypes)}},m8a=function(a){if(a&1){var b=v();H(0,"td",59)(1,"span",18)(2,"span",19)(3,"b-icon",60);Q("click",function(){x(b);var c=R(3);if(c.openRow)if(c.openRow.isValid())j8a(c.openRow.typePickerValues)&&j8a(c.openRow.priorityPickerValues)&&j8a(c.openRow.postmortemPickerValues)?c.confirmationDialogService.open({title:"SLO validation error",content:ch("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}):k8a(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:ch('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()});K()();H(4,"span",19)(5,"b-icon",61);Q("click",function(){x(b);var c=R().$implicit,d=R(2);return z(l8a(d,c))});K()()()()}a&2&&(A(3),G("name","done")("size","small"),A(2),G("name","delete")("size","small"))},n8a=function(a){a&1&&L(0,"td",62)},o8a=function(a){a&1&&(H(0,"div"),T(1),K());a&2&&(a=R(2).$implicit,A(1),V("ERROR: ",a.parseResult.error,""))},p8a=function(a,b){a&1&&(H(0,"span",68)(1,"span",69),T(2),K()());a&2&&(a=b.$implicit,A(2),$f(a))},r8a=function(a){a&1&&
(H(0,"span",66),F(1,p8a,3,1,"span",67),K());if(a&2){a=R(2).$implicit;A(1);if(0===a.parseResult.types.length)a=["Any"];else{for(var b=[],c=l(a.controllerReference.sloParseService.enumTypeToString.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.parseResult.types.includes(d)&&b.push(q8a(a.controllerReference,d));a=b}G("ngForOf",a)}},s8a=function(a){a&1&&(H(0,"td",63),F(1,o8a,2,1,"div",64)(2,r8a,2,1,"span",65),K());a&2&&(a=R().$implicit,A(1),G("ngIf",a.parseResult.error),A(1),G("ngIf",!a.parseResult.error))},
t8a=function(a){a&1&&(H(0,"div"),T(1),K());a&2&&(a=R(2).$implicit,A(1),V("ERROR: ",a.parseResult.error,""))},u8a=function(a,b){a&1&&(H(0,"span",68)(1,"span",69),T(2),K()());a&2&&(a=b.$implicit,A(2),$f(a))},w8a=function(a){a&1&&(H(0,"span",66),F(1,u8a,3,1,"span",67),K());if(a&2){a=R(2).$implicit;A(1);if(0===a.parseResult.priorities.length)a=["Any"];else{for(var b=[],c=l(a.controllerReference.sloParseService.enumPriorityToString.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.parseResult.priorities.includes(d)&&
b.push(v8a(a.controllerReference,d));a=b}G("ngForOf",a)}},x8a=function(a){a&1&&(H(0,"td",70),F(1,t8a,2,1,"div",64)(2,w8a,2,1,"span",65),K());a&2&&(a=R().$implicit,A(1),G("ngIf",a.parseResult.error),A(1),G("ngIf",!a.parseResult.error))},y8a=function(a){a&1&&(H(0,"div"),T(1),K());a&2&&(a=R(2).$implicit,A(1),V("ERROR: ",a.parseResult.error,""))},z8a=function(a,b){a&1&&(H(0,"span",68)(1,"span",69),T(2),K()());a&2&&(a=b.$implicit,A(2),$f(a))},A8a=function(a){a&1&&(H(0,"span",66),F(1,z8a,3,1,"span",67),
K());if(a&2){a=R(2).$implicit;A(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])];G("ngForOf",a)}},B8a=function(a){a&1&&(H(0,"td",71),F(1,y8a,2,1,"div",64)(2,A8a,2,1,"span",65),K());a&2&&(a=R().$implicit,A(1),G("ngIf",a.parseResult.error),A(1),G("ngIf",!a.parseResult.error))},C8a=function(a){a&1&&(H(0,"td",72),T(1),K());a&2&&(a=R().$implicit,
R(2),A(1),V(" ",c8a(a.sloElement.metric)," "))},D8a=function(a){if(a&1){var b=v();H(0,"td",73)(1,"slo-objective-selector",74);Q("objectiveDurationChange",function(c){x(b);var d=R().$implicit;return z(d.selectedObjectiveDuration=c)})("objectiveBusinessDaysChange",function(c){x(b);var d=R().$implicit;return z(d.selectedObjectiveBusinessDays=c)});K()()}a&2&&(a=R().$implicit,A(1),G("dayType",a.selectedDayType)("objectiveDuration",a.selectedObjectiveDuration)("objectiveBusinessDays",a.selectedObjectiveBusinessDays)("isDisabled",
!a.isEditingInternal))},E8a=function(a){a&1&&(H(0,"td",75),T(1),K());a&2&&(a=R().$implicit,R(2),A(1),V(" ",g8a.get(a.sloElement.dayType||"CALENDAR")," "))},G8a=function(a){if(a&1){var b=v();H(0,"b-icon",85);Q("click",function(c){x(b);var d=R(2).$implicit,e=R(2);return z(F8a(e,d,c))});K()}a&2&&G("name","edit")("size","small")},H8a=function(a){a&1&&L(0,"b-icon",86);if(a&2){R();var b=S(8);G("name","more-settings-vertical")("size","small")("matMenuTriggerFor",b)}},J8a=function(a){if(a&1){var b=v();H(0,
"button",87);Q("click",function(){x(b);var c=R(2).$implicit,d=R(2);return z(I8a(d,c,1))});T(1," Move row down ");K()}},K8a=function(a){if(a&1){var b=v();H(0,"button",88);Q("click",function(){x(b);var c=R(2).$implicit,d=R(2);return z(I8a(d,c,-1))});T(1," Move row up ");K()}},M8a=function(a){if(a&1){var b=v();H(0,"td",76)(1,"span",18)(2,"span",19);F(3,G8a,1,2,"b-icon",77);K();H(4,"span",19)(5,"span");F(6,H8a,1,3,"b-icon",78);K();H(7,"mat-menu",null,79);F(9,J8a,2,0,"button",80)(10,K8a,2,0,"button",81);
H(11,"button",82);Q("click",function(){x(b);var d=R().$implicit,e=R(2);V7a(e,e.collection.indexOf(d)+1);return z()});T(12," Add row below ");K();H(13,"button",83);Q("click",function(){x(b);var d=R().$implicit,e=R(2);V7a(e,e.collection.indexOf(d));return z()});T(14," Add row above ");K();H(15,"button",84);Q("click",function(){x(b);var d=R().$implicit,e=R(2);return z(l8a(e,d))});T(16," Remove ");K()()()()()}if(a&2){a=R().$implicit;var c=R(2);A(3);G("ngIf",a.canEdit);A(3);G("ngIf",a.canEdit);A(3);G("ngIf",
L8a(c,a,1).valid);A(1);G("ngIf",L8a(c,a,-1).valid)}},N8a=function(a,b){a&1&&(H(0,"tr",25),F(1,Z7a,1,0,"td",26)(2,$7a,2,3,"td",27)(3,a8a,2,3,"td",28)(4,b8a,2,3,"td",29)(5,e8a,4,3,"td",30)(6,f8a,2,5,"td",31)(7,i8a,4,2,"td",32)(8,m8a,6,4,"td",33)(9,n8a,1,0,"td",34)(10,s8a,3,2,"td",35)(11,x8a,3,2,"td",36)(12,B8a,3,2,"td",37)(13,C8a,2,1,"td",38)(14,D8a,2,4,"td",39)(15,E8a,2,1,"td",40)(16,M8a,17,4,"td",41),K());a&2&&(a=b.$implicit,b=R(2),Jf("draggable",!b.isDisabled&&null==b.openRow),A(1),G("ngIf",a.isEditingInternal),
A(1),G("ngIf",a.isEditingInternal),A(1),G("ngIf",a.isEditingInternal),A(1),G("ngIf",a.isEditingInternal),A(1),G("ngIf",a.isEditingInternal),A(1),G("ngIf",a.isEditingInternal),A(1),G("ngIf",a.isEditingInternal),A(1),G("ngIf",a.isEditingInternal),A(1),G("ngIf",!a.isEditingInternal),A(1),G("ngIf",!a.isEditingInternal),A(1),G("ngIf",!a.isEditingInternal),A(1),G("ngIf",!a.isEditingInternal),A(1),G("ngIf",!a.isEditingInternal),A(1),G("ngIf",!a.isEditingInternal),A(1),G("ngIf",!a.isEditingInternal),A(1),
G("ngIf",!a.isEditingInternal))},O8a=function(a){if(a&1){var b=v();H(0,"tbody",23);Q("cdkDropListDropped",function(c){x(b);var d=R();return z(d.onDrop(c))});F(1,N8a,17,18,"tr",24);K()}a&2&&(a=R(),G("cdkDropListData",a.collection)("cdkDropListDisabled",a.isDisabled||null!=a.openRow),A(1),G("ngForOf",a.collection))},P8a=function(a){a&1&&(H(0,"div",89),T(1," There are currently no rules for this SLO "),K())},Q8a=function(a,b){if(a&1){var c=v();H(0,"tr",7);Q("click",function(){var e=x(c).$implicit,f=
R();return z(f.editSlo(e))})("focus",function(){var e=x(c).index,f=R();return z(f.setFocusOnIndex(e))});L(1,"td",2);H(2,"td",8)(3,"a",9);Q("click",function(e){return e.stopPropagation()});T(4);K()();H(5,"td",10);T(6);K()()}if(a&2){a=b.$implicit;b=b.index;var d=R();Jf("grid-focus",d.isFocused(b));Af("aria-selected",d.isFocused(b))("aria-label",d.renderRowLabel(b));A(3);G("href",d.paths.editSlo(a.sloId),Wd);A(1);V(" ",a.name," ");A(2);V(" ",a.description," ")}},R8a=function(a){if(a)return(Array.isArray(a)?
a.map(function(b){return fi(b)}):[fi(a)]).filter(function(b){return!isNaN(b)})},S8a=function(a,b){if(b&&!Array.isArray(b))return a.find(function(c){return!Eq(c,b)})},T8a=function(a,b){"string"===typeof a&&(a=a.trim())&&b(ti(a))},U8a=function(a,b){if(!a)return[];a=l("string"===typeof a?a.split(","):a);for(var c=a.next();!c.done;c=a.next())T8a(c.value,function(d){return b.push(d)});return pra(b)},V8a=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("De");}},Fq=function(a,b,c){b=[b,c].map(function(d){return null!=d?d:""}).join(";");a.setAttribute("pkd-ac-state",String(ch(b)))},W8a=function(a,b){b=[String(b.getId()),b.getValue()].join(";");a.setAttribute("pkd-target",String(ch(b)))},X8a=function(a,b){a.setAttribute("pkd-ps-state",String(ch("1")));b.warmUpCache().then(function(){a.setAttribute("pkd-ps-state",String(ch("2")))},function(){a.setAttribute("pkd-ps-state",
String(ch("3")))})},a9a=function(a){var b=fp(Y8a,{id:Gq(Z8a)});a.appendChild(b);return new $8a(b)},b9a=function(a,b,c){var d=Math.max(b,c);return a>Math.min(b,c)&&a<d},e9a=function(a){if(Hq){var b=c9a(a);d9a(a,b)}else a.scrollIntoView({block:"nearest"})},g9a=function(a,b,c){return new tq(new f9a(void 0===a?0:a,null!=b?b:[],null!=c?c:null))},Iq=function(a){return(a||"").trim()},Jq=function(a){var b=a.element,c=a.veid,d=a.actions,e=a.pairs;if(b){var f="";d&&d.length&&(f="; track:"+d.join(",").trim());
d="";e&&e.length&&(d="; "+e.join("; ").trim());b.setAttribute("jslog",c+f+d);b.LSWHIf=void 0}b=a.element;a=a.componentId;a=b.getAttribute("jslog").concat("; cid:",a);b.setAttribute("jslog",a)},Lq=function(a){return new Kq(a)},h9a=function(a,b){b=b.ownerDocument.createEvent("CustomEvent");b.initEvent(a,!0,!0);return b},Mq=function(a){return h9a("pcw-click",a)},j9a=function(a){var b;return Object.freeze({id:"ENOWEf",iconUrl:null==(b=i9a.get(a))?void 0:b.get("ENOWEf"),label:"Hide suggestion",keyboardShortcut:[],
veid:181476})},k9a=function(a){return a.map(function(b){if(Nq)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)}})},n9a=function(a,b){var c=Gq(Oq.getInstance()),d=Object,e=d.assign;c=c+":"+a.id;var f=k9a(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("Fe`"+b);}d=fp(l9a,e.call(d,{},a,{id:c,keyboardShortcut:f,densityClass:b}));a.veid&&Jq({element:d,veid:a.veid,actions:["impression","pcw-click"],componentId:"peoplekitweb"});return new m9a(d,a)},p9a=function(a){var b=new o9a([]);return new Pq(a,b)},r9a=function(a,b){return new q9a(a,b)},x9a=function(a,b,c,d,e){var f=s9a(c),h=Qq(a),k=Rq(a);k&&h.intersection(t9a(k));u9a(h,ep(a),ep(c));a=v9a(a,b);b=h.left;a&4?b+=h.width:a&
2&&(b+=h.width/2);h=new Sq(b,h.top+(a&1?h.height:0));h=Tq(h,f);a=v9a(c,d);h=w9a(h,Uq(c),a).rect;c=Rq(c);c.top-=f.y;c.right-=f.x;c.bottom-=f.y;c.left-=f.x;f=h;f.left<c.left?f.left=c.left:f.left+f.width>c.right&&(f.left=c.right-f.width);h=f;e&&(e=h,d&1?e.top<c.top&&(d=c.top-e.top,e.top+=d,e.height-=d):(d=e.top+e.height,d>c.bottom&&(e.height-=d-c.bottom)),h=e);return h},A9a=function(a,b){Vq(a,new Sq(b.left,b.top));b=b.getSize();y9a(Uq(a),b)||z9a(a,b)},B9a=function(a,b){return new Wq(a,b)},Xq=function(a,
b){return a.querySelector('[peoplekit-id="'+b+'"]')},C9a=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"))})},D9a=function(a){return a.closest('[class~="aU4VQc"]')},G9a=function(a,b,c,d){var e=fp(E9a);Jq({element:e,veid:28041,actions:["impression"],componentId:"peoplekitweb"});var f=new F9a(e);a.appendChild(e);return new Yq(e,
b,c,f,d)},J9a=function(a,b){b=fp(H9a,{label:b.label});a.appendChild(b);return new I9a(b)},L9a=function(a,b){for(var c=l(["peoplekitThemeLight","peoplekitThemeDark"]),d=c.next();!d.done;d=c.next())a.classList.remove(d.value);(b=K9a.get(b))&&a.classList.add(b)},O9a=function(a,b,c,d){b=fp(M9a,{content:b,header:d});a.appendChild(b);a=J9a(Xq(b,"TvD9Pc"),{label:"Close"});L9a(b,c.getTheme());return new N9a(b,a)},Q9a=function(a,b){var c=P9a({header:"Couldn't hide suggestion"});var d=Zq("<div>There was a problem and this person could not be hidden</div>");
a=O9a(a,d,b,c);Jq({element:a.getRoot(),veid:131913,actions:["impression"],componentId:"peoplekitweb"});return a},R9a=function(a,b){var c=P9a({header:"Couldn't hide suggestion"});var d=Zq("<div>Groups of 2 or more people can't be hidden</div>");a=O9a(a,d,b,c);Jq({element:a.getRoot(),veid:166230,actions:["impression"],componentId:"peoplekitweb"});return a},S9a=function(a,b){var c=P9a({header:"Couldn't show suggestion"});var d=Zq("<div>There was a problem and this person could not be shown in suggestions</div>");
a=O9a(a,d,b,c);Jq({element:a.getRoot(),veid:184760,actions:["impression"],componentId:"peoplekitweb"});return a},T9a=function(a){var b=new Image;b.src=a;a=b.complete;b.src="";return a},ar=function(a,b,c,d,e,f){e=void 0===e?new $q:e;f=void 0===f?"":f;b=fp(U9a,{imageUrls:b.map(function(h){return h||"https://lh3.googleusercontent.com/a/default-user"}),backupUrl:f||"https://lh3.googleusercontent.com/a/default-user",size:c,preloadSize:d,pixelRatio:V9a()});e=new W9a(b,e);a.appendChild(b);return e},Y9a=
function(a,b){var c="",d=0;b=l(b);for(var e=b.next();!e.done;e=b.next())e=e.value,c=c+a.substring(d,e.getStart())+"#\ufe0f\u20e3\u20e31\ufe0f\u20e3\u20e3"+a.substring(e.getStart(),e.getEnd())+"2\ufe0f\u20e3\u20e3*\ufe0f\u20e3\u20e3",d=e.getEnd();c+=a.substring(d,a.length);return X9a(X9a(Nj(c),"#\ufe0f\u20e3\u20e31\ufe0f\u20e3\u20e3","<b>"),"2\ufe0f\u20e3\u20e3*\ufe0f\u20e3\u20e3","</b>")},Z9a=function(a){var b=a.getDisplayName();return b?Y9a(b,a.getMatchInfo().getDisplayNameMatches()):""},$9a=function(a){var b=
a.getDisplayValue();return b?Y9a(b,a.getMatchInfo().getDisplayValueMatches()):""},a$a=function(a,b){var c=b?Z9a(a):Nj(a.getDisplayName());b=b?$9a(a):Nj(a.getDisplayValue());c=c||b;b=b||Nj(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()]}},d$a=function(a,b,c,d){var e=b.result().getMemberList();1===e.length?(b=a$a(e[0],!1),b={hovercardId:b.hovercardId,label:b.label,
sublabel:b.sublabel,name:"",photos:b.photos}):(e=b.result(),e=a$a(e,!1),b=b.getDisplayNameWithOverrideApplied(),b={label:Nj(b)||e.sublabel,sublabel:e.sublabel,name:b,photos:e.photos,hovercardId:e.hovercardId});var f=b.hovercardId,h=b.name;var k=b.label;var q=b.sublabel;e=Zq;f='<div peoplekit-id="'+br("tJHJj")+'" class="'+br("peoplekitComponentsHideconfirmationdialogImplHeader")+'" data-hovercard-id="'+br(f)+'" data-name="'+br(h)+'"><div class="'+br("peoplekitComponentsHideconfirmationdialogImplHeaderRow")+
'"><div class="'+br("peoplekitComponentsHideconfirmationdialogImplLeft")+'">';h=Zq('<div class="'+br("peoplekitComponentsHideconfirmationdialogImplAvatar")+'"><div class="'+br("peoplekitComponentsHideconfirmationdialogImplAvatarContainer")+'" peoplekit-id="'+br("d6MZcd")+'"></div></div>');f=f+h+'</div><div class="'+br("peoplekitComponentsHideconfirmationdialogImplCenter")+'">';k=Zq('<div class="'+br("peoplekitComponentsHideconfirmationdialogImplLabelContainer")+'"><div peoplekit-id="'+br("E0kCZc")+
'" class="'+br("peoplekitComponentsHideconfirmationdialogImplLabel")+" "+br("peoplekitComponentsHideconfirmationdialogImplLabelRow")+'" translate="no">'+cr(dr(k))+"</div>"+(q?'<div class="'+br("peoplekitComponentsHideconfirmationdialogImplSublabel")+" "+br("peoplekitComponentsHideconfirmationdialogImplLabelRow")+'" translate="no">'+cr(dr(q))+"</div>":"")+"</div>");k=e(f+k+"</div></div></div>");e=0===d?"Hide":"Show";q='<div peoplekit-id="'+br("bN97Pc")+'" class="'+br("peoplekitComponentsHideconfirmationdialogImplContent")+
'"><div class="'+br("peoplekitComponentsHideconfirmationdialogImplHeadline")+'">';q=(0==d?q+"Hide Suggestion?":q+"Show Suggestion?")+('</div><div class="'+br("peoplekitComponentsHideconfirmationdialogImplDescription")+'">');d=Zq((0==d?q+"This person won't be suggested again unless you search for them in Photos.":q+"Suggest this person when showing people results.")+"</div></div>");d=fp(b$a,{content:d,header:k});a.appendChild(d);a=J9a(Xq(d,"IbE0S"),{label:"Cancel"});k=k={confirmButtonText:e};k=k.confirmButtonText;
q="";switch(Aa(k)?k.toString():k){case "Confirm":q+="Confirm";break;case "Hide":q+="Hide";break;case "Show":q+="Show";break;default:q+="Apply"}k=J9a(Xq(d,"McfNlf"),{label:q});L9a(d,c.getTheme());q={element:k.getRoot(),veid:0,actions:["pcw-click","impression"],componentId:"peoplekitweb"};switch(e){case "Hide":q.veid=131909;Jq(q);break;case "Show":q.veid=131910,Jq(q)}a=new c$a(d,a,k);d=Xq(a.getRoot(),"d6MZcd");ar(d,b.photos,36,36,c);return new er(a)},e$a=function(a){switch(a){case 0:return 40;case 1:return 32;
case 2:return 28;default:throw Error("Fe`"+a);}},fr=function(a){switch(a){case 0:return"googleMaterialDefaultDensity";case 1:return"workspaceMaterialComfortableDensity";case 2:return"workspaceMaterialCompactDensity";default:throw Error("Fe`"+a);}},f$a=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},g$a=function(a){var b=a.getCaller(),c=a.getClient();a=a.getRequestType();return b&&c&&a?JSON.stringify([b.serialize(),
c.serialize(),a]):null},h$a=function(a){var b=new gr;if(a instanceof hr)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},kr=function(a){a=void 0===a?null:a;var b=(new ir).setExperimentFlags(new jr).setSource(3);
a&&b.setError(h$a(a));return b},p$a=function(a){var b=void 0===b?new i$a:b;if(j$a)return j$a;var c=new k$a(a),d=new l$a(a);if(b.storage_)try{b.storage_.setItem("__sak","1");b.storage_.removeItem("__sak");var e=!0}catch(f){e=!1}else e=!1;b=e?new lr(a,b):new mr(a);b.clean();c=new m$a(new n$a(b,c),d);return j$a=new o$a(a,c)},r$a=function(a,b,c,d){var e=a$a(a,!0);a=q$a(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}},q$a=function(a,b,c,d){var e=[];Hi(nr.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:Gq(s$a),hovercardId:b.hovercardId,label:b.label,
sublabel:b.sublabel,photos:b.photos,densityClass:d,tags:e,allowSublabelTranslation:!1}},v$a=function(a,b,c){var d="",e=Nj(a.getDescription()),f=!1,h=a.getMemberList().length;if(1<h||a.getDisplayName())d=a.getMemberList().map(function(k){var q="";if(k.getPrimaryTarget().getName()){var t,w;(q=(q=null==(t=k.getPrimaryTarget())?void 0:null==(w=t.getName())?void 0:w.getGivenName())?Y9a(q,k.getMatchInfo().getGivenNameMatches()):"")||(q=Z9a(k))}q||(q=$9a(k));return q}),b&&(d=d.reverse()),d=Z9a(a)||t$a({memberNames:d}),
e||c||null===a.getTotalMemberCount()||(e=u$a({memberCount:Number(a.getTotalMemberCount())}),f=!0);else if(1===h)return e=a.getMemberList()[0],f=a$a(e,!0),Object.assign({},f,{type:a.getPrimaryTarget().getTargetType(),flatResult:e,allowSublabelTranslation:!1});b=a.getPhotoUrl();b=a.getDisplayName()&&b?[b]:a.getMemberList().map(function(k){return k.getPhotoUrl()});return{hovercardId:"",label:d,sublabel:e,type:a.getPrimaryTarget().getTargetType(),photos:b,allowSublabelTranslation:f}},x$a=function(a,b,
c,d,e,f){a=v$a(a,d,e);if(a.flatResult)return f=q$a(a.flatResult,a,b,f),b=f.sublabel,d=f.allowSublabelTranslation,c.customSublabel&&(b=c.customSublabel.sublabel,d=c.customSublabel.shouldAllowTranslation),{id:f.id,hovercardId:f.hovercardId,label:f.label,sublabel:c.shouldHideSublabel?"":b,photos:f.photos,densityClass:f.densityClass,tags:f.tags,type:a.type,allowSublabelTranslation:d};b=a.sublabel;d=a.allowSublabelTranslation;c.customSublabel&&(b=c.customSublabel.sublabel,d=c.customSublabel.shouldAllowTranslation);
return{id:Gq(w$a),hovercardId:a.hovercardId,label:a.label,sublabel:c.shouldHideSublabel?"":b,type:a.type,photos:a.photos,densityClass:f,tags:[],allowSublabelTranslation:d}},z$a=function(a,b,c,d,e,f){return new y$a(a,b,c,d,e,f)},B$a=function(a,b){return new A$a(a,void 0===b?"":b)},C$a=function(a){var b=-1;(a=or(a))&&Ii(a,2)&&(b=Xh(a,2,0));return"index:"+b},I$a=function(a,b){var c=fp(D$a,{icon:b.icon,tooltipLabel:b.tooltipLabel,ariaLabel:b.ariaLabel});a.appendChild(c);var d=c.classList,e=d.add;a:{var f=
b.density||0;switch(f){case 0:f="googleMaterialDefaultDensity";break a;case 1:f="workspaceMaterialComfortableDensity";break a;case 2:f="workspaceMaterialCompactDensity";break a;default:throw Error("Fe`"+f);}}e.call(d,f);if(b.tooltipLabel){d=c.getAttribute("data-tooltip-id")||"";e={label:b.tooltipLabel,ariaLabel:b.ariaLabel};d=fp(E$a,{label:e.label,id:d,ariaLabel:e.ariaLabel});a.appendChild(d);a=e.showDelayMs;e=e.hideDelayMs;a=new pr(d,void 0===a?500:a,void 0===e?300:e);var h=new F$a(d,a);G$a(h,c)}return new H$a(c,
b.icon,b.disabledIcon,h,b.disableDomNavigation,b.onClick)},K$a=function(a,b,c,d){var e=Object.assign({},c);e.onClick=function(f){d.select(a.getSelection(),1);var h;null==(h=c.onClick)||h.call(c,f)};return new J$a(a,b,e)},N$a=function(a,b){var c=(new L$a).filterResult(b.result)===b.result;Hi(b.clientConfig.internal,7,!1)&&c?a=new M$a(a,b.appearanceConfig,b.clientConfig,b.interactions):b.resultCustomizationConfig.secondaryActionButtonConfig&&(a=K$a(a,b.appearanceConfig,b.resultCustomizationConfig.secondaryActionButtonConfig,
b.interactions));return a},O$a=function(a,b){var c=(new L$a).filterResult(b.result)===b.result,d=2<=b.result.getMemberList().length;d=7!==b.result.getResultType()&&!d;Hi(b.clientConfig.internal,7,!1)&&!c&&d&&(a=new qr(a,b.appearanceConfig,b.clientConfig,b.result,b.ariaParent));return a},Q$a=function(){return function(a){var b=a.result,c=a.resultConfig,d=a.resultCustomizationConfig,e=a.appearanceConfig;var f=a.selectionsState;var h=a.clientConfig,k=r$a(b,c,d,fr(e.getDensity())),q=fp(P$a,k);Jq({element:q,
veid:25285,actions:["impression","pcw-select","pcw-deselect"],pairs:[C$a(b.getPrimaryTarget().getLoggingToken())],componentId:"peoplekitweb"});var t=Xq(q,"d6MZcd"),w=e$a(e.getDensity()),y;d=null!=(y=d.backupAvatarUrl)?y:"";e=ar(t,k.photos,w,w,e,d);b=new rr(q,b,f,c,k.tags,e,h);f=new sr(new tr(b,f));return O$a(N$a(f,a),a)}},U$a=function(a){return function(b){var c=b.result,d=b.resultConfig,e=b.appearanceConfig,f=b.resultCustomizationConfig,h=b.isRightToLeft;b=b.clientConfig;var k=c.getPrimaryTarget().getId();
h=ur(k)||vr(k)?x$a(c,d,f,h,Hi(b.internal,6,!1),fr(e.getDensity())):r$a(c,d,f,fr(e.getDensity()));b=Object;k=b.assign;a:switch(a){case 1:var q=R$a();break a;case 2:q=f.showSelectedIndicatorForDisabled?R$a():Zq("");break a;default:q='<div class="'+br("peoplekitComponentsResultlistitemDisabledTextIndicator")+'">',q=Zq(q+"DISABLED</div>")}b=fp(S$a,k.call(b,{},h,{disableReason:q}));k=Xq(b,"d6MZcd");q=e$a(e.getDensity());var t;f=null!=(t=f.backupAvatarUrl)?t:"";e=ar(k,h.photos,q,q,e,f);return new T$a(b,
c,d,h.tags,e)}},W$a=function(a,b,c,d,e,f,h,k,q){b=d.getResultCustomizationCallback()(a,b);var t=!!c.get(a.getPrimaryTarget().getId());if(b.shouldDisable)t=6;else{var w=a.getPrimaryTarget().getId();t=vr(w)?3:ur(w)?2:t&&!d.getAllowResultDeselection()?5:1===a.getTargetList().length?1:1<a.getTargetList().length?4:0}a={result:a,selectionsState:c,resultConfig:d,appearanceConfig:e,clientConfig:f,isRightToLeft:h,interactions:k,resultCustomizationConfig:b,ariaParent:q};c=V$a.get(t);if(!c)throw Error("Re");
return c(a)},Z$a=function(a){var b=Gq(Oq.getInstance());b=fp(X$a,{id:b,header:a});return new Y$a(b,a)},$$a=function(a,b,c){return new wr(a,b,c)},aab=function(a,b,c){return(b=b.getGroupName(c))?new xr(a,b):a},cab=function(a,b,c,d){b=b.getGroupName(c);c=bab();return b&&c.infoGroupConfig?new yr(a,c.infoGroupConfig,d):a},dab=function(a,b,c){b=b.getGroupName(c);c=bab();return b&&c.collapsibleGroupConfig?new zr(a,c.collapsibleGroupConfig):a},gab=function(a,b,c,d,e,f,h,k,q){h=fp(eab,{header:h||""});a.appendChild(h);
a=a9a(Xq(h,"tjneg"));return{resultList:new fab(a,b,c,d,e,f,k,q),list:a}},jab=function(a,b,c,d,e,f,h,k,q,t){a=gab(a,b,c,d,e,k,q,f,t);b=a.resultList;b=new hab(b,a.list,h);return new iab(b,f)},lab=function(a,b,c,d,e,f,h,k,q){k=fp(eab,{header:k||""});a.appendChild(k);a=a9a(Xq(k,"tjneg"));b=new kab(a,b,c,d,e,f,h,q);return new iab(b,f)},mab=function(a){return"XLuqBd"===a.getAttribute("peoplekit-id")},oab=function(a,b){return new nab(a,b)},pab=function(a){return a.map(function(b){return b.getLoggingToken()}).filter(Boolean)},
Ar=function(a){return a.filter(function(b){return!b.isPlaceholder()}).map(function(b){return b.selectionToken().getLoggingToken()}).filter(Boolean)},Br=function(a,b,c,d){var e;d=l(d);for(var f=d.next();!f.done;f=d.next()){f=f.value;try{f(a,b,c)}catch(h){e||(e=h)}}if(e)throw e;},qab=function(a,b,c,d,e){e=l(e);for(var f=e.next();!f.done;f=e.next())f=f.value,f(a,b,c,d)},sab=function(a){if(rab.has(a))return rab.get(a);throw Error("Ve`"+a);},uab=function(a){if(tab.has(a))return tab.get(a);throw Error("We`"+
a);},vab=function(a){for(var b=new Map,c=l(Object.keys(a)),d=c.next();!d.done;d=c.next())d=d.value,b.set(a[d].string,a[d].xid);return b},xab=function(a){return a?a.__owner?a.__owner:a.parentNode&&11===a.parentNode.nodeType?a.parentNode.host:wab(a):null},yab=function(a,b,c){for(c||(a=xab(a));a&&!b(a);)a=xab(a)},Aab=function(a,b,c,d,e,f){var h=c.beginSession(function(){},f.sessionOptions||new Cr);return zab(a,b,c,h,d,e,f)},zab=function(a,b,c,d,e,f,h){f.internal.getClearcut().setInterfaceType(4);f.internal.getClearcut().setComponentFlow(7);
var k=f.internal,q=e.getEnvironmentConfig(),t=q.experimentsConfig_.getProfileId();if(t)if(k.getExperiments().getIsEnabled()){var w=Bb(Bab||(Bab=Cab('[null,null,null,null,null,null,null,"AIzaSyBAMHkvD9gqERVdYmGsYLnAtfzigZdAqJQ"]')));w=new Dab(w,7)}else w=new Dr;else w=new Dr;k=k.getExperiments();q=w.loadExperiments(k.getApplication(),(new Er).setPeopleApiEnv(q.apiEnv_),t);nr=new Eab(k,q);q=fp(Fab,{classes:"aU4VQc"});a.appendChild(q);L9a(q,e.getTheme());Jq({element:q,veid:64611,actions:["impression"],
componentId:"peoplekitweb"});a=new Fr;t=e.getEntryPoint();t=new Gab(d,a,t);w=e.getEntryPoint();k=f.internal.getClearcut();w=new Hab(k,w);w=Gr(w);k=k.getInterfaceType();k=new Iab(new Jab(w,k));var y=new Kab(h.intelligence);h=fp(Lab);q.appendChild(h);w=fp(Mab);Jq({element:w,veid:85843,actions:["impression"],componentId:"peoplekitweb"});h.appendChild(w);var C=Xq(w,"tjneg");a:{var J=e.getAutocompleteHeader(),I=e.getAutocompleteCustomGrouping();switch(e.getAutocompleteGroupingType()){case 1:y=jab(C,e,
e,f,a,t,new Nab(e.getAutocompleteGroupingLabel()),y,J,b);break a;case 2:y=jab(C,e,e,f,a,t,new Oab(e.getAutocompleteGroupingLabel()),y,J,b);break a;case 3:if(!I)break;var P=Hi(f.internal,7,!1);var O=nr.getExperiments();O=Hi(O,11,!1);y=P||O?lab(C,e,e,f,a,t,I,J,b):jab(C,e,e,f,a,t,I,y,J,b);break a;case 4:if(I){y=lab(C,e,e,f,a,t,I,J,b);break a}}y=gab(C,e,e,f,a,y,J,t,b);y=new iab(y.resultList,t)}C=Xq(C,"rymPhb");b.setAttribute("aria-owns",C.id);b.setAttribute("aria-controls",C.id);C.setAttribute("aria-labelledby",
b.id);J=e.getNoResultsMessage();C=fp(Pab);J?J.display?J=new Qab(C,J):(J=fp(Rab,J),C.appendChild(J),J=new Sab):J=new Uab;w.appendChild(C);k=new Vab(w,b,y,d,k,e,J,f);Hi(f.internal,7,!1)&&(k=new Hr(k,c,d,f,e,b));b=new Wab(h,b,k,a,e);X8a(b.getRoot(),c);c=f.internal.getClearcut();k=e.getEntryPoint();f=new Ir;d=kOa();k=(new Xab).setClientId(c.getClientId()).setApplication(c.getSocialApplicationOrUndefined()).setEntryPoint(k).setVersionName("1.0").setBaselineCl(585752539);f=new Jr(f,1394,d,void 0,void 0,
void 0,new Yab(k));f.setClientSideLogOnlyForDevelopment(!c.getEnableClearcut()||!1);d=new vOa;k=nr.getExperimentIds();d=ap(d,3,k);f.clearcut_.setClearExperimentIds(d);f.setComponentID("peoplekitweb");c=Hi(c,6,!0);c=void 0===c||c?new Zab(q,f):new $ab;c.start(abb);return new bbb(q,b,a,t,c,e)},dbb=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);cbb.lastIndex=0;for(var d=cbb.exec(a);d&&d.index<c;d=cbb.exec(a))b.push(a.substring(Number(cbb.lastIndex)));
return b},hbb=function(a){a=Array.from(a).flatMap(function(f){return(f||"").split(ebb)}).filter(Boolean);if(!a.length)return a;var b=new Set;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=Kr(fbb(c.value)).replace(gbb,"").toUpperCase().toLowerCase();c=l(dbb(c).filter(Boolean));for(var d=c.next();!d.done;d=c.next())b.add(d.value)}var e="";return Array.from(b).sort().reverse().filter(function(f){if(e.startsWith(f))return!1;e=f;return!0})},jbb=function(a){var b;return ibb(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)})},kbb=function(a,b){return isFinite(a.fieldAffinity)?a.fieldAffinity:b&&ur(a.id)&&9!==a.id.getType()?isFinite(a.itemAffinity)?a.itemAffinity:-Infinity:-Infinity},nbb=function(a,b,c){if(ur(a.id)||ur(b.id)){var d=lbb.has(a.id.getType()),e=lbb.has(b.id.getType());if(d!==e)return d?-1:1;if(ur(a.id)&&ur(b.id))return mbb(a,b,c,!1)}d=kbb(a,c);c=kbb(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},mbb=function(a,b,c,d){var e=isFinite(a.itemAffinity)?a.itemAffinity:-Infinity,f=isFinite(b.itemAffinity)?b.itemAffinity:-Infinity;return e!==f?e>f?-1:1:d?nbb(a,b,c):0},sbb=function(a,b,c){var d=Lr(b.getTargetType(),b.getValue()),e=[].concat(u(b.getProfileIdList().map(obb)),u(b.getContactIdList().map(pbb)),u(b.getCustomSourceIdList().map(qbb)));rbb.includes(d.getType())&&e.push(d);return{id:d,containerIds:e,dataSource:b.getContactIdList().length?
1:2,isMe:!!b.getIsMe(),isPrimary:a.getTargetList()[0]===b,itemAffinity:a.hasAffinity()?a.getAffinity().getValue():-Infinity,fieldAffinity:b.hasAffinity()?b.getAffinity().getValue():-Infinity,provenance:c,resultExtendedData:a.hasExtendedData()?a.getExtendedData():void 0,targetData:b,resultData:a}},tbb=function(a){return(a||"").trim()},Abb=function(a){var b=a.resultData,c=a.targetData,d=ubb(Mr(a.id).setDataSource(a.dataSource||0),!!a.isMe);a.containerIds&&(d.sourceIds_=a.containerIds||[]);b.hasResultType()&&
(d.resultType_=b.getResultType());c.hasValue()&&d.setValue(tbb(c.getValue()));yi(c,2)&&d.setCanonicalValue(tbb(c.getCanonicalValue()));c.hasDescription()&&d.setDescription(c.getDescription());if(c.hasName()){var e=c.getName();d.setName((new vbb).setDisplayName(e.getDisplayName()).setGivenName(e.getGivenName()).setFamilyName(e.getFamilyName()).setSourceType(e.getSourceType()))}c.hasPhoto()&&(e=c.getPhoto(),d.setPhoto((new Nr).setUrl(e.getUrl()).setType(e.getType()).setSourceType(e.getSourceType()).setGlyph(e.getGlyph())));
if(b.hasTotalMemberCount()){var f;a.totalMemberCount=null!=(f=b.getTotalMemberCount())?f:void 0}b.hasAffinity()&&d.setPersonLoggingId(b.getAffinity().getLoggingId()||"");c.hasAffinity()&&d.setFieldLoggingId(c.getAffinity().getLoggingId()||"");c.hasOrgState()&&(d.orgState_=c.getOrgState());c.hasDataSource()&&d.setDataSource(c.getDataSource());c.getTagList().length&&wbb(d,c.getTagList().map(function(h){return xbb(h.altText_).setIconUrl(h.getIconUrl())}));c.hasExtendedData()&&(d.extendedData_=c.getExtendedData());
c.hasEmailSecurityInfo()&&(a=c.getEmailSecurityInfo(),ybb(d,zbb(a.certificateStatus_,a.certificateExpirySec_,4==a.getEncryptionSupport()||2==a.getEncryptionSupport())));return d},Cbb=function(a){return a?Bbb.get(a)||0:0},Fbb=function(a){switch(a.getValueCase()){case 2:return Or(a.getEmail().getValue()||"");case 3:var b=a.getPhone();return b.getOriginalValue()&&b.getCanonicalValue()?(a=Dbb(b.getOriginalValue()||""),b=Dbb(b.getCanonicalValue()||""),!a.equals(b)&&a.getValue().startsWith(b.getValue())?
a:b):Dbb(b.getCanonicalValue()||b.getDisplayValue()||b.getOriginalValue()||"");case 4:a=ql(a,Pr,4,Qr);if(a.hasProfileId())return a=a.getProfileId()||"",new Rr(8,Yo(a).toLowerCase(),a);switch(sn(a,Sr)){case 2:return a=a.getEmail()||"",new Rr(6,Yo(a).toLowerCase(),a);case 3:return Ebb(a.getPhone()||"")}}return Tr},Hbb=function(a){return zi(a,Gbb,5).map(function(b){switch(b.getIdCase()){case 1:return obb(b.getProfileId()||"");case 2:return pbb(b.getContactId()||"");default:return null}}).filter(Boolean)},
Ibb=function(a,b){return Pi(a,Ur,3)&&vi(a,Ur,3).getIsPlaceholder()?3:Vr(b,8)?1:0},Jbb=function(a){return a&&a.hasAffinity()?Number(a.getAffinity().getValue_legacyNullable()):-Infinity},Kbb=function(a){return a.hasAffinity()?Number(a.getAffinity().getValue_legacyNullable()):-Infinity},Lbb=function(a){return!!a&&!!a.getPrimary()},Nbb=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"+Mbb(a):""},Rbb=function(a){var b=void 0;if(vi(a,Ur,3)){var c;b=null!=(c=b)?c:new Obb;Wr(b,Pbb,vi(a,Ur,3))}if(vi(a,Xr,5)){var d;b=null!=(d=b)?d:new Obb;Wr(b,Qbb,vi(a,Xr,5))}return b},Tbb=function(a){var b=void 0;if(vi(a,Yr,9)){var c;b=null!=(c=b)?c:new Obb;Wr(b,Sbb,vi(a,Yr,9))}return b},Vbb=function(a){var b=new Zr,c=a?2:1;Ubb(b.setEventType(4),c).setToken(a);return b},Xbb=function(a,b){var c=
new $r;c=(new Zr).setLookupInfo(c);as(c.setEventType(6),9).setItemCount(a.length).setQueryScope(Wbb.get(b)||0);return c},Ybb=function(){var a=new Zr;as(a.setEventType(6),10);return a},Zbb=function(a,b){var c=new Zr;as(c.setEventType(6),6).setQueryLength(a.length).setQueryScope(Wbb.get(b)||0);return c},$bb=function(a){var b=new Zr;as(b.setEventType(6),5).setQueryScope(Wbb.get(a)||0);return b},acb=function(a,b){switch(a){case 8:case 3:case 17:return(new bs).setProfileId(b);case 1:case 6:return(new bs).setEmail(b);
case 7:case 2:return(new bs).setPhone(b);default:return null}},ccb=function(a){return((a=zi(a,cs,2).find(function(b){return 1===ds(b,1)}))?bcb.get(ds(a,2)):0)||0},es=function(a){return(a||"").trim()},fcb=function(a,b){b.hasAffinity()&&a.setFieldLoggingId(dcb(es(rda(rq(b.getAffinity(),1)))));if(b.hasName()){var c=b.getName(),d=a.setName,e=(new vbb).setDisplayName(c.getValue()).setGivenName(c.getGivenName()).setFamilyName(c.getFamilyName()),f=e.setSourceType;a:switch(c.getSourceType()){case 1:c=3;break a;
case 2:c=4;break a;default:c=0}d.call(a,f.call(e,c))}b.hasPhoto()&&(b=b.getPhoto(),a.setPhoto((new Nr).setUrl(b.getUrl()).setGlyph(b.getGlyph()).setType(ecb.get(b.getType())||0)))},hcb=function(a,b){if(b.hasProfileId())switch(sn(b,Sr)){case 2:var c=es(b.getEmail());return gcb(Mr(a.id).setValue(es(b.getProfileId())),(new gs).setType(1).setValue(c));case 3:return c=es(b.getPhone()),gcb(Mr(a.id).setValue(es(b.getProfileId())),(new gs).setType(2).setValue(c));default:return b=es(b.getProfileId()),Mr(a.id).setValue(b)}switch(sn(b,
Sr)){case 2:return b=es(b.getEmail()),gcb(Mr(a.id).setValue(b),(new gs).setType(1).setValue(b));case 3:return b=es(b.getPhone()),gcb(Mr(a.id).setValue(b),(new gs).setType(2).setValue(b));default:return b=es(b.getProfileId()),Mr(a.id).setValue(b)}},jcb=function(a,b){var c=ubb(Mr(a.id),!!a.isMe);a.containerIds&&(c.sourceIds_=a.containerIds||[]);b&&fcb(c,b);a.group&&((b=zi(a.group,icb,6).find(function(d){return null!=qq(d,1,hs)}))?c.setValue(es(qq(b,1,hs))):a.group.hasGroupId()&&c.setValue(es(a.group.getGroupId())));
a.targetExtendedData&&(c.extendedData_=a.targetExtendedData);a.target=c},lcb=function(a){return new kcb(a)},ocb=function(a){if(8===a.getTargetType()){var b=a.getOriginatingField();if(b&&(b=b.getType(),b=mcb.get(b)))return b}return(b=ncb.get(a.getTargetType()))?b:ur(a.getId())?8:0},qcb=function(a,b,c){var d=new is,e=new js;ej(d,js,2,e);e.setProvenance(b);b=new ks;ej(d,ks,1,b);cj(b,9,1===c);b.setProfileId(a.getProfileId()||null);b.setContactId(a.getContactId()||null);c=8===ocb(a)?8:a.getIsPersonalResult()?
4:3;hj(b,8,c);c=null;8===a.getTargetType()&&(e=a.getOriginatingField())&&mcb.has(e.getType())&&(c=e.getValue());c||(c=a.getValue());c&&b.setFieldValue(c);ur(a.getId())||b.setName(a.getName()?a.getName().getDisplayName():null);c=ocb(a);hj(b,7,c);b.setFieldLoggingId(a.getFieldLoggingId()||null);b.setPersonLoggingId(a.getPersonLoggingId()||null);b.setIsPlaceholder(3===a.getDataSource());8===ds(b,7)&&b.setGroupId(a.getId().getValue());return new pcb(a,d)},scb=function(a){a=rcb.indexOf(a.provenance);return 0>
a?rcb.length:a},tcb=function(a){return a.containerIds&&a.containerIds.some(function(b){return 3===b.getType()})},vcb=function(a,b){b.useOriginalDisplayValue_&&(a=new Map(Array.from(a,function(c){var d=l(c);c=d.next().value;d=d.next().value;if(c.equals(d.getPrimaryTarget().getId())&&c.getOriginalValue()!==d.getDisplayValue()&&d.getPrimaryTarget().getValue()===d.getDisplayValue()){var e=c.getOriginalValue(),f=d.getPrimaryTarget();d=i_a(d,new ucb(f,e))}return[c,d]})));return a},ycb=function(a){return Hi(a,
21,!1)?new wcb:xcb},zcb=function(a){return 0!==a&&12!==a},Acb=function(a,b){return new Promise(function(c){0<b?setTimeout(function(){return c(a)},b):c(a)})},Bcb=function(a,b,c){b=Acb(b,c);return Promise.race([a,b])},Ccb=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)}}},Fcb=function(a,b,c,d){b=Dcb(a,b).map(function(e){var f=
l(e);e=f.next().value;f=f.next().value;return new ls(e,f)});c=Dcb(a,c).map(function(e){var f=l(e);e=f.next().value;f=f.next().value;return new ls(e,f)});a=Dcb(a,d).map(function(e){var f=l(e);e=f.next().value;f=f.next().value;return new ls(e,f)});return new Ecb(b,c,a)},Gcb=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}},Hcb=function(a){return a.reduce(function(b,c){var d=Gcb(c);if(b.has(d)){var e;null==(e=b.get(d))||e.push(c)}else b.set(d,
[c]);return b},new Map)},Icb=function(a,b){b=void 0===b?new ms:b;var c=new Map;a=l(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;for(var e=l(d.data.keys()),f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.data.get(f))}return{data:c,metadata:b}},Kcb=function(a,b){return!a||a instanceof Jcb?a:new Jcb(a,b)},Mcb=function(a,b){var c=Lcb(ns(new ps,"PeopleStore").setLogSource(Li(a,4,574)).setApplication(a.getSocialApplication()).setEnvironment(b.getPeopleApiEnv()).setVersion("1004").setBaselineCl(585752539).setEnableClearcut(a.getEnableClearcut()),
[].concat(u(b.getExperiments().getExperimentIdsList()),u(qs?qs.getExperimentIds():[]))).setClientAgent(2);b.getClearcutUrl()&&c.setClearcutUrl(b.getClearcutUrl());(a=zi(a,rs,5).find(function(d){return 0===d.getEntryPoint()}))&&c.setEventSource(ss(a,4));return c},Ncb=function(a){return(Pi(a,ts,12)?vi(vi(a,ts,12),rs,2):a.getSources())||new rs},Ocb=function(a){return(Pi(a,ts,12)?vi(vi(a,ts,12),rs,3):a.getSources())||new rs},Pcb=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)},Qcb=function(a){if(!a.hasSessionState())return"";a=a.getSessionState();return Ui(a,3,0)+":"+Ui(a,4,0)+":"+Ui(a,5,0)+":"+a.getInstanceId()},Rcb=function(a){return Pi(a,js,2)?or(a).getContext()||0:0},Scb=function(a){var b=new Map;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.getSessionState();d=d?Ui(d,3,0)+"-"+Ui(d,4,0)+"-"+Ui(d,5,0)+"-"+d.getInstanceId():"";b.has(d)?b.get(d).push(c):b.set(d,[c])}return Array.from(b.values())},vs=function(a,
b,c,d){d=void 0===d?!1:d;a=a.filter(function(h){return!Hi(h,4,!1)});if(d){d=l(a);for(var e=d.next();!e.done;e=d.next())cj(e.value,4,!0)}if(c)for(d=a.filter(function(h){return h&&!h.hasSessionState()}),d=l(d),e=d.next();!e.done;e=d.next())e.value.setSessionState(c.clone());a=Scb(a);c=[];a=l(a);for(d=a.next();!d.done;d=a.next())if(d=d.value,e=d.find(function(h){return h&&h.hasSessionState()})){e=e.getSessionState();var f=new us;f.setSessionState(e);f.setEventType(b);Zl(f,3,d);f.setEventSources(e.getSources());
c.push(f)}return c},Tcb=function(a){var b;a=a.getMetadata();a.hasCacheState()&&(a=a.getCacheState(),a.hasSource()&&(b=a.getSource()));return b||new ws},Ucb=function(a){a&1&&(H(0,"a",3),T(1),W(2,"async"),K());if(a&2){a=R();var b;G("href",a.manageComponentLink,Wd);A(1);$f(null==(b=X(2,2,a.component$))?null:b.name)}},Vcb=function(a){a&1&&(H(0,"output"),T(1),K());a&2&&(a=R(),A(1),$f(a.componentId))},Wcb=function(a){a&1&&(H(0,"li")(1,"label"),T(2,"Component"),K(),L(3,"b-async-component",7),K());a&2&&(a=
R(2),A(3),G("componentId",a.issueComponentId))},Xcb=function(a){a&1&&(H(0,"li")(1,"label"),T(2,"Team"),K(),L(3,"b-team-display",8),K());a&2&&(a=R(2),A(3),G("teamId",a.issueTeamId))},Ycb=function(a){a&1&&(H(0,"ol",3)(1,"li")(2,"label"),T(3,"ID"),K(),H(4,"output"),T(5),K()(),H(6,"li")(7,"label"),T(8,"Type"),K(),H(9,"output"),T(10),K()(),H(11,"li")(12,"label"),T(13,"Priority"),K(),L(14,"b-issue-priority-display",4),K(),H(15,"li")(16,"label"),T(17,"Severity"),K(),H(18,"output"),T(19),K()(),H(20,"li")(21,
"label"),T(22,"Status"),K(),H(23,"output"),T(24),K()(),H(25,"li")(26,"label"),T(27,"Last modified"),K(),H(28,"output"),T(29),W(30,"date"),K()(),H(31,"li")(32,"label"),T(33,"Issue access limit"),K(),H(34,"output"),T(35),H(36,"a",5),T(37,"Learn more"),K()()(),F(38,Wcb,4,1,"li",6)(39,Xcb,4,1,"li",6),K());a&2&&(a=R(),A(5),$f(a.issueId),A(5),$f(a.issueType),A(4),G("issuePriority",a.issuePriority),A(5),$f(a.issueSeverity),A(5),$f(a.issueStatus),A(5),$f(ig(30,10,a.issueLastModified,"medium")),A(6),V("",
a.accessLimitLevel," "),A(1),G("href",a.documentationLinks.getIssueAccessLimit(),Wd),A(2),G("ngIf",a.issueComponentId),A(1),G("ngIf",a.issueTeamId))},Zcb=function(a){return a.startsWith('"')&&a.endsWith('"')||a.startsWith("'")&&a.endsWith("'")?a.toLowerCase().substr(1,a.length-2):a.toLowerCase()},$cb=function(a){a.label||(a=ai(a),a.label={customFieldId:void 0,field:"_TEXT_"});return a},bdb=function(a){return{type:adb[a.getType()],value:a.getValue()}},ddb=function(a){var b,c;return{type:cdb[a.getType()],
values:(null!=(b=a.getValuesList())?b:[]).map(ddb),simpleValues:(null!=(c=zi(a,edb,3))?c:[]).map(bdb)}},idb=function(a){var b,c=fdb[a.getType()],d=(null!=(b=a.getValuesList())?b:[]).map(ddb);b=Hi(a,3);if(a.hasLabel()){var e=a.getLabel();e={field:gdb[e.getField()],customFieldId:Number(e.getCustomFieldId())}}else e=void 0;return{type:c,values:d,negated:b,label:e,operator:hdb[Li(a,5,0)]}},ndb=function(a){switch(a.getKindCase()){case 2:return{syntaxErrorResponse:{syntaxError:xi(ql(a,jdb,2,kdb),1)},queryBuilderResponse:void 0};
case 1:a=ql(a,xs,1,kdb);var b;return{syntaxErrorResponse:void 0,queryBuilderResponse:{type:ldb[a.getType()],expressions:(null!=(b=zi(a,mdb,2))?b:[]).map(idb)}};default:return{syntaxErrorResponse:void 0,queryBuilderResponse:void 0}}},odb=function(a){a&1&&(H(0,"span",11),T(1," > "),K())},rdb=function(a,b){if(a&1){var c=v();H(0,"span")(1,"a",9);Q("click",function(d){var e=x(c).$implicit,f=R(2);e=new pdb(e.pathIds,e.pathNames);f.onTeamSelect.emit(e);d.stopPropagation();d.preventDefault();qdb(f.autocompleteTrigger);
return z()});T(2);K();F(3,odb,2,0,"span",10);K()}a&2&&(a=b.$implicit,b=b.last,A(1),G("matTooltip",a.pathNameText),A(1),$f(a.name),A(1),G("ngIf",!b))},sdb=function(a,b){a&1&&(H(0,"mat-option",6)(1,"div"),F(2,rdb,4,3,"span",7),K(),H(3,"span",8),T(4),W(5,"slice"),K()());a&2&&(a=b.$implicit,G("value",a),A(2),G("ngForOf",a.teamPath),A(1),G("matTooltip",a.description),A(1),V("",Zla(5,4,a.description,100)," "))},tdb=function(a,b){a&1&&(H(0,"mat-option",5)(1,"div",6),T(2),K()());a&2&&(a=b.$implicit,G("value",
a),A(2),V(" ",a.name," "))},udb=function(a,b){a&1&&(H(0,"mat-option",13),T(1),K());a&2&&(a=b.$implicit,G("value",a.key),A(1),V(" ",a.value," "))},vdb=function(a){if(a&1){var b=v();H(0,"mat-form-field",10)(1,"mat-select",11);Q("ngModelChange",function(c){x(b);var d=R(2);return z(d.expressionType=c)});F(2,udb,2,2,"mat-option",12);W(3,"keyvalue");K()()}a&2&&(a=R(2),A(1),G("ngModel",a.expressionType),A(1),G("ngForOf",X(3,2,a.globalTypeLabels)))},wdb=function(a,b){a&1&&(H(0,"mat-option",13),T(1),K());
a&2&&(a=b.$implicit,G("value",a[0]),A(1),V(" ",a[1]," "))},xdb=function(a,b){a&1&&(H(0,"mat-option",13),T(1),K());if(a&2){a=b.$implicit;b=R(2).$implicit;var c=R(2);G("value",a);A(1);V(" ",c.getTypeLabel(b,a)," ")}},ydb=function(a){if(a&1){var b=v();H(0,"mat-form-field",10)(1,"mat-select",21);Q("ngModelChange",function(c){x(b);var d=R().$implicit;return z(d.type=c)});F(2,xdb,2,2,"mat-option",12);K()()}a&2&&(a=R().$implicit,A(1),G("ngModel",a.type),A(1),G("ngForOf",a.getLegalTypes()))},Adb=function(a){if(a&
1){var b=v();H(0,"div",34);Q("click",function(){x(b);var c=R(2).$implicit,d=R(5);return z(zdb(d,c))});H(1,"span",35);T(2);K()()}a&2&&(a=R(2).$implicit,R(5),G("title",a.value),A(2),V(" ",a.value.replace(/"/g,"")," "))},Bdb=function(a){if(a&1){var b=v();H(0,"div",36)(1,"b-custom-repeated-enum-picker",37);Q("onValueSelect",function(e){x(b);var f=R(7);f.chipUnderEdit.value='"'+e+'"';ys(f);return z()});K()()}if(a&2){a=R(2).$implicit;var c=R(3).$implicit,d=R(2);A(1);G("customFieldTitle",d.getCustomFieldName(c))("selectedValue",
a.value.replace(/"/g,""))("allowedValues",c.getOptions())}},Cdb=function(a){if(a&1){var b=v();H(0,"div",30);F(1,Adb,3,2,"div",31)(2,Bdb,2,3,"div",32);H(3,"button",33);Q("click",function(){x(b);var d=R().$implicit,e=R(3).$implicit,f=R(2);return z(zs(f,e,d))});K()()}if(a&2){a=R().$implicit;var c=R(5);A(1);G("ngIf",c.chipUnderEdit!==a);A(1);G("ngIf",c.chipUnderEdit===a)}},Ddb=function(a,b){a&1&&(M(0),F(1,Cdb,4,2,"div",29),N());a&2&&(a=b.$implicit,b=R(5),A(1),G("ngIf",b.chipUnderEdit===a||a.value))},
Edb=function(a){if(a&1){var b=v();H(0,"button",38);Q("click",function(){x(b);var c=R(3).$implicit,d=R(2);return z(As(d,c))});T(1);K()}a&2&&(a=R(3).$implicit,A(1),V(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},Fdb=function(a){a&1&&(H(0,"div",26),F(1,Ddb,2,1,"ng-container",27)(2,Edb,2,1,"button",28),K());a&2&&(a=R(2).$implicit,A(1),G("ngForOf",a.values),A(1),G("ngIf",a.type))},Gdb=function(a,b){if(a&1){var c=v();H(0,"div",41)(1,"mat-checkbox",42);Q("change",function(d){var e=x(c).$implicit,
f=R(3).$implicit;return z(f.enumValues[e.id]=d.checked)});T(2);K()()}a&2&&(a=b.$implicit,b=R(3).$implicit,A(1),G("checked",b.enumValues[a.id]),A(1),V(" ",a.label||a.id," "))},Hdb=function(a){a&1&&(H(0,"div",39),F(1,Gdb,3,2,"div",40),K());a&2&&(a=R(2).$implicit,A(1),G("ngForOf",a.getOptions()))},Idb=function(a){if(a&1){var b=v();H(0,"div")(1,"input",43);Q("ngModelChange",function(c){x(b);var d=R(3).$implicit;return z(d.csv=c)});K()()}a&2&&(a=R(3).$implicit,A(1),G("ngModel",a.csv)("bContactAutocomplete",
"MULTI"))},Jdb=function(a){if(a&1){var b=v();H(0,"div",22)(1,"input",44);Q("ngModelChange",function(c){x(b);var d=R(3).$implicit;return z(d.csv=c)});K()()}a&2&&(a=R(3).$implicit,A(1),G("ngModel",a.csv))},Kdb=function(a){if(a&1){var b=v();H(0,"div",22)(1,"input",45);Q("ngModelChange",function(c){x(b);var d=R(3).$implicit;return z(d.csv=c)});K()()}a&2&&(a=R(3).$implicit,A(1),G("ngModel",a.csv))},Ldb=function(a){if(a&1){var b=v();H(0,"div",22)(1,"input",46);Q("ngModelChange",function(c){x(b);var d=R(3).$implicit;
return z(d.csv=c)});K()()}a&2&&(a=R(3).$implicit,A(1),G("ngModel",a.csv))},Mdb=function(a){a&1&&(H(0,"div"),F(1,Idb,2,2,"div",25)(2,Jdb,2,1,"div",17)(3,Kdb,2,1,"div",17)(4,Ldb,2,1,"div",17),K());a&2&&(a=R(2).$implicit,A(1),G("ngIf","user"==a.getWidgetType()),A(1),G("ngIf","csv"==a.getWidgetType()),A(1),G("ngIf","id"==a.getWidgetType()),A(1),G("ngIf","number"==a.getWidgetType()))},Ndb=function(a,b){if(a&1){var c=v();H(0,"div",48)(1,"div",36)(2,"input",46);Q("ngModelChange",function(d){var e=x(c).$implicit;
return z(e.value=d)});K()();H(3,"button",49);Q("click",function(){var d=x(c).$implicit,e=R(3).$implicit,f=R(2);return z(zs(f,e,d))});K()()}a&2&&(a=b.$implicit,A(2),G("ngModel",a.value))},Odb=function(a){if(a&1){var b=v();H(0,"button",38);Q("click",function(){x(b);var c=R(3).$implicit,d=R(2);return z(As(d,c))});T(1);K()}a&2&&(a=R(3).$implicit,A(1),V(" + ","OR"==a.type||"NOR"==a.type?"OR":"AND"," "))},Pdb=function(a){a&1&&(H(0,"div",26),F(1,Ndb,4,1,"div",47)(2,Odb,2,1,"button",28),K());a&2&&(a=R(2).$implicit,
A(1),G("ngForOf",a.values),A(1),G("ngIf",a.type))},Rdb=function(a){if(a&1){var b=v();H(0,"div",34);Q("click",function(){x(b);var d=R(2).$implicit,e=R(5);return z(Qdb(e,d))});H(1,"span",35);T(2);K()()}if(a&2){a=R(2).$implicit;var c=R(5);G("title",c.getComponentPath(c.components[a.value]));A(2);V(" ",c.getComponentPath(c.components[a.value])," ")}},Sdb=function(a){if(a&1){var b=v();H(0,"div",36)(1,"b-team-component-picker",54);Q("selectedComponentChange",function(c){x(b);var d=R(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;ys(d);return z()});K()()}a&2&&(a=R(7),A(1),G("selectedComponent",a.componentUnderEdit)("placeholder","Choose Component")("isRequired",!0))},Tdb=function(a){if(a&1){var b=v();H(0,"div",51);F(1,Rdb,3,2,"div",31)(2,Sdb,2,3,"div",32);H(3,"button",52);Q("click",function(){x(b);var d=R().$implicit;R(5);d.includeSubs=
!d.includeSubs;return z()});L(4,"mat-icon",53);K();H(5,"button",33);Q("click",function(){x(b);var d=R().$implicit,e=R(3).$implicit,f=R(2);return z(zs(f,e,d))});K()()}if(a&2){a=R().$implicit;var c=R(5);A(1);G("ngIf",c.chipUnderEdit!==a);A(1);G("ngIf",c.chipUnderEdit===a);A(1);G("title",a.includeSubs?"Subcomponents are included":"Subcomponents are not included");Af("aria-checked",a.includeSubs);A(1);G("svgIcon",a.includeSubs?"child-components-24px":"child-components-hide-24px")}},Udb=function(a,b){a&
1&&(M(0),F(1,Tdb,6,5,"div",50),N());a&2&&(a=b.$implicit,b=R(5),A(1),G("ngIf",b.chipUnderEdit===a||a.value))},Vdb=function(a){if(a&1){var b=v();H(0,"button",38);Q("click",function(){x(b);var c=R(3).$implicit,d=R(2);return z(As(d,c))});T(1);K()}a&2&&(a=R(3).$implicit,A(1),V(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},Wdb=function(a){a&1&&(H(0,"div",26),F(1,Udb,2,1,"ng-container",27)(2,Vdb,2,1,"button",28),K());a&2&&(a=R(2).$implicit,A(1),G("ngForOf",a.values),A(1),G("ngIf",a.type))},Ydb=function(a){if(a&
1){var b=v();H(0,"div",34);Q("click",function(){x(b);var d=R(2).$implicit,e=R(5);return z(Xdb(e,d))});H(1,"span",35);T(2);K()()}if(a&2){a=R(2).$implicit;var c=R(5);G("title",null==c.trackers[a.value]?null:c.trackers[a.value].name);A(2);V(" ",null==c.trackers[a.value]?null:c.trackers[a.value].name," ")}},Zdb=function(a){if(a&1){var b=v();H(0,"div",36)(1,"b-tracker-picker",57);Q("onTrackerSelect",function(c){x(b);var d=R(7);d.analytics.trackEvent(Kp.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;ys(d);return z()});K()()}a&2&&(a=R(7),A(1),G("selectedTracker",a.trackerUnderEdit))},$db=function(a){if(a&1){var b=v();H(0,"div",56);F(1,Ydb,3,2,"div",31)(2,Zdb,2,1,"div",32);H(3,"button",33);Q("click",function(){x(b);var d=R().$implicit,e=R(3).$implicit,f=R(2);return z(zs(f,e,d))});K()()}if(a&2){a=R().$implicit;var c=R(5);A(1);G("ngIf",c.chipUnderEdit!==a);A(1);G("ngIf",c.chipUnderEdit===a)}},
aeb=function(a,b){a&1&&(M(0),F(1,$db,4,2,"div",55),N());a&2&&(a=b.$implicit,b=R(5),A(1),G("ngIf",b.chipUnderEdit===a||a.value))},beb=function(a){if(a&1){var b=v();H(0,"button",38);Q("click",function(){x(b);var c=R(3).$implicit,d=R(2);return z(As(d,c))});T(1);K()}a&2&&(a=R(3).$implicit,A(1),V(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},ceb=function(a){a&1&&(H(0,"div",26),F(1,aeb,2,1,"ng-container",27)(2,beb,2,1,"button",28),K());a&2&&(a=R(2).$implicit,A(1),G("ngForOf",a.values),A(1),G("ngIf",
a.type))},eeb=function(a){if(a&1){var b=v();H(0,"div",34);Q("click",function(){x(b);var d=R(2).$implicit,e=R(6);return z(deb(e,d))});W(1,"teamPath");H(2,"span",35);T(3);W(4,"teamPath");K()()}if(a&2){a=R(2).$implicit;var c=R(6);G("title",X(1,2,c.teams[a.value]));A(3);V(" ",X(4,4,c.teams[a.value])," ")}},geb=function(a){if(a&1){var b=v();H(0,"div",36)(1,"b-team-picker",61);Q("onTeamSelect",function(c){x(b);var d=R(8);return z(feb(d,c))});K()()}a&2&&(a=R(8),A(1),G("teamSelected",a.teamUnderEdit))},heb=
function(a){if(a&1){var b=v();H(0,"div",59);F(1,eeb,5,6,"div",31)(2,geb,2,1,"div",32);H(3,"button",60);Q("click",function(){x(b);var d=R().$implicit;R(6);d.includeSubs=!d.includeSubs;return z()});L(4,"mat-icon",53);K();H(5,"button",33);Q("click",function(){x(b);var d=R().$implicit,e=R(4).$implicit,f=R(2);return z(zs(f,e,d))});K()()}if(a&2){a=R().$implicit;var c=R(6);A(1);G("ngIf",c.chipUnderEdit!==a);A(1);G("ngIf",c.chipUnderEdit===a);A(1);G("title",a.includeSubs?"Subteams are included":"Subteams are not included");
Af("aria-checked",a.includeSubs);A(1);G("svgIcon",a.includeSubs?"child-teams-24px":"child-teams-hide-24px")}},ieb=function(a,b){a&1&&(M(0),F(1,heb,6,5,"div",58),N());a&2&&(a=b.$implicit,b=R(6),A(1),G("ngIf",b.chipUnderEdit===a||a.value))},jeb=function(a){if(a&1){var b=v();H(0,"button",38);Q("click",function(){x(b);var c=R(4).$implicit,d=R(2);return z(As(d,c))});T(1);K()}a&2&&(a=R(4).$implicit,A(1),V(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},keb=function(a){a&1&&(M(0),F(1,ieb,2,1,"ng-container",
27)(2,jeb,2,1,"button",28),N());a&2&&(a=R(3).$implicit,A(1),G("ngForOf",a.values),A(1),G("ngIf",a.type))},leb=function(a){a&1&&(H(0,"div",26),F(1,keb,3,2,"ng-container",25),K());a&2&&(a=R(4),A(1),G("ngIf",a.sessionIsInternal))},neb=function(a){if(a&1){var b=v();H(0,"div")(1,"bv2-input-date-picker",62);Q("boundValueChange",function(c){x(b);R(3).$implicit.dateFrom=meb(c);return z()});K();T(2," and ");H(3,"bv2-input-date-picker",62);Q("boundValueChange",function(c){x(b);R(3).$implicit.dateTo=meb(c);
return z()});K()()}a&2&&(a=R(3).$implicit,A(1),G("boundValue",a.dateFrom)("isRequired",!0),A(2),G("boundValue",a.dateTo)("isRequired",!0))},oeb=function(a){if(a&1){var b=v();H(0,"div");T(1," the last ");H(2,"input",63);Q("ngModelChange",function(c){x(b);var d=R(3).$implicit;return z(d.duration=c)});K();T(3," days. ");K()}a&2&&(a=R(3).$implicit,A(2),G("ngModel",a.duration))},peb=function(a){if(a&1){var b=v();H(0,"div")(1,"bv2-input-date-picker",62);Q("boundValueChange",function(c){x(b);R(3).$implicit.dateFrom=
meb(c);return z()});K()()}a&2&&(a=R(3).$implicit,A(1),G("boundValue",a.dateFrom)("isRequired",!0))},qeb=function(a){a&1&&(H(0,"div"),F(1,neb,4,4,"div",25)(2,oeb,4,1,"div",25)(3,peb,2,2,"div",25),K());a&2&&(a=R(2).$implicit,A(1),G("ngIf","RANGE"==a.type||"NRANGE"==a.type),A(1),G("ngIf","DURATION"==a.type||"NDURATION"==a.type),A(1),G("ngIf","LE"==a.type||"LT"==a.type||"GE"==a.type||"GT"==a.type||"OR"==a.type))},reb=function(a){if(a&1){var b=v();H(0,"div",34);Q("click",function(){x(b);var d=R(2).$implicit,
e=R(5);return z(Bs(e,d))});H(1,"span",35);T(2);K()()}if(a&2){a=R(2).$implicit;var c=R(5);G("title",(null==c.hotlists[a.value]?null:c.hotlists[a.value].name)||a.value);A(2);V(" ",(null==c.hotlists[a.value]?null:c.hotlists[a.value].name)||a.value," ")}},seb=function(a,b){a&1&&(H(0,"mat-option",13),T(1),K());a&2&&(a=b.$implicit,G("value",a.hotlistId),A(1),V(" ",a.name," "))},teb=function(a){if(a&1){var b=v();H(0,"mat-form-field",67)(1,"mat-select",68);Q("ngModelChange",function(d){x(b);var e=R(2).$implicit;
return z(e.value=d)})("selectionChange",function(){x(b);var d=R(7);return z(ys(d))});F(2,seb,2,2,"mat-option",12);K()()}if(a&2){a=R(2).$implicit;var c=R(5);A(1);G("ngModel",a.value);A(1);G("ngForOf",c.userHotlists)}},ueb=function(a){if(a&1){var b=v();H(0,"div",65);F(1,reb,3,2,"div",31)(2,teb,3,2,"mat-form-field",66);H(3,"button",33);Q("click",function(){x(b);var d=R().$implicit,e=R(3).$implicit,f=R(2);return z(zs(f,e,d))});K()()}if(a&2){a=R().$implicit;var c=R(5);A(1);G("ngIf",c.chipUnderEdit!==a);
A(1);G("ngIf",c.chipUnderEdit===a)}},veb=function(a,b){a&1&&(M(0),F(1,ueb,4,2,"div",64),N());a&2&&(a=b.$implicit,b=R(5),A(1),G("ngIf",b.chipUnderEdit===a||a.value))},web=function(a){if(a&1){var b=v();H(0,"button",38);Q("click",function(){x(b);var c=R(3).$implicit,d=R(2);return z(As(d,c))});T(1);K()}a&2&&(a=R(3).$implicit,A(1),V(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},xeb=function(a){a&1&&(H(0,"div",26),F(1,veb,2,1,"ng-container",27)(2,web,2,1,"button",28),K());a&2&&(a=R(2).$implicit,
A(1),G("ngForOf",a.values),A(1),G("ngIf",a.type))},yeb=function(a){if(a&1){var b=v();H(0,"div",34);Q("click",function(){x(b);var d=R(2).$implicit,e=R(5);return z(Bs(e,d))});H(1,"span",35);T(2);K()()}if(a&2){a=R(2).$implicit;var c=R(5);G("title",(null==c.savedSearches[a.value]?null:c.savedSearches[a.value].name)||a.value);A(2);V(" ",(null==c.savedSearches[a.value]?null:c.savedSearches[a.value].name)||a.value," ")}},zeb=function(a,b){a&1&&(H(0,"mat-option",13),T(1),K());a&2&&(a=b.$implicit,G("value",
a.searchId),A(1),V(" ",a.name," "))},Aeb=function(a){if(a&1){var b=v();H(0,"mat-form-field",67)(1,"mat-select",69);Q("ngModelChange",function(d){x(b);var e=R(2).$implicit;return z(e.value=d)})("selectionChange",function(){x(b);var d=R(7);return z(ys(d))});F(2,zeb,2,2,"mat-option",12);K()()}if(a&2){a=R(2).$implicit;var c=R(5);A(1);G("ngModel",a.value);A(1);G("ngForOf",c.userSavedSearches)}},Beb=function(a){if(a&1){var b=v();H(0,"div",65);F(1,yeb,3,2,"div",31)(2,Aeb,3,2,"mat-form-field",66);H(3,"button",
33);Q("click",function(){x(b);var d=R().$implicit,e=R(3).$implicit,f=R(2);return z(zs(f,e,d))});K()()}if(a&2){a=R().$implicit;var c=R(5);A(1);G("ngIf",c.chipUnderEdit!==a);A(1);G("ngIf",c.chipUnderEdit===a)}},Ceb=function(a,b){a&1&&(M(0),F(1,Beb,4,2,"div",64),N());a&2&&(a=b.$implicit,b=R(5),A(1),G("ngIf",b.chipUnderEdit===a||a.value))},Deb=function(a){if(a&1){var b=v();H(0,"button",38);Q("click",function(){x(b);var c=R(3).$implicit,d=R(2);return z(As(d,c))});T(1);K()}a&2&&(a=R(3).$implicit,A(1),V(" + ",
"OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},Eeb=function(a){a&1&&(H(0,"div",26),F(1,Ceb,2,1,"ng-container",27)(2,Deb,2,1,"button",28),K());a&2&&(a=R(2).$implicit,A(1),G("ngForOf",a.values),A(1),G("ngIf",a.type))},Feb=function(a){a&1&&(H(0,"div",22),F(1,Fdb,3,2,"div",23)(2,Hdb,2,1,"div",24)(3,Mdb,5,4,"div",25)(4,Pdb,3,2,"div",23)(5,Wdb,3,2,"div",23)(6,ceb,3,2,"div",23)(7,leb,2,1,"div",23)(8,qeb,4,3,"div",25)(9,xeb,3,2,"div",23)(10,Eeb,3,2,"div",23),K());if(a&2){a=R().$implicit;var b=R(2);A(1);G("ngIf",
"repeated-enum"===a.getWidgetType());A(1);G("ngIf","enum"===a.getWidgetType());A(1);G("ngIf",a instanceof Cs);A(1);G("ngIf","text"==a.getWidgetType());A(1);G("ngIf","component"==a.getWidgetType());A(1);G("ngIf",b.isTrackerSearchEnabled&&"tracker"==a.getWidgetType());A(1);G("ngIf","team"==a.getWidgetType());A(1);G("ngIf","date"===a.getWidgetType());A(1);G("ngIf","hotlist"==a.getWidgetType());A(1);G("ngIf","savedsearch"==a.getWidgetType())}},Geb=function(a){a&1&&(H(0,"div",70),T(1),K());if(a&2){a=R().$implicit;
var b=R(2);A(1);V(" ",b.getCustomFieldName(a)," ")}},Jeb=function(a){if(a&1){var b=v();H(0,"div",71)(1,"b-custom-field-picker",72);Q("fieldSelected",function(c){x(b);var d=R().index,e=R(2),f=c.customFieldId;e.customFields[f]=c;e.expressions[d]=Heb(e.searchRuleFactory,"CUSTOM_FIELD",e.customFields[f]);Ieb(e,e.expressions[d]);return z()});K()()}},Leb=function(a,b){if(a&1){var c=v();H(0,"div",14)(1,"div",15)(2,"mat-form-field",10)(3,"mat-select",16);Q("ngModelChange",function(d){var e=x(c).$implicit;
return z(e.label.field=d)})("selectionChange",function(){var d=x(c).index,e=R(2);return z(Keb(e,d))});F(4,wdb,2,2,"mat-option",12);K()();F(5,ydb,3,2,"mat-form-field",3);K();F(6,Feb,11,10,"div",17)(7,Geb,2,1,"div",18)(8,Jeb,2,0,"div",19);H(9,"button",20);Q("click",function(){var d=x(c).$implicit,e=R(2);return z(e.removeExpression(d))});K()()}a&2&&(a=b.$implicit,b=R(2),A(3),G("ngModel",a.label.field),A(1),G("ngForOf",b.availableLabels),A(1),G("ngIf",!a.isPendingCustomField),A(1),G("ngIf",!a.isPendingCustomField),
A(1),G("ngIf",a.label.customFieldId),A(1),G("ngIf",a.isPendingCustomField))},Meb=function(a,b){if(a&1){var c=v();H(0,"button",73);Q("click",function(){var d=x(c).$implicit,e=R(2);e.expressions.push({label:{field:d[0]}});Keb(e,e.expressions.length-1);return z()});T(1);K()}a&2&&(a=b.$implicit,A(1),V(" ",a[1]," "))},Neb=function(a){a&1&&(H(0,"div",1)(1,"span",2),T(2,"Advanced search query builder"),K(),F(3,vdb,4,4,"mat-form-field",3)(4,Leb,10,6,"div",4),H(5,"div",5)(6,"button",6),T(7),K(),H(8,"mat-menu",
7,8),F(10,Meb,2,1,"button",9),K()()());if(a&2){var b=S(9);a=R();A(3);G("ngIf",a.expressions.length);A(1);G("ngForOf",a.expressions)("ngForTrackBy",a.trackByIndex);A(2);G("matMenuTriggerFor",b);A(1);V(" ",a.expressionType," ... ");A(3);G("ngForOf",a.availableLabels)}},Qeb=function(a){return{experimentId:a.getExperimentId(),state:Oeb[a.getState()],userGroup:Peb[Li(a,3,0)],title:a.getTitle(),description:a.getDescription(),learnMoreLink:xi(a,6)}},Reb=function(a){a&1&&L(0,"div",3)},Seb=function(a){a&1&&
L(0,"div",4)},Ueb=function(a){if(a&1){var b=v();H(0,"button",2);Q("click",function(){x(b);var c=R();return z(Teb(c))});L(1,"mat-icon",3);T(2);K()}a&2&&(a=R(),G("matTooltip","Open release notes"),A(1),G("svgIcon",a.alertMode?"release-notes-alert":"release-notes-default"),A(1),V(" ",a.buttonLabel," "))},Veb=function(a){if(a&1){var b=v();H(0,"button",4);Q("click",function(){x(b);var c=R();return z(Teb(c))});T(1);K()}a&2&&(a=R(),A(1),V(" ",a.buttonLabel," "))},Web=function(a){if(a&1){var b=v();H(0,"button",
9);Q("click",function(c){x(b);var d=R();return z(d.manageSlos(c))});T(1,"Manage SLOs");K()}},Xeb=function(a){a&1&&(H(0,"a",13),T(1,"Early Access "),L(2,"b-feature-stage-label",14),K())},Yeb=function(a){a&1&&(M(0),L(1,"mat-divider")(2,"b-whats-new-button",15),N());a&2&&(A(2),G("menuMode",!0))},Zeb=function(a){a&1&&L(0,"b-whats-new-button",4);a&2&&(a=R(),G("alertMode",a.majorReleaseNotesUpdated))},$eb=function(a){if(a&1){var b=v();H(0,"button",5);Q("click",function(){x(b);var c=R();return z(c.openFeedbackDialog())});
L(1,"mat-icon",6);K()}},afb=function(a,b){if(a&1){var c=v();H(0,"button",6);Q("click",function(){var d=x(c).$implicit,e=R();e.currentTracker.setTrackerId(d.trackerId);e.appSearchState.searchTriggered$.next("switch-trackers");return z()});L(1,"img",7);H(2,"span",8);T(3);K()()}a&2&&(a=b.$implicit,G("value",a.trackerId),Af("title",a.name),A(1),G("src",null==a.branding?null:a.branding.logoUrl,Wd),A(2),$f(a.name))},bfb=function(a){if(a&1){var b=v();H(0,"button",5);Q("click",function(){x(b);var c=R();return z(c.clickMenu.emit())});
L(1,"mat-icon",6);K()}},efb=function(a,b){a&1&&(H(0,"output",7),T(1),K());a&2&&(a=b.$implicit,G("ngClass",a.color?fg(2,cfb,a.color):eg(4,dfb)),A(1),$f(a.name))},ffb=function(a){a&1&&L(0,"tracker-switcher",2);a&2&&(a=R(),G("associatedTrackers",a.associatedTrackers))},gfb=function(a){a&1&&(H(0,"span"),T(1," Currently selected hotlist: "),H(2,"strong"),T(3),K()());a&2&&(a=R(3),A(3),$f(a.header.hotlist.name))},hfb=function(a){a&1&&T(0," Showing your subscribed hotlists. Start typing a hotlist name or ID to filter. ")},
ifb=function(a){a&1&&(M(0),F(1,gfb,4,1,"span",5)(2,hfb,1,0,"ng-template",null,6,tg),N());if(a&2){var b=S(3);a=R(2);A(1);G("ngIf",a.header.hotlist)("ngIfElse",b)}},jfb=function(a){a&1&&(H(0,"span"),T(1,"Currently selected saved search: "),H(2,"strong"),T(3),K()());a&2&&(a=R(3),A(3),$f(a.header.savedSearch.name))},kfb=function(a){a&1&&T(0," Showing your saved searches. Start typing a saved search name or ID to filter. ")},lfb=function(a){a&1&&(M(0),F(1,jfb,4,1,"span",5)(2,kfb,1,0,"ng-template",null,
7,tg),N());if(a&2){var b=S(3);a=R(2);A(1);G("ngIf",a.header.savedSearch)("ngIfElse",b)}},mfb=function(a){a&1&&(H(0,"span"),T(1," and "),H(2,"strong"),T(3,"subcomponents"),K()())},nfb=function(a){a&1&&(H(0,"span"),T(1," Currently selected component: "),H(2,"strong",9),T(3),K(),L(4,"b-component-access-level-indicator",10)(5,"b-tracker-chip-smart",11),F(6,mfb,4,0,"span",4),K());if(a&2){a=R(3);A(3);var b=a.header.component;var c=Ds(a.currentTracker,b.componentPathInfo);b=c&&c.componentPathName?c.componentPathName.join(" > "):
b.name;$f(b);A(1);G("accessLevel",null==a.header.component.accessLimit?null:a.header.component.accessLimit.accessLevel);A(1);G("trackerId",a.header.component.trackerId);A(1);G("ngIf",a.header.includeChildren)}},ofb=function(a){a&1&&T(0," Start typing a component name or ID to see auto-complete suggestions. ")},pfb=function(a){a&1&&(M(0),F(1,nfb,7,4,"span",5)(2,ofb,1,0,"ng-template",null,8,tg),N());if(a&2){var b=S(3);a=R(2);A(1);G("ngIf",a.header.component)("ngIfElse",b)}},qfb=function(a){a&1&&(H(0,
"span"),T(1," Currently selected tracker: "),H(2,"strong"),T(3),K()());a&2&&(a=R(3),A(3),$f(a.header.tracker.name))},rfb=function(a){a&1&&T(0," Start typing a tracker name or ID to see auto-complete suggestions. ")},sfb=function(a){a&1&&(M(0),F(1,qfb,4,1,"span",5)(2,rfb,1,0,"ng-template",null,12,tg),N());if(a&2){var b=S(3);a=R(2);A(1);G("ngIf",a.header.tracker)("ngIfElse",b)}},tfb=function(a){a&1&&(H(0,"span"),T(1," and "),H(2,"strong"),T(3,"subteams"),K()())},ufb=function(a){a&1&&(H(0,"span"),T(1,
" Currently selected team: "),H(2,"strong"),T(3),K(),F(4,tfb,4,0,"span",4),K());a&2&&(a=R(3),A(3),$f(a.header.team.name),A(1),G("ngIf",a.header.includeChildren))},vfb=function(a){a&1&&T(0," Start typing a team name or ID to see auto-complete suggestions. ")},wfb=function(a){a&1&&(M(0),F(1,ufb,5,2,"span",5)(2,vfb,1,0,"ng-template",null,13,tg),N());if(a&2){var b=S(3);a=R(2);A(1);G("ngIf",a.header.team)("ngIfElse",b)}},xfb=function(a,b){a&1&&(H(0,"span"),T(1," Currently selected custom field: "),H(2,
"strong"),T(3),K(),T(4," of type "),H(5,"strong"),T(6),W(7,"lowercase"),K(),T(8,". "),K());a&2&&(a=b.$implicit,A(3),$f(a.name),A(3),$f(X(7,2,a.type)))},yfb=function(a){a&1&&(M(0),T(1," Start typing a custom field name or ID to see auto-complete suggestions. "),N())},zfb=function(a){a&1&&T(0," customfield[id]: [value] ")},Afb=function(a){a&1&&F(0,yfb,2,0,"ng-container",5)(1,zfb,1,0,"ng-template",null,15,tg);if(a&2){var b=S(2);a=R(3);G("ngIf",a.enableCustomFieldSearch)("ngIfElse",b)}},Bfb=function(a){a&
1&&(M(0),F(1,xfb,9,4,"span",5)(2,Afb,3,2,"ng-template",null,14,tg),N());if(a&2){var b=S(3);a=R(2);A(1);G("ngIf",a.header.customField)("ngIfElse",b)}},Cfb=function(a){a&1&&(H(0,"div",3),F(1,ifb,4,2,"ng-container",4)(2,lfb,4,2,"ng-container",4)(3,pfb,4,2,"ng-container",4)(4,sfb,4,2,"ng-container",4)(5,wfb,4,2,"ng-container",4)(6,Bfb,4,2,"ng-container",4),K());a&2&&(a=R(),A(1),G("ngIf","hotlist"===a.header.type),A(1),G("ngIf","savedsearch"===a.header.type),A(1),G("ngIf","component"===a.header.type),
A(1),G("ngIf","tracker"===a.header.type),A(1),G("ngIf","team"===a.header.type),A(1),G("ngIf","customfield"===a.header.type))},Dfb=function(a){a&1&&(H(0,"span"),T(1),K());a&2&&(a=R().$implicit,A(1),ag(" ",a.id,": ",a.name," "))},Efb=function(a){a&1&&(H(0,"span"),T(1),H(2,"span"),T(3),K()());a&2&&(a=R().$implicit,A(1),V(" Hotlist ",a.id,": "),A(2),$f(a.name))},Ffb=function(a){a&1&&(H(0,"span"),T(1),H(2,"span"),T(3),K(),L(4,"br"),H(5,"span",17),T(6),K()());a&2&&(a=R().$implicit,A(1),V(" Saved search ",
a.id,": "),A(2),$f(a.name),A(3),$f(a.query))},Gfb=function(a){a&1&&(H(0,"span"),T(1),K());a&2&&(a=R().$implicit,A(1),V(" ",a.name," "))},Hfb=function(a){a&1&&(H(0,"span"),T(1," > "),K())},Jfb=function(a,b){if(a&1){var c=v();M(0);H(1,"span",20);Q("click",function(d){var e=x(c).$implicit;Ifb(e);return z(d.stopPropagation())});T(2);K();F(3,Hfb,2,0,"span",4);N()}a&2&&(a=b.$implicit,b=b.last,A(1),Zf("title","",a.id,": ",a.name,""),A(1),$f(a.name),A(1),G("ngIf",!b))},Kfb=function(a){a&1&&(H(0,"span"),T(1,
" Component "),H(2,"strong",9),T(3),K(),L(4,"b-component-access-level-indicator",10)(5,"b-tracker-chip-smart",11),H(6,"span",18),F(7,Jfb,4,4,"ng-container",19),K()());a&2&&(a=R().$implicit,A(3),$f(a.id),A(1),G("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel),A(1),G("trackerId",a.trackerId),A(2),G("ngForOf",a.componentPath))},Lfb=function(a){a&1&&(H(0,"span"),T(1),H(2,"span"),T(3),K()());a&2&&(a=R().$implicit,A(1),V(" Tracker ",a.id,": "),A(2),$f(a.name))},Mfb=function(a){a&1&&(H(0,
"span"),T(1," > "),K())},Nfb=function(a,b){if(a&1){var c=v();M(0);H(1,"span",20);Q("click",function(d){var e=x(c).$implicit;Ifb(e);return z(d.stopPropagation())});T(2);K();F(3,Mfb,2,0,"span",4);N()}a&2&&(a=b.$implicit,b=b.last,A(1),Zf("title","",a.id,": ",a.name,""),A(1),$f(a.name),A(1),G("ngIf",!b))},Ofb=function(a){a&1&&(H(0,"span"),T(1," Team "),H(2,"strong"),T(3),K(),H(4,"span",18),F(5,Nfb,4,4,"ng-container",19),K()());a&2&&(a=R().$implicit,A(3),$f(a.id),A(2),G("ngForOf",a.teamPath))},Pfb=function(a){a&
1&&(H(0,"span"),T(1," > "),K())},Qfb=function(a,b){a&1&&(M(0),H(1,"span"),T(2),K(),F(3,Pfb,2,0,"span",4),N());a&2&&(a=b.$implicit,b=b.last,A(2),$f(a),A(1),G("ngIf",!b))},Rfb=function(a){a&1&&(H(0,"span"),T(1),H(2,"span"),T(3),K(),H(4,"span",21),F(5,Qfb,4,2,"ng-container",19),K()());a&2&&(a=R().$implicit,A(1),V(" Custom Field ",a.id,": "),A(2),$f(a.name),A(2),G("ngForOf",a.componentPathNames))},Sfb=function(a){a&1&&(H(0,"span"),T(1),K());a&2&&(a=R().$implicit,A(1),ag(" ",a.label,": ",a.name," "))},
Ufb=function(a,b){if(a&1){var c=v();H(0,"b-app-search-auto-complete-option",16);Q("optionClicked",function(e){x(c);var f=R();0<=e&&e<f.items.length&&(e=f.items[e],e.id&&e.completionCfg&&Tfb(e),f.itemSelected.emit(e));return z()});F(1,Dfb,2,2,"span",4)(2,Efb,4,2,"span",4)(3,Ffb,7,3,"span",4)(4,Gfb,2,1,"span",4)(5,Kfb,8,4,"span",4)(6,Lfb,4,2,"span",4)(7,Ofb,6,2,"span",4)(8,Rfb,6,3,"span",4)(9,Sfb,2,2,"span",4);K()}if(a&2){a=b.$implicit;b=b.index;var d=R();Cf("id","b-app-search-option-",b,"");G("index",
b)("isActive",0<=b&&b<d.items.length?b===d.activeItemIndex:!1);A(1);G("ngIf","issue"===a.completionCfg.type);A(1);G("ngIf","hotlist"===a.completionCfg.type);A(1);G("ngIf","savedsearch"===a.completionCfg.type);A(1);G("ngIf","atom"===a.completionCfg.type);A(1);G("ngIf","component"===a.completionCfg.type);A(1);G("ngIf","tracker"===a.completionCfg.type);A(1);G("ngIf","team"===a.completionCfg.type);A(1);G("ngIf","customField"===a.completionCfg.type);A(1);G("ngIf",!d.SPECIAL_ITEM_TYPES.includes(a.completionCfg.type))}},
Wfb=function(a){if(a&1){var b=v();H(0,"div",21)(1,"input",22,23);Q("ngModelChange",function(c){x(b);var d=R();return z(d.searchName=c)})("keydown.Tab",function(){x(b);var c=R();return z(Vfb(c))})("keydown.enter",function(){x(b);var c=R();return z(c.saveSearch())});K();H(3,"button",24);Q("click",function(){x(b);var c=R();return z(c.saveSearch())});L(4,"mat-icon",25);K()()}a&2&&(a=R(),A(1),G("ngModel",a.searchName),A(2),G("disabled",!a.searchName))},Xfb=function(a){a&1&&(M(0),H(1,"span",10),T(2),K(),
N());a&2&&(a=R(),A(1),Jf("muted",a.disabled),A(1),$f(a.cardTitle))},Yfb=function(a){a&1&&L(0,"mat-icon",11)},Zfb=function(a){a&1&&L(0,"mat-icon",12)},$fb=function(a){a&1&&(H(0,"mat-select-trigger"),L(1,"mat-icon",20),H(2,"span"),T(3),K()());a&2&&(a=R(3),A(1),G("svgIcon",a.selectedOption.icon),A(2),$f(a.selectedOption.displayText))},agb=function(a){a&1&&L(0,"mat-icon",20);a&2&&(a=R().$implicit,G("svgIcon",a.icon))},bgb=function(a,b){a&1&&(H(0,"mat-option",21),F(1,agb,1,1,"mat-icon",22),T(2),K());a&
2&&(a=b.$implicit,G("value",a),A(1),G("ngIf",a.icon),A(1),V("",a.displayText," "))},cgb=function(a){if(a&1){var b=v();H(0,"mat-form-field",16)(1,"mat-label");T(2," Choose type... ");K();H(3,"mat-select",17);Q("valueChange",function(c){x(b);var d=R(2);return z(d.selectedOption=c)})("selectionChange",function(c){x(b);R(2).dropdownSelectionChanged.emit(c.value);return z()});F(4,$fb,4,2,"mat-select-trigger",18)(5,bgb,3,3,"mat-option",19);K()()}a&2&&(a=R(2),A(3),G("disabled",a.disabled)("value",a.selectedOption),
A(1),G("ngIf",a.selectedOption&&a.selectedOption.icon),A(1),G("ngForOf",a.dropdownOptions))},dgb=function(a){if(a&1){var b=v();H(0,"mat-form-field",13)(1,"input",14);Q("ngModelChange",function(c){x(b);var d=R();return z(d.cardTitleChange.emit(c))});K()();F(2,cgb,6,4,"mat-form-field",15)}a&2&&(a=R(),A(1),Jf("muted",a.disabled||!a.selected),G("placeholder",a.placeholderForCardTitle)("disabled",a.disabled||!a.selected)("ngModel",a.cardTitle),Af("aria-label",a.ariaLabelForCardTitle),A(1),G("ngIf",a.dropdownOptions.length))},
egb=function(a){a&1&&(H(0,"div",23),Wf(1),K())},fgb=function(a){a&1&&(H(0,"button",31),L(1,"mat-icon",32),K());a&2&&(a=R(2),G("disabled",a.disabled))},ggb=function(a){a&1&&L(0,"mat-divider",33);a&2&&G("vertical",!0)},igb=function(a){a&1&&(H(0,"mat-slide-toggle",34),T(1," Required "),K());a&2&&(a=R(2),G("disabled",a.disabled))},jgb=function(a){if(a&1){var b=v();H(0,"mat-slide-toggle",35);Q("change",function(c){x(b);var d=R(2);return z(d.isInheritedChange.emit(c))});T(1," Inherited ");K()}a&2&&(a=R(2),
G("checked",a.isInherited)("disabled",a.inheritedDisabled)("matTooltip",a.inheritedDisabledTooltipText)("matTooltipDisabled",!a.inheritedDisabled))},kgb=function(a){if(a&1){var b=v();H(0,"div",24)(1,"button",25);Q("click",function(){x(b);var c=R();return z(c.onSave())});T(2," Save ");K();H(3,"button",26);Q("click",function(){x(b);var c=R();return z(c.onCancel())});T(4," Cancel ");K();F(5,fgb,2,1,"button",27)(6,ggb,1,1,"mat-divider",28)(7,igb,2,1,"mat-slide-toggle",29)(8,jgb,2,4,"mat-slide-toggle",
30);K()}a&2&&(a=R(),A(1),G("disabled",a.isSaveButtonDisabled),A(2),G("disabled",a.disabled),A(2),G("ngIf",a.showDeleteButton),A(1),G("ngIf",a.showDeleteButton&&a.showRequiredToggle),A(1),G("ngIf",a.showRequiredToggle),A(1),G("ngIf",a.showInheritedToggle))},lgb=function(a){return rxa(a.getIt())},mgb=function(a){a&1&&(H(0,"h3"),T(1),K());a&2&&(a=R(2),A(1),V(" Edit Custom Field ",a.editableField.customFieldId," "))},ngb=function(a){a&1&&(H(0,"h3"),T(1," Create Custom Field "),K())},ogb=function(a){a&
1&&(H(0,"div",40),T(1),K());a&2&&(a=R(2),A(1),V(" ",a.serverError," "))},rgb=function(a,b){a&1&&(H(0,"button",41),T(1),W(2,"enumToHuman"),K());if(a&2){a=b.$implicit;R();var c=S(32);G("matMenuTriggerFor",c)("matMenuTriggerData",fg(5,pgb,a));A(1);V(" ",X(2,3,a)," ")}},sgb=function(a,b){if(a&1){var c=v();H(0,"button",43);Q("click",function(){var d=x(c).$implicit,e=R().type,f=R(2);return z(f.setType(e,"Multiple"===d))});T(1);K()}a&2&&(a=b.$implicit,A(1),V(" ",a," "))},tgb=function(a){a&1&&F(0,sgb,2,1,
"button",42);a&2&&(a=R(2),G("ngForOf",a.secondaryTypes))},vgb=function(a){if(a&1){var b=v();H(0,"td",7)(1,"label",44);T(2," Allowed Values: ");K();H(3,"b-list-field",45);Q("valuesChange",function(c){x(b);var d=R(2);return z(ugb(d,c.values))});K()()}a&2&&(a=R(2),A(3),G("defaultLineCount",3)("type",a.ListFieldType.REPEATED_TEXT)("values",a.editableField.allowedValue||null)("listFieldDisabled",a.isSaving)("preventDuplicates",!0)("isDefaultOrAllowedValues",!0)("truncate",!0))},wgb=function(a){a&1&&(H(0,
"label",46),T(1," Default Value: "),K())},zgb=function(a,b){if(a&1){var c=v();H(0,"b-edit-field",47);Q("valueChange",function(d){x(c);var e=R(2);xgb(e,d);return z()});K()}a&2&&(a=b.ngIf,b=R(2),G("name","Default")("type",a)("tooltip","Set default value")("value",ygb(b))("choices",b.allowedValues)("showEnumTitle",!0)("disabled",b.isSaving)("truncate",!0)("clearable",!0))},Agb=function(a){a&1&&(H(0,"label",48),T(1," Default Values: "),K())},Bgb=function(a,b){if(a&1){var c=v();H(0,"b-list-field",49);
Q("valuesChange",function(d){x(c);var e=R(2);xgb(e,d.values);return z()});K()}a&2&&(a=b.ngIf,b=R(2),G("defaultLineCount",3)("type",a)("tooltip","Set default values")("values",b.getListFieldValues())("enumChoices",b.allowedValues)("isDefaultOrAllowedValues",!0)("listFieldDisabled",b.isSaving)("truncate",!0))},Cgb=function(a,b){if(a&1){var c=v();H(0,"button",50);Q("click",function(){var d=x(c).$implicit,e=R(2);return z(e.setFieldSignificance(d))});T(1);W(2,"enumToHuman");K()}a&2&&(a=b.$implicit,A(1),
V(" ",X(2,1,a)," "))},Dgb=function(a){if(a&1){var b=v();H(0,"div",4);F(1,mgb,2,1,"h3",3)(2,ngb,2,0,"h3",3)(3,ogb,2,1,"div",5);H(4,"form",6)(5,"div",7)(6,"label",8);T(7,"Name:");K();H(8,"input",9);Q("ngModelChange",function(h){x(b);var k=R();return z(k.editableField.name=h)});K()();H(9,"div",7)(10,"label",10);T(11,"Description:");K();H(12,"textarea",11);Q("ngModelChange",function(h){x(b);var k=R();return z(k.editableField.description=h)});K()();H(13,"table",12)(14,"tr")(15,"td",7)(16,"div",13)(17,
"label",14);T(18," Type: ");K();H(19,"onedev-hovercard",null,15)(21,"div",16)(22,"div",17);T(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. ");K()()()();H(24,"button",18);T(25);W(26,"enumToHuman");L(27,"b-icon",19);K();H(28,"mat-menu",null,20);F(30,rgb,3,7,"button",21);K();H(31,"mat-menu",null,22);F(33,tgb,1,1,"ng-template",23);K()();F(34,vgb,4,7,"td",24);H(35,"td",7);F(36,wgb,2,0,"label",25)(37,zgb,1,9,"b-edit-field",
26)(38,Agb,2,0,"label",27)(39,Bgb,1,8,"b-list-field",28);K();H(40,"td",7)(41,"label",29);T(42," Required: ");K();H(43,"b-edit-field",30);Q("valueChange",function(h){x(b);var k=R();return z(k.editableField.required=!!h)});K()();H(44,"td",7)(45,"div",13)(46,"label",31);T(47," Field Significance: ");K();H(48,"onedev-hovercard",null,32)(50,"div",33)(51,"div",17);T(52," This affects whether users will receive notifications when changes are made to this field. ");L(53,"br");T(54," See\u00a0 ");H(55,"a",
34);T(56,"Email Settings ");K()()()()();H(57,"button",35);T(58);W(59,"enumToHuman");L(60,"b-icon",19);K();H(61,"mat-menu",null,36);F(63,Cgb,3,3,"button",37);K()()()();H(64,"button",38);Q("click",function(){x(b);var h=R();return z(h.save())});T(65," Save ");K();H(66,"button",39);Q("click",function(){x(b);var h=R();return z(h.cancel())});T(67," Cancel ");K()()()}if(a&2){var c=S(20),d=S(29),e=S(49),f=S(62);a=R();A(1);G("ngIf",!!a.editableField.customFieldId);A(1);G("ngIf",!a.editableField.customFieldId);
A(1);G("ngIf",a.serverError);A(5);G("bFocus",a.editableField&&!a.isLoading)("ngModel",a.editableField.name)("disabled",a.isSaving);A(4);G("ngModel",a.editableField.description)("disabled",a.isSaving);A(5);G("onedevHovercardTrigger",c);A(7);G("matMenuTriggerFor",d)("disabled",!!a.editableField.customFieldId);A(1);V(" ",X(26,28,a.editableField.type)," ");A(5);G("ngForOf",a.typeChoices);A(4);G("ngIf",["REPEATED_ENUM","ENUM"].includes(a.editableField.type));A(2);G("ngIf",!a.isRepeated(a.editableField));
A(1);G("ngIf",a.getSingleEditFieldType(a.editableField));A(1);G("ngIf",a.isRepeated(a.editableField));A(1);G("ngIf",a.getListFieldType(a.editableField));A(4);G("name","Required")("type",a.FieldType.BOOL)("tooltip","Whether the field is required")("value",a.editableField.required);A(3);G("onedevHovercardTrigger",e);A(9);G("href",a.documentationLinks.baseDocumentationUrl+"/concepts/settings#email",Wd);A(2);G("matMenuTriggerFor",f);A(1);V(" ",X(59,30,a.editableField.fieldSignificance)," ");A(5);G("ngForOf",
a.significanceChoices);A(1);G("disabled",!a.hasUnsavedChanges()||!a.editableField.name)}},Egb=function(a){a&1&&(H(0,"div",51),L(1,"b-spinner",52),K());a&2&&(A(1),G("large",!0))},Fgb=function(a){a&1&&(H(0,"th"),T(1,"Actions"),K())},Hgb=function(a){if(a&1){var b=v();H(0,"td",59)(1,"button",60);Q("click",function(){x(b);var c=R().index,d=R(2);return z(d.editField(c))});T(2,"Edit");K();H(3,"button",60);Q("click",function(){x(b);var c=R().index,d=R(2);return z(Ggb(d,c))});T(4,"Delete");K()()}},Igb=function(a,
b){a&1&&(H(0,"tr",56)(1,"td"),T(2),K(),H(3,"td"),T(4),K(),H(5,"td"),T(6),W(7,"enumToHuman"),K(),H(8,"td"),T(9),K(),H(10,"td"),T(11),W(12,"yesNo"),K(),H(13,"td"),L(14,"b-custom-field-value-display",57),K(),H(15,"td"),T(16),W(17,"arrayToHuman"),K(),H(18,"td"),T(19),W(20,"enumToHuman"),K(),F(21,Hgb,5,0,"td",58),K());a&2&&(a=b.$implicit,b=R(2),G("ngClass",a.enabledOnIssues?"enabled-field":"disabled-field"),A(2),$f(a.name),A(2),$f(a.customFieldId),A(2),$f(X(7,10,a.type)),A(3),$f(a.description),A(2),$f(X(12,
12,a.required)),A(3),G("customFieldValue",a.typedDefaultValue),A(2),$f(X(17,14,a.allowedValue)),A(3),$f(X(20,16,a.fieldSignificance)),A(2),G("ngIf",b.editMode))},Jgb=function(a){a&1&&(H(0,"tr")(1,"td",61),T(2," There are no custom fields defined on this component. "),K()())},Kgb=function(a){a&1&&(H(0,"tr")(1,"td",62)(2,"strong"),T(3,"Fields inherited from parent components"),K()()())},Lgb=function(a){a&1&&(M(0),L(1,"b-component-card",69,70),N());if(a&2){var b=S(2);a=R().$implicit;A(1);G("onedevIsHovercardReady",
b.init)("componentId",a.componentId.toString())}},Ngb=function(a){if(a&1){var b=v();H(0,"b-field-state-menu",71,72);Q("fieldStateChange",function(d){x(b);var e=R(),f=e.$implicit;e=e.index;var h=R(3);return z(h.updateCustomFieldState(f,d,e))});K()}if(a&2){a=R().$implicit;var c=R(3);G("fieldName",a.name)("fieldState",a.stateOnIssues)("enabledOnParent",Mgb(c,a.customFieldId))("disabled",!c.editMode)("matTooltip",c.msgFieldStateTip);Af("aria-label",c.msgFieldStateTip)}},Ogb=function(a,b){if(a&1){var c=
v();H(0,"tr",56)(1,"td");T(2);K();H(3,"td");T(4);K();H(5,"td");T(6);W(7,"enumToHuman");K();H(8,"td");T(9);K();H(10,"td");T(11);W(12,"yesNo");K();H(13,"td");L(14,"b-custom-field-value-display",57);K();H(15,"td");T(16);W(17,"arrayToHuman");K();H(18,"td");T(19);W(20,"enumToHuman");K();H(21,"td",59)(22,"div",63)(23,"div",64);T(24,"Inherited From");K();H(25,"a",65);Q("click",function(){x(c);var e=R(3);return z(e.trackClick("parentCustomFields"))});T(26);K();H(27,"onedev-hovercard",null,66);F(29,Lgb,3,
2,"ng-container",67);K()();F(30,Ngb,2,6,"b-field-state-menu",68);K()()}if(a&2){a=b.$implicit;var d=S(28);b=R(3);G("ngClass",a.enabledOnIssues?"enabled-field":"disabled-field");A(2);$f(a.name);A(2);$f(a.customFieldId);A(2);$f(X(7,13,a.type));A(3);$f(a.description);A(2);$f(X(12,15,a.required));A(3);G("customFieldValue",a.typedDefaultValue);A(2);$f(X(17,17,a.allowedValue));A(3);$f(X(20,19,a.fieldSignificance));A(6);G("onedevHovercardTrigger",d)("href",b.paths.manageComponent(a.componentId,"customFields"),
Wd);A(1);V(" ",b.componentIdsToNames[a.componentId]," ");A(4);G("ngIf",b.editMode)}},Pgb=function(a){a&1&&(M(0),F(1,Ogb,31,21,"tr",54),N());a&2&&(a=R(2),A(1),G("ngForOf",a.inheritedCustomFields))},Qgb=function(a){a&1&&(H(0,"tfoot")(1,"tr")(2,"td",62),T(3," Custom fields in this table are sorted alphabetically. To see or modify field ordering, go to the "),H(4,"a",73),T(5,"Field Ordering"),K(),T(6," tab."),L(7,"br"),T(8," Before removing custom fields or adding/changing required state, ensure that no automation depends on them. "),
K()()())},Rgb=function(a){if(a&1){var b=v();H(0,"div",74)(1,"button",75);Q("click",function(){x(b);var c=R(2);c.editableField=new Uwa;c.originalEditableFieldValue=ai(c.editableField);c.setType("TEXT");c.allowedValues=[];c.serverError=null;return z()});T(2," Add a Custom Field ");K()()}},Sgb=function(a){a&1&&(H(0,"div")(1,"table",53)(2,"tr")(3,"th"),T(4,"Name"),K(),H(5,"th"),T(6,"ID"),K(),H(7,"th"),T(8,"Type"),K(),H(9,"th"),T(10,"Description"),K(),H(11,"th"),T(12,"Required?"),K(),H(13,"th"),T(14,"Default Value"),
K(),H(15,"th"),T(16,"Allowed Values"),K(),H(17,"th"),T(18,"Field Significance"),K(),F(19,Fgb,2,0,"th",3),K(),F(20,Igb,22,18,"tr",54)(21,Jgb,3,0,"tr",3)(22,Kgb,4,0,"tr",3)(23,Pgb,2,1,"ng-container",3)(24,Qgb,9,0,"tfoot",3),K(),F(25,Rgb,3,0,"div",55),K());a&2&&(a=R(),A(19),G("ngIf",a.editMode),A(1),G("ngForOf",a.customFields),A(1),G("ngIf",!a.customFields.length),A(1),G("ngIf",a.inheritedCustomFields.length),A(1),G("ngIf",a.inheritedCustomFields.length),A(1),G("ngIf",a.customFields.length),A(1),G("ngIf",
a.editMode))},Tgb=function(a){if(a&1){var b=v();H(0,"button",18);Q("click",function(){x(b);var c=R().index,d=R();return z(d.removeAtIndex.emit(c))});L(1,"mat-icon",19);K()}a&2&&(a=R().$implicit,Af("aria-label","Delete row "+a.label))},Ugb=function(a,b){if(a&1){var c=v();H(0,"div",9)(1,"div",10);L(2,"mat-icon",11);H(3,"div",1)(4,"mat-form-field",12)(5,"input",13,14);Q("change",function(f){var h=x(c).index,k=R();k.options[h].label=f.target.value;k.optionsChange.emit(k.options);return z()});K()()();
H(7,"div",1)(8,"mat-form-field",12)(9,"input",15,16);Q("change",function(f){var h=x(c).index,k=R();return z(k.valueChange(f,h))});K()()();F(11,Tgb,2,1,"button",17);K()()}if(a&2){a=b.$implicit;var d=S(6),e=S(10);b=R();A(4);G("appearance",d.focused||e.focused?"standard":"none");A(1);Jf("muted",b.disabled);G("value",a.label)("placeholder",null==a.label?"Dropdown value":"")("disabled",b.disabled);A(3);G("appearance",d.focused||e.focused?"standard":"none");A(1);Jf("muted",b.disabled);G("value",a.value)("placeholder",
null==a.value?"Average days":"")("disabled",b.disabled);A(2);G("ngIf",!b.disabled)}},Vgb=function(a){if(a&1){var b=v();H(0,"button",20);Q("click",function(){x(b);var c=R();return z(c.addRow.emit())});T(1," Add row\n");K()}},Wgb=function(a){a&1&&Rf(0)},Xgb=function(a){a&1&&(M(0),F(1,Wgb,1,0,"ng-container",5),N());if(a&2){R();var b=S(7);A(1);G("ngTemplateOutlet",b)}},Ygb=function(a){if(a&1){var b=v();M(0);H(1,"b-numeric-config",6);Q("valueChange",function(c){x(b);var d=R();return z(d.numericSpecMultiplier=
c)});K();N()}a&2&&(a=R(),A(1),G("disabled",a.disabled)("value",a.numericSpecMultiplier))},Zgb=function(a){a&1&&Rf(0)},$gb=function(a){if(a&1){var b=v();H(0,"div",7)(1,"label",8);T(2,"Aggregation Rule");K();H(3,"a",9);L(4,"mat-icon",10);K();L(5,"br");H(6,"mat-form-field",11)(7,"mat-select",12);Q("valueChange",function(c){x(b);var d=R();return z(d.selectedAggregationRule=c)});H(8,"mat-select-trigger");T(9);W(10,"aggregationRuleText");K();H(11,"mat-option",13)(12,"div",14);T(13);W(14,"aggregationRuleText");
K();H(15,"div",15);T(16,"All parents and children are added to the total");K()();H(17,"mat-option",13)(18,"div",14);T(19);W(20,"aggregationRuleText");K();H(21,"div",15);T(22,"Take the assigned estimate if larger than total of all immediate children");K()()()()()}a&2&&(a=R(),A(7),G("value",a.selectedAggregationRule)("disabled",a.disabled),A(2),V(" ",X(10,7,a.selectedAggregationRule)," "),A(2),G("value",a.aggregationRules.SUM),A(2),$f(X(14,9,a.aggregationRules.SUM)),A(4),G("value",a.aggregationRules.MAX),
A(2),$f(X(20,11,a.aggregationRules.MAX)))},ahb=function(a){if(a&1){var b=v();H(0,"b-config-grid",16);Q("optionsChange",function(c){x(b);var d=R();return z(d.enumSpecOptions=c)})("addRow",function(){x(b);var c=R();return z(c.addRow())})("removeAtIndex",function(c){x(b);R().enumSpecOptions.splice(c,1);return z()});K()}a&2&&(a=R(),G("options",a.enumSpecOptions)("disabled",a.disabled||a.inherit))},bhb=function(a){a&1&&(H(0,"div",8),L(1,"b-team-warning",9),K());a&2&&(a=R().ngIf,A(1),G("warningType",a)("messageOnly",
!0))},chb=function(a,b){a&1&&(M(0),F(1,bhb,2,2,"div",7),N());a&2&&(a=b.ngIf,b=R(),A(1),G("ngIf",b.isAdmin&&("MISSING"===a||"DELETED"===a)))},dhb=function(a){if(a&1){var b=v();H(0,"div",10)(1,"mat-checkbox",11);Q("change",function(c){x(b);var d=R();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()});T(2," Override the inherited team ");K()()}a&2&&(a=R(),A(1),
G("disabled",!a.isAdmin)("checked",!a.inherit))},fhb=function(a){if(a&1){var b=v();H(0,"a",13);Q("click",function(){x(b);R(2);Hk(Kp.MANAGE_COMPONENT,"navigate","to-internal-team-page");return z()});L(1,"mat-icon",14);K()}a&2&&(a=R(2),G("routerLink",ehb(a)?"/teams/"+a.model.id+"/edit":null)("target",a.anchorTarget))},ghb=function(a){a&1&&(M(0),F(1,fhb,2,2,"a",12),N());a&2&&(a=R(),A(1),G("ngIf",ehb(a)))},hhb=function(a){if(a&1){var b=v();H(0,"a",16);Q("click",function(){x(b);var c=R(2);Hk(Kp.MANAGE_COMPONENT,
"linkout-moma","team",Number(c.model.id));return z()});L(1,"mat-icon",14);K()}a&2&&(a=R(2),Af("href",a.getMomaTeamLink(),Wd))},ihb=function(a){a&1&&F(0,hhb,2,1,"a",15);a&2&&(a=R(),G("ngIf",ehb(a)))},lhb=function(a,b){if(a&1){var c=v();H(0,"li",11);Q("keydown",function(e){var f=x(c).index,h=R();return z(h.onKeyDown(e,f))})("focus",function(){var e=x(c).index,f=R();return z(f.onFocus(e))});L(1,"mat-icon",12);H(2,"span");T(3);K();H(4,"div",13)(5,"button",14);Q("click",function(){var e=x(c).index,f=R();
return z(jhb(f,e))});L(6,"mat-icon",15);K();H(7,"button",16);Q("click",function(){var e=x(c).index,f=R();return z(khb(f,e))});L(8,"mat-icon",17);K()()()}if(a&2){a=b.$implicit;b=b.index;var d=R();Af("aria-label",a.name)("aria-grabbed",b===d.grabbedIndex);A(3);$f(a.name);A(2);Jf("invisible",0===b);A(2);Jf("invisible",b===d.fields.length-1)}},mhb=function(a){a&1&&(H(0,"th",14),T(1," Order"),K())},nhb=function(a,b){a&1&&(H(0,"td",15),T(1),K());a&2&&(a=b.index,A(1),V(" ",a+1," "))},ohb=function(a){a&1&&
(H(0,"th",14),T(1," Name"),K())},phb=function(a,b){a&1&&(H(0,"td",15),T(1),K());a&2&&(a=b.$implicit,A(1),V(" ",a.name," "))},qhb=function(a){a&1&&(H(0,"th",14),T(1," Type"),K())},rhb=function(a,b){a&1&&(H(0,"td",15),T(1),W(2,"toCustomFieldTypeDisplayValue"),K());a&2&&(a=b.$implicit,A(1),V(" ",X(2,1,a.type)," "))},shb=function(a){a&1&&(H(0,"th",14),T(1," Required"),K())},thb=function(a,b){a&1&&(H(0,"td",15),T(1),K());a&2&&(a=b.$implicit,A(1),V(" ",a.required?"Yes":"No"," "))},uhb=function(a){a&1&&
(H(0,"th",14),T(1," ID"),K())},vhb=function(a,b){a&1&&(H(0,"td",15),T(1),K());a&2&&(a=b.$implicit,A(1),V(" ",a.customFieldId," "))},whb=function(a){a&1&&L(0,"tr",16)},xhb=function(a){a&1&&L(0,"tr",17)},yhb=function(a){a&1&&(H(0,"div",18),T(1," There are no custom fields defined on this component. "),K())},Bhb=function(a){if(a&1){var b=v();H(0,"div",19)(1,"div")(2,"button",20);Q("click",function(){x(b);var c=R();return z(zhb(c))});T(3," Reorder fields ");K();H(4,"button",20);Q("click",function(){x(b);
var c=R();return z(Ahb(c))});T(5," Reset ordering ");K()()()}a&2&&(a=R(),A(2),G("disabled",0===a.fields.length),A(2),G("disabled","CUSTOMIZED"!==a.fieldOrdering))},Chb=function(a){a&1&&(H(0,"span"),T(1),K());a&2&&(a=R(),A(1),a=a.lineNumbers.length,V(" (",a+(1==a?" TODO":" TODOs"),") "))},Ehb=function(a,b){if(a&1){var c=v();H(0,"li",5)(1,"a",6);Q("click",function(){x(c);var d=R(2);return z(d.trackClick("lineNumber"))});T(2);K()()}a&2&&(a=b.$implicit,b=R(2),A(1),G("href",Dhb(b,a),Wd),A(1),$f(a))},Fhb=
function(a){a&1&&(H(0,"span"),T(1," ("),H(2,"ul",3),F(3,Ehb,3,2,"li",4),K(),T(4,") "),K());a&2&&(a=R(),A(3),G("ngForOf",a.lineNumbers))},Ghb=function(a){a&1&&(H(0,"a",10),T(1," Create Component "),K());a&2&&(a=R(),G("href",a.createComponentPath,Wd))},Hhb=function(a){if(a&1){var b=v();H(0,"xap-dialog-layout",11)(1,"xap-dialog-layout-content")(2,"b-team-component-picker",12);Q("selectedComponentChange",function(d){x(b);var e=R();return z(e.viewComponent(null!==d&&void 0!==d?d:null,"openFromSearch"))});
W(3,"async");K()()()}if(a&2){a=R();var c;A(2);G("includeArchived",null!==(c=X(3,4,a.includeArchived$))&&void 0!==c?c:!1)("placeholder","Choose Component to navigate to that component")("shouldFocus",!0)("isRequired",!1)}},Jhb=function(a){if(a&1){var b=v();H(0,"div",13)(1,"b-slide-toggle",14);Q("modelChange",function(d){x(b);var e=R();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&&Ihb(e,d,(0,E.firstValueFrom)(e.topLevelComponents$));return z()});W(2,"async");K()()}if(a&2){a=R();var c;A(1);G("model",null!==(c=X(2,2,a.includeArchived$))&&void 0!==c?c:!1)("tooltip",a.includeArchived?"Show archived components.":"Hide archived components.")}},Khb=function(a){a&1&&(H(0,"div",15),L(1,"b-spinner",16),K())},Lhb=function(a){a&1&&(H(0,"p",3),T(1),K());a&2&&(a=R(),A(1),$f(a.packageMentionSet.packageName))},Mhb=function(a,b){a&1&&(H(0,"li"),L(1,"b-file-mention",4),K());a&2&&(a=
b.$implicit,b=R(),A(1),G("issueId",b.issueId)("packageName",b.packageMentionSet.packageName)("filename",a.filename)("lineNumbers",a.lineNumber)("changeNumber",a.changeNumber))},Phb=function(a){a&1&&(H(0,"span"),T(1),H(2,"b"),T(3),K(),T(4," on "),H(5,"b"),T(6),W(7,"date"),K(),T(8,". "),K());a&2&&(a=R(4),A(1),V(" Currently, the ",a.contentType," is scheduled for deletion in "),A(2),$f(Nhb(Ohb(a).getTime(),!0)),A(3),$f(ig(7,3,Ohb(a),"longDate")))},Qhb=function(a){a&1&&(H(0,"span")(1,"b"),T(2,"Retention:"),
K(),T(3),H(4,"b"),T(5),K(),T(6," from the last modification of the issue. "),F(7,Phb,9,6,"span",11),K());if(a&2){a=R(3);var b=S(10);A(3);V(" This ",a.contentType," has a retention period of ");A(2);$f(a.getRetentionPeriod());A(2);G("ngIf",!(Ohb(a).getTime()<(new ei).getTime()))("ngIfElse",b)}},Rhb=function(a){a&1&&(T(0),H(1,"b"),T(2,"overridden"),K(),T(3," retention period set to match the issue retention period. "));a&2&&(a=R(3),V(" The ",a.contentType," has an "))},Shb=function(a){a&1&&(H(0,"p",
10),F(1,Qhb,8,4,"span",11)(2,Rhb,4,1,"ng-template",12),K());if(a&2){a=R(2);var b=S(8);G("ngSwitch",a.retention);A(1);G("ngIf",!(a.retentionState&&!a.retentionState.scheduledDeletionTime))("ngIfElse",b);A(1);G("ngSwitchCase",a.retentionModel.INDEFINITE)}},Thb=function(a){a&1&&(H(0,"div",7)(1,"p")(2,"b"),T(3,"Restricted Access:"),K(),T(4),H(5,"a",8),T(6," Learn More "),K()(),F(7,Shb,3,4,"p",9),K());a&2&&(a=R(),A(4),V(" This ",a.contentType," is only available to users with the appropriate permissions. "),
A(1),G("rel",a.EXTERNAL_LINK_REL),Af("href",a.documentationLinks.getRestrictedAccessHelpLink(),Wd),A(2),G("ngIf",a.retentionState))},Uhb=function(a){a&1&&(H(0,"b"),T(1,"Retention:"),K(),T(2));a&2&&(a=R(),A(2),V(" This ",a.contentType," has an indefinite retention period. "))},Vhb=function(a){a&1&&(T(0," The retention has "),H(1,"b"),T(2,"expired"),K(),T(3),H(4,"b"),T(5),W(6,"date"),K(),T(7,". "));a&2&&(a=R(),A(3),V(" and the ",a.contentType," was scheduled for deletion on "),A(2),$f(ig(6,2,Ohb(a),
"longDate")))},Whb=function(a){a&1&&(H(0,"span",6),T(1," Select at least one tracker "),K())},Xhb=function(a,b){if(a&1){var c=v();H(0,"div",7)(1,"mat-checkbox",8);Q("change",function(d){var e=x(c).$implicit,f=R();return z(f.trackerCheckboxValues[e.trackerId]=d.checked)});T(2);K()()}a&2&&(a=b.$implicit,b=R(),A(1),G("checked",b.trackerCheckboxValues[a.trackerId]||!1),A(1),V(" ",a.name," "))},Yhb=function(a){a&1&&(L(0,"b-tracker-search",6),W(1,"async"),W(2,"async"));a&2&&(a=R(),G("currentTrackerId",
X(1,2,a.currentTracker.trackerId$))("availableTrackers",X(2,4,a.currentTracker.availableTrackers$)))},Zhb=function(a){a&1&&(H(0,"div",7),L(1,"b-spinner"),H(2,"span"),T(3,"Initializing query builder..."),K()())},$hb=function(a){a&1&&(H(0,"div",10),L(1,"mat-icon",11),H(2,"p"),T(3," The query is too complex to show in the query builder. You can still perform the search or save the search. "),K()())},aib=function(a){a&1&&(H(0,"div"),T(1," We cannot understand your query because it seems to be incorrect (syntactically). Make sure all parentheses are balanced and all labels have values. "),
K())},bib=function(a){a&1&&(H(0,"div",8),F(1,$hb,4,0,"div",9)(2,aib,2,0,"div",5),K());a&2&&(a=R(),A(1),G("ngIf","NOT_REPRESENTABLE"===(null==a.advancedSearchCtrl?null:a.advancedSearchCtrl.getState())),A(1),G("ngIf","SYNTAX_ERROR"===(null==a.advancedSearchCtrl?null:a.advancedSearchCtrl.getState())))},cib=function(a){a&1&&(H(0,"div",8),T(1," We encountered a problem while retrieving the interpretation of the search query from the server. Please try again. "),K())},dib=function(a){a&1&&L(0,"b-tracker-account-menu-hack")},
eib=function(a){a&1&&(H(0,"span"),T(1),L(2,"span",16),K());a&2&&(a=R(2).$implicit,A(1),V(" ",a.diff.oldValue," "))},fib=function(a){a&1&&(H(0,"span")(1,"label"),T(2),K(),F(3,eib,3,1,"span",15),T(4),K());a&2&&(a=R().$implicit,A(2),V("",a.fieldName,":"),A(1),G("ngIf",a.diff.oldValue),A(1),V(" ",a.diff.newValue," "))},gib=function(a,b){a&1&&(H(0,"div")(1,"label"),T(2),K(),T(3),K());a&2&&(a=b.$implicit,b=R(3).$implicit,A(2),V("-",b.fieldName,":"),A(1),V(" ",a," "))},hib=function(a){a&1&&(M(0),F(1,gib,
4,2,"div",17),N());a&2&&(a=R(2).$implicit,A(1),G("ngForOf",a.diff.removed))},iib=function(a,b){a&1&&(H(0,"div")(1,"label"),T(2),K(),T(3),K());a&2&&(a=b.$implicit,b=R(3).$implicit,A(2),V("+",b.fieldName,":"),A(1),V(" ",a," "))},jib=function(a){a&1&&(M(0),F(1,iib,4,2,"div",17),N());a&2&&(a=R(2).$implicit,A(1),G("ngForOf",a.diff.added))},kib=function(a){a&1&&(H(0,"div"),F(1,hib,2,1,"ng-container",15)(2,jib,2,1,"ng-container",15),K());a&2&&(a=R().$implicit,A(1),G("ngIf",a.diff.removed),A(1),G("ngIf",
a.diff.added))},lib=function(a,b){a&1&&(H(0,"div",14),F(1,fib,5,3,"span",15)(2,kib,3,2,"div",15),K());a&2&&(a=b.$implicit,A(1),G("ngIf","SINGLE_VALUE"==a.diffType),A(1),G("ngIf","COLLECTION"==a.diffType))},mib=function(a,b){a&1&&(H(0,"li",5)(1,"div",6),L(2,"b-user-image",7),K(),H(3,"div",8)(4,"h4"),L(5,"b-user-display-name",9),H(6,"span",10),L(7,"b-formatted-date-time",11),K()(),H(8,"div",12),F(9,lib,3,2,"div",13),K()()());a&2&&(a=b.$implicit,b=R(),A(2),G("email",b.userToDisplay(a.author)),A(3),G("email",
b.userToDisplay(a.author)),A(2),G("timestamp",a.timestamp),A(2),G("ngForOf",a.diffs))},nib=function(a,b){a&1&&(H(0,"mat-option",3),T(1),L(2,"br"),H(3,"span",4),T(4),K()());a&2&&(a=b.$implicit,G("value",a),A(1),V(" ",a.title,""),A(3),$f(a.description))},oib=function(a,b){a&1&&(M(0),Rf(1,5),N());if(a&2){a=b.$implicit;R();var c=S(2);A(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",fg(2,Es,a))}},pib=function(a){a&1&&(M(0),Rf(1,5),N());if(a&2){a=R().question;R();var b=S(4);A(1);G("ngTemplateOutlet",
b)("ngTemplateOutletContext",fg(2,Es,a))}},qib=function(a){a&1&&(M(0),Rf(1,5),N());if(a&2){a=R().question;R();var b=S(6);A(1);G("ngTemplateOutlet",b)("ngTemplateOutletContext",fg(2,Es,a))}},rib=function(a){a&1&&(M(0),Rf(1,5),N());if(a&2){a=R().question;R();var b=S(8);A(1);G("ngTemplateOutlet",b)("ngTemplateOutletContext",fg(2,Es,a))}},sib=function(a,b){a&1&&(M(0,6),F(1,pib,2,4,"ng-container",7)(2,qib,2,4,"ng-container",7)(3,rib,2,4,"ng-container",7),N());a&2&&(a=b.question,b=R(),G("ngSwitch",a.type),
A(1),G("ngSwitchCase",b.CustomQuestionType.INPUT),A(1),G("ngSwitchCase",b.CustomQuestionType.TEXT),A(1),G("ngSwitchCase",b.CustomQuestionType.SELECT))},tib=function(a,b){if(a&1){var c=v();L(0,"h4",8);H(1,"mat-form-field",9)(2,"input",10);Q("ngModelChange",function(d){var e=x(c).question;return z(e.response=d)});K()()}a&2&&(a=b.question,G("innerHtml",a.question,Vd),A(2),G("ngModel",a.response),Af("aria-label",a.question))},uib=function(a,b){if(a&1){var c=v();L(0,"h4",8);H(1,"mat-form-field",11)(2,
"textarea",10);Q("ngModelChange",function(d){var e=x(c).question;return z(e.response=d)});T(3,"    ");K()()}a&2&&(a=b.question,G("innerHtml",a.question,Vd),A(2),G("ngModel",a.response),Af("aria-label",a.question))},wib=function(a,b){a&1&&(H(0,"mat-option",15),T(1),K());a&2&&(a=b.$implicit,R(2),G("value",a),A(1),V(" ",vib(a)?a.text:a," "))},xib=function(a){a&1&&Rf(0,5);if(a&2){a=R().question;R();var b=S(2);G("ngTemplateOutlet",b)("ngTemplateOutletContext",fg(2,Es,a.response.child))}},zib=function(a,
b){if(a&1){var c=v();L(0,"h4",8);H(1,"mat-form-field",9)(2,"mat-select",12);Q("valueChange",function(d){var e=x(c).question,f=R();e.response=d;return z(yib(f))});F(3,wib,2,2,"mat-option",13);K()();F(4,xib,1,4,"ng-container",14)}a&2&&(a=b.question,R(),G("innerHtml",a.question,Vd),A(1),Af("aria-label",a.question),A(1),G("value",a.response),A(1),G("ngForOf",a.options),A(1),G("ngIf",vib(a.response)))},Aib=function(a){a&1&&Wf(0)},Bib=function(a){a&1&&Rf(0,2);a&2&&(a=R(),G("ngTemplateOutlet",a.iconOverrides[a.state])("ngTemplateOutletContext",
a._getIconContext()))},Cib=function(a){a&1&&(H(0,"span",7),T(1),K());a&2&&(a=R(2),A(1),$f(a._getDefaultTextForState(a.state)))},Dib=function(a){a&1&&(H(0,"span",9),T(1),K());a&2&&(a=R(3),A(1),$f(a._intl.completedLabel))},Eib=function(a){a&1&&(H(0,"span",9),T(1),K());a&2&&(a=R(3),A(1),$f(a._intl.editableLabel))},Fib=function(a){a&1&&(F(0,Dib,2,1,"span",8)(1,Eib,2,1),H(2,"mat-icon",7),T(3),K());a&2&&(a=R(2),Nf(0,"done"===a.state?0:"edit"===a.state?1:-1),A(3),$f(a._getDefaultTextForState(a.state)))},
Gib=function(a){a&1&&F(0,Cib,2,1)(1,Fib,4,2);a&2&&(a=R(),Nf(0,"number"===a.state?0:1))},Hib=function(a,b){a&1&&(H(0,"div",10),Rf(1,11),K());a&2&&(A(1),G("ngTemplateOutlet",b.template))},Iib=function(a){a&1&&(H(0,"div",10),T(1),K());a&2&&(a=R(),A(1),$f(a.label))},Jib=function(a){a&1&&(H(0,"div",12),T(1),K());a&2&&(a=R(),A(1),$f(a._intl.optionalLabel))},Kib=function(a){a&1&&(H(0,"div",13),T(1),K());a&2&&(a=R(),A(1),$f(a.errorMessage))},Lib=function(){},Mib=function(a){a&1&&(Wf(0),F(1,Lib,0,0,"ng-template",
0));a&2&&(a=R(),A(1),G("cdkPortalOutlet",a._portal))},Nib=function(a){a&1&&L(0,"div",6)},Pib=function(a,b){a&1&&(Rf(0,4),F(1,Nib,1,0,"div",5));if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;R(2);var d=S(3);G("ngTemplateOutlet",d)("ngTemplateOutletContext",gg(3,Oib,a,c));A(1);Nf(1,c!==b-1?1:-1)}},Sib=function(a,b){if(a&1){var c=v();H(0,"div",7);Q("@horizontalStepTransition.done",function(e){x(c);var f=R(2);return z(f._animationDone.next(e))});Rf(1,8);K()}if(a&2){a=b.$implicit;b=b.$index;var d=R(2);
Jf("mat-horizontal-stepper-content-inactive",d.selectedIndex!==b);G("@horizontalStepTransition",gg(8,Qib,d._getAnimationDirection(b),fg(6,Rib,d._getAnimationDuration())))("id",d._getStepContentId(b));Af("aria-labelledby",d._getStepLabelId(b));A(1);G("ngTemplateOutlet",a.content)}},Tib=function(a){a&1&&(H(0,"div",1)(1,"div",2),Pf(2,Pib,2,6,null,null,Of),K(),H(4,"div",3),Pf(5,Sib,2,11,"div",9,Of),K()());a&2&&(a=R(),A(2),Qf(a.steps),A(3),Qf(a.steps))},Uib=function(a,b){if(a&1){var c=v();H(0,"div",10);
Rf(1,4);H(2,"div",11)(3,"div",12);Q("@verticalStepTransition.done",function(h){x(c);var k=R(2);return z(k._animationDone.next(h))});H(4,"div",13);Rf(5,8);K()()()()}if(a&2){a=b.$implicit;var d=b.$index;b=b.$count;var e=R(2),f=S(3);A(1);G("ngTemplateOutlet",f)("ngTemplateOutletContext",gg(10,Oib,a,d));A(1);Jf("mat-stepper-vertical-line",d!==b-1);A(1);Jf("mat-vertical-stepper-content-inactive",e.selectedIndex!==d);G("@verticalStepTransition",gg(15,Qib,e._getAnimationDirection(d),fg(13,Rib,e._getAnimationDuration())))("id",
e._getStepContentId(d));Af("aria-labelledby",e._getStepLabelId(d));A(2);G("ngTemplateOutlet",a.content)}},Vib=function(a){a&1&&Pf(0,Uib,6,18,"div",14,Of);a&2&&(a=R(),Qf(a.steps))},Wib=function(a,b){if(a&1){var c=v();H(0,"mat-step-header",15);Q("click",function(){var e=x(c).step;return z(e.select())})("keydown",function(e){x(c);var f=R();return z(f._onKeydown(e))});K()}if(a&2){a=b.step;b=b.i;var d=R();Jf("mat-horizontal-stepper-header","horizontal"===d.orientation)("mat-vertical-stepper-header","vertical"===
d.orientation);G("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);Af("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)}},Yib=function(a){if(a&1){var b=v();M(0);H(1,"h4",2);T(2,"Which of the following best describes the issue that you are reporting?");K();H(3,"wizard-category-select",48);Q("categoryChange",function(c){x(b);var d=R();return z(d.model.category=c)});K();H(4,"mat-card",49)(5,"mat-card-header");T(6," Avoid duplicate issue reports: ");
K();H(7,"mat-card-content")(8,"mat-checkbox",50);Q("ngModelChange",function(c){x(b);var d=R();return z(d.ackDupes=c)});T(9," By checking this box, I'm acknowledging that I have searched for ");H(10,"a",51);T(11,"existing issues");K();T(12," that already report this problem. ");K()()();H(13,"div",32)(14,"button",35);T(15," Next ");L(16,"mat-icon",36);K()();N()}a&2&&(a=R(),A(3),G("persona",a.model.persona)("category",a.model.category),A(5),G("ngModel",a.ackDupes),A(2),G("href",a.existingIssuesLink,
Wd),A(4),G("disabled",!Xib(a,0)))},Zib=function(a){a&1&&(H(0,"div")(1,"h3"),T(2,"Prefer to file an issue manually?"),K(),H(3,"p"),T(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. "),K(),H(5,"p"),T(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",51),T(8,"form"),
K(),T(9,". "),K()());a&2&&(a=R(),A(7),G("href",a.paths.createIssue(),Wd))},$ib=function(a){a&1&&(H(0,"mat-error"),T(1," Summary is required "),K())},ajb=function(a){a&1&&(H(0,"mat-error"),T(1," Steps to reproduce are required "),K())},bjb=function(a){a&1&&(H(0,"mat-error"),T(1," Issue description is required "),K())},cjb=function(a){if(a&1){var b=v();H(0,"wizard-custom-questions",52);Q("responses",function(c){x(b);var d=R();return z(d.model.customQuestionResponses=c)});K()}a&2&&(a=R(),G("category",
a.model.category.value))},djb=function(a){if(a&1){var b=v();H(0,"div",53)(1,"b-recaptcha",54);Q("onUpdate",function(c){x(b);var d=R();return z(d.recaptchaResponse=c)});K()()}},ejb=function(){},fjb=function(){},gjb=function(){},ijb=function(a){return a.length?"# Custom Questions\n"+hjb(a).map(function(b){var c;return"#### "+(null!=(c=b.answerPrefix)?c:b.question)+"\n"+b.response}).join("\n\n"):""},hjb=function(a){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next())c=c.value,vib(c.response)?(b.push({type:c.type,
question:c.question,response:c.response.text}),b.push.apply(b,u(hjb([c.response.child])))):b.push(c);return b},jjb=function(a){a&1&&(H(0,"a",15),T(1," Create Component "),K())},kjb=function(a){a&1&&(H(0,"p",19),T(1," None found. "),H(2,"a",20),T(3,"Learn More"),K()())},ljb=function(a){a&1&&(M(0),L(1,"b-component-path-card",31,32),N());if(a&2){var b=S(2);a=R().$implicit;A(1);G("onedevIsHovercardReady",b.init)("componentId",a.componentId)}},mjb=function(a,b){a&1&&(H(0,"li")(1,"a",21)(2,"div",22)(3,
"span",23),T(4),L(5,"b-component-access-level-indicator",24)(6,"b-tracker-chip-smart",25),K(),H(7,"p",26),T(8),K()(),H(9,"div",27)(10,"a",28),T(11," Edit "),K(),H(12,"a",28),T(13," Create Issue "),K()()(),H(14,"onedev-hovercard",null,29),F(16,ljb,3,2,"ng-container",30),K()());if(a&2){a=b.$implicit;var c=S(15);b=R(2);A(1);G("routerLinkObj",b.viewIssues(a.componentId));A(1);G("onedevHovercardTrigger",c);A(2);V(" ",a.name||a.componentId," ");A(1);G("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel)("labelOnlyMode",
!0);A(1);G("trackerId",a.trackerId)("showHovercard",!1);A(2);$f(a.description);A(2);G("routerLinkObj",b.componentSettings(a.componentId));A(2);G("routerLinkObj",b.createIssue(a.componentId))}},njb=function(a,b){a&1&&(M(0),F(1,kjb,4,0,"p",16),H(2,"ol",17),F(3,mjb,17,10,"li",18),K(),N());a&2&&(a=b.$implicit,A(1),G("ngIf",0===a.length),A(2),G("ngForOf",a))},pjb=function(a){a&1&&(H(0,"a",25),T(1," Learn more "),K());a&2&&(R(),G("href",ojb(),Wd))},qjb=function(a){a&1&&(M(0),T(1),W(2,"async"),N());a&2&&
(a=R(2),A(1),V(" ",X(2,1,a.suggestedTitle$)," "))},rjb=function(a,b){if(a&1){var c=v();H(0,"button",20);Q("click",function(){var d=x(c).$implicit;R();var e=S(18),f=R();f.llmSuggestTitleService.generatedTitle.next(null);f.analytics.trackEvent(Kp.LLM,"reject","title-"+String(d));Fs(f.butterBar,"Thanks for the feedback!",3E3);var h;null==(h=e.trigger)||h.close();return z()});H(1,"span");T(2);K()()}a&2&&(a=b.$implicit,b=R(2),A(2),$f(b.REJECT_REASON_TO_DISPLAY.get(a)))},sjb=function(a){if(a&1){var b=v();
H(0,"div",2)(1,"div",3)(2,"div",4)(3,"span",5);T(4,"Suggested title");K();H(5,"div",6)(6,"button",7);Q("click",function(){x(b);R().llmSuggestTitleService.suggestTitleRequested.next();return z()});L(7,"mat-icon",8);K();H(8,"button",9);Q("click",function(){x(b);var d=R();return z(d.close())});L(9,"mat-icon",10);K()()();H(10,"div",11);F(11,qjb,3,3,"ng-container",12);W(12,"async");K();H(13,"div",13)(14,"button",14);Q("click",function(){x(b);var d=R(),e=Dk(Gs(d.llmSuggestTitleService.generatedTitle));
e&&(d.analytics.trackEvent(Kp.LLM,"accept","title"),d.suggestionAccepted.emit(e),d.llmSuggestTitleService.generatedTitle.next(null));return z()});W(15,"async");T(16," Accept ");K();H(17,"split-button",15,16);W(19,"async");H(20,"button",17);Q("click",function(){x(b);var d=R();d.llmSuggestTitleService.generatedTitle.next(null);d.analytics.trackEvent(Kp.LLM,"reject","title");return z()});W(21,"async");T(22," Reject ");K();H(23,"div",18);F(24,rjb,3,1,"button",19);K()()()()()}if(a&2){a=R();var c=S(3);
A(11);G("ngIf",!X(12,7,a.isGeneratingTitle$))("ngIfElse",c);A(3);G("disabled",X(15,9,a.isGeneratingTitle$));A(3);G("size","small")("disabled",!!X(19,11,a.isGeneratingTitle$));A(3);G("disabled",X(21,13,a.isGeneratingTitle$));A(4);G("ngForOf",a.suggestedTitleRejectionReasons)}},tjb=function(a){a&1&&L(0,"b-spinner")},ujb=function(a){a&1&&(H(0,"div",4),Rf(1,5),K());if(a&2){a=R();var b=S(4),c=S(2);A(1);G("ngTemplateOutlet",a.inline?b:c)}},vjb=function(a){a&1&&(H(0,"p",9),T(1," Add an issue title to view similar issues "),
K())},wjb=function(a){a&1&&Rf(0)},yjb=function(a){a&1&&(H(0,"p",6),T(1,"Similar issues"),K(),F(2,vjb,2,0,"p",7)(3,wjb,1,0,"ng-container",8),W(4,"async"));if(a&2){a=R();var b=S(6);A(2);G("ngIf",!a.hasSearched&&!a.isLoading);A(1);G("ngTemplateOutlet",b)("ngTemplateOutletContext",fg(5,xjb,X(4,3,a.issues$)))}},zjb=function(a){a&1&&Rf(0)},Ajb=function(a){if(a&1){var b=v();H(0,"div",10)(1,"div",11)(2,"span",6);T(3,"Similar issues");K();H(4,"span",12);T(5," Add an issue title to view similar issues ");K()();
H(6,"button",13);Q("click",function(){x(b);var d=R();return z(d.toggleCollapsed())});T(7);K()();H(8,"div",14);F(9,zjb,1,0,"ng-container",8);W(10,"async");K()}if(a&2){a=R();var c=S(6);A(4);G("hidden",a.isLoading||a.hasSearched);A(2);G("disabled",!a.hasSearched)("matTooltip",a.hasSearched?"":"Add an issue title to view similar issues")("matTooltipShowDelay",250);A(1);V(" ",a.collapsed?"Show":"Hide"," ");A(1);G("hidden",a.collapsed);A(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",fg(10,xjb,X(10,
8,a.issues$)))}},Bjb=function(a){a&1&&L(0,"b-spinner")},Cjb=function(a){a&1&&L(0,"b-issue-card",25,26);if(a&2){var b=S(1);a=R().$implicit;G("onedevIsHovercardReady",b.init)("issueId",a.issueId)}},Djb=function(a){a&1&&L(0,"b-issue-priority-display",27);a&2&&(a=R().$implicit,G("issuePriority",a.snapshot[0].priority))},Ejb=function(a,b){if(a&1){var c=v();H(0,"a",28);Q("click",function(){x(c);R();R(2).analytics.trackEvent(Kp.SIMILAR_ISSUES,"navigate","idpDuplicatesTab");return z()});L(1,"mat-icon",29);
T(2);K()}a&2&&(a=b.ngIf,b=R().$implicit,Xf("href","issues/",b.issueId,"/dupes",Wd),A(2),V(" ",a," "))},Gjb=function(a,b){if(a&1){var c=v();H(0,"div",17)(1,"a",18);Q("click",function(){x(c);R(2).analytics.trackEvent(Kp.SIMILAR_ISSUES,"navigate","issueDetailsPage");return z()});T(2);K();H(3,"onedev-hovercard",null,19);F(5,Cjb,2,2,"b-issue-card",20);K();H(6,"div",21);F(7,Djb,1,1,"b-issue-priority-display",22);H(8,"b-app-vote-button",23);Q("onVote",function(f){var h=x(c).$implicit,k=R(2);return z(k.upvoted(f,
h))});K();F(9,Ejb,3,2,"a",24);K()()}if(a&2){a=b.$implicit;var d=S(4);b=R(2);var e;G("hidden",b.isLoading);A(1);Xf("href","issues/",a.issueId,"",Wd);G("onedevHovercardTrigger",d);A(1);V(" ",a.snapshot[0].title," ");A(5);G("ngIf",a.snapshot[0].priority);A(1);G("issueId",a.issueId)("upvoted",!(null==a.userData||!a.userData.voted))("voteCount",(null==a.aggregatedData?null:a.aggregatedData.voteCount)||0);A(1);G("ngIf",(null!==(e=a.snapshot[0].duplicateIssueId)&&void 0!==e?e:eg(9,Fjb)).length)}},Hjb=function(a,
b){a&1&&F(0,Bjb,1,0,"b-spinner",15)(1,Gjb,10,10,"div",16);a&2&&(a=b.issues,b=R(),G("ngIf",b.isLoading),A(1),G("ngForOf",a))},Jjb=function(a){var b=new Set,c=0;a=l(a.matchAll(Ijb));for(var d=a.next();!d.done;d=a.next())if(d=l(d.value).next().value,!b.has(d)){c+=d.length;if(2049<c)break;b.add(d)}return[].concat(u(b))},Kjb=function(a){a&1&&(H(0,"div"),L(1,"b-spinner"),H(2,"span"),T(3,"Loading..."),K()())},Ljb=function(a){a&1&&(H(0,"div",2),F(1,Kjb,4,0,"div",3),K());if(a&2){a=R();var b=S(2);A(1);G("ngIf",
a.isInitiallyLoading)("ngIfElse",b)}},Mjb=function(a){a&1&&(H(0,"span",17)(1,"strong"),T(2),K(),T(3," of "),H(4,"strong"),T(5),K()());a&2&&(a=R(4),A(2),ag("",a.startIndex,"\u2013",a.endIndex,""),A(3),$f(a.totalText))},Njb=function(a){if(a&1){var b=v();H(0,"div",11);F(1,Mjb,6,3,"span",12);H(2,"b-button",13);Q("onAction",function(){x(b);var c=R(3);return z(c.fetchIssues(c.page-1))});L(3,"b-icon",14);K();H(4,"b-button",15);Q("onAction",function(){x(b);var c=R(3);return z(c.fetchIssues(c.page+1))});L(5,
"b-icon",16);K()()}a&2&&(a=R(3),A(1),G("ngIf",!a.isRefreshing),A(1),G("disabled",1>=a.page),A(2),G("disabled",a.page>=a.numPages))},Ojb=function(a){if(a&1){var b=v();H(0,"button",18);Q("click",function(){x(b);var c=R(3);return z(c.triggerSimilarIssuesSurvey())});L(1,"mat-icon",19);K()}},Pjb=function(a){a&1&&(H(0,"li")(1,"h3"),T(2),K(),F(3,Njb,6,3,"div",9)(4,Ojb,2,0,"button",10),K());a&2&&(a=R(2),A(2),$f(a.getHeader()),A(1),G("ngIf",!a.enableSimilarIssues),A(1),G("ngIf",a.showSuggestedDupes))},Qjb=
function(a){a&1&&(H(0,"div",20),T(1,"There may already be issues opened on this topic. Please consider +1 to the canonical issue if that is the case."),K())},Rjb=function(a){if(a&1){var b=v();H(0,"b-issue-card",26,27);Q("init",function(){x(b);var e=R(4);return z(e.trackTitleHoverOver())});K()}if(a&2){var c=S(1);a=R().$implicit;var d=R(3);G("onedevIsHovercardReady",c.init)("issueId",a.id)("location",d.CATEGORIES.MAGIC_BOX+d.getGroupName())}},Sjb=function(a,b){if(a&1){var c=v();H(0,"li",22)(1,"onedev-hovercard",
null,23);F(3,Rjb,2,3,"b-issue-card",24);K();H(4,"a",25);Q("click",function(){x(c);var e=R(3);return z(e.trackTitleClick())});T(5);K()()}if(a&2){a=b.$implicit;var d=S(2);b=R(3);G("ngClass",b.enableSimilarIssues?"magic-box-item-new":"magic-box-item");A(4);Xf("href","issues/",a.id,"",Wd);G("onedevHovercardTrigger",d);A(1);V(" ",a.title," ")}},Tjb=function(a){a&1&&(M(0),F(1,Sjb,6,4,"li",21),N());a&2&&(a=R(2),A(1),G("ngForOf",a.magicBoxIssues))},Ujb=function(a){a&1&&(H(0,"li"),T(1),K());a&2&&(a=R(2),A(1),
V(" No ",a.getHeader().toLowerCase()," found. "))},Vjb=function(a){a&1&&(H(0,"li",28)(1,"a",29),T(2," View All Issues \u2192 "),K()());a&2&&(a=R(2),A(1),Yf("href",a.viewAllHref,Wd))},Wjb=function(a){if(a&1){var b=v();H(0,"li",30)(1,"button",31);Q("click",function(){x(b);var c=R(2);c.fetchIssues(c.page+1);c.analytics.trackEvent(Kp.MAGIC_BOX,"loadMore");return z()});L(2,"mat-icon",32);T(3," Load more ");K()()}},Xjb=function(a){if(a&1){var b=v();H(0,"li",33)(1,"a",29)(2,"button",34);Q("click",function(){x(b);
R(2).analytics.trackEvent(Kp.MAGIC_BOX,"viewAll");return z()});T(3,"View all ");L(4,"mat-icon",35);K()()()}a&2&&(a=R(2),A(1),Yf("href",a.viewAllHref,Wd))},Yjb=function(a){a&1&&(H(0,"li"),L(1,"b-spinner"),H(2,"span"),T(3,"Loading..."),K()())},Zjb=function(a){a&1&&(H(0,"ul"),F(1,Pjb,5,3,"li",4)(2,Qjb,2,0,"div",5)(3,Tjb,2,1,"ng-container",4)(4,Ujb,2,1,"li",4)(5,Vjb,3,1,"li",6)(6,Wjb,4,0,"li",7)(7,Xjb,5,1,"li",8)(8,Yjb,4,0,"li",4),K());a&2&&(a=R(),A(1),G("ngIf",!a.hideHeader),A(1),G("ngIf",a.showSuggestedDupes),
A(1),G("ngIf",!a.isRefreshing),A(1),G("ngIf",0==a.magicBoxIssues.length&&!a.isRefreshing),A(1),G("ngIf",!a.isRefreshing&&1<a.numPages&&!a.enableSimilarIssues&&a.viewAllHref),A(1),G("ngIf",!a.isRefreshing&&a.endIndex<a.numTotalResults&&a.enableSimilarIssues),A(1),G("ngIf",!a.isRefreshing&&1<a.numPages&&a.enableSimilarIssues&&a.viewAllHref),A(1),G("ngIf",a.isRefreshing))},$jb=function(a){a&1&&Rf(0)},bkb=function(a){a&1&&(M(0),F(1,$jb,1,0,"ng-container",8),N());a&2&&(a=R(),A(1),G("ngTemplateOutlet",
a.valueTemplate)("ngTemplateOutletContext",fg(2,akb,a.value)))},ckb=function(a){a&1&&T(0);a&2&&(a=R(),$f(a.value||"--"))},dkb=function(a){a&1&&(yd(),H(0,"svg",9),L(1,"path",10),K());a&2&&(a=R(),Jf("centered",a.centerEditIcon))},ekb=function(a){a&1&&L(0,"textarea",15);a&2&&(a=R(3),G("formControl",a.editingValue)("cdkAutosizeMaxRows",a.multilineMaxLines))},fkb=function(a){a&1&&L(0,"input",16);a&2&&(a=R(3),G("formControl",a.editingValue))},gkb=function(a){a&1&&(M(0),H(1,"div",12),F(2,ekb,1,2,"textarea",
13)(3,fkb,1,1,"ng-template",null,14,tg),K(),N());if(a&2){var b=S(4);a=R(2);A(2);G("ngIf",a.allowMultipleLines)("ngIfElse",b)}},hkb=function(a){a&1&&Rf(0)},jkb=function(a){a&1&&(M(0),F(1,hkb,1,0,"ng-container",8),N());a&2&&(a=R(2),A(1),G("ngTemplateOutlet",a.editorTemplate)("ngTemplateOutletContext",fg(2,ikb,a.editingValue)))},kkb=function(a){a&1&&F(0,gkb,5,2,"ng-container",11)(1,jkb,2,4,"ng-container",11);a&2&&(a=R(),G("ngIf",!a.editorTemplate),A(1),G("ngIf",a.editorTemplate))},lkb=function(){},mkb=
function(a){a&1&&L(0,"span",2);a&2&&(a=R(),G("@indicatorRotate",a._getExpandedState()))},nkb=function(a){if(a&1){var b=v();H(0,"b-hotlist-picker",26);Q("onApply",function(c){x(b);var d=R();return z(d.handleHotlistPickerSave(c))})("onLoad",function(c){x(b);var d=R();return z(d.loadHotlist(c))})("onCreate",function(c){x(b);var d=R();return z(d.createHotlist(c))});K()}a&2&&(a=R(),G("selectedHotlistIds",a.selectedHotlistIds)("choices",a.hotlists))},skb=function(a){a&1&&(H(0,"div",27),L(1,"b-icon",28),
H(2,"span"),T(3),K(),H(4,"a",29),T(5,"View access settings"),K()());a&2&&(a=R(),G("ngClass",gg(5,okb,pkb(a),qkb(a))),A(1),G("name","alert")("size","small"),A(2),V("",rkb(a),"\u00a0"),A(1),G("href",a.selectedComponent?a.paths.manageComponent(a.selectedComponent.componentId,"access"):"",Wd))},vkb=function(a){a&1&&(H(0,"div",32),T(1),K());a&2&&(a=R(2),A(1),V(" Error: The following required field(s) have not been filled: ",tkb(a).concat(ukb(a)).join(", ")," "))},wkb=function(a){a&1&&(H(0,"li"),T(1),K());
if(a&2){a=R(3);A(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"):"";$f(a)}},xkb=function(a){a&1&&(H(0,"li"),T(1),K());a&2&&(a=R(3),A(1),V(" Collaborators: you cannot add ",a.invalidCollaboratorsInput.join(", ")," "))},ykb=function(a){a&1&&(H(0,"div",32),T(1," Error: The following field(s) have invalid values: "),
H(2,"ul"),F(3,wkb,2,1,"li",20)(4,xkb,2,1,"li",20),K()());a&2&&(a=R(2),A(3),G("ngIf",!a.isBlockedByIssueIdValid||!a.isBlockingIssueIdValid||!a.isParentIssueIdsValid),A(1),G("ngIf",!a.isCollaboratorsValid))},zkb=function(a){a&1&&(H(0,"div",32),T(1," Error: There is at least one upload ongoing. Please cancel or wait for it to be finished. "),K())},Bkb=function(a){a&1&&(H(0,"div",30),F(1,vkb,2,1,"div",31)(2,ykb,5,2,"div",31)(3,zkb,2,0,"div",31),K());a&2&&(a=R(),A(1),G("ngIf",0!==tkb(a).length||0!==ukb(a).length),
A(1),G("ngIf",!a.isBlockedByIssueIdValid||!a.isBlockingIssueIdValid||!a.isParentIssueIdsValid||!a.isCollaboratorsValid),A(1),G("ngIf",Akb(a.comment)))},Ckb=function(a,b){if(a&1){var c=v();H(0,"div",35)(1,"b-hotlist-chip",36);Q("removeHotlist",function(){var d=x(c).$implicit,e=R(2);return z(e.removeHotlist(d.hotlistId))});K()()}a&2&&(a=b.$implicit,A(1),G("hotlist",a))},Dkb=function(a){a&1&&(H(0,"div",33),F(1,Ckb,2,1,"div",34),K());a&2&&(a=R(),A(1),G("ngForOf",a.selectedHotlists))},Ekb=function(a,b){if(a&
1){var c=v();H(0,"button",45);Q("click",function(){var d=x(c).$implicit;R(2).selectedTemplate=d;return z()});T(1);K()}a&2&&(a=b.$implicit,A(1),$f(a.name))},Fkb=function(a){if(a&1){var b=v();H(0,"button",45);Q("click",function(){x(b);var c=R(2);c.selectedTemplate=c.availableExistingIssueTemplate;return z()});T(1);K()}a&2&&(a=R(2),A(1),$f(a.availableExistingIssueTemplate.name))},Gkb=function(a){a&1&&(H(0,"div",37)(1,"div",14)(2,"label",38),T(3,"Template"),K()(),H(4,"button",39),T(5),L(6,"b-icon",40),
K(),H(7,"mat-menu",41,42),F(9,Ekb,2,1,"button",43)(10,Fkb,2,1,"button",44),K()());if(a&2){var b=S(8);a=R();var c;A(4);G("matMenuTriggerFor",b);A(1);$f(null!==(c=null==a.selectedTemplate?null:a.selectedTemplate.name)&&void 0!==c?c:"");A(2);G("overlapTrigger",!0);A(2);G("ngForOf",a.availablePredefinedTemplates);A(1);G("ngIf",a.availableExistingIssueTemplate)}},Hkb=function(a){a&1&&(H(0,"div",46)(1,"div",32),T(2," You do not have permission to create issues in this component. "),K()())},Ikb=function(a){a&
1&&L(0,"llm-suggest-title-button",72);a&2&&(a=R(2),G("description",a.comment))},Jkb=function(a){if(a&1){var b=v();H(0,"llm-suggest-title-preview",73);Q("suggestionAccepted",function(c){x(b);var d=R(2);return z(d.issue.title=c)});K()}},Kkb=function(a){a&1&&(H(0,"p",74),T(1),H(2,"a",75),T(3," Learn more "),K()());a&2&&(a=R(2),A(1),V(" Your title contains restricted words: ",Vp(a.titleBannedWordsChecker),". Review your title before posting. "))},Lkb=function(a,b){if(a&1){var c=v();H(0,"button",79);Q("click",
function(){var d=x(c).$implicit,e=R(3);return z(e.setPriority(d.value))});T(1);K()}a&2&&(a=b.$implicit,A(1),$f(a.displayText))},Mkb=function(a){if(a&1){var b=v();H(0,"div",37)(1,"div",14)(2,"label",76);T(3,"Priority");K()();H(4,"button",77);T(5);L(6,"b-icon",40);K();H(7,"mat-menu",41,78)(9,"button",79);Q("click",function(){x(b);var d=R(2);return z(d.setPriority(void 0))});T(10,"--");K();F(11,Lkb,2,1,"button",80);K()()}if(a&2){var c=S(8);a=R(2);A(4);G("matMenuTriggerFor",c);Af("aria-label","Priority, required"+
(a.issue.priority?", "+a.issue.priority:""));A(1);V("",a.issue.priority?a.issue.priority:"--"," ");A(2);G("overlapTrigger",!0);A(4);G("ngForOf",a.priorityChoices)}},Okb=function(a,b){if(a&1){var c=v();H(0,"button",84);Q("click",function(){var d=x(c).$implicit,e=R(3);return z(Nkb(e,d.value))});T(1);K()}a&2&&(a=b.$implicit,Yf("title",a.altText||""),A(1),$f(a.displayText))},Pkb=function(a){if(a&1){var b=v();H(0,"div",37)(1,"div",14)(2,"label",81);T(3,"Type");K()();H(4,"button",77);W(5,"enumToHuman");
T(6);W(7,"enumToHuman");L(8,"b-icon",40);K();H(9,"mat-menu",41,82)(11,"button",79);Q("click",function(){x(b);var d=R(2);return z(Nkb(d))});T(12,"--");K();F(13,Okb,2,2,"button",83);K()()}if(a&2){var c=S(10);a=R(2);A(4);G("matMenuTriggerFor",c);Af("aria-label","Type, required"+(a.issue.type?X(5,5,", "+a.issue.type):""));A(2);V("",X(7,7,a.issue.type||"--")," ");A(3);G("overlapTrigger",!0);A(4);G("ngForOf",a.issueTypeChoices)}},Qkb=function(a){a&1&&(H(0,"div",85),L(1,"similar-issues",86),K());a&2&&(a=
R(2),A(1),G("context",a.issue.title)("componentId",a.issue.componentId)("inline",!0))},Rkb=function(a){if(a&1){var b=v();H(0,"div",91)(1,"b-magic-box",92);Q("headerChange",function(c){x(b);var d=R(3);return z(d.magicBoxHeader=c)});K()()}a&2&&(a=R(3),A(1),G("componentId",a.issue.componentId)("hideHeader",!0)("showInline",a.showRecentIssuesInline)("issueTitle",a.issue.title)("issue",a.issue)("customFieldMap",a.customFieldMap))},Tkb=function(a){if(a&1){var b=v();H(0,"div",87)(1,"div",88)(2,"a",89);Q("click",
function(){x(b);var c=R(2);return z(Skb(c))})("keydown.enter",function(){x(b);var c=R(2);return z(Skb(c))})("keydown.space",function(){x(b);var c=R(2);return z(Skb(c))});T(3);K()();F(4,Rkb,2,6,"div",90);K()}a&2&&(a=R(2),A(3),ag(" ",a.showRecentIssuesInline?"Hide":"View"," ",a.magicBoxHeader.toLowerCase()," "),A(1),G("ngIf",a.showRecentIssuesInline&&a.issue.componentId))},Ukb=function(a){if(a&1){var b=v();H(0,"div",93)(1,"div",14)(2,"label",94);T(3,"Assignee");K()();H(4,"div",95)(5,"input",96);Q("ngModelChange",
function(c){x(b);var d=R(2);return z(d.assigneeText=c)});K()()()}a&2&&(a=R(2),A(5),G("ngModel",a.assigneeText)("bContactAutocomplete","SINGLE"))},Vkb=function(a){a&1&&(H(0,"mat-error"),T(1," Collaborators only accepts individual users. "),K())},Xkb=function(a){if(a&1){var b=v();H(0,"div",97)(1,"div",14)(2,"label",98);T(3,"Collaborators");K();L(4,"mat-icon",99);K();H(5,"div",95)(6,"input",100);Q("ngModelChange",function(c){x(b);var d=R(2);return z(d.collaboratorsText=Wkb(c))});K()();F(7,Vkb,2,0,"mat-error",
20);K()}a&2&&(a=R(2),A(6),Jf("invalid",!a.isCollaboratorsValid),G("ngModel",Hs(a.collaboratorsText))("bContactAutocomplete","MULTI"),A(1),G("ngIf",!a.isCollaboratorsValid&&a.submitRequested))},Ykb=function(a){if(a&1){var b=v();H(0,"div",101)(1,"div",14)(2,"label",102);T(3,"CC");K()();H(4,"div",95)(5,"input",103);Q("ngModelChange",function(c){x(b);var d=R(2);return z(d.ccsText=Wkb(c))});K()()()}a&2&&(a=R(2),A(5),G("ngModel",Hs(a.ccsText))("bContactAutocomplete","MULTI"))},Zkb=function(a){a&1&&(H(0,
"p",104),T(1),H(2,"a",75),T(3," Learn more "),K()());a&2&&(a=R(2),A(1),V(" Your description contains restricted words: ",Vp(a.descriptionBannedWordsChecker),". Review your description before posting. "))},$kb=function(a){a&1&&Rf(0)},alb=function(a){a&1&&(M(0),H(1,"div",13)(2,"div",14)(3,"label",108),T(4," Collaborator Groups "),K(),L(5,"mat-icon",109),K(),F(6,$kb,1,0,"ng-container",110),K(),N());if(a&2){a=R(3);var b=S(32);A(5);Yf("matTooltip",a.COLLABORATOR_GROUPS_TOOLTIP);A(1);G("ngTemplateOutlet",
b)}},blb=function(a){if(a&1){var b=v();H(0,"div",105)(1,"div",13)(2,"div",14)(3,"label",106);T(4," Issue access level ");K()();H(5,"b-issue-access-limits-dropdown",107);Q("updatedAccessLimitLevel",function(c){x(b);var d=R(2);return z(d.onAccessLimitLevelSelected(c))});K()();F(6,alb,7,2,"ng-container",20);K()}a&2&&(a=R(2),A(5),G("disabled",!1)("implicitAccessEnabled",a.componentHasExpandedAccessEnabled)("defaultAccessLimitLevel",a.selectedAccessLimitLevel),A(1),G("ngIf",0<a.trackerCollaboratorGroups.length))},
clb=function(a,b){if(a&1){var c=v();H(0,"button",79);Q("click",function(){var d=x(c).$implicit,e=R(3);return z(e.issue.severity=e.toIssueSeverity(d.value))});T(1);K()}a&2&&(a=b.$implicit,A(1),$f(a.displayText))},dlb=function(a){a&1&&(H(0,"span"),T(1,"*"),K())},elb=function(a){a&1&&(H(0,"span"),T(1,"*"),K())},flb=function(a){a&1&&(H(0,"span"),T(1,"*"),K())},hlb=function(a){if(a&1){var b=v();H(0,"div",119)(1,"div",14)(2,"label",137);T(3," Parents ");F(4,flb,2,0,"span",20);K()();H(5,"input",138);Q("ngModelChange",
function(c){x(b);var d=R(3);d.parentIssueIds=glb(d,c).map(bo);c=Hs(d.parentIssueIds);d.isParentIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(c);return z()});K()()}a&2&&(a=R(3),A(4),G("ngIf",!a.isParentIssueIdsValid),A(1),G("ngModel",Hs(a.parentIssueIds)))},ilb=function(a){a&1&&(H(0,"span"),T(1,"*"),K())},jlb=function(a){if(a&1){var b=v();H(0,"div",119)(1,"div",14)(2,"label",139);T(3," Children ");F(4,ilb,2,0,"span",20);K()();H(5,"input",140);Q("ngModelChange",function(c){x(b);var d=R(3);d.childrenIssueIds=
glb(d,c).map(bo);c=Hs(d.childrenIssueIds);d.isChildIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(c);return z()});K()()}a&2&&(a=R(3),A(4),G("ngIf",!a.isChildIssueIdsValid),A(1),G("ngModel",Hs(a.childrenIssueIds)))},klb=function(a){if(a&1){var b=v();H(0,"div",119)(1,"div",14)(2,"label",106);T(3," Issue access level ");K()();H(4,"b-issue-access-limits-dropdown",141);Q("updatedAccessLimitLevel",function(c){x(b);var d=R(3);return z(d.onAccessLimitLevelSelected(c))});K()()}a&2&&(a=R(3),A(4),G("disabled",!1)("defaultAccessLimitLevel",
a.selectedAccessLimitLevel)("implicitAccessEnabled",a.componentHasExpandedAccessEnabled))},llb=function(a){a&1&&Rf(0)},mlb=function(a){a&1&&(M(0),H(1,"div",13)(2,"div",14)(3,"label",108),T(4," Collaborator Groups "),K(),L(5,"mat-icon",109),K(),F(6,llb,1,0,"ng-container",110),K(),N());if(a&2){a=R(3);var b=S(32);A(5);Yf("matTooltip",a.COLLABORATOR_GROUPS_TOOLTIP);A(1);G("ngTemplateOutlet",b)}},nlb=function(a){if(a&1){var b=v();H(0,"onedev-text-field",145);Q("valueChange",function(d){x(b);var e=R(2).$implicit,
f=R(3);return z(f.setCustomFieldValue(e,d))});K()}if(a&2){a=R(2).$implicit;var c=R(3);Xf("id","bv2-custom-field-",a.customFieldId,"");G("value",a.textValue);Af("required",c.isCustomFieldRequired(a))("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},olb=function(a){if(a&1){var b=v();H(0,"onedev-numeric-field",145);Q("valueChange",function(d){x(b);var e=R(2).$implicit,f=R(3);return z(f.setCustomFieldValue(e,d))});K()}if(a&2){a=R(2).$implicit;var c=R(3);Xf("id","bv2-custom-field-",a.customFieldId,
"");G("value",a.numericValue);Af("required",c.isCustomFieldRequired(a))("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},plb=function(a){if(a&1){var b=v();H(0,"div")(1,"bv2-input-date-picker",146);Q("boundValueChange",function(d){x(b);var e=R(2).$implicit,f=R(3);return z(f.setCustomFieldValue(e,d))});K()()}if(a&2){a=R(2).$implicit;var c=R(3);A(1);Yf("bv2AriaLabelledby","bv2-custom-field-"+a.customFieldId+"-label");G("boundValue",a.dateValue)("isRequired",c.isCustomFieldRequired(a))("bv2Id",
"bv2-custom-field-"+a.customFieldId)}},qlb=function(a){if(a&1){var b=v();H(0,"onedev-single-select",147);Q("valueChange",function(d){x(b);var e=R(2).$implicit,f=R(3);return z(f.setCustomFieldValue(e,d))});K()}if(a&2){a=R(2).$implicit;var c=R(3);G("value",a.enumValue)("options",c.getCustomFieldAllowedValues(a))("includeEmptyOption",!0);Af("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},rlb=function(a,b){a&1&&(H(0,"div"),F(1,nlb,1,4,"onedev-text-field",143)(2,olb,1,4,"onedev-numeric-field",
143)(3,plb,2,4,"div",20)(4,qlb,1,4,"onedev-single-select",144),K());a&2&&(a=b.ngIf,b=R(4),A(1),G("ngIf",a===b.FieldType.TEXT),A(1),G("ngIf",a===b.FieldType.NUMERIC),A(1),G("ngIf",a===b.FieldType.DATE),A(1),G("ngIf",a===b.FieldType.ENUM))},slb=function(a,b){if(a&1){var c=v();H(0,"div")(1,"b-list-field",148);Q("valuesChange",function(e){x(c);var f=R().$implicit,h=R(3);return z(h.setCustomFieldValue(f,e.values))});K()()}if(a&2){a=b.ngIf;b=R().$implicit;var d=R(3);A(1);G("defaultLineCount",2)("type",
a)("values",d.getListFieldValues(b))("enumChoices",d.customFieldAllowedValuesMap[b.customFieldId]||null)("truncate",!0);Af("aria-labelledby","bv2-custom-field-"+b.customFieldId+"-label")}},ulb=function(a,b){a&1&&(H(0,"div",119)(1,"div",14)(2,"label",142),T(3),K()(),F(4,rlb,5,4,"div",20)(5,slb,2,6,"div",20),K());if(a&2){a=b.$implicit;b=R(3);A(2);Xf("id","bv2-custom-field-",a.customFieldId,"-label");var c=b.customFieldMap[a.customFieldId];Yf("title",(c&&c.description?c.description:"Custom Field")+" [ID: "+
a.customFieldId+"]");G("ngClass",fg(7,tlb,b.isCustomFieldRequired(a)));var d=(c=b.customFieldMap[a.customFieldId])?c.name:"";c&&b.canEditIssuesInComponent&&b.customFieldMap[a.customFieldId].required&&(d+=", required field");Af("aria-label",d);A(1);V(" ",b.getCustomFieldName(a)," ");A(1);G("ngIf",b.getSingleEditFieldType(b.customFieldMap[a.customFieldId]));A(1);G("ngIf",b.getListFieldType(b.customFieldMap[a.customFieldId]))}},vlb=function(a){if(a&1){var b=v();H(0,"mat-expansion-panel",111)(1,"mat-expansion-panel-header")(2,
"mat-panel-title")(3,"span",112);T(4,"Advanced fields (Required fields marked with");H(5,"span",113);T(6,"*");K();T(7,")");K()()();H(8,"div",114)(9,"div",115)(10,"div",14)(11,"label",116);T(12," Severity ");K()();H(13,"button",117);T(14);L(15,"b-icon",40);K();H(16,"mat-menu",41,118);F(18,clb,2,1,"button",80);K()();H(19,"div",119)(20,"div",14)(21,"label",120);T(22," Found in ");K()();H(23,"input",121);Q("ngModelChange",function(d){x(b);var e=R(2);return z(e.issue.foundInVersion=Wkb(d))});K()();H(24,
"div",122)(25,"div",14)(26,"label",123);T(27," In prod ");K()();H(28,"mat-slide-toggle",124);Q("ngModelChange",function(d){x(b);var e=R(2);return z(e.issue.inProd=d)});K()();L(29,"div",64);H(30,"div",119)(31,"div",14)(32,"label",125);T(33," Reporter ");K()();H(34,"input",126);Q("ngModelChange",function(d){x(b);var e=R(2);return z(e.reporterText=d)});K()();H(35,"div",119)(36,"div",14)(37,"label",127);T(38," Verifier ");K()();H(39,"input",128);Q("ngModelChange",function(d){x(b);var e=R(2);return z(e.verifierText=
d)});K()();H(40,"div",119)(41,"div",14)(42,"label",129);T(43," Targeted to ");K()();H(44,"input",130);Q("ngModelChange",function(d){x(b);var e=R(2);return z(e.issue.targetedToVersion=Wkb(d))});K()();L(45,"div",64);H(46,"div",119)(47,"div",14)(48,"label",131);T(49," Blocked by ");F(50,dlb,2,0,"span",20);K()();H(51,"input",132);Q("ngModelChange",function(d){x(b);var e=R(2);e.issue.blockedByIssueId=glb(e,d);d=Hs(e.issue.blockedByIssueId);e.isBlockedByIssueIdValid=e.ISSUE_ID_LIST_PATTERN.test(d);return z()});
K()();H(52,"div",119)(53,"div",14)(54,"label",133);T(55," Blocking ");F(56,elb,2,0,"span",20);K()();H(57,"input",134);Q("ngModelChange",function(d){x(b);var e=R(2);e.issue.blockingIssueId=glb(e,d);d=Hs(e.issue.blockingIssueId);e.isBlockingIssueIdValid=e.ISSUE_ID_LIST_PATTERN.test(d);return z()});K()();F(58,hlb,6,2,"div",135)(59,jlb,6,2,"div",135);L(60,"div",64);F(61,klb,5,3,"div",135)(62,mlb,7,2,"ng-container",20);L(63,"div",64);F(64,ulb,6,9,"div",136);K()()}if(a&2){var c=S(17);a=R(2);A(13);G("matMenuTriggerFor",
c);Af("aria-label","Severity"+(a.issue.severity?", "+a.issue.severity:""));A(1);$f(a.issue.severity);A(2);G("overlapTrigger",!0);A(2);G("ngForOf",a.severityChoices);A(5);G("ngModel",Hs(a.originalIssueCopy.foundInVersion));A(5);G("ngModel",a.issue.inProd);A(6);G("ngModel",a.reporterText)("bContactAutocomplete","SINGLE");A(5);G("ngModel",a.verifierText)("bContactAutocomplete","SINGLE");A(5);G("ngModel",Hs(a.originalIssueCopy.targetedToVersion));A(6);G("ngIf",!a.isBlockedByIssueIdValid);A(1);G("ngModel",
Hs(a.issue.blockedByIssueId));A(5);G("ngIf",!a.isBlockingIssueIdValid);A(1);G("ngModel",Hs(a.issue.blockingIssueId));A(1);G("ngIf",!a.sessionIsExternal);A(1);G("ngIf",!a.sessionIsExternal);A(2);G("ngIf",!up(a.selectedComponent));A(1);G("ngIf",0<a.trackerCollaboratorGroups.length&&!up(a.selectedComponent));A(2);G("ngForOf",a.issue.customField)}},wlb=function(a){a&1&&(H(0,"div",27),L(1,"b-icon",28),H(2,"span"),T(3),K(),H(4,"a",29),T(5,"View access settings"),K()());a&2&&(a=R(2),G("ngClass",gg(5,okb,
pkb(a),qkb(a))),A(1),G("name","alert")("size","small"),A(2),V("",rkb(a),"\u00a0"),A(1),G("href",a.selectedComponent?a.paths.manageComponent(a.selectedComponent.componentId,"access"):"",Wd))},xlb=function(a){if(a&1){var b=v();H(0,"div",149)(1,"b-recaptcha",150);Q("onUpdate",function(c){x(b);var d=R(2);return z(d.recaptchaResponse=c)});K()()}},Clb=function(a){if(a&1){var b=v();H(0,"div")(1,"div",12)(2,"div",13)(3,"div",14)(4,"label",47);T(5,"Title");K()();H(6,"div",48)(7,"input",49);Q("ngModelChange",
function(c){x(b);var d=R();return z(d.setTitle(c))});K();F(8,Ikb,1,1,"llm-suggest-title-button",50);K();F(9,Jkb,1,0,"llm-suggest-title-preview",51)(10,Kkb,4,1,"p",52);K();F(11,Mkb,12,5,"div",18)(12,Pkb,14,9,"div",18);K();F(13,Qkb,2,3,"div",53)(14,Tkb,5,3,"div",54);M(15);H(16,"div",12);F(17,Ukb,6,2,"div",55)(18,Xkb,8,5,"div",56);K();H(19,"div",12);F(20,Ykb,6,2,"div",57);K();N();H(21,"div",58)(22,"div",12)(23,"div",13)(24,"div",14)(25,"label",59);T(26,"Description");K()();H(27,"b-comment-box",60);Q("commentChange",
function(c){x(b);var d=R();return z(d.comment=c)})("onChange",function(){x(b);var c=R();return z(c.saveCommentDraft())})("onSubmit",function(c){x(b);var d=R();return z(ylb(d,c,!c.shiftKey))})("onRestrict",function(){x(b);var c=R();return z(c.showNewContentJudgementDialog())});F(28,Zkb,4,1,"p",61);H(29,"b-markdown-toggle",62);Q("change",function(c){x(b);var d=R();return z(d.comment.formattingMode=c)});K()()()();F(30,blb,7,4,"div",63);L(31,"div",64);H(32,"div",65);F(33,vlb,65,21,"mat-expansion-panel",
66);K();F(34,wlb,6,8,"div",9)(35,xlb,2,0,"div",67);H(36,"div",68)(37,"b-button",69);Q("onAction",function(c){x(b);var d=R();return z(ylb(d,c,!0))});T(38);K();H(39,"b-button",70);Q("onAction",function(c){x(b);var d=R();return z(ylb(d,c,!1))});T(40);K();H(41,"b-button",71);Q("onAction",function(){x(b);var c=R();c.draftStore.$window.sessionStorage.removeItem(Do("0"));zlb(c.reloadService);return z()});T(42," Discard ");K()()()()}a&2&&(a=R(),A(7),Jf("invalid",a.titleBannedWordsChecker.showWarning()),G("ngModel",
a.issue.title)("bFocus",a.newIssueStarted),A(1),G("ngIf",a.enableSuggestTitle),A(1),G("ngIf",a.enableSuggestTitle),A(1),G("ngIf",a.titleBannedWordsChecker.showWarning()),A(1),G("ngIf",a.canEditIssuesInComponent),A(1),G("ngIf",a.canEditIssuesInComponent),A(1),G("ngIf",a.enableEmbeddedSimilarIssuesUi&&a.selectedComponent&&a.issue.componentId),A(1),G("ngIf",!a.enableEmbeddedSimilarIssuesUi&&a.selectedComponent),A(3),G("ngIf",a.canEditIssuesInComponent),A(1),G("ngIf",a.canEditIssuesInComponent),A(2),
G("ngIf",a.canEditIssuesInComponent),A(7),G("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",fg(38,Alb,Akb(a.comment)))("warn",a.descriptionBannedWordsChecker.showWarning()),A(1),G("ngIf",a.descriptionBannedWordsChecker.showWarning()),
A(1),G("initialValue",a.comment.formattingMode),A(1),G("ngIf",a.canEditIssuesInComponent&&!!up(a.selectedComponent)),A(3),G("ngIf",a.canEditIssuesInComponent),A(1),G("ngIf",pkb(a)||qkb(a)),A(1),G("ngIf",a.enableRecaptcha),A(2),G("disabled",Blb(a))("color",a.titleBannedWordsChecker.showWarning()||a.descriptionBannedWordsChecker.showWarning()?"warn":"primary"),A(1),V(" ",a.titleBannedWordsChecker.showWarning()||a.descriptionBannedWordsChecker.showWarning()?"Create Anyway":"Create"," "),A(1),G("disabled",
Blb(a))("color",a.titleBannedWordsChecker.showWarning()||a.descriptionBannedWordsChecker.showWarning()?"warn":"primary"),A(1),V(" ",a.titleBannedWordsChecker.showWarning()||a.descriptionBannedWordsChecker.showWarning()?"Create Anyway & Start Another":"Create & Start Another"," "),A(1),G("disabled",Blb(a)))},Dlb=function(a){a&1&&L(0,"similar-issues",151);a&2&&(a=R(),G("context",a.issue.title)("componentId",a.issue.componentId))},Elb=function(a){if(a&1){var b=v();H(0,"b-magic-box",152);Q("headerChange",
function(d){x(b);var e=R();return z(e.magicBoxHeader=d)});K()}if(a&2){a=R();var c;G("componentId",null!==(c=a.issue.componentId)&&void 0!==c?c:void 0)("issueTitle",a.issue.title)("issue",a.issue)("customFieldMap",a.customFieldMap)}},Flb=function(a,b){a&1&&(H(0,"h2",153),T(1,"This component has a default description"),K(),H(2,"mat-dialog-content"),T(3," You have already entered a description, but the component you chose has a default description: "),H(4,"div",154),T(5),K()(),H(6,"mat-dialog-actions")(7,
"button",155),T(8,"Use component description"),K(),H(9,"button",156),T(10,"Keep my description"),K()());a&2&&(a=b.$implicit,A(5),$f(a),A(2),G("mat-dialog-close",!0))},Glb=function(a,b){a&1&&(H(0,"mat-option",160),T(1),K());a&2&&(a=b.$implicit,Yf("value",a),A(1),V(" ",a," "))},Ilb=function(a){if(a&1){var b=v();H(0,"mat-form-field",157)(1,"mat-select",158);Q("ngModelChange",function(c){x(b);var d=R();return z(d.collaboratorGroupsText=c)});H(2,"mat-select-trigger");T(3);K();F(4,Glb,2,2,"mat-option",
159);K()()}a&2&&(a=R(),A(1),G("ngModel",a.collaboratorGroupsText)("ngModelOptions",eg(4,Hlb)),A(2),$f(a.getCollaboratorGroupsString()),A(1),G("ngForOf",a.trackerCollaboratorGroups))},Jlb=function(a,b){b.assigneeText=mi(a.assigneeUser);b.reporterText=mi(a.reporterUser);b.verifierText=mi(a.verifierUser);b.collaboratorsText=ni(a.collaboratorsUsers);b.ccsText=ni(a.ccUsers)},Klb=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=ti(a.assigneeText));null!=a.reporterText&&(b.reporterUser=ti(a.reporterText));null!=a.verifierText&&(b.verifierUser=ti(a.verifierText));a.collaboratorsText&&(c=Lra(a.collaboratorsText),c.length?b.collaboratorsUsers=c:b.collaboratorsUsers=void 0);a.ccsText&&(a=Lra(a.ccsText),a.length?b.ccUsers=a:b.ccUsers=void 0)},Mlb=function(a,b){for(var c=l(Object.keys(b)),d=c.next();!d.done;d=c.next()){d=d.value;var e=b[d],f=Llb[d];"customField"===d||$h(e,f)||(Array.isArray(e)?a[d]?
(e=pra([].concat(u(e),u(a[d]))),a[d]=e):a[d]=e:""!==e&&(a[d]=e))}},Nlb=function(a){a=Object.assign({},a);return delete a.hotlistId,a},Olb=function(a){var b={};a=l(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c.allowedValue&&(b[c.customFieldId]=c.allowedValue.map(function(d){return{value:d,displayText:d}}));return b},Plb=function(a){return function(b){var c=nLa(b.snapshot.customField,function(k){return k.customFieldId}),d=[],e,f,h=null!=(f=null==(e=a.componentPathInfo)?void 0:e.allCustomField)?
f:[];e=l(h);for(f=e.next();!f.done;f=e.next())f=f.value,h=f.customFieldId,f.enabledOnIssues&&(c.has(h)?d.push(c.get(h)):f.typedDefaultValue?d.push(f.typedDefaultValue):d.push({customFieldId:h}));return Object.assign({},b,{snapshot:Object.assign({},b.snapshot,{customField:d})})}},Qlb=function(a){if(a&1){var b=v();H(0,"b-star-toggle",12);Q("starClicked",function(){x(b);var c=R(2);return z(c.toggleStar())});K()}a&2&&(a=R(2),G("starMessage","Star this bookmark group")("unStarMessage","Un-star this bookmark group")("starred",
a.isStarred))},Rlb=function(a){a&1&&L(0,"b-star-toggle",13);a&2&&G("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){if(a&1){var b=v();H(0,"div")(1,"div",7);F(2,Qlb,1,3,"b-star-toggle",8)(3,Rlb,1,4,"b-star-toggle",9);H(4,"span",10);T(5);H(6,"span")(7,"button",11);Q("click",function(){x(b);var c=R();return z(c.editBookmarkGroup())});
K()()()()()}a&2&&(a=R(),A(2),G("ngIf",!a.isAdmin),A(1),G("ngIf",a.isAdmin),A(2),V("",a.bookmarkGroup.name," "))},Vlb=function(a){if(a&1){var b=v();H(0,"b-saved-search-panel",17);Q("focusedRowIndexChange",function(f){x(b);var h=R().$implicit,k=R();return z(Tlb(k,h,f))})("selectionChange",function(f){x(b);var h=R(2);return z(Ulb(h,f))})("resultsLoaded",function(f){x(b);var h=R(2);return z(h.loadHotlists(f))});K()}if(a&2){var c=R();a=c.$implicit;var d=c.first;c=c.last;var e=R();G("panel",a)("isDashboardEditable",
e.isAdmin)("focusedRowIndex",a.focusedRowIndex)("savedSearchId",a.resourceId)("first",d)("last",c)}},Wlb=function(a){if(a&1){var b=v();H(0,"b-hotlist-panel",18);Q("focusedRowIndexChange",function(f){x(b);var h=R().$implicit,k=R();return z(Tlb(k,h,f))})("selectionChange",function(f){x(b);var h=R(2);return z(Ulb(h,f))})("resultsLoaded",function(f){x(b);var h=R(2);return z(h.loadHotlists(f))});K()}if(a&2){var c=R();a=c.$implicit;var d=c.first;c=c.last;var e=R();G("panel",a)("isDashboardEditable",e.isAdmin)("focusedRowIndex",
a.focusedRowIndex)("hotlistId",a.resourceId)("first",d)("last",c)}},Xlb=function(a,b){a&1&&(H(0,"div",14),F(1,Vlb,1,6,"b-saved-search-panel",15)(2,Wlb,1,6,"b-hotlist-panel",16),K());a&2&&(G("ngSwitch",b.$implicit.type),A(1),G("ngSwitchCase","SAVED_SEARCH"),A(1),G("ngSwitchCase","HOTLIST"))},Ylb=function(a){if(a&1){var b=v();H(0,"button",8);Q("click",function(){x(b);var c=R();return z(c.archive())});T(1," Archive bookmark group ");K()}a&2&&(a=R(),G("disabled",a.hasUnsavedChanges()||a.isSaving()))},
Zlb=function(a){if(a&1){var b=v();H(0,"button",8);Q("click",function(){x(b);var c=R();return z(c.unarchive())});T(1," Unarchive bookmark group ");K()}a&2&&(a=R(),G("disabled",a.hasUnsavedChanges()||a.isSaving()))},$lb=function(a){a&1&&(H(0,"span",32),T(1," (archived) "),K())},bmb=function(a,b){if(a&1){var c=v();H(0,"div")(1,"b-hotlist-chip-smart",48);Q("removeHotlist",function(){var d=x(c).ngIf,e=R(4);return z(amb(e,d))});K()()}a&2&&(a=b.ngIf,A(1),G("id",a))},dmb=function(a,b){if(a&1){var c=v();H(0,
"div",49)(1,"a",50);T(2);K();H(3,"span",51);Q("click",function(){var e=x(c).ngIf,f=R(4);return z(cmb(f,e))})("keydown.enter",function(){var e=x(c).ngIf,f=R(4);return z(cmb(f,e))})("keydown.space",function(){var e=x(c).ngIf,f=R(4);return z(cmb(f,e))});T(4," \u00d7 ");K()()}if(a&2){a=b.ngIf;b=R().$implicit;var d=R(3);A(1);G("href",d.paths.viewSavedSearch(a),Wd)("matTooltip","Go to saved search: "+d.getDisplayName(b));A(1);V(" S: ",d.getDisplayName(b)," ");A(1);G("matTooltip","Remove item: "+d.getDisplayName(b));
Af("aria-label","Remove item: "+d.getDisplayName(b))}},emb=function(a){a&1&&(H(0,"span",52),T(1,"<None>"),K())},fmb=function(a,b){a&1&&(H(0,"div",45),F(1,bmb,2,1,"div",7)(2,dmb,5,5,"div",46)(3,emb,2,0,"span",47),K());if(a&2){a=b.$implicit;b=R(3);A(1);var c;var d="HOTLIST"===a.resourceType?null==(c=a.hotlistId)?void 0:c.toString():void 0;G("ngIf",d);A(1);G("ngIf","SAVED_SEARCH"===a.resourceType?a.savedSearchId:void 0);A(1);G("ngIf",!(null==b.bookmarkGroupUnderEdit.item?0:b.bookmarkGroupUnderEdit.item.length))}},
hmb=function(a,b){if(a&1){var c=v();H(0,"button",61);Q("click",function(){var d=x(c).$implicit,e=R(5);return z(gmb(e,d))});T(1);K()}a&2&&(a=b.$implicit,A(1),V("",a.name," "))},imb=function(a){a&1&&F(0,hmb,2,1,"button",60);a&2&&(a=R(4),G("ngForOf",a.savedSearchChoices))},jmb=function(a){a&1&&(H(0,"div",53)(1,"label",54),T(2,"Add from saved searches:"),K(),H(3,"button",55)(4,"span",56),T(5,"Select"),K(),L(6,"mat-icon",57),K(),H(7,"mat-menu",null,58),F(9,imb,1,1,"ng-template",59),K()());if(a&2){var b=
S(8);A(3);G("matMenuTriggerFor",b)}},omb=function(a){if(a&1){var b=v();M(0);H(1,"div",30)(2,"label",33)(3,"span",18);T(4,"Selected items");K()();H(5,"div",34,35);F(7,fmb,4,3,"div",36);K()();H(8,"div",37)(9,"div",38)(10,"label",39);T(11,"Add hotlist from favorites:");K();H(12,"b-hotlist-picker",40);Q("onApply",function(c){x(b);var d=R(2);return z(kmb(d,c))})("onCreate",function(c){x(b);var d=R(2);return z(lmb(d,c))})("onLoad",function(c){x(b);var d=R(2);return z(mmb(d,c))});K()();H(13,"div",41)(14,
"label",42);T(15,"Add hotlist by query:");K();H(16,"b-hotlist-search",43);Q("itemSelect",function(c){x(b);var d=R(2);"hotlistId"in c&&!d.selectedHotlistIds[0].includes(c.hotlistId)&&(nmb(d,c.hotlistId),d.bookmarkGroupUnderEdit.item.push({name:c.name,resourceType:"HOTLIST",hotlistId:c.hotlistId}));return z()});K()();F(17,jmb,10,1,"div",44);K();N()}a&2&&(a=R(2),A(7),G("ngForOf",a.bookmarkGroupUnderEdit.item),A(5),G("selectedHotlistIds",a.selectedHotlistIds)("choices",a.userHotlists)("checkEditAcl",
!1),A(4),G("showGroups",!1)("allowStarring",!1),A(1),G("ngIf",0<a.savedSearchChoices.length))},qmb=function(a){a&1&&(H(0,"span"),T(1),H(2,"a",65),T(3),K()());if(a&2){a=R().$implicit;var b=R(3);A(1);V(" Hotlist ",a.hotlistId,": ");A(1);G("href",pmb(b,a),Wd);A(1);V(" ",a.name||"(name not available)"," ")}},rmb=function(a){a&1&&(H(0,"span"),T(1),H(2,"a",65),T(3),K()());if(a&2){a=R().$implicit;var b=R(3);A(1);V(" Saved search ",a.savedSearchId,": ");A(1);G("href",pmb(b,a),Wd);A(1);V(" ",a.name||"(name not available)",
" ")}},smb=function(a,b){a&1&&(H(0,"li"),F(1,qmb,4,3,"span",7)(2,rmb,4,3,"span",7),K());a&2&&(a=b.$implicit,A(1),G("ngIf","HOTLIST"===a.resourceType),A(1),G("ngIf","SAVED_SEARCH"===a.resourceType))},tmb=function(a){a&1&&(H(0,"div",62)(1,"label")(2,"span",18),T(3,"Items"),K()(),H(4,"div",63)(5,"ul"),F(6,smb,3,2,"li",64),K()()());a&2&&(a=R(2),A(6),G("ngForOf",a.bookmarkGroup.item))},umb=function(a){if(a&1){var b=v();H(0,"div",66)(1,"button",67);Q("click",function(){x(b);var c=R(2);return z(c.saveMetadata())});
T(2," Update ");K();H(3,"button",68);Q("click",function(){x(b);var c=R(2);return z(c.revertMetadataChanges())});T(4," Revert changes ");K()()}a&2&&(a=R(2),A(1),G("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()))},vmb=function(a){if(a&1){var b=v();H(0,"div",66)(1,"button",67);Q("click",function(){x(b);var c=R(2);return z(c.saveAccessPolicy())});T(2," Update ");K();H(3,"button",68);Q("click",function(){x(b);var c=R(2);return z(c.revertAccessPolicyChanges())});T(4," Revert changes ");K()()}a&
2&&(a=R(2),A(1),G("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},zmb=function(a){if(a&1){var b=v();M(0);H(1,"div",9)(2,"h2");T(3);K();F(4,$lb,2,0,"span",10);H(5,"a",11);T(6," (View Dashboard)");K()();H(7,"mat-tab-group",12);Q("selectedIndexChange",function(d){x(b);var e=R();return z(e.selectedTabIndex=d)})("selectedIndexChange",function(d){x(b);var e=R();return z(e.tabChange(d))});H(8,"mat-tab",13)(9,"div",14);L(10,"b-error-banner",15);
H(11,"div",16)(12,"label",17)(13,"span",18);T(14,"Name");K()();H(15,"input",19,20);Q("ngModelChange",function(d){x(b);var e=R();return z(e.bookmarkGroupUnderEdit.name=d)});K()();H(17,"div",16)(18,"label",21)(19,"span",18);T(20,"Description");K()();H(21,"textarea",22);Q("ngModelChange",function(d){x(b);var e=R();return z(e.bookmarkGroupUnderEdit.description=d)});K()();F(22,omb,18,7,"ng-container",23)(23,tmb,7,1,"ng-template",null,24,tg)(25,umb,5,1,"div",25);K()();H(26,"mat-tab",26)(27,"div",14)(28,
"div",16)(29,"label")(30,"span",18);T(31,"Admins");K();H(32,"p",27);T(33," Edit access controls, edit name and description, reorder items, add/remove items ");K()();H(34,"b-multi-user-input",28);Q("usersChange",function(d){x(b);var e=R();return z(e.accessPolicyUnderEdit.admins=d)})("isValid",function(d){x(b);var e=R();return z(e.isAdminsFieldValid=d)});K()();H(35,"div",16)(36,"label")(37,"span",18);T(38,"View only");K();H(39,"p",27);T(40," View the bookmark group ");K();H(41,"b-multi-user-input",
29);Q("usersChange",function(d){x(b);var e=R();return z(e.accessPolicyUnderEdit.readers=d)})("isValid",function(d){x(b);var e=R();return z(e.isReaderFieldValid=d)});K()()();H(42,"div",30);T(43," See ");H(44,"a",31);T(45,"access control documentation");K();T(46," for an explanation of the settings. ");K();F(47,vmb,5,1,"div",25);K()()();N()}if(a&2){var c=S(24);a=R();A(3);ag(" Bookmark group ",a.bookmarkGroup.bookmarkGroupId,": ",a.bookmarkGroup.name," ");A(1);G("ngIf",a.isArchived());A(1);G("href",
a.paths.dashboard(a.bookmarkGroup.bookmarkGroupId),Wd);A(2);G("selectedIndex",a.selectedTabIndex);A(3);G("error",a.error);A(1);G("ngClass",fg(28,wmb,a.isEditDisabled()));A(4);G("ngModel",a.bookmarkGroupUnderEdit.name)("disabled",a.isEditDisabled());A(2);G("ngClass",fg(30,wmb,a.isEditDisabled()));A(4);G("ngModel",a.bookmarkGroupUnderEdit.description)("disabled",a.isEditDisabled());A(1);G("ngIf",a.isAdmin)("ngIfElse",c);A(3);G("ngIf",a.isAdmin);A(3);G("ngClass",fg(32,wmb,a.isEditDisabled()));A(6);Jf("disabled",
a.isEditDisabled());G("users",a.accessPolicyUnderEdit.admins);A(1);G("ngClass",fg(34,wmb,a.isEditDisabled()));A(6);Jf("disabled",a.isEditDisabled());G("users",a.accessPolicyUnderEdit.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",fg(38,xmb,fg(36,ymb,a.accessPolicyUnderEdit.admins)));A(3);G("href",po(a.documentationLinks)+"#bookmark-groups",Wd);A(3);G("ngIf",a.isAdmin)}},Amb=function(a){if(a&1){var b=v();H(0,"button",8);Q("click",function(){x(b);var c=R();return z(c.delete())});
T(1," Delete saved search ");K()}a&2&&(a=R(),G("disabled",a.hasUnsavedChanges()||a.isSaving()))},Bmb=function(a){a&1&&(M(0),H(1,"div",9)(2,"h2"),T(3," Saved search not found "),K()(),N())},Cmb=function(a){if(a&1){var b=v();H(0,"div",34)(1,"button",35);Q("click",function(){x(b);var c=R(2);return z(c.saveMetadata())});T(2," Update ");K();H(3,"button",36);Q("click",function(){x(b);var c=R(2);return z(c.revertMetadataChanges())});T(4," Revert changes ");K()()}a&2&&(a=R(2),A(1),G("disabled",!a.hasUnsavedMetadataChanges()||
a.isSaving()))},Dmb=function(a){if(a&1){var b=v();H(0,"div",34)(1,"button",35);Q("click",function(){x(b);var c=R(2);return z(c.saveAccessPolicy())});T(2," Update ");K();H(3,"button",36);Q("click",function(){x(b);var c=R(2);return z(c.revertAccessPolicyChanges())});T(4," Revert changes ");K()()}a&2&&(a=R(2),A(1),G("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},Hmb=function(a){if(a&1){var b=v();M(0);H(1,"div",9)(2,"h2");T(3);K();H(4,"a",
10);T(5," (View Issues)");K()();H(6,"mat-tab-group",11);Q("selectedIndexChange",function(c){x(b);var d=R();return z(d.selectedTabIndex=c)})("selectedIndexChange",function(c){x(b);var d=R();return z(d.tabChange(c))});H(7,"mat-tab",12)(8,"div",13);L(9,"b-error-banner",14);H(10,"div",15)(11,"label",16)(12,"span",17);T(13,"Name");K()();H(14,"input",18,19);Q("ngModelChange",function(c){x(b);var d=R();return z(d.savedSearchUnderEdit.name=c)});K()();H(16,"div",15)(17,"label",20)(18,"span",17);T(19,"Description");
K()();H(20,"textarea",21);Q("ngModelChange",function(c){x(b);var d=R();return z(d.savedSearchUnderEdit.description=c)});T(21,"            ");K()();H(22,"div",22)(23,"label",23)(24,"span",17);T(25,"Query");K();H(26,"p",24);T(27," To modify query and display preferences, run the saved search and modify its parameters ");K();H(28,"div",25);T(29);K()()();F(30,Cmb,5,1,"div",26);K()();H(31,"mat-tab",27)(32,"div",13)(33,"div",15)(34,"label",28)(35,"span",17);T(36,"Admins");K();H(37,"p",24);T(38," Edit access controls, edit name and description, edit query ");
K()();H(39,"b-multi-user-input",29);Q("usersChange",function(c){x(b);var d=R();return z(d.accessPolicyUnderEdit.admins=c)})("isValid",function(c){x(b);var d=R();return z(d.isAdminsFieldValid=c)});K()();H(40,"div",15)(41,"label",30)(42,"span",17);T(43,"View and execute search");K()();H(44,"b-multi-user-input",31);Q("usersChange",function(c){x(b);var d=R();return z(d.accessPolicyUnderEdit.readers=c)})("isValid",function(c){x(b);var d=R();return z(d.isReaderFieldValid=c)});K()();H(45,"div",32);T(46,
" See ");H(47,"a",33);T(48,"access control documentation");K();T(49," for an explanation of the settings. ");K();F(50,Dmb,5,1,"div",26);K()()();N()}a&2&&(a=R(),A(3),ag(" Saved search ",a.savedSearch.searchId,": ",a.savedSearch.name," "),A(1),G("href",a.paths.viewSavedSearch(a.savedSearch.searchId),Wd),A(2),G("selectedIndex",a.selectedTabIndex),A(3),G("error",a.error),A(1),G("ngClass",fg(26,Emb,a.isEditDisabled())),A(4),G("ngModel",a.savedSearchUnderEdit.name)("disabled",a.isEditDisabled()),A(2),G("ngClass",
fg(28,Emb,a.isEditDisabled())),A(4),G("ngModel",a.savedSearchUnderEdit.description)("disabled",a.isEditDisabled()),A(9),V(" ",a.savedSearch.query," "),A(1),G("ngIf",a.isAdmin),A(3),G("ngClass",fg(30,Emb,a.isEditDisabled())),A(6),Jf("disabled",a.isEditDisabled()),G("users",a.accessPolicyUnderEdit.admins),A(1),G("ngClass",fg(32,Emb,a.isEditDisabled())),A(4),Jf("disabled",a.isEditDisabled()),G("users",a.accessPolicyUnderEdit.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",fg(36,
Fmb,fg(34,Gmb,a.accessPolicyUnderEdit.admins))),A(3),G("href",po(a.documentationLinks)+"#saved-searches",Wd),A(3),G("ngIf",a.isAdmin))},Imb=function(a){a&1&&(H(0,"div",7),L(1,"b-spinner"),K())},Jmb=function(a){if(a&1){var b=v();H(0,"div",39)(1,"span",40)(2,"mat-checkbox",41);Q("change",function(c){x(b);var d=R(2);return z(d.alertState.setValue(c.checked))});K()();H(3,"div")(4,"strong",42);T(5,"SLO Notifications");K();H(6,"div",43);T(7," When checked, admins will be notified when any component that would be automatically assigned this SLO overrides their SLO settings. ");
K()()()}a&2&&(a=R(2),Jf("bv2-edit-resource-readonly",a.isEditDisabled()),A(2),G("checked",a.alertState.getValue())("disabled",a.isEditDisabled()))},Kmb=function(a){a&1&&(H(0,"div",44),T(1," Action is required to keep your SLO definitions in Buganizer and BugScope in sync. "),H(2,"a",45),T(3," Learn more "),K()())},Mmb=function(a){if(a&1){var b=v();H(0,"b-button",50);Q("onAction",function(){x(b);var c=R(3);return z(Lmb(c,!0))});T(1," Archive ");K()}a&2&&(a=R(3),G("disabled",a.hasUnsavedMetadataChanges()||
a.isSaving()))},Nmb=function(a){if(a&1){var b=v();H(0,"b-button",51);Q("onAction",function(){x(b);var c=R(3);return z(Lmb(c,!1))});T(1," Unarchive ");K()}a&2&&(a=R(3),G("disabled",a.hasUnsavedMetadataChanges()||a.isSaving()))},Omb=function(a){if(a&1){var b=v();H(0,"div",26)(1,"b-button",46);Q("onAction",function(){x(b);var d=R(2);return z(d.saveMetadata())});T(2," Update ");K();H(3,"b-button",47);Q("onAction",function(){x(b);var d=R(2);return z(d.revertMetadataChanges())});T(4," Revert changes ");
K();F(5,Mmb,2,1,"b-button",48)(6,Nmb,2,1,"b-button",49);K()}if(a&2){R();var c=S(9);a=R();A(1);G("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()||!a.elementPickerIsValid||!!c.pending||!!c.invalid);A(2);G("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()||!!c.pending||!!c.invalid);A(2);G("ngIf",a.slo&&!a.slo.isArchived);A(1);G("ngIf",a.slo&&a.slo.isArchived)}},Pmb=function(a){if(a&1){var b=v();H(0,"div",25)(1,"b-button",52);Q("onAction",function(){x(b);var c=R(2);return z(c.saveAccessPolicy())});
T(2," Update ");K();H(3,"b-button",53);Q("onAction",function(){x(b);var c=R(2);return z(c.revertAccessPolicyChanges())});T(4," Revert changes ");K()()}a&2&&(a=R(2),A(1),G("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||a.isInvalid()))},Qmb=function(a){if(a&1){var b=v();H(0,"div")(1,"div",8)(2,"h2")(3,"span",9);T(4);K()()();H(5,"mat-tab-group",10);Q("selectedIndexChange",function(c){x(b);var d=R();return z(d.selectedTabIndex=c)})("selectedIndexChange",function(c){x(b);var d=R();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);T(13,"Name");K()();H(14,"input",18);Q("ngModelChange",function(c){x(b);var d=R();return z(d.editableCopy.name=c)});K()();H(15,"div",15)(16,"label",19)(17,"span",17);T(18,"Description");K()();H(19,"textarea",20);Q("ngModelChange",function(c){x(b);var d=R();return z(d.editableCopy.description=c)});T(20,"              ");K()();F(21,Jmb,8,4,"div",21);K();F(22,Kmb,4,0,"div",22);H(23,"div",15)(24,"slo-elements-picker",
23);Q("onCollectionUpdate",function(c){x(b);var d=R();return z(d.updateCollection(c))})("onValidation",function(c){x(b);var d=R();return z(d.elementPickerIsValid=c)});K()();H(25,"div",24)(26,"div",25)(27,"div",26)(28,"b-button",27);Q("onAction",function(){x(b);var c=R();return z(c.showUpdateHistoryModal())});T(29," View history ");K()()();H(30,"div",25);F(31,Omb,7,4,"div",28);K()()()();H(32,"mat-tab",29)(33,"div",30)(34,"form",31)(35,"div",15)(36,"label",32)(37,"span",17);T(38,"Admins");K();H(39,
"p",33);T(40," Edit name, description and metrics ");K()();H(41,"b-multi-user-input",34);Q("usersChange",function(c){x(b);var d=R();return z(d.editableAccessPolicy.admins=c)})("isValid",function(c){x(b);var d=R();return z(d.validity.admins=c)});K()();H(42,"div",15)(43,"label",35)(44,"span",17);T(45,"Readers");K();H(46,"p",33);T(47," View the SLO definition (this is not required to see an issue's SLO status) ");K()();H(48,"b-multi-user-input",36);Q("usersChange",function(c){x(b);var d=R();return z(d.editableAccessPolicy.readers=
c)})("isValid",function(c){x(b);var d=R();return z(d.validity.readers=c)});K()()();H(49,"div",15);T(50," See ");H(51,"a",37);T(52,"access control documentation");K();T(53," for an explanation of the settings. ");K();F(54,Pmb,5,1,"div",38);K()()()()}a&2&&(a=R(),A(4),ag(" SLO ",a.slo.sloId,": ",a.slo.name," "),A(1),G("selectedIndex",a.selectedTabIndex),A(5),Jf("bv2-edit-resource-readonly",a.isEditDisabled()),A(4),G("required",!0)("ngModel",a.editableCopy.name)("disabled",a.isEditDisabled()),A(1),Jf("bv2-edit-resource-readonly",
a.isEditDisabled()),A(4),G("ngModel",a.editableCopy.description)("disabled",a.isEditDisabled()),A(2),G("ngIf",a.isImportedFromBugScope||a.alertState.getSavedValue()),A(1),G("ngIf",a.isUneditedFromBugScope&&a.isAdmin()),A(1),Jf("bv2-edit-resource-readonly",a.isEditDisabled()),A(1),G("isDisabled",a.isEditDisabled())("collection",a.editableCopy.elements),A(7),G("ngIf",a.isAdmin()),A(4),Jf("bv2-edit-resource-readonly",a.isEditDisabled()),A(6),G("users",a.editableAccessPolicy.admins),Af("disabled",a.isEditDisabled()?
!0:null),A(1),Jf("bv2-edit-resource-readonly",a.isEditDisabled()),A(6),G("users",a.editableAccessPolicy.readers)("includeAliases",!0)("includeViewAliases",!0),Af("disabled",a.isEditDisabled()?!0:null),A(3),Xf("href","",po(a.documentationLinks),"#slos",Wd),A(3),G("ngIf",a.isAdmin()))},Rmb=function(a){if(a&1){var b=v();H(0,"div",3);Q("@arrowPosition.start",function(){x(b);var c=R();return z(c._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){x(b);var c=R();return z(c._disableViewStateAnimation=
!1)});L(1,"div",4);H(2,"div",5);L(3,"div",6)(4,"div",7)(5,"div",8);K()()}a&2&&(a=R(),G("@arrowOpacity",a._getArrowViewState())("@arrowPosition",a._getArrowViewState())("@allowChildren",a._getArrowDirectionState()),A(2),G("@indicator",a._getArrowDirectionState()),A(1),G("@leftPointer",a._getArrowDirectionState()),A(1),G("@rightPointer",a._getArrowDirectionState()))},Smb=function(a){a&1&&L(0,"th",28)},Tmb=function(a){a&1&&L(0,"td",29)},Umb=function(a){a&1&&(H(0,"th",28),T(1," Id "),K())},Vmb=function(a,
b){a&1&&(H(0,"td",30),L(1,"b-issue-id-cell",31),K());a&2&&(a=b.$implicit,A(1),G("id",a.id))},Wmb=function(a){a&1&&(H(0,"th",28),T(1," Title "),K())},Xmb=function(a,b){a&1&&(H(0,"td",30),L(1,"b-issue-title-cell",32),W(2,"async"),K());if(a&2){a=b.$implicit;b=R();var c;A(1);G("issue",X(2,3,a.issue$))("issueUrlFactory",b.issueUrlFactory)("enableHovercard",null!==(c=b.options.enableIssueHovercard)&&void 0!==c?c:!1)}},Ymb=function(a){a&1&&(H(0,"th",33),T(1," Type "),K())},Zmb=function(a,b){a&1&&(H(0,"td",
30),L(1,"b-issue-type-cell",34),W(2,"async"),K());a&2&&(a=b.$implicit,A(1),G("issue",X(2,1,a.issue$)))},$mb=function(a){a&1&&Rf(0)},anb=function(a){a&1&&(M(0),T(1,"Assignee"),N())},bnb=function(a){a&1&&(H(0,"th",35),M(1,36),F(2,$mb,1,0,"ng-container",37)(3,anb,2,0,"ng-container",38),N(),K());a&2&&(a=R(),A(1),G("ngSwitch",null==a.options.modes?null:a.options.modes.assignee),A(1),G("ngSwitchCase","avatar-if-open"))},cnb=function(a,b){a&1&&L(0,"b-user-image",41);a&2&&G("email",b.$implicit)},dnb=function(a){a&
1&&(M(0),F(1,cnb,1,1,"b-user-image",40),N());if(a&2){a=R().$implicit;var b=R(3);A(1);G("ngIf",b.getAssigneeString(a))}},enb=function(a,b){a&1&&(M(0),F(1,dnb,2,1,"ng-container",39),N());a&2&&(a=b.$implicit,b=R(3),A(1),G("ngIf",b.isOpen(a)))},fnb=function(a){a&1&&(M(0),F(1,enb,2,1,"ng-container",39),W(2,"async"),N());a&2&&(a=R().$implicit,A(1),G("ngIf",X(2,1,a.issue$)))},gnb=function(a){a&1&&(M(0),L(1,"b-issue-assignee-cell",34),W(2,"async"),N());a&2&&(a=R().$implicit,A(1),G("issue",X(2,1,a.issue$)))},
hnb=function(a){a&1&&(H(0,"td",30),M(1,36),F(2,fnb,3,3,"ng-container",37)(3,gnb,3,3,"ng-container",38),N(),K());a&2&&(a=R(),A(1),G("ngSwitch",null==a.options.modes?null:a.options.modes.assignee),A(1),G("ngSwitchCase","avatar-if-open"))},inb=function(a){a&1&&(H(0,"th",42),T(1," Reporter "),K())},jnb=function(a,b){a&1&&(H(0,"td",30),L(1,"b-issue-reporter-cell",34),W(2,"async"),K());a&2&&(a=b.$implicit,A(1),G("issue",X(2,1,a.issue$)))},knb=function(a){a&1&&(H(0,"th",43),T(1," Priority "),K())},lnb=function(a,
b){a&1&&(H(0,"td",30),L(1,"b-issue-priority-display",44),K());a&2&&(a=b.$implicit,b=R(),A(1),G("issuePriority",b.getPriority(a)))},mnb=function(a){a&1&&(H(0,"th",45),T(1," Status "),K())},nnb=function(a,b){a&1&&(H(0,"td",30),L(1,"b-issue-status-cell",34),W(2,"async"),K());a&2&&(a=b.$implicit,A(1),G("issue",X(2,1,a.issue$)))},onb=function(a){a&1&&(H(0,"th",28),T(1," Team "),K())},pnb=function(a,b){a&1&&(H(0,"td",30),L(1,"b-issue-team-cell",34),W(2,"async"),K());a&2&&(a=b.$implicit,A(1),G("issue",X(2,
1,a.issue$)))},qnb=function(a){a&1&&(H(0,"th",28),T(1," Dupes "),K())},rnb=function(a){a&1&&(M(0),T(1),N());if(a&2){a=R().$implicit;var b;A(1);V(" ",null!==(b=null==a.snapshot[0].duplicateIssueId?null:a.snapshot[0].duplicateIssueId.length)&&void 0!==b?b:0," ")}},snb=function(a){a&1&&(M(0),F(1,rnb,2,1,"ng-container",39),N());a&2&&(R(2),A(1),G("ngIf",!0))},tnb=function(a,b){a&1&&(H(0,"td",30),F(1,snb,2,1,"ng-container",39),W(2,"async"),K());a&2&&(a=b.$implicit,A(1),G("ngIf",X(2,1,a.issue$)))},unb=function(a){a&
1&&(H(0,"th",28),T(1," +1 "),K())},vnb=function(a){a&1&&(M(0),T(1),N());a&2&&(a=R().$implicit,A(1),V(" ",null==a.aggregatedData?null:a.aggregatedData.voteCount," "))},wnb=function(a){a&1&&(M(0),F(1,vnb,2,1,"ng-container",39),N());a&2&&(R(2),A(1),G("ngIf",!0))},xnb=function(a,b){a&1&&(H(0,"td",30),F(1,wnb,2,1,"ng-container",39),W(2,"async"),K());a&2&&(a=b.$implicit,A(1),G("ngIf",X(2,1,a.issue$)))},ynb=function(a){a&1&&(H(0,"th",46),T(1," Created "),K())},znb=function(a,b){a&1&&(H(0,"td",30),L(1,"b-issue-created-time-cell",
47),W(2,"async"),K());if(a&2){a=b.$implicit;b=R();var c;A(1);G("issue",X(2,2,a.issue$))("mode",null!==(c=null==b.options.modes?null:b.options.modes.createdTime)&&void 0!==c?c:b.DEFAULT_DATETIME_MODE)}},Anb=function(a){a&1&&(H(0,"th",48),T(1," Last Modified "),K())},Bnb=function(a,b){a&1&&(M(0),L(1,"b-formatted-date-time",51),N());if(a&2){a=b.$implicit;b=R(2);var c;A(1);G("timestamp",a/1E3)("mode",null!==(c=null==b.options.modes?null:b.options.modes.modifiedTime)&&void 0!==c?c:b.DEFAULT_DATETIME_MODE)("paddingLeftPx",
0)}},Cnb=function(a){a&1&&T(0,"--")},Dnb=function(a,b){a&1&&(H(0,"td",30),F(1,Bnb,2,3,"ng-container",49)(2,Cnb,1,0,"ng-template",null,50,tg),K());if(a&2){a=b.$implicit;var c=S(3);b=R();A(1);G("ngIf",b.getModifiedTimeMicros(a))("ngIfElse",c)}},Enb=function(a){a&1&&L(0,"th",28)},Fnb=function(a,b){a&1&&(H(0,"td",30)(1,"b-actions-menu",52),Q("click",function(e){return e.stopPropagation()}),K()());if(a&2){a=b.$implicit;b=R();var c,d;A(1);G("buttonLabel",null!==(c=null==b.options.menu?null:b.options.menu.buttonLabel)&&
void 0!==c?c:b.DEFAULT_MENU_OPTIONS.buttonLabel)("buttonIcon",null!==(d=null==b.options.menu?null:b.options.menu.buttonIcon)&&void 0!==d?d:b.DEFAULT_MENU_OPTIONS.buttonIcon)("menuItems",b.getMenuItems(a.id))}},Gnb=function(a){a&1&&L(0,"tr",53)},Hnb=function(a,b){if(a&1){var c=v();H(0,"tr",54);Q("click",function(d){var e=x(c).$implicit,f=R();return z(f.navigateToIssue(d,e.id))})("mouseup",function(d){var e=x(c).$implicit,f=R();return z(f.navigateToIssue(d,e.id))})("focusin",function(){var d=x(c).$implicit,
e=R();return z(Mp(e.focusManager,d))})("keydown",function(d){var e=x(c).$implicit,f=R();return z(f.onRowKeydown(e,d))});K()}a&2&&G("row",b.$implicit)},Inb=function(a){if(a&1){var b=v();M(0);H(1,"button",57);Q("click",function(){x(b);var c=R(5);return z(c.rowLimit$.next(void 0))});T(2," Show more ");L(3,"mat-icon",58);K();N()}},Jnb=function(a){a&1&&(M(0),F(1,Inb,4,0,"ng-container",39),N());if(a&2){a=R().$implicit;var b=R().$implicit;A(1);G("ngIf",a.length<b)}},Knb=function(a){if(a&1){var b=v();M(0);
H(1,"button",57);Q("click",function(){x(b);var c=R(5);return z(c.rowLimit$.next(c.options.rowLimit))});T(2," Show less ");L(3,"mat-icon",59);K();N()}},Lnb=function(a){a&1&&F(0,Knb,4,0,"ng-container",39);if(a&2){a=R().$implicit;var b=R(3),c;G("ngIf",a.length>(null!==(c=b.options.rowLimit)&&void 0!==c?c:0))}},Mnb=function(a){a&1&&(M(0),F(1,Jnb,2,1,"ng-container",49),W(2,"async"),F(3,Lnb,1,1,"ng-template",null,56,tg),N());if(a&2){var b=S(4);a=R(3);A(1);G("ngIf",X(2,2,a.rowLimit$))("ngIfElse",b)}},Nnb=
function(a){a&1&&(M(0),F(1,Mnb,5,4,"ng-container",39),W(2,"async"),N());a&2&&(a=R(2),A(1),G("ngIf",X(2,1,a.rows$)))},Onb=function(a){a&1&&(H(0,"div",55),F(1,Nnb,3,3,"ng-container",39),W(2,"async"),K());a&2&&(a=R(),A(1),G("ngIf",X(2,1,a.rowCountAfterFilters$)))},Pnb=function(a,b){return(null==a?void 0:a.id)===(null==b?void 0:b.id)},In=function(a){return Dk(a.issue$)},Qnb=function(a){var b,c,d;return null==(b=Dk(a.issue$))?void 0:null==(c=b.snapshot)?void 0:null==(d=c[0])?void 0:d.priority},Rnb=function(a){var b,
c;return null==(b=Dk(a.issue$))?void 0:null==(c=b.aggregatedData)?void 0:c.modifiedTimeMicros},Snb=function(a,b){if(!b||!b.direction)return a;switch(b.active){case "status":return TBa()(a,b.direction);case "assignee":return UBa()(a,b.direction);case "reporter":return WBa()(a,b.direction);case "type":return VBa()(a,b.direction);case "createdTime":return XBa()(a,b.direction);case "modifiedTime":return YBa()(a,b.direction);case "priority":return aCa()(a,b.direction);default:return console.warn("b-issues-table sort by '"+
b.active+"' not implemented"),a}},Unb=function(a){if(a&1){var b=v();H(0,"div",5);L(1,"img",6)(2,"img",7);H(3,"p",8);T(4," This issue is not blocking anything \u00a0\ud83e\udd73 ");K();H(5,"p",9);T(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);T(8,"Learn more");K()();H(9,"button",11);Q("click",function(){x(b);var c=R(2);return z(Tnb(c))});T(10," Add ");K()()}a&2&&(a=R(2),A(1),G("src",a.TEA_LIGHT,
Wd),A(1),G("src",a.TEA_DARK,Wd))},Vnb=function(a,b){a&1&&L(0,"b-issues-table",18);a&2&&(a=b.ngIf,b=R(6),G("issueIds",a)("menuItemFactory",b.getMenuItems))},Wnb=function(a){a&1&&(M(0),F(1,Vnb,1,2,"b-issues-table",17),W(2,"async"),N());a&2&&(a=R(5),A(1),G("ngIf",X(2,1,a.blockedAndOpenIds$)))},Xnb=function(a){a&1&&(H(0,"p",19),T(1,"Not blocking any open issues \ud83e\udd73"),K())},Ynb=function(a,b){a&1&&(M(0),H(1,"h4",15),T(2),K(),F(3,Wnb,3,3,"ng-container",12)(4,Xnb,2,0,"ng-template",null,16,tg),N());
if(a&2){a=b.$implicit;var c=S(5);A(2);V("Open (",a.length,")");A(1);G("ngIf",0<a.length)("ngIfElse",c)}},Znb=function(a,b){a&1&&L(0,"b-issues-table",18);a&2&&(a=b.ngIf,b=R(6),G("issueIds",a)("menuItemFactory",b.getMenuItems))},$nb=function(a){a&1&&(M(0),H(1,"h4",15),T(2),K(),F(3,Znb,1,2,"b-issues-table",17),W(4,"async"),N());if(a&2){a=R().$implicit;var b=R(4);A(2);V("Closed (",a.length,")");A(1);G("ngIf",X(4,2,b.blockedAndClosedIds$))}},aob=function(a,b){a&1&&(M(0),F(1,$nb,5,4,"ng-container",1),N());
a&2&&(a=b.$implicit,A(1),G("ngIf",0<a.length))},bob=function(a){a&1&&(M(0),F(1,Ynb,6,3,"ng-container",1),W(2,"async"),F(3,aob,2,1,"ng-container",1),W(4,"async"),N());a&2&&(a=R(3),A(1),G("ngIf",X(2,2,a.blockedAndOpen$)),A(2),G("ngIf",X(4,4,a.blockedAndClosed$)))},cob=function(a,b){a&1&&(H(0,"li")(1,"a",22)(2,"span",9),T(3),K(),H(4,"aside",23),L(5,"button",24),K()()());a&2&&(a=b.$implicit,A(1),Xf("routerLink","/issues/",a,""),Cf("aria-label","Issue ",a,""),A(2),V("b/",a,""))},dob=function(a){a&1&&(H(0,
"h4",15),T(1,"Loading..."),K(),H(2,"ol",20),F(3,cob,6,3,"li",21),K());a&2&&(a=R(2).$implicit,A(3),G("ngForOf",a))},eob=function(a,b){a&1&&(M(0),H(1,"a",25),T(2," View as search results "),K(),N());a&2&&(a=b.ngIf,A(1),G("routerLink",a.path)("queryParams",a.params))},fob=function(a){if(a&1){var b=v();F(0,bob,5,6,"ng-container",12);W(1,"async");F(2,dob,4,1,"ng-template",null,13,tg);H(4,"aside",14)(5,"button",11);Q("click",function(){x(b);var d=R(2);return z(Tnb(d))});T(6," Add ");K();F(7,eob,3,2,"ng-container",
1);W(8,"async");K()}if(a&2){var c=S(3);a=R(2);G("ngIf",X(1,3,a.issuesBeingBlocked$))("ngIfElse",c);A(7);G("ngIf",X(8,5,a.searchUrl$))}},gob=function(a,b){a&1&&(M(0),F(1,Unb,11,2,"div",3)(2,fob,9,7,"ng-template",null,4,tg),N());if(a&2){a=b.$implicit;var c=S(3);A(1);G("ngIf",0===a.length)("ngIfElse",c)}},hob=function(a){a&1&&(H(0,"aside",26),L(1,"b-spinner"),K())},iob=function(a,b){a&1&&L(0,"b-user-image",2);a&2&&G("email",b.$implicit)},job=function(a,b){if(a&1){var c=v();M(0);H(1,"a",3);Q("click",
function(){x(c);var d=R(2);return z(d.limit+=d.LIMIT_INCREMENT)});T(2);K();N()}a&2&&(a=b.$implicit,A(1),Xf("title","",a," more participant(s). Click to show."),A(1),V("",a," more"))},kob=function(a){a&1&&(M(0),F(1,job,3,2,"ng-container",1),N());a&2&&(a=R(),A(1),G("ngIf",a.emails.length-a.limit))},mob=function(a){a&1&&(H(0,"a",5),T(1),K());a&2&&(a=R(2),G("href",a.makeCritiqueUrl(eg(2,lob),a.pending),Wd),A(1),V("(",a.pending.length," pending)"))},nob=function(a,b){a&1&&(H(0,"div",1),L(1,"img",2),T(2,
" \u00a0 "),H(3,"a",3),T(4),K(),T(5," \u00a0 "),F(6,mob,2,3,"a",4),K());a&2&&(a=b.$implicit,b=R(),A(3),G("href",b.makeCritiqueUrl(b.submitted,b.pending),Wd),A(1),V("",a," CLs"),A(2),G("ngIf",0<b.pending.length))},oob=function(a){a&1&&(H(0,"span",5),W(1,"date"),T(2),K());a&2&&(a=R(2),Xf("title","Start Date: ",ig(1,3,a.startDate,"longDate"),""),A(2),ag(" ",a.startDateShortStr,"",a.joinerStr," "))},pob=function(a){a&1&&(H(0,"span",6),W(1,"date"),T(2),K());a&2&&(a=R(2),Xf("title","End Date: ",ig(1,2,
a.endDate,"longDate"),""),A(2),V(" ",a.endDateShortStr," "))},qob=function(a){a&1&&(H(0,"div",1),L(1,"mat-icon",2),F(2,oob,3,6,"span",3)(3,pob,3,5,"span",4),K());a&2&&(a=R(),A(2),G("ngIf",a.startDate),A(1),G("ngIf",a.endDate))},rob=function(a){if(a&1){var b=v();H(0,"div",1);Q("click",function(){x(b);var c=R();return z(c.useXofYLabel=!c.useXofYLabel)});L(1,"div",2);H(2,"span");T(3);W(4,"number");K();H(5,"span");T(6);K()()}a&2&&(a=R(),Zf("title","",a.closed," of ",a.total," issues closed in this work area"),
A(1),Af("style",a.makePie(a.closed/a.total),pha),A(1),Jf("display-none",a.useXofYLabel),A(1),V("",ig(4,10,a.closed/a.total*100,"1.0-0"),"% complete"),A(2),Jf("display-none",!a.useXofYLabel),A(1),ag("",a.closed," of ",a.total," closed"))},sob=function(a,b){a&1&&L(0,"progress-pie",5);a&2&&(a=b.$implicit,G("closed",a.closed)("total",a.total))},uob=function(a,b){a&1&&(L(0,"cl-counts",6),W(1,"async"));if(a&2){a=b.$implicit;b=R();var c;G("submitted",a.changelists)("pending",null!==(c=X(1,2,b.pendingCls$))&&
void 0!==c?c:eg(4,tob))}},vob=function(a,b){a&1&&L(0,"avatar-bunch",7);a&2&&G("emails",b.$implicit)},wob=function(a,b){if(a&&a.length)return a.map(b)},xob=function(a){return{filename:a.getFilename(),lineNumber:Zh(a,2),changeNumber:a.getChangeNumber()}},zob=function(a){return{packageName:xi(a,1),fileMentionSet:wob(zi(a,yob,2),xob)}},Bob=function(a){return{totalMentions:Xh(a,1),truncated:Hi(a,2),packageMentionSet:wob(zi(a,Aob,3),zob)}},Is=function(a){var b=Cob(a.open);a=Cob(a.total);return b===a?"("+
b+")":"("+b+"/"+a+")"},Cob=function(a){var b=a.count;a=a.exact;return 0===b||a?""+b:b+"+"},Dob=function(a){return"("+Cob(a)+")"},Js=function(a){return{count:99<a?99:a,exact:99<a?!1:!0}},Eob=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:Oh(b)}},Fob=function(a){a&1&&Rf(0)},Gob=function(a){a&1&&(M(0),
F(1,Fob,1,0,"ng-container",9),N());if(a&2){R();var b=S(15);A(1);G("ngTemplateOutlet",b)}},Hob=function(a,b){a&1&&(M(0),L(1,"b-issues-table",10),N());a&2&&(a=b.ngIf,b=R(2),A(1),G("issueIds",a)("tableColumns",b.tableColumns)("menuItemFactory",b.getMenuItems)("filters",b.filters)("initialSort",b.initialSort))},Iob=function(a){a&1&&(M(0),F(1,Hob,2,5,"ng-container",4),W(2,"async"),N());a&2&&(a=R(),A(1),G("ngIf",X(2,1,a.blockerIds$)))},Job=function(a,b){if(a&1){var c=v();H(0,"p",11);T(1);H(2,"button",12);
Q("click",function(){x(c);var d=R();return z(d.shouldResetFilters.next())});T(3,"Show all");K()()}a&2&&(a=b.$implicit,A(1),ag(" Filtering ",a," issue",1===a?"":"s",". "))},Kob=function(a){a&1&&Rf(0)},Lob=function(a){a&1&&(H(0,"div")(1,"span",11),T(2,"This issue is not blocked "),H(3,"span",13),T(4,"\ud83c\udf89"),K()(),F(5,Kob,1,0,"ng-container",9),K());if(a&2){R();var b=S(15);A(5);G("ngTemplateOutlet",b)}},Nob=function(a){if(a&1){var b=v();H(0,"b-button",14);Q("onAction",function(){x(b);var c=R();
return z(Mob(c))});W(1,"async");T(2," Add blocker ");K()}a&2&&(a=R(),G("disabled",!X(1,1,a.canEdit$)))},Ks=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))},Oob=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:Oh(a)}},Qob=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=Pob(b),f=b.nextElementSibling&&Pob(b.nextElementSibling),h=b.previousElementSibling&&Pob(b.previousElementSibling);if("top"===a){var k;if((null==(k=b.previousElementSibling)?0:k.classList.contains("dragging"))&&h===e)return d="none",c();d="before";return c()}if("bottom"===a){if(null!=f&&e<f){var q;if(null==(q=b.nextElementSibling)?0:q.classList.contains("dragging"))return d=
"none",c();b=b.nextElementSibling;d="before";return c()}var t;if((null==(t=b.nextElementSibling)?0:t.classList.contains("dragging"))&&e===f)return d="none",c();d="after";return c()}d="current";return c()},Pob=function(a){return Number(a.dataset.level)},Rob=function(a){var b;return Ls(null!=(b=a.dataset.ancestorchain)?b:"")},Sob=function(a){a&1&&L(0,"th",27)},Tob=function(a){if(a&1){var b=v();H(0,"td",28,29);Q("click",function(c){var d=x(b).$implicit,e=S(1),f=R();e.focus();Mp(f.focusManager,d);return z(c.stopPropagation())});
K()}},Uob=function(a){a&1&&L(0,"th",27)},Vob=function(a){if(a&1){var b=v();H(0,"td",30,31);Q("click",function(c){var d=x(b).$implicit,e=S(1),f=R();e.focus();Mp(f.focusManager,d);return z(c.stopPropagation())})("dragstart",function(c){x(b);var d=R();return z(d.handleDragStart(c))});L(2,"mat-icon",32);K()}},Wob=function(a){a&1&&(H(0,"th",27),T(1," Id "),K())},Xob=function(a,b){a&1&&(H(0,"td",33),L(1,"b-issue-id-cell",34),K());a&2&&(a=b.$implicit,A(1),G("id",a.id))},Yob=function(a){a&1&&(H(0,"th",27),
T(1," Id "),K())},Zob=function(a){a&1&&(H(0,"td",33),T(1,"--"),K())},$ob=function(a){a&1&&(H(0,"th",27),T(1," Title "),K())},apb=function(a,b){if(a&1){var c=v();H(0,"td",33)(1,"b-expandable-issue-title-cell",35);Q("expansionChange",function(){var d=x(c).$implicit,e=R();return z(e.toggleExpansion(d))});W(2,"async");W(3,"async");K()()}a&2&&(a=b.$implicit,A(1),G("issue",X(2,4,a.issue$))("expandable",X(3,6,a.hasChildren$))("expanded",!!a.expandedCount)("level",a.level))},bpb=function(a){a&1&&(H(0,"th",
27),T(1," Type "),K())},cpb=function(a,b){a&1&&(H(0,"td",33),L(1,"b-issue-type-cell",36),W(2,"async"),K());a&2&&(a=b.$implicit,A(1),G("issue",X(2,1,a.issue$)))},dpb=function(a){a&1&&Rf(0)},epb=function(a){a&1&&(M(0),T(1,"Assignee"),N())},fpb=function(a){a&1&&(H(0,"th",27),M(1,37),F(2,dpb,1,0,"ng-container",38)(3,epb,2,0,"ng-container",39),N(),K());a&2&&(a=R(),A(1),G("ngSwitch",null==a.options.modes?null:a.options.modes.assignee),A(1),G("ngSwitchCase","avatar-if-open"))},gpb=function(a,b){a&1&&L(0,
"b-user-image",42);a&2&&G("email",b.$implicit)},hpb=function(a){a&1&&(M(0),F(1,gpb,1,1,"b-user-image",41),N());if(a&2){a=R().$implicit;var b=R(3);A(1);G("ngIf",b.getAssigneeString(a))}},ipb=function(a,b){a&1&&(M(0),F(1,hpb,2,1,"ng-container",20),N());a&2&&(a=b.$implicit,b=R(3),A(1),G("ngIf",b.isOpen(a)))},jpb=function(a){a&1&&(M(0),F(1,ipb,2,1,"ng-container",20),W(2,"async"),N());a&2&&(a=R().$implicit,A(1),G("ngIf",X(2,1,a.issue$)))},kpb=function(a){a&1&&(L(0,"b-issue-assignee-cell",36),W(1,"async"));
a&2&&(a=R().$implicit,G("issue",X(1,1,a.issue$)))},lpb=function(a){a&1&&(H(0,"td",33),M(1,37),F(2,jpb,3,3,"ng-container",38)(3,kpb,2,3,"b-issue-assignee-cell",40),N(),K());a&2&&(a=R(),A(1),G("ngSwitch",null==a.options.modes?null:a.options.modes.assignee),A(1),G("ngSwitchCase","avatar-if-open"))},mpb=function(a){a&1&&(H(0,"th",27),T(1," Status "),K())},npb=function(a,b){a&1&&(H(0,"td",33),L(1,"b-issue-status-cell",36),W(2,"async"),K());a&2&&(a=b.$implicit,A(1),G("issue",X(2,1,a.issue$)))},opb=function(a){a&
1&&(H(0,"th",27),T(1," Team "),K())},ppb=function(a,b){a&1&&(H(0,"td",33),L(1,"b-issue-team-cell",36),W(2,"async"),K());a&2&&(a=b.$implicit,A(1),G("issue",X(2,1,a.issue$)))},qpb=function(a){a&1&&L(0,"th",27)},rpb=function(a,b){a&1&&(H(0,"td",33)(1,"b-actions-menu",43),Q("click",function(c){return c.stopPropagation()}),K()());a&2&&(a=b.$implicit,b=R(),A(1),G("menuItems",b.getMenuItems(a)))},spb=function(a){a&1&&L(0,"th",27)},upb=function(a){a&1&&(H(0,"b-actions-menu",43),Q("click",function(c){return c.stopPropagation()}),
K());if(a&2){a=R().$implicit;var b=R();G("menuItems",tpb(b,a))}},vpb=function(a){a&1&&L(0,"b-spinner")},wpb=function(a,b){a&1&&(H(0,"td",44),F(1,upb,1,1,"b-actions-menu",45)(2,vpb,1,0,"ng-template",null,46,tg),K());if(a&2){a=b.$implicit;var c=S(3);A(1);G("ngIf",!a.saving)("ngIfElse",c)}},ypb=function(a,b){if(a&1){var c=v();H(0,"td",33)(1,"b-async-data-placeholder",47);W(2,"async");H(3,"b-button",48);Q("onAction",function(){var d=x(c).$implicit,e=R();return z(xpb(e,d))});H(4,"span",49);T(5);K()()()()}a&
2&&(a=b.$implicit,b=R(),If("padding-left",24*a.level+b.TITLE_FIXED_OFFSET_PX,"px"),Af("colspan",b.tableColumns.length),A(1),G("isReady",!!X(2,5,a.parentIssue$)),A(4),V("Display ",a.truncatedSiblingCount," more"))},zpb=function(a){a&1&&(H(0,"th",27),T(1," Title "),K())},Apb=function(a,b){if(a&1){var c=v();H(0,"td",33)(1,"div",50)(2,"b-text-input-cell",51);Q("valueChange",function(d){var e=x(c).$implicit;return z(e.title=d)})("commit",function(){var d=x(c).$implicit,e=R();return z(e.saveDraft(d))});
K();H(3,"b-button",52);Q("onAction",function(){var d=x(c).$implicit,e=R();return z(e.saveDraft(d))});T(4," Create ");K();H(5,"b-button",53);Q("onAction",function(){var d=x(c).$implicit,e=R();return z(Ms(e,d))});T(6," Cancel ");K()()()}a&2&&(a=b.$implicit,If("padding-left",24*(a.level+1),"px"),A(2),G("value",a.title)("readonly",a.saving),A(1),G("disabled",!a.title||a.saving),A(2),G("disabled",a.saving))},Bpb=function(a){a&1&&L(0,"tr",55)},Cpb=function(a){a&1&&(M(0),F(1,Bpb,1,0,"tr",54),N());a&2&&(a=
R(),A(1),G("matHeaderRowDef",a.tableColumns))},Epb=function(a,b){if(a&1){var c=v();H(0,"tr",56);Q("click",function(d){var e=x(c).$implicit,f=R();return z(f.navigateToIssue(d,e))})("mouseup",function(d){var e=x(c).$implicit,f=R();return z(f.navigateToIssue(d,e))})("focusin",function(){var d=x(c).$implicit,e=R();return z(Mp(e.focusManager,d))})("keydown",function(d){var e=x(c).$implicit,f=R();return z(f.onRowKeydown(e,d))});W(1,"async");W(2,"async");K()}a&2&&(a=b.$implicit,b=R(),Jf("selected",X(1,8,
Dpb(b.selectionModel,a.ancestorChain)))("closed",b.isClosed(X(2,10,a.issue$))),G("row",a),Af("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},Fpb=function(a,b){if(a&1){var c=v();H(0,"tr",57);Q("focusin",function(){var d=x(c).$implicit,e=R();return z(Mp(e.focusManager,d))})("keydown",function(d){var e=x(c).$implicit,f=R();return z(f.onRowKeydown(e,d))});K()}a&2&&(a=b.$implicit,G("row",a),Af("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},
Gpb=function(a,b){if(a&1){var c=v();H(0,"tr",58);Q("keydown",function(d){var e=x(c).$implicit,f=R();return z(f.onRowKeydown(e,d))})("keydown.escape",function(){var d=x(c).$implicit,e=R();return z(Ms(e,d))})("keydown.backspace",function(){var d=x(c).$implicit,e=R();return z(d.title||Ms(e,d))})("focusin",function(){var d=x(c).$implicit,e=R();return z(Mp(e.focusManager,d))});K()}a&2&&(a=b.$implicit,G("row",a),Af("data-type",a.type))},Hpb=function(a,b){a&1&&(M(0),L(1,"b-issues-table",1),N());a&2&&(a=
b.ngIf,b=R(),A(1),G("issueIds",a)("tableColumns",b.tableColumns)("filters",b.filters)("issueUrlFactory",b.editIssueDependencies)("menuItemFactory",b.getMenuItems))},Ipb=function(a,b){a&1&&(H(0,"span",10),T(1),K());a&2&&(a=b.ngIf,Xf("title","",a," applied filter(s)"),A(1),$f(a))},Jpb=function(a){a&1&&(M(0),F(1,Ipb,2,2,"span",9),W(2,"async"),N());a&2&&(a=R(),A(1),G("ngIf",X(2,1,a.internalSelectedOptions.size$)))},Kpb=function(a){a&1&&(H(0,"h1",11),T(1),K());a&2&&(a=R(),A(1),$f(a.overlayTitle))},Lpb=
function(a){a&1&&(H(0,"h1"),T(1),K());a&2&&(a=R().$implicit,A(1),$f(a.title))},Mpb=function(a){a&1&&(H(0,"p"),T(1),K());a&2&&(a=R().$implicit,A(1),$f(a.description))},Npb=function(a,b){if(a&1){var c=v();H(0,"div",12)(1,"div",13)(2,"mat-checkbox",14);Q("change",function(d){var e=x(c).$implicit,f=R();e=e.key;d.checked?f.internalSelectedOptions.add(e):f.internalSelectedOptions.delete(e);f.onChange.emit(new Set(f.internalSelectedOptions));return z()});W(3,"async");K();H(4,"div");F(5,Lpb,2,1,"h1",3)(6,
Mpb,2,1,"p",3);K()()()}a&2&&(a=b.$implicit,b=R(),A(2),G("checked",X(3,3,Lp(b.internalSelectedOptions,a.key))),A(3),G("ngIf",a.title),A(1),G("ngIf",a.description))},Opb=function(a){if(a&1){var b=v();M(0);L(1,"mat-divider");H(2,"div",15)(3,"button",16);Q("click",function(){x(b);var c=R(),d=S(1);return z(c.cancel(d))});T(4);K();H(5,"button",17);Q("click",function(){x(b);var c=R(),d=S(1);return z(c.confirm(d))});T(6);K()();N()}a&2&&(a=R(),A(4),$f(a.cancelButtonLabel),A(2),$f(a.confirmButtonLabel))},Ppb=
function(a){a&1&&L(0,"b-spinner")},Qpb=function(a){a&1&&Rf(0)},Rpb=function(a){a&1&&(M(0),F(1,Qpb,1,0,"ng-container",24),N());if(a&2){R(2);var b=S(12);A(1);G("ngTemplateOutlet",b)}},Spb=function(a){a&1&&(L(0,"b-parents-table",25),W(1,"async"),W(2,"async"));if(a&2){a=R().ngIf;var b=R();G("issueId",a)("parentIds",X(1,3,b.parentIds$))("filters",X(2,5,b.issueFilters.value$))}},Tpb=function(a){a&1&&Rf(0)},Vpb=function(a){a&1&&(M(0),F(1,Tpb,1,0,"ng-container",26),W(2,"async"),N());if(a&2){a=R(2);var b=
S(10);A(1);G("ngTemplateOutlet",b)("ngTemplateOutletContext",fg(4,Upb,X(2,2,null==a.parentsTable?null:a.parentsTable.hiddenRowCount$)))}},Wpb=function(a){a&1&&Rf(0)},Xpb=function(a){a&1&&(H(0,"div")(1,"span",27),T(2,"This issue has no parents"),K(),F(3,Wpb,1,0,"ng-container",24),K());if(a&2){R(2);var b=S(12);A(3);G("ngTemplateOutlet",b)}},Ypb=function(a){a&1&&Rf(0)},Zpb=function(a){a&1&&(M(0),F(1,Ypb,1,0,"ng-container",24),N());if(a&2){R(2);var b=S(14);A(1);G("ngTemplateOutlet",b)}},$pb=function(a){a&
1&&(H(0,"div",28)(1,"section",29)(2,"div",30),T(3," Progress: "),K(),H(4,"div",30),T(5),W(6,"number"),W(7,"async"),W(8,"number"),W(9,"async"),K(),H(10,"div",31),W(11,"async"),H(12,"div",32)(13,"div",33),W(14,"async"),K(),H(15,"onedev-hovercard",null,34)(17,"div",35)(18,"div",36),T(19),W(20,"async"),K()()()()(),L(21,"mat-icon",37),H(22,"onedev-hovercard",null,38)(24,"div",35)(25,"div",39)(26,"p"),T(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. "),
K()()()()()());if(a&2){var b=S(16),c=S(23);a=R(2);A(5);ag(" ",ig(6,8,X(7,11,a.totalDaysComplete$),"1.0-2")," of ",ig(8,13,X(9,16,a.totalDaysCount$),"1.0-2")," days complete ");A(5);Cf("aria-label","",X(11,18,a.totalDaysDisplayPercent$)," Percentage of effort completed");A(2);G("onedevHovercardTrigger",b);A(1);If("width",X(14,20,a.totalDaysDisplayPercent$),"%");A(6);V(" ",X(20,22,a.progressHovercardContent$)," ");A(2);G("onedevHovercardTrigger",c)}},aqb=function(a){a&1&&L(0,"rollups-project",40);a&
2&&(a=R().ngIf,G("id",a))},bqb=function(a){a&1&&Rf(0)},cqb=function(a){a&1&&(M(0),F(1,bqb,1,0,"ng-container",26),W(2,"async"),N());if(a&2){a=R(2);var b=S(10);A(1);G("ngTemplateOutlet",b)("ngTemplateOutletContext",fg(4,Upb,X(2,2,null==a.relationsTable?null:a.relationsTable.hiddenRowCount$)))}},dqb=function(a){a&1&&Rf(0)},eqb=function(a){a&1&&(M(0),H(1,"span",27),T(2,"This issue has no children"),K(),F(3,dqb,1,0,"ng-container",24),N());if(a&2){R(3);var b=S(14);A(3);G("ngTemplateOutlet",b)}},fqb=function(a){a&
1&&(M(0),F(1,eqb,4,1,"ng-container",1),W(2,"async"),W(3,"async"),N());if(a&2){a=R(2);var b;A(1);G("ngIf",0===X(2,1,a.unarchivedChildIssueCount$)&&0===((null==(b=X(3,3,null==a.relationsTable?null:a.relationsTable.rows$))?null:b.length)||0))}},gqb=function(a,b){if(a&1){var c=v();H(0,"div",9)(1,"section",10)(2,"div",11)(3,"h4",12)(4,"div",13);L(5,"mat-icon",14);K();T(6);W(7,"async");K();F(8,Rpb,2,1,"ng-container",1);W(9,"async");K();F(10,Spb,3,7,"b-parents-table",15);W(11,"async");F(12,Vpb,3,6,"ng-container",
1);W(13,"async");F(14,Xpb,4,1,"ng-template",null,16,tg);K();H(16,"section")(17,"b-blockers-table",17);Q("shouldResetFilters",function(){x(c);var h=R();return z(h.shouldResetFilters())});W(18,"async");K()();H(19,"section")(20,"div",18)(21,"h4",12)(22,"div",19);L(23,"mat-icon",20);K();T(24);W(25,"async");K();F(26,Zpb,2,1,"ng-container",1);W(27,"async");W(28,"async");K();F(29,$pb,28,24,"div",21);W(30,"async");W(31,"async");F(32,aqb,1,1,"rollups-project",22);L(33,"b-issue-relations-table",23);W(34,"async");
W(35,"async");W(36,"async");F(37,cqb,3,6,"ng-container",1);W(38,"async");F(39,fqb,4,5,"ng-container",1);W(40,"async");K()()}if(a&2){a=b.ngIf;var d=S(15);b=R();var e,f;A(6);V(" Parents ",X(7,17,b.counts.countParentsDisplay$)," ");A(2);G("ngIf",X(9,19,b.parentsCount$));A(2);G("ngIf",X(11,21,b.parentsCount$))("ngIfElse",d);A(2);G("ngIf",X(13,23,b.issueFilters.value$));A(5);G("filters",X(18,25,b.issueFilters.value$));A(7);V(" Child issues ",X(25,27,b.counts.countChildrenDisplay$)," ");A(2);G("ngIf",X(27,
29,b.unarchivedChildIssueCount$)||0<((null==(e=X(28,31,null==b.relationsTable?null:b.relationsTable.rows$))?null:e.length)||0));A(3);G("ngIf",b.isTotalEstimatesEnabled&&X(30,33,b.unarchivedChildIssueCount$)&&X(31,35,b.totalDaysCount$));A(3);G("ngIf",b.isInternalSession&&b.enableRollupStatsUi);A(1);Jf("hidden",!(null==(f=X(34,37,null==b.relationsTable?null:b.relationsTable.rows$))?0:f.length)&&!X(35,39,null==b.relationsTable?null:b.relationsTable.hiddenRowCount$));Xf("saveExpansionAtKey","project-expansion-",
a,"");G("rootIssueId",a)("filters",X(36,41,b.issueFilters.value$));A(4);G("ngIf",X(38,43,b.issueFilters.value$));A(2);G("ngIf",null!==X(40,45,b.unarchivedChildIssueCount$))}},hqb=function(a){if(a&1){var b=v();H(0,"p",27);T(1);H(2,"button",42);Q("click",function(){x(b);var c=R(2);return z(c.issueFilters.reset([]))});T(3,"Show all");K()()}a&2&&(a=R().filteredCount,A(1),ag(" Filtering ",a," issue",1===a?"":"s",". "))},iqb=function(a,b){a&1&&F(0,hqb,4,2,"p",41);a&2&&G("ngIf",b.filteredCount)},kqb=function(a){if(a&
1){var b=v();H(0,"b-button",43);Q("onAction",function(){x(b);var c=R();return z(jqb(c))});W(1,"async");T(2," Add parent ");K()}a&2&&(a=R(),G("disabled",!X(1,1,a.canEdit$)))},lqb=function(a){if(a&1){var b=v();H(0,"b-button",46);Q("onAction",function(){x(b);var c=R(2);return z(c.createChild())});W(1,"async");T(2," Create new child ");K()}a&2&&(a=R(2),G("disabled",!X(1,1,a.canEdit$)))},mqb=function(a){if(a&1){var b=v();F(0,lqb,3,3,"b-button",44);H(1,"b-button",45);Q("onAction",function(){x(b);var c=
R();return z(c.addChild())});W(2,"async");T(3," Add existing child ");K()}a&2&&(a=R(),G("ngIf",a.isNonPublicSession),A(1),G("disabled",!X(2,2,a.canEdit$)))},nqb=function(a,b){return(0,E.combineLatest)([a,b]).pipe(D(function(c){var d=l(c);c=d.next().value;d=d.next().value;return 0===d?0:Math.round(100*c/d*100)/100}))},oqb=function(a){return 1===a?a+" day":a+" days"},pqb=function(a){a&1&&(H(0,"a",3),T(1),K());a&2&&(a=R(),G("routerLink",a.searchPageUrl),A(1),V(" ",a.count," Issues "))},qqb=function(a,
b){a&1&&L(0,"avatar-bunch",4);a&2&&G("emails",b.$implicit)},rqb=function(a){a&1&&(M(0),H(1,"div",2),T(2),K(),N());if(a&2){a=R();var b;A(1);Jf("muted",!a.isNumeric(a.countDisplay)||0==a.countDisplay);A(1);$f(null!==(b=a.countDisplay)&&void 0!==b?b:"\u00a0")}},sqb=function(a){var b;return(null!=(b=a.getIssueDigestsList())?b:[]).map(Tza)},tqb=function(a){a&1&&(H(0,"div",3),L(1,"mat-icon",4),H(2,"span",5),T(3),W(4,"async"),K()());if(a&2){a=R();var b;A(3);V("",null==(b=X(4,1,a.issues$))?null:b.length,
" parent issues")}},uqb=function(a){a&1&&(H(0,"div",3),L(1,"mat-icon",6),H(2,"span",5),T(3),W(4,"async"),K()());if(a&2){a=R();var b;A(3);V("Blocked by ",null==(b=X(4,1,a.issues$))?null:b.length," issues")}},vqb=function(a,b){a&1&&(H(0,"span"),T(1),K());a&2&&(a=b.$implicit,b=R(4),Mf("chippy status-",a," margin-s-left"),A(1),V(" ",b.STATUS_JS_TERSE[a]," "))},wqb=function(a){a&1&&(M(0),H(1,"a",8)(2,"div",9)(3,"div",10)(4,"div",11),T(5),K(),H(6,"div",12),T(7),K()(),H(8,"div",10)(9,"div",13),T(10),K(),
F(11,vqb,2,4,"span",14),K()()(),N());if(a&2){var b=R();a=b.$implicit;b=b.last;var c=R(2);A(1);Xf("routerLink","/issues/",a.issueId,"");A(1);Jf("border-bottom",!b);A(3);$f(a.issueId);A(2);$f(a.snapshot[0].title);A(2);G("ngClass",c.priorityClass(a.snapshot[0].priority));A(1);$f(a.snapshot[0].priority);A(1);G("ngIf",a.snapshot[0].status)}},xqb=function(a,b){a&1&&(M(0),F(1,wqb,12,8,"ng-container",2),N());a&2&&(a=b.index,A(1),G("ngIf",5>a))},zqb=function(a){if(a&1){var b=v();M(0);H(1,"div",15)(2,"button",
16);Q("click",function(){x(b);var c=R(2);return z(yqb(c))});T(3,"View all parent issues");K()();N()}},Aqb=function(a){if(a&1){var b=v();M(0);H(1,"div",15)(2,"button",16);Q("click",function(){x(b);var c=R(2),d;null==(d=c.hovercardInstance)||d.closeHovercard$.next();Ns(c.router,"/issues/"+c.currentIssueId+"/dependencies");return z()});T(3,"View all blockers");K()();N()}},Bqb=function(a,b){a&1&&(H(0,"div"),F(1,xqb,2,1,"ng-container",7)(2,zqb,4,0,"ng-container",2)(3,Aqb,4,0,"ng-container",2),K());a&2&&
(a=b.$implicit,b=R(),A(1),G("ngForOf",a),A(1),G("ngIf",5<a.length&&b.mode===b.ListIssuesHovercardMode.PARENT_ISSUES),A(1),G("ngIf",5<a.length&&b.mode===b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES))},Cqb=function(a){a&1&&L(0,"mat-icon",7)},Dqb=function(a){a&1&&(M(0),L(1,"b-list-issues-card",8,9),N());if(a&2){var b=S(2);R();var c=S(5);a=R();A(1);G("onedevIsHovercardReady",b.init)("hovercardInstance",c)("currentIssueId",a.issueId)("issueIds",a.multiParentIssueIds)("mode",a.ListIssuesHovercardMode.PARENT_ISSUES)}},
Eqb=function(a){a&1&&(M(0),H(1,"a",3),T(2),K(),F(3,Cqb,1,0,"mat-icon",4),H(4,"onedev-hovercard",null,5),F(6,Dqb,3,5,"ng-container",6),K(),N());if(a&2){var b=S(5);a=R();A(1);Xf("title","",a.multiParentIssueIds.length," parents at this position");G("onedevHovercardTrigger",b);A(1);V("",a.multiParentIssueIds.length," Parents\u2026");A(1);G("ngIf",1<a.multiParentIssueIds.length)}},Fqb=function(a,b){a&1&&(M(0),H(1,"b-issue-reference-widget",10),T(2),K(),L(3,"mat-icon",7),N());if(a&2){a=b.$implicit;b=b.last;
var c=R();A(1);G("href",c.getIssueLink(a))("issueId",a);A(1);c.issueIdToTitle.has(a)?(a=c.issueIdToTitle.get(a),a=eEa(a)):a=String(a);$f(a);A(1);Jf("last",b)}},Gqb=function(a){if(a&1){var b=v();H(0,"b-star-toggle",9);Q("starClicked",function(){x(b);var c=R(2);return z(c.starClicked.emit())});W(1,"async");W(2,"async");K()}a&2&&(a=R(2),G("starMessage","Star this hotlist")("unStarMessage","Un-star this hotlist")("acceptInput",!X(1,4,Lp(a.isSavingStar,a.hotlist.hotlistId)))("starred",X(2,6,Lp(a.starredHotlists,
a.hotlist.hotlistId))))},Hqb=function(a){a&1&&(H(0,"p",10),T(1),K());a&2&&(a=R(2),A(1),V(" ",a.hotlist.description," "))},Iqb=function(a){a&1&&(H(0,"div",1)(1,"div",2)(2,"label",3),T(3),K(),H(4,"span",4),F(5,Gqb,3,8,"b-star-toggle",5),H(6,"a",6),Q("click",function(b){return b.stopPropagation()})("keydown.enter",function(b){return b.stopPropagation()}),L(7,"mat-icon",7),K()()(),F(8,Hqb,2,1,"p",8),K());a&2&&(a=R(),A(3),V(" ",a.hotlist.name," "),A(2),G("ngIf",a.shouldShowStar(a.hotlist)),A(1),G("routerLink",
a.paths.viewHotlist(a.hotlist.hotlistId)),A(2),G("ngIf",!a.isCompact&&a.hotlist.description))},Jqb=function(a){a&1&&Rf(0)},Kqb=function(a){a&1&&(M(0),F(1,Jqb,1,0,"ng-container",6),N());if(a&2){R();var b=S(12);A(1);G("ngTemplateOutlet",b)}},Lqb=function(a){a&1&&Rf(0)},Mqb=function(a){a&1&&(M(0),F(1,Lqb,1,0,"ng-container",6),N());if(a&2){R();var b=S(6);A(1);G("ngTemplateOutlet",b)}},Pqb=function(a){if(a&1){var b=v();H(0,"button",7);Q("click",function(){x(b);var c=R();return z(Nqb(c))});T(1," Create ");
K()}a&2&&(a=R(),G("disabled",!(0<Oqb(a).length)))},Qqb=function(a){if(a&1){var b=v();H(0,"button",8);Q("click",function(){x(b);var c=R();return z(Os(c))});T(1);K()}a&2&&(a=R(),G("mat-dialog-close",!0)("matTooltip",a.saveBtnTooltip)("disabled",a.pristine),Af("aria-label",a.saveBtnTooltip),A(1),V(" ",a.saveBtnLabel," "))},Sqb=function(a){if(a&1){var b=v();H(0,"button",19);Q("click",function(){x(b);var c=R(2),d=fi(c.query$.value);c.allHotlistIds.has(d)?(c.selectedHotlistIds.add(d),Os(c)):Rqb(c,d);return z()});
T(1);W(2,"async");H(3,"span",20);T(4,"(add hotlist by ID)");K()()}a&2&&(a=R(2),A(1),V(" ",X(2,1,a.query$)," "))},Tqb=function(a){if(a&1){var b=v();H(0,"button",21);Q("click",function(){x(b);R(2).showCreateNewPane=!0;return z()});T(1);W(2,"async");H(3,"span",20);T(4,"(create new)");K()()}a&2&&(a=R(2),A(1),V(" ",X(2,1,a.query$)," "))},Uqb=function(a,b){if(a&1){var c=v();M(0);H(1,"div",25,26);W(3,"async");H(4,"mat-list-option",27);Q("focus",function(){x(c);var f=S(2);return z(f.show())})("blur",function(){x(c);
var f=S(2);return z(f.hide())});W(5,"async");H(6,"hotlist-matlist-option",28);Q("starClicked",function(){var f=x(c).$implicit,h=R(3);return z(h.toggleStar(f.hotlistId))});K()()();N()}if(a&2){a=b.$implicit;b=R(3);var d,e;A(1);G("matTooltip",!1===(null==(d=X(3,10,a.permissions$))?null:d.appender)?b.NO_ACCESS_MESSAGE:"");A(3);If("height","auto");G("selected",b.selectedHotlistIds.has(a.hotlistId))("disabled",!1===(null==(e=X(5,12,a.permissions$))?null:e.appender))("value",a.hotlistId);A(2);G("hotlist",
a)("isCompact",!1)("starredHotlists",b.starredHotlists)("isSavingStar",b.isSavingStar)}},Vqb=function(a){if(a&1){var b=v();M(0);H(1,"div",29)(2,"span",20);T(3," The number of hotlists is too large to show at once. ");K();H(4,"button",30);Q("click",function(){x(b);var c=R(3);return z(c.forceShowOverflow$.next(!0))});T(5," Show all anyway ");K()();N()}},Wqb=function(a,b){if(a&1){var c=v();M(0);H(1,"mat-selection-list",22,23);Q("selectionChange",function(d){x(c);var e=R(2);return z(e.onChangeMatList(d))});
F(3,Uqb,7,14,"ng-container",24);K();F(4,Vqb,6,0,"ng-container",18);W(5,"async");N()}a&2&&(a=b.$implicit,b=R(2),A(3),G("ngForOf",a)("ngForTrackBy",b.trackByHotlistId),A(1),G("ngIf",X(5,3,b.isOverflowMode$)))},Xqb=function(a){if(a&1){var b=v();H(0,"header",9)(1,"h2");T(2,"Search for Hotlists");K();H(3,"div",10);L(4,"mat-icon",11);H(5,"input",12,13);Q("input",function(){x(b);var c=S(6);R().query$.next(c.value);return z()});K()()();H(7,"section",14,15);F(9,Sqb,5,3,"button",16);W(10,"async");F(11,Tqb,
5,3,"button",17);W(12,"async");F(13,Wqb,6,5,"ng-container",18);W(14,"async");K()}a&2&&(a=R(),A(9),G("ngIf",X(10,3,a.showLoadById$)),A(2),G("ngIf",X(12,5,a.showCreateNew$)),A(2),G("ngIf",X(14,7,a.visibleHotlists$)))},Yqb=function(a){a&1&&(H(0,"header",9)(1,"h2"),T(2,"Create new hotlist"),K()(),H(3,"section",31)(4,"div",32)(5,"form",33)(6,"label",34),T(7,"Name"),K(),L(8,"input",35),H(9,"label",36),T(10,"Description"),K(),L(11,"textarea",37),H(12,"p",20),T(13," Note: Access controls can be adjusted after the hotlist is created. "),
K()()()());a&2&&(a=R(),A(5),G("formGroup",a.hotlistUnderEdit))},Zqb=function(a,b){return a.name.localeCompare(b.name)},$qb=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)},arb=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)"]},crb=function(a,b){if(a&1){var c=v();H(0,"button",1);Q("click",function(){x(c);var d=R();return z(brb(d))});W(1,"async");T(2);K()}a&2&&(a=b.ngIf,b=R(),G("disabled",b.disabled||b.fridge.isSaving(b.internalIssueId)||!1===X(1,3,b.canEdit$))("title",a.isDupe?b.TOOLTIP_UNMARK_DUPE:b.TOOLTIP_MARK_DUPE),A(2),V(" ",a.isDupe?"Unmark Duplicate":"Mark as Duplicate"," "))},drb=function(a){a&1&&Rf(0)},erb=function(a){a&
1&&(M(0),F(1,drb,1,0,"ng-container",5),N());a&2&&(a=R(),A(1),G("ngTemplateOutlet",a.content))},frb=function(a,b){if(a&1){var c=v();H(0,"button",13);Q("click",function(e){var f=x(c).$implicit;return z(f.action(e))});L(1,"mat-icon",14);T(2);K()}if(a&2){a=b.$implicit;var d;G("disabled",a.disabled)("title",a.title);Af("aria-label",a.title);A(1);G("svgIcon",null!==(d=a.icon)&&void 0!==d?d:"");A(1);V(" ",a.label," ")}},grb=function(a){if(a&1){var b=v();M(0);H(1,"button",15);Q("click",function(d){x(b);var e=
R(2);d.stopPropagation();d.preventDefault();var f;null==(f=e.helpHover)||f.toggle();return z()});L(2,"mat-icon",16);T(3," Retention: ");L(4,"retention-text",17);T(5," \u00a0 ");L(6,"help-hover",18);K();N()}if(a&2){a=R().ngIf;var c=S(14);A(4);G("retentionState",a.retentionState);A(2);G("content",c)}},hrb=function(a){a&1&&(M(0),L(1,"retention-help-text",19),N());a&2&&(a=R(2).ngIf,A(1),G("retentionState",a.retentionState)("modifiedTime",a.modifiedTimeMilliseconds))},irb=function(a){a&1&&F(0,hrb,2,2,
"ng-container",0);a&2&&(a=R().ngIf,G("ngIf",a.retentionState&&a.modifiedTimeMilliseconds))},jrb=function(a,b){if(a&1){var c=v();M(0);L(1,"b-app-vote-button",1)(2,"hotlist-picker-btn",2);H(3,"smart-dupe-btn",3,4);Q("onHotkey",function(){x(c);var e=S(4);return z(brb(e))});K();H(5,"b-notification-menu",5);Q("subscriptionChange",function(e){x(c);var f=R();return z(f.updateSubscription(e))})("showNotificationSettings",function(e){x(c);var f=R();return z(f.showNotificationSettings(e))});K();L(6,"insights-graph-menu-smart",
6);H(7,"button",7);L(8,"mat-icon",8);K();H(9,"mat-menu",9,10);F(11,frb,3,5,"button",11)(12,grb,7,2,"ng-container",0);K();F(13,irb,1,1,"ng-template",null,12,tg);N()}if(a&2){a=b.ngIf;var d=S(10);b=R();A(1);G("issueId",a.issueId)("voteCount",a.voteCount)("upvoted",a.voted);A(1);G("issueId",a.issueId);A(1);G("issueId",a.issueId)("hotkey",b.HOTKEYS.TOGGLE_MARK_AS_DUPLICATE);A(2);G("subscription",a.notificationSubscription)("issueId",a.issueId)("iconOnly",!0);A(1);G("iconOnly",!0);A(1);G("matMenuTriggerFor",
d);A(4);G("ngForOf",a.menuItems);A(1);G("ngIf",b.retentionEnabled)}},krb=function(a){a&1&&(H(0,"h3",4,5),T(2),K());a&2&&(a=R(),Af("title",a.isLongTitle?a.titlePlain:""),A(2),V(" ",a.titleTruncated," "))},mrb=function(a){if(a&1){var b=v();H(0,"mat-form-field")(1,"input",6,7);Q("keyup",function(c){x(b);var d=R();return z(lrb(d,c))})("blur",function(){x(b);var c=R();return z(c.bannedWordsChecker.showWarning()?"":lrb(c))});K()()}a&2&&(a=R(),If("width",a.editModeWidth,"px"),Jf("banned-words-warning",a.bannedWordsChecker.showWarning()),
A(1),G("value",a.titlePlain))},orb=function(a){if(a&1){var b=v();H(0,"button",8);Q("click",function(){x(b);var c=R();return z(c.isEditMode?lrb(c):nrb(c))});L(1,"mat-icon",9);K()}a&2&&(a=R(),G("disabled",a.disabled))},prb=function(a){a&1&&(H(0,"p",10),T(1),H(2,"a",11),T(3," Learn more "),K()());a&2&&(a=R(),A(1),V(" ",Vp(a.bannedWordsChecker)," is restricted. Press 'Esc' to cancel or 'Enter' to skip check and save title. "))},qrb=function(){},rrb=function(a){a&1&&(H(0,"output"),T(1),W(2,"async"),K());
if(a&2){a=R().ngIf;var b=R();A(1);ag(" ",a," of ",X(2,2,b.currentSearchResults.totalText$)," ")}},vrb=function(a,b){if(a&1){var c=v();M(0);F(1,rrb,3,4,"output",0);H(2,"span",1)(3,"button",2);Q("onHotkey",function(){x(c);var d=R();return z(srb(d.currentSearchResults))})("click",function(){x(c);var d=R();return z(srb(d.currentSearchResults))});W(4,"async");L(5,"mat-icon",3);K();H(6,"button",4);Q("onHotkey",function(){x(c);var d=R();return z(trb(d.currentSearchResults))})("click",function(){x(c);var d=
R();return z(trb(d.currentSearchResults))});W(7,"async");L(8,"mat-icon",5);K()();N()}a&2&&(a=b.ngIf,b=R(),A(1),G("ngIf",-1!==a),A(1),G("ngClass",fg(10,urb,-1===a)),A(1),G("hotkey",b.HOTKEYS.GO_TO_PREVIOUS_ISSUE)("disabled",!X(4,6,b.currentSearchResults.hasPreviousIssue$)),A(3),G("hotkey",b.HOTKEYS.GO_TO_NEXT_ISSUE)("disabled",!X(7,8,b.currentSearchResults.hasNextIssue$)))},wrb=function(a){a&1&&L(0,"b-issue-visibility-chip",5);a&2&&(a=R(3).$implicit,G("issueId",a.issueId))},xrb=function(a){a&1&&F(0,
wrb,1,1,"b-issue-visibility-chip",5);a&2&&(a=R(2).$implicit,Nf(0,a.hasAccessIndicator?0:-1))},yrb=function(a){a&1&&L(0,"b-component-access-level-indicator",6);a&2&&(a=R(2).$implicit,G("accessLevel",a.accessLevel))},zrb=function(a){a&1&&L(0,"b-access-limits-chip",7);a&2&&(a=R(2).$implicit,G("issueId",a.issueId)("componentId",a.componentId)("accessLimitLevel",a.issueAccessLimitLevel))},Arb=function(a){a&1&&L(0,"b-retention-chip",8);a&2&&(a=R(2).$implicit,G("retentionState",a.retentionState)("compactMode",
!1)("modifiedTime",a.modifiedTime))},Brb=function(a){a&1&&(H(0,"div",2),F(1,xrb,1,1)(2,yrb,1,1)(3,zrb,1,3,"b-access-limits-chip",3)(4,Arb,1,3,"b-retention-chip",4),K());if(a&2){a=R().$implicit;var b=R();A(1);Nf(1,b.enableNewVisibilityChips?1:a.isShowingPublicPartner?2:-1);A(2);G("ngIf",a.isAccessLimited);A(1);G("ngIf",a.isShowingRetention)}},Crb=function(a,b){a&1&&(M(0),F(1,Brb,5,3,"div",1),N());a&2&&(a=b.$implicit,A(1),G("ngIf",a.isShowingPublicPartner||a.isShowingRetention||a.isAccessLimited))},
Drb=function(a){a&1&&(H(0,"div",4),L(1,"mat-icon",5),T(2),W(3,"async"),K());if(a&2){a=R();var b=S(4);G("onedevHovercardTrigger",b);A(2);V("",X(3,2,a.teamName$)," ")}},Erb=function(a){a&1&&Rf(0)},Frb=function(a){a&1&&(M(0),F(1,Erb,1,0,"ng-container",23),N());if(a&2){R();var b=S(12);A(1);G("ngTemplateOutlet",b)}},Grb=function(a,b){a&1&&L(0,"ancestors-breadcrumbs",30);a&2&&(a=b.ngIf,b=R(3),G("ancestors",a)("issueId",b.issueId))},Hrb=function(a){a&1&&(M(0),L(1,"b-component-breadcrumb-chip",26),W(2,"async"),
H(3,"div",27),F(4,Grb,1,2,"ancestors-breadcrumbs",28),W(5,"async"),L(6,"b-issue-id-picker",29),W(7,"async"),W(8,"async"),W(9,"async"),K(),N());a&2&&(a=R(2),A(1),G("componentId",X(2,8,a.componentId$))("compactMode",!0)("issueId",a.issueId),A(3),G("ngIf",X(5,10,a.ancestors$)),A(2),G("issueId",a.issueId)("componentId",X(7,12,a.componentId$))("issueTitle",X(8,14,a.issueTitle$))("isExternalIssue",!!X(9,16,a.isWithinExternalComponent$)))},Irb=function(a){if(a&1){var b=v();H(0,"b-team-chip",24);Q("onTeamLoaded",
function(){x(b);var c=R();return z(c.isTeamLoaded=!0)});W(1,"async");W(2,"async");K();F(3,Hrb,10,18,"ng-container",25)}a&2&&(a=R(),G("componentId",X(1,3,a.componentId$))("teamId",X(2,5,a.teamId$)),A(3),G("ngIf",a.isTeamLoaded))},Jrb=function(a){a&1&&(M(0),L(1,"b-component-breadcrumb-chip",31),W(2,"async"),H(3,"div",32),L(4,"b-issue-id-picker",33),W(5,"async"),W(6,"async"),W(7,"async"),K(),N());a&2&&(a=R(2),A(1),G("componentId",X(2,6,a.componentId$))("issueId",a.issueId),A(3),G("issueId",a.issueId)("componentId",
X(5,8,a.componentId$))("issueTitle",X(6,10,a.issueTitle$))("isExternalIssue",!!X(7,12,a.isWithinExternalComponent$)))},Krb=function(a){if(a&1){var b=v();H(0,"b-team-chip",24);Q("onTeamLoaded",function(){x(b);var c=R();return z(c.isTeamLoaded=!0)});W(1,"async");W(2,"async");K();F(3,Jrb,8,14,"ng-container",25)}a&2&&(a=R(),G("componentId",X(1,3,a.componentId$))("teamId",X(2,5,a.teamId$)),A(3),G("ngIf",a.isTeamLoaded))},Lrb=function(a){a&1&&(M(0),T(1),N());a&2&&(a=R().$implicit,A(1),V(" ",a," "))},Mrb=
function(a,b){a&1&&(H(0,"div",34),L(1,"mat-icon",35),F(2,Lrb,2,1,"ng-container",25),K());if(a&2){a=b.$implicit;R();var c=S(37);G("onedevHovercardTrigger",c);A(2);G("ngIf",2<=a)}},Nrb=function(a){a&1&&(M(0),L(1,"b-list-issues-card",36,37),W(3,"async"),N());if(a&2){var b=S(2);a=R();var c=S(37);A(1);G("onedevIsHovercardReady",b.init)("hovercardInstance",c)("currentIssueId",a.issueId)("issueIds",X(3,5,a.blockedByids$))("mode",a.ListIssuesHovercardMode.BLOCKED_BY_ISSUES)}},Orb=function(a){return 1===a?
"Blocked":"Blocked by "+a+" issues"},Prb=function(a){if(0!==a.length)return 1===a.length?Ps.ISSUE(a[0]):Ps.ISSUE_LIST},Qrb=function(a){a&1&&(M(0),H(1,"div",1)(2,"span",2),T(3," Warning: Issue is not fully migrated ("),H(4,"a",3),T(5,"go/b-partially-migrated-data"),K(),T(6,") "),K()(),N())},Rrb=function(a,b){a&1&&(H(0,"div",1),L(1,"img",2),H(2,"h3"),T(3),K(),H(4,"a",3),W(5,"async"),T(6),K()());a&2&&(a=b.$implicit,b=R(),A(1),G("src",null==a.branding?null:a.branding.logoUrl,Wd),A(2),V("This issue is a part of the ",
a.name," tracker."),A(1),G("href",X(5,4,b.trackerRedirectUrl$),Wd),A(2),V(" View in ",a.name," Tracker "))},Srb=function(a){a&1&&(H(0,"div")(1,"ol")(2,"li")(3,"label"),T(4,"Issue ID"),K(),H(5,"output"),T(6),K()(),H(7,"li")(8,"label"),T(9,"Type"),K(),H(10,"output"),T(11),K()(),H(12,"li")(13,"label"),T(14,"Status"),K(),H(15,"output"),T(16),K()()()());a&2&&(a=R(2),A(6),$f(a.issueId),A(5),$f(a.issueType),A(5),$f(a.issueStatus))},Trb=function(a){a&1&&(H(0,"div",1)(1,"div",2),L(2,"img",3),W(3,"async"),
L(4,"mat-icon",4)(5,"img",3),W(6,"async"),K(),H(7,"h3",5),T(8),W(9,"async"),K(),F(10,Srb,17,3,"div",6),H(11,"div",7)(12,"a",8),W(13,"async"),T(14,"Continue"),K()()());a&2&&(a=R(),A(2),G("src",X(3,5,a.currentTrackerLogo$),Wd),A(3),G("src",X(6,7,a.trackerLogo$),Wd),A(3),V(" Redirecting to ",X(9,9,a.trackerName$)," "),A(2),G("ngIf",null!=a.issue),A(2),G("href",X(13,11,a.trackerRedirectUrl$),Wd))},Urb=function(a,b){if(a instanceof Element){var c=fl(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)}}},Vrb=function(a,b){a&1&&(H(0,"h2",6),T(1),K());a&2&&(a=b.ngIf,A(1),V("Issue ",a,""))},Wrb=function(a){a&1&&Rf(0,10);if(a&2){R(2);var b=S(11);G("ngTemplateOutlet",b)}},Yrb=function(a){a&1&&Rf(0,12);if(a&2){a=R(2).ngIf;R();var b=S(9);G("ngTemplateOutlet",b)("ngTemplateOutletContext",fg(2,Xrb,a.monorailRedirectUrl))}},Zrb=function(a){a&1&&(M(0),F(1,Yrb,1,4,
"ng-container",11),N());a&2&&(a=R().ngIf,A(1),G("ngIf",a.monorailRedirectUrl))},$rb=function(a,b){a&1&&(H(0,"div"),M(1,7),F(2,Wrb,1,1,"ng-container",8)(3,Zrb,2,1,"ng-container",9),N(),K());a&2&&(a=b.ngIf,A(1),G("ngSwitch",a.status),A(1),G("ngSwitchCase",403),A(1),G("ngSwitchCase",404))},asb=function(a){a&1&&(H(0,"a",25),T(1,"Learn more"),K())},bsb=function(a){if(a&1){var b=v();H(0,"button",26);Q("click",function(){var c=x(b).ngIf,d=R(4);return z(d.editIssueService.unarchive(c))});T(1," Unarchive ");
K()}},csb=function(a){a&1&&(H(0,"b-callout",22)(1,"b-callout-body"),T(2,"This issue has been archived. "),F(3,asb,2,0,"a",23),K(),H(4,"b-callout-actions"),F(5,bsb,2,0,"button",24),W(6,"async"),K()());a&2&&(a=R(3),G("messageType","caution")("format","app")("iconOverride","archive_24px"),A(3),G("ngIf",a.activeSession.isInternalSession()),A(2),G("ngIf",X(6,5,a.id$)))},dsb=function(a){a&1&&(H(0,"a",29),T(1,"Learn more"),K())},esb=function(a){a&1&&(H(0,"b-callout",27)(1,"b-callout-body"),T(2," This issue is in an archived component. "),
F(3,dsb,2,0,"a",28),K()());a&2&&(a=R(3),G("format","app")("iconOverride","archive_24px"),A(3),G("ngIf",a.activeSession.isInternalSession()))},fsb=function(a,b){a&1&&(M(0),T(1," Reason: "),H(2,"code"),T(3),K(),T(4,". "),N());a&2&&(a=b.$implicit,A(3),$f(a))},gsb=function(a){a&1&&(H(0,"a",34),T(1,"Learn more"),K())},isb=function(a){if(a&1){var b=v();H(0,"button",35);Q("click",function(){var d=x(b).ngIf,e=R(4);return z(hsb(e.editIssueService,d))});W(1,"async");W(2,"async");T(3," Undelete ");K()}if(a&
2){a=R(4);var c;G("matTooltip",null!==(c=X(1,2,a.undeleteButtonTooltip$))&&void 0!==c?c:"")("disabled",!X(2,4,a.permissions.canUndeleteIssue$))}},jsb=function(a){a&1&&(H(0,"b-callout",30)(1,"b-callout-body"),T(2," This issue has been deleted. "),F(3,fsb,5,1,"ng-container",31),W(4,"async"),F(5,gsb,2,0,"a",32),K(),H(6,"b-callout-actions"),F(7,isb,4,6,"button",33),W(8,"async"),K()());if(a&2){a=R(3);var b;A(3);G("ngIf",null==(b=X(4,3,a.snapshot$))?null:b.deletionReason);A(2);G("ngIf",a.activeSession.isInternalSession());
A(2);G("ngIf",X(8,5,a.id$))}},ksb=function(a,b){a&1&&(H(0,"output",44),T(1),K());a&2&&(a=b.$implicit,A(1),V(" ",a," "))},msb=function(a,b){a&1&&(H(0,"a",41,42),T(2),F(3,ksb,2,1,"output",43),W(4,"async"),K());if(a&2){a=b.$implicit;var c=S(1);G("routerLink",a.link)("active",c.isActive)("routerLinkActiveOptions",eg(7,lsb));A(2);V(" ",a.title," ");A(1);G("ngIf",X(4,5,a.count$))}},nsb=function(a,b){a&1&&(H(0,"header",36),L(1,"b-tracker-banner",37),W(2,"async"),W(3,"async"),L(4,"monorail-migration-warning")(5,
"issue-header",38),H(6,"nav",39),F(7,msb,5,8,"a",40),K()());a&2&&(a=b.$implicit,b=R(3),A(1),G("issueId",X(2,4,b.id$))("trackerId",X(3,6,b.issueTrackerId$)),A(4),G("issueId",a),A(2),G("ngForOf",b.tabs))},osb=function(a,b){a&1&&L(0,"issue-metadata-sidebar",38);a&2&&G("issueId",b.ngIf)},psb=function(a){a&1&&(H(0,"div",14),W(1,"async"),F(2,csb,7,7,"b-callout",15),W(3,"async"),F(4,esb,4,3,"b-callout",16),W(5,"async"),F(6,jsb,9,7,"b-callout",17),W(7,"async"),F(8,nsb,8,8,"header",18),W(9,"async"),H(10,"div",
19)(11,"article",20),L(12,"router-outlet"),K(),F(13,osb,1,1,"issue-metadata-sidebar",21),W(14,"async"),K()());a&2&&(a=R(2),Jf("issue-editor-false",!X(1,7,a.permissions.hasAclToEdit$)),A(2),G("ngIf",X(3,9,a.archived$)),A(2),G("ngIf",X(5,11,a.inArchivedComponent$)),A(2),G("ngIf",X(7,13,a.deleted$)),A(2),G("ngIf",X(9,15,a.id$)),A(5),G("ngIf",X(14,17,a.id$)))},qsb=function(a){a&1&&(F(0,psb,15,19,"div",13),W(1,"async"));if(a&2){a=R();var b=S(7);G("ngIf",!X(1,2,a.showTrackerRedirect$))("ngIfElse",b)}},
rsb=function(a){a&1&&(H(0,"div",45),L(1,"b-tracker-redirect",46),W(2,"async"),K());a&2&&(a=R(),A(1),G("issue",X(2,1,a.issue$)))},ssb=function(a,b){a&1&&(H(0,"h3"),T(1," Redirecting to "),H(2,"a",47),T(3),K()());a&2&&(a=b.monorailRedirectUrl,A(2),G("href",a,Wd),A(1),V(" ",a," "))},tsb=function(a){a&1&&(L(0,"b-access-denied-metadata",50),W(1,"async"));a&2&&(a=R(2),G("issueMetadata",X(1,1,a.issueMetadata$)))},usb=function(a){a&1&&L(0,"b-access-denied-metadata",51)},vsb=function(a){a&1&&(H(0,"div",45),
F(1,tsb,2,3,"b-access-denied-metadata",48)(2,usb,1,0,"ng-template",null,49,tg),K());if(a&2){var b=S(3);a=R();A(1);G("ngIf",a.activeSession.isInternalSession())("ngIfElse",b)}},wsb=function(a,b){a&1&&(M(0),L(1,"b-issues-table",1),N());a&2&&(a=b.ngIf,b=R(),A(1),G("issueIds",a)("menuItemFactory",b.getMenuItems)("tableColumns",b.tableColumns)("initialSort",b.initialSort))},ysb=function(a){if(a&1){var b=v();H(0,"div",5);L(1,"img",6);H(2,"p",7);T(3," This issue has no duplicates ");K();H(4,"p",8);T(5," A duplicate is an issue with similar content. ");
K();H(6,"p",8);T(7,' Any issue added here will be closed as a duplicate of this one, making this the "canonical issue". ');H(8,"a",9);T(9,"Learn more");K()();H(10,"button",10);Q("click",function(){x(b);var c=R(2);return z(xsb(c))});T(11," Add ");K()()}a&2&&(a=R(2),A(1),G("src",a.ROBOT_SLEEPING,Wd))},zsb=function(a,b){a&1&&L(0,"b-duplicates-table",15);a&2&&(a=b.$implicit,b=R(2).$implicit,G("issueId",a)("duplicateIds",b))},Asb=function(a,b){a&1&&(M(0),H(1,"a",16),T(2," View as search results "),K(),
N());a&2&&(a=b.ngIf,A(1),G("routerLink",a.path)("queryParams",a.params))},Bsb=function(a){if(a&1){var b=v();H(0,"h4",11);T(1);W(2,"async");H(3,"button",12);Q("click",function(){x(b);var c=R(2);return z(xsb(c))});T(4," Add ");K()();F(5,zsb,1,2,"b-duplicates-table",13);W(6,"async");H(7,"aside",14);F(8,Asb,3,2,"ng-container",1);W(9,"async");K()}a&2&&(a=R(2),A(1),V("Duplicates ",X(2,3,a.counts.countDuplicateDisplay$)," "),A(4),G("ngIf",X(6,5,a.id$)),A(3),G("ngIf",X(9,7,a.dupeUrl$)))},Csb=function(a){a&
1&&(M(0),F(1,ysb,12,1,"div",3),W(2,"async"),F(3,Bsb,10,9,"ng-template",null,4,tg),N());if(a&2){var b=S(4);a=R();A(1);G("ngIf",!X(2,2,a.showTable$))("ngIfElse",b)}},Dsb=function(a){a&1&&(H(0,"aside",17),L(1,"b-spinner"),K())},Esb=function(a){a&1&&(H(0,"p",14),T(1),H(2,"a",15),T(3," Learn more "),K()());a&2&&(a=R(4),A(1),V(" Your comment contains restricted words: ",Vp(a.bannedWordsChecker),". Review your comment before posting. "))},Fsb=function(a){if(a&1){var b=v();H(0,"div",16)(1,"b-recaptcha",17);
Q("onUpdate",function(c){x(b);var d=R(4);return z(d.recaptchaResponse$.next(c))});K()()}},Hsb=function(a){if(a&1){var b=v();H(0,"span")(1,"mat-checkbox",18);Q("change",function(){x(b);var c=R(4);return z(Gsb(c))});W(2,"async");W(3,"async");T(4," CC Me ");K()()}a&2&&(a=R(4),A(1),G("checked",!!X(2,2,a.autoCcOnComment$))("disabled",!!X(3,4,a.isCurrentUserCCd$)))},Isb=function(a){a&1&&(H(0,"mat-checkbox",21),T(1," CC Me "),K());a&2&&G("checked",!0)("disabled",!0)},Jsb=function(a){a&1&&(H(0,"span",19),
F(1,Isb,2,2,"mat-checkbox",20),W(2,"async"),K());a&2&&(a=R(4),A(1),G("ngIf",X(2,1,a.isCurrentUserCCd$)))},Ksb=function(a){if(a&1){var b=v();H(0,"b-markdown-toggle",22);Q("change",function(c){x(b);var d=R().ngIf;return z(d.formattingMode=c)});K()}a&2&&(a=R().ngIf,G("initialValue",a.formattingMode))},Lsb=function(a){a&1&&(L(0,"b-access-limits-chip",23),W(1,"async"));a&2&&(a=R(4),G("issueId",a.issueId)("componentId",a.componentIdString)("accessLimitLevel",X(1,3,a.issueAccessLimitLevel$)))},Msb=function(a){a&
1&&L(0,"b-issue-visibility-chip",13);a&2&&(a=R(4),G("issueId",a.issueId))},Nsb=function(a){a&1&&(L(0,"b-component-access-level-indicator",24),W(1,"async"));a&2&&(a=R(4),G("accessLevel",X(1,1,a.accessLevel$)))},Psb=function(a,b){if(a&1){var c=v();M(0);H(1,"b-comment-box",3,4);Q("onHotkey",function(){x(c);var k=S(2);return z(Osb(k,"editpage-hotkey"))})("onChange",function(){x(c);var k=R(3);return z(k.saveCommentDraft())})("onFocusEvent",function(){x(c);var k=R(3);return z(k.wasFocused=!0)})("onSubmit",
function(k){x(c);var q=R(3);return z(q.submitCommentBox(k))})("onRestrict",function(){x(c);var k=R(3);return z(k.showNewContentJudgementDialog())})("onPlusOneTextEntered",function(k){x(c);var q=R(3);q.commentButtonStyle=q.isPlusOneCalloutEnabled()&&k?"hairline":"fill";return z()});W(3,"async");W(4,"async");W(5,"async");W(6,"async");F(7,Esb,4,1,"p",5)(8,Fsb,2,0,"div",6);W(9,"async");H(10,"div",7)(11,"b-button",8);Q("onAction",function(k){x(c);var q=R(3);return z(q.submitCommentBox(k))})("click",function(k){x(c);
var q=R(3);return z(q.submitCommentBox(k))});W(12,"async");T(13);K();H(14,"div",9);F(15,Hsb,5,6,"span",0);W(16,"async");W(17,"async");F(18,Jsb,3,3,"span",10);W(19,"async");W(20,"async");F(21,Ksb,1,1,"b-markdown-toggle",11);W(22,"async");Wf(23);F(24,Lsb,2,5,"b-access-limits-chip",12);W(25,"async");K();F(26,Msb,1,1,"b-issue-visibility-chip",13)(27,Nsb,2,3);K()();N()}if(a&2){a=b.ngIf;b=R(2).ngIf;var d=R(),e,f,h;A(1);G("hotkey",d.HOTKEYS.FOCUS_COMMENT_BOX)("supportsPreview",!0)("issueId",b.issueId)("comment",
a)("componentId",b.componentId)("placeholder",null!==(e=X(3,22,d.commentPlaceholderText$))&&void 0!==e?e:void 0)("judgementForNewContent",null!==(f=X(4,24,d.judgementForNewContent$))&&void 0!==f?f:void 0)("audience",null!==(h=X(5,26,d.audience$))&&void 0!==h?h:void 0)("disabled",!1===X(6,28,d.commentBoxEnabled$))("isPlusOneCalloutEnabled",d.isPlusOneCalloutEnabled())("warn",d.bannedWordsChecker.showWarning());A(6);G("ngIf",d.bannedWordsChecker.showWarning());A(1);G("ngIf",X(9,30,d.showRecaptcha$));
A(3);G("format",d.commentButtonStyle)("disabled",!1===X(12,32,d.commentButtonEnabled$))("color",d.bannedWordsChecker.showWarning()?"warn":"primary");A(2);V(" ",d.bannedWordsChecker.showWarning()?"Comment Anyway":"Comment"," ");A(2);G("ngIf",!X(16,34,d.isCurrentUserCCd$)&&X(17,36,d.hasAclToEdit$));A(3);G("ngIf",X(19,38,d.isCurrentUserCCd$)||!X(20,40,d.hasAclToEdit$));A(3);G("ngIf",X(22,42,d.hasAclToComment$));A(3);G("ngIf",X(25,44,d.isAccessLimited$));A(2);Nf(26,d.enableNewVisibilityChips?26:27)}},
Rsb=function(a){a&1&&(M(0),H(1,"h3",1),T(2,"Add comment"),K(),H(3,"div",2),W(4,"async"),F(5,Psb,28,46,"ng-container",0),W(6,"async"),K(),N());a&2&&(a=R(2),A(3),G("ngClass",gg(6,Qsb,X(4,2,a.empty$),!a.wasFocused)),A(2),G("ngIf",X(6,4,a.comment$)))},Ssb=function(a,b){a&1&&(M(0),F(1,Rsb,7,9,"ng-container",0),N());a&2&&(a=b.ngIf,A(1),G("ngIf",!a.isDeleted))},Tsb=function(a){if(a&1){var b=v();H(0,"div",2)(1,"div",3)(2,"div",4);Q("click",function(){x(b);R().isMinimized=!0;return z()});T(3);K();H(4,"div",
5)(5,"button",6);Q("click",function(){x(b);R().isMinimized=!0;return z()});L(6,"mat-icon",7);K();H(7,"button",8);Q("click",function(){x(b);var c=R();return z(c.close())});L(8,"mat-icon",9);K()()();H(9,"div",10)(10,"b-post-comment",11);Q("commentSubmitted",function(){x(b);var c=R();return z(c.close())});K()()()}a&2&&(a=R(),A(3),V(" Add comment for Issue ",a.issueId," "),A(7),G("issueId",a.issueId))},Usb=function(a){if(a&1){var b=v();H(0,"div",12);Q("click",function(){x(b);var c=R();return z(c.expand())});
H(1,"span",13);T(2,"Draft comment");K();H(3,"div")(4,"button",14);Q("click",function(){x(b);var c=R();return z(c.expand())});L(5,"mat-icon",15);K();H(6,"button",8);Q("click",function(){x(b);var c=R();return z(c.close())});L(7,"mat-icon",9);K()()()}},Vsb=function(a){a&1&&(H(0,"span"),T(1),K());a&2&&(a=R(),Jf("muted",a.isGreyedOut),A(1),V(" ",a.displayName,""))},Wsb=function(a){if(a&1){var b=v();H(0,"a",2);Q("click",function(c){x(b);var d=R();return z(d.handleClick(c))});T(1);K()}a&2&&(a=R(),G("href",
a.linkUrl,Wd)("rel",a.EXTERNAL_LINK_REL),A(1),V(" ",a.displayName,""))},Xsb=function(a){a&1&&L(0,"b-restricted-chip",10);a&2&&(a=R(),G("label",a.getRestrictedLabel())("retentionState",null==a.attachment?null:a.attachment.piiRetentionState)("contentType","attachment"))},Ysb=function(a){a&1&&(H(0,"span",11),L(1,"b-actions-menu",12),K());a&2&&(a=R(),A(1),G("menuItems",a.actionMenuItems)("buttonLabel","Attachment actions")("matTooltip","Attachment actions"))},btb=function(a){if(a&1){var b=v();H(0,"span")(1,
"b-conditional-link",13);Q("customHandler",function(){x(b);var c=R();c.isRestricted()?Zsb(c,!1):c.domSafe.openInNewTab($sb(c,!1));return z()});K()()}a&2&&(a=R(),Mf("bv2-issue-attachment-link ",atb(a),""),A(1),G("isGreyedOut",!a.hasViewAccess)("displayName","View")("linkUrl",$sb(a,!1))("linkEnabled",!0)("useCustomHandler",!0))},ctb=function(a){if(a&1){var b=v();H(0,"span")(1,"b-conditional-link",13);Q("customHandler",function(){x(b);var c=R();c.isRestricted()?Zsb(c,!0):c.domSafe.openInNewTab($sb(c,
!0));return z()});K()()}a&2&&(a=R(),Mf("bv2-issue-attachment-link ",atb(a),""),A(1),G("isGreyedOut",!a.hasViewAccess)("displayName","Download")("linkUrl",$sb(a,!0))("linkEnabled",!0)("useCustomHandler",!0))},dtb=function(a){a&1&&(H(0,"span",14)(1,"a",15),L(2,"mat-icon",16),K()());a&2&&(a=R(),A(1),G("href",a.documentationLinks.getRestrictedAccessHelpLink(),Wd)("disableRipple",!0),A(1),G("svgIcon","help-outline"))},etb=function(a){a&1&&(H(0,"div",17),T(1," You do not have access to this restricted attachment. "),
H(2,"a",18),T(3,"Learn more"),K()());a&2&&(a=R(),A(2),G("href",a.documentationLinks.getRestrictedAccessHelpLink(),Wd))},gtb=function(a){if(a&1){var b=v();H(0,"button",20,21);Q("click",function(){x(b);var c=R(2);return z(ftb(c))});T(2," Edit ");K()}},htb=function(a,b){a&1&&(M(0),T(1," on behalf of "),L(2,"b-user-display-name",22),N());a&2&&(a=b.ngIf,A(2),G("email",a)("showEmail",!1))},itb=function(a){a&1&&(M(0),F(1,htb,3,2,"ng-container",12),W(2,"async"),N());a&2&&(a=R(2),A(1),G("ngIf",X(2,1,a.onBehalfOfEmail$)))},
jtb=function(a,b){if(a&1){var c=v();H(0,"a",23);Q("click",function(d){var e=x(c).$implicit;R(2).issueReferenceResolver.visit({issueId:e,elementId:"comment1",event:d});return z()});T(1);K()}a&2&&(a=b.$implicit,b=R().$implicit,R(),G("routerLinkObj",nwa(a,{comment:1})),Af("aria-label","Comment number"+b.commentNumber),A(1),V(" #",b.commentNumber,""))},ltb=function(a){a&1&&(M(0),H(1,"span",24),T(2," \u2022 Edited"),K(),N());if(a&2){a=R().$implicit;var b=R();A(1);G("matTooltip",ktb(b,a))}},mtb=function(a){a&
1&&(M(0),H(1,"p",25),T(2," Description has been deleted. "),K(),N())},ntb=function(a){if(a&1){var b=v();H(0,"b-restricted-comment-placeholder",28);Q("onConfirm",function(){x(b);var c=R().ngIf,d=R(3).$implicit,e=R();return z(e.loadRestrictedComment(c,d))});W(1,"async");K()}a&2&&(a=R(5),G("disabled",!X(1,1,a.mayReadPii$)))},otb=function(a){a&1&&(M(0),F(1,ntb,2,3,"b-restricted-comment-placeholder",27),W(2,"async"),N());a&2&&(a=R(4),A(1),G("ngIf",X(2,1,a.shouldShowRestrictedPlaceholder$)))},ptb=function(a){a&
1&&(M(0),F(1,otb,3,3,"ng-container",12),W(2,"async"),N());a&2&&(a=R(3),A(1),G("ngIf",X(2,1,a.id$)))},qtb=function(a,b){a&1&&(L(0,"b-note-container",31),W(1,"async"));if(a&2){a=b.$implicit;b=R().ngIf;var c=R(4);G("issueId",b)("issueAccessLevel",X(1,4,c.accessLevel$))("note",a)("formattingMode",c.formattingMode)}},rtb=function(a){a&1&&(M(0),F(1,qtb,2,6,"b-note-container",30),W(2,"async"),N());if(a&2){a=R(3).$implicit;var b=R();A(1);G("ngIf",""!==a.unlinkifiedComment&&X(2,1,b.firstNote$))}},stb=function(a){a&
1&&(M(0),T(1," Add one."),N())},ttb=function(a){a&1&&(H(0,"p",32),T(1," No description yet."),F(2,stb,2,0,"ng-container",12),K());a&2&&(a=R(4),A(2),G("ngIf",a.canEditComment()))},utb=function(a){a&1&&(F(0,rtb,3,3,"ng-container",12),W(1,"async"),F(2,ttb,3,1,"p",29));if(a&2){a=R(2).$implicit;var b=R();G("ngIf",X(1,2,b.id$));A(2);G("ngIf",""===a.unlinkifiedComment)}},vtb=function(a){a&1&&(F(0,ptb,3,3,"ng-container",17),W(1,"async"),F(2,utb,3,4,"ng-template",null,26,tg));if(a&2){var b=S(3);a=R(2);G("ngIf",
X(1,2,a.isRedacted$))("ngIfElse",b)}},wtb=function(a,b){a&1&&(M(0),L(1,"b-attachment-viewer",36),N());if(a&2){a=b.ngIf;b=R().$implicit;var c=R(3);A(1);G("issueId",a)("attachment",b)("attachmentUploader",c.getUserEmailIfAvailable())}},xtb=function(a,b){a&1&&(H(0,"div",35),F(1,wtb,2,3,"ng-container",12),W(2,"async"),K());a&2&&(a=b.$implicit,b=R(3),Xf("id","attachment",a.attachmentId,""),A(1),G("ngIf",X(2,2,b.id$)))},ytb=function(a){a&1&&(H(0,"div",33),F(1,xtb,3,4,"div",34),K());a&2&&(a=R().$implicit,
A(1),G("ngForOf",a.attachments))},Atb=function(a,b){a&1&&(H(0,"div",2),L(1,"mat-icon",3),H(2,"div",4)(3,"div",5)(4,"div",6)(5,"h4",7),T(6,"Description"),K(),F(7,gtb,3,0,"button",8),L(8,"b-user-display",9),H(9,"onedev-hovercard",null,10),L(11,"b-issue-person-card",11),K(),T(12," created issue "),F(13,itb,3,3,"ng-container",12),W(14,"async"),F(15,jtb,2,3,"a",13),W(16,"async"),F(17,ltb,3,1,"ng-container",12),W(18,"async"),K(),H(19,"div"),L(20,"b-formatted-date-time",14)(21,"b-actions-menu",15,16),W(23,
"async"),K()(),F(24,mtb,3,0,"ng-container",17),W(25,"async"),F(26,vtb,4,4,"ng-template",null,18,tg)(28,ytb,2,1,"div",19),K()());if(a&2){a=b.$implicit;var c=S(10),d=S(27);b=R();var e;A(7);G("ngIf",b.canEditComment());A(1);G("onedevHovercardTrigger",c)("model",a.userPerformingActionUser);A(3);G("email",b.getUserEmailIfAvailable());A(2);G("ngIf",X(14,13,b.isAuthorNotReporter$));A(2);G("ngIf",a.commentNumber&&X(16,15,b.id$));A(2);G("ngIf",X(18,17,b.isShowCommentHistoryActionInMenu$));A(3);G("timestamp",
a.modifiedDate);A(1);G("buttonLabel","Description actions")("menuItems",null!==(e=X(23,19,b.commentActionMenuItems$))&&void 0!==e?e:eg(23,ztb));A(3);G("ngIf",X(25,21,b.isDeleted$))("ngIfElse",d);A(4);G("ngIf",null==a?null:null==a.attachments?null:a.attachments.length)}},Btb=function(a){a&1&&L(0,"b-spinner")},Ctb=function(a){a&1&&L(0,"mat-icon",3)},Dtb=function(a){a&1&&L(0,"b-spinner")},Etb=function(a,b){a&1&&(H(0,"span",11),T(1," of "),H(2,"a",12),T(3),K()());if(a&2){a=b.$implicit;R(2);var c=S(12);
A(2);Xf("routerLink","/issues/",a,"");G("onedevHovercardTrigger",c);A(1);V(" ",a," ")}},Ftb=function(a,b){a&1&&(H(0,"div")(1,"div",9),W(2,"async"),T(3),K(),F(4,Etb,4,3,"span",10),W(5,"async"),K());a&2&&(a=b.$implicit,b=R(),A(1),Mf("chippy ",X(2,6,b.statusCssClass$),""),G("title",b.STATUS_JS_FULL_TEXT[a]),A(2),V(" ",b.STATUS_JS_TERSE[a]," "),A(1),G("ngIf",X(5,8,b.canonicalId$)))},Gtb=function(a,b){a&1&&(H(0,"span"),T(1),K());a&2&&(a=b.$implicit,b=R(),Mf("b-chip squared issue-type-",a,""),A(1),V(" ",
b.issueTypeToDisplay(a)," "))},Itb=function(a,b){if(a&1){var c=v();H(0,"b-hotlist-chip-smart",17);Q("removeHotlist",function(){var d=x(c).$implicit,e=R(2);return z(Htb(e,d))});K()}a&2&&G("id",b.$implicit)},Ktb=function(a,b){if(a&1){var c=v();H(0,"div",13)(1,"button",14);Q("onHotkey",function(){x(c);var d=R();return z(Jtb(d))})("click",function(){x(c);var d=R();return z(Jtb(d))});L(2,"mat-icon",15);T(3);W(4,"async");K();F(5,Itb,1,1,"b-hotlist-chip-smart",16);K()}a&2&&(a=b.$implicit,b=R(),A(1),G("hotkey",
b.HOTKEYS.OPEN_HOTLIST_PICKER),A(2),V(" ",X(4,3,b.textOfHotlistBtn$)," "),A(2),G("ngForOf",a))},Ltb=function(a){a&1&&(H(0,"div",18),L(1,"smart-full-history-btn"),K())},Mtb=function(a){a&1&&(L(0,"b-issue-card",19,20),W(2,"async"));if(a&2){var b=S(1);a=R();G("onedevIsHovercardReady",b.init)("issueId",X(2,2,a.canonicalId$))}},Ntb=function(a){return null==a?void 0:a.snapshot[0].hotlistId},Otb=function(a,b){a&1&&(H(0,"mat-option",9)(1,"div",10),T(2),K(),H(3,"div",11),T(4),K()());a&2&&(a=b.$implicit,G("value",
a),A(2),$f(a.name),A(2),$f(a.description))},Ptb=function(a){if(a&1){var b=v();H(0,"mat-form-field",6)(1,"mat-select",7);Q("valueChange",function(c){x(b);var d=R();return z(d.selectedFilter=c)})("selectionChange",function(c){x(b);var d=R();c=c.value;d.preferences.save({commentFilterPreferences:{commentFilter:c.commentFilterType}}).pipe(bf(d.destroyed$)).subscribe();d.analytics.trackEvent(Kp.EDIT_ISSUE,"click",c.commentFilterType);return z()});H(2,"mat-select-trigger");T(3);K();F(4,Otb,5,3,"mat-option",
8);K()()}a&2&&(a=R(),A(1),G("value",a.selectedFilter),A(2),$f(null==a.selectedFilter?null:a.selectedFilter.displayName),A(1),G("ngForOf",a.filters))},Qtb=function(a){a&1&&(M(0),L(1,"mat-icon",12),H(2,"span"),T(3,"Oldest first"),K(),N())},Rtb=function(a){a&1&&(M(0),L(1,"mat-icon",13),H(2,"span"),T(3,"Newest first"),K(),N())},Vtb=function(a){switch(a){case "FULL_HISTORY":return Stb;case "ALL_COMMENTS":return Qs;case "HUMAN_ONLY":return Ttb;case "TEAM_AND_ASSIGNEE":return Utb;default:return Qs}},Wtb=
function(a){a&1&&(M(0),T(1,", "),L(2,"br"),N())},Xtb=function(a){a&1&&(M(0),T(1," reacted"),N())},Ytb=function(a,b){a&1&&(M(0),H(1,"div"),T(2),F(3,Wtb,3,0,"ng-container",3)(4,Xtb,2,0,"ng-container",3),K(),N());a&2&&(a=b.$implicit,b=b.last,A(2),V(" ",a,""),A(1),G("ngIf",!b),A(1),G("ngIf",b))},Ztb=function(a){a&1&&(M(0),T(1),N());a&2&&(a=R(2),A(1),V(" by ",mi(a.event.lastCommentEditorUser),""))},$tb=function(a){a&1&&(M(0)(1),T(2,"Message last modified"),N(),F(3,Ztb,2,1,"ng-container",0),M(4),T(5," on "),
L(6,"b-formatted-date-time",1),N()());a&2&&(a=R(),A(3),G("ngIf",0===a.event.version&&!!a.event.lastCommentEditorUser),A(3),G("timestamp",a.event.commentLastModifiedAtDate))},aub=function(a){a&1&&L(0,"b-user-email",5);a&2&&(a=R().$implicit,G("email",a.text)("withProfile",!0))},bub=function(a){a&1&&(H(0,"b-issue-reference-widget",6),M(1),T(2),N(),K());if(a&2){a=R().$implicit;var b=R();G("href",Ok(a.text))("issueId",b.getIssueId(a));A(2);$f(a.text)}},cub=function(a){a&1&&(M(0),T(1),N());a&2&&(a=R().$implicit,
A(1),$f(a.text))},dub=function(a,b){a&1&&(M(0)(1,1),F(2,aub,1,2,"b-user-email",2)(3,bub,3,3,"b-issue-reference-widget",3)(4,cub,2,1,"ng-container",4),N()());a&2&&(a=b.$implicit,A(1),G("ngSwitch",a.tag),A(1),G("ngSwitchCase","user"),A(1),G("ngSwitchCase","bug"))},eub=function(a){a&1&&(M(0),L(1,"b-component-card",3,4),N());if(a&2){var b=S(2);a=R();A(1);G("onedevIsHovercardReady",b.init)("componentId",a.id)}},fub=function(a){a&1&&(H(0,"span"),T(1),K());if(a&2){a=R(5);var b;A(1);$f(null!==(b=a.effortSpecName)&&
void 0!==b?b:"Estimated Effort")}},gub=function(a){a&1&&(H(0,"label"),F(1,fub,2,1,"span",11),T(2,":\u200b "),K());if(a&2){a=R(4);var b=S(5);A(1);G("ngIf",a.effortEnabled)("ngIfElse",b)}},hub=function(a){a&1&&(H(0,"label"),T(1),K());a&2&&(a=R(3).$implicit,A(1),V("",a.displayName,":\u200b"))},iub=function(a){a&1&&(H(0,"span"),L(1,"b-user-display-name",14),K());a&2&&(a=R().$implicit,A(1),G("email",a)("showEmail",!0))},jub=function(a){a&1&&(M(0),L(1,"plain-component-path",15),N());a&2&&(a=R(4).$implicit,
A(1),G("id",a.oldValue))},kub=function(a){a&1&&L(0,"b-formatted-date-time",17);if(a&2){a=R(2).$implicit;var b=R(4);G("timestamp",1E3*b.asNumber(a))}},lub=function(a){a&1&&(H(0,"span"),T(1,"[Issue creation date]"),K())},mub=function(a){a&1&&(H(0,"span"),F(1,kub,1,1,"b-formatted-date-time",16)(2,lub,2,0,"span",5),K());a&2&&(a=R().$implicit,A(1),G("ngIf","<none>"!==a),A(1),G("ngIf","<none>"===a))},nub=function(a){a&1&&L(0,"b-formatted-date-time",17);if(a&2){a=R(2).$implicit;var b=R(4);G("timestamp",
1E3*b.asNumber(a))}},oub=function(a){a&1&&(H(0,"span"),T(1,"[Unset]"),K())},pub=function(a){a&1&&(H(0,"span"),F(1,nub,1,1,"b-formatted-date-time",16)(2,oub,2,0,"span",5),K());a&2&&(a=R().$implicit,A(1),G("ngIf","<none>"!==a),A(1),G("ngIf","<none>"===a))},qub=function(a){a&1&&(M(0),H(1,"span"),T(2),K(),N());a&2&&(a=R().$implicit,R(4),A(2),$f(Rp(a)))},rub=function(a){a&1&&(H(0,"span"),T(1),K());a&2&&(a=R().$implicit,A(1),$f(a))},sub=function(a){a&1&&(M(0),F(1,iub,2,2,"span",5)(2,jub,2,1,"ng-container",
5)(3,mub,3,2,"span",5)(4,pub,3,2,"span",5)(5,qub,3,1,"ng-container",5)(6,rub,2,1,"span",5),T(7," \u00a0 "),L(8,"span",13),T(9," \u00a0 "),N());a&2&&(a=R(3).$implicit,A(1),G("ngIf",a.isUser),A(1),G("ngIf","component"===a.name),A(1),G("ngIf","sloStartTime"==a.name),A(1),G("ngIf","sloEndTime"==a.name),A(1),G("ngIf","access_limit"===a.name),A(1),G("ngIf",!a.isUser&&"component"!==a.name&&"sloStartTime"!==a.name&&"sloEndTime"!==a.name&&"access_limit"!==a.name))},tub=function(a){a&1&&L(0,"b-user-display-name",
14);a&2&&(a=R().$implicit,G("email",a)("showEmail",!0))},uub=function(a){a&1&&(H(0,"span"),L(1,"plain-component-path",15),K());a&2&&(a=R(4).$implicit,A(1),G("id",a.newValue))},vub=function(a){a&1&&L(0,"b-formatted-date-time",17);if(a&2){a=R(2).$implicit;var b=R(4);G("timestamp",1E3*b.asNumber(a))}},wub=function(a){a&1&&(H(0,"span"),T(1,"[Issue creation date]"),K())},xub=function(a){a&1&&(H(0,"span"),F(1,vub,1,1,"b-formatted-date-time",16)(2,wub,2,0,"span",5),K());a&2&&(a=R().$implicit,A(1),G("ngIf",
"<none>"!==a),A(1),G("ngIf","<none>"===a))},yub=function(a){a&1&&L(0,"b-formatted-date-time",17);if(a&2){a=R(2).$implicit;var b=R(4);G("timestamp",1E3*b.asNumber(a))}},zub=function(a){a&1&&(H(0,"span"),T(1,"[Unset]"),K())},Aub=function(a){a&1&&(H(0,"span"),F(1,yub,1,1,"b-formatted-date-time",16)(2,zub,2,0,"span",5),K());a&2&&(a=R().$implicit,A(1),G("ngIf","<none>"!==a),A(1),G("ngIf","<none>"===a))},Bub=function(a){a&1&&(M(0),H(1,"span"),T(2),K(),N());a&2&&(a=R().$implicit,R(4),A(2),$f(Rp(a)))},Dub=
function(a){a&1&&(H(0,"span",20),T(1),K());if(a&2){a=R().$implicit;var b=R(3).$implicit;G("ngClass",fg(2,Cub,b.oldValue&&"title"==b.name));A(1);$f(a)}},Eub=function(a){a&1&&(M(0),F(1,tub,1,2,"b-user-display-name",18)(2,uub,2,1,"span",5)(3,xub,3,2,"span",5)(4,Aub,3,2,"span",5)(5,Bub,3,1,"ng-container",5)(6,Dub,2,4,"span",19),N());a&2&&(a=R(3).$implicit,A(1),G("ngIf",a.isUser),A(1),G("ngIf","component"===a.name),A(1),G("ngIf","sloStartTime"===a.name),A(1),G("ngIf","sloEndTime"===a.name),A(1),G("ngIf",
"access_limit"===a.name),A(1),G("ngIf",!a.isUser&&"component"!=a.name&&"sloStartTime"!=a.name&&"sloEndTime"!=a.name&&"access_limit"!=a.name))},Fub=function(a){a&1&&(H(0,"div",10),F(1,gub,3,2,"label",11)(2,hub,2,1,"ng-template",null,12,tg)(4,sub,10,6,"ng-container",5)(5,Eub,7,6,"ng-container",5),K());if(a&2){var b=S(3);a=R(2).$implicit;A(1);G("ngIf","effort"===a.name)("ngIfElse",b);A(3);G("ngIf",a.oldValue);A(1);G("ngIf",a.newValue)}},Gub=function(a){a&1&&(H(0,"span"),T(1,", "),K())},Hub=function(a,
b){a&1&&(H(0,"span"),L(1,"b-user-display-name",14),F(2,Gub,2,0,"span",5),K());a&2&&(a=b.$implicit,b=b.last,A(1),G("email",a)("showEmail",!0),A(1),G("ngIf",!b))},Iub=function(a){a&1&&(H(0,"span"),F(1,Hub,3,3,"span",21),K());a&2&&(a=R(4).$implicit,A(1),G("ngForOf",a.added))},Jub=function(a){a&1&&(H(0,"span"),T(1,", "),K())},Kub=function(a,b){a&1&&(H(0,"span")(1,"span"),T(2),K(),F(3,Jub,2,0,"span",5),K());a&2&&(a=b.$implicit,b=b.last,A(2),$f(a),A(1),G("ngIf",!b))},Lub=function(a){a&1&&(H(0,"span"),F(1,
Kub,4,2,"span",21),K());a&2&&(a=R(4).$implicit,A(1),G("ngForOf",a.added))},Mub=function(a){a&1&&(H(0,"div")(1,"label"),T(2),K(),F(3,Iub,2,1,"span",5)(4,Lub,2,1,"span",5),K());a&2&&(a=R(3).$implicit,A(2),V("+",a.displayName,":\u200b"),A(1),G("ngIf",a.isUser),A(1),G("ngIf",!a.isUser))},Nub=function(a){a&1&&(H(0,"span"),T(1,", "),K())},Oub=function(a,b){a&1&&(H(0,"span"),L(1,"b-user-display-name",14),F(2,Nub,2,0,"span",5),K());a&2&&(a=b.$implicit,b=b.last,A(1),G("email",a)("showEmail",!0),A(1),G("ngIf",
!b))},Pub=function(a){a&1&&(H(0,"span"),F(1,Oub,3,3,"span",21),K());a&2&&(a=R(4).$implicit,A(1),G("ngForOf",a.removed))},Qub=function(a){a&1&&(H(0,"span"),T(1,", "),K())},Rub=function(a,b){a&1&&(H(0,"span")(1,"span"),T(2),K(),F(3,Qub,2,0,"span",5),K());a&2&&(a=b.$implicit,b=b.last,A(2),$f(a),A(1),G("ngIf",!b))},Sub=function(a){a&1&&(H(0,"span"),F(1,Rub,4,2,"span",21),K());a&2&&(a=R(4).$implicit,A(1),G("ngForOf",a.removed))},Tub=function(a){a&1&&(H(0,"div")(1,"label"),T(2),K(),F(3,Pub,2,1,"span",5)(4,
Sub,2,1,"span",5),K());a&2&&(a=R(3).$implicit,A(2),V("-",a.displayName,":\u200b"),A(1),G("ngIf",a.isUser),A(1),G("ngIf",!a.isUser))},Uub=function(a){a&1&&(H(0,"div",10),F(1,Mub,5,3,"div",5)(2,Tub,5,3,"div",5),K());if(a&2){a=R(2).$implicit;var b=R();A(1);G("ngIf",a.added&&a.added.length&&b.isStringArray(a.added));A(1);G("ngIf",a.removed&&a.removed.length&&b.isStringArray(a.removed))}},Vub=function(a){a&1&&Rf(0)},Xub=function(a,b){a&1&&(H(0,"span"),F(1,Vub,1,0,"ng-container",22),K());if(a&2){a=b.$implicit;
b=b.last;var c=R(4).$implicit;R();var d=S(3);A(1);G("ngTemplateOutlet",d)("ngTemplateOutletContext",hg(Wub,c,a,b))}},Yub=function(a){a&1&&(H(0,"div")(1,"label"),T(2),K(),F(3,Xub,2,6,"span",21),K());a&2&&(a=R(3).$implicit,A(2),V("+",a.displayName,":\u200b"),A(1),G("ngForOf",a.added))},Zub=function(a){a&1&&Rf(0)},$ub=function(a,b){a&1&&(H(0,"span"),F(1,Zub,1,0,"ng-container",22),K());if(a&2){a=b.$implicit;b=b.last;var c=R(4).$implicit;R();var d=S(3);A(1);G("ngTemplateOutlet",d)("ngTemplateOutletContext",
hg(Wub,c,a,b))}},avb=function(a){a&1&&(H(0,"div")(1,"label"),T(2),K(),F(3,$ub,2,6,"span",21),K());a&2&&(a=R(3).$implicit,A(2),V("-",a.displayName,":\u200b"),A(1),G("ngForOf",a.removed))},bvb=function(a){a&1&&(H(0,"div",10),F(1,Yub,4,2,"div",5)(2,avb,4,2,"div",5),K());if(a&2){a=R(2).$implicit;var b=R();A(1);G("ngIf",a.added&&a.added.length&&b.isLinkedItemArray(a.added));A(1);G("ngIf",a.removed&&a.removed.length&&b.isLinkedItemArray(a.removed))}},cvb=function(a){a&1&&L(0,"b-formatted-date-time",17);
a&2&&(a=R().$implicit,G("timestamp",a))},dvb=function(a){a&1&&(H(0,"span"),T(1," - "),K())},evb=function(a,b){a&1&&(H(0,"span"),L(1,"b-formatted-date-time",17),F(2,dvb,2,0,"span",5),K());a&2&&(a=b.$implicit,b=b.last,A(1),G("timestamp",a),A(1),G("ngIf",!b))},fvb=function(a){a&1&&(H(0,"span"),F(1,evb,3,2,"span",21),K());a&2&&(a=R(4).$implicit,A(1),G("ngForOf",a.oldValue.split(", ")))},gvb=function(a){a&1&&(H(0,"span"),T(1),K());a&2&&(a=R().$implicit,A(1),$f(a))},jvb=function(a){a&1&&(M(0),F(1,cvb,1,
1,"b-formatted-date-time",16)(2,fvb,2,1,"span",5)(3,gvb,2,1,"span",5),T(4," \u00a0 "),L(5,"span",13),T(6," \u00a0 "),N());if(a&2){a=R(3).$implicit;var b=R();A(1);G("ngIf",hvb(b,a,"oldValue"));A(1);G("ngIf",ivb(b,a,"oldValue"));A(1);G("ngIf",!hvb(b,a,"oldValue")&&!ivb(b,a,"oldValue"))}},kvb=function(a){a&1&&L(0,"b-formatted-date-time",17);a&2&&(a=R().$implicit,G("timestamp",a))},lvb=function(a){a&1&&(H(0,"span"),T(1," - "),K())},mvb=function(a,b){a&1&&(H(0,"span"),L(1,"b-formatted-date-time",17),F(2,
lvb,2,0,"span",5),K());a&2&&(a=b.$implicit,b=b.last,A(1),G("timestamp",a),A(1),G("ngIf",!b))},nvb=function(a){a&1&&(H(0,"span"),F(1,mvb,3,2,"span",21),K());a&2&&(a=R(4).$implicit,A(1),G("ngForOf",a.newValue.split(", ")))},ovb=function(a){a&1&&(H(0,"span"),T(1),K());a&2&&(a=R().$implicit,A(1),$f(a))},pvb=function(a){a&1&&(M(0),F(1,kvb,1,1,"b-formatted-date-time",16)(2,nvb,2,1,"span",5)(3,ovb,2,1,"span",5),N());if(a&2){a=R(3).$implicit;var b=R();A(1);G("ngIf",hvb(b,a,"newValue"));A(1);G("ngIf",ivb(b,
a,"newValue"));A(1);G("ngIf",!hvb(b,a,"newValue")&&!ivb(b,a,"newValue"))}},qvb=function(a){a&1&&(H(0,"div",10)(1,"label"),T(2),K(),F(3,jvb,7,3,"ng-container",5)(4,pvb,4,3,"ng-container",5),K());if(a&2){a=R(2).$implicit;var b=R();A(1);Af("title",b.customFieldName(a));A(1);V("",b.customFieldName(a),":\u200b");A(1);G("ngIf",a.oldValue);A(1);G("ngIf",a.newValue)}},rvb=function(a){a&1&&(H(0,"span",26),T(1,"Updated"),K())},svb=function(a){a&1&&(H(0,"span"),T(1,"Deleted"),K())},tvb=function(a){a&1&&(H(0,
"span"),T(1),K());a&2&&(a=R().$implicit,A(1),V("Edited (unknown status '",a.status,"')"))},uvb=function(a,b){a&1&&(M(0)(1,7),F(2,rvb,2,0,"span",23)(3,svb,2,0,"span",24)(4,tvb,2,1,"span",25),N()());a&2&&(a=b.$implicit,A(1),G("ngSwitch",a.status),A(1),G("ngSwitchCase","ACTIVE"),A(1),G("ngSwitchCase","DELETED"))},vvb=function(a){a&1&&(H(0,"div",10)(1,"label"),T(2),K(),F(3,uvb,5,3,"ng-container",5),K());a&2&&(a=R(2).$implicit,A(2),V("",a.displayName,":\u200b"),A(1),G("ngIf",null==a.statusUpdateDiff?null:
a.statusUpdateDiff.entityStatus))},wvb=function(a){a&1&&(H(0,"div",10)(1,"label"),T(2),K(),H(3,"pre",27),T(4),W(5,"json"),K()());a&2&&(a=R(2).$implicit,A(2),V("",a.displayName,":\u200b"),A(2),$f(X(5,2,a)))},xvb=function(a){a&1&&(M(0),L(1,"b-formatted-date-time",6),M(2,7),F(3,Fub,6,4,"div",8)(4,Uub,3,2,"div",8)(5,bvb,3,2,"div",8)(6,qvb,5,4,"div",8)(7,vvb,4,2,"div",8)(8,wvb,6,4,"div",9),N()());a&2&&(a=R().$implicit,A(1),G("timestamp",a.timestamp),A(1),G("ngSwitch",!0),A(1),G("ngSwitchCase","SINGLE_VALUE"===
a.type),A(1),G("ngSwitchCase","COLLECTION"===a.type||"USER_COLLECTION"===a.type),A(1),G("ngSwitchCase","LINKED_COLLECTION"===a.type),A(1),G("ngSwitchCase","CUSTOM_FIELD"===a.type),A(1),G("ngSwitchCase","STATUS_UPDATE"===a.type))},yvb=function(a,b){a&1&&(H(0,"div",4),F(1,xvb,9,7,"ng-container",5),K());a&2&&(a=b.$implicit,b=R(),A(1),G("ngIf","sloStartTime"===(null==a?void 0:a.name)||"sloEndTime"===(null==a?void 0:a.name)?b.activeSession.isInternalSession():!0))},zvb=function(a){a&1&&(H(0,"span"),T(1,
", "),K())},Avb=function(a){a&1&&(H(0,"span")(1,"b-issue-reference-widget",29),T(2),K(),F(3,zvb,2,0,"span",5),K());if(a&2){a=R().$implicit;var b=R(),c=b.change;b=b.isLast;A(1);G("href",c.href)("issueId",a);A(1);$f(a);A(1);G("ngIf",!b)}},Bvb=function(a){a&1&&(H(0,"span"),T(1,", "),K())},Cvb=function(a){a&1&&(M(0),L(1,"hotlist-link",15),F(2,Bvb,2,0,"span",5),N());if(a&2){a=R(2).$implicit;var b=R().isLast;A(1);G("id",a);A(1);G("ngIf",!b)}},Dvb=function(a){a&1&&(H(0,"span"),T(1,", "),K())},Evb=function(a){a&
1&&(H(0,"a",31),T(1),K(),F(2,Dvb,2,0,"span",5));if(a&2){a=R(2).$implicit;var b=R(),c=b.isLast;G("href",b.change.href,Wd);A(1);$f(a);A(1);G("ngIf",!c)}},Fvb=function(a){a&1&&F(0,Cvb,3,2,"ng-container",11)(1,Evb,3,3,"ng-template",null,30,tg);if(a&2){var b=S(2);a=R(2).diff;var c=R();G("ngIf",c.isHotlistDiff(a))("ngIfElse",b)}},Gvb=function(a){a&1&&(M(0),F(1,Avb,4,4,"span",11)(2,Fvb,3,2,"ng-template",null,28,tg),N());if(a&2){var b=S(3);a=R().diff;var c=R();A(1);G("ngIf",c.isIssueDiff(a))("ngIfElse",b)}},
Hvb=function(a,b){a&1&&F(0,Gvb,4,2,"ng-container",5);a&2&&G("ngIf",b.change.value)},Ivb=function(a){a&1&&(H(0,"span"),T(1,"Estimated Effort (disabled)"),K())},Jvb=function(a,b){a&1&&(L(0,"b-user-membership-chip",29),W(1,"async"));if(a&2){a=b.ngIf;b=R(2);var c;G("user",b.event.userPerformingActionUser)("email",a)("teamId",null!==(c=X(1,3,b.teamId$))&&void 0!==c?c:"")}},Kvb=function(a){a&1&&L(0,"b-user-display",30);a&2&&(a=R(2),G("model",a.event.userPerformingActionUser))},Lvb=function(a){a&1&&Rf(0)},
Mvb=function(a){a&1&&(M(0),H(1,"span",31),F(2,Lvb,1,0,"ng-container",32),K(),H(3,"onedev-hovercard",null,33),L(5,"b-issue-person-card",34),K(),N());if(a&2){var b=S(4);R();var c=S(11);a=R();A(1);G("onedevHovercardTrigger",b);A(1);G("ngTemplateOutlet",c);A(3);G("email",a.getUserEmailIfAvailable())}},Nvb=function(a){a&1&&(H(0,"span",35),T(1),K());a&2&&(a=R(2),A(1),V(" <",mi(a.event.userPerformingActionUser),"> "))},Ovb=function(a){if(a&1){var b=v();H(0,"span")(1,"a",36);Q("click",function(c){x(b);var d=
R(2);return z(d.scrollCommentIntoView(c,d.event.commentNumber))});T(2);K()()}a&2&&(a=R(2),A(1),G("routerLinkObj",a.getCommentNumberLink(a.event.commentNumber)),Af("aria-label","Comment number"+a.event.commentNumber),A(1),V(" #",a.event.commentNumber,""))},Pvb=function(a){if(a&1){var b=v();H(0,"button",37);Q("click",function(){x(b);var c=R(2);return z(Rs(c.issueCommentDialogsService,c.issueId,c.deobfuscatedEvent||c.event))});K()}},Qvb=function(a){a&1&&L(0,"b-restricted-chip",38);if(a&2){a=R(2);var b,
c;G("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)}},Svb=function(a){a&1&&(L(0,"b-actions-menu",39,40),W(2,"async"));if(a&2){a=R(2);var b;G("buttonLabel","Comment actions")("menuItems",null!==(b=X(2,2,a.commentActionMenuItems$))&&void 0!==b?b:eg(4,Rvb))}},Tvb=function(a){a&1&&(H(0,"div",41),L(1,"b-tagged-text",42),K());a&2&&(a=R(2),A(1),G("texts",a.event.taggedSummary))},
Uvb=function(a){a&1&&(L(0,"b-issue-event-details",43),W(1,"async"),W(2,"async"),W(3,"async"));if(a&2){a=R().ngIf;var b=R(),c,d;G("diffs",null!==(c=X(1,4,b.preEventDiffs$))&&void 0!==c?c:eg(10,Rvb))("customFieldMap",a.customFieldMap)("effortSpecName",null==(d=X(2,6,b.effortSpec$))?null:d.name)("effortEnabled",!!X(3,8,b.isEffortEnabled$))}},Vvb=function(a){a&1&&(H(0,"div",44),T(1," Comment has been deleted. "),K())},Wvb=function(a){if(a&1){var b=v();H(0,"b-restricted-comment-placeholder",45);Q("onConfirm",
function(){x(b);var c=R(2);return z(c.loadRestrictedComment())});W(1,"async");K()}a&2&&(a=R(2),G("disabled",!X(1,1,a.mayReadPii$)))},Xvb=function(a){a&1&&L(0,"b-note-container",46);a&2&&(a=R(2),G("issueId",a.issueId)("issueAccessLevel",a.issueAccessLevel)("note",a.deobfuscatedEvent||a.event)("formattingMode",a.formattingMode))},Yvb=function(a){if(a&1){var b=v();M(0);L(1,"b-summarized-note-container",46);H(2,"button",47);Q("click",function(){x(b);var c=R(2);c.wasSummarized=!0;c.isSummarized=!c.isSummarized;
return z()});L(3,"mat-icon",48);T(4,"Expand details");K();N()}a&2&&(a=R(2),A(1),G("issueId",a.issueId)("issueAccessLevel",a.issueAccessLevel)("note",a.deobfuscatedEvent||a.event)("formattingMode",a.formattingMode))},Zvb=function(a){if(a&1){var b=v();M(0);H(1,"button",47);Q("click",function(){x(b);var c=R(2);c.wasSummarized=!0;c.isSummarized=!c.isSummarized;return z()});L(2,"mat-icon",49);T(3,"Collapse details");K();N()}},$vb=function(a){a&1&&L(0,"b-formatted-date-time",50);a&2&&(a=R(2),G("timestamp",
a.event.modifiedDate))},awb=function(a){a&1&&L(0,"mat-icon",58)},bwb=function(a){a&1&&L(0,"mat-icon",59)},cwb=function(a,b){a&1&&(H(0,"span"),T(1),K());a&2&&(a=b.ngIf,A(1),$f(a))},dwb=function(a){a&1&&L(0,"b-comment-reaction-responders-card",60);a&2&&(a=R(3),G("reactionState",null==a.event.commentReactions?null:a.event.commentReactions.get(a.ReactionType.UPVOTE))("issueId",a.issueId)("commentNumber",a.event.commentNumber))},iwb=function(a){if(a&1){var b=v();H(0,"div",51)(1,"button",52,53);Q("click",
function(){x(b);var d=R(2);return z(ewb(d))});W(3,"async");W(4,"async");W(5,"async");F(6,awb,1,0,"mat-icon",54)(7,bwb,1,0,"mat-icon",55)(8,cwb,2,1,"span",0);W(9,"async");K();H(10,"onedev-hovercard",null,56);F(12,dwb,1,3,"b-comment-reaction-responders-card",57);W(13,"async");K()()}if(a&2){var c=S(11);a=R(2);A(1);G("ariaLabel",fwb(a,a.ReactionType.UPVOTE))("ngClass",fg(20,gwb,X(3,10,a.noUpvoteReactions$)))("onedevHovercardTrigger",c)("onedevHovercardConfig",a.commentReactionsHovercardConfig)("onedevHovercardActive",
!!X(5,14,a.showCommentReactionHovercard$));Af("aria-disabled",!X(4,12,a.hasAclToUpvoteReact$)||a.commentReactionIsSaving);A(5);G("ngIf",!hwb(a,a.ReactionType.UPVOTE));A(1);G("ngIf",hwb(a,a.ReactionType.UPVOTE));A(1);G("ngIf",X(9,16,a.upvoteReactionCountDisplayString$));A(4);G("ngIf",!X(13,18,a.noUpvoteReactions$))}},jwb=function(a){if(a&1){var b=v();H(0,"a",64);Q("click",function(){x(b);var c=R(3);return z(c.showCommentHistoryDialog(c.event.commentNumber))});T(1," Show History ");K()}},kwb=function(a){a&
1&&(H(0,"div",61),L(1,"b-comment-edit-timestamp-message",62),F(2,jwb,2,0,"a",63),K());a&2&&(a=R(2),A(1),G("event",a.event),A(1),G("ngIf",a.commentHistoryEnabled))},lwb=function(a){a&1&&(L(0,"b-issue-event-details",43),W(1,"async"),W(2,"async"),W(3,"async"));if(a&2){a=R().ngIf;var b=R(),c,d;G("diffs",null!==(c=X(1,4,b.postEventDiffs$))&&void 0!==c?c:eg(10,Rvb))("customFieldMap",a.customFieldMap)("effortSpecName",null==(d=X(2,6,b.effortSpec$))?null:d.name)("effortEnabled",!!X(3,8,b.isEffortEnabled$))}},
mwb=function(a,b){a&1&&(H(0,"div",67),L(1,"b-attachment-viewer",68),K());a&2&&(a=b.$implicit,b=R(3),Xf("id","attachment",a.attachmentId,""),A(1),G("issueId",b.issueId)("attachment",a)("attachmentUploader",b.getUserEmailIfAvailable()))},nwb=function(a){a&1&&(H(0,"div",65),F(1,mwb,2,4,"div",66),K());a&2&&(a=R(2),A(1),G("ngForOf",a.event.attachments))},pwb=function(a){a&1&&(M(0),H(1,"div",1),L(2,"b-user-image",2),K(),H(3,"div",3)(4,"h4",4),W(5,"async"),F(6,Jvb,2,5,"b-user-membership-chip",5)(7,Kvb,1,
1,"ng-template",null,6,tg)(9,Mvb,6,3,"ng-container",7)(10,Nvb,2,1,"ng-template",null,8,tg)(12,Ovb,3,3,"span",0)(13,Pvb,1,0,"button",9),W(14,"async"),H(15,"span",10),F(16,Qvb,1,3,"b-restricted-chip",11),L(17,"b-formatted-date-time",12),F(18,Svb,3,5,"b-actions-menu",13),K()(),L(19,"div",14),F(20,Tvb,2,1,"div",15)(21,Uvb,4,11,"b-issue-event-details",16),W(22,"async"),L(23,"div",14),H(24,"div",17)(25,"div",18),F(26,Vvb,2,0,"div",19)(27,Wvb,2,3,"b-restricted-comment-placeholder",20),H(28,"div",21),F(29,
Xvb,1,4,"b-note-container",22)(30,Yvb,5,4,"ng-container",0)(31,Zvb,4,0,"ng-container",0),K(),H(32,"div",23)(33,"div",24),F(34,$vb,1,1,"b-formatted-date-time",25),W(35,"async"),K(),F(36,iwb,14,22,"div",26),K()(),F(37,kwb,3,2,"div",27),K(),F(38,lwb,4,11,"b-issue-event-details",16),W(39,"async"),L(40,"div",14),F(41,nwb,2,1,"div",28),L(42,"div",14),K(),N());if(a&2){var b=S(8),c=S(11);a=R();A(2);G("email",a.getUserEmailIfAvailable());A(2);Af("aria-label",X(5,23,a.ariaLabelHeading$));A(2);G("ngIf",a.enableTeamAnnotations&&
a.getUserEmailIfAvailable())("ngIfElse",b);A(3);G("ngIf",a.isNonObfuscatedEmail(a.getUserEmailIfAvailable()))("ngIfElse",c);A(3);G("ngIf",a.isCommentEvent(a.event));A(1);G("ngIf",X(14,25,a.canEditComment$)&&!Ss(a));A(3);G("ngIf",a.isRestricted());A(1);G("timestamp",a.event.modifiedDate);A(1);G("ngIf",a.isCommentEvent(a.event));A(2);G("ngIf",a.event.taggedSummary&&a.event.taggedSummary.length);A(1);G("ngIf","FULL_HISTORY"===X(22,27,a.showFullHistoryFromFiltering$));A(5);G("ngIf",a.isDeleted());A(1);
G("ngIf",Ss(a)&&!a.isDeleted());A(2);G("ngIf",owb(a)&&!Ss(a)&&!a.isDeleted()&&!a.isSummarized);A(1);G("ngIf",owb(a)&&!Ss(a)&&!a.isDeleted()&&a.isSummarized);A(1);G("ngIf",a.wasSummarized&&!a.isSummarized);A(3);G("ngIf",X(35,29,a.isShowingCommentTimestamp$));A(2);var d,e=a.ReactionType.UPVOTE,f,h=!a.issuePermissionService.hasAclToComment()&&0===(null==(d=a.event.commentReactions)?void 0:null==(f=d.get(e))?void 0:f.count);d=a.isInternalSession&&a.commentReactionsEnabled&&owb(a)&&!a.isDeleted()&&!Ss(a)&&
!h;G("ngIf",d);A(1);G("ngIf",a.isCommentEvent(a.event)&&0<(a.event.commentVersion||0)&&!Ss(a));A(1);G("ngIf","FULL_HISTORY"===X(39,31,a.showFullHistoryFromFiltering$));A(3);G("ngIf",null==a.event?null:null==a.event.attachments?null:a.event.attachments.length)}},qwb=function(a){a&1&&(H(0,"aside",3),L(1,"b-spinner"),K())},rwb=function(a){a&1&&(M(0),T(1,"s"),N())},swb=function(a){if(a&1){var b=v();M(0);H(1,"div",6)(2,"button",7);Q("click",function(){x(b);var f=R().index,h=R(),k,q,t=null!=(q=null==(k=
h.foldedCommentsCounts.get(f))?void 0:k.eventFoldedCount)?q:0;for(k=0;k<t&&((Dn(h.internalEvents[f-k])||En(h.internalEvents[f-k]))&&h.eventDisplayMode.set(f-k,"full"),0!==f-k);k++);h.foldedCommentsCounts.delete(f);return z()});T(3);F(4,rwb,2,0,"ng-container",4);K();L(5,"div",8);K();N()}if(a&2){a=R().index;var c=R(),d,e;A(3);V(" ",null==(d=c.foldedCommentsCounts.get(a))?null:d.commentFoldedCount," update");A(1);G("ngIf",1<(null!==(e=null==(e=c.foldedCommentsCounts.get(a))?null:e.commentFoldedCount)&&
void 0!==e?e:1))}},twb=function(a){a&1&&(H(0,"div",9),L(1,"b-history-event",10),K());if(a&2){var b=R();a=b.$implicit;b=b.index;var c=R();A(1);G("issueId",c.internalIssueId)("issueAccessLevel",c.issueAccessLevel)("event",a)("isSummarized",c.eventDisplayMode.get(b)===c.eventDisplayModes.SUMMARIZED)}},vwb=function(a,b){a&1&&(M(0),F(1,swb,6,2,"ng-container",4)(2,twb,2,4,"div",5),N());if(a&2){a=b.$implicit;b=b.index;var c=R(),d;A(1);G("ngIf",c.enableCommentFiltering&&c.foldedCommentsCounts.has(b)&&0<(null!==
(d=null==(d=c.foldedCommentsCounts.get(b))?null:d.commentFoldedCount)&&void 0!==d?d:0));A(1);if(d=c.internalIssueId)if(c.enableCommentFiltering)d=uwb(c.eventDisplayMode.get(b));else{var e,f;d=(c.showFullHistory||a.isMajorEvent)&&(Dn(a)&&!!a.unlinkifiedComment||En(a)||0<(null==(e=a.preDiffs)?void 0:e.length)||0<(null==(f=a.postDiffs)?void 0:f.length))}G("ngIf",d)}},wwb=function(a){a&1&&(H(0,"aside",3),L(1,"b-spinner"),K())},xwb=function(a){var b=a.getName(),c,d=l(null!=(c=b.match(/components\/(\d+)\/recommendationSettings/))?
c:[]);d.next();c=d.next().value;c=Xwa(fl(c));if(!c)throw Error("gf`"+b);return{componentId:c,duplicateAssistanceEnabled:Hi(a,2),optedOutFromDataCollection:Hi(a,4),showSettings:Hi(a,3)}},Awb=function(a){var b=(new Ts).setParent(a.parent);a=a.userEngagement;var c=(new Us).setType(ywb[a.type]);void 0!==a.rejectionReason&&hj(c,3,zwb[a.rejectionReason]);return ej(b,Us,2,c)},Ewb=function(a){var b=void 0;switch(sn(a,Bwb)){case 9:b={recommendedIssue:kn(ql(a,Sm,9,Bwb))}}return{name:a.getName(),source:a.getSource(),
resource:a.getResource(),type:Cwb[a.getType()],recommendation:xi(a,5),score:a.getScore(),confidence:Dwb[Li(a,7,0)],createTime:Uk(vi(a,Xi,8)),content:b}},Gwb=function(a){return{recommendations:zi(a,Fwb,1).map(Ewb),nextPageToken:a.getNextPageToken(),totalSize:a.getTotalSize()}},Hwb=function(a,b){a&1&&(L(0,"b-note-container",25),W(1,"async"));if(a&2){a=b.ngIf;b=R().ngIf;var c=R();G("issueId",b)("issueAccessLevel",X(1,4,c.canonicalAccessLevel$))("formattingMode",a.formattingMode)("note",a)}},Iwb=function(a,
b){a&1&&(H(0,"div",26),T(1),K());a&2&&(a=b.ngIf,b=R(2),Mf("chippy status-",a,""),G("title",b.STATUS_JS_FULL_TEXT[a]),A(1),V(" ",b.STATUS_JS_TERSE[a]," "))},Jwb=function(a,b){a&1&&(M(0),L(1,"span",27),H(2,"span",28),T(3),K(),N());a&2&&(a=b.ngIf,A(3),ag(" ",a.length," duplicate",1===a.length?"":"s"," "))},Kwb=function(a,b){a&1&&(M(0),L(1,"span",27),H(2,"div",29)(3,"span",30),T(4),K(),L(5,"mat-icon",31),K(),N());a&2&&(a=b.ngIf,A(2),Xf("matTooltip","",a.voteCount," votes on this issue"),A(2),$f(9999<
a.voteCount?"9999+":a.voteCount))},Lwb=function(a,b){a&1&&(M(0),L(1,"span",27),H(2,"div",32)(3,"span",30),T(4),K(),L(5,"mat-icon",33),K(),N());a&2&&(a=b.ngIf,A(2),Xf("matTooltip","",a.length," comments on this issue"),A(2),$f(a.length))},Mwb=function(a,b){a&1&&(M(0),L(1,"span",27)(2,"b-formatted-date-time",34),N());a&2&&(a=b.ngIf,A(2),G("timestamp",a/1E3))},Nwb=function(a,b){if(a&1){var c=v();H(0,"button",35);Q("click",function(){var d=x(c).$implicit;R();var e=S(31);R().reject(d);var f;null==(f=e.trigger)||
f.close();return z()});H(1,"span");T(2);K()()}a&2&&(a=b.$implicit,b=R(2),A(2),$f(b.REJECT_REASON_TO_DISPLAY[a]))},Pwb=function(a,b){if(a&1){var c=v();H(0,"div",5)(1,"div",6)(2,"a",7)(3,"span",8);T(4);W(5,"async");K();L(6,"mat-icon",9);K();F(7,Hwb,2,6,"b-note-container",10);W(8,"async");H(9,"div",11);L(10,"b-issue-id-picker",12);W(11,"async");W(12,"async");W(13,"async");L(14,"b-issue-priority-display",13);W(15,"async");F(16,Iwb,2,5,"div",14);W(17,"async");F(18,Jwb,4,2,"ng-container",15);W(19,"async");
F(20,Kwb,6,2,"ng-container",15);W(21,"async");F(22,Lwb,6,2,"ng-container",15);W(23,"async");F(24,Mwb,3,1,"ng-container",15);W(25,"async");K()();H(26,"div",16)(27,"button",17);Q("click",function(){x(c);var d=R();return z(d.accept())});L(28,"mat-icon",18);T(29," Accept ");K();H(30,"split-button",19,20)(32,"button",21);Q("click",function(){x(c);var d=R();return z(d.reject())});L(33,"mat-icon",22);T(34," Reject ");K();H(35,"div",23);F(36,Nwb,3,1,"button",24);K()()()()}a&2&&(a=b.ngIf,b=R(),A(2),G("href",
b.getIssueLink(a),Wd),A(2),$f(X(5,18,b.canonicalTitle$)),A(3),G("ngIf",X(8,20,b.canonicalDescription$)),A(3),G("issueId",a)("enableHotkeys",!1)("componentId",X(11,22,b.canonicalComponentId$))("issueTitle",X(12,24,b.canonicalTitle$))("isExternalIssue",!!X(13,26,b.isCanonicalInExternalComponent$)),A(4),G("issuePriority",X(15,28,b.canonicalPriority$)),A(2),G("ngIf",X(17,30,b.statusForChip$)),A(2),G("ngIf",X(19,32,b.canonicalDuplicates$)),A(2),G("ngIf",fg(40,Owb,X(21,34,b.canonicalVoteCount$)||0)),A(2),
G("ngIf",X(23,36,b.canonicalComments$)),A(2),G("ngIf",X(25,38,b.canonicalCreateMicros$)),A(3),G("disabled",b.isSaving),A(3),G("disabled",b.isSaving),A(2),G("disabled",b.isSaving),A(4),G("ngForOf",b.REJECT_REASONS))},Qwb=function(a,b){a&1&&L(0,"b-issue-person-card",7);a&2&&G("email",b.ngIf)},Rwb=function(a,b){a&1&&(M(0),H(1,"span",4),T(2),W(3,"shortenEmail"),K(),H(4,"onedev-hovercard",null,5),F(6,Qwb,1,1,"b-issue-person-card",6),K(),N());if(a&2){a=b.ngIf;var c=S(5);b=R(2);A(1);G("onedevHovercardTrigger",
c);A(1);V(" ",ig(3,3,b.userToString(a),30)," ");A(4);G("ngIf",a.emailAddress)}},Swb=function(a,b){if(a&1){var c=v();H(0,"a",8);Q("click",function(d){var e=x(c).ngIf,f=R(2);return z(f.scrollCommentIntoView(d,e))});T(1);K()}a&2&&(a=b.ngIf,b=R(2),Cf("aria-label","Comment number ",a,""),G("routerLinkObj",b.getCommentNumberLink(a)),A(1),V(" #",a,""))},Twb=function(a){a&1&&(M(0),T(1,","),N())},Uwb=function(a,b){a&1&&(H(0,"span",1),F(1,Rwb,7,6,"ng-container",2),H(2,"span"),F(3,Swb,2,3,"a",3)(4,Twb,2,0,"ng-container",
2),K()());a&2&&(a=b.$implicit,b=b.last,A(1),G("ngIf",a.userPerformingActionUser),A(2),G("ngIf",a.commentNumber),A(1),G("ngIf",!b))},Vwb=function(a,b){a&1&&(H(0,"div",4)(1,"a",5),W(2,"removePngExtension"),L(3,"b-secure-image-widget",6),K(),L(4,"comments-info",7),K());a&2&&(a=b.$implicit,b=R(3),A(1),Yf("href",X(2,5,a.src),Wd),A(2),G("showByDefault",!0)("src",a.src),A(1),G("issueId",b.issueId)("comments",a.comments))},Wwb=function(a){if(a&1){var b=v();H(0,"button",10);Q("click",function(){x(b);var c=
R(2).ngIf,d=R(2);c=c.length;var e=Dk(d.maxImagesInOneRow$);e&&d.lastRenderedImageIndex$.next((Math.floor(c/e)+4)*e);return z()});T(1," Load more ");K()}},Xwb=function(a){if(a&1){var b=v();H(0,"button",11);Q("click",function(){x(b);var c=R(4);return z(c.goToResourcesTab())});T(1," See all screenshots ");K()}},Ywb=function(a){a&1&&(M(0),F(1,Wwb,2,0,"button",8)(2,Xwb,2,0,"ng-template",null,9,tg),N());if(a&2){var b=S(3);a=R(3);A(1);G("ngIf",a.paginate)("ngIfElse",b)}},Zwb=function(a,b){a&1&&(M(0),H(1,
"div",2),F(2,Vwb,5,7,"div",3),W(3,"async"),K(),F(4,Ywb,4,2,"ng-container",1),N());if(a&2){a=b.ngIf;b=R().ngIf;var c=R();A(1);Jf("show-all-images",c.paginate);A(1);G("ngForOf",X(3,4,c.imagesToRender$));A(2);G("ngIf",b.length!==a.length)}},$wb=function(a){a&1&&(M(0),F(1,Zwb,5,6,"ng-container",1),W(2,"async"),N());a&2&&(a=R(),A(1),G("ngIf",X(2,1,a.imagesToRender$)))},axb=function(a){var b=new Map;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=void 0,e=null!=(d=b.get(c.src))?d:[];e.push(c.comment);
b.set(c.src,e)}return Array.from(b.entries()).map(function(f){var h=l(f);f=h.next().value;h=h.next().value;return{src:f,comments:Qj(h)}})},bxb=function(a){a&1&&(H(0,"span",5),T(1),W(2,"reverse"),K());a&2&&(a=R(),A(1),$f(X(2,1,a.leftText)))},cxb=function(a){a&1&&(M(0),H(1,"b-external-hyperlink-widget",6),T(2),K(),N());a&2&&(a=R(),A(1),G("href",a.redirectedHref)("originalHref",a.originalHref),A(1),$f(a.linkText))},dxb=function(a){a&1&&(H(0,"b-issue-reference-widget",9),T(1),K());a&2&&(a=R(2),G("href",
a.redirectedHref)("issueId",a.issueId),A(1),$f(a.linkText))},exb=function(a){a&1&&(H(0,"a",10),T(1),K());a&2&&(a=R(2),Yf("href",a.redirectedHref,Wd),A(1),$f(a.linkText))},fxb=function(a){a&1&&F(0,dxb,2,3,"b-issue-reference-widget",7)(1,exb,2,2,"ng-template",null,8,tg);if(a&2){var b=S(2);a=R();G("ngIf",a.issueId)("ngIfElse",b)}},gxb=function(a){a&1&&(H(0,"span",11),T(1),K());a&2&&(a=R(),A(1),$f(a.rightText))},hxb=function(a){var b=document.createElement("div");a&&(1===b.nodeType&&cra(b),b.innerHTML=
dh(a));return b},ixb=function(a){a&1&&(M(0),H(1,"td"),L(2,"b-issue-priority-display",2),K(),H(3,"td",3)(4,"span",4),T(5),K(),L(6,"mentioned-link-with-context",5),K(),H(7,"td"),L(8,"comments-info",6),W(9,"toComments"),K(),N());if(a&2){a=R().$implicit;var b=R(3),c;A(2);G("matTooltip",a.hasViewAccess?"":"Access is denied to this issue")("issuePriority",a.priority);A(2);G("matTooltip",a.hasViewAccess?"":"Access is denied to this issue");A(1);V(" ",null!==(c=a.title)&&void 0!==c?c:"--"," ");A(1);G("sourceComment",
a.sourceComments[0].issueEvent)("relatedLink",a.relatedLinks[0]);A(2);G("issueId",b.issueId)("comments",X(9,8,a.sourceComments))}},jxb=function(a,b){a&1&&(H(0,"tr"),F(1,ixb,10,10,"ng-container",0),K());a&2&&(a=b.$implicit,A(1),G("ngIf",a.sourceComments&&a.relatedLinks))},kxb=function(a){if(a&1){var b=v();H(0,"button",9);Q("click",function(){x(b);var c=R(4);c.lastRenderedMentionedIssueIndex$.next(c.lastRenderedMentionedIssueIndex$.value+100);return z()});T(1," Load more ");K()}},lxb=function(a){if(a&
1){var b=v();H(0,"button",10);Q("click",function(){x(b);var c=R(4);return z(c.goToResourcesTab())});T(1," See all mentioned issues ");K()}},mxb=function(a){a&1&&(H(0,"div"),F(1,kxb,2,0,"button",7)(2,lxb,2,0,"ng-template",null,8,tg),K());if(a&2){var b=S(3);a=R(3);A(1);G("ngIf",a.paginate)("ngIfElse",b)}},nxb=function(a,b){a&1&&(M(0),H(1,"section")(2,"table"),F(3,jxb,2,1,"tr",1),K(),F(4,mxb,4,2,"div",0),K(),N());a&2&&(a=b.ngIf,b=R().ngIf,A(3),G("ngForOf",b),A(1),G("ngIf",a.length!==b.length))},oxb=
function(a){a&1&&(M(0),F(1,nxb,5,2,"ng-container",0),W(2,"async"),N());a&2&&(a=R(),A(1),G("ngIf",X(2,1,a.allMentionedIssues$)))},pxb=function(a,b){a&1&&(H(0,"div",2),L(1,"mentioned-link-with-context",3)(2,"comments-info",4),W(3,"toComments"),K());a&2&&(a=b.$implicit,b=R(3),A(1),G("sourceComment",a[0].comment)("relatedLink",a[0]),A(1),G("issueId",b.issueId)("comments",X(3,4,a)))},qxb=function(a){if(a&1){var b=v();H(0,"button",7);Q("click",function(){x(b);var c=R(4);c.lastRenderedRelatedLinkIndex$.next(c.lastRenderedRelatedLinkIndex$.value+
100);return z()});T(1," Load more ");K()}},rxb=function(a){if(a&1){var b=v();H(0,"button",8);Q("click",function(){x(b);var c=R(4);return z(c.goToResourcesTab())});T(1," See all related links ");K()}},sxb=function(a){a&1&&(H(0,"div"),F(1,qxb,2,0,"button",5)(2,rxb,2,0,"ng-template",null,6,tg),K());if(a&2){var b=S(3);a=R(3);A(1);G("ngIf",a.paginate)("ngIfElse",b)}},txb=function(a,b){a&1&&(M(0),F(1,pxb,4,6,"div",1)(2,sxb,4,2,"div",0),N());if(a&2){a=b.ngIf;b=R().ngIf;var c=R();A(1);G("ngForOf",a)("ngForTrackBy",
c.trackByHref);A(1);G("ngIf",b.length!==a.length)}},uxb=function(a){a&1&&(M(0),F(1,txb,3,3,"ng-container",0),W(2,"async"),N());a&2&&(a=R(),A(1),G("ngIf",X(2,1,a.linkGroupsToRender$)))},wxb=function(a,b){var c=a.filter(function(d){return SIa(d[0])});a=a.filter(function(d){return!SIa(d[0])});return vxb([].concat(u(c),u(a)).slice(0,b),"asc")},xxb=function(a){a&1&&(H(0,"div"),L(1,"b-spinner"),K())},zxb=function(a){a&1&&(M(0),L(1,"mat-icon",10),Rf(2,11),N());if(a&2){a=R().$implicit;R();var b=S(10);A(2);
G("ngTemplateOutlet",b)("ngTemplateOutletContext",fg(2,yxb,a))}},Axb=function(){},Bxb=function(a){a&1&&F(0,Axb,0,0,"ng-template")},Cxb=function(a){a&1&&(M(0),F(1,Bxb,1,0,null,12),N());a&2&&(a=R(2).$implicit,A(1),G("ngTemplateOutlet",a.tabIconTemplate))},Dxb=function(a){a&1&&(F(0,Cxb,2,1,"ng-container",3),Rf(1,11));if(a&2){a=R().$implicit;R();var b=S(10);G("ngIf",a.tabIconTemplate);A(1);G("ngTemplateOutlet",b)("ngTemplateOutletContext",fg(3,yxb,a))}},Exb=function(a,b){if(a&1){var c=v();H(0,"button",
7);Q("click",function(){var e=x(c).$implicit,f=R();e=e.key;f.internalExpandedTabs.has(e)?f.internalExpandedTabs.delete(e):f.internalExpandedTabs.add(e);f.expandedTabsChanged.emit(new Set(f.internalExpandedTabs));return z()});W(1,"async");W(2,"async");W(3,"async");F(4,zxb,3,4,"ng-container",8);W(5,"async");F(6,Dxb,2,5,"ng-template",null,9,tg);K()}if(a&2){a=b.$implicit;var d=S(7);b=R();Jf("expanded",!!X(1,8,Lp(b.internalExpandedTabs,a.key)));Cf("aria-controls","expandable-tabs-",a.key,"-content");Af("aria-label",
a.ariaLabel)("aria-expanded",!!X(2,10,Lp(b.internalExpandedTabs,a.key)))("aria-selected",!!X(3,12,Lp(b.internalExpandedTabs,a.key)));A(4);G("ngIf",X(5,14,Lp(b.internalExpandedTabs,a.key)))("ngIfElse",d)}},Gxb=function(a,b){if(a&1){var c=v();M(0);H(1,"button",13);Q("click",function(){x(c);var d=R();return z(Fxb(d))});T(2);K();N()}a&2&&(a=b.ngIf,b=R(),A(1),Jf("expandable-tabs-hide-all",a.allTabsExpanded)("expandable-tabs-show-all",!a.allTabsExpanded),Af("aria-label",(a.allTabsExpanded?"Hide all":"Show all")+
" "+b.ariaLabel),A(1),V(" ",a.allTabsExpanded?"Hide all":"Show all"," "))},Hxb=function(){},Ixb=function(a){a&1&&F(0,Hxb,0,0,"ng-template")},Jxb=function(a){a&1&&(M(0),F(1,Ixb,1,0,null,12),N());a&2&&(a=R(3).$implicit,A(1),G("ngTemplateOutlet",a.tabIconTemplate))},Kxb=function(a){a&1&&(H(0,"h4"),F(1,Jxb,2,1,"ng-container",3),Rf(2,11),K());if(a&2){a=R(2).$implicit;R();var b=S(10);A(1);G("ngIf",a.tabIconTemplate);A(1);G("ngTemplateOutlet",b)("ngTemplateOutletContext",fg(3,yxb,a))}},Lxb=function(a){a&
1&&L(0,"span",17)},Mxb=function(){},Nxb=function(a){a&1&&F(0,Mxb,0,0,"ng-template")},Oxb=function(a){a&1&&(M(0),F(1,Nxb,1,0,null,12),N());a&2&&(a=R(2).$implicit,A(1),G("ngTemplateOutlet",a.tabContentTemplate))},Qxb=function(a){a&1&&(H(0,"div",15),F(1,Kxb,3,5,"h4",8),W(2,"async"),F(3,Lxb,1,0,"ng-template",null,16,tg)(5,Oxb,2,1,"ng-container",3),K());if(a&2){var b=S(4);a=R().$implicit;var c=R(),d;Xf("id","expandable-tabs-",a.key,"-content");A(1);G("ngIf",1<(null!==(d=X(2,4,c.visibleExpandedTabs$))&&
void 0!==d?d:eg(6,Pxb)).length)("ngIfElse",b);A(4);G("ngIf",a.tabContentTemplate)}},Rxb=function(a,b){a&1&&(M(0),F(1,Qxb,6,7,"div",14),W(2,"async"),N());a&2&&(a=b.$implicit,b=R(),A(1),G("ngIf",X(2,1,Lp(b.internalExpandedTabs,a.key))))},Sxb=function(){},Txb=function(a){a&1&&F(0,Sxb,0,0,"ng-template")},Uxb=function(a){a&1&&(M(0),F(1,Txb,1,0,null,12),N());a&2&&(a=R().tab,A(1),G("ngTemplateOutlet",a.tabHeaderTemplate))},Vxb=function(a){a&1&&T(0);a&2&&(a=R().tab,$f(a.key))},Wxb=function(a,b){a&1&&F(0,
Uxb,2,1,"ng-container",8)(1,Vxb,1,1,"ng-template",null,18,tg);if(a&2){a=b.tab;var c=S(2);G("ngIf",a.tabHeaderTemplate)("ngIfElse",c)}},Xxb=function(a){a&1&&L(0,"mat-icon",10)},Yxb=function(a){a&1&&(T(0),W(1,"async"));if(a&2){a=R(2);var b;V("Screenshots (",null!==(b=X(1,1,a.distinctImageLinksCount$))&&void 0!==b?b:0,")")}},ayb=function(a,b){if(a&1){var c=v();H(0,"inline-images-summary",12);Q("click",function(){x(c);var e=R(3);Zxb(e.issueSummaryTracking,e.issueId,e.TabKeys.IMAGES);return z()});W(1,
"async");K()}if(a&2){a=b.ngIf;b=R(3);var d;G("issueId",a)("imageLinks",null!==(d=X(1,2,b.imageLinks$))&&void 0!==d?d:eg(4,$xb))}},byb=function(a){a&1&&(F(0,ayb,2,5,"inline-images-summary",11),W(1,"async"));a&2&&(a=R(2),G("ngIf",X(1,1,a.issueId$)))},cyb=function(a){a&1&&L(0,"mat-icon",13)},dyb=function(a){a&1&&(T(0),W(1,"async"));if(a&2){a=R(2);var b;V("Mentioned issues (",null!==(b=X(1,1,a.distinctIssuesCount$))&&void 0!==b?b:0,")")}},eyb=function(a,b){if(a&1){var c=v();H(0,"b-mentioned-issues",15);
Q("click",function(){x(c);var d=R(3);Zxb(d.issueSummaryTracking,d.issueId,d.TabKeys.MENTIONED_ISSUES);return z()});K()}a&2&&(a=b.ngIf,b=R(3),G("issueReferences",a)("currentIssueId",b.issueId))},fyb=function(a){a&1&&(F(0,eyb,1,2,"b-mentioned-issues",14),W(1,"async"));a&2&&(a=R(2),G("ngIf",X(1,1,a.issues$)))},gyb=function(a){a&1&&L(0,"mat-icon",16)},hyb=function(a){a&1&&(T(0),W(1,"async"));if(a&2){a=R(2);var b;V("Links (",null!==(b=X(1,1,a.distinctOtherLinksCount$))&&void 0!==b?b:0,")")}},iyb=function(a){if(a&
1){var b=v();H(0,"related-links-widget",17);Q("click",function(){x(b);var d=R(2);Zxb(d.issueSummaryTracking,d.issueId,d.TabKeys.LINKS);return z()});W(1,"async");K()}if(a&2){a=R(2);var c;G("links",null!==(c=X(1,2,a.otherLinks$))&&void 0!==c?c:eg(4,$xb))("issueId",a.issueId)}},jyb=function(a){a&1&&L(0,"mat-icon",18)},kyb=function(a){a&1&&T(0,"Suggested similar issues")},lyb=function(a){if(a&1){var b=v();H(0,"suggested-similar-issues",19);Q("click",function(){x(b);var c=R(2);Zxb(c.issueSummaryTracking,
c.issueId,c.TabKeys.SIMILAR_ISSUES);return z()});K()}a&2&&(a=R(2),G("issueId",a.issueId))},nyb=function(a,b){if(a&1){var c=v();H(0,"expandable-tabs",2);Q("expandedTabsChanged",function(d){var e=x(c).ngIf,f=R();return z(f.onTabExpanded$.emit({expandedTabKeys:d,allTabKeys:e}))})("contentShownChanged",function(d){x(c);var e=R(),f=e.issueSummaryTracking;e=e.issueId;for(var h=l(myb),k=h.next();!k.done;k=h.next())k=k.value,d.has(k)?(Vs(f.issueInteractionsTracking,e,k+"-content-shown"),f.issueInteractionsTracking.getState(e).variations.delete(k+
"-content-not-shown")):(Vs(f.issueInteractionsTracking,e,k+"-content-not-shown"),f.issueInteractionsTracking.getState(e).variations.delete(k+"-content-shown"));0<d.size?(f.recordImpressionOnce(),Vs(f.issueInteractionsTracking,e,"SW-content-shown"),f.issueInteractionsTracking.getState(e).variations.delete("SW-content-not-shown")):(Vs(f.issueInteractionsTracking,e,"SW-content-not-shown"),f.issueInteractionsTracking.getState(e).variations.delete("SW-content-shown"));return z()});H(1,"expandable-tab",
3);F(2,Xxb,1,0,"ng-template",4)(3,Yxb,2,3,"ng-template",5)(4,byb,2,3,"ng-template",6);K();H(5,"expandable-tab",7);F(6,cyb,1,0,"ng-template",4)(7,dyb,2,3,"ng-template",5)(8,fyb,2,3,"ng-template",6);K();H(9,"expandable-tab",8);F(10,gyb,1,0,"ng-template",4)(11,hyb,2,3,"ng-template",5)(12,iyb,2,5,"ng-template",6);K();H(13,"expandable-tab",9);F(14,jyb,1,0,"ng-template",4)(15,kyb,1,0,"ng-template",5)(16,lyb,1,1,"ng-template",6);K()()}a&2&&(a=b.ngIf,b=R(),G("tabKeys",a)("expandedTabs",b.initiallyExpandedTabs),
A(1),G("key",b.TabKeys.IMAGES),A(4),G("key",b.TabKeys.MENTIONED_ISSUES),A(4),G("key",b.TabKeys.LINKS),A(4),G("key",b.TabKeys.SIMILAR_ISSUES))},oyb=function(a,b){a&1&&(H(0,"li",6)(1,"div",7),L(2,"b-user-image",8),K(),H(3,"div",9),L(4,"b-user-display",10)(5,"b-formatted-date-time",11),H(6,"p",12),T(7," Formatting: "),H(8,"code",13),T(9),K()(),L(10,"br"),H(11,"span",14)(12,"b-person-hovercard",15),W(13,"omitObfuscatedEmail"),T(14),W(15,"appendDomain"),K()(),T(16),K(),H(17,"pre"),T(18),K()());a&2&&(a=
b.$implicit,b=b.index+1,A(2),G("email",null==a.author?null:a.author.emailAddress),A(2),G("model",a.author),A(1),G("timestamp",a.updateTime),A(4),V(" ",a.formattingMode," "),A(3),G("email",X(13,8,null==a.author?null:a.author.emailAddress)),A(2),V(" <",X(15,10,null==a.author?null:a.author.emailAddress),"> "),A(2),V(" #",b," "),A(2),$f(a.updateText))},pyb=function(a){if(a&1){var b=v();M(0);H(1,"header",3)(2,"h4",4);T(3,"Status Update");K();H(4,"p",5);T(5,"No update yet.");K();H(6,"button",6);Q("click",
function(){x(b);var c=R(2);return z(c.editStatusUpdate())});T(7," Edit ");K()();N()}},ryb=function(a){if(a&1){var b=v();H(0,"button",15);Q("click",function(){x(b);var c=R(3);return z(qyb(c))});T(1," Mark as fresh ");K()}},syb=function(a){a&1&&L(0,"mat-icon",21)},tyb=function(a,b){a&1&&(M(0),F(1,syb,1,0,"mat-icon",16),W(2,"async"),T(3," Updated by "),H(4,"span",17),T(5),W(6,"shortenEmail"),K(),L(7,"b-formatted-date-time",18),H(8,"onedev-hovercard",null,19),L(10,"b-issue-person-card",20),K(),N());if(a&
2){a=b.ngIf;var c=S(9);b=R(3);var d,e;A(1);G("ngIf",X(2,5,b.freshnessIndicator$)===b.Freshness.FRESH);A(3);G("onedevHovercardTrigger",c);A(1);V(" ",X(6,7,null!==(d=null==a.author?null:a.author.emailAddress)&&void 0!==d?d:"")," ");A(2);G("timestamp",a.updateTime);A(3);G("email",null!==(e=null==a.author?null:a.author.emailAddress)&&void 0!==e?e:"")}},uyb=function(a,b){a&1&&L(0,"b-actions-menu",22);a&2&&(a=b.ngIf,G("buttonLabel","Status Update actions")("menuItems",a))},vyb=function(a,b){a&1&&(L(0,"b-note-container",
27),W(1,"async"),W(2,"async"));if(a&2){a=b.ngIf;b=R().ngIf;var c=R(3),d;G("issueId",b.issueId)("issueAccessLevel",X(1,4,c.accessLevel$))("note",a)("formattingMode",null!==(d=X(2,6,c.formattingMode$))&&void 0!==d?d:c.FormattingMode.PLAIN)}},wyb=function(a){if(a&1){var b=v();H(0,"button",28);Q("click",function(){x(b);var c=R(4);return z(c.isCollapsed=!1)});T(1," Show More ");K()}},xyb=function(a){a&1&&(M(0),H(1,"div",23)(2,"div",null,24),F(4,vyb,3,8,"b-note-container",25),W(5,"async"),K(),F(6,wyb,2,
0,"button",26),K(),N());a&2&&(a=R(3),A(2),Jf("collapsed",a.isCollapsed),A(2),G("ngIf",X(5,4,a.statusUpdateAsNote$)),A(2),G("ngIf",a.isCollapsed))},yyb=function(a){if(a&1){var b=v();M(0);H(1,"div",7)(2,"header",8)(3,"div",9)(4,"h4",10);T(5,"Status Update");K();H(6,"button",11);Q("click",function(){x(b);var c=R(2);return z(c.editStatusUpdate())});T(7," Edit ");K();F(8,ryb,2,0,"button",12);W(9,"async");K();H(10,"div",13);F(11,tyb,11,9,"ng-container",2);W(12,"async");F(13,uyb,1,2,"b-actions-menu",14);
W(14,"async");K()();F(15,xyb,7,6,"ng-container",2);W(16,"async");K();N()}a&2&&(a=R(2),A(8),G("ngIf",X(9,4,a.freshnessIndicator$)===a.Freshness.STALE),A(3),G("ngIf",X(12,6,a.statusUpdate$)),A(2),G("ngIf",X(14,8,a.menuItems$)),A(2),G("ngIf",X(16,10,a.statusUpdate$)))},Ayb=function(a,b){a&1&&(H(0,"div"),W(1,"async"),L(2,"mat-icon",1),F(3,pyb,8,0,"ng-container",2)(4,yyb,17,12,"ng-container",2),K());a&2&&(a=b.ngIf,b=R(),Mf("carded margin-s-sides margin-s-bottom bg-main highlighted-left flex-kids-x ",X(1,
9,b.semanticClass$),""),Jf("display-none",fg(11,zyb,b.UiState.LOADING).includes(a))("short-height",b.UiState.EMPTY===a),A(3),G("ngIf",a===b.UiState.EMPTY),A(1),G("ngIf",a===b.UiState.NORMAL))},Byb=function(a){switch(a){case 1:return"noUpdate";case 2:return"hasUpdate";case 0:return"";default:return""}},Cyb=function(a){a=a.getReadonlyResponse();return{outputs:zi(a,Ws,1).map(function(b){return b.getContent()}),outputBlocked:Hi(a,2)}},Fyb=function(a){return Dyb(Eyb(),a.paths.map(function(b){var c=new Xs;
return gj(c,1,b)}))},Gyb=function(a){return{content:new Map(a.getResponsesList().map(function(b){return[xi(b.getReadonlySourceFileId(),1),Mwa(b.getContent())]})),revisionNumber:new Map(a.getResponsesList().map(function(b){return[xi(b.getReadonlySourceFileId(),1),b.getReadonlySourceFileId().getRevisionNumber()]}))}},Hyb=function(a){var b,c,d,e,f,h;return{changeNumber:null!=(f=null==(b=a.getResponse())?void 0:null==(c=b.getChangeId())?void 0:c.getChangeNumber_asLegacyNumberOrString())?f:0,workspaceName:null!=
(h=null==(d=a.getResponse())?void 0:null==(e=d.getWorkspaceId())?void 0:e.getWorkspaceName())?h:""}},Iyb=function(a){switch(a){case 1:return 2305;case 2:return 258;case 3:return 2307;case 4:return 2308;case 5:return 517;case 6:return 2566;case 8:return 3080;case 7:return 1031;case 9:return 3081;case 10:return 2570;default:return 0}},Jyb=function(a){var b=new Ys,c=a.sourceFile,d=new Zs,e=d.setSourceFileId;var f=c.sourceFileId;var h=new Xs;f=gj(h,1,f.depotPath).setRevisionNumber(f.revisionNumber);d=
e.call(d,f);c.fileOperation&&hj(d,2,Iyb(c.fileOperation));return ej(b,Zs,1,d).setContent(a.content)},Kyb=function(a){return a.filter(function(b){return 0!==b.indexOf("+")}).map(function(b){return b.substring(1)})},Lyb=function(a){return a.filter(function(b){return 0!==b.indexOf("-")}).map(function(b){return b.substring(1)})},Myb=function(a,b,c){return Kyb(c).every(function(d,e){return d.trim()===a[b+e].trim()})},Nyb=function(a,b,c){for(var d=[],e=Kyb(b).length,f=a.length-e;c<=f;c++)Myb(a,c,b)&&d.push(c);
if(0===d.length)throw Error("hf");a=d[0];return{startRange:a,endRange:a+e}},Oyb=function(a,b){if(0===b.length)return"";a=a.split("\n");var c=b.split(/\r?\n?@@\r?\n/).filter(function(k){return 0<k.length});b=[];var d=0,e=0,f=0;c=l(c);for(e=c.next();!e.done;e=c.next()){var h=e.value;d=Nyb(a,h.split("\n"),d);e=d.startRange;d=f=d.endRange;h=Lyb(h.split("\n"));b.push([e,f,h])}d=e=c=0;b=l(b);for(e=b.next();!e.done;e=b.next())e=l(e.value),f=e.next().value,c=e.next().value,e=e.next().value,f+=d,c+=d,a.splice.apply(a,
[f,c-f].concat(u(e))),c-=f,e=e.length-c,d+=e;return a.join("\n")},Pyb=function(a){a&1&&L(0,"mat-icon",15)},Qyb=function(a){a&1&&L(0,"mat-icon",16)},Ryb=function(a){a&1&&L(0,"mat-icon",17)},Syb=function(a){if(a&1){var b=v();M(0);H(1,"div",21)(2,"label");T(3,"File path");K()();H(4,"div",21)(5,"input",22);Q("keyup",function(c){x(b);var d=R(2).$implicit;R();"text-input"===d.type&&(d.value=c.target.value);return z()});K()();H(6,"div",21)(7,"button",23);Q("click",function(){x(b);var c=R(2).$implicit;R();
if("text-input"===c.type){var d;null==(d=c.callback)||d.call(c)}return z()});T(8," Continue ");K()();N()}a&2&&(a=R(2).$implicit,A(5),G("disabled","complete"==a.state),A(2),G("disabled","complete"==a.state))},Tyb=function(a,b){a&1&&(H(0,"div",28),T(1),K());a&2&&(a=b.$implicit,Jf("remove",0==a.indexOf("-"))("add",0==a.indexOf("+")),A(1),V(" ","-"==a[0]||"+"==a[0]?a.substr(1):a," "))},Uyb=function(a,b){a&1&&(H(0,"div",25)(1,"div",26),F(2,Tyb,2,5,"div",27),K()());a&2&&(a=b.$implicit,A(2),G("ngForOf",
a.lines))},Vyb=function(a){a&1&&(M(0),T(1),F(2,Uyb,3,1,"div",24),N());if(a&2){a=R(2).$implicit;var b=R();A(1);V(" ",a.description," ");A(1);G("ngForOf",b.blocks(a))}},Wyb=function(a){if(a&1){var b=v();M(0);H(1,"div",29);T(2);K();H(3,"button",30);Q("click",function(){x(b);var c=R(2).$implicit,d=R();return z(d.patch(c))});T(4," Patch changelist into new workspace ");K();N()}a&2&&(a=R(2).$implicit,A(2),V(" ",a.description," "),A(1),G("disabled","in-progress"!==a.state))},Xyb=function(a){a&1&&(M(0),T(1),
N());a&2&&(a=R(2).$implicit,A(1),V(" ",a.description," "))},Yyb=function(a){a&1&&(H(0,"section",18),F(1,Syb,9,2,"ng-container",19)(2,Vyb,3,2,"ng-container",19)(3,Wyb,5,2,"ng-container",19)(4,Xyb,2,1,"ng-container",20),T(5),K());a&2&&(a=R().$implicit,Kf(a.type),G("ngSwitch",a.type),A(1),G("ngSwitchCase","text-input"),A(1),G("ngSwitchCase","diff-preview"),A(1),G("ngSwitchCase","changelist-create"),A(2),V(" ",a.error," "))},Zyb=function(a,b){a&1&&(H(0,"div",9)(1,"header")(2,"div",10),F(3,Pyb,1,0,"mat-icon",
11)(4,Qyb,1,0,"mat-icon",12)(5,Ryb,1,0,"mat-icon",13),K(),H(6,"span"),T(7),K()(),F(8,Yyb,6,7,"section",14),K());a&2&&(a=b.$implicit,A(2),G("ngSwitch",a.state),A(1),G("ngSwitchCase","error"),A(1),G("ngSwitchCase","complete"),A(3),$f(a.title),A(1),G("ngIf","complete"!==a.type))},$yb=function(a){a=encodeURIComponent(a).replace(/%([0-9A-F]{2})/g,function(b,c){return String.fromCharCode(Number("0x"+c))});return btoa(a)},azb=function(a){if(a&1){var b=v();H(0,"div",2);L(1,"mat-icon",3);H(2,"div",4);Rf(3,
5);H(4,"div",6)(5,"button",7);Q("click",function(){x(b);var d=R();return z(d.openDialog())});T(6," Suggest a fix for me ");K()()()()}if(a&2){R();var c=S(3);A(3);G("ngTemplateOutlet",c)}},bzb=function(a){a&1&&(H(0,"div"),T(1," AI-generated code changes may inaccurate or offensive information that doesn't represent Google's views. Please review all suggested changes. "),K())},czb=function(a){a&1&&(H(0,"h4",8),T(1," AI-generated code change "),H(2,"xap-bubble",9)(3,"xap-icon-trigger"),L(4,"mat-icon",
10),K(),F(5,bzb,2,0,"ng-template",null,11,tg),K()());if(a&2){var b=S(6);A(2);G("panelTemplate",b)}},ezb=function(a,b){a&1&&Rf(0,11);if(a&2){a=b.ngIf;R(2);var c=S(5);G("ngTemplateOutlet",c)("ngTemplateOutletContext",fg(2,dzb,a))}},fzb=function(a){a&1&&(H(0,"div",6),L(1,"mat-icon",7),H(2,"div",8),Rf(3,9),F(4,ezb,1,4,"ng-container",10),W(5,"async"),K()());if(a&2){a=R();var b=S(3);A(3);G("ngTemplateOutlet",b);A(1);G("ngIf",X(5,2,a.stage$))}},gzb=function(a){a&1&&(H(0,"div"),T(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. "),
K())},hzb=function(a){a&1&&(H(0,"h4",12),T(1," AI-generated summary "),H(2,"xap-bubble",13)(3,"xap-icon-trigger"),L(4,"mat-icon",14),K(),F(5,gzb,2,0,"ng-template",null,15,tg),K()());if(a&2){var b=S(6);A(2);G("panelTemplate",b)}},jzb=function(a){if(a&1){var b=v();H(0,"button",21);Q("click",function(){x(b);var c=R(3);return z(izb(c))});T(1," Summarize for me ");K()}},kzb=function(a){a&1&&(H(0,"div",22)(1,"button",23),T(2," Summarize for me "),K()());a&2&&(a=R(3),G("matTooltip",a.TOO_LITTLE_TOOLTIP_TEXT),
A(1),G("disabled",!0))},mzb=function(a){if(a&1){var b=v();H(0,"button",24);Q("click",function(){x(b);var c=R(3);return z(lzb(c))});T(1," Experiment with prompt ");K()}},nzb=function(a){a&1&&(M(0),H(1,"div",17),F(2,jzb,2,0,"button",18),W(3,"async"),F(4,kzb,3,2,"ng-template",null,19,tg)(6,mzb,2,0,"button",20),K(),N());if(a&2){var b=S(5);a=R(2);A(2);G("ngIf",X(3,3,a.isSummarizable$))("ngIfElse",b);A(4);G("ngIf",a.enableLlmDogfood)}},pzb=function(a,b){a&1&&(M(0),Rf(1,11),N());if(a&2){a=b.ngIf;b=R(2).stage;
R();var c=S(11);A(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",gg(2,ozb,a,b))}},qzb=function(a){a&1&&(M(0),F(1,pzb,2,5,"ng-container",25),W(2,"async"),N());if(a&2){a=R(2);var b=S(7);A(1);G("ngIf",X(2,2,a.commentThreadSummary$))("ngIfElse",b)}},szb=function(a,b){a&1&&(M(0),Rf(1,11),N());if(a&2){a=b.ngIf;R(3);var c=S(9);A(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",fg(2,rzb,a))}},tzb=function(a){if(a&1){var b=v();M(0);F(1,szb,2,4,"ng-container",25);W(2,"async");H(3,"div",17)(4,"button",
24);Q("click",function(){x(b);var d=R(2);return z(lzb(d))});T(5," Experiment with prompt ");K()();N()}if(a&2){a=R(2);var c=S(7);A(1);G("ngIf",X(2,2,a.commentThreadSummary$))("ngIfElse",c)}},uzb=function(a,b){a&1&&F(0,nzb,7,5,"ng-container",16)(1,qzb,3,4,"ng-container",16)(2,tzb,6,4,"ng-container",16);a&2&&(a=b.stage,b=R(),G("ngIf",a===b.INITIAL),A(1),G("ngIf",a===b.SHORT||a===b.LONG),A(1),G("ngIf",a===b.CUSTOM))},vzb=function(a){a&1&&L(0,"b-spinner")},wzb=function(a){a&1&&L(0,"b-markdown-format-presenter",
28);a&2&&(a=R().summary,G("content",a.formattedSummary))},xzb=function(a){a&1&&(H(0,"div",29),T(1),K());a&2&&(a=R().summary,A(1),V(" ",a.summary," "))},yzb=function(a,b){a&1&&F(0,wzb,1,1,"b-markdown-format-presenter",26)(1,xzb,2,1,"ng-template",null,27,tg);if(a&2){a=b.summary;var c=S(2);G("ngIf",a.formattedSummary)("ngIfElse",c)}},zzb=function(a){if(a&1){var b=v();H(0,"button",24);Q("click",function(){x(b);var c=R(3);return z(izb(c))});T(1," Tell me more ");K()}},Bzb=function(a){if(a&1){var b=v();
M(0);Rf(1,11);H(2,"div",17);F(3,zzb,2,0,"button",20);K();H(4,"div",30)(5,"span",31);T(6,"Summary will disappear upon page refresh.");K();H(7,"div",17)(8,"button",32);Q("click",function(){x(b);var f=R().summary,h=R();return z(h.copySummary(f.summary))});L(9,"mat-icon",33);K();H(10,"button",34);Q("click",function(){x(b);var f=R(2);return z(f.openFeedbackDialog())});L(11,"mat-icon",35);K();H(12,"button",36);Q("click",function(){x(b);var f=R(2);return z(f.trackThumbsUp())});L(13,"mat-icon",37);K();H(14,
"button",38);Q("click",function(){x(b);var f=R(2);return z(f.trackThumbsDown())});L(15,"mat-icon",39);K()()();N()}if(a&2){var c=R();a=c.summary;c=c.stage;var d=R(),e=S(9);A(1);G("ngTemplateOutlet",e)("ngTemplateOutletContext",fg(7,rzb,a));A(2);G("ngIf",c===d.SHORT);A(9);G("disabled",d.hasReacted);A(1);G("ngClass",fg(9,Azb,d.thumbsUpClicked));A(1);G("disabled",d.hasReacted);A(1);G("ngClass",fg(11,Azb,d.thumbsDownClicked))}},Czb=function(a){if(a&1){var b=v();M(0);H(1,"div",30)(2,"div",40);T(3," Issue can not be summarized for now. Please try again later. ");
K();H(4,"div",17)(5,"button",34);Q("click",function(){x(b);var c=R(2);return z(c.openFeedbackDialog())});L(6,"mat-icon",35);K()()();N()}},Dzb=function(a){a&1&&(M(0),H(1,"div",30)(2,"div",40),T(3," Summarization could not be performed. Please try again later. "),K()(),N())},Ezb=function(a,b){a&1&&F(0,Bzb,16,13,"ng-container",16)(1,Czb,7,0,"ng-container",16)(2,Dzb,4,0,"ng-container",16);a&2&&(a=b.summary,R(),G("ngIf",0===a.status),A(1),G("ngIf",1===a.status),A(1),G("ngIf",2===a.status))},Fzb=function(a){switch(a){case "initial":return"short";
case "short":return"long";case "long":return"long";case "custom":return"custom";default:Oh(a,"nextStage")}},Gzb=function(a){switch(a){case "initial":return 0;case "short":return 0;case "long":return 1;case "custom":return 1;default:Oh(a,"summaryTypeForStage")}},Hzb=function(a){a&1&&(L(0,"canonical-recommendation",8,9),W(2,"async"));if(a&2){var b=S(1);a=R().$implicit;Jf("hidden",!X(2,3,b.show$));G("currentIssueId",a)}},Izb=function(a){a&1&&(M(0),L(1,"llm-summary",6),N());a&2&&(a=R().$implicit,A(1),
G("issueId",a))},Jzb=function(a){a&1&&(M(0),L(1,"llm-suggested-bug-fix",6),N());a&2&&(a=R().$implicit,A(1),G("issueId",a))},Kzb=function(a,b){a&1&&(M(0),L(1,"issue-description-area",4),F(2,Hzb,3,5,"canonical-recommendation",5),W(3,"async"),L(4,"status-update",6),F(5,Izb,2,1,"ng-container",1)(6,Jzb,2,1,"ng-container",1),L(7,"b-issue-description",7),N());a&2&&(a=b.$implicit,b=R(),A(1),G("id",a),A(1),G("ngIf",b.enableIDPCanonicalRecommendation&&X(3,6,b.issuePermissionService.hasAclToEdit$)),A(2),G("issueId",
a),A(1),G("ngIf",b.enableLlmSummarization),A(1),G("ngIf",b.enableGoosePrompting||b.enableGoosePromptingSupportedIssues),A(1),G("id",a))},Lzb=function(a,b){a&1&&(L(0,"issue-summary-card",10,11),W(2,"async"));if(a&2){a=b.$implicit;var c=S(1);Jf("hidden",!X(2,3,c.shouldShowSummaryCard$));G("issueId",a)}},Mzb=function(a){a&1&&L(0,"issue-event-list",14);a&2&&(a=R().$implicit,G("id",a))},Nzb=function(a){if(a&1){var b=v();M(0);H(1,"div",15);T(2," You are currently editing a comment in the pop-out window. ");
H(3,"a",16);Q("click",function(){x(b);var c=R(2);return z(c.closeSlickCompose())});T(4,"Click to edit here");K()();N()}},Ozb=function(a){if(a&1){var b=v();H(0,"button",18);Q("click",function(){x(b);R(3).isUsingSlickCompose=!0;return z()});L(1,"mat-icon",19);K()}},Pzb=function(a){a&1&&(M(0),H(1,"b-post-comment",6),F(2,Ozb,2,0,"button",17),K(),N());if(a&2){a=R().$implicit;var b=R();A(1);G("issueId",a);A(1);G("ngIf",b.enableCommentSlickCompose)}},Qzb=function(a){a&1&&L(0,"issue-event-list",14);a&2&&
(a=R().$implicit,G("id",a))},Rzb=function(a){a&1&&(H(0,"div",12),L(1,"b-event-stream-header"),F(2,Mzb,1,1,"issue-event-list",13)(3,Nzb,5,0,"ng-container",1)(4,Pzb,3,2,"ng-container",1)(5,Qzb,1,1,"issue-event-list",13),K());a&2&&(a=R(),Jf("recent-first",a.showRecentEventsFirst),A(2),G("ngIf",!a.showRecentEventsFirst),A(1),G("ngIf",a.isUsingSlickCompose),A(1),G("ngIf",!a.isUsingSlickCompose),A(1),G("ngIf",a.showRecentEventsFirst))},Szb=function(a,b){if(a&1){var c=v();H(0,"comment-slick-compose",21);
Q("closeSlickCompose",function(){x(c);var d=R(2);return z(d.closeSlickCompose())});K()}a&2&&G("issueId",b.ngIf)},Tzb=function(a){a&1&&(M(0),F(1,Szb,1,1,"comment-slick-compose",20),W(2,"async"),N());a&2&&(a=R(),A(1),G("ngIf",a.isUsingSlickCompose&&X(2,1,a.id$)))},Uzb=function(a){a&1&&(H(0,"section")(1,"h4"),L(2,"mat-icon",2),T(3),K(),L(4,"inline-images-summary",3)(5,"br")(6,"hr",4),K());if(a&2){a=R(2).ngIf;var b=R().ngIf;A(3);V(" Screenshots (",a.length,") ");A(1);G("issueId",b.issueId)("imageLinks",
a)("paginate",!0)}},Vzb=function(a){a&1&&(M(0),F(1,Uzb,7,4,"section",1),N());a&2&&(a=R().ngIf,A(1),G("ngIf",a.length))},Wzb=function(a){a&1&&(M(0),F(1,Vzb,2,1,"ng-container",1),N());a&2&&(a=R(2),A(1),G("ngIf",a.isInternalSession))},Xzb=function(a){a&1&&(H(0,"section")(1,"h4"),L(2,"mat-icon",5),T(3),K(),L(4,"b-mentioned-issues",6)(5,"br")(6,"hr",4),K());if(a&2){a=R().ngIf;var b=R().ngIf;A(3);V(" Mentioned issues (",a.length,") ");A(1);G("issueReferences",a)("currentIssueId",b.issueId)("paginate",!0)}},
Yzb=function(a,b){a&1&&(M(0),F(1,Xzb,7,4,"section",1),N());a&2&&(a=b.ngIf,A(1),G("ngIf",a.length))},Zzb=function(a){a&1&&(H(0,"section")(1,"h4"),L(2,"mat-icon",7),T(3),K(),L(4,"related-links-widget",8),K());if(a&2){a=R().ngIf;var b=R().ngIf;A(3);V(" Links (",a.length,") ");A(1);G("links",a)("issueId",b.issueId)("paginate",!0)}},$zb=function(a,b){a&1&&(M(0),F(1,Zzb,5,4,"section",1),N());a&2&&(a=b.ngIf,A(1),G("ngIf",a.length))},aAb=function(a){a&1&&(M(0),F(1,Wzb,2,1,"ng-container",1),W(2,"async"),F(3,
Yzb,2,1,"ng-container",1),W(4,"async"),F(5,$zb,2,1,"ng-container",1),W(6,"async"),N());a&2&&(a=R(),A(1),G("ngIf",X(2,3,a.imageLinks$)),A(2),G("ngIf",X(4,5,a.issueReferences$)),A(2),G("ngIf",X(6,7,a.otherLinks$)))},bAb=function(a){a&1&&(H(0,"div",4),L(1,"img",5),H(2,"p",6),T(3," This issue has no TODOs "),K(),H(4,"p",7),T(5," Buganizer uses a separate service to look for TODOs in the codebase. It didn't find any. "),H(6,"a",8),T(7,"Learn more"),K()()());a&2&&(a=R(3),A(1),G("src",a.ROBOT_SLEEPING,Wd))},
cAb=function(a,b){a&1&&L(0,"b-package-mentions-listing",12);if(a&2){a=b.$implicit;b=R(3).ngIf;var c=R().ngIf,d=R();G("issueId",c)("packageMentionSet",a)("displayPackageName",d.displayPackageNames(b))}},dAb=function(a){if(a&1){var b=v();M(0);F(1,cAb,1,3,"b-package-mentions-listing",9);H(2,"p",10)(3,"a",11);Q("click",function(){x(b);var c=R(4);return z(c.trackSqueegeeClick())});T(4,"View in Squeegee");K()();N()}a&2&&(a=R(2).ngIf,A(1),G("ngForOf",a.mentions.packageMentionSet),A(2),G("href",a.link,Wd))},
eAb=function(a){a&1&&F(0,dAb,5,2,"ng-container",1);a&2&&(a=R().ngIf,G("ngIf",a.mentions))},fAb=function(a,b){a&1&&(M(0),F(1,bAb,8,1,"div",2)(2,eAb,1,1,"ng-template",null,3,tg),N());if(a&2){a=b.ngIf;var c=S(3);R(2);A(1);G("ngIf",!(a.mentions&&0<a.mentions.totalMentions))("ngIfElse",c)}},gAb=function(a){a&1&&(M(0),F(1,fAb,4,2,"ng-container",1),W(2,"async"),N());a&2&&(a=R(),A(1),G("ngIf",X(2,1,a.codeMentionsState$)))},hAb=function(a){a&1&&L(0,"b-spinner",6);a&2&&G("large",!0)},iAb=function(a){a&1&&L(0,
"b-hotlist-grid",7);a&2&&(a=R(),G("hotlists",a.hotlists))},jAb=function(a){a&1&&(H(0,"div",9),L(1,"b-spinner"),H(2,"span"),T(3),K()());a&2&&(a=R(),A(3),V(" Searching",a.query?" for "+a.query:"","..."))},kAb=function(a){a&1&&(M(0),T(1," No issues match your search. "),N())},lAb=function(a){a&1&&T(0," Use search box to find issues. ")},nAb=function(a){a&1&&(H(0,"a",16),T(1," Click to see all open issues"),K());a&2&&G("queryParams",eg(1,mAb))},oAb=function(a){a&1&&(H(0,"a",17),T(1,"Learn more about searching"),
K())},pAb=function(a){a&1&&(H(0,"div",10),L(1,"img",11),F(2,kAb,2,0,"ng-container",12)(3,lAb,1,0,"ng-template",null,13,tg)(5,nAb,2,2,"a",14),W(6,"async"),F(7,oAb,2,0,"ng-template",null,15,tg),K());if(a&2){var b=S(4),c=S(8);a=R();var d;G("bFocus",!0);A(1);G("src",a.SPACE_EMPTY_STATE,Wd);A(1);G("ngIf",a.query)("ngIfElse",b);A(3);G("ngIf",null!==(d=X(6,6,a.currentTracker.inTracker$))&&void 0!==d?d:!1)("ngIfElse",c)}},rAb=function(a){if(a&1){var b=v();H(0,"div",18)(1,"b-issues-grid",19);Q("init",function(c){x(b);
var d=R();return z(d.resultsGrid=c)})("columnsChange",function(c){x(b);var d=R();return z(d.issueColumns=c)})("columnsChange",function(){x(b);R();qAb();return z()})("sortChange",function(c){x(b);var d=R();return z(d.setSort(c.field,c.direction))})("rowClick",function(c){x(b);var d=R();return z(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){x(b);var c=R();return z($s(c,c.page,1))})("onPrevPage",function(){x(b);var c=R();return z($s(c,c.page,-1))});K()()}a&2&&(a=R(),A(1),G("searchResults",
a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort())("enableSidebar",!0))},sAb=function(a){a&1&&(H(0,"div",9),L(1,"b-spinner"),T(2," Loading recent issues... "),K())},tAb=function(a){a&1&&(H(0,"div",10),T(1," No recent issues found. "),K())},uAb=function(a){if(a&1){var b=v();H(0,"div",11)(1,"b-issues-grid",12);Q("init",function(c){x(b);var d=R();return z(d.resultsGrid=c)})("columnsChange",function(c){x(b);
var d=R();return z(d.issueColumns=c)})("sortChange",function(c){x(b);var d=R();return z(d.setSort(c.field,c.direction))})("rowClick",function(c){x(b);var d=R();return z(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){x(b);var c=R(),d;return z(c.goToPage((null!==(d=c.page)&&void 0!==d?d:0)+1))})("onPrevPage",function(){x(b);var c=R(),d;return z(c.goToPage((null!==(d=c.page)&&void 0!==d?d:0)-1))});K()()}a&2&&(a=R(),A(1),G("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",
a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort()))},vAb=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=l(c);c=e.next().value;e.next();d=l(d);e=d.next().value;d.next();return c-e}).map(function(c){c=l(c);c.next();return c.next().value})},wAb=function(a){a&1&&(H(0,"div",6)(1,"h2"),T(2,"Manage SLOs"),K(),H(3,"p",7),T(4,"You have admin rights for all SLOs listed below."),K()())},xAb=function(a){a&1&&
L(0,"b-spinner",8);a&2&&G("large",!0)},yAb=function(a){a&1&&(H(0,"div",11),T(1,"You have no Active SLOs"),K())},zAb=function(a){a&1&&L(0,"b-slo-grid",12);a&2&&(a=R(2),G("slos",a.activeSlos))},AAb=function(a){a&1&&(M(0),F(1,yAb,2,0,"div",9)(2,zAb,1,1,"b-slo-grid",10),N());a&2&&(a=R(),A(1),G("ngIf",!a.activeSlos.length),A(1),G("ngIf",a.activeSlos.length))},BAb=function(a){a&1&&(H(0,"p",19),T(1," You have no archived SLOs. "),K())},CAb=function(a){a&1&&L(0,"b-slo-grid",12);a&2&&(a=R(3),G("slos",a.archivedSlos))},
DAb=function(a){a&1&&(H(0,"div",17),F(1,BAb,2,0,"p",18)(2,CAb,1,1,"b-slo-grid",10),K());a&2&&(a=R(2),A(1),G("ngIf",!a.archivedSlos.length),A(1),G("ngIf",a.archivedSlos.length))},EAb=function(a){if(a&1){var b=v();M(0);H(1,"button",13);Q("click",function(){x(b);var c=R();c.areArchivedSlosExpanded=!c.areArchivedSlosExpanded;return z()});H(2,"h4",14);L(3,"mat-icon",15);T(4);K()();F(5,DAb,3,2,"div",16);N()}a&2&&(a=R(),A(3),Jf("rotate-180",a.areArchivedSlosExpanded),G("svgIcon","arrow-dropdown"),A(1),V(" Archived SLOs (",
a.archivedSlos.length,") "),A(1),G("ngIf",a.areArchivedSlosExpanded))},FAb=function(a){a&1&&(M(0),H(1,"p"),T(2,"Team inheritance path:"),K(),L(3,"b-team-breadcrumb",1),N());a&2&&(a=R(),A(3),G("teamPath",a.teamPath))},GAb=function(a){a&1&&(M(0),H(1,"p"),T(2,"Component inheritance path:"),K(),L(3,"b-component-breadcrumb",2),N());a&2&&(a=R(),A(3),G("componentPathInfo",a.componentPath))},IAb=function(a){if(a&1){var b=v();M(0);H(1,"span",5);T(2," Data in this component is not being collected. ");H(3,"button",
6);Q("click",function(){x(b);var c=R(2);return z(HAb(c))});H(4,"span",7);T(5,"Opt into");K()();T(6," data collection to enable ML features in this component. ");H(7,"a",8);T(8,"Learn more");K();T(9,". ");K();N()}a&2&&(a=R(2),A(3),G("disabled",!a.isAdmin),A(1),G("matTooltip",a.isAdmin?"":"Only component admins can opt in."),A(3),G("href",a.helpLink,Wd))},KAb=function(a){if(a&1){var b=v();H(0,"span",5);T(1," Buganizer collects data in this component to improve ML features. ");H(2,"a",8);T(3,"Learn more");
K();T(4," or ");H(5,"button",6);Q("click",function(){x(b);var c=R(2);return z(JAb(c))});H(6,"span",7);T(7,"opt out");K()();T(8,". ");K()}a&2&&(a=R(2),A(2),G("href",a.helpLink,Wd),A(3),G("disabled",!a.isAdmin),A(1),G("matTooltip",a.isAdmin?"":"Only component admins can opt out."))},MAb=function(a){if(a&1){var b=v();H(0,"div",1)(1,"h4");T(2,"ML Features");K();F(3,IAb,10,3,"ng-container",2)(4,KAb,9,3,"ng-template",null,3,tg);H(6,"mat-slide-toggle",4);Q("change",function(d){x(b);R().setDraft({duplicateAssistanceEnabled:d.checked});
return z()});W(7,"async");T(8," Show ML-suggested duplicates for issues ");K()()}if(a&2){var c=S(5);a=R();A(3);G("ngIf",null==a.savedSettings?null:a.savedSettings.optedOutFromDataCollection)("ngIfElse",c);A(3);G("disabled",X(7,5,a.isSaving$)||!a.draftSettings||!a.isAdmin||a.draftSettings.optedOutFromDataCollection)("checked",null==a.draftSettings?null:a.draftSettings.duplicateAssistanceEnabled)("matTooltip",LAb(a))}},NAb=function(a){var b={};a=l(a.groupMetadata);for(var c=a.next();!c.done;c=a.next())c=
c.value,b[c.groupEmail]=c;return b},QAb=function(a){return{approximateSize:Ui(a,2),groupEmail:xi(a,1),sizeCategory:OAb[Li(a,3,0)],permissionCategory:PAb[Li(a,5,0)]}},SAb=function(a){var b;return{groupMetadata:(null!=(b=zi(a,RAb,1))?b:[]).map(QAb)}},UAb=function(a,b){var c=[];if(!b||!a)return c;for(var d=l(TAb),e=d.next();!e.done;e=d.next()){e=e.value;var f=hi(e.accessor(b)||[],e.accessor(a)||[]);f.length&&c.push({field:e.field,addedPrincipals:f})}return c},WAb=function(a,b){if(!a.appenders||!b||$h(b.appenders,
a.appenders))return!1;a=l(a.appenders||[]);for(var c=a.next();!c.done;c=a.next())if(c=c.value,VAb.has(c)&&!b.appenders.includes(c))return!0;return!1},XAb=function(a){var b=new Map;a=l(a);for(var c=a.next();!c.done;c=a.next())switch(c=c.value,c.sizeCategory){case "LARGE":case "HUGE":case "ENORMOUS":b.set(c.groupEmail,c)}return b},YAb=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"},ZAb=function(a){if(0===a.size)return at;for(var b=1===a.size?Ho("P",{},"The following large group is added: "):Ho("P",{},"The following large groups are added: "),c=[],d=l(a.keys()),e=d.next();!e.done;e=d.next()){e=e.value;var f=a.get(e).approximateSize;c.push(Ho("P",{},Io(Ho("B",{},e)," has approximately ",Ho("B",{},f)," Googlers.")))}return Io(b,c)},$Ab=function(a){if(0===a.size)return at;var b=1===a.size?
Ho("P",{},"The following open group is added: "):Ho("P",{},"The following open groups are added: "),c=[];a=l(a.keys());for(var d=a.next();!d.done;d=a.next())c.push(Ho("P",{},Ho("B",{},d.value)));return Io(b,c)},aBb=function(a){var b=new Map;a=l(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},bBb=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},
cBb=function(a,b,c){a="USER:"+a;b=b.admins.concat(b.inheritedAdmins);var d=c.admins.concat(c.inheritedAdmins);c=b.filter(function(f){return!d.includes(f)});b=c.filter(function(f){return f.startsWith("GROUP:")});var e=c.filter(function(f){return f.startsWith("USER:")});return d.includes(a)||0===c.length?!1:e.includes(a)?!0:b.length?!0:!1},bt=function(a){var b=a.split(":");a=b[0];return"ALIAS"===a?(b=b[1],{value:b,displayText:Era(b),principalType:a,detailedUserType:null}):{value:b[1],displayText:b[1],
principalType:a,detailedUserType:null}},dBb=function(a,b){a&1&&L(0,"b-contact-chip",6);a&2&&(a=b.$implicit,b=R(2),G("value",a.value)("detailedUserType",a.detailedUserType)("principalType",a.principalType)("accessLevel",b.accessLevel)("displayText",a.displayText))},eBb=function(a,b){a&1&&(M(0),H(1,"tr",3)(2,"th",4),T(3),K(),H(4,"td"),F(5,dBb,1,5,"b-contact-chip",5),K()(),N());a&2&&(a=b.$implicit,A(3),$f(a.permission),A(2),G("ngForOf",a.principals))},iBb=function(a){var b="minimal";b=void 0===b?"expanded":
b;a=fBb(a);a=oLa(a,function(c){c=gBb(c);return hBb(c,b)});return fBb(a)},kBb=function(a){a=fBb(a);a=oLa(a,function(b){b=jBb(b);return gBb(b)});return fBb(a)},hBb=function(a,b){var c="expanded"===b?lBb:mBb;return new Set([].concat(u(a)).flatMap(function(d){return[].concat(u(c.get(d)))}))},jBb=function(a){return new Set(ct.filter(function(b){return mra(a,mBb.get(b))}))},gBb=function(a){a=hBb(a,"expanded");var b=jBb(a);return new Set([].concat(u(b)).filter(function(c){return[].concat(u(nBb.get(c))).every(function(d){return!b.has(d)})}))},
fBb=function(a){var b=new Map;a=l(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;d=l(d);for(var e=d.next();!e.done;e=d.next()){e=e.value;var f=void 0;b.set(e,(null!=(f=b.get(e))?f:new Set).add(c))}}return b},pBb=function(){function a(f,h){c.has(f)||c.set(f,new Set);var k=c.get(f);k.add(h);var q;h=l(null!=(q=b.get(h))?q:[]);for(q=h.next();!q.done;q=h.next())q=q.value,k.has(q)||a(f,q)}var b=oBb,c=new Map,d=[].concat(u(b.values())).flatMap(function(f){return[].concat(u(f))});
d=l(new Set([].concat(u(b.keys()),u(d))));for(var e=d.next();!e.done;e=d.next())e=e.value,a(e,e);return c},qBb=function(a){var b=iBb(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(u(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")}}},rBb=function(a){var b=a.componentAccessPolicy;a=a.issueAccessPolicy;return Qj([].concat(u(b?[].concat(u(b.inheritedAdmins||[]),u(b.admins||[]),u(b.appenders||[])):[]),u(a?[].concat(u(a.admins||[]),u(a.editors||[]),u(a.appenders||[]),u(a.readers||[]),u(a.restrictedReaders||[]),u(a.restrictedPlusReaders||[])):[]))).sort()},tBb=function(a){function b(e){var f;return[].concat(u(null!=(f=d.get(e))?f:[])).sort()}
if(!a)return sBb;var c=a.issueAccessPolicy;a=a.componentAccessPolicy;var d=kBb(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}},uBb=function(a,b){var c;(c=!b)||(c=!(!$h([].concat(u(b.admins)).sort(),[].concat(u(a.admins)).sort())||
!$h([].concat(u(b.appenders)).sort(),[].concat(u(a.appenders)).sort())||!$h(b.implicitAccess,a.implicitAccess)));return!c},vBb=function(a,b){return b&&a?!$h([].concat(u(a.admins)).sort(),[].concat(u(b.admins)).sort())||!$h([].concat(u(a.editors)).sort(),[].concat(u(b.editors)).sort())||!$h([].concat(u(a.appenders)).sort(),[].concat(u(b.appenders)).sort())||!$h([].concat(u(a.readers)).sort(),[].concat(u(b.readers)).sort())||!$h([].concat(u(a.restrictedReaders)).sort(),[].concat(u(b.restrictedReaders)).sort())||
!$h([].concat(u(a.restrictedPlusReaders)).sort(),[].concat(u(b.restrictedPlusReaders)).sort()):!1},wBb=function(a,b){var c=Object.keys(a);c=l(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,!tta(a[d],b[d]))return!0;return!1},xBb=function(a){if(a&1){var b=v();H(0,"input",17);Q("ngModelChange",function(c){x(b);var d=R(2);return z(d.rolesEditor.component.accessLimit.accessLevel=c)});K()}a&2&&(a=R(2),G("disabled",!a.rolesEditor.isAdmin)("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},
yBb=function(a){if(a&1){var b=v();H(0,"input",18);Q("ngModelChange",function(c){x(b);var d=R(2);return z(d.rolesEditor.component.accessLimit.accessLevel=c)});K()}a&2&&(a=R(2),G("disabled",!a.rolesEditor.isAdmin||!a.isParentPartner())("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},zBb=function(a){if(a&1){var b=v();H(0,"input",19);Q("ngModelChange",function(c){x(b);var d=R(2);return z(d.rolesEditor.component.accessLimit.accessLevel=c)});K()}a&2&&(a=R(2),G("disabled",!a.rolesEditor.isAdmin||
!a.isParentPublic())("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},ABb=function(a){a&1&&(H(0,"div",3)(1,"div",4)(2,"span",5),T(3,"Component visibility: "),K()(),H(4,"div",6)(5,"div",7),F(6,xBb,1,2,"input",8),H(7,"label",9),T(8),K()(),H(9,"div",7),F(10,yBb,1,2,"input",10),H(11,"label",11),T(12),K()(),H(13,"div",12),F(14,zBb,1,2,"input",13),H(15,"label",14),T(16),K()()(),H(17,"p",15)(18,"a",16),T(19," Learn more "),K()()());a&2&&(a=R(),A(6),G("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),
A(2),V(" ",XRa(a.AccessLevelStrings.INTERNAL)," "),A(2),G("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),A(2),V(" ",XRa(a.AccessLevelStrings.EXTERNAL_PARTNER)," "),A(2),G("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),A(2),V(" ",XRa(a.AccessLevelStrings.EXTERNAL_PUBLIC)," "),A(2),a=a.documentationLinks,a=a.session.isExternalSession()?a.baseDocumentationUrl+"/concepts/external-access":"http://go/buganizer-external-access",G("href",a,Wd))},FBb=function(a,
b){if(a&1){var c=v();M(0);H(1,"tr")(2,"td")(3,"div",2)(4,"div",3)(5,"label",4);T(6);K();H(7,"button",5);L(8,"mat-icon",6);K()();H(9,"b-multi-user-input",7);Q("usersChange",function(e){var f=x(c).$implicit,h=R();return z(h.updateRolesMap(f.roleType,e))})("isValid",function(e){var f=x(c).$implicit,h=R();h.aclFormValidity.set(f.roleType,e);e=[].concat(u(h.aclFormValidity.values())).every(Boolean);h.formIsValid.emit(e);return z()});K()()();H(10,"td");L(11,"b-icon",8);K();H(12,"td");L(13,"b-icon",8);K();
H(14,"td");L(15,"b-icon",8);K();H(16,"td");L(17,"b-icon",8);K();H(18,"td");L(19,"b-icon",8);K();H(20,"td");L(21,"b-icon",8);K();H(22,"td");L(23,"b-icon",8);K();H(24,"td");L(25,"b-icon",8);K()();N()}if(a&2){a=b.$implicit;b=R();var d;A(3);Jf("bv2-edit-resource-readonly",b.canEdit);A(2);G("htmlFor",a.roleType);A(1);$f(a.label);A(1);G("matTooltip",a.tooltip);A(2);G("idForInputBox",a.roleType)("users",a.users)("ariaLabel",a.ariaLabel)("accessLevel",b.accessLevel)("customValidators",null!==(d=a.customValidators)&&
void 0!==d?d:eg(22,BBb))("includeAliases",a.includeAliases)("includeViewAliases",a.includeViewAliases)("containerChips",(null==a.chips?0:a.chips.values)&&0<a.chips.values.length?fg(26,CBb,gg(23,DBb,a.chips.displayText,a.chips.values)):eg(28,EBb));Af("disabled",b.canEdit?null:!0);A(2);G("name",b.getIconName(a,"componentAdmin"));A(2);G("name",b.getIconName(a,"createIssues"));A(2);G("name",b.getIconName(a,"issueAdmin"));A(2);G("name",b.getIconName(a,"issueEditor"));A(2);G("name",b.getIconName(a,"issueCommenter"));
A(2);G("name",b.getIconName(a,"issueReader"));A(2);G("name",b.getIconName(a,"restrictedReader"));A(2);G("name",b.getIconName(a,"restrictedPlusReader"))}},GBb=function(a){a&1&&(H(0,"div",2),L(1,"b-spinner"),K())},IBb=function(a){if(a&1){var b=v();H(0,"div")(1,"div",3)(2,"mat-tab-group")(3,"mat-tab",4)(4,"roles-view",5);Q("saveRolesMap",function(c){x(b);var d=R();HBb(d.rolesEditor,c);return z()});K()();H(5,"mat-tab",6);L(6,"permissions-view",7);K()()()()}a&2&&(a=R(),A(4),G("rolesMap",a.rolesEditor.rolesMap)("isSaving",
a.isSaving())("component",a.rolesEditor.component)("rolesEditor",a.rolesEditor),A(2),G("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))},KBb=function(a){if(a&1){var b=v();H(0,"b-button",14,15);Q("onAction",function(){x(b);
var c=R(3);return z(JBb(c))});T(2);K()}a&2&&(a=R(3),G("disabled",a.isSaving()),A(2),V(" ",a.archiveAction," Component "))},LBb=function(a){if(a&1){var b=v();H(0,"b-button",16);Q("onAction",function(){x(b);var c=R(3);return z(c.createIssue())});T(1," Create Issue ");K()}a&2&&(a=R(3),G("tooltip",a.isArchived()?"Cannot create issue in archived component":"")("disabled",a.isArchived()))},MBb=function(a){a&1&&(M(0),H(1,"a",11),T(2," Browse Components "),K(),F(3,KBb,3,2,"b-button",12)(4,LBb,2,2,"b-button",
13),N());a&2&&(a=R(2),A(1),G("routerLinkObj",a.componentListRoute(a.component.componentId)),A(2),G("ngIf",a.isAdmin()),A(1),G("ngIf",!a.isAnonymous))},NBb=function(a){a&1&&(H(0,"div",17),L(1,"b-spinner"),K())},OBb=function(a){a&1&&(H(0,"span",38),T(1," (archived) "),K())},PBb=function(a){a&1&&Rf(0)},QBb=function(a){a&1&&Rf(0)},RBb=function(a){a&1&&Rf(0)},SBb=function(a){a&1&&Rf(0)},TBb=function(a){a&1&&Rf(0)},VBb=function(a){if(a&1){var b=v();H(0,"div",78)(1,"div",48)(2,"label",79)(3,"span",45);T(4,
"Parent Component");K()();H(5,"span",50)(6,"div",80)(7,"strong");T(8,"Careful!");K();T(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);L(11,"div",53)(12,"div",54);K()()()();H(13,"b-team-component-picker",81);Q("selectedComponentChange",function(c){x(b);var d=R(4);return z(d.parentComponent=
null!==c&&void 0!==c?c:null)});K()()}a&2&&(a=R(4),A(2),Jf("required",a.isParentComponentRequired&&!UBb(a)),A(11),G("selectedComponent",a.parentComponent)("placeholder","Choose Component")("isRequired",a.isParentComponentRequired&&!UBb(a)))},WBb=function(a){a&1&&(H(0,"a",82),T(1," Learn more "),K());a&2&&(R(4),G("href",ojb(),Wd))},XBb=function(a){if(a&1){var b=v();H(0,"div",83)(1,"label",84)(2,"span",45);T(3,"Retention Settings");K()();H(4,"div",85)(5,"p");T(6,"Please choose a period of time to retain the data stored in this component.");
L(7,"br");H(8,"a",86);T(9," Learn more ");K()()();H(10,"div",87)(11,"b-retention-settings-form",88);Q("modelChange",function(c){x(b);var d=R(4);return z(d.component.retentionSettings=c)})("validChange",function(c){x(b);R(4).retentionIsValid=c;return z()});K()()()}a&2&&(a=R(4),Jf("bv2-edit-resource-readonly",!a.isAdmin()),A(8),G("href",dt(),Wd),A(3),G("issueRetentionDisabled",a.isAccessEditDisabled())("isExternal",a.isExternal())("componentPathInfo",a.component.componentPathInfo)("componentId",a.component.componentId)("initialModel",
a.component.retentionSettings))},ZBb=function(a){if(a&1){var b=v();H(0,"div",92)(1,"b-component-team-picker",93);Q("modelChange",function(c){x(b);var d=R(5);d.component.team=c;d.componentTeam$.next(d.component.team);d.component.slo.inherit&&YBb(d);return z()});K()()}a&2&&(a=R(5),A(1),Yf("anchorTarget",a.hasUnsavedChanges()?"_blank":"_self"),G("isAdmin",a.isAdmin())("isTopLevel",!a.isParentComponentRequired)("parentModel",null==a.parentComponent?null:a.parentComponent.team)("useInternalLink",!0)("model",
a.component.team))},$Bb=function(a){a&1&&(H(0,"div",89)(1,"label",90)(2,"span",45),T(3,"Team Configuration"),K()(),F(4,ZBb,2,6,"div",91),K());a&2&&(a=R(4),Jf("bv2-edit-resource-readonly",!a.isAdmin()),A(4),G("ngIf",a.component.team))},aCb=function(a){a&1&&(H(0,"a",106),T(1),K());if(a&2){a=R().ngIf;var b=R(5),c;G("routerLinkObj",b.getSloManagementLink(a.id));A(1);V(" ",null!==(c=null==a.slo?null:a.slo.name)&&void 0!==c?c:a.id," ")}},bCb=function(a){a&1&&T(0," None ")},cCb=function(a,b){a&1&&(H(0,"div",
103),T(1," Inherited SLO Policy: "),F(2,aCb,2,2,"a",104)(3,bCb,1,0,"ng-template",null,105,tg),K());if(a&2){a=b.ngIf;var c=S(4);A(2);G("ngIf","0"!==a.id)("ngIfElse",c)}},dCb=function(a){a&1&&(H(0,"a",111),T(1),W(2,"titlecase"),K());a&2&&(a=R().ngIf,G("routerLinkObj",a.link),A(1),ag(" (",X(2,3,a.type),") ",a.name," "))},eCb=function(a){a&1&&T(0," None ")},fCb=function(a){a&1&&(H(0,"div",113),L(1,"slo-inheritance-breadcrumbs",114),K());a&2&&(a=R().ngIf,A(1),G("componentPath",a.componentPath)("teamPath",
a.teamPath))},gCb=function(a){a&1&&(M(0),F(1,fCb,2,2,"div",112),N());a&2&&(a=R(6),A(1),G("ngIf",a.showSloInheritancePath))},hCb=function(a,b){if(a&1){var c=v();H(0,"div",107);T(1," Policy Source: ");F(2,dCb,3,5,"a",108)(3,eCb,1,0,"ng-template",null,109,tg);H(5,"button",110);Q("click",function(){x(c);var e=R(5);return z(e.showSloInheritancePath=!e.showSloInheritancePath)});T(6);K();F(7,gCb,2,1,"ng-container",7);W(8,"async");K()}if(a&2){a=b.ngIf;var d=S(4);b=R(5);A(2);G("ngIf",a.link)("ngIfElse",d);
A(3);Af("aria-expanded",b.showSloInheritancePath);A(1);V(" ",b.showSloInheritancePath?"Hide":"Show"," full path ");A(1);G("ngIf",X(8,5,b.policySourcePath$))}},iCb=function(a){a&1&&(M(0),T(1,", "),H(2,"a",116),T(3,"Team Leads"),K(),N());a&2&&(a=R(7),A(2),G("routerLinkObj",{path:"/teams/"+a.component.team.id+"/edit",fragment:"basic"}))},jCb=function(a){a&1&&(M(0),T(1," SLO Admins: "),H(2,"a",116),T(3,"Component Admins"),K(),F(4,iCb,4,1,"ng-container",7),N());a&2&&(a=R(6),A(2),G("routerLinkObj",a.componentPermissions(a.componentId)),
A(2),G("ngIf",a.component.team&&"0"!==a.component.team.id))},kCb=function(a){a&1&&(H(0,"div",115),F(1,jCb,5,2,"ng-container",7),K());a&2&&(a=R(5),A(1),G("ngIf",a.enableTeamLeadSloEditingUi))},lCb=function(a){a&1&&(M(0),L(1,"mat-icon",118),T(2," on "),N())},mCb=function(a){a&1&&(L(0,"mat-icon",119),T(1," off "))},nCb=function(a){a&1&&(M(0),T(1," Lock: "),F(2,lCb,3,0,"ng-container",0),W(3,"async"),F(4,mCb,2,0,"ng-template",null,117,tg),N());if(a&2){var b=S(5);a=R(5);A(2);G("ngIf",X(3,2,a.sloLocked$))("ngIfElse",
b)}},pCb=function(a){if(a&1){var b=v();H(0,"div",120)(1,"mat-checkbox",121);Q("change",function(c){x(b);var d=R(5);c=c.checked;d.component.slo.inherit=!c;c||YBb(d);return z()});H(2,"span");T(3,"Override the inherited SLO policy");K()()()}a&2&&(a=R(5),A(1),G("checked",!a.component.slo.inherit)("disabled",!oCb(a)))},qCb=function(a){if(a&1){var b=v();H(0,"div",128)(1,"label",129);T(2," Justification ");K();L(3,"mat-icon",130);H(4,"textarea",131);Q("ngModelChange",function(c){x(b);var d=R(6);return z(d.component.slo.comment=
c)});K()()}a&2&&(a=R(6),A(4),G("ngModel",a.component.slo.comment)("disabled",!et(a)))},rCb=function(a){a&1&&(H(0,"a",132),L(1,"mat-icon",133),K());a&2&&(a=R(6),Yf("target",a.hasUnsavedChanges()?"_blank":"_self"),G("routerLinkObj",a.getSloManagementLink(a.component.slo.id)))},vCb=function(a){if(a&1){var b=v();M(0);F(1,qCb,5,2,"div",122);H(2,"mat-slide-toggle",123);Q("ngModelChange",function(c){x(b);var d=R(5);return z(d.isEnableSloChecked=c)})("change",function(c){x(b);var d=R(5);c=c.checked;d.isEnableSloChecked=
c;c||(d.component.slo.id="0");return z()});T(3," Enable SLO ");K();H(4,"div",124)(5,"label",125);T(6,"SLO policy");K();H(7,"slo-picker",126);Q("onSloSelect",function(c){x(b);var d=R(5);return z(d.onSloChange(c))});K();F(8,rCb,2,2,"a",127);K();N()}a&2&&(a=R(5),A(1),G("ngIf",sCb(a)),A(1),Jf("indented",tCb(a)),G("ngModel",a.isEnableSloChecked)("disabled",!uCb(a)),A(5),G("bv2Disabled",!a.isEnableSloChecked||!uCb(a))("boundId",a.component.slo.id)("bv2Placeholder",a.isEnableSloChecked&&uCb(a)?"Type to search for an SLO":
"SLO disabled"),A(1),G("ngIf",a.component.slo.id&&"0"!==a.component.slo.id))},wCb=function(a){a&1&&(H(0,"div",94)(1,"div",48)(2,"label",95)(3,"span",45),T(4,"SLO Configuration"),K()(),H(5,"span",50)(6,"div",96)(7,"strong"),T(8,"Careful!"),K(),T(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),L(11,"div",53)(12,"div",54),K()()()(),H(13,"div",97),F(14,cCb,5,2,"div",98),
W(15,"async"),F(16,hCb,9,7,"div",99),W(17,"async"),F(18,kCb,2,1,"div",100),H(19,"div",101),F(20,nCb,6,4,"ng-container",7),K()(),F(21,pCb,4,2,"div",102)(22,vCb,9,9,"ng-container",7),K());if(a&2){a=R(4);Jf("bv2-edit-resource-readonly",!et(a));A(14);G("ngIf",X(15,8,a.inheritedSlo$));A(2);G("ngIf",X(17,10,a.sloPolicySource$));A(2);G("ngIf",a.sessionIsInternal);A(2);G("ngIf",a.enableSloLockingUi);A(1);G("ngIf",tCb(a));A(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;G("ngIf",a)}},xCb=function(a){if(a&1){var b=v();H(0,"recommendation-settings",134);Q("hasUnsavedChanges",function(c){x(b);var d=R(4);return z(d.hasUnsavedRecommendationSettings=c)})("isSaving",function(c){x(b);var d=R(4);return z(d.savingRecommendationSettings=c)});K()}a&2&&(a=R(4),G("componentId",a.componentId))},yCb=function(a){if(a&1){var b=v();H(0,"div",74)(1,"b-button",135);Q("onAction",function(){x(b);var c=R(4);
return z(c.saveMetadata())});T(2," Update ");K();H(3,"b-button",136);Q("onAction",function(){x(b);var c=R(4);return z(c.revertMetadataChanges())});T(4," Revert Changes ");K();H(5,"b-button",136);Q("onAction",function(){x(b);var c=R(4);return z(c.createChild())});T(6," Create Child Component ");K()()}a&2&&(a=R(4),A(1),G("disabled",a.isSaving()||!a.hasUnsavedMetadataChanges()),A(2),G("disabled",a.isSaving()||!a.hasUnsavedMetadataChanges()),A(2),G("disabled",a.hasUnsavedMetadataChanges()))},zCb=function(a){if(a&
1){var b=v();H(0,"b-button",137);Q("onAction",function(){x(b);var c=R(4);return z(c.showUpdateHistoryModal())});T(1," View History ");K()}},ACb=function(a){a&1&&L(0,"b-spinner")},BCb=function(a){if(a&1){var b=v();H(0,"b-component-children-list",138);Q("onVisit",function(){x(b);var c=R(4);return z(c.trackClick("openChildComponent"))});K()}a&2&&(a=R(4),G("children",a.childComponents))},CCb=function(a){a&1&&(H(0,"span"),T(1," No child components. "),K())},DCb=function(a){if(a&1){var b=v();H(0,"div",
39)(1,"form",40,41);L(3,"b-error-banner",42);H(4,"div",43)(5,"label",44)(6,"span",45);T(7,"Name");K()();H(8,"input",46);Q("ngModelChange",function(c){x(b);var d=R(3);return z(d.component.name=c)});K()();H(9,"div",47)(10,"div",48)(11,"label",49)(12,"span",45);T(13,"Description");K()();H(14,"span",50)(15,"div",51);T(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);L(18,"div",
53)(19,"div",54);K()()()();H(20,"textarea",55);Q("ngModelChange",function(c){x(b);var d=R(3);return z(d.component.description=c)});T(21,"            ");K()();F(22,VBb,14,5,"div",56);H(23,"div",57)(24,"div",58)(25,"mat-checkbox",59);Q("change",function(c){x(b);var d=R(3);return z(d.setCommentEditState(c.checked))});K()();H(26,"div")(27,"strong",60);T(28,"Editable Comments");K();H(29,"div",61);T(30," When checked, users with comment access can modify their own issue comments, and editors can modify the first issue comment. ");
L(31,"br");F(32,WBb,2,1,"a",62);K()()();F(33,XBb,12,8,"div",63)(34,$Bb,5,3,"div",64)(35,wCb,23,12,"div",65);H(36,"div",66)(37,"div",48)(38,"label",67)(39,"span",45);T(40,"Component Alias");K()();H(41,"span",50)(42,"div",68);T(43," You can create a new issue in this component by sending an email to this alias. ");L(44,"br");H(45,"a",69);T(46," Learn more ");K();H(47,"div",52);L(48,"div",53)(49,"div",54);K()()()();H(50,"div")(51,"a",70);T(52);K()()();F(53,xCb,1,1,"recommendation-settings",71);H(54,
"div",72);F(55,yCb,7,3,"div",73);H(56,"div",74);F(57,zCb,2,0,"b-button",75);K()();H(58,"div",76)(59,"label")(60,"span",45);T(61,"Child Components");K()();F(62,ACb,1,0,"b-spinner",7)(63,BCb,1,1,"b-component-children-list",77)(64,CCb,2,0,"span",7);K()()()}a&2&&(a=R(3),A(1),Jf("show-errors",a.error),A(2),G("error",a.error),A(1),Jf("bv2-edit-resource-readonly",ft(a)),A(4),G("ngModel",a.component.name)("disabled",ft(a)),A(1),Jf("bv2-edit-resource-readonly",ft(a)),A(11),G("ngModel",a.component.description)("disabled",
ft(a)),A(2),G("ngIf",a.isAdmin()),A(1),Jf("bv2-edit-resource-readonly",a.isAccessEditDisabled()),A(2),G("checked",a.commentEditsEnabled)("disabled",ft(a)),A(7),G("ngIf",!a.sessionIsExternal),A(1),G("ngIf",!a.sessionIsExternal),A(1),G("ngIf",a.sessionIsInternal),A(1),G("ngIf",a.component.slo&&a.sessionIsInternal),A(10),G("href",a.documentationLinks.baseDocumentationUrl+"/guides/create-issue-email",Wd),A(6),Xf("href","mailto:",a.component.emailAlias,"",Wd),Af("aria-label","Component Alias -"+a.component.emailAlias),
A(1),$f(a.component.emailAlias),A(1),G("ngIf",a.enableRecommendationSettingsPage&&a.sessionIsInternal),A(2),G("ngIf",a.isEditorInternal||et(a)),A(2),G("ngIf",a.componentHistoryUiEnabled),A(5),G("ngIf",void 0===a.childComponents),A(1),G("ngIf",a.childComponents&&0<a.childComponents.length),A(1),G("ngIf",a.childComponents&&0===a.childComponents.length))},ECb=function(a){a&1&&(H(0,"div",143),T(1," Standard Fields "),K())},GCb=function(a){if(a&1){var b=v();H(0,"b-component-standard-fields",144);Q("updateComponent",
function(c){x(b);var d=R(4);return z(FCb(d,c))});K()}a&2&&(a=R(4),G("effortSpec",a.component.effortSpec)("parentEffortSpec",null==a.parentComponent?null:a.parentComponent.effortSpec)("disabled",!a.isEditorInternal))},HCb=function(a){a&1&&(H(0,"div",145),T(1," Custom Fields "),K())},ICb=function(a){a&1&&(F(0,ECb,2,0,"div",139)(1,GCb,1,3,"b-component-standard-fields",140)(2,HCb,2,0,"div",141),L(3,"b-component-custom-fields",142));a&2&&(a=R(3),G("ngIf",a.sessionIsInternal&&!a.isExternal()),A(1),G("ngIf",
a.sessionIsInternal&&!a.isExternal()),A(1),G("ngIf",a.sessionIsInternal&&!a.isExternal()),A(1),G("editMode",a.isEditorInternal)("isSaving",a.isSaving())("component",a.component)("parentComponent",a.parentComponent))},KCb=function(a){a&1&&(H(0,"a",149),T(1," Learn more "),K());a&2&&(R(4),G("href",JCb(),Wd))},MCb=function(a){if(a&1){var b=v();H(0,"div",39)(1,"div",146);T(2," Field ordering will be applied to all issues and templates in this component, including the right panel on the Issue Detail page. ");
F(3,KCb,2,1,"a",147);K();H(4,"b-field-reorder",148);Q("onReload",function(){x(b);var c=R(3);return z(LCb(c))});K()()}a&2&&(a=R(3),A(3),G("ngIf",a.sessionIsInternal),A(1),G("fields",a.effectiveCustomFields)("componentId",a.componentId)("fieldOrdering",a.component.fieldOrdering)("isAdmin",a.isAdmin()))},NCb=function(a){a&1&&L(0,"b-edit-templates",151);a&2&&(a=R(4),G("componentId",a.componentId)("supportCustomFields",!0))},OCb=function(a){a&1&&(H(0,"div"),T(1),K());a&2&&(a=R().$implicit,A(1),$f(a.description))},
PCb=function(a,b){a&1&&(H(0,"div",153)(1,"label"),T(2),K(),F(3,OCb,2,1,"div",7),H(4,"div")(5,"a",70),T(6),K()()());a&2&&(a=b.$implicit,A(2),$f(a.name),A(1),G("ngIf",a.description),A(2),G("href",a.url,Wd),Af("aria-label","Click to open the template "+a.name),A(1),$f(a.url))},QCb=function(a){a&1&&(M(0),F(1,PCb,7,5,"div",152),N());a&2&&(a=R(4),A(1),G("ngForOf",a.templates))},RCb=function(a){a&1&&(H(0,"div",39),F(1,NCb,1,2,"b-edit-templates",150)(2,QCb,2,1,"ng-container",7),K());a&2&&(a=R(3),A(1),G("ngIf",
a.isEditorInternal),A(1),G("ngIf",!a.isEditorInternal))},SCb=function(a){a&1&&L(0,"role-based-permissions")},TCb=function(a){if(a&1){var b=v();H(0,"div")(1,"div",18)(2,"h2");T(3);K();F(4,OBb,2,0,"span",19);H(5,"a",20);Q("click",function(){x(b);var k=R(2);return z(k.trackClick("recentIssues"))});T(6," (Recent Issues)");K();L(7,"b-component-access-level-indicator",21)(8,"b-tracker-chip-smart",22);K();H(9,"div",23);L(10,"b-component-breadcrumb",24)(11,"div",25);K();H(12,"mat-tab-group",26);Q("selectedIndexChange",
function(k){x(b);var q=R(2);return z(q.tabChange(k))});H(13,"mat-tab",27);F(14,PBb,1,0,"ng-container",28);K();H(15,"mat-tab",29);F(16,QBb,1,0,"ng-container",28);K();H(17,"mat-tab",30);F(18,RBb,1,0,"ng-container",28);K();H(19,"mat-tab",31);F(20,SBb,1,0,"ng-container",28);K();H(21,"mat-tab",32);F(22,TBb,1,0,"ng-container",28);K()();F(23,DCb,65,30,"ng-template",null,33,tg)(25,ICb,4,7,"ng-template",null,34,tg)(27,MCb,5,5,"ng-template",null,35,tg)(29,RCb,3,2,"ng-template",null,36,tg)(31,SCb,1,0,"ng-template",
null,37,tg);K()}if(a&2){var c=S(24),d=S(26),e=S(28),f=S(30),h=S(32);a=R(2);A(3);ag(" Component ",a.component.componentId,": ",a.currentName," ");A(1);G("ngIf",a.isArchived());A(1);G("routerLinkObj",a.getRecentIssuesLink());A(2);G("accessLevel",a.getComponentAccessLevel());A(1);G("trackerId",a.component.trackerId);A(2);G("componentPathInfo",a.component.componentPathInfo)("isArchived",a.isArchived())("label","Parent Component");A(2);G("selectedIndex",a.selectedTabIndex);A(1);G("id",a.Tab.BASIC);A(1);
G("ngTemplateOutlet",c);A(1);G("id",a.Tab.CUSTOM_FIELDS)("label",a.sessionIsInternal&&!a.isExternal()?"Fields":"Custom Fields");A(1);G("ngTemplateOutlet",d);A(1);G("id",a.Tab.FIELD_ORDERING);A(1);G("ngTemplateOutlet",e);A(1);G("id",a.Tab.TEMPLATES);A(1);G("ngTemplateOutlet",f);A(1);G("id",a.Tab.ACCESS);A(1);G("ngTemplateOutlet",h)}},UCb=function(a){a&1&&(H(0,"span")(1,"p"),T(2," Archiving a component causes it and its subcomponents and all issues in those components to be hidden from normal use."),
L(3,"br"),H(4,"a",159),T(5," Learn more "),K()(),H(6,"p"),T(7," If you no longer have a reason to retain the data stored in these components, please change the retention period as needed "),L(8,"br"),T(9," so they can be scheduled for deletion. "),H(10,"a",160),T(11," Learn more "),K()()());a&2&&(R(3),A(4),G("href","http://go/archived-components",Wd),A(6),G("href",dt(),Wd))},VCb=function(a){a&1&&(H(0,"span"),T(1," : "),H(2,"b"),T(3),K()());if(a&2){a=R().$implicit;var b=R(3);Jf("b-archive-warning-indef",
!a.retentionSettings.retentionPeriodDays);A(3);$f(b.getRetentionPeriod(a))}},WCb=function(a,b){a&1&&(H(0,"span")(1,"span"),T(2),K(),F(3,VCb,4,3,"span",161),L(4,"br"),K());a&2&&(a=b.$implicit,b=R(3),A(2),$f(a.componentPath),A(1),G("ngIf","Archive"===b.archiveAction))},XCb=function(a){if(a&1){var b=v();H(0,"h2",154);T(1);K();H(2,"mat-dialog-content");F(3,UCb,12,2,"span",7);H(4,"p");T(5," The following components will be affected: ");K();H(6,"div",155);F(7,WCb,5,2,"span",156);K()();H(8,"mat-dialog-actions")(9,
"button",157);Q("click",function(){x(b);var c=R(2);c.archive();c.isArchiving=!1;return z()});T(10," Yes ");K();H(11,"button",158);Q("click",function(){x(b);R(2).isArchiving=!1;return z()});T(12," No ");K()()}a&2&&(a=R(2),A(1),$f(a.component&&a.archiveAction?"Are you sure you want to "+a.archiveAction.toLowerCase()+' "'+a.component.name+'" and its subcomponents?':""),A(2),G("ngIf","Archive"===a.archiveAction),A(4),G("ngForOf",a.descendants))},YCb=function(a){if(a&1){var b=v();M(0);H(1,"div",2)(2,"div",
3)(3,"div",4)(4,"b-button",5);Q("onAction",function(){x(b);var c=R();return z(c.back())});L(5,"b-icon",6);K();F(6,MBb,5,3,"ng-container",7);K()()();H(7,"div",8);F(8,NBb,2,0,"div",9)(9,TCb,33,21,"div",7);K();F(10,XCb,13,3,"ng-template",null,10,tg);N()}a&2&&(a=R(),A(6),G("ngIf",a.component),A(2),G("ngIf",a.isLoading),A(1),G("ngIf",!a.isLoading&&a.component&&a.component.componentId))},ZCb=function(a){a&1&&(H(0,"div",162),L(1,"b-tracker-redirect",163),K());a&2&&(a=R(),A(1),G("component",a.component))},
$Cb=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}},aDb=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)}},bDb=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(f){return f===b});e<a.length;e++)d.push({id:a[e],name:c[e]});return d},cDb=function(a,b){a&1&&(H(0,"div",40),L(1,"b-team-breadcrumb",41),K());a&2&&(a=b.ngIf,A(1),G("teamPath",a))},dDb=function(a,b){a&1&&(M(0),T(1),N());a&2&&(a=b.ngIf,A(1),$f(a.trim()))},eDb=function(a){a&1&&T(0," No description ")},fDb=function(a,b){a&1&&(M(0),L(1,"b-multi-user-input",42),N());a&2&&(a=b.ngIf,A(1),G("users",a),Af("disabled",!0))},gDb=function(a){a&1&&(M(0),
H(1,"p"),T(2,"No child teams"),K(),N())},hDb=function(a,b){a&1&&(M(0),L(1,"br"),H(2,"a",45),T(3),K(),N());a&2&&(a=b.$implicit,A(2),Xf("routerLink","/teams/",a.id,"/edit"),A(1),$f(a.name))},iDb=function(a){a&1&&F(0,hDb,4,2,"ng-container",44);a&2&&(a=R().ngIf,G("ngForOf",a))},jDb=function(a,b){a&1&&(M(0),F(1,gDb,3,0,"ng-container",18)(2,iDb,1,1,"ng-template",null,43,tg),N());if(a&2){a=b.ngIf;var c=S(3);A(1);G("ngIf",0===a.length)("ngIfElse",c)}},kDb=function(a){a&1&&(H(0,"a",49),T(1),K());if(a&2){a=
R().ngIf;var b;G("routerLinkObj",a.link);A(1);V(" ",null!==(b=null==a.slo?null:a.slo.name)&&void 0!==b?b:a.id," ")}},lDb=function(a){a&1&&T(0," None ")},mDb=function(a,b){a&1&&(H(0,"div",46),T(1," Inherited SLO Policy: "),F(2,kDb,2,2,"a",47)(3,lDb,1,0,"ng-template",null,48,tg),K());if(a&2){a=b.ngIf;var c=S(4);A(2);G("ngIf",a.link)("ngIfElse",c)}},nDb=function(a,b){a&1&&(H(0,"a",50),T(1),K());a&2&&(a=b.ngIf,G("routerLinkObj",a.link),A(1),V(" ",a.name," "))},oDb=function(a){a&1&&T(0," None ")},pDb=
function(a){a&1&&(M(0),L(1,"mat-icon",52),T(2," on "),N())},qDb=function(a){a&1&&(L(0,"mat-icon",53),T(1," off "))},rDb=function(a){a&1&&(M(0),T(1," Lock: "),F(2,pDb,3,0,"ng-container",18)(3,qDb,2,0,"ng-template",null,51,tg),N());if(a&2){var b=S(4);a=R(2);A(2);G("ngIf",a.originalSloLock)("ngIfElse",b)}},sDb=function(a){if(a&1){var b=v();H(0,"div",55)(1,"mat-checkbox",56);Q("change",function(c){x(b);var d=R(3);d.isSloInheritEnabled=!c.checked;d.isSloInheritEnabled&&(d.sloId=d.parentTeam.slo.sloId);
return z()});H(2,"span");T(3,"Override the inherited SLO");K()()()}a&2&&(a=R(3),A(1),G("disabled",!a.hasEditAccess)("checked",!a.isSloInheritEnabled))},tDb=function(a){if(a&1){var b=v();H(0,"div",61)(1,"label",62);T(2," Justification to override the org SLO ");K();L(3,"mat-icon",63);H(4,"textarea",64);Q("ngModelChange",function(c){x(b);var d=R(4);return z(d.sloJustification$.next(c))});W(5,"async");K()()}a&2&&(a=R(4),A(3),G("matTooltip",a.justificationRequiredText),Af("aria-label",a.justificationRequiredText),
A(1),G("ngModel",X(5,4,a.sloJustification$))("disabled",!a.hasEditAccess))},uDb=function(a,b){a&1&&(H(0,"a",65),W(1,"async"),L(2,"mat-icon",9),K());a&2&&(a=b.ngIf,b=R(4),Yf("target",X(1,2,b.hasUnsavedChanges$)?"_blank":"_self"),G("routerLinkObj",a))},vDb=function(a){if(a&1){var b=v();M(0);F(1,tDb,6,6,"div",57);H(2,"div",14)(3,"mat-slide-toggle",58);Q("ngModelChange",function(d){x(b);var e=R(3);return z(e.enableSloChecked=d)})("change",function(d){x(b);var e=R(3);return z(e.enableSloChecked=d.checked)});
T(4," Enable SLO ");K();H(5,"slo-picker",59);Q("onSloSelect",function(d){x(b);var e=R(3);return z(e.onSloChange(d))});K();F(6,uDb,3,4,"a",60);W(7,"async");K();N()}if(a&2){a=R().ngIf;var c=R(2);A(1);G("ngIf",!a.value);A(2);Jf("indented",!a.value);G("ngModel",c.enableSloChecked)("disabled",!c.hasEditAccess);A(2);G("boundId",c.sloId)("bv2Disabled",!c.hasEditAccess||!c.enableSloChecked||c.isSloInheritEnabled)("bv2Placeholder",c.enableSloChecked?"Type to search for an SLO":"SLO disabled");A(1);G("ngIf",
X(7,9,c.sloPickerLink$))}},wDb=function(a,b){a&1&&(M(0),F(1,sDb,4,2,"div",54)(2,vDb,8,11,"ng-container",6),N());a&2&&(a=b.ngIf,b=R(2),A(1),G("ngIf",!a.value),A(1),G("ngIf",!b.isSloInheritEnabled))},xDb=function(a){if(a&1){var b=v();H(0,"div",14)(1,"mat-checkbox",66);Q("change",function(c){x(b);var d=R(2);return z(d.sloLocked=c.checked)});H(2,"span");T(3,"Lock for all child teams");K()()()}a&2&&(a=R(2),A(1),G("checked",a.sloLocked)("disabled",!a.canEditSloLock))},ADb=function(a){if(a&1){var b=v();
H(0,"div",67)(1,"div",68)(2,"button",69);Q("click",function(){x(b);var c=R().ngIf,d=R();return z(yDb(d,c))});W(3,"async");T(4," Update ");K();H(5,"button",70);Q("click",function(){x(b);var c=R(2);return z(zDb(c))});W(6,"async");T(7," Revert changes ");K()()()}a&2&&(a=R(2),A(2),G("disabled",!X(3,2,a.hasUnsavedChanges$)),A(3),G("disabled",!X(6,4,a.hasUnsavedChanges$)))},BDb=function(a){a&1&&(M(0),H(1,"p"),T(2,"No mapped components"),K(),N())},CDb=function(a,b){a&1&&(H(0,"ul")(1,"li")(2,"a",45),T(3),
K()()());a&2&&(a=b.$implicit,A(2),Xf("routerLink","/components/",a.componentId,"/manage"),A(1),V(" ",a.name," "))},DDb=function(a){a&1&&(F(0,CDb,4,2,"ul",44),W(1,"async"));a&2&&(a=R(3),G("ngForOf",X(1,1,a.associatedComponents$)))},EDb=function(a,b){a&1&&(M(0),F(1,BDb,3,0,"ng-container",18)(2,DDb,2,3,"ng-template",null,71,tg),N());if(a&2){a=b.ngIf;var c=S(3);A(1);G("ngIf",0===a.length)("ngIfElse",c)}},IDb=function(a,b){if(a&1){var c=v();M(0);H(1,"div",7)(2,"h2");T(3);H(4,"a",8);T(5);L(6,"mat-icon",
9);K()()();F(7,cDb,2,1,"div",10);W(8,"async");H(9,"mat-tab-group",11);Q("selectedIndexChange",function(f){x(c);var h=R();return z(h.selectedTabIndex=f)})("selectedIndexChange",function(f){x(c);var h=R();return z(h.tabChange(f))});H(10,"mat-tab",12)(11,"div",13);T(12," Team information on this page comes from ");H(13,"a",8);T(14," Team Graph ");L(15,"mat-icon",9);K();T(16," and is view only. ");H(17,"div",14)(18,"div",15)(19,"label")(20,"span",16);T(21,"Description");K()();H(22,"div",17);F(23,dDb,
2,1,"ng-container",18)(24,eDb,1,0,"ng-template",null,19,tg);K()()();H(26,"div",14)(27,"div",20)(28,"label",21)(29,"span",16);T(30," Team admins ");K();H(31,"span",22)(32,"div",23);T(33," Team admins are team leads from Team Graph. ");H(34,"div",24);L(35,"div",25)(36,"div",26);K()()()();F(37,fDb,2,2,"ng-container",6);W(38,"async");K()();H(39,"div",14)(40,"div",15)(41,"label")(42,"span",16);T(43,"Child team(s)");K()();F(44,jDb,4,2,"ng-container",6);W(45,"async");K()()()();H(46,"mat-tab",27)(47,"div",
13)(48,"div",20)(49,"label",21)(50,"span",16);T(51,"SLO configuration");K()();H(52,"span",22)(53,"div",28)(54,"strong");T(55,"Careful!");K();T(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);L(58,"div",25)(59,"div",26);K()()()();H(60,"div",29);F(61,mDb,5,2,"div",30);W(62,"async");H(63,"div",31);T(64," Policy Source: ");F(65,nDb,2,2,"a",32);W(66,"async");F(67,oDb,1,0,"ng-template",
null,33,tg);K();H(69,"div",34);F(70,rDb,5,2,"ng-container",6);K()();L(71,"b-error-banner",35);F(72,wDb,3,2,"ng-container",6);W(73,"async");F(74,xDb,4,2,"div",36);H(75,"div",14)(76,"div",20)(77,"label",21)(78,"span",16);T(79," SLO lead ");K()();H(80,"span",22)(81,"div",23);T(82," Single team lead receiving SLO reports of unassigned issues. ");H(83,"div",24);L(84,"div",25)(85,"div",26);K()()()();H(86,"div");M(87);H(88,"b-multi-user-input",37);Q("usersChange",function(f){x(c);var h=R();1<f.length||(h.sloLead=
1===f.length?f[0]:"");return z()})("isValid",function(f){x(c);var h=R();return z(h.isSloLeadValid=f)});K();N();K()();F(89,ADb,8,6,"div",38);K()();H(90,"mat-tab",39)(91,"div",13)(92,"div",14)(93,"div",15)(94,"label")(95,"span",16);T(96," Component(s) that have mapped to this team ");K()()();F(97,EDb,4,2,"ng-container",6);W(98,"async");K()()()();N()}if(a&2){a=b.ngIf;var d=S(25),e=S(68);b=R();A(3);V(" Team ",a.teamId,": ");A(1);Xf("href","https://moma.corp.google.com/team/",a.teamId,"",Wd);A(1);V(" ",
a.name," ");A(2);G("ngIf",X(8,27,b.teamPath$));A(2);G("selectedIndex",b.selectedTabIndex);A(1);G("id",b.Tab.BASIC);A(3);Xf("href","https://moma.corp.google.com/team/",a.teamId,"",Wd);A(10);G("ngIf",a.description)("ngIfElse",d);A(14);G("ngIf",X(38,29,b.adminsAndLeads$));A(7);G("ngIf",X(45,31,b.childTeams$));A(2);G("id",b.Tab.SLO);A(15);G("ngIf",X(62,33,b.inheritedSlo$));A(4);G("ngIf",X(66,35,b.sloPolicySource$))("ngIfElse",e);A(5);G("ngIf",b.enableSloLockingUi);A(1);G("error",b.error);A(1);G("ngIf",
fg(41,FDb,X(73,37,b.isRootTeam$)));A(2);G("ngIf",b.enableSloLockingUi);A(14);G("users",b.sloLead?fg(43,GDb,b.sloLead):eg(45,HDb))("customValidators",b.sloLeadUserValidators)("detailedUserValidators",b.sloLeadGooglerValidators)("maxUserAllowed",1);Af("disabled",b.hasEditAccess?null:!0);A(1);G("ngIf",b.hasEditAccess);A(1);G("id",b.Tab.MAPPINGS);A(7);G("ngIf",X(98,39,b.associatedComponents$))}},JDb=function(a,b){a&1&&(H(0,"mat-chip-option",3)(1,"span",4),T(2),K()());if(a&2){a=b.$implicit;b=R().$implicit;
var c=R();G("value",b)("selected",c.selectedSources.includes(b));A(1);G("matTooltip",a.tooltipText);A(1);V(" ",a.displayName," ")}},KDb=function(a,b){a&1&&(M(0),F(1,JDb,3,4,"mat-chip-option",2),N());a&2&&(a=b.$implicit,b=R(),A(1),G("ngIf",b.DEFINITIONS[a]))},LDb=function(a,b){if(a&1){var c=v();H(0,"button",7);Q("click",function(){var d=x(c).$implicit,e=R();d=d.numberOfDays;e.selectedTimeBoundary=d;e.change.emit(d);return z()});T(1);K()}a&2&&(a=b.$implicit,b=R(),G("disabled",a.numberOfDays===b.selectedTimeBoundary),
A(1),V(" ",a.label," "))},MDb=function(a){if(a&1){var b=v();M(0);H(1,"div",1)(2,"span",2)(3,"a",3);Q("click",function(){x(b);R().onChipClicked.emit();return z()});T(4,"DMA");K()()();N()}a&2&&(a=R(),A(1),G("matTooltip",a.DMA_TOOLTIP_TEXT))},NDb=function(a,b){if(a&1){var c=v();M(0);H(1,"source-filter-chips",5);Q("change",function(d){x(c);var e=R().missionControlPrefs;d=d.map(uFa);e.prefs.needsAttentionSources=d;gt(e,{needsAttentionSources:d,isNeedsAttentionSourcesConfigured:!0});return z()});K();N()}a&
2&&(a=b.ngIf,b=R(),A(1),G("sourceFilterKeys",b.ALL_NEEDS_ATTENTION_SOURCE_FILTERS)("selectedSources",a))},ODb=function(a,b){if(a&1){var c=v();M(0);H(1,"time-boundary-filter",6);Q("change",function(d){x(c);var e=R().missionControlPrefs;e.prefs.needsAttentionDaysOld=d;gt(e,{needsAttentionDaysOld:d});return z()});K();N()}a&2&&(a=b.ngIf,A(1),G("selectedTimeBoundary",a))},PDb=function(a){a&1&&(H(0,"p",8),T(1," No alerts "),K())},RDb=function(a){if(a&1){var b=v();H(0,"th",25)(1,"mat-checkbox",26);Q("change",
function(d){x(b);var e=R(2).$implicit,f=R(2);return z(d?QDb(f,e):null)});K()()}if(a&2){a=R(2).$implicit;var c=R(2);A(1);G("checked",c.selection.hasValue()&&c.selection.selected.length===a.length)("indeterminate",c.selection.hasValue()&&c.selection.selected.length!==a.length)}},SDb=function(a,b){if(a&1){var c=v();H(0,"td",27)(1,"mat-checkbox",28);Q("click",function(d){return d.stopPropagation()})("change",function(d){var e=x(c).$implicit,f=R(4);return z(d?f.selection.toggle(e.id):null)});K()()}a&2&&
(a=b.$implicit,b=R(4),A(1),G("checked",b.selection.isSelected(a.id)))},TDb=function(a){a&1&&(H(0,"th",25),T(1),K());a&2&&(a=R(4),A(1),$f(a.selection.hasValue()?"":"Type"))},UDb=function(a,b){a&1&&(H(0,"td",27),L(1,"mat-icon",29),K());a&2&&(a=b.$implicit,A(1),Mf("product-icon ",a.icon,""),G("matTooltip",a.type)("svgIcon",a.icon))},VDb=function(a){a&1&&(H(0,"span"),T(1,"Description"),K())},XDb=function(a){if(a&1){var b=v();H(0,"button",31);Q("click",function(){x(b);var c=R(5);return z(WDb(c))});T(1,
"Dismiss");K()}},YDb=function(a){a&1&&(H(0,"th",25),F(1,VDb,2,0,"span",2)(2,XDb,2,0,"button",30),K());a&2&&(a=R(4),A(1),G("ngIf",!a.selection.hasValue()),A(1),G("ngIf",a.selection.hasValue()))},ZDb=function(a){a&1&&L(0,"b-issue-priority-display",39);a&2&&(a=R(2).$implicit,G("issuePriority",a.priority))},$Db=function(a){if(a&1){var b=v();H(0,"div",34);L(1,"b-component-access-level-indicator",35);F(2,ZDb,1,1,"b-issue-priority-display",36);H(3,"a",37);Q("auxclick",function(){x(b);var d=R().$implicit,
e=R(2).$implicit,f=R(2);return z(f.sendClickAnalytics(d,e.slice(0,f.numDisplayedRows)))});T(4);K();H(5,"onedev-dma-chip",38);Q("onChipClicked",function(){x(b);var d=R(5);return z(d.sendDmaAnalytics())});K()()}if(a&2){a=R().$implicit;var c=R(4);A(1);G("accessLevel",a.accessLevel)("compactMode",!0);A(1);G("ngIf",a.priority);A(1);G("href",a.link,Wd);Af("target",a.icon!==c.BUGANIZER_SOURCE_ICON?"_blank":null);A(1);V(" ",a.description," ");A(1);G("hotlistIds",a.hotlistIds)}},aEb=function(a){a&1&&(H(0,
"span",40),T(1,"No access to linked file"),K())},bEb=function(a,b){a&1&&(H(0,"td",27),F(1,$Db,6,7,"div",32)(2,aEb,2,0,"ng-template",null,33,tg),K());if(a&2){a=b.$implicit;var c=S(3);A(1);G("ngIf",a.description&&""!==a.description)("ngIfElse",c)}},cEb=function(a){a&1&&(H(0,"th",25),T(1),K());a&2&&(a=R(4),A(1),$f(a.selection.hasValue()?"":"Most recent alert"))},dEb=function(a){a&1&&L(0,"b-formatted-date-time",42);a&2&&(a=R().$implicit,G("timestamp",a.timestamp)("paddingLeftPx",0))},eEb=function(a,b){a&
1&&(H(0,"td",27),F(1,dEb,1,2,"b-formatted-date-time",41),K());a&2&&(a=b.$implicit,A(1),G("ngIf",a.timestamp))},fEb=function(a){a&1&&(H(0,"th",25),T(1),K());a&2&&(a=R(4),A(1),$f(a.selection.hasValue()?"":"Alert"))},gEb=function(a){a&1&&(H(0,"div",48),T(1),K());if(a&2){a=R().$implicit;var b=R(6);Mf("signal-chip type-button urgent-",ht(a),"");G("matTooltip",b.SIGNAL_TO_TOOLTIP_TEXT.get(a));A(1);V(" ",b.SIGNAL_TO_DISPLAY_TEXT.get(a)," ")}},hEb=function(a,b){a&1&&(M(0),F(1,gEb,2,5,"div",47),N());a&2&&
(a=b.$implicit,b=R(6),A(1),G("ngIf",b.SIGNAL_TO_DISPLAY_TEXT.has(a)))},iEb=function(a){a&1&&(H(0,"div",45),F(1,hEb,2,1,"ng-container",46),K());a&2&&(a=R().$implicit,A(1),G("ngForOf",a.signals))},kEb=function(a,b){a&1&&(H(0,"div",50)(1,"div",48),T(2),K(),H(3,"div",51),T(4),K()());if(a&2){a=b.ngIf;b=R(2).$implicit;var c=R(4);A(1);Mf("signal-chip type-button urgent-",ht(a),"");G("matTooltip",c.SIGNAL_TO_TOOLTIP_TEXT.get(a));A(1);V(" ",c.SIGNAL_TO_DISPLAY_TEXT.get(a)," ");A(1);G("matTooltip",jEb(b.signals,
a));A(1);V(" and ",b.signals.length-1," more ")}},mEb=function(a){a&1&&F(0,kEb,5,7,"div",49);a&2&&(a=R().$implicit,R(4),G("ngIf",lEb(a.signals)))},nEb=function(a,b){a&1&&(H(0,"td",27),F(1,iEb,2,1,"div",43)(2,mEb,1,1,"ng-template",null,44,tg),K());if(a&2){a=b.$implicit;var c=S(3);A(1);G("ngIf",3>a.signals.length)("ngIfElse",c)}},oEb=function(a){a&1&&(H(0,"th",25),T(1),K());a&2&&(a=R(4),A(1),$f(a.selection.hasValue()?"":"Action"))},pEb=function(a,b){a&1&&(H(0,"td",27)(1,"a",52),T(2),K()());a&2&&(a=
b.$implicit,b=R(4),A(2),V(" ",b.SIGNAL_TO_ACTION_TEXT.get(lEb(a.signals))," "))},qEb=function(a){a&1&&L(0,"td",53)},rEb=function(a,b){if(a&1){var c=v();H(0,"td",27)(1,"button",54);Q("click",function(d){var e=x(c).$implicit,f=R(4);d.preventDefault();return z(f.copyIdOrLink(e))});L(2,"mat-icon",55);K()()}a&2&&(a=b.$implicit,A(1),G("matTooltip","Buganizer"===a.type?"Copy ID to clipboard":"Copy link to clipboard"),Af("aria-label","Buganizer"===a.type?"Copy ID to clipboard":"Copy link to clipboard"))},
sEb=function(a){a&1&&L(0,"td",53)},uEb=function(a){if(a&1){var b=v();H(0,"td",27)(1,"button",56);Q("click",function(c){var d=x(b).$implicit,e=R(4);c.preventDefault();return z(tEb(e,d))});L(2,"mat-icon",57);K()()}},vEb=function(a){a&1&&L(0,"tr",58)},wEb=function(a){if(a&1){var b=v();H(0,"tr",59);Q("click",function(c){var d=x(b).$implicit,e=R(2).$implicit,f=R(2);return z(f.navigateToResource(c,d,e.slice(0,f.numDisplayedRows)))});K()}},xEb=function(a){a&1&&(H(0,"tr",60)(1,"td",61),T(2," No alerts found "),
K()())},yEb=function(a){a&1&&L(0,"mat-icon",65)},zEb=function(a){a&1&&L(0,"mat-icon",66)},AEb=function(a){if(a&1){var b=v();H(0,"button",62);Q("click",function(){x(b);var d=R(2).$implicit,e=R(2);return z(e.setNumDisplayedRows(d))});T(1);F(2,yEb,1,0,"mat-icon",63)(3,zEb,1,0,"mat-icon",64);K()}if(a&2){a=R(2).$implicit;var c=R(2);A(1);V(" ",a.length>c.numDisplayedRows?"Show more":"Show less"," ");A(1);G("ngIf",a.length>c.numDisplayedRows);A(1);G("ngIf",a.length===c.numDisplayedRows)}},BEb=function(a){a&
1&&(M(0),H(1,"table",9),M(2,10),F(3,RDb,2,2,"th",11)(4,SDb,2,1,"td",12),N(),M(5,13),F(6,TDb,2,1,"th",11)(7,UDb,2,5,"td",12),N(),M(8,14),F(9,YDb,3,2,"th",11)(10,bEb,4,2,"td",12),N(),M(11,15),F(12,cEb,2,1,"th",11)(13,eEb,2,1,"td",12),N(),M(14,16),F(15,fEb,2,1,"th",11)(16,nEb,4,2,"td",12),N(),M(17,17),F(18,oEb,2,1,"th",11)(19,pEb,3,1,"td",12),N(),M(20,18),F(21,qEb,1,0,"td",19)(22,rEb,3,2,"td",12),N(),M(23,20),F(24,sEb,1,0,"td",19)(25,uEb,3,0,"td",12),N(),F(26,vEb,1,0,"tr",21)(27,wEb,1,0,"tr",22)(28,
xEb,3,0,"tr",23),K(),F(29,AEb,4,3,"button",24),N());if(a&2){a=R().$implicit;var b=R(2);A(1);G("dataSource",a.slice(0,b.numDisplayedRows));A(25);G("matHeaderRowDef",b.displayedColumns);A(1);G("matRowDefColumns",b.displayedColumns);A(2);G("ngIf",a.length>b.DEFAULT_NUM_ROWS_DISPLAYED)}},CEb=function(a,b){a&1&&(M(0),F(1,PDb,2,0,"p",7)(2,BEb,30,4,"ng-container",2),N());a&2&&(a=b.$implicit,A(1),G("ngIf",0===a.length),A(1),G("ngIf",0<a.length))},DEb=function(a){a&1&&(M(0),F(1,CEb,3,2,"ng-container",2),W(2,
"async"),N());a&2&&(a=R(),A(1),G("ngIf",X(2,1,a.allNeedsAttention$)))},EEb=function(a){a&1&&(H(0,"div",67),L(1,"b-spinner",68),K());a&2&&(A(1),G("ariaLabel","loading needs attention alerts"))},FEb=function(a,b){var c=a.signals;a=b.flatMap(function(d){return d.signals});b=Qj(a).filter(function(d){return!c.includes(d)}).sort();a=c.join(",");b=b.join(",");return[a,b]},GEb=function(a,b){a&1&&(H(0,"div",8)(1,"span",9),T(2),K()());a&2&&(a=b.ngIf,A(2),$f(a))},HEb=function(a){a&1&&(H(0,"div",10),L(1,"b-needs-attention-table",
11),K());a&2&&(a=R(),A(1),G("refreshTable",a.refreshData))},IEb=function(a,b){switch(a){case "Owned":if("CRITIQUE"===b)return"CL Author";if("DRIVE"===b)return"File Owner";if("ARIANE"===b)return"Launch Owner";break;case "Collaborating":if("CRITIQUE"===b)return"CL Reviewer";if("DRIVE"===b)return"Collaborator";if("ARIANE"===b)return"Approver";break;case "Following":if("CRITIQUE"===b)return"CC'd";if("DRIVE"===b)return"Commenter";if("ARIANE"===b)return"Subscriber"}console.error("getUserRoleForTask() unhandled: ",
a,b);return""},KEb=function(a,b,c){return a.map(function(d){var e=d.snapshot[0],f=d.aggregatedData,h,k,q,t,w,y,C=d.issueId,J="issues/"+d.issueId,I=e.title,P=Math.floor((null!=(k=null==f?void 0:f.modifiedTimeMicros)?k:0)/1E3);f=Math.floor((null!=(q=null==f?void 0:f.createdTimeMicros)?q:0)/1E3);q=JEb(b,d,c);k=e.priority;return{issueId:C,link:J,title:I,modifiedDate:P,createdDate:f,role:q,icon:"bug_report_24px",priority:"P0"===k||"P1"===k?e.priority:null,source:"Buganizer",type:null!=(t=e.type)?t:null,
accessLevel:null!=(w=null==(h=d.accessLimit)?void 0:h.accessLevel)?w:null,hotlistIds:null!=(y=e.hotlistId)?y:[]}})},LEb=function(a,b){return a.map(function(c){var d=c.resource;return d?{issueId:void 0,link:d.externalLink,title:d.title,modifiedDate:d.lastModifiedTimestamp,createdDate:c.createdTimestamp,role:IEb(b,d.source),icon:mCa(d),priority:null,type:null,source:d.source,accessLevel:null}:null}).filter(jl)},JEb=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";break;case "Collaborating":var f;if((null==(f=d.reporterUser)?void 0:f.emailAddress)===a)return"Reporter";var h;if(null==(h=d.collaboratorsUsers)?0:h.some(function(k){return k.emailAddress===a}))return"Collaborator";break;case "Following":return b=b.userData,d.ccUsers&&d.ccUsers.some(function(k){return k.emailAddress===a})?"CC'd":b&&b.voted?"Upvoted":b&&b.starred?"Starred":"Commenter"}return"--"},MEb=function(a){a&1&&(H(0,"label",16),T(1),K());a&2&&(a=R().$implicit,
G("matTooltip",a.description),A(1),$f(a.label))},NEb=function(a,b){if(a&1){var c=v();M(0);H(1,"source-filter-chips",17);Q("change",function(d){x(c);var e=R(3).prefsService;d=d.map(uFa);e.prefs.myTasksSources=d;gt(e,{myTasksSources:d,isMyTasksSourcesConfigured:!0});return z()});K();N()}a&2&&(a=b.ngIf,b=R(3),A(1),G("sourceFilterKeys",b.ALL_MY_TASK_FILTERS)("selectedSources",a))},OEb=function(a,b){if(a&1){var c=v();M(0);H(1,"time-boundary-filter",18);Q("change",function(d){x(c);var e=R(3).prefsService;
e.prefs.myTasksDaysOld=d;gt(e,{myTasksDaysOld:d});return z()});K();N()}a&2&&(a=b.ngIf,A(1),G("selectedTimeBoundary",a))},PEb=function(a,b){a&1&&(M(0),H(1,"p",19),T(2),K(),N());a&2&&(a=b.ngIf,A(2),V(" ",0===a.length?"Enable source filters to see tasks":"No tasks"," "))},QEb=function(a){a&1&&(M(0),F(1,PEb,3,1,"ng-container",14),W(2,"async"),N());a&2&&(a=R(5),A(1),G("ngIf",X(2,1,a.sources$)))},REb=function(a){a&1&&(H(0,"th",36),T(1,"Type"),K())},SEb=function(a,b){a&1&&(H(0,"td",37),L(1,"mat-icon",38),
K());a&2&&(a=b.$implicit,A(1),Mf("product-icon ",a.icon,""),G("matTooltip",a.source)("svgIcon",a.icon))},TEb=function(a){a&1&&(H(0,"th",36),T(1,"Description"),K())},UEb=function(a){a&1&&L(0,"b-issue-visibility-chip",43);a&2&&(a=R(3).$implicit,G("issueId",a.issueId)("compactMode",!0))},VEb=function(a){a&1&&F(0,UEb,1,2,"b-issue-visibility-chip",43);a&2&&(a=R(2).$implicit,Nf(0,a.issueId?0:-1))},WEb=function(a){a&1&&L(0,"b-component-access-level-indicator",44);a&2&&(a=R(2).$implicit,G("accessLevel",a.accessLevel)("compactMode",
!0))},XEb=function(a){a&1&&L(0,"b-issue-priority-display",45);a&2&&(a=R(2).$implicit,G("issuePriority",a.priority))},YEb=function(a){if(a&1){var b=v();M(0);F(1,VEb,1,1)(2,WEb,1,2)(3,XEb,1,1,"b-issue-priority-display",40);H(4,"a",41);Q("auxclick",function(){x(b);var d=R().$implicit,e=R(6);return z(e.sendClickAnalytics(d))});T(5);K();H(6,"onedev-dma-chip",42);Q("onChipClicked",function(){x(b);var d=R(7);return z(d.sendDmaAnalytics())});K();N()}if(a&2){a=R().$implicit;var c=R(6);A(1);Nf(1,c.enableNewVisibilityChips?
1:2);A(2);G("ngIf",a.priority);A(1);G("href",a.link,Wd);Af("target",a.icon!==c.BUGANIZER_SOURCE_ICON?"_blank":null);A(1);$f(a.title);A(1);G("hotlistIds",a.hotlistIds)}},ZEb=function(a){a&1&&(H(0,"span",46),T(1,"No access to linked file"),K())},$Eb=function(a,b){a&1&&(H(0,"td",37),F(1,YEb,7,6,"ng-container",15)(2,ZEb,2,0,"ng-template",null,39,tg),K());if(a&2){a=b.$implicit;var c=S(3);A(1);G("ngIf",a.title&&""!==a.title)("ngIfElse",c)}},aFb=function(a){a&1&&(H(0,"th",36),T(1,"Last modified"),K())},
bFb=function(a){a&1&&L(0,"b-formatted-date-time",48);a&2&&(a=R().$implicit,G("timestamp",a.modifiedDate)("paddingLeftPx",0))},cFb=function(a,b){a&1&&(H(0,"td",37),F(1,bFb,1,2,"b-formatted-date-time",47),K());a&2&&(a=b.$implicit,A(1),G("ngIf",a.modifiedDate))},dFb=function(a){a&1&&(H(0,"th",36),T(1,"My role"),K())},eFb=function(a,b){a&1&&(H(0,"td",37),T(1),K());a&2&&(a=b.$implicit,A(1),$f(a.role))},fFb=function(a){a&1&&(H(0,"th",36),T(1,"Creation date"),K())},gFb=function(a){a&1&&(M(0),L(1,"b-formatted-date-time",
48),N());a&2&&(a=R().$implicit,A(1),G("timestamp",a.createdDate)("paddingLeftPx",0))},hFb=function(a,b){a&1&&(H(0,"td",37),F(1,gFb,2,2,"ng-container",15),K());if(a&2){a=b.$implicit;R(6);var c=S(11);A(1);G("ngIf",0<a.createdDate)("ngIfElse",c)}},iFb=function(a){a&1&&L(0,"td",49)},jFb=function(a,b){if(a&1){var c=v();H(0,"td",37)(1,"button",50);Q("click",function(d){var e=x(c).$implicit,f=R(6);d.preventDefault();return z(f.copyIdOrLink(e))});L(2,"mat-icon",51);K()()}a&2&&(a=b.$implicit,A(1),G("matTooltip",
"Buganizer"===a.source?"Copy ID to clipboard":"Copy link to clipboard"),Af("aria-label","Buganizer"===a.source?"Copy ID to clipboard":"Copy link to clipboard"))},kFb=function(a){a&1&&L(0,"tr",52)},lFb=function(a){if(a&1){var b=v();H(0,"tr",53);Q("click",function(c){var d=x(b).$implicit,e=R(6);return z(e.navigateToResource(c,d))});K()}},mFb=function(a){a&1&&L(0,"mat-icon",59)},nFb=function(a){a&1&&L(0,"mat-icon",60)},oFb=function(a){if(a&1){var b=v();H(0,"button",56);Q("click",function(){x(b);var d=
R(3).ngIf,e=R(4);return z(e.setNumDisplayedRows(d))});T(1);F(2,mFb,1,0,"mat-icon",57)(3,nFb,1,0,"mat-icon",58);K()}if(a&2){a=R(3).ngIf;var c=R(4);A(1);V(" ",a.length>c.numDisplayedRows?"Show more":"Show less"," ");A(1);G("ngIf",a.length>c.numDisplayedRows);A(1);G("ngIf",a.length===c.numDisplayedRows)}},pFb=function(a){a&1&&(H(0,"td",54),F(1,oFb,4,3,"button",55),K());if(a&2){a=R(2).ngIf;var b=R(4);A(1);G("ngIf",a.length>b.DEFAULT_NUM_ROWS_DISPLAYED)}},qFb=function(a){a&1&&L(0,"tr",61);if(a&2){a=R(2).ngIf;
var b=R(4);G("hidden",!(a.length>b.DEFAULT_NUM_ROWS_DISPLAYED))}},rFb=function(a,b){a&1&&(H(0,"td",64),T(1),K());a&2&&(a=b.ngIf,A(1),V(" ",0===a.length?"Enable source filters to see tasks":"No tasks found"," "))},sFb=function(a){a&1&&(H(0,"tr",62),F(1,rFb,2,1,"td",63),W(2,"async"),K());a&2&&(a=R(6),A(1),G("ngIf",X(2,1,a.sources$)))},vFb=function(a){a&1&&(M(0),H(1,"table",20),M(2,21),F(3,REb,2,0,"th",22)(4,SEb,2,5,"td",23),N(),M(5,24),F(6,TEb,2,0,"th",22)(7,$Eb,4,2,"td",23),N(),M(8,25),F(9,aFb,2,0,
"th",22)(10,cFb,2,1,"td",23),N(),M(11,26),F(12,dFb,2,0,"th",22)(13,eFb,2,1,"td",23),N(),M(14,27),F(15,fFb,2,0,"th",22)(16,hFb,2,2,"td",23),N(),M(17,28),F(18,iFb,1,0,"td",29)(19,jFb,3,2,"td",23),N(),F(20,kFb,1,0,"tr",30)(21,lFb,1,0,"tr",31),M(22,32),F(23,pFb,2,1,"td",33),N(),F(24,qFb,1,1,"tr",34)(25,sFb,3,3,"tr",35),K(),N());if(a&2){a=R().ngIf;var b=R(2).$implicit,c=R(2);A(1);Mf("table-",b.label,"");G("dataSource",a.slice(0,c.numDisplayedRows)||eg(7,tFb));A(19);G("matHeaderRowDef",c.displayColumns);
A(1);G("matRowDefColumns",c.displayColumns);A(3);G("matFooterRowDef",eg(8,uFb))}},wFb=function(a,b){a&1&&(M(0),F(1,QEb,3,3,"ng-container",14)(2,vFb,26,9,"ng-container",14),N());a&2&&(a=b.ngIf,A(1),G("ngIf",0===a.length),A(1),G("ngIf",0<a.length))},xFb=function(a){a&1&&(M(0),F(1,wFb,3,2,"ng-container",14),W(2,"async"),N());a&2&&(a=R().$implicit,A(1),G("ngIf",X(2,1,a.tasks)))},yFb=function(a,b){a&1&&(H(0,"mat-tab"),F(1,MEb,2,2,"ng-template",12),H(2,"div",13)(3,"span",2),T(4,"Sources"),K(),F(5,NEb,2,
2,"ng-container",14),W(6,"async"),F(7,OEb,2,1,"ng-container",14),W(8,"async"),K(),F(9,xFb,3,3,"ng-container",15),K());if(a&2){a=b.$implicit;b=R(2);var c=S(9);A(5);G("ngIf",X(6,4,b.sources$));A(2);G("ngIf",X(8,6,b.timeBoundary$));A(2);G("ngIf",!a.loading)("ngIfElse",c)}},AFb=function(a){if(a&1){var b=v();H(0,"div",9)(1,"mat-tab-group",10);Q("selectedTabChange",function(c){x(b);var d=R();c=c.index;zFb(d.prefsService,"mc-my-tasks",c);d.numDisplayedRows=10;d.analytics.trackEvent(Kp.MISSION_CONTROL,"view",
d.tabData[c].label);return z()});F(2,yFb,10,8,"mat-tab",11);K()()}a&2&&(a=R(),A(1),G("selectedIndex",a.selectedTabIndex),A(1),G("ngForOf",a.tabData))},BFb=function(a){a&1&&(H(0,"div",65),L(1,"b-spinner",66),K());a&2&&(A(1),G("ariaLabel","loading tasks"))},CFb=function(a){a&1&&T(0,"--")},DFb=function(a,b){return a.modifiedDate?b.modifiedDate?b.modifiedDate-a.modifiedDate:1:-1},EFb=function(a){a&1&&(H(0,"p",12),T(1),K());a&2&&(a=R().$implicit,A(1),$f(a.description))},FFb=function(a,b){a&1&&(H(0,"mat-list-option",
8)(1,"div",9)(2,"label",10),T(3),K()(),F(4,EFb,2,1,"p",11),K());a&2&&(a=b.$implicit,b=R(2),If("height","auto"),G("selected",b.selectedIds.has(a.searchId))("value",a.searchId),A(3),$f(a.name),A(1),G("ngIf",a.description))},GFb=function(a,b){if(a&1){var c=v();M(0);H(1,"mat-selection-list",6);Q("selectionChange",function(d){x(c);var e=R();return z(e.onChangeMatList(d))});F(2,FFb,5,6,"mat-list-option",7);K();N()}a&2&&(a=b.$implicit,b=R(),A(2),G("ngForOf",a)("ngForTrackBy",b.trackBySearchId))},HFb=function(a){a&
1&&(M(0),L(1,"b-user-image",3),H(2,"span",4),L(3,"b-user-display",5),K(),T(4,"\u00a0created\u00a0"),H(5,"b-issue-reference-widget",6),T(6),K(),L(7,"b-formatted-date-time",7),N());a&2&&(a=R(),A(1),G("email",null==a.event.userPerformingActionUser?null:a.event.userPerformingActionUser.emailAddress)("size","small"),A(2),G("model",a.event.userPerformingActionUser),A(2),G("href",a.paths.editIssue(a.event.issueId))("issueId",a.event.issueId),A(1),V("b/",a.event.issueId,""),A(1),G("timestamp",a.event.modifiedDate))},
JFb=function(a){a&1&&(M(0),L(1,"b-user-image",3),H(2,"span",4),L(3,"b-user-display",5),K(),T(4,"\u00a0submitted\u00a0"),L(5,"b-changelist-link",8),T(6,"\u00a0for \u00a0"),H(7,"b-issue-reference-widget",6),T(8),K(),L(9,"b-formatted-date-time",7),N());a&2&&(a=R(),A(1),G("email",IFb(a.event))("size","small"),A(2),G("model",{emailAddress:IFb(a.event)}),A(2),G("changelistId",a.getChangelistNumber(a.event)),A(2),G("href",a.paths.editIssue(a.event.issueId))("issueId",a.event.issueId),A(1),V("b/",a.event.issueId,
""),A(1),G("timestamp",a.event.modifiedDate))},KFb=function(a){a&1&&(M(0),L(1,"b-user-image",3),H(2,"span",4),L(3,"b-user-display",5),K(),T(4,"\u00a0commented on\u00a0"),H(5,"b-issue-reference-widget",6),T(6),K(),L(7,"b-formatted-date-time",7),N());a&2&&(a=R(),A(1),G("email",null==a.event.userPerformingActionUser?null:a.event.userPerformingActionUser.emailAddress)("size","small"),A(2),G("model",a.event.userPerformingActionUser),A(2),G("href",a.paths.editIssue(a.event.issueId))("issueId",a.event.issueId),
A(1),V("b/",a.event.issueId,""),A(1),G("timestamp",a.event.modifiedDate))},MFb=function(a){a&1&&(M(0),L(1,"b-user-image",3),H(2,"span",4),L(3,"b-user-display",5),K(),T(4,"\u00a0changed priority for\u00a0"),H(5,"b-issue-reference-widget",6),T(6),K(),T(7," \u00a0from\u00a0"),L(8,"b-issue-priority-display",9),T(9," \u00a0to\u00a0 "),L(10,"b-issue-priority-display",9)(11,"b-formatted-date-time",7),N());a&2&&(a=R(),A(1),G("email",null==a.event.userPerformingActionUser?null:a.event.userPerformingActionUser.emailAddress)("size",
"small"),A(2),G("model",a.event.userPerformingActionUser),A(2),G("href",a.paths.editIssue(a.event.issueId))("issueId",a.event.issueId),A(1),V("b/",a.event.issueId,""),A(2),G("issuePriority",a.toIssuePriority(LFb(a.event,"priority"))),A(2),G("issuePriority",a.toIssuePriority(it(a.event,"priority"))),A(1),G("timestamp",a.event.modifiedDate))},NFb=function(a){a&1&&(M(0),L(1,"b-user-image",3),H(2,"span",4),L(3,"b-user-display",5),K(),T(4,"\u00a0changed status for\u00a0"),H(5,"b-issue-reference-widget",
6),T(6),K(),T(7),L(8,"b-formatted-date-time",7),N());a&2&&(a=R(),A(1),G("email",null==a.event.userPerformingActionUser?null:a.event.userPerformingActionUser.emailAddress)("size","small"),A(2),G("model",a.event.userPerformingActionUser),A(2),G("href",a.paths.editIssue(a.event.issueId))("issueId",a.event.issueId),A(1),V("b/",a.event.issueId,""),A(1),ag(" \u00a0from\u00a0",LFb(a.event,"status"),"\u00a0to\u00a0",it(a.event,"status")," "),A(1),G("timestamp",a.event.modifiedDate))},OFb=function(a){a&1&&
(M(0),L(1,"b-user-image",3),H(2,"span",4),L(3,"b-user-display",5),K(),T(4,"\u00a0assigned\u00a0"),H(5,"b-issue-reference-widget",6),T(6),K(),T(7," \u00a0to\u00a0"),L(8,"b-user-email",13)(9,"b-formatted-date-time",7),N());if(a&2){a=R(2);var b;A(1);G("email",null==a.event.userPerformingActionUser?null:a.event.userPerformingActionUser.emailAddress)("size","small");A(2);G("model",a.event.userPerformingActionUser);A(2);G("href",a.paths.editIssue(a.event.issueId))("issueId",a.event.issueId);A(1);V("b/",
a.event.issueId,"");A(2);G("email",null!==(b=it(a.event,"assignee"))&&void 0!==b?b:"");A(1);G("timestamp",a.event.modifiedDate)}},PFb=function(a){a&1&&(M(0),L(1,"b-user-email",13),N());if(a&2){a=R(3);var b;A(1);G("email",null!==(b=it(a.event,"assignee"))&&void 0!==b?b:"")}},QFb=function(a){a&1&&(L(0,"b-user-image",3),H(1,"span",4),L(2,"b-user-display",5),K(),T(3,"\u00a0changed assignee for\u00a0"),H(4,"b-issue-reference-widget",6),T(5),K(),T(6," \u00a0from\u00a0"),L(7,"b-user-email",13),T(8,"\u00a0to\u00a0"),
F(9,PFb,2,1,"ng-container",10),L(10,"b-formatted-date-time",7));if(a&2){R();var b=S(5);a=R();var c;G("email",null==a.event.userPerformingActionUser?null:a.event.userPerformingActionUser.emailAddress)("size","small");A(2);G("model",a.event.userPerformingActionUser);A(2);G("href",a.paths.editIssue(a.event.issueId))("issueId",a.event.issueId);A(1);V("b/",a.event.issueId,"");A(2);G("email",null!==(c=LFb(a.event,"assignee"))&&void 0!==c?c:"");A(2);G("ngIf","<none>"!==it(a.event,"assignee"))("ngIfElse",
b);A(1);G("timestamp",a.event.modifiedDate)}},RFb=function(a){a&1&&T(0);a&2&&(a=R(2),V(" ",it(a.event,"assignee")," "))},SFb=function(a){a&1&&(M(0),F(1,OFb,10,8,"ng-container",10)(2,QFb,11,10,"ng-template",null,11,tg)(4,RFb,1,1,"ng-template",null,12,tg),N());if(a&2){var b=S(3);a=R();A(1);G("ngIf","<none>"===LFb(a.event,"assignee"))("ngIfElse",b)}},TFb=function(a){a&1&&(M(0),L(1,"b-user-image",3),H(2,"span",4),L(3,"b-user-display",5),K(),T(4,"\u00a0updated\u00a0"),H(5,"b-issue-reference-widget",6),
T(6),K(),L(7,"b-formatted-date-time",7),N());a&2&&(a=R(),A(1),G("email",null==a.event.userPerformingActionUser?null:a.event.userPerformingActionUser.emailAddress)("size","small"),A(2),G("model",a.event.userPerformingActionUser),A(2),G("href",a.paths.editIssue(a.event.issueId))("issueId",a.event.issueId),A(1),V("b/",a.event.issueId,""),A(1),G("timestamp",a.event.modifiedDate))},VFb=function(a,b){a&1&&(H(0,"div"),L(1,"recent-event-row",4),K());a&2&&(a=b.$implicit,R(2),A(1),G("event",a)("type",UFb(a)))},
WFb=function(a,b){if(a&1){var c=v();M(0);H(1,"div",1);T(2,"Recent activity");K();F(3,VFb,2,2,"div",2);H(4,"button",3);Q("click",function(){var d=x(c).ngIf,e=R();e.numDisplayedEvents=d.length>e.numDisplayedEvents?d.length:3;return z()});T(5);K();N()}a&2&&(a=b.ngIf,b=R(),A(3),G("ngForOf",a.slice(0,b.numDisplayedEvents)),A(2),V(" ",a.length>b.numDisplayedEvents?"Show more":"Show less"," "))},XFb=function(a,b){a&1&&(H(0,"div"),L(1,"recent-events",6),K());a&2&&(a=b.ngIf,A(1),G("query",a.filter))},ZFb=
function(a){a&1&&(M(0),L(1,"rollups-list",4),W(2,"async"),L(3,"stat-cards-list",4),W(4,"async"),L(5,"b-issues-table",5),W(6,"async"),F(7,XFb,2,1,"div",0),W(8,"async"),N());a&2&&(a=R(2),A(1),G("ref",a.entityReference)("query",X(2,10,a.issueQuery$)),A(2),G("ref",a.entityReference)("query",X(4,12,a.issueQuery$)),A(2),G("issueIds",X(6,14,a.issueIds$))("options",a.tableOptions)("filters",YFb(a.prefsService,a.entityReference))("tableColumns",a.FLAT_LIST_COLUMNS)("initialSort",a.INITIAL_SORT),A(2),G("ngIf",
X(8,16,a.issueQuery$)))},$Fb=function(a,b){a&1&&(H(0,"div"),L(1,"recent-events",6),K());a&2&&(a=b.ngIf,A(1),G("query",a.filter))},aGb=function(a){a&1&&(M(0),L(1,"rollups-list",4),W(2,"async"),L(3,"stat-cards-list",4),W(4,"async"),L(5,"b-issues-table",5),W(6,"async"),F(7,$Fb,2,1,"div",0),W(8,"async"),N());a&2&&(a=R(2),A(1),G("ref",a.entityReference)("query",X(2,10,a.issueQuery$)),A(2),G("ref",a.entityReference)("query",X(4,12,a.issueQuery$)),A(2),G("issueIds",X(6,14,a.issueIds$))("options",a.tableOptions)("filters",
YFb(a.prefsService,a.entityReference))("tableColumns",a.FLAT_LIST_COLUMNS)("initialSort",a.INITIAL_SORT),A(2),G("ngIf",X(8,16,a.issueQuery$)))},bGb=function(a){a&1&&(H(0,"div"),L(1,"recent-events",6),K());a&2&&(a=R(3),A(1),G("query","parentid:"+a.referencedId+"+ | id:"+a.referencedId))},eGb=function(a){a&1&&(M(0),L(1,"rollups-project",7)(2,"stat-cards-project",7)(3,"b-issue-relations-table",8),F(4,bGb,2,1,"div",0),N());if(a&2){a=R().$implicit;var b=R();A(1);G("id",a);A(1);G("id",a);A(1);Xf("saveExpansionAtKey",
"project-expansion-",a,"");G("rootIssueId",a)("filters",YFb(b.prefsService,b.entityReference))("tableColumns",b.TREE_COLUMNS)("options",fg(10,cGb,eg(9,dGb)))("defaultExpansionLevel",0);A(1);G("ngIf",a)}},fGb=function(a){a&1&&(H(0,"span",9),T(1),K());a&2&&(a=R(2),A(1),V(" Unhandled entity type: ",a.entityType," "))},gGb=function(a){a&1&&(M(0)(1,1),F(2,ZFb,9,18,"ng-container",2)(3,aGb,9,18,"ng-container",2)(4,eGb,5,12,"ng-container",2)(5,fGb,2,1,"span",3),N()());a&2&&(a=R(),A(1),G("ngSwitch",a.entityType),
A(1),G("ngSwitchCase","hotlist"),A(1),G("ngSwitchCase","savedsearch"),A(1),G("ngSwitchCase","issue"))},hGb=function(a){a&1&&(H(0,"button",12),L(1,"mat-icon",13),T(2," Add "),K());if(a&2){R();var b=S(9);G("matMenuTriggerFor",b)}},iGb=function(a){a&1&&L(0,"b-issue-card",29);a&2&&(a=R().$implicit,G("issueId",a.ref))},jGb=function(a,b){if(a&1){var c=v();H(0,"li",24);Q("click",function(){var e=x(c).$implicit,f=R(3);e=e.ref;null!=e&&jt(f.prefsService,e);return z()});H(1,"p",25);T(2);K();H(3,"p",26);T(4);
K();H(5,"onedev-hovercard",null,27);F(7,iGb,1,1,"b-issue-card",28);K()()}if(a&2){a=b.$implicit;var d=S(6);Xf("title","Click to add\n\rWhy this? ",a.suggestionRationale,"");A(2);$f(a.title);A(1);G("onedevHovercardTrigger",d);A(1);V("b/",a.ref,"");A(3);G("ngIf",a.ref)}},kGb=function(a){a&1&&(M(0),H(1,"div",21)(2,"h4"),T(3,"Suggestions:"),K(),H(4,"ol",22),F(5,jGb,8,5,"li",23),K()(),N());a&2&&(a=R(2),A(5),G("ngForOf",a.suggestions))},lGb=function(a){a&1&&(H(0,"section",14)(1,"div",15),L(2,"img",16),F(3,
kGb,6,1,"ng-container",17),K(),H(4,"p",18),T(5," Use work areas to closely monitor a hotlist, saved search, or a parent/child project issue. "),K(),H(6,"button",19),L(7,"mat-icon",20),T(8," Add work area "),K()());if(a&2){a=R();var b=S(9);A(2);G("src",a.EMPTY_STATE_IMG,Wd);A(1);G("ngIf",0<a.suggestions.length);A(3);G("matMenuTriggerFor",b)}},mGb=function(a,b){if(a&1){var c=v();H(0,"button",8);Q("click",function(){var d=x(c).$implicit,e=R(4);e.clipboard.copy(d);Fs(e.butterBar,"ID copied",2E3);return z()});
L(1,"mat-icon",46);T(2);K()}a&2&&(a=b.$implicit,A(2),V(" Copy ID: ",a," "))},oGb=function(a){if(a&1){var b=v();T(0);H(1,"button",34);Q("click",function(h){return h.stopPropagation()});L(2,"mat-icon",35);K();H(3,"mat-menu",36,37)(5,"a",38);L(6,"mat-icon",39);T(7);K();F(8,mGb,3,1,"button",40);L(9,"mat-divider");H(10,"button",41);Q("click",function(){x(b);var h=R().$implicit,k=R(2);return z(nGb(k.prefsService,h,-1))});L(11,"mat-icon",42);T(12," Move Left ");K();H(13,"button",41);Q("click",function(){x(b);
var h=R().$implicit,k=R(2);return z(nGb(k.prefsService,h,1))});L(14,"mat-icon",43);T(15," Move Right ");K();H(16,"button",44);Q("click",function(){x(b);var h=R().$implicit,k=R(2).prefsService;if(null!=h){var q,t=(null!=(q=k.prefs.workAreaUrls)?q:[]).slice();h=t.indexOf(h);0>h||(t.splice(h,1),gt(k,{workAreaUrls:t}))}return z()});L(17,"mat-icon",45);T(18," Remove ");K()()}if(a&2){var c=S(4),d=R();a=d.$implicit;var e=d.first;d=d.last;var f=R(2);V(" ",f.titles[a]||a," ");A(1);G("matMenuTriggerFor",c);
A(4);G("routerLink",f.makeBuganizerUrl(a));A(2);V(" View ",f.getEntityTypeName(a)," ");A(1);G("ngIf",f.extractLastDigits(a));A(2);G("disabled",e);A(3);G("disabled",d);A(3);Xf("title","Hide the work area '",a,"' from this section")}},pGb=function(a){a&1&&L(0,"one-work-area",47);if(a&2){a=R().$implicit;var b=R(2);G("reference",a)("refreshWorkArea",b.refreshData)}},qGb=function(a){a&1&&(M(0),H(1,"mat-tab"),F(2,oGb,19,8,"ng-template",32)(3,pGb,1,2,"ng-template",33),K(),N())},rGb=function(a){if(a&1){var b=
v();H(0,"mat-tab-group",30);Q("selectedIndexChange",function(c){x(b);var d=R();return z(zFb(d.prefsService,d.SECTION_SLUG,c))});F(1,qGb,4,0,"ng-container",31);K()}a&2&&(a=R(),G("selectedIndex",a.chosenTabForWork),A(1),G("ngForOf",a.workAreaReferences))},sGb=function(a,b){a&1&&(H(0,"div",14),L(1,"mat-checkbox",15),H(2,"div")(3,"label",16),T(4),K(),H(5,"label",17),T(6),K()()());if(a&2){a=b.ngIf;b=R().$implicit;var c=R().ngIf;A(1);G("id","select-signal-checkbox-"+b)("aria-labelledby","checkbox-label-"+
b)("value",b)("checked",c.includes(b));A(2);Xf("id","checkbox-label-",b,"")("for","select-signal-checkbox-",b,"-input");A(1);V(" ",a.header," ");A(1);Xf("for","select-signal-checkbox-",b,"-input");A(1);V(" ",a.body," ")}},uGb=function(a,b){a&1&&(M(0),F(1,sGb,7,9,"div",13),N());a&2&&(a=b.$implicit,R(3),A(1),G("ngIf",tGb.has(a)?tGb.get(a):null))},vGb=function(a){a&1&&(H(0,"div",11),F(1,uGb,2,1,"ng-container",12),K());a&2&&(a=R(2),A(1),G("ngForOf",a.ALL_SIGNAL_TYPES))},xGb=function(a){if(a&1){var b=
v();H(0,"div",4)(1,"p",5);T(2," Select alerts ");H(3,"button",6);Q("click",function(){x(b);var c=R();c=l(c.checkboxes);for(var d=c.next();!d.done;d=c.next())d=d.value,d.checked||d.toggle();return z()});T(4," Select all ");K()();F(5,vGb,2,1,"div",7);W(6,"async");L(7,"mat-divider");H(8,"div",8)(9,"button",9);Q("click",function(){x(b);var c=R();return z(c.closeMenu())});T(10,"Cancel");K();H(11,"button",10);Q("click",function(){x(b);var c=R();return z(wGb(c))});T(12,"Apply");K()()()}a&2&&(a=R(),A(5),
G("ngIf",X(6,1,a.selectedSignals$)))},yGb=function(a){a&1&&(M(0),T(1),N());a&2&&(a=R(3),A(1),V("(",a.count,")"))},zGb=function(a){a&1&&(M(0),T(1),F(2,yGb,2,1,"ng-container",3),N());if(a&2){a=R().ngIf;var b=R();A(1);V(" ",a.text," ");A(1);G("ngIf",-1<b.count)}},AGb=function(a){if(a&1){var b=v();H(0,"button",5);Q("click",function(){x(b);var c=R(2);return z(c.onClickRemove())});H(1,"span",6);T(2);K();L(3,"mat-icon",7);K()}a&2&&(a=R().ngIf,A(2),V("remove filter ",a.text,""))},CGb=function(a,b){a&1&&(H(0,
"span",1),W(1,"async"),L(2,"mat-icon",2),F(3,zGb,3,2,"ng-container",3)(4,AGb,4,1,"button",4),K());a&2&&(a=b.ngIf,b=R(),Mf("chippy rounded ",a.className," margin-xs-right"),Jf("full-chip",!b.iconOnly)("selected",b.isSelected),G("matTooltip",X(1,12,BGb(b)))("matTooltipShowDelay",b.matTooltipShowDelay),A(2),G("svgIcon",a.icon),A(1),G("ngIf",!b.iconOnly),A(1),G("ngIf",b.removable))},DGb=function(a){a&1&&(H(0,"span",19),T(1,"No filters selected"),K())},GGb=function(a,b){if(a&1){var c=v();M(0);H(1,"b-signal-chip",
20);Q("onRemove",function(){var d=x(c).$implicit,e=R(2),f=e.selectedSignals$.value,h=f.indexOf(d);-1===h?f.push(d):f.splice(h,1);EGb(e,[].concat(u(f)));return z()});K();N()}a&2&&(a=b.$implicit,A(1),G("removable",!0)("generalDescriptionOnly",!0)("iconOnly",!1)("isSelected",!0)("matTooltipShowDelay",750)("signal",fg(6,FGb,a)))},IGb=function(a){if(a&1){var b=v();H(0,"div",8)(1,"div",9)(2,"button",10);Q("click",function(){x(b);var d=R();return z(d.fetchIssues())})("onHotkey",function(){x(b);var d=R();
return z(d.fetchIssues())});L(3,"mat-icon",11);K();H(4,"p",12);T(5," Applied alerts ");K();H(6,"a",13);L(7,"mat-icon",14);K()();H(8,"section",15)(9,"select-signals-menu",16);Q("selected",function(d){x(b);var e=R();return z(EGb(e,d))});K();F(10,DGb,2,0,"span",17);W(11,"async");F(12,GGb,2,8,"ng-container",18);W(13,"async");K()()}if(a&2){a=R();var c;A(2);G("hotkey",a.HOTKEYS.REFRESH_ISSUE_LIST);A(7);G("selectedSignals$",a.selectedSignals$);A(1);G("ngIf",0===(null!==(c=X(11,4,a.selectedSignals$))&&void 0!==
c?c:eg(8,HGb)).length);A(2);G("ngForOf",X(13,6,a.selectedSignals$))}},KGb=function(a){if(a&1){var b=v();H(0,"div")(1,"button",21);Q("click",function(){x(b);var c=R();return z(JGb(c))});T(2," Dismiss selected ");K()()}a&2&&(a=R(),A(1),G("disabled",a.dismissSelectedInProgress))},LGb=function(a){a&1&&(H(0,"div",22),L(1,"b-spinner"),H(2,"span"),T(3," Searching for issues needing attention..."),K()())},MGb=function(a){a&1&&(H(0,"p",28),T(1," No alerts are selected. Select alerts via the filter icon above. "),
K())},NGb=function(a){a&1&&(H(0,"p",28),T(1,"No issues matching the current filters."),K())},OGb=function(a){a&1&&(H(0,"div",23),L(1,"img",24),H(2,"p",25),T(3,"So empty"),K(),F(4,MGb,2,0,"p",26),W(5,"async"),F(6,NGb,2,0,"ng-template",null,27,tg),K());if(a&2){var b=S(7);a=R();var c;A(1);G("src",a.SPACE_EMPTY_STATE,Wd);A(3);G("ngIf",0===(null!==(c=X(5,3,a.selectedSignals$))&&void 0!==c?c:eg(5,HGb)).length)("ngIfElse",b)}},PGb=function(a,b){a&1&&(H(0,"th",44)(1,"span",0),T(2),K()());a&2&&(a=b.column,
Af("data-stable-column-name",a.name),A(2),V("column-",a.name,""))},RGb=function(a,b){if(a&1){var c=v();H(0,"th",45);M(1);H(2,"mat-pseudo-checkbox",46);Q("click",function(d){x(c);var e=R(2);d.stopPropagation();return z(e.toggleAllIssueSelection())})("keydown.enter",function(d){x(c);var e=R(2);d.stopPropagation();return z(e.toggleAllIssueSelection())})("keydown.space",function(d){x(c);var e=R(2);d.stopPropagation();return z(e.toggleAllIssueSelection())});K();N();K()}a&2&&(a=b.column,b=R(2),Af("data-stable-column-name",
a.name),A(2),G("state",b.getHeaderCheckboxState()),Af("aria-checked",QGb(b)))},SGb=function(a,b){a&1&&(H(0,"th"),M(1),L(2,"pop-grid-default-th",47),N(),K());a&2&&(a=b.column,Af("data-stable-column-name",a.name),A(2),G("column",a))},TGb=function(a){a&1&&L(0,"td",44)},UGb=function(a,b){if(a&1){var c=v();H(0,"td",45);M(1);H(2,"mat-pseudo-checkbox",48);Q("click",function(d){var e=x(c),f=e.index;e=e.row;var h=R(2);d.stopPropagation();return z(h.onCheckboxClicked(d,f,e))});K();N();K()}a&2&&(a=b.row,A(2),
G("state",a.selected?"checked":"unchecked"),Af("aria-label","Select issue "+a.issueId)("aria-checked",a.selected))},VGb=function(a,b){if(a&1){var c=v();H(0,"td",49);M(1);H(2,"b-star-toggle",50);Q("starClicked",function(){var d=x(c).row,e=R(2);return z(e.toggleStar(d))});K();N();K()}a&2&&(a=b.row,b=R(2),A(2),G("starred",a.starred)("disabled",b.starInProgress[a.issueId])("starMessage","Star this issue")("unStarMessage","Un-star this issue"))},XGb=function(a,b){if(a&1){var c=v();H(0,"td",51);M(1);H(2,
"a",52);Q("click",function(){var d=x(c).row,e=R(2);return z(WGb(e,d.issueId))});T(3);K();N();K()}a&2&&(a=b.row,b=R(2),A(2),G("href",b.paths.editIssue(a.issueId),Wd),Af("title",a.title),A(1),V(" ",a.issueId," "))},YGb=function(a,b){a&1&&(M(0),L(1,"b-signal-chip",54),N());a&2&&(a=b.$implicit,b=R(3),A(1),G("signal",a)("iconOnly",!0)("isSelected",b.selectedSignals$.value.includes(a.signalType)))},ZGb=function(a,b){a&1&&(H(0,"td",53),F(1,YGb,2,3,"ng-container",18),K());a&2&&(a=b.row,A(1),G("ngForOf",a.signals))},
aHb=function(a,b){if(a&1){var c=v();H(0,"td");M(1);H(2,"button",21);Q("click",function(){var d=x(c).row,e=R(2);return z($Gb(e,d))});T(3," Dismiss ");K();N();K()}a&2&&(a=b.row,b=R(2),A(2),G("disabled",b.dismissInProgress[a.issueId]))},bHb=function(a){a&1&&L(0,"archived-issue-indicator")},cHb=function(a){a&1&&L(0,"b-issue-visibility-chip",57);a&2&&(a=R().row,G("issueId",a.issueId)("compactMode",!0))},dHb=function(a){a&1&&L(0,"b-component-access-level-indicator",62);a&2&&(a=R().row,G("accessLevel",a.accessLevel)("compactMode",
!0))},eHb=function(a,b){a&1&&L(0,"b-hotlist-chip-smart",65);a&2&&G("id",b.$implicit)("removable",!1)},fHb=function(a){a&1&&(H(0,"div",63),F(1,eHb,1,2,"b-hotlist-chip-smart",64),K());a&2&&(a=R().row,A(1),G("ngForOf",a.hotlistId))},gHb=function(a,b){if(a&1){var c=v();H(0,"td",55);W(1,"async");M(2);H(3,"div",56);W(4,"async");F(5,bHb,1,0,"archived-issue-indicator",3)(6,cHb,1,2,"b-issue-visibility-chip",57)(7,dHb,1,2);L(8,"b-retention-chip",58);H(9,"div",59)(10,"a",60);Q("click",function(){var h=x(c).row,
k=R(2);return z(WGb(k,h.issueId))});T(11);K()();F(12,fHb,2,1,"div",61);W(13,"async");K();N();K()}if(a&2){a=b.row;b=R(2);var d,e,f;Jf("bv2-grid-cell-variable-height",null==(d=X(1,14,b.listViewPrefs$))?null:d.wrapTitles);A(3);Jf("bv2-grid-cell-flex-wrap",null==(e=X(4,16,b.listViewPrefs$))?null:e.wrapTitles);A(2);G("ngIf",a.archived);A(1);Nf(6,b.enableNewVisibilityChips?6:7);A(2);G("retentionState",a.retentionState)("showOnlyInDangerZone",!0)("compactMode",!0)("modifiedTime",a.modifiedTime);A(2);G("href",
b.paths.editIssue(a.issueId),Wd);Af("title",a.title);A(1);V(" ",a.title," ");A(1);G("ngIf",null==(f=X(13,18,b.listViewPrefs$))?null:f.showHotlists)}},hHb=function(a,b){a&1&&(H(0,"td",66),M(1),H(2,"div",67),T(3),K(),N(),K());a&2&&(a=b.row,b=R(2),A(2),Jf("low",b.isLowPriority(a))("high",b.isHighPriority(a))("p0",b.isP0Priority(a)),A(1),V(" P",a.priority," "))},iHb=function(a){a&1&&L(0,"mat-icon",73);if(a&2){a=R().$implicit;var b=R(4);G("svgIcon",b.ISSUE_STATUS_JS_ICON_NAME[a])}},jHb=function(a){a&1&&
(M(0),T(1),N());if(a&2){a=R().$implicit;var b=R(4);A(1);$f(b.STATUS_JS_TERSE[a])}},kHb=function(a){a&1&&(H(0,"span"),T(1),K());if(a&2){a=R().$implicit;var b=R(4);Mf("chippy status-",a,"");A(1);V(" ",b.STATUS_JS_TERSE[a]," ")}},lHb=function(a,b){a&1&&(M(0),H(1,"span",69),W(2,"async"),F(3,iHb,1,1,"mat-icon",70)(4,jHb,2,1,"ng-container",71)(5,kHb,2,4,"span",72),K(),N());if(a&2){a=b.$implicit;b=R(4);var c;A(1);G("ngSwitch",null==(c=X(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]);A(2);G("ngSwitchCase","icon");A(1);G("ngSwitchCase","plain")}},mHb=function(a){a&1&&(M(0),F(1,lHb,6,6,"ng-container",3),N());a&2&&(a=R().row,A(1),G("ngIf",a.status))},nHb=function(a){a&1&&(H(0,"td",68),F(1,mHb,2,1,"ng-container",3),K());a&2&&(R(2),A(1),G("ngIf",!0))},oHb=function(a,b){a&1&&(H(0,"b-person-hovercard",76),T(1),K());a&2&&(a=b.ngIf,b=R().row,G("email",a),A(1),V(" ",b.assignee," "))},pHb=function(a){a&1&&(H(0,
"span"),T(1,"--"),K())},qHb=function(a,b){a&1&&(H(0,"td",74),M(1),F(2,oHb,2,2,"b-person-hovercard",75),W(3,"omitObfuscatedEmail"),F(4,pHb,2,0,"span",3),N(),K());a&2&&(a=b.row,A(2),G("ngIf",X(3,2,a.assignee)),A(2),G("ngIf",!a.assignee))},sHb=function(a){if(a&1){var b=v();H(0,"div",29)(1,"pop-grid",30);Q("focusedRowIndexChange",function(c){x(b);var d=R();return z(d.focusedRowIndex=c)})("rowClick",function(c){x(b);var d=R();return z(d.goToIssue(c.id,c.isRead,c.event))})("sortChange",function(c){x(b);
var d=R();return z(d.onSortChange(c))});F(2,PGb,3,2,"th",31)(3,RGb,3,3,"th",32)(4,SGb,3,2,"th",33)(5,TGb,1,0,"td",34)(6,UGb,3,3,"td",35)(7,VGb,3,4,"td",36)(8,XGb,4,3,"td",37)(9,ZGb,2,1,"td",38)(10,aHb,4,1,"td",39)(11,gHb,14,20,"td",40)(12,hHb,4,7,"td",41)(13,nHb,2,1,"td",42)(14,qHb,5,4,"td",43);K()()}a&2&&(a=R(),A(1),G("list",rHb(a))("columns",a.columns)("focusedRowIndex",a.focusedRowIndex)("enableDragDropHeader",!1)("rowLabelRenderer",a.issueDescription)("sort",a.sortConfig),A(1),G("forHeaderCell",
"focused"),A(1),G("forHeaderCell","selected"),A(2),G("forViewCell","focused"),A(1),G("forViewCell","selected"),A(1),G("forViewCell","starred"),A(1),G("forViewCell","issueId"),A(1),G("forViewCell","alerts"),A(1),G("forViewCell","dismiss"),A(1),G("forViewCell","title"),A(1),G("forViewCell","priority"),A(1),G("forViewCell","status"),A(1),G("forViewCell","assignee"))},tHb=function(a){a&1&&Rf(0)},vHb=function(a,b){a&1&&(M(0),F(1,tHb,1,0,"ng-container",7),N());if(a&2){a=b.$implicit;R(3);var c=S(5);A(1);
G("ngTemplateOutlet",c)("ngTemplateOutletContext",fg(2,uHb,a))}},wHb=function(a){a&1&&(H(0,"div",4)(1,"div",5),T(2,"TEAMFOOD"),K(),F(3,vHb,2,4,"ng-container",6),W(4,"async"),K());a&2&&(a=R(2),A(3),G("ngForOf",X(4,1,a.beapFeaturesTF$)))},xHb=function(a){a&1&&Rf(0)},yHb=function(a,b){a&1&&(M(0),F(1,xHb,1,0,"ng-container",7),N());if(a&2){a=b.$implicit;R(3);var c=S(5);A(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",fg(2,uHb,a))}},zHb=function(a){a&1&&(H(0,"div",4)(1,"div",5),T(2,"EARLY ACCESS"),
K(),F(3,yHb,2,4,"ng-container",6),W(4,"async"),K());a&2&&(a=R(2),A(3),G("ngForOf",X(4,1,a.beapFeaturesEA$)))},AHb=function(a){a&1&&(M(0),F(1,wHb,5,3,"div",3),W(2,"async"),F(3,zHb,5,3,"div",3),W(4,"async"),N());a&2&&(a=R(),A(1),G("ngIf",X(2,2,a.hasFeaturesTF$)),A(2),G("ngIf",X(4,4,a.hasFeaturesEA$)))},BHb=function(a){a&1&&(H(0,"div",8),T(1,"No available experiments"),K())},CHb=function(a){a&1&&(H(0,"a",23),T(1," Learn more"),K());a&2&&(a=R().feature,Af("href",a.learnMoreLink,Wd))},DHb=function(a){a&
1&&(H(0,"b-callout",24)(1,"b-callout-body"),T(2," Reload page to see changes. "),K()())},EHb=function(a,b){if(a&1){var c=v();H(0,"div",9)(1,"div",10)(2,"div",11);L(3,"mat-slide-toggle",12);W(4,"featureState");W(5,"featureState");K();H(6,"div",13)(7,"div",14);T(8);K();H(9,"span",15);T(10);F(11,CHb,2,1,"a",16);K();H(12,"div",17)(13,"a",18);Q("click",function(){var d=x(c).feature;R().linkClicked[d.experimentId]=!0;return z()});L(14,"mat-icon",19);T(15);W(16,"featureState");K()();F(17,DHb,3,0,"b-callout",
20);K();H(18,"div",21);L(19,"b-app-beap-state-indicator",22);K()()()}a&2&&(a=b.feature,b=R(),A(3),G("checked",X(4,10,a.state))("matTooltip",X(5,12,a.state)?"Opted in":"Opted out")("disabled",!0),A(5),V(" ",a.title," "),A(2),V("",a.description," "),A(1),G("ngIf",a.learnMoreLink),A(2),Af("href","https://webdog.corp.google.com/app/list;frontend=buganizer;id="+a.experimentId,Wd),A(2),V(" ",X(16,14,a.state)?"Opt out":"Opt in"," "),A(2),G("ngIf",!!b.linkClicked[a.experimentId]),A(2),G("experimentId",a.experimentId))},
FHb=function(a){a&1&&(H(0,"mat-option",26),T(1),K());a&2&&(a=R().$implicit,G("value",a),A(1),V(" ",a.name," "))},GHb=function(a,b){a&1&&(M(0),F(1,FHb,2,2,"mat-option",25),N());a&2&&(a=b.$implicit,A(1),G("ngIf",a.shouldDisplay()))},HHb=function(a,b){a&1&&(H(0,"mat-option",29),T(1),K());a&2&&(a=b.$implicit,G("value",a.id),A(1),V(" ",a.name," "))},JHb=function(a){if(a&1){var b=v();H(0,"mat-form-field",5)(1,"mat-select",27);Q("ngModelChange",function(c){x(b);var d=R();return z(d.preferredHomepage.selectedOptionId=
c)})("selectionChange",function(){x(b);var c=R();return z(IHb(c.preferredHomepage))});F(2,HHb,2,2,"mat-option",28);K()()}a&2&&(a=R(),A(1),G("ngModel",a.preferredHomepage.selectedOptionId),A(1),G("ngForOf",a.preferredHomepage.selectedMainOption.options))},KHb=function(a){if(a&1){var b=v();H(0,"div")(1,"mat-slide-toggle",30);Q("change",function(c){x(b);var d=R();c=c.checked;if(d.userPreferences){var e;d.userPreferences.missionControlPreferences=null!=(e=d.userPreferences.missionControlPreferences)?
e:{};e=!c;d.userPreferences.missionControlPreferences.hideBadgeInNav=e;d.save("hideBadgeInNav",String(e))}return z()});T(2,' Show red "attention" badge in left navigation ');K()()}a&2&&(a=R(),A(1),G("checked",!a.hideBadgeInNav))},LHb=function(a,b){a&1&&(H(0,"mat-option",31),T(1),K());a&2&&(a=b.$implicit,G("value",a.value),A(1),V(" ",a.label," "))},MHb=function(a,b){a&1&&(H(0,"mat-option",31),T(1),K());a&2&&(a=b.$implicit,G("value",a.value),A(1),V(" ",a.label," "))},NHb=function(a,b){a&1&&(H(0,"mat-option",
31),T(1),K());a&2&&(a=b.$implicit,G("value",a.value),A(1),V(" ",a.label," "))},OHb=function(a){if(a&1){var b=v();H(0,"div",21)(1,"mat-slide-toggle",32);Q("change",function(c){x(b);var d=R();c=c.checked;d.userPreferences.showInlineImages=c;d.save("showInlineImages",c.toString());return z()});T(2," Show SnipIt images inline in comments ");K()()}a&2&&(a=R(),A(1),G("checked",a.getShowInlineImages()))},PHb=function(a){if(a&1){var b=v();M(0);H(1,"div",0)(2,"div",1)(3,"p",2);T(4,"Other");K()();H(5,"div")(6,
"div")(7,"mat-slide-toggle",33);Q("change",function(c){x(b);var d=R();d.userPreferences.bugScreensaverPreferences.enableBugScreensaver=c.checked;return z(d.save("saveBugScreensaverPreferences"))});T(8," Enable bug screensaver ");K()()()();N()}a&2&&(a=R(),A(7),G("checked",a.userPreferences.bugScreensaverPreferences.enableBugScreensaver))},QHb=function(a,b){a&1&&(H(0,"mat-option",20),T(1),W(2,"toNewEmailPreference"),K());a&2&&(a=b.$implicit,G("value",a),A(1),V(" ",X(2,2,a)," "))},RHb=function(a,b){a&
1&&(H(0,"mat-option",20),T(1),W(2,"toNewEmailPreference"),K());a&2&&(a=b.$implicit,G("value",a),A(1),V(" ",X(2,2,a)," "))},SHb=function(a,b){a&1&&(H(0,"mat-option",20),T(1),W(2,"toNewEmailPreference"),K());a&2&&(a=b.$implicit,G("value",a),A(1),V(" ",X(2,2,a)," "))},THb=function(a,b){a&1&&(H(0,"mat-option",20),T(1),W(2,"toNewEmailPreference"),K());a&2&&(a=b.$implicit,G("value",a),A(1),V(" ",X(2,2,a)," "))},UHb=function(a,b){a&1&&(H(0,"mat-option",20),T(1),W(2,"toNewEmailPreference"),K());a&2&&(a=b.$implicit,
G("value",a),A(1),V(" ",X(2,2,a)," "))},VHb=function(a,b){a&1&&(H(0,"mat-option",20),T(1),W(2,"toNewEmailPreference"),K());a&2&&(a=b.$implicit,G("value",a),A(1),V(" ",X(2,2,a)," "))},WHb=function(a,b){a&1&&(H(0,"mat-option",3),T(1),K());a&2&&(a=b.$implicit,G("value",a.id),A(1),V(" ",a.displayName," "))},XHb=function(a,b){return a.gmt===b.gmt?a.id>b.id?1:-1:a.gmt>b.gmt?1:-1},YHb=function(a){a&1&&(M(0),L(1,"b-spinner"),N())},ZHb=function(a){a&1&&(H(0,"mat-hint"),T(1,"This field is read-only"),K())},
$Hb=function(a,b){a&1&&(H(0,"mat-option",20),T(1),K());a&2&&(a=b.$implicit,G("value",a.frequency),A(1),V(" ",a.display," "))},aIb=function(a,b){a&1&&(H(0,"mat-option",20),T(1),K());a&2&&(a=b.$implicit,G("value",a.ordinal),A(1),V(" ",a.display," "))},bIb=function(a){if(a&1){var b=v();H(0,"div")(1,"mat-form-field",14)(2,"mat-label");T(3," Repeat on ");K();H(4,"mat-select",16);Q("ngModelChange",function(d){x(b);var e=R(2).ngIf,f=R(2);kt(f,Object.assign({},e,{ordinal:d}));return z()});F(5,aIb,2,2,"mat-option",
17);K()()()}if(a&2){a=R(2).ngIf;var c=R(2);A(4);G("ngModel",a.ordinal);A(1);G("ngForOf",c.repeatOnOptions.get(a.frequency))}},cIb=function(a,b){a&1&&(H(0,"mat-option",20),T(1),K());a&2&&(a=b.$implicit,G("value",a.timeOfDay),A(1),V(" ~",a.display," "))},dIb=function(a,b){if(a&1){var c=v();M(0);H(1,"div")(2,"mat-form-field",14)(3,"mat-label");T(4," Repeat at ");K();H(5,"mat-select",21);Q("ngModelChange",function(e){x(c);var f=R(2).ngIf,h=R(2);kt(h,Object.assign({},f,{timeOfDay:e}));return z()});F(6,
cIb,2,2,"mat-option",17);K()()();N()}if(a&2){a=b.ngIf;b=R(2).ngIf;var d=R(2);A(5);G("ngModel",b.timeOfDay)("compareWith",d.compareTimeOfDay);A(1);G("ngForOf",a)}},eIb=function(a){a&1&&(H(0,"div",22),T(1),K());a&2&&(a=R(2).ngIf,A(1),V(" Subscription ID: ",a.id," "))},fIb=function(a){if(a&1){var b=v();M(0);H(1,"div")(2,"mat-form-field",14)(3,"mat-label");T(4," Frequency ");K();H(5,"mat-select",16);Q("ngModelChange",function(d){x(b);var e=R().ngIf,f=R(2);return z(f.setFrequency(d,e))});F(6,$Hb,2,2,"mat-option",
17);K()()();F(7,bIb,6,2,"div",0)(8,dIb,7,3,"ng-container",0);W(9,"async");H(10,"div")(11,"b-timezone-picker",18);Q("timezoneIdChange",function(d){x(b);var e=R().ngIf,f=R(2);return z(f.setTimeZone(d,e))});K()();F(12,eIb,2,1,"div",19);N()}if(a&2){a=R().ngIf;var c=R(2);A(5);G("ngModel",a.frequency);A(1);G("ngForOf",c.frequencyOptions);A(1);G("ngIf",a.frequency!==c.DAILY);A(1);G("ngIf",X(9,7,c.repeatAtOptions$));A(3);G("timezoneId",a.timeZone.id)("fullWidth",!0);A(1);G("ngIf",a.id)}},hIb=function(a,b){if(a&
1){var c=v();M(0);H(1,"div")(2,"div",7)(3,"mat-slide-toggle",13);Q("change",function(){x(c);var d=R(2);return z(gIb(d))});W(4,"async");T(5," Subscribe to your own reports ");F(6,YHb,2,0,"ng-container",0);W(7,"async");K()();H(8,"div")(9,"mat-form-field",14)(10,"mat-label");T(11,"Scope");K();H(12,"input",15);Q("focus",function(){x(c);var d=R(2);return z(d.inputHasFocus=!0)})("blur",function(){x(c);var d=R(2);return z(d.inputHasFocus=!1)});K();F(13,ZHb,2,0,"mat-hint",0);K()();F(14,fIb,13,9,"ng-container",
0);K();N()}a&2&&(a=b.ngIf,b=R(2),A(3),G("disabled",X(4,6,b.isThinking$))("checked",0!==a.id),A(3),G("ngIf",X(7,8,b.isThinking$)),A(6),G("ngModel",b.currentUser.email),A(1),G("ngIf",b.inputHasFocus),A(1),G("ngIf",0!==a.id))},iIb=function(a){a&1&&(M(0),H(1,"div",1)(2,"div",2)(3,"p",3),T(4,"Frequency settings"),K(),H(5,"p",10),T(6," Choose when to receive your own reports. "),H(7,"a",11),T(8,"Learn more"),K()()(),F(9,hIb,15,10,"ng-container",0),W(10,"async"),K(),L(11,"hr",12),N());a&2&&(a=R(),A(9),G("ngIf",
X(10,1,a.userSubscription$)))},jIb=function(a){a&1&&(M(0),L(1,"b-spinner"),N())},kIb=function(a){a&1&&(H(0,"th",31),T(1,"Scope"),K())},lIb=function(a,b){a&1&&(H(0,"td",32),T(1),K());a&2&&(a=b.$implicit,A(1),V(" ",a.lead.emailAddress," "))},mIb=function(a){a&1&&(H(0,"th",31),T(1,"Frequency"),K())},pIb=function(a,b){a&1&&(H(0,"td",32),T(1),W(2,"async"),W(3,"async"),K());if(a&2){a=b.$implicit;b=R(2);var c;A(1);Mla(" ",b.frequencyDisplayMap.get(a.frequency)," ",a.ordinal?"weekly"===a.frequency?"- "+nIb[a.ordinal-
1].display:"monthly"===a.frequency?"- "+oIb(a.ordinal):"":""," - ",null==(c=X(2,4,b.hourOfDayDisplayMap$))?null:c.get(a.timeOfDay.hours)," - ",null==(c=X(3,6,b.timeZoneDisplayMap$))?null:c.get(a.timeZone.id)," ")}},qIb=function(a){a&1&&L(0,"th",31)},sIb=function(a){if(a&1){var b=v();H(0,"td",32)(1,"button",33);L(2,"mat-icon",34);K();H(3,"mat-menu",null,35)(5,"button",36);Q("click",function(){var d=x(b).$implicit,e=R(2);return z(e.openDialog(d))});T(6," Edit subscription ");K();H(7,"button",37);Q("click",
function(){var d=x(b).$implicit,e=R(2);return z(rIb(e,d))});T(8," Delete subscription ");K()()()}if(a&2){var c=S(4);A(1);G("matMenuTriggerFor",c)}},tIb=function(a){a&1&&L(0,"tr",38)},uIb=function(a,b){a&1&&L(0,"tr",39);a&2&&(a=b.$implicit,Af("aria-label","Subscription with ID "+a.id+" and scoped to "+a.lead.emailAddress))},vIb=function(a){a&1&&(M(0),H(1,"table",23),M(2,24),F(3,kIb,2,0,"th",25)(4,lIb,2,1,"td",26),N(),M(5,27),F(6,mIb,2,0,"th",25)(7,pIb,4,8,"td",26),N(),M(8,28),F(9,qIb,1,0,"th",25)(10,
sIb,9,1,"td",26),N(),F(11,tIb,1,0,"tr",29)(12,uIb,1,1,"tr",30),K(),N());a&2&&(a=R(),A(1),G("dataSource",a.subscriptions$),A(10),G("matHeaderRowDef",a.columns),A(1),G("matRowDefColumns",a.columns))},wIb=function(a){a&1&&(H(0,"mat-error"),T(1,"Please select a valid, single user"),K())},xIb=function(a){a&1&&(H(0,"mat-error"),T(1,"Report for sundar@ cannot be generated"),K())},yIb=function(a,b){a&1&&(H(0,"mat-option",20),T(1),K());a&2&&(a=b.$implicit,G("value",a.frequency),A(1),V(" ",a.display," "))},
zIb=function(a,b){a&1&&(H(0,"mat-option",20),T(1),K());a&2&&(a=b.$implicit,G("value",a.ordinal),A(1),V(" ",a.display," "))},AIb=function(a){if(a&1){var b=v();H(0,"div")(1,"mat-form-field",14)(2,"mat-label");T(3," Repeat on ");K();H(4,"mat-select",16);Q("ngModelChange",function(d){x(b);var e=R().$implicit;return z(e.ordinal=d)});F(5,zIb,2,2,"mat-option",17);K()()()}if(a&2){a=R().$implicit;var c=R();A(4);G("ngModel",a.ordinal);A(1);G("ngForOf",c.repeatOnOptions.get(a.frequency))}},BIb=function(a,b){a&
1&&(H(0,"mat-option",20),T(1),K());a&2&&(a=b.$implicit,G("value",a.timeOfDay),A(1),V(" ~",a.display," "))},CIb=function(a,b){if(a&1){var c=v();M(0);H(1,"div")(2,"mat-form-field",14)(3,"mat-label");T(4," Repeat at ");K();H(5,"mat-select",21);Q("ngModelChange",function(e){x(c);var f=R().$implicit;return z(f.timeOfDay=e)});F(6,BIb,2,2,"mat-option",17);K()()();N()}if(a&2){a=b.ngIf;b=R().$implicit;var d=R();A(5);G("ngModel",b.timeOfDay)("compareWith",d.compareTimeOfDay);A(1);G("ngForOf",a)}},DIb=function(a){a&
1&&(H(0,"div",22),T(1),K());a&2&&(a=R().$implicit,A(1),V(" Subscription ID: ",a.id," "))},GIb=function(a,b){if(a&1){var c=v();H(0,"h1",40);T(1,"Add report subscription");K();H(2,"mat-dialog-content")(3,"p",41);T(4," Select the user (scope) and frequency of the report you wish to receive. ");K();H(5,"div")(6,"mat-form-field",42)(7,"mat-label");T(8,"Scope");K();H(9,"input",43);Q("ngModelChange",function(e){var f=x(c).$implicit,h=R();return z(f.lead=h.emailToUser(e))});K();F(10,wIb,2,0,"mat-error",0)(11,
xIb,2,0,"mat-error",0);K()();H(12,"div")(13,"mat-form-field",14)(14,"mat-label");T(15," Frequency ");K();H(16,"mat-select",16);Q("ngModelChange",function(e){var f=x(c).$implicit;return z(f.frequency=e)})("ngModelChange",function(e){var f=x(c).$implicit;R();return z(EIb(e,f))});F(17,yIb,2,2,"mat-option",17);K()()();F(18,AIb,6,2,"div",0)(19,CIb,7,3,"ng-container",0);W(20,"async");H(21,"div")(22,"b-timezone-picker",18);Q("timezoneIdChange",function(e){var f=x(c).$implicit;return z(f.timeZone.id=e)});
K()();F(23,DIb,2,1,"div",19);H(24,"p",44);T(25," You are the only recipient of your subscription. Anyone else wishing to receive this report will need to subscribe for themselves. ");K();H(26,"a",45);T(27,"Learn more");K()();H(28,"mat-dialog-actions")(29,"button",46);T(30,"Cancel");K();H(31,"button",8);Q("click",function(){var e=x(c).$implicit,f=R();return z(FIb(f,e))});T(32);K()()}if(a&2){a=b.$implicit;b=R();var d;A(9);G("ngModel",null!==(d=null==a.lead?null:a.lead.emailAddress)&&void 0!==d?d:"")("bContactAutocomplete",
"SINGLE");A(1);G("ngIf",b.dialogInvalidEmailFormat);A(1);G("ngIf",b.ceoSelected);A(5);G("ngModel",a.frequency);A(1);G("ngForOf",b.frequencyOptions);A(1);G("ngIf",a.frequency!==b.DAILY);A(1);G("ngIf",X(20,13,b.repeatAtOptions$));A(3);G("timezoneId",a.timeZone.id)("fullWidth",!0);A(1);G("ngIf",a.id);A(8);G("disabled",!a.lead||!a.lead.emailAddress);A(1);V(" ",0===a.id?"Add":"Update"," ")}},oIb=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"},HIb=function(a){a&1&&(H(0,"mat-tab",7)(1,"div",3),L(2,"b-slo-reports-settings"),K()())},IIb=function(a){a&1&&(H(0,"mat-tab",8)(1,"div",3),L(2,"b-beap-settings"),K()())},JIb=function(a){if(a&1){var b=v();H(0,"b-star-toggle",13);Q("starClicked",function(){x(b);var c=R(2);return z(c.toggleStar())});K()}a&2&&(a=R(2),G("starMessage","Star this bookmark group")("unStarMessage","Un-star this bookmark group")("starred",a.isStarred))},KIb=function(a){a&1&&L(0,"b-star-toggle",
14);a&2&&G("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)},LIb=function(a,b){a&1&&(H(0,"li")(1,"a",15),T(2),K()());a&2&&(a=b.$implicit,b=R(2),A(1),G("href",b.getUrl(a),Wd)("title",a.description),A(1),V(" ",b.getDisplayName(a)," "))},MIb=function(a){if(a&1){var b=v();H(0,"div")(1,"div",4)(2,"div",5);F(3,JIb,1,3,"b-star-toggle",6)(4,KIb,1,4,"b-star-toggle",
7);H(5,"span",8);T(6);K();H(7,"button",9);Q("click",function(){x(b);var c=R();return z(c.openEditBookmarkGroup())});K()();H(8,"div",10);T(9);K()();H(10,"ul",11);F(11,LIb,3,3,"li",12);K()()}a&2&&(a=R(),A(3),G("ngIf",!a.userIsAdmin),A(1),G("ngIf",a.userIsAdmin),A(2),V("Bookmark Group: ",a.bookmarkGroup.name," "),A(3),$f(a.bookmarkGroup.description),A(2),G("ngForOf",a.bookmarkGroup.item))},NIb=function(a){if(a&1){var b=v();H(0,"b-star-toggle",16);Q("starClicked",function(){x(b);var c=R(2);return z(c.toggleStar())})("keydown.space",
function(c){return c.stopPropagation()})("keydown.enter",function(c){return c.stopPropagation()});K()}a&2&&(a=R(2),G("starMessage","Star this hotlist")("unStarMessage","Un-star this hotlist")("starred",a.isStarred))},OIb=function(a){a&1&&L(0,"b-star-toggle",17);a&2&&G("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)},PIb=function(a){a&1&&L(0,"b-star-toggle",17);
a&2&&G("starMessage","")("unStarMessage","")("starred",!1)("disabled",!0)},QIb=function(a){a&1&&(H(0,"div",18),T(1," Hotlist not found. "),K());a&2&&G("bFocus",!0)},RIb=function(a){a&1&&(H(0,"div"),T(1," Loading details... "),K())},SIb=function(a){a&1&&(H(0,"span",25),T(1," (archived) "),K())},TIb=function(a){a&1&&(H(0,"span",26),T(1," \u00a0(changed) "),K())},UIb=function(a){if(a&1){var b=v();H(0,"div")(1,"span",19);T(2," Hotlist: ");H(3,"span",20);T(4);K()();F(5,SIb,2,0,"span",21);H(6,"div",22)(7,
"button",23);Q("click",function(){x(b);var c=R(2);return z(c.openEditHotlist())});K()();F(8,TIb,2,0,"span",24);K()}a&2&&(a=R(2),A(3),G("matTooltip",a.hotlist.description),A(1),V(" ",a.hotlist.name," "),A(1),G("ngIf",a.hotlist.archived),A(3),G("ngIf",a.hasParamChanges()))},VIb=function(a){if(a&1){var b=v();H(0,"div",27)(1,"button",28);Q("click",function(){x(b);var c=R(2);return z(c.save())});T(2,"Save ");K();H(3,"button",29);Q("click",function(){x(b);var c=R(2);return z(c.discardChanges())});T(4,"Discard changes ");
K()()}},WIb=function(a){a&1&&(H(0,"div",9),F(1,NIb,1,3,"b-star-toggle",10)(2,OIb,1,4,"b-star-toggle",11)(3,PIb,1,4,"b-star-toggle",11),H(4,"div",12),F(5,QIb,2,1,"div",13)(6,RIb,2,0,"div",14)(7,UIb,9,4,"div",14),K(),F(8,VIb,5,0,"div",15),K());a&2&&(a=R(),A(1),G("ngIf",!a.isDirectAdmin()&&a.hotlist&&!a.hotlist.archived),A(1),G("ngIf",a.isDirectAdmin()&&a.hotlist&&!a.hotlist.archived),A(1),G("ngIf",!a.hotlist),A(2),G("ngIf",!a.hotlist&&!a.hotlistLoading),A(1),G("ngIf",a.hotlistLoading),A(1),G("ngIf",
a.hotlist&&!a.hotlistLoading),A(1),G("ngIf",a.hasParamChanges()))},XIb=function(a){a&1&&(H(0,"div",30),L(1,"b-spinner"),H(2,"span"),T(3),K()());a&2&&(a=R(),A(3),V(" Loading hotlist: ",a.hotlistId,""))},YIb=function(a){a&1&&(H(0,"div",31),T(1),K());a&2&&(a=R(),G("bFocus",!0),A(1),V(" No issues in hotlist ",a.hotlistId,". "))},ZIb=function(a){if(a&1){var b=v();H(0,"div",32)(1,"b-issues-grid",33);Q("init",function(c){x(b);var d=R();return z(d.resultsGrid=c)})("focusedRowIndexChange",function(c){x(b);
var d=R();return z(d.focusedRowIndex=c)})("columnsChange",function(c){x(b);var d=R();return z(d.issueColumns=c)})("sortChange",function(c){x(b);var d=R();return z(d.setSort(c.field,c.direction))})("rowClick",function(c){x(b);var d=R();return z(d.goToIssue(c.id,c.isRead,c.event))})("onRowDragDrop",function(c){x(b);var d=R();return z(d.repositionIssue(c.srcIndex,c.destIndex))})("onNextPage",function(){x(b);var c=R();return z($s(c,c.page,1))})("onPrevPage",function(){x(b);var c=R();return z($s(c,c.page,
-1))});K()()}a&2&&(a=R(),A(1),G("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort())("enableSidebar",!0))},$Ib=function(a){a&1&&(H(0,"div"),T(1," Loading details... "),K())},aJb=function(a){a&1&&(H(0,"div"),T(1," Saved search not found. "),K())},bJb=function(a){a&1&&(H(0,"span",15),T(1," \u00a0(changed) "),K())},cJb=function(a){if(a&1){var b=v();H(0,"div",11);T(1," Saved search: ");H(2,"span",
12);T(3);K();H(4,"button",13);Q("click",function(){x(b);var c=R(2);return z(c.openEditSavedSearch())});K();F(5,bJb,2,0,"span",14);K()}a&2&&(a=R(2),A(2),G("matTooltip",a.savedSearch.description),A(1),V(" ",a.savedSearch.name," "),A(2),G("ngIf",a.hasParamChanges()))},dJb=function(a){a&1&&(H(0,"div",9),F(1,$Ib,2,0,"div",8)(2,aJb,2,0,"div",8)(3,cJb,6,3,"div",10),K());a&2&&(a=R(),A(1),G("ngIf",!a.savedSearch&&a.isLoading),A(1),G("ngIf",!a.savedSearch&&!a.isLoading),A(1),G("ngIf",a.savedSearch))},eJb=function(a){if(a&
1){var b=v();H(0,"button",21);Q("click",function(){x(b);var c=R(2);return z(c.save())});T(1,"Save ");K()}},fJb=function(a){if(a&1){var b=v();H(0,"div",16);F(1,eJb,2,0,"button",17);H(2,"button",18);Q("click",function(){x(b);var c=R();return z(c.discardChanges())});T(3,"Discard changes ");K();H(4,"span",19)(5,"a",20);Q("click",function(){x(b);var c=R();c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"backToNormalSearch");return z()});T(6," Back to normal search");K()()()}a&2&&(a=R(),A(1),G("ngIf",a.isEditable()),
A(4),G("href",a.exitLink,Wd))},gJb=function(a){a&1&&(H(0,"span"),T(1),K());a&2&&(a=R(3),A(1),V(" Searching",a.searchParams.query?" for "+a.searchParams.query:"","..."))},hJb=function(a){a&1&&(H(0,"div",25),L(1,"b-spinner"),F(2,gJb,2,1,"span",8),K());a&2&&(a=R(2),A(2),G("ngIf",a.searchParams))},iJb=function(a){a&1&&(H(0,"div",26),T(1," No issues in saved search. "),K());a&2&&G("bFocus",!0)},jJb=function(a){if(a&1){var b=v();H(0,"div",27)(1,"b-issues-grid",28);Q("init",function(c){x(b);var d=R(2);return z(d.resultsGrid=
c)})("focusedRowIndexChange",function(c){x(b);var d=R(2);return z(d.focusedRowIndex=c)})("columnsChange",function(c){x(b);var d=R(2);return z(d.issueColumns=c)})("sortChange",function(c){x(b);var d=R(2);return z(d.setSort(c.field,c.direction))})("rowClick",function(c){x(b);var d=R(2);return z(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){x(b);var c=R(2);return z($s(c,c.page,1))})("onPrevPage",function(){x(b);var c=R(2);return z($s(c,c.page,-1))});K()()}a&2&&(a=R(2),A(1),G("searchResults",
a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort())("enableSidebar",!0))},kJb=function(a){a&1&&(H(0,"div"),F(1,hJb,3,1,"div",22)(2,iJb,2,1,"div",23)(3,jJb,2,6,"div",24),K());a&2&&(a=R(),A(1),G("ngIf",a.isLoading),A(1),G("ngIf",!a.isLoading&&!a.hasResults()),A(1),G("ngIf",!a.isLoading&&a.hasResults()))},mJb=function(a,b){return lJb(function(){return Cm(a)},b)},lJb=function(a,b){return a()?[b]:[]},nJb=function(){var a=
Nc(nt).getEnvironmentType(),b={};return(b.DEV="Dev",b.NIGHTLY="Autopush",b.QA="Dev",b.PROD="Prod",b)[a]},oJb=function(a,b){var c={};return Ho("A",(c.href=b,c.target="_blank",c.rel="noopener noreferrer nofollow",c),a)},rJb=function(){return"QA"===Nc(nt).getEnvironmentType()?pJb:qJb},uJb=function(){return"QA"===Nc(nt).getEnvironmentType()?sJb:tJb},wJb=function(){return new vJb(new ot("https://people-pa.googleapis.com","AIzaSyClMyMjdjUv-Z9gej4bgUQoU3CSbak7a9s",{withCredentials:!0,"googleapis.config/auth/useFirstPartyAuth":!0,
"googleapis.config/auth/useFirstPartyAuthV2":!0}))},xJb=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},yJb="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},zJb=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");},Gh=zJb(this),pt=function(a,b){if(b)a:{var c=Gh;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&&yJb(c,a,{configurable:!0,writable:!0,value:b})}};
pt("Symbol",function(a){if(a)return a;var b=function(f,h){this.$jscomp$symbol$id_=f;yJb(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(f){if(this instanceof e)throw new TypeError("b");return new b(c+(f||"")+"_"+d++,f)};return e});
pt("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=Gh[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&yJb(d.prototype,a,{configurable:!0,writable:!0,value:function(){return AJb(xJb(this))}})}return a});pt("Symbol.asyncIterator",function(a){return a?a:Symbol("d")});
var AJb=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},qt=function(a){return a.raw=a},BJb=function(a,b){a.raw=b;return a},l=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:xJb(a)};throw Error("e`"+String(a));},Ge=function(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c},u=function(a){return a instanceof Array?a:Ge(l(a))},rt=function(a,b){return Object.prototype.hasOwnProperty.call(a,
b)},CJb="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)rt(d,e)&&(a[e]=d[e])}return a};pt("Object.assign",function(a){return a||CJb});
var DJb="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},EJb=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=DJb(e.prototype||Object.prototype);return Function.prototype.apply.call(c,
e,d)||e}}(),FJb;if("function"==typeof Object.setPrototypeOf)FJb=Object.setPrototypeOf;else{var GJb;a:{var HJb={a:!0},IJb={};try{IJb.__proto__=HJb;GJb=IJb.a;break a}catch(a){}GJb=!1}FJb=GJb?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError("f`"+a);return a}:null}
var st=FJb,Y=function(a,b){a.prototype=DJb(b.prototype);a.prototype.constructor=a;if(st)st(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},JJb=function(){this.isRunning_=!1;this.yieldAllIterator_=null;this.yieldResult=void 0;this.nextAddress=1;this.finallyAddress_=this.catchAddress_=0;this.finallyContexts_=this.abruptCompletion_=null};g=JJb.prototype;
g.start_=function(){if(this.isRunning_)throw new TypeError("h");this.isRunning_=!0};g.next_=function(a){this.yieldResult=a};g.throw_=function(a){this.abruptCompletion_={exception:a,isException:!0};this.nextAddress=this.catchAddress_||this.finallyAddress_};g.return=function(a){this.abruptCompletion_={return:a};this.nextAddress=this.finallyAddress_};g.yield=function(a,b){this.nextAddress=b;return{value:a}};g.jumpTo=function(a){this.nextAddress=a};
var we=function(a){a.nextAddress=0},re=function(a,b,c){a.catchAddress_=b;void 0!=c&&(a.finallyAddress_=c)},tt=function(a,b){a.nextAddress=b;a.catchAddress_=0},ve=function(a){a.catchAddress_=0;var b=a.abruptCompletion_.exception;a.abruptCompletion_=null;return b},te=function(a,b,c,d){d?a.finallyContexts_[d]=a.abruptCompletion_:a.finallyContexts_=[a.abruptCompletion_];a.catchAddress_=b||0;a.finallyAddress_=c||0},ue=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},KJb=function(a){this.context_=new JJb;this.program_=a};KJb.prototype.next_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return LJb(this,this.context_.yieldAllIterator_.next,a,this.context_.next_);this.context_.next_(a);return ut(this)};
var MJb=function(a,b){a.context_.start_();var c=a.context_.yieldAllIterator_;if(c)return LJb(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.context_.return);a.context_.return(b);return ut(a)};KJb.prototype.throw_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return LJb(this,this.context_.yieldAllIterator_["throw"],a,this.context_.next_);this.context_.throw_(a);return ut(this)};
var LJb=function(a,b,c,d){try{var e=b.call(a.context_.yieldAllIterator_,c);if(!(e instanceof Object))throw new TypeError("g`"+e);if(!e.done)return a.context_.isRunning_=!1,e;var f=e.value}catch(h){return a.context_.yieldAllIterator_=null,a.context_.throw_(h),ut(a)}a.context_.yieldAllIterator_=null;d.call(a.context_,f);return ut(a)},ut=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}},NJb=function(a){this.next=function(b){return a.next_(b)};this.throw=function(b){return a.throw_(b)};this.return=function(b){return MJb(a,b)};this[Symbol.iterator]=function(){return this}},ibb=function(a){var b=jbb;a=new NJb(new KJb(a));st&&b.prototype&&st(a,
b.prototype);return a},OJb=function(a){function b(d){return a.next(d)}function c(d){return a.throw(d)}return new Promise(function(d,e){function f(h){h.done?d(h.value):Promise.resolve(h.value).then(b,c).then(f,e)}f(a.next())})},qe=function(a){return OJb(new NJb(new KJb(a)))},Cia=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))})},$c=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};pt("Reflect",function(a){return a?a:{}});pt("Reflect.construct",function(){return EJb});pt("Reflect.setPrototypeOf",function(a){return a?a:st?function(b,c){try{return st(b,c),!0}catch(d){return!1}}:null});
pt("Promise",function(a){function b(){this.batch_=null}function c(h){return h instanceof e?h:new e(function(k){k(h)})}if(a)return a;b.prototype.asyncExecute=function(h){if(null==this.batch_){this.batch_=[];var k=this;this.asyncExecuteFunction(function(){k.executeBatch_()})}this.batch_.push(h)};var d=Gh.setTimeout;b.prototype.asyncExecuteFunction=function(h){d(h,0)};b.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var h=this.batch_;this.batch_=[];for(var k=0;k<h.length;++k){var q=
h[k];h[k]=null;try{q()}catch(t){this.asyncThrow_(t)}}}this.batch_=null};b.prototype.asyncThrow_=function(h){this.asyncExecuteFunction(function(){throw h;})};var e=function(h){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var k=this.createResolveAndReject_();try{h(k.resolve,k.reject)}catch(q){k.reject(q)}};e.prototype.createResolveAndReject_=function(){function h(t){return function(w){q||(q=!0,t.call(k,w))}}var k=this,q=!1;return{resolve:h(this.resolveTo_),
reject:h(this.reject_)}};e.prototype.resolveTo_=function(h){if(h===this)this.reject_(new TypeError("i"));else if(h instanceof e)this.settleSameAsPromise_(h);else{a:switch(typeof h){case "object":var k=null!=h;break a;case "function":k=!0;break a;default:k=!1}k?this.resolveToNonPromiseObj_(h):this.fulfill_(h)}};e.prototype.resolveToNonPromiseObj_=function(h){var k=void 0;try{k=h.then}catch(q){this.reject_(q);return}"function"==typeof k?this.settleSameAsThenable_(k,h):this.fulfill_(h)};e.prototype.reject_=
function(h){this.settle_(2,h)};e.prototype.fulfill_=function(h){this.settle_(1,h)};e.prototype.settle_=function(h,k){if(0!=this.state_)throw Error("j`"+h+"`"+k+"`"+this.state_);this.state_=h;this.result_=k;2===this.state_&&this.scheduleUnhandledRejectionCheck_();this.executeOnSettledCallbacks_()};e.prototype.scheduleUnhandledRejectionCheck_=function(){var h=this;d(function(){if(h.notifyUnhandledRejection_()){var k=Gh.console;"undefined"!==typeof k&&k.error(h.result_)}},1)};e.prototype.notifyUnhandledRejection_=
function(){if(this.isRejectionHandled_)return!1;var h=Gh.CustomEvent,k=Gh.Event,q=Gh.dispatchEvent;if("undefined"===typeof q)return!0;"function"===typeof h?h=new h("unhandledrejection",{cancelable:!0}):"function"===typeof k?h=new k("unhandledrejection",{cancelable:!0}):(h=Gh.document.createEvent("CustomEvent"),h.initCustomEvent("unhandledrejection",!1,!0,h));h.promise=this;h.reason=this.result_;return q(h)};e.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var h=
0;h<this.onSettledCallbacks_.length;++h)f.asyncExecute(this.onSettledCallbacks_[h]);this.onSettledCallbacks_=null}};var f=new b;e.prototype.settleSameAsPromise_=function(h){var k=this.createResolveAndReject_();h.callWhenSettled_(k.resolve,k.reject)};e.prototype.settleSameAsThenable_=function(h,k){var q=this.createResolveAndReject_();try{h.call(k,q.resolve,q.reject)}catch(t){q.reject(t)}};e.prototype.then=function(h,k){function q(C,J){return"function"==typeof C?function(I){try{t(C(I))}catch(P){w(P)}}:
J}var t,w,y=new e(function(C,J){t=C;w=J});this.callWhenSettled_(q(h,t),q(k,w));return y};e.prototype.catch=function(h){return this.then(void 0,h)};e.prototype.callWhenSettled_=function(h,k){function q(){switch(t.state_){case 1:h(t.result_);break;case 2:k(t.result_);break;default:throw Error("k`"+t.state_);}}var t=this;null==this.onSettledCallbacks_?f.asyncExecute(q):this.onSettledCallbacks_.push(q);this.isRejectionHandled_=!0};e.resolve=c;e.reject=function(h){return new e(function(k,q){q(h)})};e.race=
function(h){return new e(function(k,q){for(var t=l(h),w=t.next();!w.done;w=t.next())c(w.value).callWhenSettled_(k,q)})};e.all=function(h){var k=l(h),q=k.next();return q.done?c([]):new e(function(t,w){function y(I){return function(P){C[I]=P;J--;0==J&&t(C)}}var C=[],J=0;do C.push(void 0),J++,c(q.value).callWhenSettled_(y(C.length-1),w),q=k.next();while(!q.done)})};return e});var vt=function(a,b,c){if(null==a)throw new TypeError("l`"+c);if(b instanceof RegExp)throw new TypeError("m`"+c);return a+""};
pt("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=vt(this,b,"startsWith"),e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var h=0;h<f&&c<e;)if(d[c++]!=b[h++])return!1;return h>=f}});pt("Object.setPrototypeOf",function(a){return a||st});var PJb=function(a,b,c){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var f=a[e];if(b.call(c,f,e,a))return{i:e,v:f}}return{i:-1,v:void 0}};
pt("Array.prototype.find",function(a){return a?a:function(b,c){return PJb(this,b,c).v}});
pt("WeakMap",function(a){function b(){}function c(q){var t=typeof q;return"object"===t&&null!==q||"function"===t}function d(q){if(!rt(q,f)){var t=new b;yJb(q,f,{value:t})}}function e(q){var t=Object[q];t&&(Object[q]=function(w){if(w instanceof b)return w;Object.isExtensible(w)&&d(w);return t(w)})}if(function(){if(!a||!Object.seal)return!1;try{var q=Object.seal({}),t=Object.seal({}),w=new a([[q,2],[t,3]]);if(2!=w.get(q)||3!=w.get(t))return!1;w.delete(q);w.set(t,4);return!w.has(q)&&4==w.get(t)}catch(y){return!1}}())return a;
var f="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var h=0,k=function(q){this.id_=(h+=Math.random()+1).toString();if(q){q=l(q);for(var t;!(t=q.next()).done;)t=t.value,this.set(t[0],t[1])}};k.prototype.set=function(q,t){if(!c(q))throw Error("n");d(q);if(!rt(q,f))throw Error("o`"+q);q[f][this.id_]=t;return this};k.prototype.get=function(q){return c(q)&&rt(q,f)?q[f][this.id_]:void 0};k.prototype.has=function(q){return c(q)&&rt(q,f)&&rt(q[f],this.id_)};k.prototype.delete=
function(q){return c(q)&&rt(q,f)&&rt(q[f],this.id_)?delete q[f][this.id_]:!1};return k});
pt("Map",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var k=Object.seal({x:4}),q=new a(l([[k,"s"]]));if("s"!=q.get(k)||1!=q.size||q.get({x:4})||q.set({x:4},"t")!=q||2!=q.size)return!1;var t=q.entries(),w=t.next();if(w.done||w.value[0]!=k||"s"!=w.value[1])return!1;w=t.next();return w.done||4!=w.value[0].x||"t"!=w.value[1]||!t.next().done?!1:!0}catch(y){return!1}}())return a;var b=new WeakMap,c=function(k){this[0]={};this[1]=
f();this.size=0;if(k){k=l(k);for(var q;!(q=k.next()).done;)q=q.value,this.set(q[0],q[1])}};c.prototype.set=function(k,q){k=0===k?0:k;var t=d(this,k);t.list||(t.list=this[0][t.id]=[]);t.entry?t.entry.value=q:(t.entry={next:this[1],previous:this[1].previous,head:this[1],key:k,value:q},t.list.push(t.entry),this[1].previous.next=t.entry,this[1].previous=t.entry,this.size++);return this};c.prototype.delete=function(k){k=d(this,k);return k.entry&&k.list?(k.list.splice(k.index,1),k.list.length||delete this[0][k.id],
k.entry.previous.next=k.entry.next,k.entry.next.previous=k.entry.previous,k.entry.head=null,this.size--,!0):!1};c.prototype.clear=function(){this[0]={};this[1]=this[1].previous=f();this.size=0};c.prototype.has=function(k){return!!d(this,k).entry};c.prototype.get=function(k){return(k=d(this,k).entry)&&k.value};c.prototype.entries=function(){return e(this,function(k){return[k.key,k.value]})};c.prototype.keys=function(){return e(this,function(k){return k.key})};c.prototype.values=function(){return e(this,
function(k){return k.value})};c.prototype.forEach=function(k,q){for(var t=this.entries(),w;!(w=t.next()).done;)w=w.value,k.call(q,w[1],w[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(k,q){var t=q&&typeof q;"object"==t||"function"==t?b.has(q)?t=b.get(q):(t=""+ ++h,b.set(q,t)):t="p_"+q;var w=k[0][t];if(w&&rt(k[0],t))for(k=0;k<w.length;k++){var y=w[k];if(q!==q&&y.key!==y.key||q===y.key)return{id:t,list:w,index:k,entry:y}}return{id:t,list:w,index:-1,entry:void 0}},e=function(k,
q){var t=k[1];return AJb(function(){if(t){for(;t.head!=k[1];)t=t.previous;for(;t.next!=t.head;)return t=t.next,{done:!1,value:q(t)};t=null}return{done:!0,value:void 0}})},f=function(){var k={};return k.previous=k.next=k.head=k},h=0;return c});pt("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}});
pt("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)rt(b,d)&&c.push(b[d]);return c}});pt("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});pt("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 f=d[c];if(f===b||Object.is(f,b))return!0}return!1}});
pt("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==vt(this,b,"includes").indexOf(b,c||0)}});
pt("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(l([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(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||4!=f.value[0].x||f.value[1]!=f.value[0]?!1:e.next().done}catch(h){return!1}}())return a;var b=function(c){this.map_=new Map;if(c){c=
l(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.map_.size};b.prototype.add=function(c){c=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(f){return c.call(d,f,f,e)})};return b});pt("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991});pt("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}});pt("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});
pt("Number.isSafeInteger",function(a){return a?a:function(b){return Number.isInteger(b)&&Math.abs(b)<=Number.MAX_SAFE_INTEGER}});pt("Number.isNaN",function(a){return a?a:function(b){return"number"===typeof b&&isNaN(b)}});var QJb=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var f=c++;return{value:b(f,a[f]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e};
pt("Array.prototype.entries",function(a){return a?a:function(){return QJb(this,function(b,c){return[b,c]})}});pt("Array.prototype.keys",function(a){return a?a:function(){return QJb(this,function(b){return b})}});pt("Array.prototype.values",function(a){return a?a:function(){return QJb(this,function(b,c){return c})}});
pt("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(k){return k};var e=[],f="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof f){b=f.call(b);for(var h=0;!(f=b.next()).done;)e.push(c.call(d,f.value,h++))}else for(f=b.length,h=0;h<f;h++)e.push(c.call(d,b[h],h));return e}});
pt("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 wt=function(a){return a?a:Array.prototype.fill};pt("Int8Array.prototype.fill",wt);pt("Uint8Array.prototype.fill",wt);pt("Uint8ClampedArray.prototype.fill",wt);pt("Int16Array.prototype.fill",wt);pt("Uint16Array.prototype.fill",wt);pt("Int32Array.prototype.fill",wt);
pt("Uint32Array.prototype.fill",wt);pt("Float32Array.prototype.fill",wt);pt("Float64Array.prototype.fill",wt);pt("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)rt(b,d)&&c.push([d,b[d]]);return c}});pt("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=vt(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}});
pt("String.prototype.repeat",function(a){return a?a:function(b){var c=vt(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}});pt("globalThis",function(a){return a||Gh});pt("Object.getOwnPropertySymbols",function(a){return a?a:function(){return[]}});pt("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}});
pt("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}});pt("Array.prototype.findIndex",function(a){return a?a:function(b,c){return PJb(this,b,c).i}});
pt("Array.prototype.flatMap",function(a){return a?a:function(b,c){var d=[];Array.prototype.forEach.call(this,function(e,f){e=b.call(c,e,f,this);Array.isArray(e)?d.push.apply(d,e):d.push(e)});return d}});
pt("String.prototype.matchAll",function(a){return a?a:function(b){if(b instanceof RegExp&&!b.global)throw new TypeError("q");var c=new RegExp(b,b instanceof RegExp?void 0:"g"),d=this,e=!1,f={next:function(){if(e)return{value:void 0,done:!0};var h=c.exec(d);if(!h)return e=!0,{value:void 0,done:!0};""===h[0]&&(c.lastIndex+=1);return{value:h,done:!1}}};f[Symbol.iterator]=function(){return f};return f}});
pt("Promise.allSettled",function(a){function b(d){return{status:"fulfilled",value:d}}function c(d){return{status:"rejected",reason:d}}return a?a:function(d){var e=this;d=Array.from(d,function(f){return e.resolve(f).then(b,c)});return e.all(d)}});var RJb=function(a){a=Math.trunc(a)||0;0>a&&(a+=this.length);if(!(0>a||a>=this.length))return this[a]};pt("Array.prototype.at",function(a){return a?a:RJb});var xt=function(a){return a?a:RJb};pt("Int8Array.prototype.at",xt);pt("Uint8Array.prototype.at",xt);
pt("Uint8ClampedArray.prototype.at",xt);pt("Int16Array.prototype.at",xt);pt("Uint16Array.prototype.at",xt);pt("Int32Array.prototype.at",xt);pt("Uint32Array.prototype.at",xt);pt("Float32Array.prototype.at",xt);pt("Float64Array.prototype.at",xt);pt("String.prototype.at",function(a){return a?a:RJb});
pt("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;})})}});pt("Reflect.isExtensible",function(a){return a?a:"function"==typeof Object.isExtensible?Object.isExtensible:function(){return!0}});pt("Reflect.getOwnPropertyDescriptor",function(a){return a||Object.getOwnPropertyDescriptor});pt("Reflect.getPrototypeOf",function(a){return a||Object.getPrototypeOf});
var SJb=function(a,b){for(;a;){var c=Reflect.getOwnPropertyDescriptor(a,b);if(c)return c;a=Reflect.getPrototypeOf(a)}};pt("Reflect.set",function(a){return a?a:function(b,c,d,e){var f=SJb(b,c);return f?f.set?(f.set.call(3<arguments.length?e:b,d),!0):f.writable&&!Object.isFrozen(b)?(b[c]=d,!0):!1:Reflect.isExtensible(b)?(b[c]=d,!0):!1}});pt("Reflect.get",function(a){return a?a:function(b,c,d){if(2>=arguments.length)return b[c];var e=SJb(b,c);if(e)return e.get?e.get.call(d):e.value}});
pt("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}});pt("String.prototype.padEnd",function(a){return a?a:function(b,c){var d=vt(this,null,"padStart");b-=d.length;c=void 0!==c?String(c):" ";c=0<b&&c?c.repeat(Math.ceil(b/c.length)).substring(0,b):"";return d+c}});
pt("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)}});pt("Array.of",function(a){return a?a:function(b){return Array.from(arguments)}});
pt("String.prototype.codePointAt",function(a){return a?a:function(b){var c=vt(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 TJb=TJb||{},da=this||self,UJb=function(a,b){var c=Vo("WIZ_global_data.oxN3nb");a=c&&c[a];return null!=a?a:b},VJb=da._F_toggles||[],Vo=function(a,b){a=a.split(".");b=b||da;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b},lb=function(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"},za=function(a){var b=lb(a);return"array"==b||"object"==b&&"number"==typeof a.length},Aa=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},Da=function(a){return Object.prototype.hasOwnProperty.call(a,
WJb)&&a[WJb]||(a[WJb]=++XJb)},WJb="closure_uid_"+(1E9*Math.random()>>>0),XJb=0,YJb=function(a,b,c){return a.call.apply(a.bind,arguments)},ZJb=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)}},yt=function(a,b,c){yt=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?
YJb:ZJb;return yt.apply(null,arguments)},zt=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)}},$Jb=function(a){(0,eval)(a)},aKb=function(a,b){a=a.split(".");var c=da;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},At=function(a,b){function c(){}c.prototype=b.prototype;a.superClass_=
b.prototype;a.prototype=new c;a.prototype.constructor=a;a.base=function(d,e,f){for(var h=Array(arguments.length-2),k=2;k<arguments.length;k++)h[k-2]=arguments[k];return b.prototype[e].apply(d,h)}},bKb=function(a){return a};At(ba,Error);ba.prototype.name="CustomError";var cKb;At(aaa,ba);aaa.prototype.name="AssertionError";var dKb=void 0,eKb,fKb,gKb="undefined"!==typeof TextDecoder,Kwa,Jwa="function"===typeof String.prototype.isWellFormed,Iwa="undefined"!==typeof TextEncoder;var Bt=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c},Y5a=function(a){return 0==Eq("@ldap.google.com",a.slice(a.length-16))},Ei=function(a){return/^[\s\xa0]*$/.test(a)},ii=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},Eq=function(a,b){a=String(a).toLowerCase();b=String(b).toLowerCase();return a<b?-1:a==b?0:1},oKb=function(a){if(!hKb.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(iKb,"&amp;"));-1!=a.indexOf("<")&&
(a=a.replace(jKb,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(kKb,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(lKb,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(mKb,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(nKb,"&#0;"));return a},iKb=/&/g,jKb=/</g,kKb=/>/g,lKb=/"/g,mKb=/'/g,nKb=/\x00/g,hKb=/[\x00&<>"']/,ka=function(a,b){return-1!=a.indexOf(b)},qKb=function(a,b){var c=0;a=ii(String(a)).split(".");b=ii(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;0==c&&e<d;e++){var f=a[e]||"",h=b[e]||
"";do{f=/(\d*)(\D*)(.*)/.exec(f)||["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];if(0==f[0].length&&0==h[0].length)break;c=pKb(0==f[1].length?0:parseInt(f[1],10),0==h[1].length?0:parseInt(h[1],10))||pKb(0==f[2].length,0==h[2].length)||pKb(f[2],h[2]);f=f[3];h=h[3]}while(0==c)}return c},pKb=function(a,b){return a<b?-1:a>b?1:0};var rKb=!!(VJb[0]&512),sKb=!!(VJb[0]&16),tKb=!!(VJb[0]&1024),uKb=!!(VJb[0]&8);var vKb=UJb(1,!0),ia=rKb?tKb:UJb(610401301,!1),wKb=rKb?sKb||!uKb:UJb(572417392,vKb);var ja,xKb=da.navigator;ja=xKb?xKb.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},ra=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,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},yKb=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,
b,c)}:function(a,b,c){for(var d=a.length,e=[],f=0,h="string"===typeof a?a.split(""):a,k=0;k<d;k++)if(k in h){var q=h[k];b.call(c,q,k,a)&&(e[f++]=q)}return e},zKb=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,f=0;f<c;f++)f in e&&(d[f]=b.call(void 0,e[f],f,a));return d},AKb=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 BKb=function(a){BKb[" "](a);return a};BKb[" "]=function(){};var CKb=function(a,b){try{return BKb(a[b]),!0}catch(c){}return!1};var DKb=daa(),Hq=eaa(),Ct=la("Edge"),Mj=Ct||Hq,Dt=la("Gecko")&&!(ka(ha().toLowerCase(),"webkit")&&!la("Edge"))&&!(la("Trident")||la("MSIE"))&&!la("Edge"),Et=ka(ha().toLowerCase(),"webkit")&&!la("Edge"),EKb=Et&&la("Mobile"),Nq=naa(),FKb=oa()?"Windows"===ja.platform:la("Windows"),GKb=(oa()?"Linux"===ja.platform:la("Linux"))||(oa()?"Chrome OS"===ja.platform:la("CrOS")),HKb=laa(),IKb=maa(),JKb=la("iPad"),KKb=la("iPod"),LKb=pa();ka(ha().toLowerCase(),"kaios");
var MKb=function(){var a=da.document;return a?a.documentMode:void 0},NKb;a:{var OKb="",PKb=function(){var a=ha();if(Dt)return/rv:([^\);]+)(\)|;)/.exec(a);if(Ct)return/Edge\/([\d\.]+)/.exec(a);if(Hq)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Et)return/WebKit\/(\S+)/.exec(a);if(DKb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();PKb&&(OKb=PKb?PKb[1]:"");if(Hq){var QKb=MKb();if(null!=QKb&&QKb>parseFloat(OKb)){NKb=String(QKb);break a}}NKb=OKb}var RKb=NKb,SKb;
if(da.document&&Hq){var TKb=MKb();SKb=TKb?TKb:parseInt(RKb,10)||void 0}else SKb=void 0;var Ft=SKb;var UKb=faa(),VKb=maa()||la("iPod"),WKb=la("iPad"),XKb=iaa(),YKb=gaa(),ZKb=haa()&&!pa();var $Kb={},Gt=null,aLb=Dt||Et||!ZKb&&!Hq&&"function"==typeof da.atob,Caa=function(a,b){void 0===b&&(b=0);bLb();b=$Kb[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e<a.length-2;e+=3){var h=a[e],k=a[e+1],q=a[e+2],t=b[h>>2];h=b[(h&3)<<4|k>>4];k=b[(k&15)<<2|q>>6];q=b[q&63];c[f++]=t+h+k+q}t=0;q=d;switch(a.length-e){case 2:t=a[e+1],q=b[(t&15)<<2]||d;case 1:a=a[e],c[f]=b[a>>2]+b[(a&3)<<4|t>>4]+q+d}return c.join("")},dcb=function(a){if(aLb)return da.atob(a);var b="";cLb(a,function(c){b+=
String.fromCharCode(c)});return b},dLb=function(a){var b=[];cLb(a,function(c){b.push(c)});return b},Gaa=function(a){var b=a.length,c=3*b/4;c%3?c=Math.floor(c):ka("=.",a[b-1])&&(c=ka("=.",a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;cLb(a,function(f){d[e++]=f});return e!==c?d.subarray(0,e):d},cLb=function(a,b){function c(q){for(;d<a.length;){var t=a.charAt(d++),w=Gt[t];if(null!=w)return w;if(!Ei(t))throw Error("x`"+t);}return q}bLb();for(var d=0;;){var e=c(-1),f=c(0),h=c(64),k=c(64);if(64===k&&-1===
e)break;b(e<<2|f>>4);64!=h&&(b(f<<4&240|h>>2),64!=k&&b(h<<6&192|k))}},bLb=function(){if(!Gt){Gt={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));$Kb[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===Gt[f]&&(Gt[f]=e)}}}};var Jaa="undefined"!==typeof Uint8Array,Baa=!Hq&&"function"===typeof btoa,Haa=/[-_.]/g,Eaa={"-":"+",_:"/",".":"="},Kaa,Ha={};var eLb,Ga=function(a,b){if(b!==Ha)throw Error("y");this.value_=a;if(null!=a&&0===a.length)throw Error("z");},Fa=function(){return eLb||(eLb=new Ga(null,Ha))},lca=function(a){var b=a.value_;return null==b?"":"string"===typeof b?b:a.value_=Daa(b)},UYa=function(a){return(a=Ia(a))?new Uint8Array(a):Laa()};Ga.prototype.isEmpty=function(){return null==this.value_};Ga.prototype.sizeBytes=function(){var a=Ia(this);return a?a.length:0};
var Mwa=function(a){var b={};b=void 0===b.parsingErrorsAreFatal?!0:b.parsingErrorsAreFatal;if(a=Ia(a)){var c=a.length;if(gKb){var d=a,e;b?(e=eKb)||(e=eKb=new TextDecoder("utf-8",{fatal:!0})):(e=fKb)||(e=fKb=new TextDecoder("utf-8",{fatal:!1}));d=c===d.length?d:d.subarray(0,c);try{var f=e.decode(d)}catch(w){if(b){if(void 0===dKb){try{e.decode(new Uint8Array([128]))}catch(y){}try{e.decode(new Uint8Array([97])),dKb=!0}catch(y){dKb=!1}}b=!dKb}b&&(eKb=void 0);throw w;}}else{f=0;c=f+c;for(var h=[],k=null,
q,t;f<c;)q=a[f++],128>q?h.push(q):224>q?f>=c?ca(b,h):(t=a[f++],194>q||128!==(t&192)?(f--,ca(b,h)):h.push((q&31)<<6|t&63)):240>q?f>=c-1?ca(b,h):(t=a[f++],128!==(t&192)||224===q&&160>t||237===q&&160<=t||128!==((d=a[f++])&192)?(f--,ca(b,h)):h.push((q&15)<<12|(t&63)<<6|d&63)):244>=q?f>=c-2?ca(b,h):(t=a[f++],128!==(t&192)||0!==(q<<28)+(t-144)>>30||128!==((d=a[f++])&192)||128!==((e=a[f++])&192)?(f--,ca(b,h)):(q=(q&7)<<18|(t&63)<<12|(d&63)<<6|e&63,q-=65536,h.push((q>>10&1023)+55296,(q&1023)+56320))):ca(b,
h),8192<=h.length&&(k=baa(k,h),h.length=0);f=baa(k,h)}b=f}else b="";return b},fLb=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=Ia(a);b=Ia(b);return Maa(c,b)},Ia=function(a){if(Ha!==Ha)throw Error("y");var b=a.value_;null==
b||Ea(b)||("string"===typeof b?b=Iaa(b):(lb(b),b=null));return null==b?b:a.value_=b},Yba=function(a,b){if("string"===typeof b)b=b?new Ga(b,Ha):Fa();else if(b instanceof Uint8Array)b=new Ga(b,Ha);else if(!(b instanceof Ga))return!1;return fLb(a,b)};var nca=!wKb,Hca=!wKb;var gLb="function"===typeof Uint8Array.prototype.slice,Ka=0,La=0,hLb;var iLb=function(a,b){this.bytes_=null;this.bytesAreImmutable_=!1;this.cursor_=this.end_=this.start_=0;this.init(a,void 0,void 0,b)};g=iLb.prototype;g.init=function(a,b,c,d){d=void 0===d?{}:d;this.aliasBytesFields=void 0===d.aliasBytesFields?!1:d.aliasBytesFields;a&&(a=Oaa(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_)};g.free=function(){this.clear();100>jLb.length&&jLb.push(this)};
g.clear=function(){this.bytes_=null;this.bytesAreImmutable_=!1;this.cursor_=this.end_=this.start_=0;this.aliasBytesFields=!1};g.getEnd=function(){return this.end_};g.setEnd=function(a){this.end_=a};g.reset=function(){this.cursor_=this.start_};g.getCursor=function(){return this.cursor_};g.advance=function(a){kLb(this,this.cursor_+a)};
var lLb=function(a,b){var c=0,d=0,e=0,f=a.bytes_,h=a.cursor_;do{var k=f[h++];c|=(k&127)<<e;e+=7}while(32>e&&k&128);32<e&&(d|=(k&127)>>4);for(e=3;32>e&&k&128;e+=7)k=f[h++],d|=(k&127)<<e;kLb(a,h);if(128>k)return b(c>>>0,d>>>0);throw Error("F");},kLb=function(a,b){a.cursor_=b;if(b>a.end_)throw Error("G`"+b+"`"+a.end_);},Ht=function(a){var b=a.bytes_,c=a.cursor_,d=b[c++],e=d&127;if(d&128&&(d=b[c++],e|=(d&127)<<7,d&128&&(d=b[c++],e|=(d&127)<<14,d&128&&(d=b[c++],e|=(d&127)<<21,d&128&&(d=b[c++],e|=d<<28,
d&128&&b[c++]&128&&b[c++]&128&&b[c++]&128&&b[c++]&128&&b[c++]&128)))))throw Error("F");kLb(a,c);return e},It=function(a){var b=a.bytes_,c=a.cursor_,d=b[c],e=b[c+1],f=b[c+2];b=b[c+3];a.advance(4);return(d<<0|e<<8|f<<16|b<<24)>>>0},mLb=function(a){for(var b=0,c=a.cursor_,d=c+10,e=a.bytes_;c<d;){var f=e[c++];b|=f;if(0===(f&128))return kLb(a,c),!!(b&127)}throw Error("F");};
iLb.prototype.readByteString=function(a){if(0==a)return Fa();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?Laa():gLb?c.slice(b,a):new Uint8Array(c.subarray(b,a)));return Naa(b)};var jLb=[];var Jt=function(a){var b=void 0;if(jLb.length){var c=jLb.pop();c.init(a,void 0,void 0,b);a=c}else a=new iLb(a,b);this.decoder_=a;this.fieldCursor_=this.decoder_.getCursor();this.nextWireType_=this.nextTag_=this.nextField_=-1;this.setOptions(b)};g=Jt.prototype;g.setOptions=function(a){a=void 0===a?{}:a;this.discardUnknownFields=void 0===a.discardUnknownFields?!1:a.discardUnknownFields};g.free=function(){this.decoder_.clear();this.nextWireType_=this.nextField_=this.nextTag_=-1;100>nLb.length&&nLb.push(this)};
g.getCursor=function(){return this.decoder_.getCursor()};g.getTag=function(){return this.nextTag_};g.reset=function(){this.decoder_.reset();this.fieldCursor_=this.decoder_.getCursor();this.nextWireType_=this.nextField_=this.nextTag_=-1};g.advance=function(a){this.decoder_.advance(a)};
var Pca=function(a){var b=a.decoder_;if(b.cursor_==b.end_)return!1;a.fieldCursor_=a.decoder_.getCursor();b=Ht(a.decoder_)>>>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},Rca=function(a){switch(a.nextWireType_){case 0:0!=a.nextWireType_?Rca(a):mLb(a.decoder_);break;case 1:a.decoder_.advance(8);break;case 2:if(2!=a.nextWireType_)Rca(a);else{var b=Ht(a.decoder_)>>>0;a.decoder_.advance(b)}break;
case 5:a.decoder_.advance(4);break;case 3:b=a.nextField_;do{if(!Pca(a))throw Error("D");if(4==a.nextWireType_){if(a.nextField_!=b)throw Error("E");break}Rca(a)}while(1);break;default:throw Error("B`"+a.nextWireType_+"`"+a.fieldCursor_);}},oLb=function(a,b,c){var d=a.decoder_.getEnd(),e=Ht(a.decoder_)>>>0,f=a.decoder_.getCursor()+e,h=f-d;0>=h&&(a.decoder_.setEnd(f),c(b,a,void 0,void 0,void 0),h=f-a.decoder_.getCursor());if(h)throw Error("A`"+e+"`"+(e-h));a.decoder_.cursor_=f;a.decoder_.setEnd(d)};
Jt.prototype.readUint32=function(){return Ht(this.decoder_)>>>0};Jt.prototype.readUint64=function(){return lLb(this.decoder_,Raa)};Jt.prototype.readDouble=function(){var a=this.decoder_,b=It(a),c=It(a);a=2*(c>>31)+1;var d=c>>>20&2047;b=4294967296*(c&1048575)+b;return 2047==d?b?NaN:Infinity*a:0==d?a*Math.pow(2,-1074)*b:a*Math.pow(2,d-1075)*(b+4503599627370496)};Jt.prototype.readByteString=function(){var a=Ht(this.decoder_)>>>0;return this.decoder_.readByteString(a)};var nLb=[];var pLb=function(a,b){this.lo=a>>>0;this.hi=b>>>0},rLb=function(a){if(!a)return qLb||(qLb=new pLb(0,0));if(!/^\d+$/.test(a))return null;Vaa(a);return new pLb(Ka,La)},qLb,sLb=function(a,b){this.lo=a>>>0;this.hi=b>>>0},uLb=function(a){if(!a)return tLb||(tLb=new sLb(0,0));if(!/^-?\d+$/.test(a))return null;Vaa(a);return new sLb(Ka,La)},tLb;var Kt=function(){this.buffer_=[]};Kt.prototype.length=function(){return this.buffer_.length};Kt.prototype.end=function(){var a=this.buffer_;this.buffer_=[];return a};Kt.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)};Kt.prototype.writeSplitFixed64=function(a,b){this.writeUint32(a);this.writeUint32(b)};
var vLb=function(a,b){for(;127<b;)a.buffer_.push(b&127|128),b>>>=7;a.buffer_.push(b)},wLb=function(a,b){if(0<=b)vLb(a,b);else{for(var c=0;9>c;c++)a.buffer_.push(b&127|128),b>>=7;a.buffer_.push(1)}};g=Kt.prototype;g.writeUint8=function(a){this.buffer_.push(a>>>0&255)};g.writeUint32=function(a){this.buffer_.push(a>>>0&255);this.buffer_.push(a>>>8&255);this.buffer_.push(a>>>16&255);this.buffer_.push(a>>>24&255)};
g.writeUint64=function(a){var b=a>>>0;a=Math.floor((a-b)/4294967296)>>>0;Ka=b;La=a;this.writeUint32(Ka);this.writeUint32(La)};g.writeInt8=function(a){this.buffer_.push(a>>>0&255)};g.writeInt32=function(a){this.buffer_.push(a>>>0&255);this.buffer_.push(a>>>8&255);this.buffer_.push(a>>>16&255);this.buffer_.push(a>>>24&255)};g.writeInt64=function(a){Ma(a);this.writeSplitFixed64(Ka,La)};
g.writeDouble=function(a){var b=hLb||(hLb=new DataView(new ArrayBuffer(8)));b.setFloat64(0,+a,!0);Ka=b.getUint32(0,!0);La=b.getUint32(4,!0);this.writeUint32(Ka);this.writeUint32(La)};g.writeBool=function(a){this.buffer_.push(a?1:0)};var xLb=function(){this.blocks_=[];this.totalLength_=0;this.encoder_=new Kt},mda=function(a,b){0!==b.length&&(a.blocks_.push(b),a.totalLength_+=b.length)},Wb=function(a,b,c){vLb(a.encoder_,8*b+c)};g=xLb.prototype;g.writeInt32=function(a,b){null!=b&&null!=b&&(Wb(this,a,0),wLb(this.encoder_,b))};
g.writeInt64=function(a,b){null!=b&&("string"===typeof b&&uLb(b),null!=b&&(Wb(this,a,0),"number"===typeof b?(a=this.encoder_,Ma(b),a.writeSplitVarint64(Ka,La)):(b=uLb(b),this.encoder_.writeSplitVarint64(b.lo,b.hi))))};g.writeUint32=function(a,b){null!=b&&null!=b&&(Wb(this,a,0),vLb(this.encoder_,b))};
g.writeUint64=function(a,b){null!=b&&("string"===typeof b&&rLb(b),null!=b&&(Wb(this,a,0),"number"===typeof b?(a=this.encoder_,Ma(b),a.writeSplitVarint64(Ka,La)):(b=rLb(b),this.encoder_.writeSplitVarint64(b.lo,b.hi))))};g.writeDouble=function(a,b){null!=b&&(Wb(this,a,1),this.encoder_.writeDouble(b))};g.writeBool=function(a,b){null!=b&&(Wb(this,a,0),this.encoder_.writeBool(b))};g.writeSplitFixed64=function(a,b){Wb(this,a,1);this.encoder_.writeSplitFixed64(b)};
g.writeSplitVarint64=function(a,b){Wb(this,a,0);this.encoder_.writeSplitVarint64(b)};var Tb=function(a,b,c,d){this.$$binaryReaderFn=a;this.$$binaryWriterFn=b;this.$$isRepeated=c;this.$$isMsg=d};var Lt=Waa(),Kba=Waa("0di"),wca=Waa("0dg");var Yaa=Lt?function(a,b){a[Lt]|=b}:function(a,b){void 0!==a.internalArrayState?a.internalArrayState|=b:Object.defineProperties(a,{internalArrayState:{value:b,configurable:!0,writable:!0,enumerable:!1}})},Gb=Lt?function(a,b){a[Lt]&=~b}:function(a,b){void 0!==a.internalArrayState&&(a.internalArrayState&=~b)},Qa=Lt?function(a){return a[Lt]|0}:function(a){return a.internalArrayState|0},Cb=Lt?function(a){return a[Lt]}:function(a){return a.internalArrayState},Ta=Lt?function(a,b){a[Lt]=b}:function(a,b){void 0!==
a.internalArrayState?a.internalArrayState=b:Object.defineProperties(a,{internalArrayState:{value:b,configurable:!0,writable:!0,enumerable:!1}})};var ub={},dba={},yLb,kca=!wKb,yb,zLb=[];Ta(zLb,55);yb=Object.freeze(zLb);var Mt=function(a,b,c){this.idx_=0;this.arr_=a;this.mapper=b;this.thisArg=c};Mt.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}};Mt.prototype[Symbol.iterator]=function(){return new Mt(this.arr_,this.mapper,this.thisArg)};var Bca={},gb,Zba,hb,Ab=0;var iba=function(a,b){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382.severity=b};var oba=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;var Qba,Sba,Tba;var ALb=function(){try{var a=function(){return EJb(Map,[],this.constructor)};Y(a,Map);new a;return!1}catch(b){return!0}}(),Nt=function(){this.map_=new Map};g=Nt.prototype;g.get=function(a){return this.map_.get(a)};g.set=function(a,b){this.map_.set(a,b);this.size=this.map_.size;return this};g.delete=function(a){a=this.map_.delete(a);this.size=this.map_.size;return a};g.clear=function(){this.map_.clear();this.size=this.map_.size};g.has=function(a){return this.map_.has(a)};g.entries=function(){return this.map_.entries()};
g.keys=function(){return this.map_.keys()};g.values=function(){return this.map_.values()};g.forEach=function(a,b){return this.map_.forEach(a,b)};Nt.prototype[Symbol.iterator]=function(){return this.entries()};
var Ot=function(){if(ALb)return Object.setPrototypeOf(Nt.prototype,Map.prototype),Object.defineProperties(Nt.prototype,{size:{value:0,configurable:!0,enumerable:!0,writable:!0}}),Nt;var a=function(){return EJb(Map,[],this.constructor)};Y(a,Map);return a}(),zb=function(a,b,c,d){c=void 0===c?Lba:c;d=void 0===d?Lba:d;var e=Ot.call(this)||this;var f=Qa(a);f|=64;Ta(a,f);e.arrayState=f;e.valueCtor=b;e.keyToApi=c||Lba;e.valueToApi=e.valueCtor?cca:d||Lba;for(var h=0;h<a.length;h++){var k=a[h],q=c(k[0],!1,
!0),t=k[1];b?void 0===t&&(t=null):t=d(k[1],!1,!0,void 0,void 0,f);Ot.prototype.set.call(e,q,t)}return e};Y(zb,Ot);var BLb=function(a){if(a.arrayState&2)throw Error("L");},mca=function(a,b){b=void 0===b?dca:b;return vca(a,b)},vca=function(a,b){b=void 0===b?dca:b;var c=[];a=Ot.prototype.entries.call(a);for(var d;!(d=a.next()).done;)d=d.value,d[0]=b(d[0]),d[1]=b(d[1]),c.push(d);return c};g=zb.prototype;g.getLength=function(){return this.size};g.clear=function(){BLb(this);Ot.prototype.clear.call(this)};
g.delete=function(a){BLb(this);return Ot.prototype.delete.call(this,this.keyToApi(a,!0,!1))};g.entries=function(){var a=Array.from(Ot.prototype.keys.call(this));return new Mt(a,hca,this)};g.keys=function(){return Ot.prototype.keys.call(this)};g.values=function(){var a=Array.from(Ot.prototype.keys.call(this));return new Mt(a,zb.prototype.get,this)};g.forEach=function(a,b){var c=this;Ot.prototype.forEach.call(this,function(d,e){a.call(b,c.get(e),e,c)})};
g.set=function(a,b){BLb(this);a=this.keyToApi(a,!0,!1);return null==a?this:null==b?(Ot.prototype.delete.call(this,a),this):Ot.prototype.set.call(this,a,this.valueToApi(b,!0,!0,this.valueCtor,!1,this.arrayState))};g.has=function(a){return Ot.prototype.has.call(this,this.keyToApi(a,!1,!1))};
g.get=function(a){a=this.keyToApi(a,!1,!1);var b=Ot.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&&Ot.prototype.set.call(this,a,c),c):b}};var Xba=function(a,b){return b instanceof zb?eca(a,b):gca(a,b)};zb.prototype[Symbol.iterator]=function(){return this.entries()};zb.prototype.toJSON=void 0;zb.prototype.mapPrototypeMarker=dba;Object.freeze({});Object.freeze({});var ds=function(a,b){a=a.internalArray_;return Eb(a,Cb(a),b)},Eb=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+Za(b);if(b<e)return a[b]}},lm=function(a,b,c,d){var e=a.internalArray_,f=Cb(e);eb(f);Db(e,f,b,c,d);return a},Pi=function(a,b,c,d){return void 0!==CLb(a,b,c,void 0===d?!1:d)},cm=function(a,b,c,d){return void 0!==CLb(a,b,kl(a,d,c))},DLb=function(a,b){a=a.internalArray_;return Fca(a,
Cb(a),Pt,b,!1,3).length},Qt=function(a,b,c,d,e){Rb(a,b,c,e,d,!1,1);return a},pq=function(a,b){a=a.internalArray_;var c=Cb(a),d=Eb(a,c,b),e=lba(d);null!=e&&e!==d&&Db(a,c,b,e);return e},Vr=function(a,b){return nba(ds(a,b))},rq=function(a,b){a=a.internalArray_;var c=Cb(a),d=Eb(a,c,b),e=bb(d,!0,!0,!!(c&34));null!=e&&e!==d&&Db(a,c,b,e);return e},ELb=function(a,b,c,d,e){return Jb(a,b,lba,c,d,e)},km=function(a,b){a=rq(a,b);return null==a?Fa():a},Aca,ap=function(a,b,c){return Nb(a,b,c,ob)},Rt=function(a,
b,c){return Nb(a,b,c,rb)},pj=function(a,b,c){return Nb(a,b,c,tb)},oj=function(a,b,c){return Nb(a,b,c,pba)},nl=function(a,b,c,d){var e=a.internalArray_,f=Cb(e);eb(f);(c=Eca(e,f,c))&&c!==b&&null!=d&&(f=Db(e,f,c));Db(e,f,b,d);return a},kl=function(a,b,c){a=a.internalArray_;return Eca(a,Cb(a),b)===c?c:-1},sn=function(a,b){a=a.internalArray_;return Eca(a,Cb(a),b)},FLb=function(a,b,c){a=a.internalArray_;var d=Cb(a);eb(d);var e=Eb(a,d,c);b=Bb(Jba(e,b,!0,d));e!==b&&Db(a,d,c,b);return b},GLb=function(a,b,
c,d){var e=Cb(a);eb(e);var f=Eb(a,e,c,d),h;if(null!=f&&f.messagePrototypeMarker===ub)return b=Bb(f),b!==f&&Db(a,e,c,b,d),b.internalArray_;if(Array.isArray(f)){var k=Qa(f);k&2?h=uca(f,k,!1):h=f;h=m(h,b[0],b[1])}else h=m(void 0,b[0],b[1]);h!==f&&Db(a,e,c,h,d);return h},CLb=function(a,b,c,d){a=a.internalArray_;var e=Cb(a),f=Eb(a,e,c,d);b=Jba(f,b,!1,e);b!==f&&null!=b&&Db(a,e,c,b,d);return b},Wp=function(a,b,c){return(a=CLb(a,b,c,!1))?a:Iba(b)},vi=function(a,b,c,d){d=void 0===d?!1:d;b=CLb(a,b,c,d);if(null==
b)return b;a=a.internalArray_;var e=Cb(a);if(!(e&2)){var f=Bb(b);f!==b&&(b=f,Db(a,e,c,b,d))}return b},zi=function(a,b,c){a=a.internalArray_;var d=Cb(a),e=!!(2&d);return Fca(a,d,b,c,void 0,e?1:2,!1,!e)},ej=function(a,b,c,d,e){null==d&&(d=void 0);return lm(a,c,d,e)},wl=function(a,b,c,d){null==d&&(d=void 0);return nl(a,b,c,d)},Zl=function(a,b,c){var d=a.internalArray_,e=Cb(d);eb(e);if(null==c)return Db(d,e,b),a;for(var f=Qa(c),h=f,k=!!(2&f)||!!(2048&f),q=k||Object.isFrozen(c),t=!0,w=!0,y=0;y<c.length;y++){var C=
c[y];k||(C=Xa(C.internalArray_),t&&(t=!C),w&&(w=C))}k||(f=Ua(f,5,!0),f=Ua(f,8,t),f=Ua(f,16,w));q&&f!==h&&(c=Oa(c),h=0,f=Ib(f,e,!0));f!==h&&Ta(c,f);Db(d,e,b,c);return a},mq=function(a,b,c,d,e){Rb(a,b,c,d,e);return a},St=function(a,b,c,d){a=a.internalArray_;var e=Cb(a);eb(e);b=Fca(a,e,c,b,!1,2);a=c=0;if(Array.isArray(d))for(e=0;e<d.length;e++){var f=d[e];b.push(f);(f=Xa(f.internalArray_))&&!c++&&Gb(b,8);f||a++||Gb(b,16)}else for(d=l(d),e=d.next();!e.done;e=d.next())e=e.value,b.push(e),(e=Xa(e.internalArray_))&&
!c++&&Gb(b,8),e||a++||Gb(b,16)},Tt=function(a,b){return pb(ds(a,b))},Ut=function(a,b){return Dba(ds(a,b))},Ni=function(a,b){return Eba(ds(a,b))},Vt=function(a,b){a=ds(a,b);var c;null==a?c=a:nb(a)?"number"===typeof a?c=Aba(a):c=Cba(a):c=void 0;return c},TYa=function(a,b){a=ds(a,b);var c=void 0===c?!1:c;c=null==a?a:nb(a)?"string"===typeof a?Cba(a):c?Bba(a):Aba(a):void 0;return c},Zh=function(a,b,c,d,e){return Jb(a,b,pb,c,d,e)},Gj=function(a,b,c,d,e){return Jb(a,b,Dba,c,d,e,0)},ui=function(a,b,c,d,e){return Jb(a,
b,Eba,c,d,e,0)},wj=function(a,b){return Hba(ds(a,b))},Yh=function(a,b,c,d,e){return Jb(a,b,Hba,c,d,e)},Xn=function(a,b){return ds(a,b)},aj=function(a,b,c,d,e){return Jb(a,b,rba,c,d,e)},Hi=function(a,b,c){return Sb(Vr(a,b),void 0===c?!1:c)},Xh=function(a,b,c){c=void 0===c?0:c;return Sb(Tt(a,b),c)},Ui=function(a,b,c){c=void 0===c?0:c;return Sb(Ut(a,b),c)},HLb=function(a){var b=void 0===b?0:b;return Sb(Vt(a,23),b)},Oi=function(a,b,c){c=void 0===c?"0":c;return Sb(Ni(a,b),c)},pl=function(a,b,c){c=void 0===
c?0:c;return Sb(pq(a,b),c)},xi=function(a,b,c){return Sb(wj(a,b),void 0===c?"":c)},Li=function(a,b,c){return Sb(ds(a,b),void 0===c?0:c)},Wt=function(a,b,c){a=Zh(a,b,void 0,3,!0);fb(a,c);return a[c]},ILb=function(a,b){a=Gj(a,b,void 0,3,!0);fb(a);return a[void 0]},Xt=function(a,b,c){a=Yh(a,b,void 0,3,!0);fb(a,c);return a[c]},JLb=function(a,b){a=aj(a,b,void 0,3,!0);fb(a);return a[void 0]},qq=function(a,b,c){return wj(a,kl(a,c,b))},ql=function(a,b,c,d){return vi(a,b,kl(a,d,c))},Yt=function(a,b){a=Tt(a,
b);return null==a?void 0:a},Zt=function(a,b){a=Ut(a,b);return null==a?void 0:a},$t=function(a,b){a=wj(a,b);return null==a?void 0:a},ss=function(a,b){a=ds(a,b);return null==a?void 0:a},cj=function(a,b,c){return lm(a,b,mb(c))},yl=function(a,b,c){return Ob(a,b,mb(c),!1)},dj=function(a,b,c){return lm(a,b,null==c?c:ob(c))},Tk=function(a,b,c){return Ob(a,b,null==c?c:ob(c),0)},nj=function(a,b,c){return lm(a,b,sb(c))},Gl=function(a,b,c){return Ob(a,b,sb(c),"0")},mj=function(a,b,c){return lm(a,b,sb(c))},gj=
function(a,b,c){return lm(a,b,Gba(c))},Ol=function(a,b,c){return Ob(a,b,Gba(c),"")},vl=function(a,b,c,d){return nl(a,b,c,Gba(d))},Wl=function(a,b,c){return Ob(a,b,bb(c,!1,!0,!1),Fa())},hj=function(a,b,c){return lm(a,b,qba(c))},Cl=function(a,b,c){return Ob(a,b,qba(c),0)},au=function(a,b,c){return Qb(a,b,ob,c,void 0,Zh)},Gi=function(a,b){return null!=Vr(a,b)},Ii=function(a,b){return null!=Tt(a,b)},Ti=function(a,b){return null!=Ut(a,b)},yi=function(a,b){return null!=wj(a,b)},Ji=function(a,b){return null!=
ds(a,b)};var n=function(a,b,c){this.internalArray_=m(a,b,c)};n.prototype.toJSON=function(){return yLb?Ica(this,this.internalArray_,!1):Ica(this,pca(this.internalArray_,rca,void 0,void 0,!1,!1),!0)};n.prototype.serialize=function(){yLb=!0;try{return JSON.stringify(this.toJSON(),jca)}finally{yLb=!1}};var uda=function(a,b){if(null==b||""==b)return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error(void 0);return Rba(a,$aa(b))};
n.prototype.getExtension=function(a){return a.ctor?a.getExtensionFn(this,a.ctor,a.fieldIndex,!0,2):a.isRepeated?a.getExtensionFn(this,a.fieldIndex,!0,2):a.getExtensionFn(this,a.fieldIndex,a.defaultValue,!0)};var pda=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};n.prototype.hasExtension=function(a){return a.ctor?Pi(this,a.ctor,a.fieldIndex,!0):void 0!==pda(this,a)};
n.prototype.clone=function(){var a=this.internalArray_;return Rba(this.constructor,uca(a,Cb(a),!1))};n.prototype.isMutable=function(){return!Xa(this.internalArray_)};n.prototype.isImmutable=function(){return Xa(this.internalArray_)};var Wr=function(a,b,c){b.ctor?b.setExtensionFn(a,b.ctor,b.fieldIndex,c,!0):b.setExtensionFn(a,b.fieldIndex,c,!0)},nra=0;n.prototype.messagePrototypeMarker=ub;n.prototype.toString=function(){return Ica(this,this.internalArray_,!1).toString()};var Mca=Symbol(),Sca,Tca,Vca=Symbol(),bda=Symbol(),hda=Symbol(),ida=Symbol(),KLb=Ub(function(a,b,c){if(0!==a.nextWireType_)return!1;a=lLb(a.decoder_,Saa);Db(b,Cb(b),c,a);return!0},function(a,b,c){var d=a.writeInt64;a:if(null!=b){if(nb(b)){if("string"===typeof b){b=uba(b);break a}if("number"===typeof b){b=wba(b);break a}}b=void 0}d.call(a,c,b)}),bu=Ub(function(a,b,c){if(0!==a.nextWireType_)return!1;a=Ht(a.decoder_);Db(b,Cb(b),c,a);return!0},function(a,b,c){a.writeInt32(c,pb(b))}),LLb;
LLb=new Tb(function(a,b,c){if(0!==a.nextWireType_&&2!==a.nextWireType_)return!1;b=Hb(b,Cb(b),c,2,!1);if(2==a.nextWireType_)for(c=Ht(a.decoder_)>>>0,c=a.decoder_.getCursor()+c;a.decoder_.getCursor()<c;)b.push(Ht(a.decoder_));else b.push(Ht(a.decoder_));return!0},function(a,b,c){if(Array.isArray(b)){var d=Qa(b);if(!(d&4)){for(var e=0,f=0;e<b.length;e++){var h=pb(b[e]);null!=h&&(b[f++]=h)}f<e&&(b.length=f);Ta(b,(d|5)&-12289);d&2&&Object.freeze(b)}}else b=void 0;if(null!=b)for(d=0;d<b.length;d++)e=a,
f=b[d],null!=f&&(Wb(e,c,0),wLb(e.encoder_,f))},!0,!1);
var MLb=Ub(function(a,b,c){if(1!==a.nextWireType_)return!1;var d=a.decoder_;a=It(d);d=It(d);a=Na(a,d);Db(b,Cb(b),c,a);return!0},function(a,b,c){a:if(null!=b){if(nb(b)){if("string"===typeof b){b=Cba(b);break a}if("number"===typeof b){b=Aba(b);break a}}b=void 0}null!=b&&("string"===typeof b&&rLb(b),Wb(a,c,1),"number"===typeof b?a.encoder_.writeUint64(b):(c=rLb(b),a.encoder_.writeSplitFixed64(c.lo,c.hi)))}),NLb=Ub(function(a,b,c){if(5!==a.nextWireType_)return!1;a=It(a.decoder_);Db(b,Cb(b),c,a);return!0},
function(a,b,c){b=tba(b);null!=b&&(Wb(a,c,5),a.encoder_.writeUint32(b))}),OLb=Ub(function(a,b,c){if(0!==a.nextWireType_)return!1;a=mLb(a.decoder_);Db(b,Cb(b),c,a);return!0},function(a,b,c){a.writeBool(c,nba(b))}),Jca=new Tb(function(a,b,c,d,e){if(2!==a.nextWireType_)return!1;oLb(a,GLb(b,d,c,!0),e);return!0},nda,!1,!0),ada=new Tb(function(a,b,c,d,e){if(2!==a.nextWireType_)return!1;oLb(a,GLb(b,d,c),e);return!0},nda,!1,!0);var oda=function(a,b,c,d){this.fieldIndex=a;this.fieldName=b;this.ctor=c;this.toObjectFn=d;this.isRepeated=0;this.getExtensionFn=vi;this.setExtensionFn=ej;this.defaultValue=void 0};var PLb=function(a){this.internalArray_=m(a)};Y(PLb,n);PLb.prototype.getCustomerId=function(){return wj(this,1)};var QLb=function(a){this.internalArray_=m(a)};Y(QLb,n);var RLb=function(a){this.internalArray_=m(a)};Y(RLb,n);RLb.prototype.getCustomerId=function(){return vi(this,PLb,1)};var SLb=function(a){this.internalArray_=m(a)};Y(SLb,n);var TLb=[1,2];var ULb=function(a){this.internalArray_=m(a)};Y(ULb,n);var VLb=function(a){if(null!=a)return $b(a),{membershipCount:Zb(Tt(a,1)),memberType:Zb(ds(a,2)),membershipState:Zb(ds(a,3))}};var cu=function(a){this.internalArray_=m(a)};Y(cu,n);cu.prototype.getValueList=function(){return zi(this,ULb,1)};cu.prototype.addValue=function(){return mq(this,1,ULb)};cu.prototype.setValue=function(a,b){return Qt(this,1,ULb,a,b)};cu.repeatedFields_=[1];var du=function(a){this.internalArray_=m(a)};Y(du,n);du.prototype.getId=function(){return xi(this,1)};du.prototype.setId=function(a){return Ol(this,1,a)};du.prototype.getSourceId=function(){return Li(this,2,0)};du.prototype.setSourceId=function(a){return Cl(this,2,a)};var Wk=function(a){this.internalArray_=m(a)};Y(Wk,n);Wk.prototype.getSeconds=function(){return Ui(this,1)};Wk.prototype.setSeconds=function(a){return Gl(this,1,a)};Wk.prototype.getNanos=function(){return Xh(this,2)};Wk.prototype.setNanos=function(a){return Tk(this,2,a)};var eu=function(a){this.internalArray_=m(a)};Y(eu,n);g=eu.prototype;g.getUrl=function(){return xi(this,1)};g.setUrl=function(a){return Ol(this,1,a)};g.getHeight=function(){return Xh(this,2)};g.setHeight=function(a){return Tk(this,2,a)};g.getWidth=function(){return Xh(this,3)};g.setWidth=function(a){return Tk(this,3,a)};var fu=function(a){this.internalArray_=m(a)};Y(fu,n);fu.prototype.getDuration=function(){return vi(this,Wk,2)};fu.repeatedFields_=[6];var WLb=function(a){this.internalArray_=m(a)};Y(WLb,n);var gu=function(a){this.internalArray_=m(a)};Y(gu,n);gu.prototype.getEmail=function(a){return Xt(this,1,a)};gu.prototype.setEmail=function(a){return Qb(this,1,tb,a,void 0,Yh)};gu.prototype.getGroupId=function(a){return Xt(this,2,a)};gu.prototype.setGroupId=function(a){Qb(this,2,tb,a,void 0,Yh)};gu.repeatedFields_=[1,2];var Xi=function(a){this.internalArray_=m(a)};Y(Xi,n);g=Xi.prototype;g.getSeconds=function(){return Ui(this,1)};g.setSeconds=function(a){return Gl(this,1,a)};g.getNanos=function(){return Xh(this,2)};g.setNanos=function(a){return Tk(this,2,a)};g.toDate=function(){var a=this.getSeconds(),b=this.getNanos();return new Date(1E3*a+b/1E6)};var XLb=function(a){if(null!=a)return $b(a),{seconds:Ui(a,1),nanos:Xh(a,2)}};var YLb=function(a){this.internalArray_=m(a)};Y(YLb,n);var ZLb=function(a){this.internalArray_=m(a)};Y(ZLb,n);ZLb.prototype.getDownloadUrl=function(){return xi(this,5)};var $Lb=function(a){this.internalArray_=m(a)};Y($Lb,n);var aMb=function(a){this.internalArray_=m(a)};Y(aMb,n);aMb.prototype.getPhotoId=function(){return xi(this,1)};var bMb=function(a){this.internalArray_=m(a)};Y(bMb,n);var cMb=function(a){this.internalArray_=m(a)};Y(cMb,n);var hu=function(a){this.internalArray_=m(a)};Y(hu,n);var iu=[2,4,5,6,7];var dMb=function(a){this.internalArray_=m(a)};Y(dMb,n);var ju=function(a){this.internalArray_=m(a)};Y(ju,n);ju.prototype.getTypeName=function(){return xi(this,1).split("/").pop()};ju.prototype.getValue=function(){var a=ds(this,2);if(Array.isArray(a)||a instanceof n)throw Error("N");return km(this,2)};ju.prototype.setValue=function(a){if(null==a)a=this;else if(Array.isArray(a))a=lm(this,2,pca(a,rca,void 0,void 0,!1,!1));else if("string"===typeof a||a instanceof Ga||Ea(a))a=Wl(this,2,a);else throw Error("O`"+a);return a};var Pt=function(a){this.internalArray_=m(a)};Y(Pt,n);g=Pt.prototype;g.getId=function(){return vi(this,du,1)};g.setId=function(a){return ej(this,du,1,a)};g.getName=function(){return xi(this,2)};g.setName=function(a){return Ol(this,2,a)};g.getDescription=function(){return xi(this,3)};g.setDescription=function(a){return Ol(this,3,a)};g.getParentId=function(){return xi(this,4)};g.setParentId=function(a){return Ol(this,4,a)};g.getType=function(){return Li(this,6,0)};
g.setType=function(a){return Cl(this,6,a)};g.getMimeType=function(){return xi(this,7)};g.setMimeType=function(a){Ol(this,7,a)};g.getUrl=function(){return xi(this,8)};g.setUrl=function(a){return Ol(this,8,a)};g.getIconUrl=function(){return xi(this,11)};g.setIconUrl=function(a){return Ol(this,11,a)};var ku=function(a){return zi(a,eu,10)};Pt.prototype.getLastModifiedTimestamp=function(){return vi(this,Xi,12)};Pt.prototype.getVideoMetadata=function(){return vi(this,fu,34)};
Pt.prototype.hasVideoMetadata=function(){return Pi(this,fu,34)};var lu=function(a){this.internalArray_=m(a)};Y(lu,n);g=lu.prototype;g.getShared=function(){return Hi(this,1)};g.setShared=function(a){yl(this,1,a)};g.getVideoMetadata=function(){return vi(this,fu,3)};g.hasVideoMetadata=function(){return Pi(this,fu,3)};g.getDownloadUrl=function(){return xi(this,10)};Pt.repeatedFields_=[5,10,22];var mu=function(a){this.internalArray_=m(a)};Y(mu,n);mu.prototype.getLabel=function(){return xi(this,2)};mu.prototype.setLabel=function(a){return Ol(this,2,a)};var eMb=function(a){this.internalArray_=m(a)};Y(eMb,n);g=eMb.prototype;g.getStatus=function(){return Li(this,1,0)};g.setStatus=function(a){return Cl(this,1,a)};g.getItemList=function(){return zi(this,Pt,2)};g.addItem=function(a,b){return mq(this,2,Pt,a,b)};g.setItem=function(a,b){return Qt(this,2,Pt,a,b)};g.getItemCount=function(){return DLb(this,2)};g.getErrorCode=function(){return Li(this,4,0)};g.getInternalOnlyV1ViewInfo=function(){return vi(this,mu,7)};eMb.repeatedFields_=[2];var nu=function(a){this.internalArray_=m(a)};Y(nu,n);g=nu.prototype;g.getSourceId=function(){return Li(this,1,0)};g.setSourceId=function(a){return Cl(this,1,a)};g.getName=function(){return xi(this,8)};g.setName=function(a){return Ol(this,8,a)};g.getInternalOnlyV1ViewInfo=function(){return vi(this,mu,18)};nu.repeatedFields_=[14];var ou=function(a){this.internalArray_=m(a)};Y(ou,n);g=ou.prototype;g.getCommand=function(){return Li(this,1,0)};g.setCommand=function(a){return Cl(this,1,a)};g.getSource=function(){return vi(this,nu,2)};g.setSource=function(a){return ej(this,nu,2,a)};g.hasSource=function(){return Pi(this,nu,2)};g.setVisible=function(a){return yl(this,5,a)};g.getItemList=function(){return zi(this,Pt,7)};g.addItem=function(a,b){return mq(this,7,Pt,a,b)};g.setItem=function(a,b){return Qt(this,7,Pt,a,b)};
g.getItemCount=function(){return DLb(this,7)};ou.repeatedFields_=[3,7];var fMb=function(a){this.internalArray_=m(a)};Y(fMb,n);g=fMb.prototype;g.getCommand=function(){return Li(this,1,0)};g.setCommand=function(a){return Cl(this,1,a)};g.getItemList=function(){return zi(this,Pt,4)};g.addItem=function(a,b){return mq(this,4,Pt,a,b)};g.setItem=function(a,b){return Qt(this,4,Pt,a,b)};g.getItemCount=function(){return DLb(this,4)};var gMb=ac(fMb);fMb.repeatedFields_=[4];var Dda="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");var pu=function(a){return function(){return a}},qu=function(){},hMb=function(a){return a},NOa=function(){var a=MOa;return function(){return!a.apply(this,arguments)}},iMb=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}},ru=function(a,b){var c=0;return function(d){da.clearTimeout(c);var e=arguments;c=da.setTimeout(function(){a.apply(void 0,e)},b)}},jMb=function(a,b){var c=0,d=!1,e=[],f=function(){c=0;d&&(d=!1,h())},h=function(){c=da.setTimeout(f,b);var k=e;e=[];a.apply(void 0,k)};
return function(k){e=arguments;c?d=!0:h()}};var kMb={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 lMb,mMb=function(){if(void 0===lMb){var a=null,b=da.trustedTypes;if(b&&b.createPolicy){try{a=b.createPolicy("goog#html",{createHTML:bKb,createScript:bKb,createScriptURL:bKb})}catch(c){da.console&&da.console.error(c.message)}lMb=a}else lMb=a}return lMb};var jc=function(a,b){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=a===su&&b||"";this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=nMb};jc.prototype.implementsGoogStringTypedString=!0;jc.prototype.getTypedStringValue=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_};
var kc=function(a){return a instanceof jc&&a.constructor===jc&&a.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===nMb?a.stringConstValueWithSecurityContract__googStringSecurityPrivate_:"type_error:Const"},nMb={},su={};var tu=function(a){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=a};tu.prototype.toString=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+""};tu.prototype.implementsGoogStringTypedString=!0;tu.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_.toString()};
var Sh=function(a){if(a instanceof tu&&a.constructor===tu)return a.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_;lb(a);return"type_error:TrustedResourceUrl"},oMb={},gh=function(a){var b=mMb();a=b?b.createScriptURL(a):a;return new tu(a,oMb)};var hc=function(a){this.privateDoNotAccessOrElseSafeUrlWrappedValue_=a};hc.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()};hc.prototype.implementsGoogStringTypedString=!0;hc.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()};
var ic=function(a){if(a instanceof hc&&a.constructor===hc)return a.privateDoNotAccessOrElseSafeUrlWrappedValue_;lb(a);return"type_error:SafeUrl"},pMb=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,qMb=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,Nda=function(a){if(a instanceof hc)return a;a="object"==typeof a&&a.implementsGoogStringTypedString?a.getTypedStringValue():String(a);qMb.test(a)?a=$g(a):(a=String(a).replace(/(%0A|%0D)/g,""),a=a.match(pMb)?$g(a):null);return a},rMb;
try{new URL("s://g"),rMb=!0}catch(a){rMb=!1}
var sMb=rMb,gta=function(a){if(a instanceof hc)return a;a="object"==typeof a&&a.implementsGoogStringTypedString?a.getTypedStringValue():String(a);a:{var b=a;if(sMb){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 $g(a)},tMb={},$g=function(a){return new hc(a,tMb)},Oda=$g("about:invalid#zClosurez");var uMb={},uu=function(a){this.privateDoNotAccessOrElseSafeStyleWrappedValue_=a;this.implementsGoogStringTypedString=!0};uu.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_};uu.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_.toString()};
var vMb=function(a){if(a instanceof uu&&a.constructor===uu)return a.privateDoNotAccessOrElseSafeStyleWrappedValue_;lb(a);return"type_error:SafeStyle"},wMb=new uu("",uMb),Ida=RegExp("^[-+,.\"'%_!#/ a-zA-Z0-9\\[\\]]+$"),Hda=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g"),Gda=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"),Jda=/\/\*/;var vu=function(a){this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=a;this.implementsGoogStringTypedString=!0};vu.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_.toString()};vu.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_};var xMb={},lc=function(a){this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=a;this.implementsGoogStringTypedString=!0};lc.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()};lc.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()};
var dh=function(a){if(a instanceof lc&&a.constructor===lc)return a.privateDoNotAccessOrElseSafeHtmlWrappedValue_;lb(a);return"type_error:SafeHtml"},gp=function(a){return a instanceof lc?a:bh(oKb("object"==typeof a&&a.implementsGoogStringTypedString?a.getTypedStringValue():String(a)))},Ho=function(a,b,c){var d=String(a);if(!yMb.test(d))throw Error("T");if(d.toUpperCase()in zMb)throw Error("T");a=String(a);d="<"+a;var e="";if(b)for(var f in b)if(Object.prototype.hasOwnProperty.call(b,f)){if(!yMb.test(f))throw Error("T");
var h=b[f];if(null!=h){var k=f;var q=h;if(q instanceof jc)q=kc(q);else if("style"==k.toLowerCase()){h=void 0;if(!Aa(q))throw Error("T");if(!(q instanceof uu)){var t="";for(h in q)if(Object.prototype.hasOwnProperty.call(q,h)){if(!/^[-_a-zA-Z0-9]+$/.test(h))throw Error("S`"+h);var w=q[h];null!=w&&(w=Array.isArray(w)?w.map(Mda).join(" "):Mda(w),t+=h+":"+w+";")}q=t?new uu(t,uMb):wMb}q=vMb(q)}else{if(/^on/i.test(k))throw Error("T");if(k.toLowerCase()in AMb)if(q instanceof tu)q=Sh(q).toString();else if(q instanceof
hc)q=ic(q);else if("string"===typeof q)q=(Nda(q)||Oda).getTypedStringValue();else throw Error("T");}q.implementsGoogStringTypedString&&(q=q.getTypedStringValue());k=k+'="'+oKb(String(q))+'"';e+=" "+k}}b=d+e;null==c?c=[]:Array.isArray(c)||(c=[c]);!0===kMb[a.toLowerCase()]?b+=">":(f=Io(c),b+=">"+dh(f).toString()+"</"+a+">");return bh(b)},BMb=function(a){var b=gp(at),c=[],d=function(e){Array.isArray(e)?e.forEach(d):(e=gp(e),c.push(dh(e).toString()))};a.forEach(d);return bh(c.join(dh(b).toString()))},
Io=function(a){return BMb(Array.prototype.slice.call(arguments))},bh=function(a){var b=mMb();a=b?b.createHTML(a):a;return new lc(a,xMb)},yMb=/^[a-zA-Z0-9-]+$/,AMb={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},zMb={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},at=new lc(da.trustedTypes&&da.trustedTypes.emptyHTML||"",xMb);var CMb=iMb(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=dh(at);return!b.parentElement}),LOa=function(a,b){if(CMb())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=dh(b)},DMb=function(a,b){b=b instanceof hc?b:gta(b);a.action=ic(b)},FMb=function(a,b){var c=EMb(a.ownerDocument&&a.ownerDocument.defaultView);c&&a.setAttribute("nonce",c);a.src=Sh(b)},hta=function(a,
b,c,d){a=a instanceof hc?a:gta(a);b=b||da;c=c instanceof jc?kc(c):c||"";return void 0!==d?b.open(ic(a),c,d):b.open(ic(a),c)},GMb=/^[\w+/_-]+[=]{0,2}$/,EMb=function(a){a=(a||da).document;return a.querySelector?(a=a.querySelector("script[nonce]"))&&(a=a.nonce||a.getAttribute("nonce"))&&GMb.test(a)?a:"":""};var HMb=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")},IMb=function(a){return a.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},lo=function(a){return!/[^0-9]/.test(a)},Nj=function(a){return a=oKb(a)},JMb=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},X9a=function(a,b,c){return a.replace(new RegExp(ao(b),
"g"),c.replace(/\$/g,"$$$$"))},ao=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},KMb=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},wu=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+KMb("0",Math.max(0,b-c))+a},Di=function(a){return null==a?"":String(a)},xu=function(){return Math.floor(2147483648*
Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)},Xk=function(a){var b=Number(a);return 0==b&&Ei(a)?NaN:b},li=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})},fi=function(a){isFinite(a)&&(a=String(a));return"string"===typeof a?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN},LMb=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(fa){q&&q.mark&&q.mark(fa)}function c(fa,wa){q&&q.measure&&q.measure(fa,wa)}function d(fa){return t+fa}function e(fa){sa||a[O]&&(sa=a[O].resolve(0));if(sa){var wa=sa[U];wa||(wa=sa.then);wa.call(sa,fa)}else a[P](fa,0)}function f(fa){0===Ra&&0===aa.length&&e(h);fa&&aa.push(fa)}function h(){if(!na){for(na=!0;aa.length;){var fa=aa;aa=[];for(var wa=0;wa<fa.length;wa++){var Ca=fa[wa];try{Ca.zone.runTask(Ca,null,null)}catch(Wa){Ja.onUnhandledError(Wa)}}}Ja.microtaskDrainDone();na=
!1}}function k(){}var q=a.performance;b("Zone");var t=a.__Zone_symbol_prefix||"__zone_symbol__",w=!0===a[d("forceDuplicateZoneCheck")];if(a.Zone){if(w||"function"!==typeof a.Zone.__symbol__)throw Error("U");return a.Zone}var y=function(fa,wa){this._parent=fa;this._name=wa?wa.name||"unnamed":"<root>";this._properties=wa&&wa.properties||{};this._zoneDelegate=new J(this,this._parent&&this._parent._zoneDelegate,wa)};y.assertZonePatched=function(){if(a.Promise!==Pa.ZoneAwarePromise)throw Error("V");};
y.__load_patch=function(fa,wa,Ca){Ca=void 0===Ca?!1:Ca;if(Pa.hasOwnProperty(fa)){if(!Ca&&w)throw Error("W`"+fa);}else a["__Zone_disable_"+fa]||(Ca="Zone:"+fa,b(Ca),Pa[fa]=wa(a,y,Ja),c(Ca,Ca))};y.prototype.get=function(fa){var wa=this.getZoneWith(fa);if(wa)return wa._properties[fa]};y.prototype.getZoneWith=function(fa){for(var wa=this;wa;){if(wa._properties.hasOwnProperty(fa))return wa;wa=wa._parent}return null};y.prototype.fork=function(fa){if(!fa)throw Error("X");return this._zoneDelegate.fork(this,
fa)};y.prototype.wrap=function(fa,wa){if("function"!==typeof fa)throw Error("Y`"+fa);var Ca=this._zoneDelegate.intercept(this,fa,wa),Wa=this;return function(){return Wa.runGuarded(Ca,this,arguments,wa)}};y.prototype.run=function(fa,wa,Ca,Wa){cb={parent:cb,zone:this};try{return this._zoneDelegate.invoke(this,fa,wa,Ca,Wa)}finally{cb=cb.parent}};y.prototype.runGuarded=function(fa,wa,Ca,Wa){cb={parent:cb,zone:this};try{try{return this._zoneDelegate.invoke(this,fa,void 0===wa?null:wa,Ca,Wa)}catch(Va){if(this._zoneDelegate.handleError(this,
Va))throw Va;}}finally{cb=cb.parent}};y.prototype.runTask=function(fa,wa,Ca){if(fa.zone!=this)throw Error("Z`"+(fa.zone||Ba).name+"`"+this.name);if("notScheduled"!==fa.state||"eventTask"!==fa.type&&"macroTask"!==fa.type){var Wa="running"!=fa.state;Wa&&fa._transitionTo("running","scheduled");fa.runCount++;var Va=qb;qb=fa;cb={parent:cb,zone:this};try{"macroTask"==fa.type&&fa.data&&!fa.data.isPeriodic&&(fa.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,fa,wa,Ca)}catch(qd){if(this._zoneDelegate.handleError(this,
qd))throw qd;}}finally{"notScheduled"!==fa.state&&"unknown"!==fa.state&&("eventTask"==fa.type||fa.data&&fa.data.isPeriodic?Wa&&fa._transitionTo("scheduled","running"):(fa.runCount=0,this._updateTaskCount(fa,-1),Wa&&fa._transitionTo("notScheduled","running","notScheduled"))),cb=cb.parent,qb=Va}}};y.prototype.scheduleTask=function(fa){if(fa.zone&&fa.zone!==this)for(var wa=this;wa;){if(wa===fa.zone)throw Error("$`"+this.name+"`"+fa.zone.name);wa=wa.parent}fa._transitionTo("scheduling","notScheduled");
wa=[];fa._zoneDelegates=wa;fa._zone=this;try{fa=this._zoneDelegate.scheduleTask(this,fa)}catch(Ca){throw fa._transitionTo("unknown","scheduling","notScheduled"),this._zoneDelegate.handleError(this,Ca),Ca;}fa._zoneDelegates===wa&&this._updateTaskCount(fa,1);"scheduling"==fa.state&&fa._transitionTo("scheduled","scheduling");return fa};y.prototype.scheduleMicroTask=function(fa,wa,Ca,Wa){return this.scheduleTask(new I("microTask",fa,wa,Ca,Wa,void 0))};y.prototype.scheduleMacroTask=function(fa,wa,Ca,Wa,
Va){return this.scheduleTask(new I("macroTask",fa,wa,Ca,Wa,Va))};y.prototype.scheduleEventTask=function(fa,wa,Ca,Wa,Va){return this.scheduleTask(new I("eventTask",fa,wa,Ca,Wa,Va))};y.prototype.cancelTask=function(fa){if(fa.zone!=this)throw Error("aa`"+(fa.zone||Ba).name+"`"+this.name);if("scheduled"===fa.state||"running"===fa.state){fa._transitionTo("canceling","scheduled","running");try{this._zoneDelegate.cancelTask(this,fa)}catch(wa){throw fa._transitionTo("unknown","canceling"),this._zoneDelegate.handleError(this,
wa),wa;}this._updateTaskCount(fa,-1);fa._transitionTo("notScheduled","canceling");fa.runCount=0;return fa}};y.prototype._updateTaskCount=function(fa,wa){var Ca=fa._zoneDelegates;-1==wa&&(fa._zoneDelegates=null);for(var Wa=0;Wa<Ca.length;Wa++)Ca[Wa]._updateTaskCount(fa.type,wa)};Gh.Object.defineProperties(y.prototype,{parent:{configurable:!0,enumerable:!0,get:function(){return this._parent}},name:{configurable:!0,enumerable:!0,get:function(){return this._name}}});Gh.Object.defineProperties(y,{root:{configurable:!0,
enumerable:!0,get:function(){for(var fa=y.current;fa.parent;)fa=fa.parent;return fa}},current:{configurable:!0,enumerable:!0,get:function(){return cb.zone}},currentTask:{configurable:!0,enumerable:!0,get:function(){return qb}}});y.__symbol__=d;var C={name:"",onHasTask:function(fa,wa,Ca,Wa){return fa.hasTask(Ca,Wa)},onScheduleTask:function(fa,wa,Ca,Wa){return fa.scheduleTask(Ca,Wa)},onInvokeTask:function(fa,wa,Ca,Wa,Va,qd){return fa.invokeTask(Ca,Wa,Va,qd)},onCancelTask:function(fa,wa,Ca,Wa){return fa.cancelTask(Ca,
Wa)}},J=function(fa,wa,Ca){this._taskCounts={microTask:0,macroTask:0,eventTask:0};this.zone=fa;this._parentDelegate=wa;this._forkZS=Ca&&(Ca&&Ca.onFork?Ca:wa._forkZS);this._forkDlgt=Ca&&(Ca.onFork?wa:wa._forkDlgt);this._forkCurrZone=Ca&&(Ca.onFork?this.zone:wa._forkCurrZone);this._interceptZS=Ca&&(Ca.onIntercept?Ca:wa._interceptZS);this._interceptDlgt=Ca&&(Ca.onIntercept?wa:wa._interceptDlgt);this._interceptCurrZone=Ca&&(Ca.onIntercept?this.zone:wa._interceptCurrZone);this._invokeZS=Ca&&(Ca.onInvoke?
Ca:wa._invokeZS);this._invokeDlgt=Ca&&(Ca.onInvoke?wa:wa._invokeDlgt);this._invokeCurrZone=Ca&&(Ca.onInvoke?this.zone:wa._invokeCurrZone);this._handleErrorZS=Ca&&(Ca.onHandleError?Ca:wa._handleErrorZS);this._handleErrorDlgt=Ca&&(Ca.onHandleError?wa:wa._handleErrorDlgt);this._handleErrorCurrZone=Ca&&(Ca.onHandleError?this.zone:wa._handleErrorCurrZone);this._scheduleTaskZS=Ca&&(Ca.onScheduleTask?Ca:wa._scheduleTaskZS);this._scheduleTaskDlgt=Ca&&(Ca.onScheduleTask?wa:wa._scheduleTaskDlgt);this._scheduleTaskCurrZone=
Ca&&(Ca.onScheduleTask?this.zone:wa._scheduleTaskCurrZone);this._invokeTaskZS=Ca&&(Ca.onInvokeTask?Ca:wa._invokeTaskZS);this._invokeTaskDlgt=Ca&&(Ca.onInvokeTask?wa:wa._invokeTaskDlgt);this._invokeTaskCurrZone=Ca&&(Ca.onInvokeTask?this.zone:wa._invokeTaskCurrZone);this._cancelTaskZS=Ca&&(Ca.onCancelTask?Ca:wa._cancelTaskZS);this._cancelTaskDlgt=Ca&&(Ca.onCancelTask?wa:wa._cancelTaskDlgt);this._cancelTaskCurrZone=Ca&&(Ca.onCancelTask?this.zone:wa._cancelTaskCurrZone);this._hasTaskCurrZone=this._hasTaskDlgtOwner=
this._hasTaskDlgt=this._hasTaskZS=null;var Wa=Ca&&Ca.onHasTask,Va=wa&&wa._hasTaskZS;if(Wa||Va)this._hasTaskZS=Wa?Ca:C,this._hasTaskDlgt=wa,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=fa,Ca.onScheduleTask||(this._scheduleTaskZS=C,this._scheduleTaskDlgt=wa,this._scheduleTaskCurrZone=this.zone),Ca.onInvokeTask||(this._invokeTaskZS=C,this._invokeTaskDlgt=wa,this._invokeTaskCurrZone=this.zone),Ca.onCancelTask||(this._cancelTaskZS=C,this._cancelTaskDlgt=wa,this._cancelTaskCurrZone=this.zone)};J.prototype.fork=
function(fa,wa){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,fa,wa):new y(fa,wa)};J.prototype.intercept=function(fa,wa,Ca){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,fa,wa,Ca):wa};J.prototype.invoke=function(fa,wa,Ca,Wa,Va){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,fa,wa,Ca,Wa,Va):wa.apply(Ca,Wa)};J.prototype.handleError=function(fa,wa){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,
this._handleErrorCurrZone,fa,wa):!0};J.prototype.scheduleTask=function(fa,wa){var Ca=wa;if(this._scheduleTaskZS)this._hasTaskZS&&Ca._zoneDelegates.push(this._hasTaskDlgtOwner),(Ca=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,fa,wa))||(Ca=wa);else if(wa.scheduleFn)wa.scheduleFn(wa);else if("microTask"==wa.type)f(wa);else throw Error("ba");return Ca};J.prototype.invokeTask=function(fa,wa,Ca,Wa){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,
this._invokeTaskCurrZone,fa,wa,Ca,Wa):wa.callback.apply(Ca,Wa)};J.prototype.cancelTask=function(fa,wa){if(this._cancelTaskZS)fa=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,fa,wa);else{if(!wa.cancelFn)throw Error("ca");fa=wa.cancelFn(wa)}return fa};J.prototype.hasTask=function(fa,wa){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,fa,wa)}catch(Ca){this.handleError(fa,Ca)}};J.prototype._updateTaskCount=function(fa,wa){var Ca=this._taskCounts,
Wa=Ca[fa];wa=Ca[fa]=Wa+wa;if(0>wa)throw Error("da");0!=Wa&&0!=wa||this.hasTask(this.zone,{microTask:0<Ca.microTask,macroTask:0<Ca.macroTask,eventTask:0<Ca.eventTask,change:fa})};var I=function(fa,wa,Ca,Wa,Va,qd){this._zone=null;this.runCount=0;this._zoneDelegates=null;this._state="notScheduled";this.type=fa;this.source=wa;this.data=Wa;this.scheduleFn=Va;this.cancelFn=qd;if(!Ca)throw Error("ea");this.callback=Ca;var $a=this;this.invoke="eventTask"===fa&&Wa&&Wa.useG?I.invokeTask:function(){return I.invokeTask.call(a,
$a,this,arguments)}};I.invokeTask=function(fa,wa,Ca){fa||(fa=this);Ra++;try{return fa.runCount++,fa.zone.runTask(fa,wa,Ca)}finally{1==Ra&&h(),Ra--}};I.prototype._transitionTo=function(fa,wa,Ca){if(this._state===wa||this._state===Ca)this._state=fa,"notScheduled"==fa&&(this._zoneDelegates=null);else throw Error("fa`"+this.type+"`"+this.source+"`"+fa+"`"+wa+"`"+(Ca?" or '"+Ca+"'":"")+"`"+this._state);};I.prototype.toString=function(){return this.data&&"undefined"!==typeof this.data.handleId?this.data.handleId.toString():
Object.prototype.toString.call(this)};I.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}};Gh.Object.defineProperties(I.prototype,{zone:{configurable:!0,enumerable:!0,get:function(){return this._zone}},state:{configurable:!0,enumerable:!0,get:function(){return this._state}}});var P=d("setTimeout"),O=d("Promise"),U=d("then"),aa=[],na=!1,sa,Ba={name:"NO ZONE"},Pa={},Ja={symbol:d,currentZoneFrame:function(){return cb},onUnhandledError:k,
microtaskDrainDone:k,scheduleMicroTask:f,showUncaughtError:function(){return!y[d("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:k,patchMethod:function(){return k},bindArguments:function(){return[]},patchThen:function(){return k},patchMacroTask:function(){return k},patchEventPrototype:function(){return k},isIEOrEdge:function(){return!1},getGlobalObjects:function(){},ObjectDefineProperty:function(){return k},ObjectGetOwnPropertyDescriptor:function(){},ObjectCreate:function(){},
ArraySlice:function(){return[]},patchClass:function(){return k},wrapWithCurrentZone:function(){return k},filterProperties:function(){return[]},attachOriginToPatched:function(){return k},_redefineProperty:function(){return k},patchCallbacks:function(){return k},nativeScheduleMicroTask:e},cb={parent:null,zone:new y(null,null)},qb=null,Ra=0;c("Zone","Zone");return a.Zone=y})(globalThis);Zone.__load_patch("Error",function(a,b,c){function d(aa){for(var na={zoneName:aa.zone.name},sa=na;aa.parent;){aa=aa.parent;var Ba={zoneName:aa.zone.name};na=na.parent=Ba}return sa}function e(aa,na,sa){sa=void 0===sa?!0:sa;aa=aa.split("\n");for(var Ba=0;aa[Ba]!==t&&aa[Ba]!==w&&aa[Ba]!==y&&aa[Ba]!==C&&aa[Ba]!==J&&Ba<aa.length;)Ba++;for(;Ba<aa.length&&na;Ba++){var Pa=aa[Ba];if(Pa.trim())switch(q[Pa]){case 0:aa.splice(Ba,1);Ba--;break;case 1:na.parent?na=na.parent:na=null;aa.splice(Ba,1);Ba--;break;default:aa[Ba]+=
sa?" ["+na.zone.name+"]":" ["+na.zoneName+"]"}}return aa.join("\n")}function f(){var aa=this,na=k.apply(this,arguments),sa=na.originalStack=na.stack;if(f.stackRewrite&&sa){var Ba=c.currentZoneFrame();if("lazy"===I)na[c.symbol("zoneFrameNames")]=d(Ba);else if("default"===I)try{na.stack=na.zoneAwareStack=e(sa,Ba)}catch(Pa){}}return this instanceof k&&this.constructor!=k?(Object.keys(na).concat("stack","message").forEach(function(Pa){var Ja=na[Pa];if(void 0!==Ja)try{aa[Pa]=Ja}catch(cb){}}),this):na}
var h=c.symbol("zoneJsInternalStackFrames"),k=a[c.symbol("Error")]=a.Error,q={},t,w,y,C,J;a.Error=f;var I=a.__Zone_Error_BlacklistedStackFrames_policy||a.__Zone_Error_ZoneJsInternalStackFrames_policy||"default";f.prototype=k.prototype;f[h]=q;f.stackRewrite=!1;var P=c.symbol("zoneAwareStack");"lazy"===I&&Object.defineProperty(f.prototype,"zoneAwareStack",{configurable:!0,enumerable:!0,get:function(){this[P]||(this[P]=e(this.originalStack,this[c.symbol("zoneFrameNames")],!1));return this[P]},set:function(aa){this.originalStack=
aa;this[P]=e(this.originalStack,this[c.symbol("zoneFrameNames")],!1)}});var O=["stackTraceLimit","captureStackTrace","prepareStackTrace"];(a=Object.keys(k))&&a.forEach(function(aa){0===O.filter(function(na){return na===aa}).length&&Object.defineProperty(f,aa,{get:function(){return k[aa]},set:function(na){k[aa]=na}})});k.hasOwnProperty("stackTraceLimit")&&(k.stackTraceLimit=Math.max(k.stackTraceLimit,15),Object.defineProperty(f,"stackTraceLimit",{get:function(){return k.stackTraceLimit},set:function(aa){return k.stackTraceLimit=
aa}}));k.hasOwnProperty("captureStackTrace")&&Object.defineProperty(f,"captureStackTrace",{value:function(aa,na){k.captureStackTrace(aa,na)}});Object.defineProperty(f,"prepareStackTrace",{get:function(){return k.prepareStackTrace},set:function(aa){return aa&&"function"===typeof aa?k.prepareStackTrace=function(na,sa){if(sa)for(var Ba=0;Ba<sa.length;Ba++)if("zoneCaptureStackTrace"===sa[Ba].getFunctionName()){sa.splice(Ba,1);break}return aa.call(this,na,sa)}:k.prepareStackTrace=aa}});if("disable"!==
I){var U=b.current.fork({name:"detect",onHandleError:function(aa,na,sa,Ba){if(Ba.originalStack&&Error===f)for(aa=Ba.originalStack.split(/\n/),Ba=sa=na=!1;aa.length;){var Pa=aa.shift();if(/:\d+:\d+/.test(Pa)||"ZoneAwareError"===Pa){var Ja=Pa.split("(")[0].split("@")[0],cb=1;-1!==Ja.indexOf("ZoneAwareError")&&(-1!==Ja.indexOf("new ZoneAwareError")?(t=Pa,w=Pa.replace("new ZoneAwareError","new Error.ZoneAwareError")):(y=Pa,C=Pa.replace("Error.",""),-1===Pa.indexOf("Error.ZoneAwareError")&&(J=Pa.replace("ZoneAwareError",
"Error.ZoneAwareError"))),q[w]=0);-1!==Ja.indexOf("runGuarded")?sa=!0:-1!==Ja.indexOf("runTask")?Ba=!0:-1!==Ja.indexOf("run")?na=!0:cb=0;q[Pa]=cb;if(na&&sa&&Ba){f.stackRewrite=!0;break}}}return!1}}).fork({name:"child",onScheduleTask:function(aa,na,sa,Ba){return aa.scheduleTask(sa,Ba)},onInvokeTask:function(aa,na,sa,Ba,Pa,Ja){return aa.invokeTask(sa,Ba,Pa,Ja)},onCancelTask:function(aa,na,sa,Ba){return aa.cancelTask(sa,Ba)},onInvoke:function(aa,na,sa,Ba,Pa,Ja,cb){return aa.invoke(sa,Ba,Pa,Ja,cb)}});
b=Error.stackTraceLimit;Error.stackTraceLimit=100;U.run(function(){U.runGuarded(function(){var aa=function(){};U.scheduleEventTask(h,function(){U.scheduleMacroTask(h,function(){U.scheduleMicroTask(h,function(){throw Error();},void 0,function(na){na._transitionTo=aa;na.invoke()});U.scheduleMicroTask(h,function(){throw Error();},void 0,function(na){na._transitionTo=aa;na.invoke()})},void 0,function(na){na._transitionTo=aa;na.invoke()},function(){})},void 0,function(na){na._transitionTo=aa;na.invoke()},
function(){})})});Error.stackTraceLimit=b}});var nc=Object.getOwnPropertyDescriptor,Vda=Object.defineProperty,Yda=Object.getPrototypeOf,MMb=Object.create,NMb=Array.prototype.slice,OMb=Zone.__symbol__("addEventListener"),PMb=Zone.__symbol__("removeEventListener"),wc=Zone.__symbol__(""),qc=Zone.__symbol__,QMb="undefined"!==typeof window,vc=QMb?window:void 0,rc=QMb&&vc||globalThis,RMb="undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,eea=!("nw"in rc)&&"undefined"!==typeof rc.process&&"[object process]"==={}.toString.call(rc.process),
SMb=!eea&&!RMb&&!(!QMb||!vc.HTMLElement),TMb="undefined"!==typeof rc.process&&"[object process]"==={}.toString.call(rc.process)&&!RMb&&!(!QMb||!vc.HTMLElement),Tda={},Uda=function(a){if(a=a||rc.event){var b=Tda[a.type];b||(b=Tda[a.type]=qc("ON_PROPERTY"+a.type));var c=this||a.target||rc;b=c[b];SMb&&c===vc&&"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}},sc=qc("originalInstance"),
$da=!1,aea=!1;var zc=!1;if("undefined"!==typeof window)try{var UMb=Object.defineProperty({},"passive",{get:function(){zc=!0}});window.addEventListener("test",UMb,UMb);window.removeEventListener("test",UMb,UMb)}catch(a){zc=!1}var gea={useG:!0},xc={},fea={},iea=new RegExp("^"+wc+"(\\w+)(true|false)$"),dea=qc("propagationStopped");Zone.__load_patch("ZoneAwarePromise",function(a,b,c){function d($a){if($a&&$a.toString===Object.prototype.toString){var vb=$a.constructor&&$a.constructor.name;return(vb?vb:"")+": "+JSON.stringify($a)}return $a?$a.toString():Object.prototype.toString.call($a)}function e($a){c.onUnhandledError($a);try{var vb=b[sa];"function"===typeof vb&&vb.call(this,$a)}catch(Sa){}}function f($a){return $a}function h($a){return Va.reject($a)}function k($a,vb){return function(Sa){try{q($a,vb,Sa)}catch(Fb){q($a,!1,Fb)}}}
function q($a,vb,Sa){var Fb=Ra();if($a===Sa)throw new TypeError("ha");if(null===$a[Ba]){var jb=null;try{if("object"===typeof Sa||"function"===typeof Sa)jb=Sa&&Sa.then}catch(Kb){return Fb(function(){q($a,!1,Kb)})(),$a}if(!1!==vb&&Sa instanceof Va&&Sa.hasOwnProperty(Ba)&&Sa.hasOwnProperty(Pa)&&null!==Sa[Ba])t(Sa),q($a,Sa[Ba],Sa[Pa]);else if(!1!==vb&&"function"===typeof jb)try{jb.call(Sa,Fb(k($a,vb)),Fb(k($a,!1)))}catch(Kb){Fb(function(){q($a,!1,Kb)})()}else{$a[Ba]=vb;Fb=$a[Pa];$a[Pa]=Sa;$a[Ja]===Ja&&
!0===vb&&($a[Ba]=$a[qb],$a[Pa]=$a[cb]);!1===vb&&Sa instanceof Error&&(jb=b.currentTask&&b.currentTask.data&&b.currentTask.data.__creationTrace__)&&I(Sa,fa,{configurable:!0,enumerable:!1,writable:!0,value:jb});for(jb=0;jb<Fb.length;)w($a,Fb[jb++],Fb[jb++],Fb[jb++],Fb[jb++]);if(0==Fb.length&&0==vb){$a[Ba]=0;vb=Sa;try{throw Error("ia`"+d(Sa)+"`"+(Sa&&Sa.stack?"\n"+Sa.stack:""));}catch(Kb){vb=Kb}U&&(vb.throwOriginal=!0);vb.rejection=Sa;vb.promise=$a;vb.zone=b.current;vb.task=b.currentTask;O.push(vb);
c.scheduleMicroTask()}}}return $a}function t($a){if(0===$a[Ba]){try{var vb=b[wa];vb&&"function"===typeof vb&&vb.call(this,{rejection:$a[Pa],promise:$a})}catch(Sa){}$a[Ba]=!1;for(vb=0;vb<O.length;vb++)$a===O[vb].promise&&O.splice(vb,1)}}function w($a,vb,Sa,Fb,jb){t($a);var Kb=$a[Ba],Vb=Kb?"function"===typeof Fb?Fb:f:"function"===typeof jb?jb:h;vb.scheduleMicroTask("Promise.then",function(){try{var yc=$a[Pa],pc=!!Sa&&Ja===Sa[Ja];pc&&(Sa[cb]=yc,Sa[qb]=Kb);var gd=vb.run(Vb,void 0,pc&&Vb!==h&&Vb!==f?[]:
[yc]);q(Sa,!0,gd)}catch(ud){q(Sa,!1,ud)}},Sa)}function y($a){var vb=$a.prototype,Sa=J(vb,"then");if(!Sa||!1!==Sa.writable&&Sa.configurable){var Fb=vb.then;vb[na]=Fb;$a.prototype.then=function(jb,Kb){var Vb=this;return(new Va(function(yc,pc){Fb.call(Vb,yc,pc)})).then(jb,Kb)};$a[qd]=!0}}function C($a){return function(vb,Sa){vb=$a.apply(vb,Sa);if(vb instanceof Va)return vb;Sa=vb.constructor;Sa[qd]||y(Sa);return vb}}var J=Object.getOwnPropertyDescriptor,I=Object.defineProperty,P=c.symbol,O=[],U=!1!==
a[P("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],aa=P("Promise"),na=P("then");c.onUnhandledError=function($a){if(c.showUncaughtError()){var vb=$a&&$a.rejection;vb?console.error("Unhandled Promise rejection:",vb instanceof Error?vb.message:vb,"; Zone:",$a.zone.name,"; Task:",$a.task&&$a.task.source,"; Value:",vb,vb instanceof Error?vb.stack:void 0):console.error($a)}};c.microtaskDrainDone=function(){for(var $a={};O.length;){$a={uncaughtPromiseError:$a.uncaughtPromiseError};$a.uncaughtPromiseError=
O.shift();try{$a.uncaughtPromiseError.zone.runGuarded(function(vb){return function(){if(vb.uncaughtPromiseError.throwOriginal)throw vb.uncaughtPromiseError.rejection;throw vb.uncaughtPromiseError;}}($a))}catch(vb){e(vb)}}};var sa=P("unhandledPromiseRejectionHandler"),Ba=P("state"),Pa=P("value"),Ja=P("finally"),cb=P("parentPromiseValue"),qb=P("parentPromiseState"),Ra=function(){var $a=!1;return function(vb){return function(){$a||($a=!0,vb.apply(null,arguments))}}},fa=P("currentTaskTrace"),wa=P("rejectionHandledHandler"),
Ca=function(){},Wa=a.AggregateError,Va=function($a){if(!(this instanceof Va))throw Error("ja");this[Ba]=null;this[Pa]=[];try{var vb=Ra();$a&&$a(vb(k(this,!0)),vb(k(this,!1)))}catch(Sa){q(this,!1,Sa)}};Va.toString=function(){return"function ZoneAwarePromise() { [native code] }"};Va.resolve=function($a){return q(new this(null),!0,$a)};Va.reject=function($a){return q(new this(null),!1,$a)};Va.any=function($a){if(!$a||"function"!==typeof $a[Symbol.iterator])return Promise.reject(new Wa([],"All promises were rejected"));
var vb=[],Sa=0;try{for(var Fb=l($a),jb=Fb.next();!jb.done;jb=Fb.next()){var Kb=jb.value;Sa++;vb.push(Va.resolve(Kb))}}catch(pc){return Promise.reject(new Wa([],"All promises were rejected"))}if(0===Sa)return Promise.reject(new Wa([],"All promises were rejected"));var Vb=!1,yc=[];return new Va(function(pc,gd){for(var ud=0;ud<vb.length;ud++)vb[ud].then(function(se){Vb||(Vb=!0,pc(se))},function(se){yc.push(se);Sa--;0===Sa&&(Vb=!0,gd(new Wa(yc,"All promises were rejected")))})})};Va.race=function($a){function vb(yc){Fb(yc)}
function Sa(yc){jb(yc)}var Fb,jb,Kb=new this(function(yc,pc){Fb=yc;jb=pc});$a=l($a);for(var Vb=$a.next();!Vb.done;Vb=$a.next())(Vb=Vb.value)&&Vb.then||(Vb=this.resolve(Vb)),Vb.then(vb,Sa);return Kb};Va.all=function($a){return Va.allWithCallback($a)};Va.allSettled=function($a){return(this&&this.prototype instanceof Va?this:Va).allWithCallback($a,{thenCallback:function(vb){return{status:"fulfilled",value:vb}},errorCallback:function(vb){return{status:"rejected",reason:vb}}})};Va.allWithCallback=function($a,
vb){var Sa,Fb,jb=new this(function(ud,se){Sa=ud;Fb=se}),Kb=2,Vb=0,yc=[];$a=l($a);for(var pc=$a.next(),gd={};!pc.done;gd={curValueIndex:gd.curValueIndex},pc=$a.next()){(pc=pc.value)&&pc.then||(pc=this.resolve(pc));gd.curValueIndex=Vb;try{pc.then(function(ud){return function(se){yc[ud.curValueIndex]=vb?vb.thenCallback(se):se;Kb--;0===Kb&&Sa(yc)}}(gd),function(ud){return function(se){vb?(yc[ud.curValueIndex]=vb.errorCallback(se),Kb--,0===Kb&&Sa(yc)):Fb(se)}}(gd))}catch(ud){Fb(ud)}Kb++;Vb++}Kb-=2;0===
Kb&&Sa(yc);return jb};Gh.Object.defineProperty(Va.prototype,Symbol.toStringTag,{configurable:!0,enumerable:!0,get:function(){return"Promise"}});Gh.Object.defineProperty(Va.prototype,Symbol.species,{configurable:!0,enumerable:!0,get:function(){return Va}});Va.prototype.then=function($a,vb){var Sa,Fb=null==(Sa=this.constructor)?void 0:Sa[Symbol.species];Fb&&"function"===typeof Fb||(Fb=this.constructor||Va);Sa=new Fb(Ca);Fb=b.current;null==this[Ba]?this[Pa].push(Fb,Sa,$a,vb):w(this,Fb,Sa,$a,vb);return Sa};
Va.prototype.catch=function($a){return this.then(null,$a)};Va.prototype.finally=function($a){var vb,Sa=null==(vb=this.constructor)?void 0:vb[Symbol.species];Sa&&"function"===typeof Sa||(Sa=Va);vb=new Sa(Ca);vb[Ja]=Ja;Sa=b.current;null==this[Ba]?this[Pa].push(Sa,vb,$a,$a):w(this,Sa,vb,$a,$a);return vb};Va.resolve=Va.resolve;Va.reject=Va.reject;Va.race=Va.race;Va.all=Va.all;aa=a[aa]=a.Promise;a.Promise=Va;var qd=P("thenPatched");c.patchThen=y;aa&&(y(aa),uc(a,"fetch",function($a){return C($a)}));Promise[b.__symbol__("uncaughtPromiseErrors")]=
O;return Va});var mea=qc("zoneTask");Zone.__load_patch("toString",function(a){var b=Function.prototype.toString,c=qc("OriginalDelegate"),d=qc("Promise"),e=qc("Error"),f=function(){if("function"===typeof this){var k=this[c];if(k)return"function"===typeof k?b.call(k):Object.prototype.toString.call(k);if(this===Promise&&(k=a[d])||this===Error&&(k=a[e]))return b.call(k)}return b.call(this)};f[c]=b;Function.prototype.toString=f;var h=Object.prototype.toString;Object.prototype.toString=function(){return"function"===typeof Promise&&this instanceof
Promise?"[object Promise]":h.call(this)}});Zone.__load_patch("util",function(a,b,c){var d=pea(a);c.patchOnProperties=Xda;c.patchMethod=uc;c.bindArguments=Qda;c.patchMacroTask=Zda;var e=b.__symbol__("BLACK_LISTED_EVENTS"),f=b.__symbol__("UNPATCHED_EVENTS");a[f]&&(a[e]=a[f]);a[e]&&(b[e]=b[f]=a[e]);c.patchEventPrototype=kea;c.patchEventTarget=jea;c.isIEOrEdge=bea;c.ObjectDefineProperty=Vda;c.ObjectGetOwnPropertyDescriptor=nc;c.ObjectCreate=MMb;c.ArraySlice=NMb;c.patchClass=tc;c.wrapWithCurrentZone=Pda;c.filterProperties=oea;c.attachOriginToPatched=
oc;c._redefineProperty=Object.defineProperty;c.patchCallbacks=nea;c.getGlobalObjects=function(){return{globalSources:fea,zoneSymbolEventNames:xc,eventNames:d,isBrowser:SMb,isMix:TMb,isNode:eea,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:wc,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"}}});var qea,rea,sea,tea,Bc;var Bea=[].concat(u("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(" ")),
u(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"]),u(["autocomplete","autocompleteerror"]),u(["toggle"]),u("afterscriptexecute beforescriptexecute DOMContentLoaded freeze fullscreenchange mozfullscreenchange webkitfullscreenchange msfullscreenchange fullscreenerror mozfullscreenerror webkitfullscreenerror msfullscreenerror readystatechange visibilitychange resume".split(" ")),u("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(" ")),
u("beforecopy beforecut beforepaste copy cut paste dragstart loadend animationstart search transitionrun transitionstart webkitanimationend webkitanimationiteration webkitanimationstart webkittransitionend".split(" ")),u("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=xea;wea()});b.__load_patch("registerElement",function(c,d,e){d=e.getGlobalObjects();var f=d.isMix;(d.isBrowser||f)&&"registerElement"in c.document&&e.patchCallbacks(e,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])});b.__load_patch("EventTargetLegacy",function(c,
d,e){yea(c,e);d=e.getGlobalObjects();var f=d.isMix;d.isNode&&!f||Aea(e,c)||(d="undefined"!==typeof WebSocket,Cea(e),e.patchClass("XMLHttpRequest"),d&&zea(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){Ac(a,"set","clear","Timeout");Ac(a,"set","clear","Interval");Ac(a,"set","clear","Immediate")});Zone.__load_patch("requestAnimationFrame",function(a){Ac(a,"request","cancel","AnimationFrame");Ac(a,"mozRequest","mozCancel","AnimationFrame");Ac(a,"webkitRequest","webkitCancel","AnimationFrame")});
Zone.__load_patch("blocking",function(a,b){for(var c=["alert","prompt","confirm"],d=0;d<c.length;d++)uc(a,c[d],function(e,f,h){return function(k,q){return b.current.run(e,a,q,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,f=d.TRUE_STR,h=d.FALSE_STR;d=d.ZONE_SYMBOL_PREFIX;for(var k=0;k<b.length;k++){var q=b[k],t=d+(q+h),w=d+(q+f);e[q]={};e[q][h]=t;e[q][f]=w}(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(){tc("MutationObserver");tc("WebKitMutationObserver")});Zone.__load_patch("IntersectionObserver",function(){tc("IntersectionObserver")});Zone.__load_patch("FileReader",function(){tc("FileReader")});
Zone.__load_patch("on_property",function(a,b,c){if((!eea||TMb)&&!Zone[c.symbol("patchEvents")]){b=a.__Zone_ignore_on_properties;c=[];if(SMb){var d=window;c=c.concat("Document SVGElement Element HTMLElement HTMLBodyElement HTMLMediaElement HTMLFrameSetElement HTMLFrameElement HTMLIFrameElement HTMLMarqueeElement Worker".split(" "));a:{try{var e=vc.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")){var f=!0;break a}}catch(k){}f=!1}e=f?[{target:d,ignoreProperties:["error"]}]:
[];f=pea(d);var h=b?b.concat(e):b;e=Yda(d);d&&(f=oea(d,f,h),Xda(d,f,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&&(f=e.prototype,e=pea(e.prototype),f&&(e=oea(f,e,b),Xda(f,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(q){function t(sa){var Ba=sa.data,Pa=Ba.target;Pa[f]=!1;Pa[k]=!1;var Ja=Pa[e];J||(J=Pa[OMb],I=Pa[PMb]);Ja&&I.call(Pa,"readystatechange",Ja);Ja=Pa[e]=function(){if(Pa.readyState===Pa.DONE)if(!Ba.aborted&&Pa[f]&&"scheduled"===sa.state){var cb=Pa[b.__symbol__("loadfalse")];if(0!==Pa.status&&cb&&0<cb.length){var qb=sa.invoke;sa.invoke=function(){for(var Ra=Pa[b.__symbol__("loadfalse")],fa=0;fa<Ra.length;fa++)Ra[fa]===sa&&Ra.splice(fa,1);Ba.aborted||"scheduled"!==
sa.state||qb.call(sa)};cb.push(sa)}else sa.invoke()}else Ba.aborted||!1!==Pa[f]||(Pa[k]=!0)};J.call(Pa,"readystatechange",Ja);Pa[c]||(Pa[c]=sa);aa.apply(Pa,Ba.args);Pa[f]=!0;return sa}function w(){}function y(sa){sa=sa.data;sa.aborted=!0;return na.apply(sa.target,sa.args)}var C=q.XMLHttpRequest;if(C){C=C.prototype;var J=C[OMb],I=C[PMb];!J&&(q=q.XMLHttpRequestEventTarget)&&(q=q.prototype,J=q[OMb],I=q[PMb]);var P=uc(C,"open",function(){return function(sa,Ba){sa[d]=0==Ba[2];sa[h]=Ba[1];return P.apply(sa,
Ba)}}),O=qc("fetchTaskAborting"),U=qc("fetchTaskScheduling"),aa=uc(C,"send",function(){return function(sa,Ba){if(!0===b.current[U]||sa[d])return aa.apply(sa,Ba);Ba={target:sa,url:sa[h],isPeriodic:!1,args:Ba,aborted:!1};var Pa=Zone.current.scheduleMacroTask("XMLHttpRequest.send",w,Ba,t,y);sa&&!0===sa[k]&&!Ba.aborted&&"scheduled"===Pa.state&&Pa.invoke()}}),na=uc(C,"abort",function(){return function(sa,Ba){var Pa=sa[c];if(Pa&&"string"==typeof Pa.type)null==Pa.cancelFn||Pa.data&&Pa.data.aborted||Pa.zone.cancelTask(Pa);
else if(!0===b.current[O])return na.apply(sa,Ba)}})}})(a);var c=qc("xhrTask"),d=qc("xhrSync"),e=qc("xhrListener"),f=qc("xhrScheduled"),h=qc("xhrURL"),k=qc("xhrErrorBeforeScheduled")});Zone.__load_patch("geolocation",function(a){a.navigator&&a.navigator.geolocation&&Sda(a.navigator.geolocation)});
Zone.__load_patch("PromiseRejectionEvent",function(a,b){function c(d){return function(e){hea(a,d).forEach(function(f){var h=a.PromiseRejectionEvent;h&&(h=new h(d,{promise:e.promise,reason:e.rejection}),f.invoke(h))})}}a.PromiseRejectionEvent&&(b[qc("unhandledPromiseRejectionHandler")]=c("unhandledrejection"),b[qc("rejectionHandledHandler")]=c("rejectionhandled"))});Zone.__load_patch("queueMicrotask",function(a,b,c){lea(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 Eea=Cc({"\u0275prov":Cc}),Iea=Cc({"\u0275inj":Cc}),Fea=Cc({ngInjectableDef:Cc}),Jea=Cc({ngInjectorDef:Cc});var Hc=function(a,b){b=Error.call(this,"NG0"+Math.abs(a)+(b?": "+b:""));this.message=b.message;"stack"in b&&(this.stack=b.stack);this.code=a};Y(Hc,Error);var Sc=Cc({"\u0275cmp":Cc}),cfa=Cc({"\u0275dir":Cc}),gfa=Cc({"\u0275pipe":Cc}),VMb=Cc({"\u0275mod":Cc}),ifa=Cc({"\u0275fac":Cc}),Ad=Cc({__NG_ELEMENT_ID__:Cc}),WMb=Cc({__NG_ENV_ID__:Cc});var Nea;var Qea=Cc({__forward_ref__:Cc});var bd=function(a,b){this._desc=a;this.\u0275prov=void 0;"number"==typeof b?this.__NG_ELEMENT_ID__=b:void 0!==b&&(this.\u0275prov=Dc({token:this,providedIn:b.providedIn||"root",factory:b.factory}))};bd.prototype.toString=function(){return"InjectionToken "+this._desc};Gh.Object.defineProperties(bd.prototype,{multi:{configurable:!0,enumerable:!0,get:function(){return this}}});var Sd=globalThis;var XMb={},YMb=/\n/gm,Lc=void 0;var tfa=new bd("ENVIRONMENT_INITIALIZER");var ZMb=new bd("INJECTOR",-1);var sfa=new bd("INJECTOR_DEF_TYPES");var xfa=function(){};xfa.prototype.get=function(a,b){b=void 0===b?XMb:b;if(b===XMb)throw a=Error("na`"+Gc(a)),a.name="NullInjectorError",a;return b};var Uc={},Rc=[];var ufa=Cc({provide:String,useValue:Cc});var Fka=new bd("Set Injector scope.");var Cfa={},$Mb={},wfa=void 0,yu=function(){},dd=function(a,b,c,d){var e=this;this.parent=b;this.source=c;this.scopes=d;this.records=new Map;this._ngOnDestroyHooks=new Set;this._onDestroyHooks=[];this._destroyed=!1;Efa(a,function(f){return aNb(e,f)});this.records.set(ZMb,cd(void 0,this));d.has("environment")&&this.records.set(yu,cd(void 0,this));a=this.records.get(Fka);null!=a&&"string"===typeof a.value&&this.scopes.add(a.value);this.injectorDefTypes=new Set(this.get(sfa,Rc,2))};Y(dd,yu);
dd.prototype.destroy=function(){ed(this);this._destroyed=!0;try{for(var a=l(this._ngOnDestroyHooks),b=a.next();!b.done;b=a.next())b.value.ngOnDestroy();var c=this._onDestroyHooks;this._onDestroyHooks=[];for(var d=l(c),e=d.next();!e.done;e=d.next()){var f=e.value;f()}}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}};
dd.prototype.onDestroy=function(a){var b=this;ed(this);this._onDestroyHooks.push(a);return function(){var c=b._onDestroyHooks.indexOf(a);-1!==c&&b._onDestroyHooks.splice(c,1)}};dd.prototype.runInContext=function(a){ed(this);var b=Mc(this),c=Ic();try{return a()}finally{Mc(b),Ic(c)}};
dd.prototype.get=function(a,b,c){b=void 0===b?XMb:b;c=void 0===c?0:c;ed(this);if(a.hasOwnProperty(WMb))return a[WMb](this);c=Sea(c);var d=Mc(this),e=Ic();try{if(!(c&4)){var f=this.records.get(a);if(void 0===f){var h=("function"===typeof a||"object"===typeof a&&a instanceof bd)&&Gea(a),k;if(k=h)if(h.providedIn){var q=Kc(h.providedIn);k="string"===typeof q?"any"===q||this.scopes.has(q):this.injectorDefTypes.has(q)}else k=!1;k?f=cd(Afa(a),Cfa):f=null;this.records.set(a,f)}if(null!=f){b=f;b.value===Cfa&&
(b.value=$Mb,b.value=b.factory());var t;if(t="object"===typeof b.value&&b.value){var w=b.value;t=null!==w&&"object"===typeof w&&"function"===typeof w.ngOnDestroy}t&&this._ngOnDestroyHooks.add(b.value);return b.value}}var y=c&2?yfa():this.parent;b=c&8&&b===XMb?null:b;return y.get(a,b)}catch(na){if("NullInjectorError"===na.name){(na.ngTempTokenPath=na.ngTempTokenPath||[]).unshift(Gc(a));if(d)throw na;t=na;var C=this.source,J=t.ngTempTokenPath;a.__source&&J.unshift(a.__source);var I="\n"+t.message;a=
C;a=void 0===a?null:a;I=I&&"\n"===I.charAt(0)&&"\u0275"==I.charAt(1)?I.slice(2):I;var P=Gc(J);if(Array.isArray(J))P=J.map(Gc).join(" -> ");else if("object"===typeof J){C=[];for(var O in J)if(J.hasOwnProperty(O)){var U=J[O];C.push(O+":"+("string"===typeof U?JSON.stringify(U):Gc(U)))}P="{"+C.join(", ")+"}"}var aa="R3InjectorError"+(a?"("+a+")":"")+"["+P+"]: "+I.replace(YMb,"\n  ");t.message=aa;t.ngTokenPath=J;t.ngTempTokenPath=null;throw t;}throw na;}finally{Ic(e),Mc(d)}};
var wga=function(a){var b=Mc(a),c=Ic();try{for(var d=a.get(tfa,Rc,2),e=l(d),f=e.next();!f.done;f=e.next()){var h=f.value;h()}}finally{Mc(b),Ic(c)}};dd.prototype.toString=function(){for(var a=[],b=l(this.records.keys()),c=b.next();!c.done;c=b.next())a.push(Gc(c.value));return"R3Injector["+a.join(", ")+"]"};
var ed=function(a){if(a._destroyed)throw new Hc(205,!1);},aNb=function(a,b){b=Kc(b);var c=ad(b)?b:Kc(b&&b.provide),d=Dfa(b);if(ad(b)||!0!==b.multi)a.records.get(c);else{var e=a.records.get(c);e||(e=cd(void 0,Cfa,!0),e.factory=function(){return Tea(e.multi)},a.records.set(c,e));c=b;e.multi.push(b)}a.records.set(c,d)};Gh.Object.defineProperties(dd.prototype,{destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});Oc(hd(function(a){return{token:a}}),-1);var zu=Oc(hd(),8);Oc(hd(),2);var Au=Oc(hd(),4);Oc(hd(),1);var Hfa=null,bNb={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:function(){return!1},producerRecomputeValue:function(){},consumerMarkedDirty:function(){},consumerOnSignalRead:function(){}};var cNb=Symbol("pa"),dNb=Symbol("qa"),eNb=Symbol("ra");Object.assign({},bNb,{value:cNb,dirty:!0,error:null,equal:Gfa,producerMustRecompute:function(a){return a.value===cNb||a.value===dNb},producerRecomputeValue:function(a){if(a.value===dNb)throw Error("sa");var b=a.value;a.value=dNb;var c=Ifa(a);try{var d=a.computation()}catch(e){d=eNb,a.error=e}finally{Lfa(a,c)}b!==cNb&&b!==eNb&&d!==eNb&&a.equal(b,d)?a.value=b:(a.value=d,a.version++)}});Object.assign({},bNb,{equal:Gfa,value:void 0});Object.assign({},bNb,{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:function(a){null!==a.schedule&&a.schedule(a.ref)},hasRun:!1,cleanupFn:function(){}});var Rfa=function(a,b,c){this.previousValue=a;this.currentValue=b;this.firstChange=c};Rfa.prototype.isFirstChange=function(){return this.firstChange};ld.ngInherit=!0;var rd=Zfa(null),tha=null,xf=!0;var Ed=function(a,b){var c=B;this.factory=a;this.resolving=!1;this.canSeeViewProviders=b;this.injectImpl=c};var gga=!0,iga=0,Cd={},Fd=function(a,b){this._tNode=a;this._lView=b};Fd.prototype.get=function(a,b,c){return rga(this._tNode,this._lView,a,Sea(c),b)};Cc({provide:String,useValue:Cc});var ff=function(){},qf=function(a){if(Array.isArray(a))return xga({name:""},void 0,a,"");var b,c=null!=(b=a.name)?b:"";return xga({name:c},a.parent,a.providers,c)},fNb=new xfa;ff.\u0275prov=Dc({token:ff,providedIn:"any",factory:function(){return p(ZMb)}});ff.__NG_ELEMENT_ID__=-1;var Bu=function(){};var Cu=function(){},sva=function(){};var yga=void 0;var gNb=new bd("AppId",{providedIn:"root",factory:function(){return"ng"}}),zka=new bd("Platform Initializer"),gf=new bd("Platform ID",{providedIn:"platform",factory:function(){return"unknown"}});new bd("Application Packages Root URL");
var Du=new bd("AnimationModuleType"),hNb=new bd("CSP nonce",{providedIn:"root",factory:function(){var a,b;return(null==(a=zga().body)?void 0:null==(b=a.querySelector("[ngCspNonce]"))?void 0:b.getAttribute("ngCspNonce"))||null}}),iNb={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1};new bd("ImageConfig",{providedIn:"root",factory:function(){return iNb}});var jNb=function(){},kNb=function(){};var Hd=function(a){this.nativeElement=a};Hd.__NG_ELEMENT_ID__=function(){return Id(sd(),v())};var lNb=function(){},Eu=function(){this.destroyNode=null};Eu.__NG_ELEMENT_ID__=function(){var a=v(),b=od(sd().index,a);return(id(b)?b:a)[11]};var Bga=new Map,rha=0;var Ega=/^>|^->|\x3c!--|--\x3e|--!>|<!-$/g,Fga=/(<|>)/g;var $d=function(){this._console=console};$d.prototype.handleError=function(a){var b=this._findOriginalError(a);this._console.error("ERROR",a);b&&this._console.error("ORIGINAL ERROR",b)};$d.prototype._findOriginalError=function(a){for(a=a&&a.ngOriginalError;a&&a.ngOriginalError;)a=a.ngOriginalError;return a||null};new bd("");var mNb=new bd("",{providedIn:"root",factory:function(){return!1}});var Yd={};var Pd=function(a){this.changingThisBreaksApplicationSecurity=a};Pd.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see https://g.co/ng/security#xss)"};var nNb=function(){Pd.apply(this,arguments)};Y(nNb,Pd);nNb.prototype.getTypeName=function(){return"HTML"};var oNb=function(){Pd.apply(this,arguments)};Y(oNb,Pd);oNb.prototype.getTypeName=function(){return"URL"};var pNb=function(){Pd.apply(this,arguments)};Y(pNb,Pd);
pNb.prototype.getTypeName=function(){return"ResourceURL"};var Tga;var cha=function(a){this.inertDocumentHelper=a};cha.prototype.getInertBodyElement=function(a){a="<body><remove></remove>"+a;try{var b=(new window.DOMParser).parseFromString(Vga(a),"text/html").body;if(null===b)return this.inertDocumentHelper.getInertBodyElement(a);b.removeChild(b.firstChild);return b}catch(c){return null}};var bha=function(a){this.defaultDoc=a;this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")};
bha.prototype.getInertBodyElement=function(a){var b=this.inertDocument.createElement("template");b.innerHTML=Vga(a);return b};var Wga=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var qNb=Td("area,br,col,hr,img,wbr"),rNb=Td("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),sNb=Td("rp,rt"),tNb=Ud(sNb,rNb),uNb=Ud(rNb,Td("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")),vNb=Ud(sNb,Td("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")),
eha=Ud(qNb,uNb,vNb,tNb),gha=Td("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),wNb=Td("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"),
xNb=Td("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"),
fha=Ud(gha,wNb,xNb),hha=Td("script,style,template"),dha=function(){this.buf=[]};dha.prototype.endElement=function(a){a=a.nodeName.toLowerCase();eha.hasOwnProperty(a)&&!qNb.hasOwnProperty(a)&&(this.buf.push("</"),this.buf.push(a),this.buf.push(">"))};var iha=function(a,b){if(b&&(a.compareDocumentPosition(b)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw Error("va`"+a.outerHTML);return b},Yga=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Zga=/([^#-~ |!])/g,aha;var yNb={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 kha;var Pha=[],Qha=Object.assign({},bNb,{consumerIsAlwaysLive:!0,consumerMarkedDirty:function(a){Tfa(a.lView)},consumerOnSignalRead:function(){this.lView[23]=this}});var ae=function(a,b,c){this._lView=a;this._cdRefInjectingView=b;this.notifyErrorHandler=void 0===c?!0:c;this._appRef=null;this._attachedToViewContainer=!1};g=ae.prototype;g.destroy=function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var a=this._lView[3];if(jd(a)){var b=a[8],c=b?b.indexOf(this):-1;-1<c&&(Md(a,c),kfa(b,c))}this._attachedToViewContainer=!1}Jga(this._lView[1],this._lView)};g.onDestroy=function(a){Ufa(this._lView,a)};
g.markForCheck=function(){Uha(this._cdRefInjectingView||this._lView)};g.detach=function(){this._lView[2]&=-129};
g.detectChanges=function(){var a=this._lView,b=this.notifyErrorHandler;b=void 0===b?!0:b;var c=a[10],d=c.rendererFactory,e=c.afterRenderEventManager,f;null==(f=d.begin)||f.call(d);null==e||e.begin();try{var h=a[1];Tha(h,a,h.template,a[8]);for(f=0;Sfa(a);){if(100===f)throw new Hc(103,!1);f++;Sha(a,1)}}catch(t){throw b&&Nha(a,t),t;}finally{var k;null==(k=d.end)||k.call(d);var q;null==(q=c.inlineEffectRunner)||q.flush();null==e||e.end()}};
Gh.Object.defineProperties(ae.prototype,{rootNodes:{configurable:!0,enumerable:!0,get:function(){var a=this._lView,b=a[1];return Qga(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 Fu=function(){};Fu.__NG_ELEMENT_ID__=Vha;var zNb=function(){};zNb.prototype.supports=function(a){return Xha(a)};zNb.prototype.create=function(a){return new Gu(a)};var ANb=function(a,b){return b},Gu=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||ANb};
Gu.prototype.forEachItem=function(a){var b;for(b=this._itHead;null!==b;b=b._next)a(b)};var BNb=function(a,b){var c=a._itHead;a=a._removalsHead;for(var d=0,e=null;c||a;){var f=!a||c&&c.currentIndex<Zha(a,d,e)?c:a,h=Zha(f,d,e),k=f.currentIndex;if(f===a)d--,a=a._nextRemoved;else if(c=c._next,null==f.previousIndex)d++;else{e||(e=[]);var q=h-d,t=k-d;if(q!=t){for(var w=0;w<q;w++){var y=w<e.length?e[w]:e[w]=0,C=y+w;t<=C&&C<q&&(e[w]=y+1)}e[f.previousIndex]=t-q}}h!==k&&b(f,h,k)}};
Gu.prototype.forEachAddedItem=function(a){var b;for(b=this._additionsHead;null!==b;b=b._nextAdded)a(b)};Gu.prototype.forEachRemovedItem=function(a){var b;for(b=this._removalsHead;null!==b;b=b._nextRemoved)a(b)};var CNb=function(a,b){for(a=a._identityChangesHead;null!==a;a=a._nextIdentityChange)b(a)};g=Gu.prototype;g.diff=function(a){null==a&&(a=[]);if(!Xha(a))throw new Hc(900,!1);return this.check(a)?this:null};g.onDestroy=function(){};
g.check=function(a){var b=this;this._reset();var c=this._itHead,d=!1;if(Array.isArray(a)){this.length=a.length;for(var e=0;e<this.length;e++){var f=a[e];var h=this._trackByFn(e,f);null!==c&&Object.is(c.trackById,h)?(d&&(c=this._verifyReinsertion(c,f,h,e)),Object.is(c.item,f)||this._addIdentityChange(c,f)):(c=this._mismatch(c,f,h,e),d=!0);c=c._next}}else{var k=0;Yha(a,function(q){h=b._trackByFn(k,q);null!==c&&Object.is(c.trackById,h)?(d&&(c=b._verifyReinsertion(c,q,h,k)),Object.is(c.item,q)||b._addIdentityChange(c,
q)):(c=b._mismatch(c,q,h,k),d=!0);c=c._next;k++});this.length=k}this._truncate(c);this.collection=a;return this.isDirty};
g._reset=function(){if(this.isDirty){var a;for(a=this._previousItHead=this._itHead;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}};
g._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 DNb(b,c),e,d));return a};
g._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};
g._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)};
g._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};g._moveAfter=function(a,b,c){this._unlink(a);this._insertAfter(a,b,c);this._addToMoves(a,c);return a};
g._addAfter=function(a,b,c){this._insertAfter(a,b,c);this._additionsTail=null===this._additionsTail?this._additionsHead=a:this._additionsTail._nextAdded=a;return a};g._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 Hu);this._linkedRecords.put(a);a.currentIndex=c;return a};g._remove=function(a){return this._addToRemovals(this._unlink(a))};
g._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};g._addToMoves=function(a,b){if(a.previousIndex===b)return a;this._movesTail=null===this._movesTail?this._movesHead=a:this._movesTail._nextMoved=a;return a};
g._addToRemovals=function(a){null===this._unlinkedRecords&&(this._unlinkedRecords=new Hu);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};
g._addIdentityChange=function(a,b){a.item=b;this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=a:this._identityChangesTail._nextIdentityChange=a;return a};Gh.Object.defineProperties(Gu.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}}});
var DNb=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},ENb=function(){this._tail=this._head=null};ENb.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)};
ENb.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};ENb.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 Hu=function(){this.map=new Map};Hu.prototype.put=function(a){var b=a.trackById,c=this.map.get(b);c||(c=new ENb,this.map.set(b,c));c.add(a)};
Hu.prototype.get=function(a,b){var c=this.map.get(a);return c?c.get(a,b):null};Hu.prototype.remove=function(a){var b=a.trackById;this.map.get(b).remove(a)&&this.map.delete(b);return a};Hu.prototype.clear=function(){this.map.clear()};Gh.Object.defineProperties(Hu.prototype,{isEmpty:{configurable:!0,enumerable:!0,get:function(){return 0===this.map.size}}});var FNb=function(){};FNb.prototype.supports=function(a){return a instanceof Map||Wha(a)};FNb.prototype.create=function(){return new GNb};var GNb=function(){this._records=new Map;this._removalsTail=this._removalsHead=this._additionsTail=this._additionsHead=this._changesTail=this._changesHead=this._previousMapHead=this._appendAfter=this._mapHead=null};GNb.prototype.forEachItem=function(a){var b;for(b=this._mapHead;null!==b;b=b._next)a(b)};var HNb=function(a,b){for(a=a._changesHead;null!==a;a=a._nextChanged)b(a)};
g=GNb.prototype;g.forEachAddedItem=function(a){var b;for(b=this._additionsHead;null!==b;b=b._nextAdded)a(b)};g.forEachRemovedItem=function(a){var b;for(b=this._removalsHead;null!==b;b=b._nextRemoved)a(b)};g.diff=function(a){if(!a)a=new Map;else if(!(a instanceof Map||Wha(a)))throw new Hc(900,!1);return this.check(a)?this:null};g.onDestroy=function(){};
g.check=function(a){var b=this;this._reset();var c=this._mapHead;this._appendAfter=null;this._forEach(a,function(d,e){c&&c.key===e?(b._maybeAddToChanges(c,d),b._appendAfter=c,c=c._next):(d=b._getOrCreateRecordForKey(e,d),c=b._insertBeforeOrAppend(c,d))});if(c)for(c._prev&&(c._prev._next=null),a=this._removalsHead=c;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};g._insertBeforeOrAppend=function(a,b){if(a){var c=a._prev;b._next=a;b._prev=c;a._prev=b;c&&(c._next=b);a===this._mapHead&&(this._mapHead=b);return this._appendAfter=a}this._appendAfter?(this._appendAfter._next=b,b._prev=this._appendAfter):this._mapHead=b;this._appendAfter=b;return null};
g._getOrCreateRecordForKey=function(a,b){if(this._records.has(a)){a=this._records.get(a);this._maybeAddToChanges(a,b);b=a._prev;var c=a._next;b&&(b._next=c);c&&(c._prev=b);a._next=null;a._prev=null;return a}c=new INb(a);this._records.set(a,c);c.currentValue=b;this._addToAdditions(c);return c};
g._reset=function(){if(this.isDirty){var a;for(a=this._previousMapHead=this._mapHead;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}};
g._maybeAddToChanges=function(a,b){Object.is(b,a.currentValue)||(a.previousValue=a.currentValue,a.currentValue=b,this._addToChanges(a))};g._addToAdditions=function(a){null===this._additionsHead?this._additionsHead=this._additionsTail=a:this._additionsTail=this._additionsTail._nextAdded=a};g._addToChanges=function(a){null===this._changesHead?this._changesHead=this._changesTail=a:this._changesTail=this._changesTail._nextChanged=a};
g._forEach=function(a,b){a instanceof Map?a.forEach(b):Object.keys(a).forEach(function(c){return b(a[c],c)})};Gh.Object.defineProperties(GNb.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}}});var INb=function(a){this.key=a;this._nextChanged=this._nextRemoved=this._nextAdded=this._prev=this._next=this._nextPrevious=this.currentValue=this.previousValue=null};var Iu=function(a){this.factories=a};Iu.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(null!=b)return b;throw new Hc(901,!1);};Iu.\u0275prov=Dc({token:Iu,providedIn:"root",factory:function(){return new Iu([new zNb])}});var Ju=function(a){this.factories=a};Ju.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(b)return b;throw new Hc(901,!1);};Ju.\u0275prov=Dc({token:Ju,providedIn:"root",factory:function(){return new Ju([new FNb])}});var kf=function(){};kf.__NG_ELEMENT_ID__=$ha;kf.__NG_ENV_ID__=function(a){return a};var be=function(a){this._lView=a};Y(be,kf);be.__NG_ENV_ID__=kf.__NG_ENV_ID__;be.__NG_ELEMENT_ID__=kf.__NG_ELEMENT_ID__;be.prototype.onDestroy=function(a){var b=this;Ufa(this._lView,a);return function(){var c=b._lView;if(null!==c[21]){var d=c[21].indexOf(a);-1!==d&&c[21].splice(d,1)}}};new bd("",{providedIn:"root",factory:function(){return Nc(JNb)}});var JNb=function(){};JNb.\u0275prov=Dc({token:JNb,providedIn:"root",factory:function(){return new KNb}});var Ku=function(){this.queuedEffectCount=0;this.queues=new Map};
Ku.prototype.flush=function(){for(var a=this;0<this.queuedEffectCount;)for(var b=l(this.queues),c=b.next(),d={};!c.done;d={queue$jscomp$3:d.queue$jscomp$3},c=b.next()){var e=l(c.value);c=e.next().value;e=e.next().value;d.queue$jscomp$3=e;null===c?LNb(this,d.queue$jscomp$3):c.run(function(f){return function(){return LNb(a,f.queue$jscomp$3)}}(d))}};var LNb=function(a,b){for(var c=l(b),d=c.next();!d.done;d=c.next())d=d.value,b.delete(d),a.queuedEffectCount--,d.run()};
Ku.\u0275prov=Dc({token:Ku,providedIn:"root",factory:function(){return new Ku}});var KNb=function(){this.delegate=new Ku};var bia=new Set;var MNb=!1,ie={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):MNb&&console.log("RxJS: Back to a better error behavior. Thank you. <3");MNb=a},get useDeprecatedSynchronousErrorHandling(){return MNb}};var ze="function"===typeof Symbol&&Symbol.observable||"@@observable";var NNb={closed:!0,next:function(){},error:function(a){if(ie.useDeprecatedSynchronousErrorHandling)throw a;ce(a)},complete:function(){}};var fe=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 oe=Array.isArray||function(a){return a&&"number"===typeof a.length};var ee=function(a){this.closed=!1;this._subscriptions=this._parentOrParents=null;a&&(this._ctorUnsubscribe=!0,this._unsubscribe=a)};
ee.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 ee)a.remove(this);else if(null!==a)for(var e=0;e<a.length;++e)a[e].remove(this);if(de(c)){b&&(this._unsubscribe=void 0);try{c.call(this)}catch(q){var f=q instanceof fe?fia(q.errors):[q]}}if(oe(d)){e=-1;for(var h=d.length;++e<h;){var k=d[e];if(dia(k))try{k.unsubscribe()}catch(q){f=
f||[],q instanceof fe?f=f.concat(fia(q.errors)):f.push(q)}}}if(f)throw new fe(f);}};
ee.prototype.add=function(a){var b=a;if(!a)return ee.EMPTY;switch(typeof a){case "function":b=new ee(a);case "object":if(b===this||b.closed||"function"!==typeof b.unsubscribe)return b;if(this.closed)return b.unsubscribe(),b;b instanceof ee||(a=b,b=new ee,b._subscriptions=[a]);break;default:throw Error("xa`"+a);}var c=b._parentOrParents;if(null===c)b._parentOrParents=this;else if(c instanceof ee){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};ee.prototype.remove=function(a){var b=this._subscriptions;b&&(a=b.indexOf(a),-1!==a&&b.splice(a,1))};var ONb=new ee;ONb.closed=!0;ee.EMPTY=ONb;var ge=function(a,b,c){ee.call(this);this.syncErrorValue=null;this.isStopped=this.syncErrorThrowable=this.syncErrorThrown=!1;switch(arguments.length){case 0:this.destination=NNb;break;case 1:if(!a){this.destination=NNb;break}if("object"===typeof a){a instanceof ge?(this.syncErrorThrowable=a.syncErrorThrowable,this.destination=a,a.add(this)):(this.syncErrorThrowable=!0,this.destination=new Lu(this,a));break}default:this.syncErrorThrowable=!0,this.destination=new Lu(this,a,b,c)}};Y(ge,ee);
ge.EMPTY=ee.EMPTY;ge.create=function(a,b,c){a=new ge(a,b,c);a.syncErrorThrowable=!1;return a};g=ge.prototype;g.next=function(a){this.isStopped||this._next(a)};g.error=function(a){this.isStopped||(this.isStopped=!0,this._error(a))};g.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())};g.unsubscribe=function(){this.closed||(this.isStopped=!0,ee.prototype.unsubscribe.call(this))};g._next=function(a){this.destination.next(a)};g._error=function(a){this.destination.error(a);this.unsubscribe()};
g._complete=function(){this.destination.complete();this.unsubscribe()};var Lu=function(a,b,c,d){ge.call(this);this._parentSubscriber=a;var e=this;if(de(b))var f=b;else b&&(f=b.next,c=b.error,d=b.complete,b!==NNb&&(e=Object.create(b),eia(b)&&b.add(this.unsubscribe.bind(this)),e.unsubscribe=this.unsubscribe.bind(this)));this._context=e;this._next=f;this._error=c;this._complete=d};Y(Lu,ge);Lu.EMPTY=ge.EMPTY;Lu.create=ge.create;g=Lu.prototype;
g.next=function(a){if(!this.isStopped&&this._next){var b=this._parentSubscriber;ie.useDeprecatedSynchronousErrorHandling&&b.syncErrorThrowable?this.__tryOrSetError(b,this._next,a)&&this.unsubscribe():this.__tryOrUnsub(this._next,a)}};
g.error=function(a){if(!this.isStopped){var b=this._parentSubscriber,c=ie.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):ce(a),this.unsubscribe();else{this.unsubscribe();if(c)throw a;ce(a)}}};
g.complete=function(){var a=this;if(!this.isStopped){var b=this._parentSubscriber;if(this._complete){var c=function(){return a._complete.call(a._context)};ie.useDeprecatedSynchronousErrorHandling&&b.syncErrorThrowable?this.__tryOrSetError(b,c):this.__tryOrUnsub(c)}this.unsubscribe()}};g.__tryOrUnsub=function(a,b){try{a.call(this._context,b)}catch(c){this.unsubscribe();if(ie.useDeprecatedSynchronousErrorHandling)throw c;ce(c)}};
g.__tryOrSetError=function(a,b,c){if(!ie.useDeprecatedSynchronousErrorHandling)throw Error("ya");try{b.call(this._context,c)}catch(d){return ie.useDeprecatedSynchronousErrorHandling?(a.syncErrorValue=d,a.syncErrorThrown=!0):ce(d),!0}return!1};g._unsubscribe=function(){var a=this._parentSubscriber;this._parentSubscriber=this._context=null;a.unsubscribe()};var PNb=function(a){ge.call(this);this.destination=a};Y(PNb,ge);PNb.EMPTY=ge.EMPTY;PNb.create=ge.create;var je=function(a){a&&(this._subscribe=a)};g=je.prototype;g.lift=function(a){var b=new je;b.source=this;b.operator=a;return b};
g.subscribe=function(a,b,c){var d=this.operator;a:{if(a){if(a instanceof ge||iia(a)&&eia(a))break a;if(iia(a)){a=new PNb(a);break a}}a=a||b||c?new ge(a,b,c):new ge(NNb)}d?a.add(d.call(a,this.source)):a.add(this.source||ie.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a));if(ie.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a};
g._trySubscribe=function(a){try{return this._subscribe(a)}catch(b){ie.useDeprecatedSynchronousErrorHandling&&(a.syncErrorThrown=!0,a.syncErrorValue=b),gia(a)?a.error(b):console.warn(b)}};g.forEach=function(a,b){var c=this;b=jia(b);return new b(function(d,e){var f=c.subscribe(function(h){try{a(h)}catch(k){e(k),f&&f.unsubscribe()}},e,d)})};g._subscribe=function(a){var b=this.source;return b&&b.subscribe(a)};je.prototype[ze]=function(){return this};
je.prototype.pipe=function(){var a=$c.apply(0,arguments);return 0===a.length?this:hia(a)(this)};var QNb=function(a){var b=jia(b);return new b(function(c,d){var e;a.subscribe(function(f){return e=f},function(f){return d(f)},function(){return c(e)})})};je.create=function(a){return new je(a)};var Mu=function(a,b){ee.call(this);this.subject=a;this.subscriber=b;this.closed=!1};Y(Mu,ee);Mu.EMPTY=ee.EMPTY;Mu.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 Nu=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};Y(We,je);g=We.prototype;g.lift=function(a){var b=new Ou(this,this);b.operator=a;return b};g.next=function(a){if(this.closed)throw new Nu;if(!this.isStopped){var b=this.observers,c=b.length;b=b.slice();for(var d=0;d<c;d++)b[d].next(a)}};
g.error=function(a){if(this.closed)throw new Nu;this.hasError=!0;this.thrownError=a;this.isStopped=!0;var b=this.observers,c=b.length;b=b.slice();for(var d=0;d<c;d++)b[d].error(a);this.observers.length=0};g.complete=function(){if(this.closed)throw new Nu;this.isStopped=!0;var a=this.observers,b=a.length;a=a.slice();for(var c=0;c<b;c++)a[c].complete();this.observers.length=0};g.unsubscribe=function(){this.closed=this.isStopped=!0;this.observers=null};
g._trySubscribe=function(a){if(this.closed)throw new Nu;return je.prototype._trySubscribe.call(this,a)};g._subscribe=function(a){if(this.closed)throw new Nu;if(this.hasError)return a.error(this.thrownError),ee.EMPTY;if(this.isStopped)return a.complete(),ee.EMPTY;this.observers.push(a);return new Mu(this,a)};var Gs=function(a){var b=new je;b.source=a;return b};
Gh.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 Ou(a,b)};var Ou=function(a,b){We.call(this);this.destination=a;this.source=b};Y(Ou,We);Ou.create=We.create;Ou.prototype.next=function(a){var b=this.destination;b&&b.next&&b.next(a)};Ou.prototype.error=function(a){var b=this.destination;b&&b.error&&this.destination.error(a)};
Ou.prototype.complete=function(){var a=this.destination;a&&a.complete&&this.destination.complete()};Ou.prototype._subscribe=function(a){return this.source?this.source.subscribe(a):ee.EMPTY};var pe=function(){We.apply(this,arguments);this.value=null;this.hasCompleted=this.hasNext=!1};Y(pe,We);pe.create=We.create;pe.prototype._subscribe=function(a){return this.hasError?(a.error(this.thrownError),ee.EMPTY):this.hasCompleted&&this.hasNext?(a.next(this.value),a.complete(),ee.EMPTY):We.prototype._subscribe.call(this,a)};pe.prototype.next=function(a){this.hasCompleted||(this.value=a,this.hasNext=!0)};pe.prototype.error=function(a){this.hasCompleted||We.prototype.error.call(this,a)};
pe.prototype.complete=function(){this.hasCompleted=!0;this.hasNext&&We.prototype.next.call(this,this.value);We.prototype.complete.call(this)};var Pu=function(a){We.call(this);this._value=a};Y(Pu,We);Pu.create=We.create;Pu.prototype._subscribe=function(a){var b=We.prototype._subscribe.call(this,a);b&&!b.closed&&a.next(this._value);return b};Pu.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Nu;return this._value};Pu.prototype.next=function(a){We.prototype.next.call(this,this._value=a)};Gh.Object.defineProperties(Pu.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.getValue()}}});var Fe=new je(function(a){return a.complete()});var mia=function(a){return function(b){for(var c=0,d=a.length;c<d&&!b.closed;c++)b.next(a[c]);b.complete()}};var RNb=function(a,b,c){this.kind=a;this.value=b;this.error=c;this.hasValue="N"===a};RNb.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)}};
RNb.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 SNb={now:function(){return(SNb.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?SNb: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};Y(Ve,We);Ve.create=We.create;g=Ve.prototype;
g.nextInfiniteTimeWindow=function(a){var b=this._events;b.push(a);b.length>this._bufferSize&&b.shift();We.prototype.next.call(this,a)};g.nextTimeWindow=function(a){this._events.push({time:this._getNow(),value:a});this._trimBufferThenGetEvents();We.prototype.next.call(this,a)};
g._subscribe=function(a){var b=this._infiniteTimeWindow,c=b?this._events:this._trimBufferThenGetEvents(),d=c.length;if(this.closed)throw new Nu;if(this.isStopped||this.hasError)var e=ee.EMPTY;else this.observers.push(a),e=new Mu(this,a);if(b)for(var f=0;f<d&&!a.closed;f++)a.next(c[f]);else for(f=0;f<d&&!a.closed;f++)a.next(c[f].value);this.hasError?a.error(this.thrownError):this.isStopped&&a.complete();return e};g._getNow=function(){var a=this.timestampProvider;return a?a.now():SNb.now()};
g._trimBufferThenGetEvents=function(){for(var a=this._getNow(),b=this._bufferSize,c=this._windowTime,d=this._events,e=d.length,f=0;f<e&&!(a-d[f].time<c);)f++;e>b&&(f=Math.max(f,e-b));0<f&&d.splice(0,f);return d};var UNb=function(a,b){b=void 0===b?TNb:b;this.SchedulerAction=a;this.now=b};UNb.prototype.schedule=function(a,b,c){b=void 0===b?0:b;return(new this.SchedulerAction(this,a)).schedule(c,b)};var TNb=SNb.now;var Re=function(){function a(){this.message="no elements in sequence";this.name="EmptyError";return this}a.prototype=Object.create(Error.prototype);return a}();var qia=function(){};qia.prototype.call=function(a,b){b._refCount++;a=new Qu(a,b);var c=b.subscribe(a);a.closed||(a.connection=b.connect());return c};var Qu=function(a,b){ge.call(this,a);this.connectable=b;this.connection=null};Y(Qu,ge);Qu.EMPTY=ge.EMPTY;Qu.create=ge.create;
Qu.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 Ru=function(a,b){this.source=a;this.subjectFactory=b;this._refCount=0;this._isComplete=!1};Y(Ru,je);Ru.create=je.create;Ru.prototype._subscribe=function(a){return this.getSubject().subscribe(a)};Ru.prototype.getSubject=function(){var a=this._subject;if(!a||a.isStopped)this._subject=this.subjectFactory();return this._subject};
Ru.prototype.connect=function(){var a=this._connection;a||(this._isComplete=!1,a=this._connection=new ee,a.add(this.source.subscribe(new Su(this.getSubject(),this))),a.closed&&(this._connection=null,a=ee.EMPTY));return a};Ru.prototype.refCount=function(){return ne()(this)};var Pja,Tu=Ru.prototype;
Pja={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:Tu._subscribe},_isComplete:{value:Tu._isComplete,writable:!0},getSubject:{value:Tu.getSubject},connect:{value:Tu.connect},refCount:{value:Tu.refCount}};var Su=function(a,b){ge.call(this);this.destination=a;this.connectable=b};Y(Su,ge);Su.EMPTY=ge.EMPTY;Su.create=ge.create;
Su.prototype._error=function(a){this._unsubscribe();ge.prototype._error.call(this,a)};Su.prototype._complete=function(){this.connectable._isComplete=!0;this._unsubscribe();ge.prototype._complete.call(this)};Su.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 ria=function(a){this.project=a;this.thisArg=void 0};ria.prototype.call=function(a,b){return b.subscribe(new Uu(a,this.project,this.thisArg))};var Uu=function(a,b,c){ge.call(this,a);this.project=b;this.count=0;this.thisArg=c||this};Y(Uu,ge);Uu.EMPTY=ge.EMPTY;Uu.create=ge.create;Uu.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 ye="function"===typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";var Iia=function(a){return a&&"number"===typeof a.length&&"function"!==typeof a};var VNb=function(a){return function(b){var c=a[ye]();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 WNb=function(a){return function(b){var c=a[ze]();if("function"!==typeof c.subscribe)throw new TypeError("Ca");return c.subscribe(b)}};var XNb=function(a){return function(b){a.then(function(c){b.closed||(b.next(c),b.complete())},function(c){return b.error(c)}).then(null,ce);return b}};var Dia=function(a){if(a&&"function"===typeof a[ze])return WNb(a);if(Iia(a))return mia(a);if(zia(a))return XNb(a);if(a&&"function"===typeof a[ye])return VNb(a);if(Symbol&&Symbol.asyncIterator&&a&&"function"===typeof a[Symbol.asyncIterator])return Bia(a);throw new TypeError("Da`"+(dia(a)?"an invalid object":"'"+a+"'"));};var Vu=function(a){ge.call(this);this.parent=a};Y(Vu,ge);Vu.EMPTY=ge.EMPTY;Vu.create=ge.create;Vu.prototype._next=function(a){this.parent.notifyNext(a)};Vu.prototype._error=function(a){this.parent.notifyError(a);this.unsubscribe()};Vu.prototype._complete=function(){this.parent.notifyComplete();this.unsubscribe()};var Wu=function(a,b,c){ge.call(this);this.parent=a;this.outerValue=b;this.outerIndex=c};Y(Wu,ge);Wu.EMPTY=ge.EMPTY;Wu.create=ge.create;
Wu.prototype._next=function(a){this.parent.notifyNext(this.outerValue,a,this.outerIndex)};Wu.prototype._error=function(a){this.parent.notifyError(a);this.unsubscribe()};Wu.prototype._complete=function(){this.parent.notifyComplete(this);this.unsubscribe()};var Xu=function(){ge.apply(this,arguments)};Y(Xu,ge);Xu.EMPTY=ge.EMPTY;Xu.create=ge.create;Xu.prototype.notifyNext=function(a){this.destination.next(a)};Xu.prototype.notifyError=function(a){this.destination.error(a)};
Xu.prototype.notifyComplete=function(){this.destination.complete()};var Yu=function(){ge.apply(this,arguments)};Y(Yu,ge);Yu.EMPTY=ge.EMPTY;Yu.create=ge.create;Yu.prototype.notifyNext=function(a,b){this.destination.next(b)};Yu.prototype.notifyError=function(a){this.destination.error(a)};Yu.prototype.notifyComplete=function(){this.destination.complete()};var YNb={},pja=function(a,b){this.resultSelector=a;this.keys=b};pja.prototype.call=function(a,b){return b.subscribe(new Zu(a,this.resultSelector,this.keys))};var Zu=function(a,b,c){Yu.call(this,a);this.resultSelector=b;this.keys=c;this.active=0;this.values=[];this.observables=[]};Y(Zu,Yu);Zu.EMPTY=Yu.EMPTY;Zu.create=Yu.create;g=Zu.prototype;g._next=function(a){this.values.push(YNb);this.observables.push(a)};
g._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(xe(a[c],new Wu(this,null,c)))}};g.notifyComplete=function(){0===--this.active&&this.destination.complete()};
g.notifyNext=function(a,b,c){var d=this.values,e=d[c];e=this.toRespond?e===YNb?--this.toRespond:this.toRespond:0;d[c]=b;0===e&&(this.resultSelector?this._tryResultSelector(d):this.destination.next(this.keys?this.keys.reduce(function(f,h,k){return f[h]=d[k],f},{}):d.slice()))};g._tryResultSelector=function(a){try{var b=this.resultSelector.apply(this,a)}catch(c){this.destination.error(c);return}this.destination.next(b)};var Kia=function(a,b){b=void 0===b?Infinity:b;this.project=a;this.concurrent=b};Kia.prototype.call=function(a,b){return b.subscribe(new $u(a,this.project,this.concurrent))};var $u=function(a,b,c){c=void 0===c?Infinity:c;Xu.call(this,a);this.destination=a;this.project=b;this.concurrent=c;this.hasCompleted=!1;this.buffer=[];this.index=this.active=0};Y($u,Xu);$u.EMPTY=Xu.EMPTY;$u.create=Xu.create;
$u.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 Vu(this);this.destination.add(a);xe(c,a)}else this.buffer.push(a)};$u.prototype._complete=function(){this.hasCompleted=!0;0===this.active&&0===this.buffer.length&&this.destination.complete();this.unsubscribe()};$u.prototype.notifyNext=function(a){this.destination.next(a)};
$u.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 Nia=function(a){var b=cancelAnimationFrame,c=requestAnimationFrame(function(d){b=void 0;a(d)});return new ee(function(){var d;return null==(d=b)?void 0:d(c)})},ZNb=function(){return requestAnimationFrame.apply(null,u($c.apply(0,arguments)))},$Nb=function(){cancelAnimationFrame.apply(null,u($c.apply(0,arguments)))};var Mia={now:function(){return(Mia.delegate||performance).now()},delegate:void 0};var aOb=Oia();var av=function(){ee.call(this)};Y(av,ee);av.EMPTY=ee.EMPTY;av.prototype.schedule=function(){return this};var bOb=function(a,b){return setInterval.apply(null,[a,b].concat(u($c.apply(2,arguments))))};var bv=function(a,b){ee.call(this);this.scheduler=a;this.work=b;this.pending=!1};Y(bv,av);bv.EMPTY=av.EMPTY;g=bv.prototype;g.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};g.requestAsyncId=function(a,b,c){c=void 0===c?0:c;return bOb(a.flush.bind(a,this),c)};
g.recycleAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&this.delay===c&&!1===this.pending)return b;clearInterval(b)};g.execute=function(a,b){if(this.closed)return Error("Ha");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))};g._execute=function(a){var b=!1,c=void 0;try{this.work(a)}catch(d){b=!0,c=!!d&&d||Error(d)}if(b)return this.unsubscribe(),c};
g._unsubscribe=function(){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 cv=function(a,b){b=void 0===b?TNb:b;UNb.call(this,a,b);this.actions=[];this.active=!1;this.scheduled=void 0};Y(cv,UNb);cv.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 Ie=new cv(bv);var cOb=new je(Ee);var Yia=function(a,b){this.predicate=a;this.thisArg=b};Yia.prototype.call=function(a,b){return b.subscribe(new dv(a,this.predicate,this.thisArg))};var dv=function(a,b,c){ge.call(this,a);this.predicate=b;this.thisArg=c;this.count=0};Y(dv,ge);dv.EMPTY=ge.EMPTY;dv.create=ge.create;dv.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 $ia=function(){};$ia.prototype.call=function(a,b){return b.subscribe(new ev(a))};var ev=function(a){Yu.call(this,a);this.hasFirst=!1;this.observables=[];this.subscriptions=[]};Y(ev,Yu);ev.EMPTY=Yu.EMPTY;ev.create=Yu.create;g=ev.prototype;g._next=function(a){this.observables.push(a)};
g._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=xe(a[c],new Wu(this,null,c));this.subscriptions&&this.subscriptions.push(d);this.add(d)}this.observables=null}};g.notifyNext=function(a,b,c){if(!this.hasFirst){this.hasFirst=!0;for(var d=0;d<this.subscriptions.length;d++)if(d!==c){var e=this.subscriptions[d];e.unsubscribe();this.remove(e)}this.subscriptions=null}this.destination.next(b)};
g.notifyComplete=function(a){this.hasFirst=!0;Yu.prototype.notifyComplete.call(this,a)};g.notifyError=function(a){this.hasFirst=!0;Yu.prototype.notifyError.call(this,a)};var dOb=function(a){this.resultSelector=a};dOb.prototype.call=function(a,b){return b.subscribe(new fv(a,this.resultSelector))};var fv=function(a,b,c){void 0===c&&Object.create(null);ge.call(this,a);this.iterators=[];this.active=0;this.resultSelector=b};Y(fv,ge);fv.EMPTY=ge.EMPTY;fv.create=ge.create;fv.prototype._next=function(a){var b=this.iterators;oe(a)?b.push(new gv(a)):"function"===typeof a[ye]?b.push(new eOb(a[ye]())):b.push(new hv(this.destination,this,a))};
fv.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--}}};fv.prototype._tryresultSelector=function(a){try{var b=this.resultSelector.apply(this,a)}catch(c){this.destination.error(c);return}this.destination.next(b)};var eOb=function(a){this.iterator=a;this.nextResult=a.next()};eOb.prototype.hasValue=function(){return!0};
eOb.prototype.next=function(){var a=this.nextResult;this.nextResult=this.iterator.next();return a};eOb.prototype.hasCompleted=function(){var a=this.nextResult;return a&&!!a.done};var gv=function(a){this.array=a;this.length=this.index=0;this.length=a.length};gv.prototype[ye]=function(){return this};gv.prototype.next=function(){var a=this.index++,b=this.array;return a<this.length?{value:b[a],done:!1}:{value:null,done:!0}};gv.prototype.hasValue=function(){return this.array.length>this.index};
gv.prototype.hasCompleted=function(){return this.array.length===this.index};var hv=function(a,b,c){Xu.call(this,a);this.parent=b;this.observable=c;this.stillUnsubscribed=!0;this.buffer=[];this.isComplete=!1};Y(hv,Xu);hv.EMPTY=Xu.EMPTY;hv.create=Xu.create;hv.prototype[ye]=function(){return this};g=hv.prototype;g.next=function(){var a=this.buffer;return 0===a.length&&this.isComplete?{value:null,done:!0}:{value:a.shift(),done:!1}};g.hasValue=function(){return 0<this.buffer.length};
g.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete};g.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()};
g.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 f=b[e];if("function"===typeof f.hasValue&&!f.hasValue())break a}e=!1;f=[];for(var h=0;h<c;h++){var k=b[h],q=k.next();k.hasCompleted()&&(e=!0);if(q.done){d.complete();break a}f.push(q.value)}a.resultSelector?a._tryresultSelector(f):d.next(f);e&&d.complete()}};g.subscribe=function(){return xe(this.observable,new Vu(this))};var fOb=function(a,b,c){this.key=a;this.groupSubject=b;this.refCountSubscription=c};Y(fOb,je);fOb.create=je.create;fOb.prototype._subscribe=function(a){var b=new ee,c=this.refCountSubscription,d=this.groupSubject;c&&!c.closed&&b.add(new gOb(c));b.add(d.subscribe(a));return b};var gOb=function(a){ee.call(this);this.parent=a;a.count++};Y(gOb,ee);gOb.EMPTY=ee.EMPTY;
gOb.prototype.unsubscribe=function(){var a=this.parent;a.closed||this.closed||(ee.prototype.unsubscribe.call(this),--a.count,0===a.count&&a.attemptedToUnsubscribe&&a.unsubscribe())};var gja=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 hOb=function(a,b){a=void 0===a?iv:a;b=void 0===b?Infinity:b;cv.call(this,a,function(){return c.frame});var c=this;this.maxFrames=b;this.frame=0;this.index=-1};Y(hOb,cv);hOb.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 iv=function(a,b,c){c=void 0===c?a.index+=1:c;bv.call(this,a,b);this.scheduler=a;this.work=b;this.index=c;this.active=!0;this.index=a.index=c};Y(iv,bv);iv.EMPTY=bv.EMPTY;iv.prototype.schedule=function(a,b){b=void 0===b?0:b;if(Number.isFinite(b)){if(!this.id)return bv.prototype.schedule.call(this,a,b);this.active=!1;var c=new iv(this.scheduler,this.work);this.add(c);return c.schedule(a,b)}return ee.EMPTY};
iv.prototype.requestAsyncId=function(a,b,c){this.delay=a.frame+(void 0===c?0:c);a=a.actions;a.push(this);a.sort(iOb);return!0};iv.prototype.recycleAsyncId=function(){};iv.prototype._execute=function(a,b){if(!0===this.active)return bv.prototype._execute.call(this,a,b)};var iOb=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 jv=function(a,b){bv.call(this,a,b);this.scheduler=a;this.work=b};Y(jv,bv);jv.EMPTY=bv.EMPTY;jv.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c)return bv.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=ZNb(function(){return a.flush(void 0)}))};
jv.prototype.recycleAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c||null===c&&0<this.delay)return bv.prototype.recycleAsyncId.call(this,a,b,c);0===a.actions.length&&($Nb(b),a.scheduled=void 0)};var jOb=function(){cv.apply(this,arguments)};Y(jOb,cv);jOb.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 kOb=new jOb(jv);var lOb=1,mOb,hja={},nOb=function(a){var b=lOb++;hja[b]=!0;mOb||(mOb=Promise.resolve());mOb.then(function(){return ija(b)&&a()});return b};var oOb=function(){return nOb.apply(null,u($c.apply(0,arguments)))};var kv=function(a,b){bv.call(this,a,b);this.scheduler=a;this.work=b};Y(kv,bv);kv.EMPTY=bv.EMPTY;kv.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c)return bv.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=oOb(a.flush.bind(a,void 0)))};
kv.prototype.recycleAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c||null===c&&0<this.delay)return bv.prototype.recycleAsyncId.call(this,a,b,c);0===a.actions.length&&(ija(b),a.scheduled=void 0)};var pOb=function(){cv.apply(this,arguments)};Y(pOb,cv);pOb.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 qOb=new pOb(kv);var lv=function(a,b){bv.call(this,a,b);this.scheduler=a;this.work=b};Y(lv,bv);lv.EMPTY=bv.EMPTY;lv.prototype.schedule=function(a,b){b=void 0===b?0:b;if(0<b)return bv.prototype.schedule.call(this,a,b);this.delay=b;this.state=a;this.scheduler.flush(this);return this};lv.prototype.execute=function(a,b){return 0<b||this.closed?bv.prototype.execute.call(this,a,b):this._execute(a,b)};
lv.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;return null!==c&&0<c||null===c&&0<this.delay?bv.prototype.requestAsyncId.call(this,a,b,c):a.flush(this)};var rOb=function(){cv.apply(this,arguments)};Y(rOb,cv);var sOb=new rOb(lv);var tOb=function(){function a(){this.message="argument out of range";this.name="ArgumentOutOfRangeError";return this}a.prototype=Object.create(Error.prototype);return a}();var uOb=function(){function a(b){this.message=b;this.name="NotFoundError";return this}a.prototype=Object.create(Error.prototype);return a}();var vOb=function(){function a(b){this.message=b;this.name="SequenceError";return this}a.prototype=Object.create(Error.prototype);return a}();var E={};E.Observable=je;E.ConnectableObservable=Ru;E.GroupedObservable=fOb;E.observable=ze;E.animationFrames=function(a){return a?Oia(a):aOb};E.Subject=We;E.BehaviorSubject=Pu;E.ReplaySubject=Ve;E.AsyncSubject=pe;E.asap=qOb;E.asapScheduler=qOb;E.async=Ie;E.asyncScheduler=Ie;E.queue=sOb;E.queueScheduler=sOb;E.animationFrame=kOb;E.animationFrameScheduler=kOb;E.VirtualTimeScheduler=hOb;E.VirtualAction=iv;E.Scheduler=UNb;E.Subscription=ee;E.Subscriber=ge;E.Notification=RNb;
E.NotificationKind={NEXT:"N",ERROR:"E",COMPLETE:"C"};E.pipe=function(){return hia($c.apply(0,arguments))};E.noop=Ee;E.identity=he;E.isObservable=function(a){return!!a&&(a instanceof je||"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(f){e=f;d=!0},error:c,complete:function(){d?b(e):c(new Re)}})})};
E.firstValueFrom=function(a){return new Promise(function(b,c){var d=new ee;d.add(a.subscribe({next:function(e){b(e);d.unsubscribe()},error:c,complete:function(){c(new Re)}}))})};E.ArgumentOutOfRangeError=tOb;E.EmptyError=Re;E.NotFoundError=uOb;E.ObjectUnsubscribedError=Nu;E.SequenceError=vOb;E.TimeoutError=gja;E.UnsubscriptionError=fe;E.bindCallback=sia;E.bindNodeCallback=via;
E.combineLatest=function(){var a=$c.apply(0,arguments),b=void 0,c=void 0,d=void 0;le(a[a.length-1])&&(c=a.pop());"function"===typeof a[a.length-1]&&(b=a.pop());if(1===a.length){var e=a[0];oe(e)&&(a=e);dia(e)&&Object.getPrototypeOf(e)===Object.prototype&&(d=Object.keys(e),a=d.map(function(f){return e[f]}))}return me(ke(a,c),new pja(b,d))};E.concat=De;E.defer=Lia;E.empty=function(a){return a?kia(a):Fe};
E.forkJoin=function(){var a=$c.apply(0,arguments);if(1===a.length){var b=a[0];if(oe(b))return Pia(b,null);if(dia(b)&&Object.getPrototypeOf(b)===Object.prototype)return a=Object.keys(b),Pia(a.map(function(d){return b[d]}),a)}if("function"===typeof a[a.length-1]){var c=a.pop();a=1===a.length&&oe(a[0])?a[0]:a;return Pia(a,null).pipe(D(function(d){return c.apply(null,u(d))}))}return Pia(a,null)};E.from=Ae;E.fromEvent=Qia;E.fromEventPattern=Sia;
E.generate=function(a,b,c,d,e){if(1==arguments.length){var f=a.initialState;b=a.condition;c=a.iterate;var h=a.resultSelector||he;e=a.scheduler}else void 0===d||le(d)?(f=a,h=he,e=d):(f=a,h=d);return new je(function(k){var q=f;if(e)return e.schedule(Tia,0,{subscriber:k,iterate:c,condition:b,resultSelector:h,state:q});do{if(b){var t=void 0;try{t=b(q)}catch(w){k.error(w);break}if(!t){k.complete();break}}t=void 0;try{t=h(q)}catch(w){k.error(w);break}k.next(t);if(k.closed)break;try{q=c(q)}catch(w){k.error(w);
break}}while(1)})};E.iif=function(a,b,c){b=void 0===b?Fe:b;c=void 0===c?Fe:c;return Lia(function(){return a()?b:c})};E.interval=function(a,b){a=void 0===a?0:a;b=void 0===b?Ie:b;if(!Uia(a)||0>a)a=0;b&&"function"===typeof b.schedule||(b=Ie);return new je(function(c){c.add(b.schedule(Via,a,{subscriber:c,counter:0,period:a}));return c})};
E.merge=function(){var a=$c.apply(0,arguments),b=Infinity,c=void 0,d=a[a.length-1];le(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 je?a[0]:Ce(b)(ke(a,c))};E.never=function(){return cOb};E.of=nia;E.onErrorResumeNext=Wia;
E.pairs=function(a,b){return b?new je(function(c){var d=Object.keys(a),e=new ee;e.add(b.schedule(Xia,0,{keys:d,index:0,subscriber:c,subscription:e,obj:a}));return e}):new je(function(c){for(var d=Object.keys(a),e=0;e<d.length&&!c.closed;e++){var f=d[e];a.hasOwnProperty(f)&&c.next([f,a[f]])}c.complete()})};E.partition=function(a,b,c){return[He(b,c)(new je(Dia(a))),He(Zia(b,c))(new je(Dia(a)))]};E.race=aja;
E.range=function(a,b,c){a=void 0===a?0:a;return new je(function(d){void 0===b&&(b=a,a=0);var e=0,f=a;if(c)return c.schedule(bja,0,{index:e,count:b,start:a,subscriber:d});do{if(e++>=b){d.complete();break}d.next(f++);if(d.closed)break}while(1)})};E.throwError=function(a,b){return b?new je(function(c){return b.schedule(oia,0,{error:a,subscriber:c})}):new je(function(c){return c.error(a)})};E.timer=eja;
E.using=function(a,b){return new je(function(c){try{var d=a()}catch(h){c.error(h);return}try{var e=b(d)}catch(h){c.error(h);return}var f=(e?Ae(e):Fe).subscribe(c);return function(){f.unsubscribe();d&&d.unsubscribe()}})};E.zip=function(){var a=$c.apply(0,arguments),b=void 0;"function"===typeof a[a.length-1]&&(b=a.pop());return me(ke(a),new dOb(b))};E.scheduled=Jia;E.EMPTY=Fe;E.NEVER=cOb;E.config=ie;var mv=function(a){a=void 0===a?!1:a;E.Subject.call(this);this.__isAsync=a};Y(mv,E.Subject);mv.create=E.Subject.create;mv.prototype.emit=function(a){E.Subject.prototype.next.call(this,a)};
mv.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 f;b=null==(f=a.error)?void 0:f.bind(a);var h;c=null==(h=a.complete)?void 0:h.bind(a)}this.__isAsync&&(b=jja(b),d&&(d=jja(d)),c&&(c=jja(c)));d=E.Subject.prototype.subscribe.call(this,{next:d,error:b,complete:c});a instanceof E.Subscription&&a.add(d);return d};var lja=function(a){this.durationSelector=a};lja.prototype.call=function(a,b){return b.subscribe(new nv(a,this.durationSelector))};var nv=function(a,b){Xu.call(this,a);this.durationSelector=b;this.value=null;this.hasValue=!1;this.throttled=null};Y(nv,Xu);nv.EMPTY=Xu.EMPTY;nv.create=Xu.create;
nv.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=xe(c,new Vu(this));!a||a.closed?wOb(this):this.add(this.throttled=a)}};var wOb=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))};nv.prototype.notifyNext=function(){wOb(this)};nv.prototype.notifyComplete=function(){wOb(this)};var nja=function(a){this.closingNotifier=a};nja.prototype.call=function(a,b){return b.subscribe(new ov(a,this.closingNotifier))};var ov=function(a,b){Xu.call(this,a);this.buffer=[];this.add(xe(b,new Vu(this)))};Y(ov,Xu);ov.EMPTY=Xu.EMPTY;ov.create=Xu.create;ov.prototype._next=function(a){this.buffer.push(a)};ov.prototype.notifyNext=function(){var a=this.buffer;this.buffer=[];this.destination.next(a)};var tja=function(a){this.durationSelector=a};tja.prototype.call=function(a,b){return b.subscribe(new pv(a,this.durationSelector))};var pv=function(a,b){Xu.call(this,a);this.durationSelector=b;this.value=null;this.hasValue=!1;this.durationSubscription=null};Y(pv,Xu);pv.EMPTY=Xu.EMPTY;pv.create=Xu.create;g=pv.prototype;g._next=function(a){try{var b=this.durationSelector.call(this,a);b&&this._tryNext(a,b)}catch(c){this.destination.error(c)}};g._complete=function(){xOb(this);this.destination.complete()};
g._tryNext=function(a,b){var c=this.durationSubscription;this.value=a;this.hasValue=!0;c&&(c.unsubscribe(),this.remove(c));(c=xe(b,new Vu(this)))&&!c.closed&&this.add(this.durationSubscription=c)};g.notifyNext=function(){xOb(this)};g.notifyComplete=function(){xOb(this)};var xOb=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;Xu.prototype._next.call(a,b)}};var vja=function(a,b){this.dueTime=a;this.scheduler=b};vja.prototype.call=function(a,b){return b.subscribe(new qv(a,this.dueTime,this.scheduler))};var qv=function(a,b,c){ge.call(this,a);this.dueTime=b;this.scheduler=c;this.lastValue=this.debouncedSubscription=null;this.hasValue=!1};Y(qv,ge);qv.EMPTY=ge.EMPTY;qv.create=ge.create;qv.prototype._next=function(a){yOb(this);this.lastValue=a;this.hasValue=!0;this.add(this.debouncedSubscription=this.scheduler.schedule(xja,this.dueTime,this))};
qv.prototype._complete=function(){wja(this);this.destination.complete()};var wja=function(a){yOb(a);if(a.hasValue){var b=a.lastValue;a.lastValue=null;a.hasValue=!1;a.destination.next(b)}},yOb=function(a){var b=a.debouncedSubscription;null!==b&&(a.remove(b),b.unsubscribe(),a.debouncedSubscription=null)};var yja=function(a){this.defaultValue=a};yja.prototype.call=function(a,b){return b.subscribe(new rv(a,this.defaultValue))};var rv=function(a,b){ge.call(this,a);this.defaultValue=b;this.isEmpty=!0};Y(rv,ge);rv.EMPTY=ge.EMPTY;rv.create=ge.create;rv.prototype._next=function(a){this.isEmpty=!1;this.destination.next(a)};rv.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue);this.destination.complete()};var Aja=function(a,b){this.delay=a;this.scheduler=b};Aja.prototype.call=function(a,b){return b.subscribe(new sv(a,this.delay,this.scheduler))};var sv=function(a,b,c){ge.call(this,a);this.destination=a;this.delay=b;this.scheduler=c;this.queue=[];this.active=!1};Y(sv,ge);sv.EMPTY=ge.EMPTY;sv.create=ge.create;
var zOb=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)};sv.prototype._schedule=function(a){this.active=!0;var b=this.destination;b.add(a.schedule(zOb,this.delay,{source:this,destination:b,scheduler:a}))};
sv.prototype._next=function(a){var b=this.scheduler;a=new AOb(b.now()+this.delay,a);this.queue.push(a);!1===this.active&&this._schedule(b)};sv.prototype._error=function(a){this.queue.length=0;this.destination.error(a);this.unsubscribe()};sv.prototype._complete=function(){0===this.queue.length&&this.destination.complete();this.unsubscribe()};var AOb=function(a,b){this.time=a;this.value=b};var Bja=function(a){this.compare=a;this.keySelector=void 0};Bja.prototype.call=function(a,b){return b.subscribe(new tv(a,this.compare,this.keySelector))};var tv=function(a,b,c){ge.call(this,a);this.keySelector=c;this.hasKey=!1;"function"===typeof b&&(this.compare=b)};Y(tv,ge);tv.EMPTY=ge.EMPTY;tv.create=ge.create;tv.prototype.compare=function(a,b){return a===b};
tv.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 Cja=function(){this.count=1};Cja.prototype.call=function(a,b){return b.subscribe(new uv(a,this.count))};var uv=function(a,b){ge.call(this,a);this.count=b;this._valueCount=0};Y(uv,ge);uv.EMPTY=ge.EMPTY;uv.create=ge.create;uv.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 Eja=function(a){this.errorFactory=a};Eja.prototype.call=function(a,b){return b.subscribe(new vv(a,this.errorFactory))};var vv=function(a,b){ge.call(this,a);this.errorFactory=b;this.hasValue=!1};Y(vv,ge);vv.EMPTY=ge.EMPTY;vv.create=ge.create;vv.prototype._next=function(a){this.hasValue=!0;this.destination.next(a)};vv.prototype._complete=function(){if(this.hasValue)return this.destination.complete();try{var a=this.errorFactory()}catch(b){a=b}this.destination.error(a)};var Gja=function(a){this.callback=a};Gja.prototype.call=function(a,b){a=b.subscribe(a);a.add(this.callback);return a};var Hja=function(){};Hja.prototype.call=function(a,b){return b.subscribe(new wv(a))};var wv=function(){ge.apply(this,arguments)};Y(wv,ge);wv.EMPTY=ge.EMPTY;wv.create=ge.create;wv.prototype._next=function(){};var Jja=function(){this.total=1};Jja.prototype.call=function(a,b){return b.subscribe(new xv(a,this.total))};var xv=function(a,b){ge.call(this,a);this.total=b;this.ring=[];this.count=0};Y(xv,ge);xv.EMPTY=ge.EMPTY;xv.create=ge.create;xv.prototype._next=function(a){var b=this.ring,c=this.total,d=this.count++;b.length<c?b.push(a):b[d%c]=a};
xv.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 f=b++%c;a.next(d[f])}a.complete()};var Mja=function(a){this.value=a};Mja.prototype.call=function(a,b){return b.subscribe(new yv(a,this.value))};var yv=function(a,b){ge.call(this,a);this.value=b};Y(yv,ge);yv.EMPTY=ge.EMPTY;yv.create=ge.create;yv.prototype._next=function(){this.destination.next(this.value)};var Nja=function(a,b,c){this.accumulator=a;this.seed=b;this.hasSeed=void 0===c?!1:c};Nja.prototype.call=function(a,b){return b.subscribe(new zv(a,this.accumulator,this.seed,this.hasSeed))};var zv=function(a,b,c,d){ge.call(this,a);this.accumulator=b;this._state=c;this._hasState=d;this.index=0};Y(zv,ge);zv.EMPTY=ge.EMPTY;zv.create=ge.create;
zv.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 Vja=function(a){this.total=a};Vja.prototype.call=function(a,b){return b.subscribe(new Av(a,this.total))};var Av=function(a,b){ge.call(this,a);this.total=b;this.count=0};Y(Av,ge);Av.EMPTY=ge.EMPTY;Av.create=ge.create;Av.prototype._next=function(a){++this.count>this.total&&this.destination.next(a)};var Wja=function(a){this.project=a};Wja.prototype.call=function(a,b){return b.subscribe(new Bv(a,this.project))};var Bv=function(a,b){Xu.call(this,a);this.destination=a;this.project=b;this.index=0};Y(Bv,Xu);Bv.EMPTY=Xu.EMPTY;Bv.create=Xu.create;g=Bv.prototype;g._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 Vu(this);this.destination.add(a);this.innerSubscription=a;xe(c,a)};
g._complete=function(){var a=this.innerSubscription;a&&!a.closed||Xu.prototype._complete.call(this);this.unsubscribe()};g._unsubscribe=function(){this.innerSubscription=void 0};g.notifyComplete=function(){this.innerSubscription=void 0;this.isStopped&&Xu.prototype._complete.call(this)};g.notifyNext=function(a){this.destination.next(a)};var Xja=function(a){this.notifier=a};Xja.prototype.call=function(a,b){a=new Cv(a);var c=xe(this.notifier,new Vu(a));return c&&!a.notifierHasNotified?(a.add(c),b.subscribe(a)):a};var Cv=function(a){Xu.call(this,a);this.notifierHasNotified=!1};Y(Cv,Xu);Cv.EMPTY=Xu.EMPTY;Cv.create=Xu.create;Cv.prototype.notifyNext=function(){this.notifierHasNotified=!0;this.complete()};Cv.prototype.notifyComplete=function(){};var Yja=function(a,b){this.predicate=a;this.inclusive=b};Yja.prototype.call=function(a,b){return b.subscribe(new Dv(a,this.predicate,this.inclusive))};var Dv=function(a,b,c){ge.call(this,a);this.predicate=b;this.inclusive=c;this.index=0};Y(Dv,ge);Dv.EMPTY=ge.EMPTY;Dv.create=ge.create;Dv.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 $ja=function(a,b){this.nextOrObserver=a;this.error=b;this.complete=void 0};$ja.prototype.call=function(a,b){return b.subscribe(new Ev(a,this.nextOrObserver,this.error,this.complete))};var Ev=function(a,b,c,d){ge.call(this,a);this._tapComplete=this._tapError=this._tapNext=Ee;this._tapError=c||Ee;this._tapComplete=d||Ee;de(b)?(this._context=this,this._tapNext=b):b&&(this._context=b,this._tapNext=b.next||Ee,this._tapError=b.error||Ee,this._tapComplete=b.complete||Ee)};Y(Ev,ge);Ev.EMPTY=ge.EMPTY;
Ev.create=ge.create;Ev.prototype._next=function(a){try{this._tapNext.call(this._context,a)}catch(b){this.destination.error(b);return}this.destination.next(a)};Ev.prototype._error=function(a){try{this._tapError.call(this._context,a)}catch(b){this.destination.error(b);return}this.destination.error(a)};Ev.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(a){this.destination.error(a);return}return this.destination.complete()};var aka={leading:!0,trailing:!1},bka=function(a,b,c){this.durationSelector=a;this.leading=b;this.trailing=c};bka.prototype.call=function(a,b){return b.subscribe(new Fv(a,this.durationSelector,this.leading,this.trailing))};var Fv=function(a,b,c,d){Xu.call(this,a);this.destination=a;this.durationSelector=b;this._leading=c;this._trailing=d;this._sendValue=null;this._hasValue=!1};Y(Fv,Xu);Fv.EMPTY=Xu.EMPTY;Fv.create=Xu.create;
Fv.prototype._next=function(a){this._hasValue=!0;this._sendValue=a;this._throttled||(this._leading?this.send():BOb(this,a))};Fv.prototype.send=function(){var a=this._sendValue;this._hasValue&&(this.destination.next(a),BOb(this,a));this._hasValue=!1;this._sendValue=null};var BOb=function(a,b){try{var c=a.durationSelector(b)}catch(d){a.destination.error(d);return}a.add(a._throttled=xe(c,new Vu(a)))},COb=function(a){var b=a._throttled,c=a._trailing;b&&b.unsubscribe();a._throttled=null;c&&a.send()};
Fv.prototype.notifyNext=function(){COb(this)};Fv.prototype.notifyComplete=function(){COb(this)};var dka=function(a,b){this.observables=a;this.project=b};dka.prototype.call=function(a,b){return b.subscribe(new Gv(a,this.observables,this.project))};var Gv=function(a,b,c){Yu.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(xe(b[c],new Wu(this,void 0,c)))};Y(Gv,Yu);Gv.EMPTY=Yu.EMPTY;Gv.create=Yu.create;
Gv.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))};Gv.prototype.notifyComplete=function(){};Gv.prototype._next=function(a){0===this.toRespond.length&&(a=[a].concat(u(this.values)),this.project?this._tryProject(a):this.destination.next(a))};Gv.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 mv(!1);this.onMicrotaskEmpty=new mv(!1);this.onStable=new mv(!1);this.onError=new mv(!1);if("undefined"==typeof Zone)throw new Hc(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 Sd.requestAnimationFrame;b=Sd[c?"requestAnimationFrame":"setTimeout"];c=Sd[c?"cancelAnimationFrame":"clearTimeout"];"undefined"!==
typeof Zone&&b&&c&&((c=b[Zone.__symbol__("OriginalDelegate")])&&(b=c),Zone.__symbol__("OriginalDelegate"));this.nativeRequestAnimationFrame=b;ika(this)},kka=function(){return"undefined"!==typeof Zone&&!0===Zone.current.get("isAngularZone")},jka=function(){if(kka())throw new Hc(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,DOb,kja,kja);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 DOb={},rf=function(){this.hasPendingMacrotasks=this.hasPendingMicrotasks=!1;this.isStable=!0;this.onUnstable=new mv;this.onMicrotaskEmpty=new mv;this.onStable=new mv;this.onError=new mv};rf.prototype.run=function(a,b,c){return a.apply(b,c)};rf.prototype.runGuarded=function(a,b,c){return a.apply(b,c)};rf.prototype.runOutsideAngular=function(a){return a()};
rf.prototype.runTask=function(a,b,c){return a.apply(b,c)};var Oka=new bd("",{providedIn:"root",factory:lka});var mka=function(a,b,c){this.phase=b;this.callbackFn=c;this.zone=a.get(ef);this.errorHandler=a.get($d,null,{optional:!0})};mka.prototype.invoke=function(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(b){var a;null==(a=this.errorHandler)||a.handleError(b)}};var jf=function(){this.executingCallbacks=!1;var a={};this.buckets=(a[0]=new Set,a[1]=new Set,a[2]=new Set,a[3]=new Set,a);this.deferredCallbacks=new Set};
jf.prototype.register=function(a){(this.executingCallbacks?this.deferredCallbacks:this.buckets[a.phase]).add(a)};jf.prototype.unregister=function(a){this.buckets[a.phase].delete(a);this.deferredCallbacks.delete(a)};
jf.prototype.execute=function(){this.executingCallbacks=!0;for(var a=l(Object.values(this.buckets)),b=a.next();!b.done;b=a.next()){var c=l(b.value);for(b=c.next();!b.done;b=c.next())b.value.invoke()}this.executingCallbacks=!1;a=l(this.deferredCallbacks);for(b=a.next();!b.done;b=a.next())b=b.value,this.buckets[b.phase].add(b);this.deferredCallbacks.clear()};jf.prototype.destroy=function(){for(var a=l(Object.values(this.buckets)),b=a.next();!b.done;b=a.next())b.value.clear();this.deferredCallbacks.clear()};
var hf=function(){this.renderDepth=0;this.handler=null;this.internalCallbacks=[]};hf.prototype.begin=function(){var a;if(null!=(a=this.handler)&&a.executingCallbacks)throw new Hc(102,!1);this.renderDepth++};hf.prototype.end=function(){this.renderDepth--;if(0===this.renderDepth){for(var a=l(this.internalCallbacks),b=a.next();!b.done;b=a.next())b=b.value,b();this.internalCallbacks.length=0;var c;null==(c=this.handler)||c.execute()}};
hf.prototype.ngOnDestroy=function(){var a;null==(a=this.handler)||a.destroy();this.handler=null;this.internalCallbacks.length=0};hf.\u0275prov=Dc({token:hf,providedIn:"root",factory:function(){return new hf}});var EOb=function(){};EOb.\u0275prov=Dc({token:EOb,providedIn:"root",factory:function(){return null}});var Hv=function(){this.full="0.0.0-PLACEHOLDER";this.minor=this.major="0";this.patch=["0","0","0-PLACEHOLDER"].slice(2).join(".")},FOb=new Hv;var GOb={};var HOb=function(a){this.ngModule=a};Y(HOb,Bu);var IOb=function(a,b){return new wg(b[Sc]||null,a.ngModule)},JOb=function(a,b){this.injector=a;this.parentInjector=b};JOb.prototype.get=function(a,b,c){c=Sea(c);var d=this.injector.get(a,GOb,c);return d!==GOb||b===GOb?d:this.parentInjector.get(a,b,c)};
var wg=function(a,b){this.componentDef=a;this.ngModule=b;this.componentType=a.type;this.selector=a.selectors.map(Zea).join(",");this.ngContentSelectors=a.ngContentSelectors?a.ngContentSelectors:[];this.isBoundToModule=!!b};Y(wg,kNb);
wg.prototype.create=function(a,b,c,d){d=d||this.ngModule;var e;(d=d instanceof yu?d:null==(e=d)?void 0:e.injector)&&null!==this.componentDef.getStandaloneInjector&&(d=this.componentDef.getStandaloneInjector(d)||d);var f=d?new JOb(a,d):a;a=f.get(lNb,null);if(null===a)throw new Hc(407,!1);e=f.get(EOb,null);d=f.get(hf,null);d={rendererFactory:a,sanitizer:e,inlineEffectRunner:null,afterRenderEventManager:d};a=a.createRenderer(null,this.componentDef);e=this.componentDef.selectors[0][0]||"div";if(c)e=this.componentDef.encapsulation,
e=f.get(mNb,!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 k=this.componentDef.signals?4608:e,q=null;null!==h&&(q=null);e=Dha(0,null,null,1,0,null,null,null,null,null,null);f=sha(null,e,null,k,null,null,d,a,f,null,q);Yfa(f);try{var t=this.componentDef;k=null;if(t.findHostDirectiveDefs){var w=[];k=new Map;t.findHostDirectiveDefs(t,w,k);w.push(t)}else w=[t];var y=f[1];f[25]=h;var C=
Xd(y,25,2,"#host",null);y=w;for(var J=f[1],I=l(y),P=I.next();!P.done;P=I.next())C.mergedAttrs=Pc(C.mergedAttrs,P.value.hostAttrs);null!==C.mergedAttrs&&(pka(C,C.mergedAttrs,!0),null!==h&&Pga(a,h,C));I=null;null!==h&&(I=null);var O=d.rendererFactory.createRenderer(h,t);P=16;t.signals?P=4096:t.onPush&&(P=64);var U=sha(f,xha(t),null,P,f[C.index],C,d,O,null,null,I);J.firstCreatePass&&Gha(J,C,y.length-1);yha(f,U);var aa=f[C.index]=U;var na=e.data[25];if(h)if(c)Vea(a,h,["ng-version",FOb.full]);else{var sa=
t.selectors[0];c=[];C=[];J=1;for(O=2;J<sa.length;){var Ba=sa[J];if("string"===typeof Ba)2===O?""!==Ba&&c.push(Ba,sa[++J]):8===O&&C.push(Ba);else{if(0!==(O&1))break;O=Ba}J++}c&&Vea(a,h,c);if(C&&0<C.length){var Pa=C.join(" ");""===Pa?a.removeAttribute(h,"class"):a.setAttribute(h,"class",Pa)}}if(void 0!==b){var Ja=this.ngContentSelectors,cb=na.projection=[];for(sa=0;sa<Ja.length;sa++){var qb=b[sa];cb.push(null!=qb?Array.from(qb):null)}}b=w;Ja=k;w=[rka];var Ra=sd(),fa=f[1],wa=nd(Ra,f);Hha(fa,f,Ra,b,null,
Ja);for(Ja=0;Ja<b.length;Ja++){var Ca=Dd(f,fa,Ra.directiveStart+Ja,Ra);Jd(Ca,f)}Aha(fa,f,Ra);wa&&Jd(wa,f);var Wa=Dd(f,fa,Ra.directiveStart+Ra.componentOffset,Ra);aa[8]=f[8]=Wa;if(null!==w)for(var Va=l(w),qd=Va.next();!qd.done;qd=Va.next()){var $a=qd.value;$a(Wa,t)}wha(fa,Ra,aa);var vb=Wa;oka(e,f,null)}finally{aga()}return new Iv(this.componentType,vb,Id(na,f),f,na)};
Gh.Object.defineProperties(wg.prototype,{inputs:{configurable:!0,enumerable:!0,get:function(){var a=this.componentDef,b=a.inputTransforms;a=qka(a.inputs);if(null!==b)for(var c=l(a),d=c.next();!d.done;d=c.next())d=d.value,b.hasOwnProperty(d.propName)&&(d.transform=b[d.propName]);return a}},outputs:{configurable:!0,enumerable:!0,get:function(){return qka(this.componentDef.outputs)}}});
var Iv=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 ae(d,void 0,!1);this.componentType=a};Y(Iv,jNb);
Iv.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,Fha(c[1],c,d,a,b),this.previousInputValues.set(a,b),a=od(this._tNode.index,c),Uha(a)))};Iv.prototype.destroy=function(){this.hostView.destroy()};Iv.prototype.onDestroy=function(a){this.hostView.onDestroy(a)};
Gh.Object.defineProperties(Iv.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return new Fd(this._tNode,this._rootLView)}}});var lf=function(a,b,c){this._parent=b;this._bootstrapComponents=[];this.destroyCbs=[];this.componentFactoryResolver=new HOb(this);var d=(a[VMb]||null).bootstrap;this._bootstrapComponents=d instanceof Function?d():d;this._r3Injector=vga(a,b,[{provide:Cu,useValue:this},{provide:Bu,useValue:this.componentFactoryResolver}].concat(u(c)),Gc(a),new Set(["environment"]));wga(this._r3Injector);this.instance=this._r3Injector.get(a)};Y(lf,Cu);
lf.prototype.destroy=function(){var a=this._r3Injector;!a.destroyed&&a.destroy();this.destroyCbs.forEach(function(b){return b()});this.destroyCbs=null};lf.prototype.onDestroy=function(a){this.destroyCbs.push(a)};Gh.Object.defineProperties(lf.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._r3Injector}}});var tva=function(a){this.moduleType=a};Y(tva,sva);tva.prototype.create=function(a){return new lf(this.moduleType,a,[])};
var tka=function(a){this.componentFactoryResolver=new HOb(this);this.instance=null;var b=new dd([].concat(u(a.providers),[{provide:Cu,useValue:this},{provide:Bu,useValue:this.componentFactoryResolver}]),a.parent||yfa(),a.debugName,new Set(["environment"]));this.injector=b;a.runEnvironmentInitializers&&wga(b)};Y(tka,Cu);tka.prototype.destroy=function(){this.injector.destroy()};tka.prototype.onDestroy=function(a){this.injector.onDestroy(a)};var KOb=new bd("Application Initializer"),Jv=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=Nc(KOb,{optional:!0}))?b:[]},LOb=function(a){if(!a.initialized){for(var b=[],c=l(a.appInits),d=c.next(),e={};!d.done;e={initResult:e.initResult},d=c.next())d=d.value,e.initResult=d(),mf(e.initResult)?b.push(e.initResult):vka(e.initResult)&&(d=new Promise(function(f){return function(h,k){f.initResult.subscribe({complete:h,
error:k})}}(e)),b.push(d));Promise.all(b).then(function(){a.done=!0;a.resolve()}).catch(function(f){a.reject(f)});0===b.length&&(a.done=!0,a.resolve());a.initialized=!0}};Jv.\u0275fac=function(a){return new (a||Jv)};Jv.\u0275prov=Dc({token:Jv,factory:Jv.\u0275fac,providedIn:"root"});var Kv=function(){};Kv.prototype.log=function(a){console.log(a)};Kv.prototype.warn=function(a){console.warn(a)};Kv.\u0275fac=function(a){return new (a||Kv)};Kv.\u0275prov=Dc({token:Kv,factory:Kv.\u0275fac,providedIn:"platform"});var xka=["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 yka={};var Kh=new bd("LocaleId",{providedIn:"root",factory:function(){return Nc(Kh,12)||("undefined"!==typeof TJb?"en-US":"undefined"!==typeof $localize&&$localize.locale||"en-US")}});new bd("DefaultCurrencyCode",{providedIn:"root",factory:function(){return"USD"}});new bd("Translations");new bd("TranslationsFormat");var Lv=function(){this.taskId=0;this.pendingTasks=new Set;this.hasPendingTasks=new E.BehaviorSubject(!1)};Lv.prototype.add=function(){this.hasPendingTasks.next(!0);var a=this.taskId++;this.pendingTasks.add(a);return a};Lv.prototype.remove=function(a){this.pendingTasks.delete(a);0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)};Lv.prototype.ngOnDestroy=function(){this.pendingTasks.clear();this.hasPendingTasks.next(!1)};Lv.\u0275fac=function(a){return new (a||Lv)};
Lv.\u0275prov=Dc({token:Lv,factory:Lv.\u0275fac,providedIn:"root"});var Mv=function(){};Mv.prototype.getModuleId=function(){};Mv.\u0275fac=function(a){return new (a||Mv)};Mv.\u0275prov=Dc({token:Mv,factory:Mv.\u0275fac,providedIn:"root"});new bd("compilerOptions");var MOb=new bd(""),NOb=new bd(""),Nv=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;OOb||(OOb=c,POb(b));this._watchAngularEvents();a.run(function(){d.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})};
Nv.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(){jka();queueMicrotask(function(){a._isZoneStable=!0;a._runCallbacksIfReady()})}})})};Nv.prototype.isStable=function(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks};
Nv.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=QOb(this);this._callbacks=this._callbacks.filter(function(c){return c.updateCb&&c.updateCb(b)?(clearTimeout(c.timeoutId),!1):!0});this._didWork=!0}};
var QOb=function(a){return a.taskTrackingZone?a.taskTrackingZone.macroTasks.map(function(b){return{source:b.source,creationLocation:b.creationLocation,data:b.data}}):[]};g=Nv.prototype;g.addCallback=function(a,b,c){var d=this,e=-1;b&&0<b&&(e=setTimeout(function(){d._callbacks=d._callbacks.filter(function(f){return f.timeoutId!==e});a(d._didWork,QOb(d))},b));this._callbacks.push({doneCb:a,timeoutId:e,updateCb:c})};
g.whenStable=function(a,b,c){if(c&&!this.taskTrackingZone)throw Error("Ka");this.addCallback(a,b,c);this._runCallbacksIfReady()};g.registerApplication=function(a){this.registry.registerApplication(a,this)};g.unregisterApplication=function(a){this.registry.unregisterApplication(a)};g.findProviders=function(){return[]};Nv.\u0275fac=function(a){return new (a||Nv)(p(ef),p(Ov),p(NOb))};Nv.\u0275prov=Dc({token:Nv,factory:Nv.\u0275fac});var Ov=function(){this._applications=new Map};
Ov.prototype.registerApplication=function(a,b){this._applications.set(a,b)};Ov.prototype.unregisterApplication=function(a){this._applications.delete(a)};Ov.prototype.findTestabilityInTree=function(a,b){var c,d;return null!=(d=null==(c=OOb)?void 0:c.findTestabilityInTree(this,a,void 0===b?!0:b))?d:null};Ov.\u0275fac=function(a){return new (a||Ov)};Ov.\u0275prov=Dc({token:Ov,factory:Ov.\u0275fac,providedIn:"platform"});var OOb;var ROb=this,of=null,Cka=new bd("AllowMultipleToken"),Gka=new bd("PlatformDestroyListeners"),SOb=new bd("appBootstrapListener"),pf=function(a){this._injector=a;this._modules=[];this._destroyListeners=[];this._destroyed=!1},TOb=function(a,b,c){var d=Ika(null==c?void 0:c.ngZone,Hka({eventCoalescing:null==c?void 0:c.ngZoneEventCoalescing,runCoalescing:null==c?void 0:c.ngZoneRunCoalescing}));return d.run(function(){var e=ska(b.moduleType,a.injector,Pka(function(){return d})),f=e.injector.get($d,null);
d.runOutsideAngular(function(){var h=d.onError.subscribe({next:function(k){f.handleError(k)}});e.onDestroy(function(){Lka(a._modules,e);h.unsubscribe()})});return Jka(f,d,function(){var h=e.injector.get(Jv);LOb(h);return h.donePromise.then(function(){var k=e.injector.get(Kh,"en-US")||"en-US";if(null==k)throw Error("ma`Expected localeId to be defined` [Expected=> null != "+(k+" <=Actual]"));a._moduleDoBootstrap(e);return e})})})},VOb=function(){var a=UOb(),b=Pv;var c=void 0===c?[]:c;var d=Kka({},c);
Promise.resolve(new tva(b)).then(function(e){return TOb(a,e,d)})};pf.prototype._moduleDoBootstrap=function(a){var b=a.injector.get(Qv);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 Hc(-403,!1);this._modules.push(a)};pf.prototype.onDestroy=function(a){this._destroyListeners.push(a)};
pf.prototype.destroy=function(){if(this._destroyed)throw new Hc(404,!1);this._modules.slice().forEach(function(b){return b.destroy()});this._destroyListeners.forEach(function(b){return b()});var a=this._injector.get(Gka,null);a&&(a.forEach(function(b){return b()}),a.clear());this._destroyed=!0};Gh.Object.defineProperties(pf.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._injector}},destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});
pf.\u0275fac=function(a){return new (a||pf)(p(ff))};pf.\u0275prov=Dc({token:pf,factory:pf.\u0275fac,providedIn:"platform"});var Qv=function(){var a=this;this._bootstrapListeners=[];this._destroyed=this._runningTick=!1;this._destroyListeners=[];this._views=[];this.internalErrorHandler=Nc(Nka);this.zoneIsStable=Nc(Oka);this.componentTypes=[];this.components=[];this.isStable=Nc(Lv).hasPendingTasks.pipe(af(function(b){return b?(0,E.of)(!1):a.zoneIsStable}),Pe(),Xe());this._injector=Nc(yu)};
Qv.prototype.bootstrap=function(a,b){var c=this,d=a instanceof kNb;if(!this._injector.get(Jv).done)throw new Hc(405,!1);var e;d?e=a:e=IOb(this._injector.get(Bu),a);this.componentTypes.push(e.componentType);a=e.isBoundToModule?void 0:this._injector.get(Cu);var f=e.create(fNb,[],b||e.selector,a),h=f.location.nativeElement,k=f.injector.get(MOb,null);null==k||k.registerApplication(h);f.onDestroy(function(){c.detachView(f.hostView);Lka(c.components,f);null==k||k.unregisterApplication(h)});this._loadComponent(f);
return f};Qv.prototype.tick=function(){if(this._runningTick)throw new Hc(101,!1);try{this._runningTick=!0;for(var a=l(this._views),b=a.next();!b.done;b=a.next())b.value.detectChanges()}catch(c){this.internalErrorHandler(c)}finally{this._runningTick=!1}};var WOb=function(a,b){a._views.push(b);if(b._attachedToViewContainer)throw new Hc(902,!1);b._appRef=a};g=Qv.prototype;g.detachView=function(a){Lka(this._views,a);a._appRef=null;var b=a._lView;Ld(b[11],2,a._lView[1].firstChild,b,null,null,!1)};
g._loadComponent=function(a){WOb(this,a.hostView);this.tick();this.components.push(a);var b=this._injector.get(SOb,[]);[].concat(u(this._bootstrapListeners),u(b)).forEach(function(c){return c(a)})};g.ngOnDestroy=function(){if(!this._destroyed)try{this._destroyListeners.forEach(function(a){return a()}),this._views.slice().forEach(function(a){return a.destroy()})}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}};
g.onDestroy=function(a){var b=this;this._destroyListeners.push(a);return function(){return Lka(b._destroyListeners,a)}};g.destroy=function(){if(this._destroyed)throw new Hc(406,!1);var a=this._injector;a.destroy&&!a.destroyed&&a.destroy()};Gh.Object.defineProperties(Qv.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}}});
Qv.\u0275fac=function(a){return new (a||Qv)};Qv.\u0275prov=Dc({token:Qv,factory:Qv.\u0275fac,providedIn:"root"});var Nka=new bd("",{providedIn:"root",factory:function(){return Nc($d).handleError.bind(ROb)}}),sf=function(){this.zone=Nc(ef);this.applicationRef=Nc(Qv)};sf.prototype.initialize=function(){var a=this;this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:function(){a.zone.run(function(){a.applicationRef.tick()})}}))};
sf.prototype.ngOnDestroy=function(){var a;null==(a=this._onMicrotaskEmptySubscription)||a.unsubscribe()};sf.\u0275fac=function(a){return new (a||sf)};sf.\u0275prov=Dc({token:sf,factory:sf.\u0275fac,providedIn:"root"});new bd("");new bd("AnalyzeForEntryComponents");var lg=function(){};lg.__NG_ELEMENT_ID__=Vka;var tf=function(a,b,c){this._lContainer=a;this._hostTNode=b;this._hostLView=c};Y(tf,lg);tf.__NG_ELEMENT_ID__=lg.__NG_ELEMENT_ID__;g=tf.prototype;g.clear=function(){for(;0<this.length;)this.remove(this.length-1)};g.get=function(a){var b=this._lContainer[8];return null!==b&&b[a]||null};g.createEmbeddedView=function(a,b,c){if("number"===typeof c)var d=c;else if(null!=c){d=c.index;var e=c.injector}a=XOb(a,b||{},e,null);YOb(this,a,d);return a};
g.createComponent=function(a,b,c,d){var e=a&&"function"!==typeof a;if(!e){var f=b||{};b=f.index;c=f.injector;d=f.projectableNodes;f=f.environmentInjector||f.ngModuleRef}a=e?a:new wg(a[Sc]||null);c=c||this.parentInjector;f||null!=a.ngModule||(e=(e?c:this.parentInjector).get(yu,null))&&(f=e);d=a.create(c,d,null,f);YOb(this,d.hostView,b);return d};g.insert=function(a,b){return YOb(this,a,b)};
var YOb=function(a,b,c){var d=b._lView;if(jd(d[3])){var e=a.indexOf(b);-1!==e?a.detach(e):(e=d[3],e=new tf(e,e[5],e[3]),e.detach(e.indexOf(b)))}c=a._adjustIndex(c);a=a._lContainer;Tka(a,d,c,!0);if(b._appRef)throw new Hc(902,!1);b._attachedToViewContainer=!0;d=Wka(a);c>=d.length?d.push(b):d.splice(c,0,b);return b};g=tf.prototype;g.move=function(a,b){return this.insert(a,b)};g.indexOf=function(a){var b=this._lContainer[8];return null!==b?b.indexOf(a):-1};
g.remove=function(a){a=this._adjustIndex(a,-1);var b=Md(this._lContainer,a);b&&(kfa(Wka(this._lContainer),a),Jga(b[1],b))};g.detach=function(a){a=this._adjustIndex(a,-1);var b=Md(this._lContainer,a);return b&&null!=kfa(Wka(this._lContainer),a)?new ae(b):null};g._adjustIndex=function(a,b){return null==a?this.length+(void 0===b?0:b):a};
Gh.Object.defineProperties(tf.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return Id(this._hostTNode,this._hostLView)}},injector:{configurable:!0,enumerable:!0,get:function(){return new Fd(this._hostTNode,this._hostLView)}},parentInjector:{configurable:!0,enumerable:!0,get:function(){var a=mga(this._hostTNode,this._hostLView);if(-1!==a){var b=fga(a,this._hostLView);return new Fd(b[1].data[(a&32767)+8],b)}return new Fd(null,this._hostLView)}},length:{configurable:!0,enumerable:!0,
get:function(){return this._lContainer.length-10}}});var Xka=Yka;var Zka=$ka;new bd("DEFER_BLOCK_DEPENDENCY_INTERCEPTOR");new bd("");var Ef=0,Ff=0,Gf=0,kla=0,mla=0;var ZOb=function(){};ZOb.prototype.destroy=function(){};ZOb.prototype.updateValue=function(){};var zla=function(a,b,c){var d=Math.min(b,c);b=Math.max(b,c);c=a.detach(b);if(1<b-d){var e=a.detach(d);a.attach(d,c);a.attach(b,e)}else a.attach(d,c)};ZOb.prototype.move=function(a,b){this.attach(b,this.detach(a))};var Ala=function(){this.map=new Map};g=Ala.prototype;g.has=function(a){a=this.map.get(a);return void 0!==a&&0<a.length};
g.delete=function(a){a=this.map.get(a);return void 0!==a?(a.shift(),!0):!1};g.get=function(a){a=this.map.get(a);return void 0!==a&&0<a.length?a[0]:void 0};g.set=function(a,b){if(this.map.has(a)){var c;null==(c=this.map.get(a))||c.push(b)}else this.map.set(a,[b])};g.forEach=function(a){for(var b=l(this.map),c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;d=l(d);for(var e=d.next();!e.done;e=d.next())a(e.value,c)}};var $Ob=function(a,b,c){this.lContainer=a;this.$implicit=b;this.$index=c};Gh.Object.defineProperties($Ob.prototype,{$count:{configurable:!0,enumerable:!0,get:function(){return this.lContainer.length-10}}});var Gla=function(a){this.trackByFn=a;this.liveCollection=void 0},Hla=function(a,b,c){this.lContainer=a;this.hostLView=b;this.templateTNode=c;this.needsIndexUpdate=!1};Y(Hla,ZOb);g=Hla.prototype;g.at=function(a){return Rka(this.lContainer,a)[8].$implicit};
g.attach=function(a,b){var c=b[6];this.needsIndexUpdate||(this.needsIndexUpdate=a!==this.length);Tka(this.lContainer,b,a,!c||128===(this.templateTNode.flags&128))};g.detach=function(a){this.needsIndexUpdate||(this.needsIndexUpdate=a!==this.length-1);return Md(this.lContainer,a)};g.create=function(a,b){return Qka(this.hostLView,this.templateTNode,new $Ob(this.lContainer,b,a),{dehydratedView:null})};g.destroy=function(a){Jga(a[1],a)};g.updateValue=function(a,b){Rka(this.lContainer,a)[8].$implicit=b};
g.reset=function(){this.needsIndexUpdate=!1};Gh.Object.defineProperties(Hla.prototype,{length:{configurable:!0,enumerable:!0,get:function(){return this.lContainer.length-10}}});var cg=function(a){this._injector=a;this.cachedInjectors=new Map};cg.prototype.ngOnDestroy=function(){try{for(var a=l(this.cachedInjectors.values()),b=a.next();!b.done;b=a.next()){var c=b.value;null!==c&&c.destroy()}}finally{this.cachedInjectors.clear()}};cg.\u0275prov=Dc({token:cg,providedIn:"environment",factory:function(){return new cg(p(yu))}});var rg=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=rg.prototype;b[Symbol.iterator]||(b[Symbol.iterator]=$la)};g=rg.prototype;g.get=function(a){return this._results[a]};g.map=function(a){return this._results.map(a)};g.filter=function(a){return this._results.filter(a)};g.find=function(a){return this._results.find(a)};
g.reduce=function(a,b){return this._results.reduce(a,b)};g.forEach=function(a){this._results.forEach(a)};g.some=function(a){return this._results.some(a)};g.toArray=function(){return this._results.slice()};g.toString=function(){return this._results.toString()};
g.reset=function(a,b){this.dirty=!1;a=a.flat(Number.POSITIVE_INFINITY);a:{var c=this._results;if(c.length!==a.length)b=!1;else{for(var d=0;d<c.length;d++){var e=c[d],f=a[d];b&&(e=b(e),f=b(f));if(f!==e){b=!1;break a}}b=!0}}if(this._changesDetected=!b)this._results=a,this.length=a.length,this.last=a[this.length-1],this.first=a[0]};var mg=function(a){!a._changes||!a._changesDetected&&a._emitDistinctChangesOnly||a._changes.emit(a)};rg.prototype.setDirty=function(){this.dirty=!0};
rg.prototype.destroy=function(){this.changes.complete();this.changes.unsubscribe()};Gh.Object.defineProperties(rg.prototype,{changes:{configurable:!0,enumerable:!0,get:function(){return this._changes||(this._changes=new mv)}}});Symbol.iterator;var kg=function(){};kg.__NG_ELEMENT_ID__=bma;var jg=function(a,b,c){this._declarationLView=a;this._declarationTContainer=b;this.elementRef=c};Y(jg,kg);jg.__NG_ELEMENT_ID__=kg.__NG_ELEMENT_ID__;jg.prototype.createEmbeddedView=function(a,b){return XOb(this,a,b)};var XOb=function(a,b,c,d){a=Qka(a._declarationLView,a._declarationTContainer,b,{injector:c,dehydratedView:d});return new ae(a)};
Gh.Object.defineProperties(jg.prototype,{ssrId:{configurable:!0,enumerable:!0,get:function(){var a;return(null==(a=this._declarationTContainer.tView)?void 0:a.ssrId)||null}}});var ima=function(a){this.queryList=a;this.matches=null};ima.prototype.clone=function(){return new ima(this.queryList)};ima.prototype.setDirty=function(){this.queryList.setDirty()};var hma=function(a){this.queries=a=void 0===a?[]:a};hma.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 hma(c)}return null};
hma.prototype.detachView=function(a){Ska(this,a)};var Ska=function(a,b){for(var c=0;c<a.queries.length;c++)null!==b.queries.queries[c].matches&&a.queries[c].setDirty()},fma=function(a,b,c){this.predicate=a;this.flags=b;this.read=void 0===c?null:c},jma=function(a){this.queries=a=void 0===a?[]:a};g=jma.prototype;g.elementStart=function(a,b){for(var c=0;c<this.queries.length;c++)this.queries[c].elementStart(a,b)};g.elementEnd=function(a){for(var b=0;b<this.queries.length;b++)this.queries[b].elementEnd(a)};
g.embeddedTView=function(a){for(var b=null,c=0;c<this.length;c++){var d=this.queries[c].embeddedTView(a,null!==b?b.length:0);d&&(d.indexInDeclarationView=c,null!==b?b.push(d):b=[d])}return null!==b?new jma(b):null};g.template=function(a,b){for(var c=0;c<this.queries.length;c++)this.queries[c].template(a,b)};g.track=function(a){this.queries.push(a)};Gh.Object.defineProperties(jma.prototype,{length:{configurable:!0,enumerable:!0,get:function(){return this.queries.length}}});
var sg=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};
sg.prototype.elementStart=function(a,b){if(aPb(this,b)){var c=this.metadata.predicate;if(Array.isArray(c))for(var d=0;d<c.length;d++){var e=c[d];a:{var f=b.localNames;if(null!==f)for(var h=0;h<f.length;h+=2)if(f[h]===e){f=f[h+1];break a}f=null}bPb(this,a,b,f);bPb(this,a,b,tga(b,a,e,!1,!1))}else c===kg?b.type&4&&bPb(this,a,b,-1):bPb(this,a,b,tga(b,a,c,!1,!1))}};sg.prototype.elementEnd=function(a){this._declarationNodeIndex===a.index&&(this._appliesToNextNode=!1)};
sg.prototype.template=function(a,b){this.elementStart(a,b)};sg.prototype.embeddedTView=function(a,b){return aPb(this,a)?(this.crossesNgTemplate=!0,cPb(this,-a.index,b),new sg(this.metadata)):null};
var aPb=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},bPb=function(a,b,c,d){if(null!==d){var e=a.metadata.read;null!==e?e===Hd||e===lg||e===kg&&c.type&4?cPb(a,c.index,-2):(b=tga(c,b,e,!1,!1),null!==b&&cPb(a,c.index,b)):cPb(a,c.index,d)}},cPb=function(a,b,c){null===a.matches?a.matches=[b,c]:a.matches.push(b,c)};var Rv=function(){};Rv.\u0275fac=function(a){return new (a||Rv)(p(Qv))};Rv.\u0275mod=Tc({type:Rv});Rv.\u0275inj=Ec({});var dPb=Eka(null,"core",[]);var ePb=/\s+/,fPb=[],Sv=function(a,b,c,d){this._iterableDiffers=a;this._keyValueDiffers=b;this._ngEl=c;this._renderer=d;this.initialClasses=fPb;this.stateMap=new Map};
Sv.prototype.ngDoCheck=function(){for(var a=l(this.initialClasses),b=a.next();!b.done;b=a.next())this._updateState(b.value,!0);a=this.rawClass;if(Array.isArray(a)||a instanceof Set)for(a=l(a),b=a.next();!b.done;b=a.next())this._updateState(b.value,!0);else if(null!=a){var c=l(Object.keys(a));for(b=c.next();!b.done;b=c.next())b=b.value,this._updateState(b,!!a[b])}this._applyStateDiff()};
Sv.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})};Sv.prototype._applyStateDiff=function(){for(var a=l(this.stateMap),b=a.next();!b.done;b=a.next()){var c=b.value;b=c[0];c=c[1];c.changed?(this._toggleClass(b,c.enabled),c.changed=!1):c.touched||(c.enabled&&this._toggleClass(b,!1),this.stateMap.delete(b));c.touched=!1}};
Sv.prototype._toggleClass=function(a,b){var c=this;a=a.trim();0<a.length&&a.split(ePb).forEach(function(d){b?c._renderer.addClass(c._ngEl.nativeElement,d):c._renderer.removeClass(c._ngEl.nativeElement,d)})};Gh.Object.defineProperties(Sv.prototype,{klass:{configurable:!0,enumerable:!0,set:function(a){this.initialClasses=null!=a?a.trim().split(ePb):fPb}},ngClass:{configurable:!0,enumerable:!0,set:function(a){this.rawClass="string"===typeof a?a.trim().split(ePb):a}}});
Sv.\u0275fac=function(a){return new (a||Sv)(B(Iu),B(Ju),B(Hd),B(Eu))};Sv.\u0275dir=Vc({type:Sv,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0});var gPb=function(a,b,c,d){this.$implicit=a;this.ngForOf=b;this.index=c;this.count=d};Gh.Object.defineProperties(gPb.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 Tv=function(a,b,c){this._viewContainer=a;this._template=b;this._differs=c;this._ngForOf=null;this._ngForOfDirty=!0;this._differ=null};Tv.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)};
Tv.prototype._applyChanges=function(a){var b=this,c=this._viewContainer;BNb(a,function(h,k,q){null==h.previousIndex?c.createEmbeddedView(b._template,new gPb(h.item,b._ngForOf,-1,-1),null===q?void 0:q):null==q?c.remove(null===k?void 0:k):null!==k&&(k=c.get(k),c.move(k,q),k.context.$implicit=h.item)});for(var d=0,e=c.length;d<e;d++){var f=c.get(d).context;f.index=d;f.count=e;f.ngForOf=this._ngForOf}CNb(a,function(h){c.get(h.currentIndex).context.$implicit=h.item})};
Gh.Object.defineProperties(Tv.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)}}});Tv.\u0275fac=function(a){return new (a||Tv)(B(lg),B(kg),B(Iu))};
Tv.\u0275dir=Vc({type:Tv,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});var Uv=function(a,b){this._viewContainer=a;this._context=new hPb;this._elseViewRef=this._thenViewRef=this._elseTemplateRef=null;this._thenTemplateRef=b};
Uv.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)))};
Gh.Object.defineProperties(Uv.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){mma("ngIfThen",a);this._thenTemplateRef=a;this._thenViewRef=null;this._updateView()}},ngIfElse:{configurable:!0,enumerable:!0,set:function(a){mma("ngIfElse",a);this._elseTemplateRef=a;this._elseViewRef=null;this._updateView()}}});Uv.\u0275fac=function(a){return new (a||Uv)(B(lg),B(kg))};
Uv.\u0275dir=Vc({type:Uv,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});var hPb=function(){this.ngIf=this.$implicit=null};var iPb=function(a,b){this._viewContainerRef=a;this._templateRef=b;this._created=!1};iPb.prototype.create=function(){this._created=!0;this._viewContainerRef.createEmbeddedView(this._templateRef)};iPb.prototype.destroy=function(){this._created=!1;this._viewContainerRef.clear()};var Vv=function(){this._defaultViews=[];this._defaultUsed=!1;this._lastCaseCheckIndex=this._caseCount=0;this._lastCasesMatched=!1};Vv.prototype._addCase=function(){return this._caseCount++};Vv.prototype._addDefault=function(a){this._defaultViews.push(a)};
Vv.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};
Vv.prototype._updateDefaultCases=function(a){if(0<this._defaultViews.length&&a!==this._defaultUsed){this._defaultUsed=a;for(var b=l(this._defaultViews),c=b.next();!c.done;c=b.next()){c=c.value;var d=a;d&&!c._created?c.create():!d&&c._created&&c.destroy()}}};Gh.Object.defineProperties(Vv.prototype,{ngSwitch:{configurable:!0,enumerable:!0,set:function(a){this._ngSwitch=a;0===this._caseCount&&this._updateDefaultCases(!0)}}});Vv.\u0275fac=function(a){return new (a||Vv)};
Vv.\u0275dir=Vc({type:Vv,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});var Wv=function(a,b,c){this.ngSwitch=c;c._addCase();this._view=new iPb(a,b)};Wv.prototype.ngDoCheck=function(){var a=this._view,b=this.ngSwitch._matchCase(this.ngSwitchCase);b&&!a._created?a.create():!b&&a._created&&a.destroy()};Wv.\u0275fac=function(a){return new (a||Wv)(B(lg),B(kg),B(Vv,9))};Wv.\u0275dir=Vc({type:Wv,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});
var Xv=function(a,b,c){c._addDefault(new iPb(a,b))};Xv.\u0275fac=function(a){return new (a||Xv)(B(lg),B(kg),B(Vv,9))};Xv.\u0275dir=Vc({type:Xv,selectors:[["","ngSwitchDefault",""]],standalone:!0});var Yv=function(a,b,c){this._ngEl=a;this._differs=b;this._renderer=c;this._differ=this._ngStyle=null};Yv.prototype.ngDoCheck=function(){if(this._differ){var a=this._differ.diff(this._ngStyle);a&&this._applyChanges(a)}};Yv.prototype._setStyle=function(a,b){var c=l(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)};
Yv.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)});HNb(a,function(c){return b._setStyle(c.key,c.currentValue)})};Gh.Object.defineProperties(Yv.prototype,{ngStyle:{configurable:!0,enumerable:!0,set:function(a){this._ngStyle=a;!this._differ&&a&&(this._differ=this._differs.find(a).create())}}});Yv.\u0275fac=function(a){return new (a||Yv)(B(Hd),B(Ju),B(Eu))};
Yv.\u0275dir=Vc({type:Yv,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});var Zv=function(a){this._viewContainerRef=a;this.ngTemplateOutletInjector=this.ngTemplateOutlet=this.ngTemplateOutletContext=this._viewRef=null};Zv.prototype.ngOnChanges=function(a){if(this._shouldRecreateView(a))if(a=this._viewContainerRef,this._viewRef&&a.remove(a.indexOf(this._viewRef)),this.ngTemplateOutlet){var b=this._createContextForwardProxy(),c;this._viewRef=a.createEmbeddedView(this.ngTemplateOutlet,b,{injector:null!=(c=this.ngTemplateOutletInjector)?c:void 0})}else this._viewRef=null};
Zv.prototype._shouldRecreateView=function(a){return!!a.ngTemplateOutlet||!!a.ngTemplateOutletInjector};Zv.prototype._createContextForwardProxy=function(){var a=this;return new Proxy({},{set:function(b,c,d){return a.ngTemplateOutletContext?Reflect.set(a.ngTemplateOutletContext,c,d):!1},get:function(b,c,d){if(a.ngTemplateOutletContext)return Reflect.get(a.ngTemplateOutletContext,c,d)}})};Zv.\u0275fac=function(a){return new (a||Zv)(B(lg))};
Zv.\u0275dir=Vc({type:Zv,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[ld]});var jPb=function(){};jPb.prototype.createSubscription=function(a,b){return aia(function(){return a.subscribe({next:b,error:function(c){throw c;}})})};jPb.prototype.dispose=function(a){aia(function(){return a.unsubscribe()})};var kPb=function(){};kPb.prototype.createSubscription=function(a,b){return a.then(b,function(c){throw c;})};kPb.prototype.dispose=function(){};var lPb=new kPb,mPb=new jPb,$v=function(a){this._strategy=this._obj=this._subscription=this._latestValue=null;this._ref=a};g=$v.prototype;
g.ngOnDestroy=function(){this._subscription&&this._dispose();this._ref=null};g.transform=function(a){return this._obj?a!==this._obj?(this._dispose(),this.transform(a)):this._latestValue:(a&&this._subscribe(a),this._latestValue)};g._subscribe=function(a){var b=this;this._obj=a;this._strategy=this._selectStrategy(a);this._subscription=this._strategy.createSubscription(a,function(c){return b._updateLatestValue(a,c)})};
g._selectStrategy=function(a){if(mf(a))return lPb;if(vka(a))return mPb;throw zg();};g._dispose=function(){this._strategy.dispose(this._subscription);this._obj=this._subscription=this._latestValue=null};g._updateLatestValue=function(a,b){a===this._obj&&(this._latestValue=b,this._ref.markForCheck())};$v.\u0275fac=function(a){return new (a||$v)(B(Fu,16))};$v.\u0275pipe=Wc({name:"async",type:$v,pure:!1,standalone:!0});var aw=function(){};aw.prototype.transform=function(a){if(null==a)return null;if("string"!==typeof a)throw zg();return a.toLowerCase()};aw.\u0275fac=function(a){return new (a||aw)};aw.\u0275pipe=Wc({name:"lowercase",type:aw,pure:!0,standalone:!0});
var nPb=/(?:[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,bw=
function(){};bw.prototype.transform=function(a){if(null==a)return null;if("string"!==typeof a)throw zg();return a.replace(nPb,function(b){return b[0].toUpperCase()+b.slice(1).toLowerCase()})};bw.\u0275fac=function(a){return new (a||bw)};bw.\u0275pipe=Wc({name:"titlecase",type:bw,pure:!0,standalone:!0});var Mma=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Eg={},zma=/((?:[^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]*)/,Cma={};var oPb=new bd("DATE_PIPE_DEFAULT_TIMEZONE"),pPb=new bd("DATE_PIPE_DEFAULT_OPTIONS"),cw=function(a,b,c){this.locale=a;this.defaultTimezone=b;this.defaultOptions=c};
cw.prototype.transform=function(a,b,c,d){if(null==a||""===a||a!==a)return null;try{var e,f,h=null!=(f=null!=b?b:null==(e=this.defaultOptions)?void 0:e.dateFormat)?f:"mediumDate",k,q,t,w=null!=(t=null!=(q=null!=c?c:null==(k=this.defaultOptions)?void 0:k.timezone)?q:this.defaultTimezone)?t:void 0;return Gma(a,h,d||this.locale,w)}catch(y){throw zg();}};cw.\u0275fac=function(a){return new (a||cw)(B(Kh,16),B(oPb,24),B(pPb,24))};cw.\u0275pipe=Wc({name:"date",type:cw,pure:!0,standalone:!0});var dw=function(){};dw.prototype.transform=function(a){return JSON.stringify(a,null,2)};dw.\u0275fac=function(a){return new (a||dw)};dw.\u0275pipe=Wc({name:"json",type:dw,pure:!1,standalone:!0});var ew=function(a){this.differs=a;this.keyValues=[];this.compareFn=Oma};ew.prototype.transform=function(a,b){var c=this;b=void 0===b?Oma: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};
ew.\u0275fac=function(a){return new (a||ew)(B(Ju,16))};ew.\u0275pipe=Wc({name:"keyvalue",type:ew,pure:!1,standalone:!0});var Rma=/^(\d+)?\.((\d+)(-(\d+))?)?$/;var fw=function(a){this._locale=a};
fw.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("Va`"+a);var d=a}else d=Number(a);a=d;var e=nf(c)[14][0],f=yg(c,5);f=void 0===f?"-":f;d={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0};var h=e.split(";"),k=h[0],q=h[1],t=-1!==k.indexOf(".")?k.split("."):[k.substring(0,k.lastIndexOf("0")+1),k.substring(k.lastIndexOf("0")+
1)],w=t[0],y=t[1]||"";d.posPre=w.substring(0,w.indexOf("#"));for(e=0;e<y.length;e++){var C=y.charAt(e);"0"===C?d.minFrac=d.maxFrac=e+1:"#"===C?d.maxFrac=e+1:d.posSuf+=C}var J=w.split(",");d.gSize=J[1]?J[1].length:0;d.lgSize=J[2]||J[1]?(J[2]||J[1]).length:0;if(q){var I=k.length-d.posPre.length-d.posSuf.length,P=q.indexOf("#");d.negPre=q.substring(0,P).replace(/'/g,"");d.negSuf=q.slice(P+I).replace(/'/g,"")}else d.negPre=f+d.posPre,d.negSuf=d.posSuf;return Uma(a,d,c,b)}catch(O){throw zg();}};
fw.\u0275fac=function(a){return new (a||fw)(B(Kh,16))};fw.\u0275pipe=Wc({name:"number",type:fw,pure:!0,standalone:!0});var gw=function(){};gw.prototype.transform=function(a,b,c){if(null==a)return null;if(!this.supports(a))throw zg();return a.slice(b,c)};gw.prototype.supports=function(a){return"string"===typeof a||Array.isArray(a)};gw.\u0275fac=function(a){return new (a||gw)};gw.\u0275pipe=Wc({name:"slice",type:gw,pure:!1,standalone:!0});var hw=function(){};hw.\u0275fac=function(a){return new (a||hw)};hw.\u0275mod=Tc({type:hw});hw.\u0275inj=Ec({});var iw=function(a,b){this._renderer=a;this._elementRef=b;this.onChange=function(){};this.onTouched=function(){}};iw.prototype.setProperty=function(a,b){this._renderer.setProperty(this._elementRef.nativeElement,a,b)};iw.prototype.registerOnTouched=function(a){this.onTouched=a};iw.prototype.registerOnChange=function(a){this.onChange=a};iw.prototype.setDisabledState=function(a){this.setProperty("disabled",a)};iw.\u0275fac=function(a){return new (a||iw)(B(Eu),B(Hd))};iw.\u0275dir=Vc({type:iw});
var Kg=function(){iw.apply(this,arguments)};Y(Kg,iw);Kg.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(Kg)))(b||Kg)}}();Kg.\u0275dir=Vc({type:Kg,features:[yf]});var jw=new bd("NgValueAccessor");var qPb=function(a){return a.src};new bd("ImageLoader",{providedIn:"root",factory:function(){return qPb}});var Xg=new bd("DocumentToken");new bd("PRECONNECT_CHECK_BLOCKLIST");new bd("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:function(){return new Set}});var rPb=null,sPb=function(){};var kw=function(){};kw.prototype.historyGo=function(){throw Error("Wa");};kw.\u0275fac=function(a){return new (a||kw)};kw.\u0275prov=Dc({token:kw,factory:function(){return Nc(lw)},providedIn:"platform"});var tPb=new bd("Location Initialized"),lw=function(){this._doc=Nc(Xg);this._location=window.location;this._history=window.history};Y(lw,kw);
lw.prototype.onPopState=function(a){var b=uPb(this._doc,"window");b.addEventListener("popstate",a,!1);return function(){return b.removeEventListener("popstate",a)}};var vPb=function(a,b){var c=uPb(a._doc,"window");c.addEventListener("hashchange",b,!1);return function(){return c.removeEventListener("hashchange",b)}};g=lw.prototype;g.pushState=function(a,b,c){this._history.pushState(a,b,c)};g.replaceState=function(a,b,c){this._history.replaceState(a,b,c)};g.forward=function(){this._history.forward()};
g.back=function(){this._history.back()};g.historyGo=function(a){this._history.go(void 0===a?0:a)};g.getState=function(){return this._history.state};
Gh.Object.defineProperties(lw.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}}});lw.\u0275fac=function(a){return new (a||lw)};lw.\u0275prov=Dc({token:lw,factory:function(){return new lw},providedIn:"platform"});var mw=function(){};mw.prototype.historyGo=function(){throw Error("Wa");};mw.\u0275fac=function(a){return new (a||mw)};mw.\u0275prov=Dc({token:mw,factory:function(){return Nc(nw)},providedIn:"root"});var wPb=new bd("appBaseHref"),nw=function(a,b){this._platformLocation=a;this._removeListenerFns=[];var c,d,e;this._baseHref=null!=(e=null!=(d=null!=b?b:rPb.getBaseHref())?d:null==(c=Nc(Xg).location)?void 0:c.origin)?e:""};Y(nw,mw);g=nw.prototype;g.ngOnDestroy=function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()};
g.onPopState=function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),vPb(this._platformLocation,a))};g.getBaseHref=function(){return this._baseHref};g.prepareExternalUrl=function(a){return Vma(this._baseHref,a)};g.path=function(a){var b=this._platformLocation.pathname+Gg(this._platformLocation.search),c=this._platformLocation.hash;return c&&(void 0===a?0:a)?b+c:b};g.pushState=function(a,b,c,d){this._platformLocation.pushState(a,b,this.prepareExternalUrl(c+Gg(d)))};
g.replaceState=function(a,b,c,d){this._platformLocation.replaceState(a,b,this.prepareExternalUrl(c+Gg(d)))};g.forward=function(){this._platformLocation.forward()};g.back=function(){this._platformLocation.back()};g.getState=function(){return this._platformLocation.getState()};g.historyGo=function(a){var b,c;null==(c=(b=this._platformLocation).historyGo)||c.call(b,void 0===a?0:a)};nw.\u0275fac=function(a){return new (a||nw)(p(kw),p(wPb,8))};nw.\u0275prov=Dc({token:nw,factory:nw.\u0275fac,providedIn:"root"});var ow=function(a,b){this._platformLocation=a;this._baseHref="";this._removeListenerFns=[];null!=b&&(this._baseHref=b)};Y(ow,mw);g=ow.prototype;g.ngOnDestroy=function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()};g.onPopState=function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),vPb(this._platformLocation,a))};g.getBaseHref=function(){return this._baseHref};
g.path=function(){var a=this._platformLocation.hash;null==a&&(a="#");return 0<a.length?a.substring(1):a};g.prepareExternalUrl=function(a){a=Vma(this._baseHref,a);return 0<a.length?"#"+a:a};g.pushState=function(a,b,c,d){c=this.prepareExternalUrl(c+Gg(d));0==c.length&&(c=this._platformLocation.pathname);this._platformLocation.pushState(a,b,c)};
g.replaceState=function(a,b,c,d){c=this.prepareExternalUrl(c+Gg(d));0==c.length&&(c=this._platformLocation.pathname);this._platformLocation.replaceState(a,b,c)};g.forward=function(){this._platformLocation.forward()};g.back=function(){this._platformLocation.back()};g.getState=function(){return this._platformLocation.getState()};g.historyGo=function(a){var b,c;null==(c=(b=this._platformLocation).historyGo)||c.call(b,void 0===a?0:a)};ow.\u0275fac=function(a){return new (a||ow)(p(kw),p(wPb,8))};
ow.\u0275prov=Dc({token:ow,factory:ow.\u0275fac});var pw=function(a){var b=this;this._subject=new mv;this._urlChangeListeners=[];this._urlChangeSubscription=null;this._locationStrategy=a;a=this._locationStrategy.getBaseHref();this._basePath=Xma(Wma(a.replace(/\/index.html$/,"")));this._locationStrategy.onPopState(function(c){b._subject.emit({url:b.path(!0),pop:!0,state:c.state,type:c.type})})};g=pw.prototype;g.ngOnDestroy=function(){var a;null==(a=this._urlChangeSubscription)||a.unsubscribe();this._urlChangeListeners=[]};
g.path=function(a){return this.normalize(this._locationStrategy.path(void 0===a?!1:a))};g.getState=function(){return this._locationStrategy.getState()};g.normalize=function(a){var b=this._basePath;a=a.replace(/\/index.html$/,"");b&&a.startsWith(b)?(b=a.substring(b.length),b=""===b||["/",";","?","#"].includes(b[0])?b:a):b=a;return Wma(b)};g.prepareExternalUrl=function(a){a&&"/"!==a[0]&&(a="/"+a);return this._locationStrategy.prepareExternalUrl(a)};
g.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+Gg(b)),c)};g.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+Gg(b)),c)};g.forward=function(){this._locationStrategy.forward()};g.back=function(){this._locationStrategy.back()};
g.historyGo=function(a){var b,c;null==(c=(b=this._locationStrategy).historyGo)||c.call(b,void 0===a?0:a)};g._notifyUrlChangeListeners=function(a,b){a=void 0===a?"":a;this._urlChangeListeners.forEach(function(c){return c(a,b)})};g.subscribe=function(a,b,c){return this._subject.subscribe({next:a,error:b,complete:c})};pw.\u0275fac=function(a){return new (a||pw)(p(mw))};pw.\u0275prov=Dc({token:pw,factory:function(){return new pw(p(mw))},providedIn:"root"});new Hv;var xPb=function(){};xPb.\u0275prov=Dc({token:xPb,providedIn:"root",factory:function(){return new yPb}});var yPb=function(){var a=p(Xg),b=window;this.document=a;this.window=b;this.offset=function(){return[0,0]}};yPb.prototype.setOffset=function(a){Array.isArray(a)?this.offset=function(){return a}:this.offset=a};yPb.prototype.getScrollPosition=function(){return zPb(this)?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]};
var APb=function(a,b){zPb(a)&&a.window.scrollTo(b[0],b[1])},zPb=function(a){try{return!!a.window&&!!a.window.scrollTo&&"pageXOffset"in a.window}catch(b){return!1}};var BPb=function(){};var CPb={provide:jw,useExisting:Jc(function(){return Jg}),multi:!0},DPb=new bd("CompositionEventMode"),Jg=function(a,b,c){iw.call(this,a,b);this._compositionMode=c;this._composing=!1;null==this._compositionMode&&(this._compositionMode=!/android (\d+)/.test((rPb?window.navigator.userAgent:"").toLowerCase()))};Y(Jg,iw);Jg.prototype.writeValue=function(a){this.setProperty("value",null==a?"":a)};Jg.prototype._handleInput=function(a){if(!this._compositionMode||this._compositionMode&&!this._composing)this.onChange(a)};
Jg.prototype._compositionStart=function(){this._composing=!0};Jg.prototype._compositionEnd=function(a){this._composing=!1;this._compositionMode&&this.onChange(a)};Jg.\u0275fac=function(a){return new (a||Jg)(B(Eu),B(Hd),B(DPb,8))};
Jg.\u0275dir=Vc({type:Jg,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&&Q("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:[bg([CPb]),yf]});var qw=new bd("NgValidators"),rw=new bd("NgAsyncValidators"),sw=function(a){return $ma(a)};var tw=function(){this._rawValidators=[];this._rawAsyncValidators=[];this._onDestroyCallbacks=[]};g=tw.prototype;g._setValidators=function(a){this._rawValidators=a||[];this._composedValidatorFn=jna(this._rawValidators)};g._setAsyncValidators=function(a){this._rawAsyncValidators=a||[];this._composedAsyncValidatorFn=lna(this._rawAsyncValidators)};g._registerOnDestroy=function(a){this._onDestroyCallbacks.push(a)};
g._invokeOnDestroyCallbacks=function(){this._onDestroyCallbacks.forEach(function(a){return a()});this._onDestroyCallbacks=[]};g.reset=function(a){this.control&&this.control.reset(a)};g.hasError=function(a,b){return this.control?this.control.hasError(a,b):!1};g.getError=function(a,b){return this.control?this.control.getError(a,b):null};
Gh.Object.defineProperties(tw.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 uw=function(){tw.apply(this,arguments);this.valueAccessor=this.name=this._parent=null};Y(uw,tw);var vw=function(){tw.apply(this,arguments)};Y(vw,tw);Gh.Object.defineProperties(vw.prototype,{formDirective:{configurable:!0,enumerable:!0,get:function(){return null}},path:{configurable:!0,enumerable:!0,get:function(){return null}}});var EPb=function(a){this._cd=a};
Gh.Object.defineProperties(EPb.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 ww=function(a){this._cd=a};Y(ww,EPb);ww.\u0275fac=function(a){return new (a||ww)(B(uw,2))};
ww.\u0275dir=Vc({type:ww,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(a,b){a&2&&Jf("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:[yf]});var xw=function(a){this._cd=a};Y(xw,EPb);xw.\u0275fac=function(a){return new (a||xw)(B(vw,10))};
xw.\u0275dir=Vc({type:xw,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(a,b){a&2&&Jf("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:[yf]});var yw=new bd("CallSetDisabledState",{providedIn:"root",factory:function(){return"whenDisabledForLegacyCode"}});var zw=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)},wna=function(a,b){a._assignValidators(b)},xna=function(a,b){a._assignAsyncValidators(b)},FPb=function(a){a=a._rawValidators;return Array.isArray(a)?a.includes(sw):a===sw},zna=function(a,b){b=void 0===b?{}:b;a.touched=!0;a._parent&&
!b.onlySelf&&zna(a._parent,b)},GPb=function(a,b){b=void 0===b?{}:b;a.touched=!1;a._pendingTouched=!1;a._forEachChild(function(c){GPb(c,{onlySelf:!0})});a._parent&&!b.onlySelf&&a._parent._updateTouched(b)},Ana=function(a,b){b=void 0===b?{}:b;a.pristine=!1;a._parent&&!b.onlySelf&&Ana(a._parent,b)},HPb=function(a,b){b=void 0===b?{}:b;a.pristine=!0;a._pendingDirty=!1;a._forEachChild(function(c){HPb(c,{onlySelf:!0})});a._parent&&!b.onlySelf&&a._parent._updatePristine(b)};g=zw.prototype;
g.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)})};
g.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}))});Ig(this,{onlySelf:!0,emitEvent:a.emitEvent});this._updateAncestors(Object.assign({},a,{skipPristineCheck:b}));this._onDisabledChange.forEach(function(c){return c(!1)})};g._updateAncestors=function(a){this._parent&&!a.onlySelf&&(Ig(this._parent,a),a.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())};
g.setParent=function(a){this._parent=a};g.getRawValue=function(){return this.value};var Ig=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&&Ig(a._parent,b)};g=zw.prototype;
g._updateTreeValidity=function(a){a=void 0===a?{emitEvent:!0}:a;this._forEachChild(function(b){return b._updateTreeValidity(a)});Ig(this,{onlySelf:!0,emitEvent:a.emitEvent})};g._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"};g._runValidator=function(){return this.validator?this.validator(this):null};
g._runAsyncValidator=function(a){var b=this;this.asyncValidator&&(this.status="PENDING",this._hasOwnPendingAsyncValidator=!0,this._asyncValidationSubscription=ena(this.asyncValidator(this)).subscribe(function(c){b._hasOwnPendingAsyncValidator=!1;b.setErrors(c,{emitEvent:a})}))};g._cancelExistingSubscription=function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)};
g.setErrors=function(a,b){b=void 0===b?{}:b;this.errors=a;this._updateControlsErrors(!1!==b.emitEvent)};g.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)};g.getError=function(a,b){return(b=b?this.get(b):this)&&b.errors?b.errors[a]:null};g.hasError=function(a,b){return!!this.getError(a,b)};
g._updateControlsErrors=function(a){this.status=this._calculateStatus();a&&this.statusChanges.emit(this.status);this._parent&&this._parent._updateControlsErrors(a)};g._initObservables=function(){this.valueChanges=new mv;this.statusChanges=new mv};g._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"};
g._anyControlsHaveStatus=function(a){return this._anyControls(function(b){return b.status===a})};g._anyControlsDirty=function(){return this._anyControls(function(a){return a.dirty})};g._anyControlsTouched=function(){return this._anyControls(function(a){return a.touched})};g._updatePristine=function(a){a=void 0===a?{}:a;this.pristine=!this._anyControlsDirty();this._parent&&!a.onlySelf&&this._parent._updatePristine(a)};
g._updateTouched=function(a){a=void 0===a?{}:a;this.touched=this._anyControlsTouched();this._parent&&!a.onlySelf&&this._parent._updateTouched(a)};g._registerOnCollectionChange=function(a){this._onCollectionChange=a};g._setUpdateStrategy=function(a){Lg(a)&&null!=a.updateOn&&(this._updateOn=a.updateOn)};g._parentMarkedDirty=function(a){var b=this._parent&&this._parent.dirty;return!a&&!!b&&!this._parent._anyControlsDirty()};g._find=function(){return null};
g._assignValidators=function(a){a=this._rawValidators=Array.isArray(a)?a.slice():a;this._composedValidatorFn=Array.isArray(a)?jna(a):a||null};g._assignAsyncValidators=function(a){a=this._rawAsyncValidators=Array.isArray(a)?a.slice():a;this._composedAsyncValidatorFn=Array.isArray(a)?lna(a):a||null};
Gh.Object.defineProperties(zw.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 Aw=function(a,b,c){var d=zw.call,e=Ena(b);c=(Lg(b)?b.asyncValidators:c)||null;d.call(zw,this,e,c);this.controls=a;this._initObservables();this._setUpdateStrategy(b);this._setUpControls();Ig(this,{onlySelf:!0,emitEvent:!!this.asyncValidator})};Y(Aw,zw);var IPb=function(a,b,c){if(a.controls[b])return a.controls[b];a.controls[b]=c;c.setParent(a);c._registerOnCollectionChange(a._onCollectionChange);return c};g=Aw.prototype;
g.addControl=function(a){var b=void 0===b?{}:b;IPb(this,a);Ig(this,{emitEvent:b.emitEvent});this._onCollectionChange()};g.removeControl=function(a){var b=void 0===b?{}:b;this.controls[a]&&this.controls[a]._registerOnCollectionChange(function(){});delete this.controls[a];Ig(this,{emitEvent:b.emitEvent});this._onCollectionChange()};g.contains=function(a){return this.controls.hasOwnProperty(a)&&this.controls[a].enabled};
g.setValue=function(a,b){var c=this;b=void 0===b?{}:b;Fna(this,a);Object.keys(a).forEach(function(d){var e=c.controls;if(!Object.keys(e).length)throw new Hc(1E3,"");if(!e[d])throw new Hc(1001,"");c.controls[d].setValue(a[d],{onlySelf:!0,emitEvent:b.emitEvent})});Ig(this,b)};g.reset=function(a,b){a=void 0===a?{}:a;b=void 0===b?{}:b;this._forEachChild(function(c,d){c.reset(a?a[d]:null,{onlySelf:!0,emitEvent:b.emitEvent})});this._updatePristine(b);this._updateTouched(b);Ig(this,b)};
g.getRawValue=function(){return this._reduceChildren({},function(a,b,c){a[c]=b.getRawValue();return a})};g._syncPendingControls=function(){var a=this._reduceChildren(!1,function(b,c){return c._syncPendingControls()?!0:b});a&&Ig(this,{onlySelf:!0});return a};g._forEachChild=function(a){var b=this;Object.keys(this.controls).forEach(function(c){var d=b.controls[c];d&&a(d,c)})};g._setUpControls=function(){var a=this;this._forEachChild(function(b){b.setParent(a);b._registerOnCollectionChange(a._onCollectionChange)})};
g._updateValue=function(){this.value=this._reduceValue()};g._anyControls=function(a){for(var b=l(Object.entries(this.controls)),c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;if(this.contains(c)&&a(d))return!0}return!1};g._reduceValue=function(){var a=this;return this._reduceChildren({},function(b,c,d){if(c.enabled||a.disabled)b[d]=c.value;return b})};g._reduceChildren=function(a,b){var c=a;this._forEachChild(function(d,e){c=b(c,d,e)});return c};
g._allControlsDisabled=function(){for(var a=l(Object.keys(this.controls)),b=a.next();!b.done;b=a.next())if(this.controls[b.value].enabled)return!1;return 0<Object.keys(this.controls).length||this.disabled};g._find=function(a){return this.controls.hasOwnProperty(a)?this.controls[a]:null};var JPb={provide:vw,useExisting:Jc(function(){return Bw})},KPb=Promise.resolve(),Bw=function(a,b,c){vw.call(this);this.callSetDisabledState=c;this.submitted=!1;this._directives=new Set;this.ngSubmit=new mv;this.form=new Aw({},jna(a),lna(b))};Y(Bw,vw);g=Bw.prototype;g.ngAfterViewInit=function(){this._setUpdateStrategy()};
g.addControl=function(a){var b=this;KPb.then(function(){var c=b._findContainer(a.path);a.control=IPb(c,a.name,a.control);Hg(a.control,a,b.callSetDisabledState);Ig(a.control,{emitEvent:!1});b._directives.add(a)})};g.removeControl=function(a){var b=this;KPb.then(function(){var c=b._findContainer(a.path);c&&c.removeControl(a.name);b._directives.delete(a)})};g.updateModel=function(a,b){var c=this;KPb.then(function(){c.form.get(a.path).setValue(b)})};g.setValue=function(a){this.control.setValue(a)};
g.onSubmit=function(a){this.submitted=!0;Cna(this.form,this._directives);this.ngSubmit.emit(a);var b;return"dialog"===(null==a?void 0:null==(b=a.target)?void 0:b.method)};g.onReset=function(){this.resetForm()};g.resetForm=function(){this.form.reset(void 0);this.submitted=!1};g._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)};g._findContainer=function(a){a.pop();return a.length?this.form.get(a):this.form};
Gh.Object.defineProperties(Bw.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}}});Bw.\u0275fac=function(a){return new (a||Bw)(B(qw,10),B(rw,10),B(yw,8))};
Bw.\u0275dir=Vc({type:Bw,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(a,b){a&1&&Q("submit",function(c){return b.onSubmit(c)})("reset",function(){return b.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[bg([JPb]),yf]});var Cw=function(a,b,c){a=void 0===a?null:a;var d=zw.call,e=Ena(b);c=(Lg(b)?b.asyncValidators:c)||null;d.call(zw,this,e,c);this.defaultValue=null;this._onChange=[];this._pendingChange=!1;this._applyFormState(a);this._setUpdateStrategy(b);this._initObservables();Ig(this,{onlySelf:!0,emitEvent:!!this.asyncValidator});Lg(b)&&(b.nonNullable||b.initialValueIsDefault)&&(Gna(a)?this.defaultValue=a.value:this.defaultValue=a)};Y(Cw,zw);g=Cw.prototype;
g.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)});Ig(this,b)};g.reset=function(a,b){a=void 0===a?this.defaultValue:a;b=void 0===b?{}:b;this._applyFormState(a);HPb(this,b);GPb(this,b);this.setValue(this.value,b);this._pendingChange=!1};g._updateValue=function(){};g._anyControls=function(){return!1};g._allControlsDisabled=function(){return this.disabled};
g.registerOnChange=function(a){this._onChange.push(a)};g._unregisterOnChange=function(a){var b=this._onChange;a=b.indexOf(a);-1<a&&b.splice(a,1)};g._unregisterOnDisabledChange=function(a){var b=this._onDisabledChange;a=b.indexOf(a);-1<a&&b.splice(a,1)};g._forEachChild=function(){};
g._syncPendingControls=function(){return"submit"===this.updateOn&&(this._pendingDirty&&Ana(this),this._pendingTouched&&zna(this),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1};g._applyFormState=function(a){Gna(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 LPb={provide:uw,useExisting:Jc(function(){return Dw})},MPb=Promise.resolve(),Dw=function(a,b,c,d,e,f){uw.call(this);this._changeDetectorRef=e;this.callSetDisabledState=f;this.control=new Cw;this._registered=!1;this.name="";this.update=new mv;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=Dna(d)};Y(Dw,uw);g=Dw.prototype;
g.ngOnChanges=function(a){this._checkForErrors();if(!this._registered||"name"in a){if(this._registered&&(this._checkName(),this.formDirective)){var b=a.name.previousValue;this.formDirective.removeControl({name:b,path:this._getPath(b)})}this._setUpControl()}"isDisabled"in a&&this._updateDisabled(a);Bna(a,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)};g.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)};
g.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};g._setUpControl=function(){this._setUpdateStrategy();this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this);this._registered=!0};g._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)};g._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)};
g._setUpStandalone=function(){Hg(this.control,this,this.callSetDisabledState);Ig(this.control,{emitEvent:!1})};g._checkForErrors=function(){this._checkName()};g._checkParentType=function(){};g._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name)};g._updateValue=function(a){var b=this;MPb.then(function(){b.control.setValue(a,{emitViewToModelChange:!1});var c;null==(c=b._changeDetectorRef)||c.markForCheck()})};
g._updateDisabled=function(a){var b=this;a=a.isDisabled.currentValue;var c=0!==a&&ug(a);MPb.then(function(){c&&!b.control.disabled?b.control.disable():!c&&b.control.disabled&&b.control.enable();var d;null==(d=b._changeDetectorRef)||d.markForCheck()})};g._getPath=function(a){return this._parent?nna(a,this._parent):[a]};
Gh.Object.defineProperties(Dw.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}}});Dw.\u0275fac=function(a){return new (a||Dw)(B(vw,9),B(qw,10),B(rw,10),B(jw,10),B(Fu,8),B(yw,8))};
Dw.\u0275dir=Vc({type:Dw,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[bg([LPb]),yf,ld]});var Ew=function(){};Ew.\u0275fac=function(a){return new (a||Ew)};Ew.\u0275dir=Vc({type:Ew,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});var NPb={provide:jw,useExisting:Jc(function(){return Fw}),multi:!0},Fw=function(){Kg.apply(this,arguments)};Y(Fw,Kg);Fw.prototype.writeValue=function(a){this.setProperty("value",null==a?"":a)};Fw.prototype.registerOnChange=function(a){this.onChange=function(b){a(""==b?null:parseFloat(b))}};Fw.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(Fw)))(b||Fw)}}();
Fw.\u0275dir=Vc({type:Fw,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(a,b){a&1&&Q("input",function(c){return b.onChange(c.target.value)})("blur",function(){return b.onTouched()})},features:[bg([NPb]),yf]});var OPb={provide:jw,useExisting:Jc(function(){return Gw}),multi:!0},Hw=function(){};Hw.\u0275fac=function(a){return new (a||Hw)};Hw.\u0275mod=Tc({type:Hw});Hw.\u0275inj=Ec({});var Iw=function(){this._accessors=[]};Iw.prototype.add=function(a,b){this._accessors.push([a,b])};Iw.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}};
Iw.prototype.select=function(a){var b=this;this._accessors.forEach(function(c){b._isSameGroup(c,a)&&c[1]!==a&&c[1].writeValue(a.value)})};Iw.prototype._isSameGroup=function(a,b){return a[0].control?a[0]._parent===b._control._parent&&a[1].name===b.name:!1};Iw.\u0275fac=function(a){return new (a||Iw)};Iw.\u0275prov=Dc({token:Iw,factory:Iw.\u0275fac,providedIn:Hw});
var Gw=function(a,b,c,d){Kg.call(this,a,b);this._registry=c;this._injector=d;this.setDisabledStateFired=!1;this.onChange=function(){};var e;this.callSetDisabledState=null!=(e=Nc(yw,{optional:!0}))?e:"whenDisabledForLegacyCode"};Y(Gw,Kg);g=Gw.prototype;g.ngOnInit=function(){this._control=this._injector.get(uw);this._checkName();this._registry.add(this._control,this)};g.ngOnDestroy=function(){this._registry.remove(this)};
g.writeValue=function(a){this._state=a===this.value;this.setProperty("checked",this._state)};g.registerOnChange=function(a){var b=this;this._fn=a;this.onChange=function(){a(b.value);b._registry.select(b)}};g.setDisabledState=function(a){(this.setDisabledStateFired||a||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",a);this.setDisabledStateFired=!0};g._checkName=function(){!this.name&&this.formControlName&&(this.name=this.formControlName)};
Gw.\u0275fac=function(a){return new (a||Gw)(B(Eu),B(Hd),B(Iw),B(ff))};Gw.\u0275dir=Vc({type:Gw,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(a,b){a&1&&Q("change",function(){return b.onChange()})("blur",function(){return b.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[bg([OPb]),yf]});var PPb=new bd("NgModelWithFormControlWarning"),QPb={provide:uw,useExisting:Jc(function(){return Jw})},Jw=function(a,b,c,d,e){uw.call(this);this._ngModelWarningConfig=d;this.callSetDisabledState=e;this.update=new mv;this._ngModelWarningSent=!1;this._setValidators(a);this._setAsyncValidators(b);this.valueAccessor=Dna(c)};Y(Jw,uw);
Jw.prototype.ngOnChanges=function(a){if(this._isControlChanged(a)){var b=a.form.previousValue;b&&una(b,this);Hg(this.form,this,this.callSetDisabledState);Ig(this.form,{emitEvent:!1})}Bna(a,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)};Jw.prototype.ngOnDestroy=function(){this.form&&una(this.form,this)};Jw.prototype.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};Jw.prototype._isControlChanged=function(a){return a.hasOwnProperty("form")};
Gh.Object.defineProperties(Jw.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}}});Jw.\u0275fac=function(a){return new (a||Jw)(B(qw,10),B(rw,10),B(jw,10),B(PPb,8),B(yw,8))};
Jw.\u0275dir=Vc({type:Jw,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[bg([QPb]),yf,ld]});var RPb={provide:vw,useExisting:Jc(function(){return Kw})},Kw=function(a,b,c){vw.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 mv;this._setValidators(a);this._setAsyncValidators(b)};Y(Kw,vw);g=Kw.prototype;g.ngOnChanges=function(a){a.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)};
g.ngOnDestroy=function(){this.form&&(tna(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))};g.addControl=function(a){var b=this.form.get(a.path);Hg(b,a,this.callSetDisabledState);Ig(b,{emitEvent:!1});this.directives.push(a);return b};g.removeControl=function(a){una(a.control||null,a);var b=this.directives;a=b.indexOf(a);-1<a&&b.splice(a,1)};g.updateModel=function(a,b){this.form.get(a.path).setValue(b)};
g.onSubmit=function(a){this.submitted=!0;Cna(this.form,this.directives);this.ngSubmit.emit(a);var b;return"dialog"===(null==a?void 0:null==(b=a.target)?void 0:b.method)};g.onReset=function(){this.resetForm()};g.resetForm=function(){this.form.reset(void 0);this.submitted=!1};g._updateDomValue=function(){var a=this;this.directives.forEach(function(b){var c=b.control,d=a.form.get(b.path);c!==d&&(una(c||null,b),d instanceof Cw&&(Hg(d,b,a.callSetDisabledState),b.control=d))});this.form._updateTreeValidity({emitEvent:!1})};
g._setUpFormContainer=function(a){var b=this.form.get(a.path);ona(b,a);Ig(b,{emitEvent:!1})};g._cleanUpFormContainer=function(a){if(this.form){var b=this.form.get(a.path);b&&tna(b,a)&&Ig(b,{emitEvent:!1})}};g._updateRegistrations=function(){this.form._registerOnCollectionChange(this._onCollectionChange);this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})};g._updateValidators=function(){ona(this.form,this);this._oldForm&&tna(this._oldForm,this)};g._checkFormPresent=function(){};
Gh.Object.defineProperties(Kw.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[]}}});Kw.\u0275fac=function(a){return new (a||Kw)(B(qw,10),B(rw,10),B(yw,8))};
Kw.\u0275dir=Vc({type:Kw,selectors:[["","formGroup",""]],hostBindings:function(a,b){a&1&&Q("submit",function(c){return b.onSubmit(c)})("reset",function(){return b.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[bg([RPb]),yf,ld]});var SPb={provide:uw,useExisting:Jc(function(){return Lw})},Lw=function(a,b,c,d,e){uw.call(this);this._ngModelWarningConfig=e;this._added=!1;this.name=null;this.update=new mv;this._ngModelWarningSent=!1;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=Dna(d)};Y(Lw,uw);g=Lw.prototype;g.ngOnChanges=function(a){this._added||this._setUpControl();Bna(a,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))};
g.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)};g.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};g._checkParentType=function(){};g._setUpControl=function(){this.control=this.formDirective.addControl(this);this._added=!0};
Gh.Object.defineProperties(Lw.prototype,{isDisabled:{configurable:!0,enumerable:!0,set:function(){}},path:{configurable:!0,enumerable:!0,get:function(){return nna(null==this.name?this.name:this.name.toString(),this._parent)}},formDirective:{configurable:!0,enumerable:!0,get:function(){return this._parent?this._parent.formDirective:null}}});Lw.\u0275fac=function(a){return new (a||Lw)(B(vw,13),B(qw,10),B(rw,10),B(jw,10),B(PPb,8))};
Lw.\u0275dir=Vc({type:Lw,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[bg([SPb]),yf,ld]});var Mw=function(){this._validator=bna};Mw.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):bna,this._onChange&&this._onChange())};Mw.prototype.validate=function(a){return this._validator(a)};Mw.prototype.registerOnValidatorChange=function(a){this._onChange=a};Mw.prototype.enabled=function(a){return null!=a};Mw.\u0275fac=function(a){return new (a||Mw)};
Mw.\u0275dir=Vc({type:Mw,features:[ld]});var TPb={provide:qw,useExisting:Jc(function(){return Nw}),multi:!0},Nw=function(){Mw.apply(this,arguments);this.inputName="min";this.normalizeInput=function(a){return"number"===typeof a?a:parseFloat(a)};this.createValidator=function(a){return Zma(a)}};Y(Nw,Mw);Nw.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(Nw)))(b||Nw)}}();
Nw.\u0275dir=Vc({type:Nw,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&&Af("min",b._enabled?b.min:null)},inputs:{min:"min"},features:[bg([TPb]),yf]});var UPb={provide:qw,useExisting:Jc(function(){return Ow}),multi:!0},Ow=function(){Mw.apply(this,arguments);this.inputName="required";this.normalizeInput=ug;this.createValidator=function(){return $ma}};
Y(Ow,Mw);Ow.prototype.enabled=function(a){return a};Ow.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(Ow)))(b||Ow)}}();Ow.\u0275dir=Vc({type:Ow,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(a,b){a&2&&Af("required",b._enabled?"":null)},inputs:{required:"required"},features:[bg([UPb]),yf]});
var VPb={provide:qw,useExisting:Jc(function(){return Pw}),multi:!0},Pw=function(){Mw.apply(this,arguments);this.inputName="maxlength";this.normalizeInput=function(a){return"number"===typeof a?a:parseInt(a,10)};this.createValidator=function(a){return ana(a)}};Y(Pw,Mw);Pw.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(Pw)))(b||Pw)}}();
Pw.\u0275dir=Vc({type:Pw,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&Af("maxlength",b._enabled?b.maxlength:null)},inputs:{maxlength:"maxlength"},features:[bg([VPb]),yf]});var WPb={provide:qw,useExisting:Jc(function(){return Qw}),multi:!0},Qw=function(){Mw.apply(this,arguments);this.inputName="pattern";this.normalizeInput=function(a){return a};this.createValidator=function(a){return cna(a)}};
Y(Qw,Mw);Qw.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(Qw)))(b||Qw)}}();Qw.\u0275dir=Vc({type:Qw,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&Af("pattern",b._enabled?b.pattern:null)},inputs:{pattern:"pattern"},features:[bg([WPb]),yf]});var Rw=function(){};Rw.\u0275fac=function(a){return new (a||Rw)};Rw.\u0275mod=Tc({type:Rw});Rw.\u0275inj=Ec({imports:[Hw]});var Tw=function(){};Tw.\u0275fac=function(a){return new (a||Tw)};Tw.\u0275mod=Tc({type:Tw});Tw.\u0275inj=Ec({imports:[Rw]});var Uw=function(){};Uw.\u0275fac=function(a){return new (a||Uw)};Uw.\u0275mod=Tc({type:Uw});Uw.\u0275inj=Ec({imports:[Rw]});new Hv;var Jna,Kna="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 Ng;var Ona,Pg;var Qna;var XPb;try{XPb="undefined"!==typeof Intl&&Intl.v8BreakIterator}catch(a){XPb=!1}
var Vw=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&&!XPb)&&"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};Vw.\u0275fac=function(a){return new (a||Vw)(p(gf))};Vw.\u0275prov=Dc({token:Vw,factory:Vw.\u0275fac,providedIn:"root"});var YPb=new bd("cdk-input-modality-detector-options"),ZPb={ignoreKeys:[18,17,224,91,16]},Ww=Og({passive:!0,capture:!0}),Xw=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(f){var h,k;(null==(h=e._options)?0:null==(k=h.ignoreKeys)?0:k.some(function(q){return q===f.keyCode}))||(e._modality.next("keyboard"),e._mostRecentTarget=Rg(f))};this._onMousedown=function(f){650>Date.now()-e._lastTouchMs||
(e._modality.next(Hna(f)?"keyboard":"mouse"),e._mostRecentTarget=Rg(f))};this._onTouchstart=function(f){Ina(f)?e._modality.next("keyboard"):(e._lastTouchMs=Date.now(),e._modality.next("touch"),e._mostRecentTarget=Rg(f))};this._options=Object.assign({},ZPb,d);this.modalityDetected=this._modality.pipe(Ze(1));this.modalityDetected.pipe(Pe());a.isBrowser&&b.runOutsideAngular(function(){c.addEventListener("keydown",e._onKeydown,Ww);c.addEventListener("mousedown",e._onMousedown,Ww);c.addEventListener("touchstart",
e._onTouchstart,Ww)})};Xw.prototype.ngOnDestroy=function(){this._modality.complete();this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ww),document.removeEventListener("mousedown",this._onMousedown,Ww),document.removeEventListener("touchstart",this._onTouchstart,Ww))};Gh.Object.defineProperties(Xw.prototype,{mostRecentModality:{configurable:!0,enumerable:!0,get:function(){return this._modality.value}}});
Xw.\u0275fac=function(a){return new (a||Xw)(p(Vw),p(ef),p(Xg),p(YPb,8))};Xw.\u0275prov=Dc({token:Xw,factory:Xw.\u0275fac,providedIn:"root"});var $Pb=new bd("cdk-focus-monitor-default-options"),aQb=Og({passive:!0,capture:!0}),Yw=function(a,b,c,d,e){var f=this;this._ngZone=a;this._platform=b;this._inputModalityDetector=c;this._origin=null;this._originFromTouchInteraction=this._windowFocused=!1;this._elementInfo=new Map;this._monitoredElementCount=0;this._rootNodeFocusListenerCount=new Map;this._windowFocusListener=function(){f._windowFocused=!0;f._windowFocusTimeoutId=window.setTimeout(function(){return f._windowFocused=!1})};this._stopInputModalityDetector=
new E.Subject;this._rootNodeFocusAndBlurListener=function(h){for(var k=Rg(h);k;k=k.parentElement)"focus"===h.type?f._onFocus(h,k):f._onBlur(h,k)};this._document=d;this._detectionMode=(null==e?void 0:e.detectionMode)||0};
Yw.prototype.monitor=function(a,b){b=void 0===b?!1:b;a=Ug(a);if(!this._platform.isBrowser||1!==a.nodeType)return(0,E.of)();var c=Rna(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};
Yw.prototype.stopMonitoring=function(a){a=Ug(a);var b=this._elementInfo.get(a);b&&(b.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(b))};var Zw=function(a,b,c,d){b=Ug(b);b===a._getDocument().activeElement?a._getClosestElementsInfo(b).forEach(function(e){var f=l(e);e=f.next().value;f=f.next().value;return a._originChanged(e,c,f)}):(a._setOrigin(c),"function"===typeof b.focus&&b.focus(d))};g=Yw.prototype;
g.ngOnDestroy=function(){var a=this;this._elementInfo.forEach(function(b,c){return a.stopMonitoring(c)})};g._getDocument=function(){return this._document||document};g._getWindow=function(){return this._getDocument().defaultView||window};
g._getFocusOrigin=function(a){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(a)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:a&&this._isLastInteractionFromInputLabel(a)?"mouse":"program"};g._shouldBeAttributedToTouch=function(a){return 1===this._detectionMode||!(null==a||!a.contains(this._inputModalityDetector._mostRecentTarget))};
g._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)};
g._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))})};g._onFocus=function(a,b){var c=this._elementInfo.get(b);a=Rg(a);c&&(c.checkChildren||b===a)&&this._originChanged(b,this._getFocusOrigin(a),c)};
g._onBlur=function(a,b){var c=this._elementInfo.get(b);!c||c.checkChildren&&a.relatedTarget instanceof Node&&b.contains(a.relatedTarget)||(this._setClasses(b),this._emitOrigin(c,null))};g._emitOrigin=function(a,b){a.subject.observers.length&&this._ngZone.run(function(){return a.subject.next(b)})};
g._registerGlobalListeners=function(a){var b=this;if(this._platform.isBrowser){var c=a.rootNode;(a=this._rootNodeFocusListenerCount.get(c)||0)||this._ngZone.runOutsideAngular(function(){c.addEventListener("focus",b._rootNodeFocusAndBlurListener,aQb);c.addEventListener("blur",b._rootNodeFocusAndBlurListener,aQb)});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)}))}};
g._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,aQb),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,aQb),this._rootNodeFocusListenerCount.delete(a))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),
clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))};g._originChanged=function(a,b,c){this._setClasses(a,b);this._emitOrigin(c,b);this._lastFocusOrigin=b};g._getClosestElementsInfo=function(a){var b=[];this._elementInfo.forEach(function(c,d){(d===a||c.checkChildren&&d.contains(a))&&b.push([d,c])});return b};
g._isLastInteractionFromInputLabel=function(a){var b=this._inputModalityDetector,c=b._mostRecentTarget;if("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};Yw.\u0275fac=function(a){return new (a||Yw)(p(ef),p(Vw),p(Xw),p(Xg,8),p($Pb,8))};Yw.\u0275prov=Dc({token:Yw,factory:Yw.\u0275fac,providedIn:"root"});
var $w=function(a,b){this._elementRef=a;this._focusMonitor=b;this._focusOrigin=null;this.cdkFocusChange=new mv};$w.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)})};$w.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._monitorSubscription&&this._monitorSubscription.unsubscribe()};
Gh.Object.defineProperties($w.prototype,{focusOrigin:{configurable:!0,enumerable:!0,get:function(){return this._focusOrigin}}});$w.\u0275fac=function(a){return new (a||$w)(B(Hd),B(Yw))};$w.\u0275dir=Vc({type:$w,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0});var ax=function(a){this._platform=a};ax.prototype.isDisabled=function(a){return a.hasAttribute("disabled")};ax.prototype.isVisible=function(a){return!!(a.offsetWidth||a.offsetHeight||"function"===typeof a.getClientRects&&a.getClientRects().length)&&"visible"===getComputedStyle(a).visibility};
var bQb=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===Wna(c)||!a.isVisible(c)))return!1;c=b.nodeName.toLowerCase();var d=Wna(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 f="input"===e&&b.type;e=!("text"===f||"password"===f||"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};
ax.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")||Vna(a);return c&&!this.isDisabled(a)&&((null==b?void 0:b.ignoreVisibility)||this.isVisible(a))};ax.\u0275fac=function(a){return new (a||ax)(p(Vw))};ax.\u0275prov=Dc({token:ax,factory:ax.\u0275fac,providedIn:"root"});var dx=function(a,b,c,d,e){var f=this;this._element=a;this._checker=b;this._ngZone=c;this._document=d;this._hasAttached=!1;this.startAnchorListener=function(){return cQb(f)};this.endAnchorListener=function(){return bx(f)};this._enabled=!0;(void 0===e?0:e)||cx(this)};
dx.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 cx=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))},dQb=function(a){return new Promise(function(b){a._executeOnStable(function(){return b(a.focusInitialElement())})})};
dx.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)};
dx.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 bx(this)};var bx=function(a){(a=a._getRegionBoundary("start"))&&a.focus(void 0);return!!a},cQb=function(a){(a=a._getRegionBoundary("end"))&&a.focus(void 0);return!!a};g=dx.prototype;g.hasAttached=function(){return this._hasAttached};
g._getFirstTabbableElement=function(a){if(this._checker.isFocusable(a)&&bQb(this._checker,a))return a;a=a.children;for(var b=0;b<a.length;b++){var c=a[b].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(a[b]):null;if(c)return c}return null};g._getLastTabbableElement=function(a){if(this._checker.isFocusable(a)&&bQb(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};
g._createAnchor=function(){var a=this._document.createElement("div");this._toggleAnchorTabIndex(this._enabled,a);a.classList.add("cdk-visually-hidden");a.classList.add("cdk-focus-trap-anchor");a.setAttribute("aria-hidden","true");return a};g._toggleAnchorTabIndex=function(a,b){a?b.setAttribute("tabindex","0"):b.removeAttribute("tabindex")};var eQb=function(a,b){a._startAnchor&&a._endAnchor&&(a._toggleAnchorTabIndex(b,a._startAnchor),a._toggleAnchorTabIndex(b,a._endAnchor))};
dx.prototype._executeOnStable=function(a){this._ngZone.isStable?a():this._ngZone.onStable.pipe(Qe()).subscribe(a)};Gh.Object.defineProperties(dx.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 ex=function(a,b,c){this._checker=a;this._ngZone=b;this._document=c};
ex.prototype.create=function(a,b){return new dx(a,this._checker,this._ngZone,this._document,void 0===b?!1:b)};ex.\u0275fac=function(a){return new (a||ex)(p(ax),p(ef),p(Xg))};ex.\u0275prov=Dc({token:ex,factory:ex.\u0275fac,providedIn:"root"});var fx=function(a,b){this._elementRef=a;this._focusTrapFactory=b;this._previouslyFocusedElement=null;this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)};g=fx.prototype;
g.ngOnDestroy=function(){this.focusTrap.destroy();this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)};g.ngAfterContentInit=function(){cx(this.focusTrap);this.autoCapture&&this._captureFocus()};g.ngDoCheck=function(){this.focusTrap.hasAttached()||cx(this.focusTrap)};g.ngOnChanges=function(a){(a=a.autoCapture)&&!a.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()};
g._captureFocus=function(){this._previouslyFocusedElement=Qg();dQb(this.focusTrap)};Gh.Object.defineProperties(fx.prototype,{enabled:{configurable:!0,enumerable:!0,get:function(){return this.focusTrap.enabled},set:function(a){this.focusTrap.enabled=a}}});fx.\u0275fac=function(a){return new (a||fx)(B(Hd),B(ex),B(Xg))};
fx.\u0275dir=Vc({type:fx,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled",ug],autoCapture:["cdkTrapFocusAutoCapture","autoCapture",ug]},exportAs:["cdkTrapFocus"],standalone:!0,features:[zf,ld]});var fQb=new Set,gx,hx=function(a,b){this._platform=a;this._nonce=b;this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Xna};hx.prototype.matchMedia=function(a){if(this._platform.WEBKIT||this._platform.BLINK){var b=this._nonce;if(!fQb.has(a))try{gx||(gx=document.createElement("style"),b&&(gx.nonce=b),gx.setAttribute("type","text/css"),document.head.appendChild(gx)),gx.sheet&&(gx.sheet.insertRule("@media "+a+" {body{ }}",0),fQb.add(a))}catch(c){console.error(c)}}return this._matchMedia(a)};
hx.\u0275fac=function(a){return new (a||hx)(p(Vw),p(hNb,8))};hx.\u0275prov=Dc({token:hx,factory:hx.\u0275fac,providedIn:"root"});var ix=function(a,b){this._mediaMatcher=a;this._zone=b;this._queries=new Map;this._destroySubject=new E.Subject};ix.prototype.ngOnDestroy=function(){this._destroySubject.next();this._destroySubject.complete()};
ix.prototype.observe=function(a){var b=this;a=Yna(Tna(a)).map(function(c){return b._registerQuery(c).observable});a=(0,E.combineLatest)(a);a=(0,E.concat)(a.pipe(Qe()),a.pipe(Ze(1),Ne(0)));return a.pipe(D(function(c){var d={matches:!1,breakpoints:{}};c.forEach(function(e){var f=e.matches;e=e.query;d.matches=d.matches||f;d.breakpoints[e]=f});return d}))};
ix.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 f=function(h){return b._zone.run(function(){return e.next(h)})};c.addListener(f);return function(){c.removeListener(f)}})).pipe($e(c),D(function(e){return{query:a,matches:e.matches}}),bf(this._destroySubject)),mql:c};this._queries.set(a,d);return d};ix.\u0275fac=function(a){return new (a||ix)(p(hx),p(ef))};
ix.\u0275prov=Dc({token:ix,factory:ix.\u0275fac,providedIn:"root"});var jx=function(a,b){var c=this;this._platform=a;this._document=b;this._breakpointSubscription=Nc(ix).observe("(forced-colors: active)").subscribe(function(){c._hasCheckedHighContrastMode&&(c._hasCheckedHighContrastMode=!1,c._applyBodyHighContrastModeCssClasses())})},gQb=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};jx.prototype.ngOnDestroy=function(){this._breakpointSubscription.unsubscribe()};
jx.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=gQb(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")}};
jx.\u0275fac=function(a){return new (a||jx)(p(Vw),p(Xg))};jx.\u0275prov=Dc({token:jx,factory:jx.\u0275fac,providedIn:"root"});var hQb=new bd("liveAnnouncerElement",{providedIn:"root",factory:Zna}),iQb=new bd("LIVE_ANNOUNCER_DEFAULT_OPTIONS");var kx=function(){};kx.prototype.create=function(a){return"undefined"===typeof MutationObserver?null:new MutationObserver(a)};kx.\u0275fac=function(a){return new (a||kx)};kx.\u0275prov=Dc({token:kx,factory:kx.\u0275fac,providedIn:"root"});var lx=function(a){this._mutationObserverFactory=a;this._observedElements=new Map};g=lx.prototype;g.ngOnDestroy=function(){var a=this;this._observedElements.forEach(function(b,c){return a._cleanupObserver(c)})};
g.observe=function(a){var b=this,c=Ug(a);return new E.Observable(function(d){var e=b._observeElement(c).subscribe(d);return function(){e.unsubscribe();b._unobserveElement(c)}})};g._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};
g._unobserveElement=function(a){this._observedElements.has(a)&&(this._observedElements.get(a).count--,this._observedElements.get(a).count||this._cleanupObserver(a))};g._cleanupObserver=function(a){if(this._observedElements.has(a)){var b=this._observedElements.get(a),c=b.observer;b=b.stream;c&&c.disconnect();b.complete();this._observedElements.delete(a)}};lx.\u0275fac=function(a){return new (a||lx)(p(kx))};lx.\u0275prov=Dc({token:lx,factory:lx.\u0275fac,providedIn:"root"});
var mx=function(a,b,c){this._contentObserver=a;this._elementRef=b;this._ngZone=c;this.event=new mv;this._disabled=!1;this._currentSubscription=null};mx.prototype.ngAfterContentInit=function(){this._currentSubscription||this.disabled||this._subscribe()};mx.prototype.ngOnDestroy=function(){this._unsubscribe()};
mx.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(Ne(a.debounce)):b).subscribe(a.event)})};mx.prototype._unsubscribe=function(){var a;null==(a=this._currentSubscription)||a.unsubscribe()};
Gh.Object.defineProperties(mx.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){(this._disabled=a)?this._unsubscribe():this._subscribe()}},debounce:{configurable:!0,enumerable:!0,get:function(){return this._debounce},set:function(a){this._debounce=Vg(a);this._subscribe()}}});mx.\u0275fac=function(a){return new (a||mx)(B(lx),B(Hd),B(ef))};
mx.\u0275dir=Vc({type:mx,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled",ug],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[zf]});var nx=function(){};nx.\u0275fac=function(a){return new (a||nx)};nx.\u0275mod=Tc({type:nx});nx.\u0275inj=Ec({providers:[kx]});var jQb=0,ox=function(a,b,c,d){this._ngZone=b;this._defaultOptions=d;this._document=c;this._liveElement=a||this._createLiveElement()};g=ox.prototype;
g.announce=function(a){var b=$c.apply(1,arguments),c=this,d=this._defaultOptions;if(1===b.length&&"number"===typeof b[0])var e=b[0];else{b=l(b);var f=b.next().value;e=b.next().value}this.clear();clearTimeout(this._previousTimeout);f||(f=d&&d.politeness?d.politeness:"polite");null==e&&d&&(e=d.duration);this._liveElement.setAttribute("aria-live",f);this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id);return this._ngZone.runOutsideAngular(function(){c._currentPromise||(c._currentPromise=
new Promise(function(h){return c._currentResolve=h}));clearTimeout(c._previousTimeout);c._previousTimeout=setTimeout(function(){c._liveElement.textContent=a;"number"===typeof e&&(c._previousTimeout=setTimeout(function(){return c.clear()},e));c._currentResolve();c._currentPromise=c._currentResolve=void 0},100);return c._currentPromise})};g.clear=function(){this._liveElement&&(this._liveElement.textContent="")};
g.ngOnDestroy=function(){clearTimeout(this._previousTimeout);var a;null==(a=this._liveElement)||a.remove();this._liveElement=null;var b;null==(b=this._currentResolve)||b.call(this);this._currentPromise=this._currentResolve=void 0};
g._createLiveElement=function(){for(var a=this._document.getElementsByClassName("cdk-live-announcer-element"),b=this._document.createElement("div"),c=0;c<a.length;c++)a[c].remove();b.classList.add("cdk-live-announcer-element");b.classList.add("cdk-visually-hidden");b.setAttribute("aria-atomic","true");b.setAttribute("aria-live","polite");b.id="cdk-live-announcer-"+jQb++;this._document.body.appendChild(b);return b};
g._exposeAnnouncerToModals=function(a){for(var b=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]'),c=0;c<b.length;c++){var d=b[c],e=d.getAttribute("aria-owns");e?-1===e.indexOf(a)&&d.setAttribute("aria-owns",e+" "+a):d.setAttribute("aria-owns",a)}};ox.\u0275fac=function(a){return new (a||ox)(p(hQb,8),p(ef),p(Xg),p(iQb,8))};ox.\u0275prov=Dc({token:ox,factory:ox.\u0275fac,providedIn:"root"});var px=function(a){a._applyBodyHighContrastModeCssClasses()};px.\u0275fac=function(a){return new (a||px)(p(jx))};px.\u0275mod=Tc({type:px});px.\u0275inj=Ec({imports:[nx]});var coa=0,qx=function(a,b){this._platform=b;this._messageRegistry=new Map;this._messagesContainer=null;this._id=""+coa++;this._document=a;this._id=Nc(gNb)+"-"+coa++};qx.prototype.describe=function(a,b,c){if(this._canBeDescribed(a,b)){var d=boa(b,c);"string"!==typeof b?(doa(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 rx=function(a,b,c,d){if(c&&a._isElementNode(b)){d=boa(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)}};g=qx.prototype;
g.ngOnDestroy=function(){for(var a=this._document.querySelectorAll('[cdk-describedby-host="'+this._id+'"]'),b=0;b<a.length;b++)this._removeCdkDescribedByReferenceIds(a[b]),a[b].removeAttribute("cdk-describedby-host");var c;null==(c=this._messagesContainer)||c.remove();this._messagesContainer=null;this._messageRegistry.clear()};
g._createMessageElement=function(a,b){var c=this._document.createElement("div");doa(c,this._id);c.textContent=a;b&&c.setAttribute("role",b);this._createMessagesContainer();this._messagesContainer.appendChild(c);this._messageRegistry.set(boa(a,b),{messageElement:c,referenceCount:0})};g._deleteMessageElement=function(a){var b,c;null==(b=this._messageRegistry.get(a))||null==(c=b.messageElement)||c.remove();this._messageRegistry.delete(a)};
g._createMessagesContainer=function(){if(!this._messagesContainer){for(var a=this._document.querySelectorAll('.cdk-describedby-message-container[platform="server"]'),b=0;b<a.length;b++)a[b].remove();a=this._document.createElement("div");a.style.visibility="hidden";a.classList.add("cdk-describedby-message-container");a.classList.add("cdk-visually-hidden");this._platform&&!this._platform.isBrowser&&a.setAttribute("platform","server");this._document.body.appendChild(a);this._messagesContainer=a}};
g._removeCdkDescribedByReferenceIds=function(a){var b=$na(a,"aria-describedby").filter(function(c){return 0!=c.indexOf("cdk-describedby-message")});a.setAttribute("aria-describedby",b.join(" "))};g._addMessageReference=function(a,b){b=this._messageRegistry.get(b);aoa(a,"aria-describedby",b.messageElement.id);a.setAttribute("cdk-describedby-host",this._id);b.referenceCount++};
g._removeMessageReference=function(a,b){b=this._messageRegistry.get(b);b.referenceCount--;Wg(a,"aria-describedby",b.messageElement.id);a.removeAttribute("cdk-describedby-host")};g._isElementDescribedByMessage=function(a,b){a=$na(a,"aria-describedby");b=(b=this._messageRegistry.get(b))&&b.messageElement.id;return!!b&&-1!=a.indexOf(b)};
g._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};g._isElementNode=function(a){return a.nodeType===this._document.ELEMENT_NODE};qx.\u0275fac=function(a){return new (a||qx)(p(Xg),p(Vw))};qx.\u0275prov=Dc({token:qx,factory:qx.\u0275fac,providedIn:"root"});var sx=function(a,b,c,d,e,f,h){dx.call(this,a,b,c,d,h.defer);this._focusTrapManager=e;this._inertStrategy=f;this._focusTrapManager.register(this)};Y(sx,dx);sx.prototype.destroy=function(){this._focusTrapManager.deregister(this);dx.prototype.destroy.call(this)};sx.prototype._enable=function(){kQb(this._inertStrategy,this);eQb(this,!0)};sx.prototype._disable=function(){var a=this._inertStrategy;a._listener&&(this._document.removeEventListener("focus",a._listener,!0),a._listener=null);eQb(this,!1)};
Gh.Object.defineProperties(sx.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 lQb=function(){this._listener=null},kQb=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)})};lQb.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)&&bx(a)})};var mQb=new bd("FOCUS_TRAP_INERT_STRATEGY");var tx=function(){this._focusTrapStack=[]};tx.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()};tx.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())};tx.\u0275fac=function(a){return new (a||tx)};tx.\u0275prov=Dc({token:tx,factory:tx.\u0275fac,providedIn:"root"});var ux=function(a,b,c,d,e){this._checker=a;this._ngZone=b;this._focusTrapManager=c;this._document=d;this._inertStrategy=e||new lQb};ux.prototype.create=function(a,b){b=void 0===b?{defer:!1}:b;var c;"boolean"===typeof b?c={defer:b}:c=b;return new sx(a,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,c)};ux.\u0275fac=function(a){return new (a||ux)(p(ax),p(ef),p(tx),p(Xg),p(mQb,8))};ux.\u0275prov=Dc({token:ux,factory:ux.\u0275fac,providedIn:"root"});var vx=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 rg&&(this._itemChangesSubscription=a.changes.subscribe(function(c){b._activeItem&&
(c=c.toArray().indexOf(b._activeItem),-1<c&&c!==b._activeItemIndex&&(b._activeItemIndex=c))}))},wx=function(a,b){a._skipPredicateFn=b;return a},xx=function(a){a._wrap=!0;return a},yx=function(a,b){a._vertical=void 0===b?!0:b;return a},zx=function(a,b){a._horizontal=b;return a},nQb=function(a){a._allowedModifierKeys=["shiftKey"];return a},oQb=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)}),
Ne(b),He(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 f=(a._activeItemIndex+e)%d.length,h=d[f];if(!a._skipPredicateFn(h)&&0===h.getLabel().toUpperCase().trim().indexOf(c)){a.setActiveItem(f);break}}a._pressedLetters=[]});return a},Ax=function(a){a._homeAndEnd=!0;return a},pQb=function(a){a._pageUpAndDown={enabled:!0,delta:10};return a};
vx.prototype.setActiveItem=function(a){var b=this._activeItem;Bx(this,a);this._activeItem!==b&&this.change.next(this._activeItemIndex)};
vx.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){qQb(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||Mg(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 qQb=function(a){a._setActiveItemByIndex(a._items.length-1,-1)};vx.prototype.setNextItemActive=function(){0>this._activeItemIndex?this._setActiveItemByIndex(0,1):this._setActiveItemByDelta(1)};
vx.prototype.setPreviousItemActive=function(){0>this._activeItemIndex&&this._wrap?qQb(this):this._setActiveItemByDelta(-1)};var Bx=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};g=vx.prototype;
g.destroy=function(){this._typeaheadSubscription.unsubscribe();var a;null==(a=this._itemChangesSubscription)||a.unsubscribe();this._letterKeyStream.complete();this.tabOut.complete();this.change.complete();this._pressedLetters=[]};g._setActiveItemByDelta=function(a){this._wrap?this._setActiveInWrapMode(a):this._setActiveInDefaultMode(a)};
g._setActiveInWrapMode=function(a){for(var b=this._getItemsArray(),c=1;c<=b.length;c++){var d=(this._activeItemIndex+a*c+b.length)%b.length;if(!this._skipPredicateFn(b[d])){this.setActiveItem(d);break}}};g._setActiveInDefaultMode=function(a){this._setActiveItemByIndex(this._activeItemIndex+a,a)};g._setActiveItemByIndex=function(a,b){var c=this._getItemsArray();if(c[a]){for(;this._skipPredicateFn(c[a]);)if(a+=b,!c[a])return;this.setActiveItem(a)}};
g._getItemsArray=function(){return this._items instanceof rg?this._items.toArray():this._items};Gh.Object.defineProperties(vx.prototype,{activeItemIndex:{configurable:!0,enumerable:!0,get:function(){return this._activeItemIndex}},activeItem:{configurable:!0,enumerable:!0,get:function(){return this._activeItem}}});var Cx=function(){vx.apply(this,arguments)};Y(Cx,vx);Cx.prototype.setActiveItem=function(a){this.activeItem&&this.activeItem.setInactiveStyles();vx.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.setActiveStyles()};var Dx=function(){vx.apply(this,arguments);this._origin="program"};Y(Dx,vx);var rQb=function(a,b){a._origin=b;return a};Dx.prototype.setActiveItem=function(a){vx.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.focus(this._origin)};var Ex=function(a){this._attachedOverlays=[];this._document=a};Ex.prototype.ngOnDestroy=function(){this.detach()};Ex.prototype.add=function(a){this.remove(a);this._attachedOverlays.push(a)};Ex.prototype.remove=function(a){a=this._attachedOverlays.indexOf(a);-1<a&&this._attachedOverlays.splice(a,1);0===this._attachedOverlays.length&&this.detach()};Ex.\u0275fac=function(a){return new (a||Ex)(p(Xg))};Ex.\u0275prov=Dc({token:Ex,factory:Ex.\u0275fac,providedIn:"root"});var Fx=function(a,b){Ex.call(this,a);var c=this;this._ngZone=b;this._keydownListener=function(d){for(var e=c._attachedOverlays,f={},h=e.length-1;-1<h;f={keydownEvents:f.keydownEvents},h--)if(0<e[h]._keydownEvents.observers.length){f.keydownEvents=e[h]._keydownEvents;c._ngZone?c._ngZone.run(function(k){return function(){return k.keydownEvents.next(d)}}(f)):f.keydownEvents.next(d);break}}};Y(Fx,Ex);
Fx.prototype.add=function(a){var b=this;Ex.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)};Fx.prototype.detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)};
Fx.\u0275fac=function(a){return new (a||Fx)(p(Xg),p(ef,8))};Fx.\u0275prov=Dc({token:Fx,factory:Fx.\u0275fac,providedIn:"root"});var Gx=function(a,b,c){Ex.call(this,a);var d=this;this._platform=b;this._ngZone=c;this._cursorStyleIsSet=!1;this._pointerDownListener=function(e){d._pointerDownEventTarget=Rg(e)};this._clickListener=function(e){var f=Rg(e),h="click"===e.type&&d._pointerDownEventTarget?d._pointerDownEventTarget:f;d._pointerDownEventTarget=null;for(var k=d._attachedOverlays.slice(),q={},t=k.length-1;-1<t;q={outsidePointerEvents:q.outsidePointerEvents},t--){var w=k[t];if(!(1>w._outsidePointerEvents.observers.length)&&
w.hasAttached()){if(w.overlayElement.contains(f)||w.overlayElement.contains(h))break;q.outsidePointerEvents=w._outsidePointerEvents;d._ngZone?d._ngZone.run(function(y){return function(){return y.outsidePointerEvents.next(e)}}(q)):q.outsidePointerEvents.next(e)}}}};Y(Gx,Ex);
Gx.prototype.add=function(a){var b=this;Ex.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}};
Gx.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}};
Gx.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)};Gx.\u0275fac=function(a){return new (a||Gx)(p(Xg),p(Vw),p(ef,8))};Gx.\u0275prov=Dc({token:Gx,factory:Gx.\u0275fac,providedIn:"root"});var Hx=function(a,b){this._platform=b;this._document=a};Hx.prototype.ngOnDestroy=function(){var a;null==(a=this._containerElement)||a.remove()};var sQb=function(a){a._containerElement||a._createContainer();return a._containerElement};
Hx.prototype._createContainer=function(){if(this._platform.isBrowser||Sna())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");Sna()?a.setAttribute("platform","test"):this._platform.isBrowser||a.setAttribute("platform","server");this._document.body.appendChild(a);this._containerElement=a};
Hx.\u0275fac=function(a){return new (a||Hx)(p(Xg),p(Vw))};Hx.\u0275prov=Dc({token:Hx,factory:Hx.\u0275fac,providedIn:"root"});var tQb=Nna(),Ix=function(a,b){this._viewportRuler=a;this._previousHTMLStyles={top:"",left:""};this._isEnabled=!1;this._document=b};Ix.prototype.attach=function(){};
Ix.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=Tg(-this._previousScrollPosition.left);a.style.top=Tg(-this._previousScrollPosition.top);a.classList.add("cdk-global-scrollblock");this._isEnabled=!0}};
Ix.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");tQb&&(b.scrollBehavior=c.scrollBehavior="auto");window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top);tQb&&(b.scrollBehavior=d,c.scrollBehavior=e)}};
Ix.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 Jx=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()})}};Jx.prototype.attach=function(a){this._overlayRef=a};
Jx.prototype.enable=function(){var a=this;if(!this._scrollSubscription){var b=this._scrollDispatcher.scrolled(0).pipe(He(function(c){return!c||!a._overlayRef.overlayElement.contains(c.elementRef.nativeElement)}));this._config&&this._config.threshold&&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)}};Jx.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};Jx.prototype.detach=function(){this.disable();this._overlayRef=null};var Kx=function(){};Kx.prototype.enable=function(){};Kx.prototype.disable=function(){};Kx.prototype.attach=function(){};var Lx=function(a,b,c,d){this._scrollDispatcher=a;this._viewportRuler=b;this._ngZone=c;this._config=d;this._scrollSubscription=null};Lx.prototype.attach=function(a){this._overlayRef=a};
Lx.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;eoa(b,[{width:d,height:c,bottom:c,right:d,top:0,left:0}])&&(a.disable(),a._ngZone.run(function(){return a._overlayRef.detach()}))}}))};
Lx.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};Lx.prototype.detach=function(){this.disable();this._overlayRef=null};new bd("VIRTUAL_SCROLL_STRATEGY");var Mx=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};Mx.prototype.register=function(a){var b=this;this.scrollContainers.has(a)||this.scrollContainers.set(a,a._elementScrolled.subscribe(function(){return b._scrolled.next(a)}))};Mx.prototype.deregister=function(a){var b=this.scrollContainers.get(a);b&&(b.unsubscribe(),this.scrollContainers.delete(a))};
Mx.prototype.scrolled=function(a){var b=this;a=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(Ke(a)).subscribe(c):b._scrolled.subscribe(c);b._scrolledCount++;return function(){d.unsubscribe();b._scrolledCount--;b._scrolledCount||b._removeGlobalListener()}}):(0,E.of)()};
Mx.prototype.ngOnDestroy=function(){var a=this;this._removeGlobalListener();this.scrollContainers.forEach(function(b,c){return a.deregister(c)});this._scrolled.complete()};var uQb=function(a,b){var c=[];a.scrollContainers.forEach(function(d,e){a._scrollableContainsElement(e,b)&&c.push(e)});return c};Mx.prototype._getWindow=function(){return this._document.defaultView||window};
Mx.prototype._scrollableContainsElement=function(a,b){b=Ug(b);a=a.elementRef.nativeElement;do if(b==a)return!0;while(b=b.parentElement);return!1};Mx.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()})})};
Mx.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)};Mx.\u0275fac=function(a){return new (a||Mx)(p(ef),p(Vw),p(Xg,8))};Mx.\u0275prov=Dc({token:Mx,factory:Mx.\u0275fac,providedIn:"root"});var vQb=new bd("cdk-dir-doc",{providedIn:"root",factory:goa});var wQb=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,Nx=function(a){this.value="ltr";this.change=new mv;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)?wQb.test(navigator.language)?"rtl":"ltr":"rtl"===b?"rtl":"ltr"}};Nx.prototype.ngOnDestroy=function(){this.change.complete()};
Nx.\u0275fac=function(a){return new (a||Nx)(p(vQb,8))};Nx.\u0275prov=Dc({token:Nx,factory:Nx.\u0275fac,providedIn:"root"});var Ox=function(){};Ox.\u0275fac=function(a){return new (a||Ox)};Ox.\u0275mod=Tc({type:Ox});Ox.\u0275inj=Ec({});var Px=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(f){return e.ngZone.runOutsideAngular(function(){return(0,E.fromEvent)(e.elementRef.nativeElement,"scroll").pipe(bf(e._destroyed)).subscribe(f)})})};Px.prototype.ngOnInit=function(){this.scrollDispatcher.register(this)};Px.prototype.ngOnDestroy=function(){this.scrollDispatcher.deregister(this);this._destroyed.next();this._destroyed.complete()};
Px.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!=Pna()?(null!=a.left&&(a.right=b.scrollWidth-b.clientWidth-a.left),2==Pna()?a.left=a.right:1==Pna()&&(a.left=a.right?-a.right:a.right)):null!=a.right&&(a.left=b.scrollWidth-b.clientWidth-a.right);this._applyScrollToOptions(a)};
Px.prototype._applyScrollToOptions=function(a){var b=this.elementRef.nativeElement;Nna()?b.scrollTo(a):(null!=a.top&&(b.scrollTop=a.top),null!=a.left&&(b.scrollLeft=a.left))};Px.\u0275fac=function(a){return new (a||Px)(B(Hd),B(Mx),B(ef),B(Nx,8))};Px.\u0275dir=Vc({type:Px,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});var xQb=new bd("_ViewRepeater");var yQb=function(){},zQb=function(a,b,c,d){BNb(a,function(e,f,h){if(null==e.previousIndex){var k=c(e,f,h);k=b.createEmbeddedView(k.templateRef,k.context,k.index);f=1}else null==h?(b.remove(f),f=3):(k=b.get(f),b.move(k,h),f=2);if(d){var q;d({context:null==(q=k)?void 0:q.context,operation:f,record:e})}})};yQb.prototype.detach=function(){};var Qx=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(f){return e._markSelected(f)}):this._markSelected(b[0]),this._selectedToEmit.length=0)};g=Qx.prototype;
g.select=function(){var a=this;$c.apply(0,arguments).forEach(function(c){return a._markSelected(c)});var b=this._hasQueuedChanges();this._emitChangeEvent();return b};g.deselect=function(){var a=this;$c.apply(0,arguments).forEach(function(c){return a._unmarkSelected(c)});var b=this._hasQueuedChanges();this._emitChangeEvent();return b};g.toggle=function(a){return this.isSelected(a)?this.deselect(a):this.select(a)};
g.clear=function(a){a=void 0===a?!0:a;this._unmarkAll();var b=this._hasQueuedChanges();a&&this._emitChangeEvent();return b};g.isSelected=function(a){return this._selection.has(this._getConcreteValue(a))};g.isEmpty=function(){return 0===this._selection.size};g.hasValue=function(){return!this.isEmpty()};g.sort=function(a){this._multiple&&this.selected&&this._selected.sort(a)};
g._emitChangeEvent=function(){this._selected=null;if(this._selectedToEmit.length||this._deselectedToEmit.length)this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[]};g._markSelected=function(a){a=this._getConcreteValue(a);this.isSelected(a)||(this._multiple||this._unmarkAll(),this.isSelected(a)||this._selection.add(a),this._emitChanges&&this._selectedToEmit.push(a))};
g._unmarkSelected=function(a){a=this._getConcreteValue(a);this.isSelected(a)&&(this._selection.delete(a),this._emitChanges&&this._deselectedToEmit.push(a))};g._unmarkAll=function(){var a=this;this.isEmpty()||this._selection.forEach(function(b){return a._unmarkSelected(b)})};g._verifyValueAssignment=function(){};g._hasQueuedChanges=function(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)};
g._getConcreteValue=function(a){if(this.compareWith)for(var b=l(this._selection),c=b.next();!c.done;c=b.next())if(c=c.value,this.compareWith(a,c))return c;return a};Gh.Object.defineProperties(Qx.prototype,{selected:{configurable:!0,enumerable:!0,get:function(){this._selected||(this._selected=Array.from(this._selection.values()));return this._selected}}});var Rx=function(){this._listeners=[]};Rx.prototype.notify=function(a,b){for(var c=l(this._listeners),d=c.next();!d.done;d=c.next())d=d.value,d(a,b)};Rx.prototype.listen=function(a){var b=this;this._listeners.push(a);return function(){b._listeners=b._listeners.filter(function(c){return a!==c})}};Rx.prototype.ngOnDestroy=function(){this._listeners=[]};Rx.\u0275fac=function(a){return new (a||Rx)};Rx.\u0275prov=Dc({token:Rx,factory:Rx.\u0275fac,providedIn:"root"});var Sx=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})})};g=Sx.prototype;
g.ngOnDestroy=function(){if(this._platform.isBrowser){var a=this._getWindow();a.removeEventListener("resize",this._changeListener);a.removeEventListener("orientationchange",this._changeListener)}this._change.complete()};g.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var a={width:this._viewportSize.width,height:this._viewportSize.height};this._platform.isBrowser||(this._viewportSize=null);return a};
g.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var a=this._document,b=this._getWindow(),c=a.documentElement,d=c.getBoundingClientRect();return{top:-d.top||a.body.scrollTop||b.scrollY||c.scrollTop||0,left:-d.left||a.body.scrollLeft||b.scrollX||c.scrollLeft||0}};g.change=function(a){a=void 0===a?20:a;return 0<a?this._change.pipe(Ke(a)):this._change};g._getWindow=function(){return this._document.defaultView||window};
g._updateViewportSize=function(){var a=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:a.innerWidth,height:a.innerHeight}:{width:0,height:0}};Sx.\u0275fac=function(a){return new (a||Sx)(p(Vw),p(ef),p(Xg,8))};Sx.\u0275prov=Dc({token:Sx,factory:Sx.\u0275fac,providedIn:"root"});new bd("VIRTUAL_SCROLLABLE");var Tx=function(){};Tx.\u0275fac=function(a){return new (a||Tx)};Tx.\u0275mod=Tc({type:Tx});Tx.\u0275inj=Ec({});var Ux=function(){};Ux.\u0275fac=function(a){return new (a||Ux)};Ux.\u0275mod=Tc({type:Ux});Ux.\u0275inj=Ec({imports:[Ox,Tx,Ox,Tx]});var Vx=function(a,b,c,d){var e=this;this._scrollDispatcher=a;this._viewportRuler=b;this._ngZone=c;this.noop=function(){return new Kx};this.close=function(f){return new Jx(e._scrollDispatcher,e._ngZone,e._viewportRuler,f)};this.block=function(){return new Ix(e._viewportRuler,e._document)};this.reposition=function(f){return new Lx(e._scrollDispatcher,e._viewportRuler,e._ngZone,f)};this._document=d};Vx.\u0275fac=function(a){return new (a||Vx)(p(Mx),p(Sx),p(ef),p(Xg))};
Vx.\u0275prov=Dc({token:Vx,factory:Vx.\u0275fac,providedIn:"root"});var Wx=function(a){this.scrollStrategy=new Kx;this.panelClass="";this.hasBackdrop=!1;this.backdropClass="cdk-overlay-dark-backdrop";this.disposeOnNavigation=!1;if(a){var b=Object.keys(a);b=l(b);for(var c=b.next();!c.done;c=b.next())c=c.value,void 0!==a[c]&&(this[c]=a[c])}};var Xx=function(a,b,c,d,e,f,h,k,q,t){var w=this;t=void 0===t?!1:t;this._portalOutlet=a;this._host=b;this._pane=c;this._config=d;this._ngZone=e;this._keyboardDispatcher=f;this._document=h;this._location=k;this._outsideClickDispatcher=q;this._animationsDisabled=t;this._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(y){return w._backdropClick.next(y)};
this._backdropTransitionendHandler=function(y){w._disposeBackdrop(y.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};g=Xx.prototype;
g.attach=function(a){var b=this;!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);a=this._portalOutlet.attach(a);this._positionStrategy&&this._positionStrategy.attach(this);this._updateStackingOrder();this._updateElementSize();this._updateElementDirection();this._scrollStrategy&&this._scrollStrategy.enable();this._ngZone.onStable.pipe(Qe()).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};g.detach=function(){if(this.hasAttached()){AQb(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}};
g.dispose=function(){var a=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose();this._disposeScrollStrategy();this._disposeBackdrop(this._backdropElement);this._locationChanges.unsubscribe();this._keyboardDispatcher.remove(this);this._portalOutlet.dispose();this._attachments.complete();this._backdropClick.complete();this._keydownEvents.complete();this._outsidePointerEvents.complete();this._outsideClickDispatcher.remove(this);var b;null==(b=this._host)||b.remove();this._previousHostParent=
this._pane=this._host=null;a&&this._detachments.next();this._detachments.complete()};g.hasAttached=function(){return this._portalOutlet.hasAttached()};g.backdropClick=function(){return this._backdropClick};g.attachments=function(){return this._attachments};g.keydownEvents=function(){return this._keydownEvents};g.outsidePointerEvents=function(){return this._outsidePointerEvents};g.getConfig=function(){return this._config};g.updatePosition=function(){this._positionStrategy&&this._positionStrategy.apply()};
g.updateSize=function(a){this._config=Object.assign({},this._config,a);this._updateElementSize()};g.setDirection=function(a){this._config=Object.assign({},this._config,{direction:a});this._updateElementDirection()};g.addPanelClass=function(a){this._pane&&this._toggleClasses(this._pane,a,!0)};g.removePanelClass=function(a){this._pane&&this._toggleClasses(this._pane,a,!1)};var BQb=function(a){return(a=a._config.direction)?"string"===typeof a?a:a.value:"ltr"};g=Xx.prototype;
g._updateElementDirection=function(){this._host.setAttribute("dir",BQb(this))};g._updateElementSize=function(){if(this._pane){var a=this._pane.style;a.width=Tg(this._config.width);a.height=Tg(this._config.height);a.minWidth=Tg(this._config.minWidth);a.minHeight=Tg(this._config.minHeight);a.maxWidth=Tg(this._config.maxWidth);a.maxHeight=Tg(this._config.maxHeight)}};g._togglePointerEvents=function(a){this._pane.style.pointerEvents=a?"":"none"};
g._attachBackdrop=function(){var a=this;this._backdropElement=this._document.createElement("div");this._backdropElement.classList.add("cdk-overlay-backdrop");this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation");this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0);this._host.parentElement.insertBefore(this._backdropElement,this._host);this._backdropElement.addEventListener("click",this._backdropClickHandler);
this._animationsDisabled||"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")})})};g._updateStackingOrder=function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)};
var AQb=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)})))};
Xx.prototype._toggleClasses=function(a,b,c){b=Tna(b||[]).filter(function(d){return!!d});b.length&&(c?a.classList.add.apply(a.classList,u(b)):a.classList.remove.apply(a.classList,u(b)))};
Xx.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())})})};
Xx.prototype._disposeScrollStrategy=function(){var a=this._scrollStrategy;a&&(a.disable(),a.detach&&a.detach())};Xx.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)};
Gh.Object.defineProperties(Xx.prototype,{overlayElement:{configurable:!0,enumerable:!0,get:function(){return this._pane}},hostElement:{configurable:!0,enumerable:!0,get:function(){return this._host}}});var CQb=function(a,b){this.connectionPair=a;this.scrollableViewProperties=b};var ioa=/([A-Za-z%]+)$/,Yx=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)};Yx.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()})};
Yx.prototype.apply=function(){if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)DQb(this);else{this._clearPanelClasses();this._resetOverlayElementStyles();this._resetBoundingBoxStyles();this._viewportRect=this._getNarrowedViewportRect();this._originRect=this._getOriginRect();this._overlayRect=this._pane.getBoundingClientRect();this._containerRect=sQb(this._overlayContainer).getBoundingClientRect();for(var a=this._originRect,b=this._overlayRect,
c=this._viewportRect,d=this._containerRect,e=[],f,h=l(this._preferredPositions),k=h.next();!k.done;k=h.next()){k=k.value;var q=this._getOriginPoint(a,d,k),t=this._getOverlayPoint(q,b,k),w=this._getOverlayFit(t,b,c,k);if(w.isCompletelyWithinViewport){this._isPushed=!1;this._applyPosition(k,q);return}if(this._canFitWithFlexibleDimensions(w,t,c))e.push({position:k,origin:q,overlayRect:b,boundingBoxRect:this._calculateBoundingBoxRect(q,k)});else if(!f||f.overlayFit.visibleArea<w.visibleArea)f={overlayFit:w,
overlayPoint:t,originPoint:q,position:k,overlayRect:b}}if(e.length){a=null;b=-1;e=l(e);for(c=e.next();!c.done;c=e.next())c=c.value,d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1),d>b&&(b=d,a=c);this._isPushed=!1;this._applyPosition(a.position,a.origin)}else this._canPush&&(this._isPushed=!0),this._applyPosition(f.position,f.originPoint)}};Yx.prototype.detach=function(){this._clearPanelClasses();this._previousPushAmount=this._lastPosition=null;this._resizeSubscription.unsubscribe()};
Yx.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&Yg(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 DQb=function(a){if(!a._isDisposed&&a._platform.isBrowser){var b=a._lastPosition;b?(a._originRect=a._getOriginRect(),a._overlayRect=a._pane.getBoundingClientRect(),a._viewportRect=a._getNarrowedViewportRect(),a._containerRect=sQb(a._overlayContainer).getBoundingClientRect(),a._applyPosition(b,a._getOriginPoint(a._originRect,a._containerRect,b))):a.apply()}},EQb=function(a,b){a._scrollables=b;return a},Zx=function(a,b){a._preferredPositions=b;-1===b.indexOf(a._lastPosition)&&(a._lastPosition=null);
return a},ay=function(a,b){a._viewportMargin=b;return a},by=function(a,b){a._hasFlexibleDimensions=void 0===b?!0:b;return a},FQb=function(a,b){a._growAfterOpen=void 0===b?!0:b;return a},GQb=function(a,b){a._canPush=void 0===b?!0:b;return a},HQb=function(a,b){a._positionLocked=void 0===b?!0:b;return a};Yx.prototype.setOrigin=function(a){this._origin=a;return this};var IQb=function(a,b){a._transformOriginSelector=b;return a};g=Yx.prototype;
g._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}};
g._getOverlayPoint=function(a,b,c){return{x:a.x+("center"==c.overlayX?-b.width/2:"start"===c.overlayX?this._isRtl()?-b.width:0:this._isRtl()?0:-b.width),y:a.y+("center"==c.overlayY?-b.height/2:"top"==c.overlayY?0:-b.height)}};
g._getOverlayFit=function(a,b,c,d){b=koa(b);var e=a.x;a=a.y;var f=this._getOffset(d,"x");d=this._getOffset(d,"y");f&&(e+=f);d&&(a+=d);d=-a;a=a+b.height-c.height;c=this._subtractOverflows(b.width,-e,e+b.width-c.width);e=this._subtractOverflows(b.height,d,a);d=c*e;return{visibleArea:d,isCompletelyWithinViewport:b.width*b.height===d,fitsInViewportVertically:e===b.height,fitsInViewportHorizontally:c==b.width}};
g._canFitWithFlexibleDimensions=function(a,b,c){if(this._hasFlexibleDimensions){var d=c.bottom-b.y;c=c.right-b.x;b=joa(this._overlayRef.getConfig().minHeight);var e=joa(this._overlayRef.getConfig().minWidth);c=a.fitsInViewportHorizontally||null!=e&&e<=c;return(a.fitsInViewportVertically||null!=b&&b<=d)&&c}return!1};
g._pushOverlayOnScreen=function(a,b,c){if(this._previousPushAmount&&this._positionLocked)return{x:a.x+this._previousPushAmount.x,y:a.y+this._previousPushAmount.y};b=koa(b);var d=this._viewportRect,e=Math.max(a.x+b.width-d.width,0),f=Math.max(a.y+b.height-d.height,0),h=Math.max(d.top-c.top-a.y,0),k=Math.max(d.left-c.left-a.x,0);e=b.width<=d.width?k||-e:a.x<this._viewportMargin?d.left-c.left-a.x:0;c=b.height<=d.height?h||-f:a.y<this._viewportMargin?d.top-c.top-a.y:0;this._previousPushAmount={x:e,y:c};
return{x:a.x+e,y:a.y+c}};g._applyPosition=function(a,b){this._setTransformOrigin(a);this._setOverlayElementStyles(b,a);this._setBoundingBoxStyles(b,a);a.panelClass&&this._addPanelClasses(a.panelClass);this._lastPosition=a;this._positionChanges.observers.length&&(b=this._getScrollVisibility(),this._positionChanges.next(new CQb(a,b)));this._isInitialRender=!1};
g._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}};
g._calculateBoundingBoxRect=function(a,b){var c=this._viewportRect,d=this._isRtl();if("top"===b.overlayY){var e=a.y;var f=c.height-e+this._viewportMargin}else if("bottom"===b.overlayY){var h=c.height-a.y+2*this._viewportMargin;f=c.height-h+this._viewportMargin}else{e=Math.min(c.bottom-a.y+c.top,a.y);var k=this._lastBoundingBoxSize.height;f=2*e;e=a.y-e;f>k&&!this._isInitialRender&&!this._growAfterOpen&&(e=a.y-k/2)}k="start"===b.overlayX&&!d||"end"===b.overlayX&&d;if("end"===b.overlayX&&!d||"start"===
b.overlayX&&d){var q=c.width-a.x+this._viewportMargin;b=a.x-this._viewportMargin}else if(k){var t=a.x;b=c.right-a.x}else t=Math.min(c.right-a.x+c.left,a.x),c=this._lastBoundingBoxSize.width,b=2*t,t=a.x-t,b>c&&!this._isInitialRender&&!this._growAfterOpen&&(t=a.x-c/2);return{top:e,left:t,bottom:h,right:q,width:b,height:f}};
g._setBoundingBoxStyles=function(a,b){a=this._calculateBoundingBoxRect(a,b);this._isInitialRender||this._growAfterOpen||(a.height=Math.min(a.height,this._lastBoundingBoxSize.height),a.width=Math.min(a.width,this._lastBoundingBoxSize.width));var c={};if(this._hasExactPosition())c.top=c.left="0",c.bottom=c.right=c.maxHeight=c.maxWidth="",c.width=c.height="100%";else{var d=this._overlayRef.getConfig().maxHeight,e=this._overlayRef.getConfig().maxWidth;c.height=Tg(a.height);c.top=Tg(a.top);c.bottom=Tg(a.bottom);
c.width=Tg(a.width);c.left=Tg(a.left);c.right=Tg(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=Tg(d));e&&(c.maxWidth=Tg(e))}this._lastBoundingBoxSize=a;Yg(this._boundingBox.style,c)};g._resetBoundingBoxStyles=function(){Yg(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})};
g._resetOverlayElementStyles=function(){Yg(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})};
g._setOverlayElementStyles=function(a,b){var c={},d=this._hasExactPosition(),e=this._hasFlexibleDimensions,f=this._overlayRef.getConfig();if(d){var h=this._viewportRuler.getViewportScrollPosition();Yg(c,this._getExactOverlayY(b,a,h));Yg(c,this._getExactOverlayX(b,a,h))}else c.position="static";a="";h=this._getOffset(b,"x");b=this._getOffset(b,"y");h&&(a+="translateX("+h+"px) ");b&&(a+="translateY("+b+"px)");c.transform=a.trim();f.maxHeight&&(d?c.maxHeight=Tg(f.maxHeight):e&&(c.maxHeight=""));f.maxWidth&&
(d?c.maxWidth=Tg(f.maxWidth):e&&(c.maxWidth=""));Yg(this._pane.style,c)};g._getExactOverlayY=function(a,b,c){var d={top:"",bottom:""};b=this._getOverlayPoint(b,this._overlayRect,a);this._isPushed&&(b=this._pushOverlayOnScreen(b,this._overlayRect,c));"bottom"===a.overlayY?d.bottom=this._document.documentElement.clientHeight-(b.y+this._overlayRect.height)+"px":d.top=Tg(b.y);return d};
g._getExactOverlayX=function(a,b,c){var d={left:"",right:""};b=this._getOverlayPoint(b,this._overlayRect,a);this._isPushed&&(b=this._pushOverlayOnScreen(b,this._overlayRect,c));"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=Tg(b.x);return d};
g._getScrollVisibility=function(){var a=this._getOriginRect(),b=this._pane.getBoundingClientRect(),c=this._scrollables.map(function(d){return d.elementRef.nativeElement.getBoundingClientRect()});return{isOriginClipped:foa(a,c),isOriginOutsideView:eoa(a,c),isOverlayClipped:foa(b,c),isOverlayOutsideView:eoa(b,c)}};g._subtractOverflows=function(a){return $c.apply(1,arguments).reduce(function(b,c){return b-Math.max(c,0)},a)};
g._getNarrowedViewportRect=function(){var a=this._document.documentElement.clientWidth,b=this._document.documentElement.clientHeight,c=this._viewportRuler.getViewportScrollPosition();return{top:c.top+this._viewportMargin,left:c.left+this._viewportMargin,right:c.left+a-this._viewportMargin,bottom:c.top+b-this._viewportMargin,width:a-2*this._viewportMargin,height:b-2*this._viewportMargin}};g._isRtl=function(){return"rtl"===BQb(this._overlayRef)};
g._hasExactPosition=function(){return!this._hasFlexibleDimensions||this._isPushed};g._getOffset=function(a,b){return"x"===b?null==a.offsetX?this._offsetX:a.offsetX:null==a.offsetY?this._offsetY:a.offsetY};g._validatePositions=function(){};g._addPanelClasses=function(a){var b=this;this._pane&&Tna(a).forEach(function(c){""!==c&&-1===b._appliedPanelClasses.indexOf(c)&&(b._appliedPanelClasses.push(c),b._pane.classList.add(c))})};
g._clearPanelClasses=function(){var a=this;this._pane&&(this._appliedPanelClasses.forEach(function(b){a._pane.classList.remove(b)}),this._appliedPanelClasses=[])};g._getOriginRect=function(){var a=this._origin;if(a instanceof Hd)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}};
Gh.Object.defineProperties(Yx.prototype,{positions:{configurable:!0,enumerable:!0,get:function(){return this._preferredPositions}}});var JQb=function(){this._cssPosition="static";this._height=this._width=this._xOffset=this._xPosition=this._alignItems=this._bottomOffset=this._topOffset="";this._isDisposed=!1};g=JQb.prototype;g.attach=function(a){var b=a.getConfig();this._overlayRef=a;this._width&&!b.width&&a.updateSize({width:this._width});this._height&&!b.height&&a.updateSize({height:this._height});a.hostElement.classList.add("cdk-global-overlay-wrapper");this._isDisposed=!1};
g.top=function(a){this._bottomOffset="";this._topOffset=void 0===a?"":a;this._alignItems="flex-start";return this};g.left=function(a){this._xOffset=void 0===a?"":a;this._xPosition="left";return this};g.bottom=function(a){this._topOffset="";this._bottomOffset=void 0===a?"":a;this._alignItems="flex-end";return this};g.right=function(a){this._xOffset=void 0===a?"":a;this._xPosition="right";return this};g.start=function(a){this._xOffset=void 0===a?"":a;this._xPosition="start";return this};
g.end=function(a){this._xOffset=void 0===a?"":a;this._xPosition="end";return this};g.width=function(a){a=void 0===a?"":a;this._overlayRef?this._overlayRef.updateSize({width:a}):this._width=a;return this};g.height=function(a){a=void 0===a?"":a;this._overlayRef?this._overlayRef.updateSize({height:a}):this._height=a;return this};var cy=function(a){a.left("");a._xPosition="center";return a},dy=function(a){a.top("");a._alignItems="center";return a};
JQb.prototype.apply=function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var a=this._overlayRef.overlayElement.style,b=this._overlayRef.hostElement.style,c=this._overlayRef.getConfig(),d=c.width,e=c.height,f=c.maxWidth;c=c.maxHeight;d=("100%"===d||"100vw"===d)&&(!f||"100%"===f||"100vw"===f);e=("100%"===e||"100vh"===e)&&(!c||"100%"===c||"100vh"===c);f=this._xPosition;c=this._xOffset;var h="rtl"===this._overlayRef.getConfig().direction,k="",q="",t="";if(d)t="flex-start";else if("center"===
f)t="center",h?q=c:k=c;else if(h)if("left"===f||"end"===f)t="flex-end",k=c;else{if("right"===f||"start"===f)t="flex-start",q=c}else if("left"===f||"start"===f)t="flex-start",k=c;else if("right"===f||"end"===f)t="flex-end",q=c;a.position=this._cssPosition;a.marginLeft=d?"0":k;a.marginTop=e?"0":this._topOffset;a.marginBottom=this._bottomOffset;a.marginRight=d?"0":q;b.justifyContent=t;b.alignItems=e?"flex-start":this._alignItems}};
JQb.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 ey=function(a,b,c,d){this._viewportRuler=a;this._document=b;this._platform=c;this._overlayContainer=d};ey.prototype.global=function(){return new JQb};var fy=function(a,b){return new Yx(b,a._viewportRuler,a._document,a._platform,a._overlayContainer)};ey.\u0275fac=function(a){return new (a||ey)(p(Sx),p(Xg),p(Vw),p(Hx))};ey.\u0275prov=Dc({token:ey,factory:ey.\u0275fac,providedIn:"root"});var gy=function(){};gy.prototype.attach=function(a){this._attachedHost=a;return a.attach(this)};gy.prototype.detach=function(){var a=this._attachedHost;null!=a&&(this._attachedHost=null,a.detach())};Gh.Object.defineProperties(gy.prototype,{isAttached:{configurable:!0,enumerable:!0,get:function(){return null!=this._attachedHost}}});var hy=function(a,b,c,d,e){this.component=a;this.viewContainerRef=b;this.injector=c;this.componentFactoryResolver=d;this.projectableNodes=e};Y(hy,gy);
var iy=function(a,b,c,d){this.templateRef=a;this.viewContainerRef=b;this.context=c;this.injector=d};Y(iy,gy);iy.prototype.attach=function(a,b){this.context=b=void 0===b?this.context:b;return gy.prototype.attach.call(this,a)};iy.prototype.detach=function(){this.context=void 0;return gy.prototype.detach.call(this)};Gh.Object.defineProperties(iy.prototype,{origin:{configurable:!0,enumerable:!0,get:function(){return this.templateRef.elementRef}}});var jy=function(){this._isDisposed=!1};g=jy.prototype;
g.hasAttached=function(){return!!this._attachedPortal};g.attach=function(a){if(a instanceof hy)return this._attachedPortal=a,this.attachComponentPortal(a);if(a instanceof iy)return this._attachedPortal=a,this.attachTemplatePortal(a)};g.detach=function(){this._attachedPortal&&(this._attachedPortal=this._attachedPortal._attachedHost=null);this._invokeDisposeFn()};g.dispose=function(){this.hasAttached()&&this.detach();this._invokeDisposeFn();this._isDisposed=!0};
g.setDisposeFn=function(a){this._disposeFn=a};g._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)};var ky=function(a,b,c,d,e){this._isDisposed=!1;this.outletElement=a;this._componentFactoryResolver=b;this._appRef=c;this._defaultInjector=d;this._document=e};Y(ky,jy);
ky.prototype.attachComponentPortal=function(a){var b=this,c=IOb(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||fNb),WOb(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};ky.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};
ky.prototype.dispose=function(){jy.prototype.dispose.call(this);this.outletElement.remove()};ky.prototype._getComponentRootNode=function(a){return a.hostView.rootNodes[0]};var ly=function(a,b){iy.call(this,a,b)};Y(ly,iy);ly.\u0275fac=function(a){return new (a||ly)(B(kg),B(lg))};ly.\u0275dir=Vc({type:ly,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[yf]});var my=function(a,b,c){this._isDisposed=!1;this._componentFactoryResolver=a;this._viewContainerRef=b;this._isInitialized=!1;this.attached=new mv;this._document=c};Y(my,jy);g=my.prototype;g.ngOnInit=function(){this._isInitialized=!0};
g.ngOnDestroy=function(){jy.prototype.dispose.call(this);this._attachedRef=this._attachedPortal=null};
g.attachComponentPortal=function(a){a._attachedHost=this;var b=null!=a.viewContainerRef?a.viewContainerRef:this._viewContainerRef,c=IOb(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]);jy.prototype.setDisposeFn.call(this,function(){return d.destroy()});this._attachedPortal=a;this._attachedRef=d;this.attached.emit(d);
return d};g.attachTemplatePortal=function(a){var b=this;a._attachedHost=this;var c=this._viewContainerRef.createEmbeddedView(a.templateRef,a.context,{injector:a.injector});jy.prototype.setDisposeFn.call(this,function(){return b._viewContainerRef.clear()});this._attachedPortal=a;this._attachedRef=c;this.attached.emit(c);return c};g._getRootNode=function(){var a=this._viewContainerRef.element.nativeElement;return a.nodeType===a.ELEMENT_NODE?a:a.parentNode};
Gh.Object.defineProperties(my.prototype,{portal:{configurable:!0,enumerable:!0,get:function(){return this._attachedPortal},set:function(a){if(!this.hasAttached()||a||this._isInitialized)this.hasAttached()&&jy.prototype.detach.call(this),a&&jy.prototype.attach.call(this,a),this._attachedPortal=a||null}}});my.\u0275fac=function(a){return new (a||my)(B(Bu),B(lg),B(Xg))};
my.\u0275dir=Vc({type:my,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[yf]});var ny=function(){};ny.\u0275fac=function(a){return new (a||ny)};ny.\u0275mod=Tc({type:ny});ny.\u0275inj=Ec({});var KQb=0,oy=function(a,b,c,d,e,f,h,k,q,t,w,y){this.scrollStrategies=a;this._overlayContainer=b;this._componentFactoryResolver=c;this._positionBuilder=d;this._keyboardDispatcher=e;this._injector=f;this._ngZone=h;this._document=k;this._directionality=q;this._location=t;this._outsideClickDispatcher=w;this._animationsModuleType=y};g=oy.prototype;
g.create=function(a){var b=this._createHostElement(),c=this._createPaneElement(b),d=this._createPortalOutlet(c);a=new Wx(a);a.direction=a.direction||this._directionality.value;return new Xx(d,b,c,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)};g.position=function(){return this._positionBuilder};
g._createPaneElement=function(a){var b=this._document.createElement("div");b.id="cdk-overlay-"+KQb++;b.classList.add("cdk-overlay-pane");a.appendChild(b);return b};g._createHostElement=function(){var a=this._document.createElement("div");sQb(this._overlayContainer).appendChild(a);return a};g._createPortalOutlet=function(a){this._appRef||(this._appRef=this._injector.get(Qv));return new ky(a,this._componentFactoryResolver,this._appRef,this._injector,this._document)};
oy.\u0275fac=function(a){return new (a||oy)(p(Vx),p(Hx),p(Bu),p(ey),p(Fx),p(ff),p(ef),p(Xg),p(Nx),p(pw),p(Gx),p(Du,8))};oy.\u0275prov=Dc({token:oy,factory:oy.\u0275fac,providedIn:"root"});var LQb=[{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"}],MQb=new bd("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:function(){var a=Nc(oy);return function(){return a.scrollStrategies.reposition()}}}),py=function(a){this.elementRef=a};
py.\u0275fac=function(a){return new (a||py)(B(Hd))};py.\u0275dir=Vc({type:py,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});
var qy=function(a,b,c,d,e){this._overlay=a;this._dir=e;this._positionSubscription=this._detachSubscription=this._attachSubscription=this._backdropSubscription=E.Subscription.EMPTY;this._disposeOnNavigation=!1;this.viewportMargin=0;this.push=this.growAfterOpen=this.flexibleDimensions=this.lockPosition=this.hasBackdrop=this.disableClose=this.open=!1;this.backdropClick=new mv;this.positionChange=new mv;this.attach=new mv;this.detach=new mv;this.overlayKeydown=new mv;this.overlayOutsideClick=new mv;this._templatePortal=
new iy(b,c);this._scrollStrategyFactory=d;this.scrollStrategy=this._scrollStrategyFactory()};g=qy.prototype;g.ngOnDestroy=function(){this._attachSubscription.unsubscribe();this._detachSubscription.unsubscribe();this._backdropSubscription.unsubscribe();this._positionSubscription.unsubscribe();this._overlayRef&&this._overlayRef.dispose()};
g.ngOnChanges=function(a){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),a.origin&&this.open&&this._position.apply());a.open&&(this.open?this._attachOverlay():this._detachOverlay())};
g._createOverlay=function(){var a=this;this.positions&&this.positions.length||(this.positions=LQb);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||Mg(c)||(c.preventDefault(),a._detachOverlay())});this._overlayRef.outsidePointerEvents().subscribe(function(c){a.overlayOutsideClick.next(c)})};
g._buildConfig=function(){var a=this._position=this.positionStrategy||this._createPositionStrategy();a=new Wx({direction:this._dir,positionStrategy:a,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});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};
g._updatePositionStrategy=function(a){var b=this,c=this.positions.map(function(d){return{originX:d.originX,originY:d.originY,overlayX:d.overlayX,overlayY:d.overlayY,offsetX:d.offsetX||b.offsetX,offsetY:d.offsetY||b.offsetY,panelClass:d.panelClass||void 0}});return IQb(HQb(ay(FQb(GQb(by(Zx(a.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()),c),this.flexibleDimensions),this.push),this.growAfterOpen),this.viewportMargin),this.lockPosition),this.transformOriginSelector)};
g._createPositionStrategy=function(){var a=fy(this._overlay.position(),this._getFlexibleConnectedPositionStrategyOrigin());this._updatePositionStrategy(a);return a};g._getFlexibleConnectedPositionStrategyOrigin=function(){return this.origin instanceof py?this.origin.elementRef:this.origin};
g._attachOverlay=function(){var a=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay();this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal);this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(function(b){a.backdropClick.emit(b)}):this._backdropSubscription.unsubscribe();this._positionSubscription.unsubscribe();0<this.positionChange.observers.length&&(this._positionSubscription=this._position.positionChanges.pipe(Zja(function(){return 0<
a.positionChange.observers.length})).subscribe(function(b){a.positionChange.emit(b);0===a.positionChange.observers.length&&a._positionSubscription.unsubscribe()}))};g._detachOverlay=function(){this._overlayRef&&this._overlayRef.detach();this._backdropSubscription.unsubscribe();this._positionSubscription.unsubscribe()};
Gh.Object.defineProperties(qy.prototype,{offsetX:{configurable:!0,enumerable:!0,get:function(){return this._offsetX},set:function(a){this._offsetX=a;this._position&&this._updatePositionStrategy(this._position)}},offsetY:{configurable:!0,enumerable:!0,get:function(){return this._offsetY},set:function(a){this._offsetY=a;this._position&&this._updatePositionStrategy(this._position)}},disposeOnNavigation:{configurable:!0,enumerable:!0,get:function(){return this._disposeOnNavigation},set:function(a){this._disposeOnNavigation=
a}},overlayRef:{configurable:!0,enumerable:!0,get:function(){return this._overlayRef}},dir:{configurable:!0,enumerable:!0,get:function(){return this._dir?this._dir.value:"ltr"}}});qy.\u0275fac=function(a){return new (a||qy)(B(oy),B(kg),B(lg),B(MQb),B(Nx,8))};
qy.\u0275dir=Vc({type:qy,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",ug],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition",ug],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",ug],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen",ug],push:["cdkConnectedOverlayPush","push",ug],disposeOnNavigation:["cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",ug]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",
detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[zf,ld]});var NQb={provide:MQb,deps:[oy],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}};var ry=function(){};ry.\u0275fac=function(a){return new (a||ry)};ry.\u0275mod=Tc({type:ry});ry.\u0275inj=Ec({providers:[oy,NQb],imports:[Ox,ny,Ux,Ux]});var OQb=function(){};Y(OQb,sPb);var sy=function(){};Y(sy,OQb);var PQb=function(a,b,c){a.addEventListener(b,c);return function(){a.removeEventListener(b,c)}};sy.prototype.dispatchEvent=function(a,b){a.dispatchEvent(b)};sy.prototype.remove=function(a){a.parentNode&&a.parentNode.removeChild(a)};sy.prototype.createElement=function(a,b){b=b||document;return b.createElement(a)};var uPb=function(a,b){return"window"===b?window:"document"===b?a:"body"===b?a.body:null};
sy.prototype.getBaseHref=function(){var a=(QQb=QQb||document.querySelector("base"))?QQb.getAttribute("href"):null;return null==a?null:(new URL(a,"http://a")).pathname};var QQb=null;var RQb=function(){},POb=function(a){Sd.getAngularTestability=function(b,c){b=a.findTestabilityInTree(b,void 0===c?!0:c);if(null==b)throw new Hc(5103,!1);return b};Sd.getAllAngularTestabilities=function(){return Array.from(a._applications.values())};Sd.getAllAngularRootElements=function(){return Array.from(a._applications.keys())};Sd.frameworkStabilizers||(Sd.frameworkStabilizers=[]);Sd.frameworkStabilizers.push(function(b){var c=Sd.getAllAngularTestabilities(),d=c.length,e=!1,f=function(h){e=e||
h;d--;0==d&&b(e)};c.forEach(function(h){h.whenStable(f)})})};RQb.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 ty=function(){};ty.prototype.build=function(){return new XMLHttpRequest};ty.\u0275fac=function(a){return new (a||ty)};ty.\u0275prov=Dc({token:ty,factory:ty.\u0275fac});var SQb=new bd("EventManagerPlugins"),uy=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()};uy.prototype.addEventListener=function(a,b,c){return this._findPluginFor(b).addEventListener(a,b,c)};uy.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 Hc(5101,!1);this._eventNameToPlugin.set(a,b);return b};
uy.\u0275fac=function(a){return new (a||uy)(p(SQb),p(ef))};uy.\u0275prov=Dc({token:uy,factory:uy.\u0275fac});var TQb=function(a){this._doc=a};var vy=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=UQb(this);this.platformIsServer="server"===d;VQb(this)},YQb=function(a,b){b=l(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,1===WQb(a,c,1))for(var d=a,e=l(d.hostNodes),f=e.next();!f.done;f=e.next())XQb(d,f.value,c)};
vy.prototype.ngOnDestroy=function(){var a=this.styleNodesInDOM;a&&(a.forEach(function(c){return c.remove()}),a.clear());a=l(this.styleRef.keys());for(var b=a.next();!b.done;b=a.next())ZQb(this,b.value);VQb(this)};
var ZQb=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)},UQb=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},WQb=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},XQb=function(a,
b,c){var d=a.styleNodesInDOM,e=null==d?void 0:d.get(c);(null==e?void 0:e.parentNode)===b?(d.delete(c),e.removeAttribute("ng-app-id"),b=e):(d=a.doc.createElement("style"),a.nonce&&d.setAttribute("nonce",a.nonce),d.textContent=c,a.platformIsServer&&d.setAttribute("ng-app-id",a.appId),b.appendChild(d),b=d);a=a.styleRef;var f;(d=null==(f=a.get(c))?void 0:f.elements)?d.push(b):a.set(c,{elements:[b],usage:1})},VQb=function(a){var b=a.hostNodes;b.clear();b.add(a.doc.head)};
vy.\u0275fac=function(a){return new (a||vy)(p(Xg),p(gNb),p(hNb,8),p(gf))};vy.\u0275prov=Dc({token:vy,factory:vy.\u0275fac});var $Qb={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/"},loa=/%COMP%/g,aRb=new bd("RemoveStylesOnCompDestroy",{providedIn:"root",factory:function(){return!0}}),xy=function(a,b,c,d,e,f,h,k){this.eventManager=a;this.sharedStylesHost=b;this.appId=c;this.removeStylesOnCompDestroy=d;this.doc=e;this.ngZone=h;this.nonce=void 0===
k?null:k;this.rendererByCompId=new Map;this.platformIsServer="server"===f;this.defaultRenderer=new wy(a,e,h,this.platformIsServer)};
xy.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,f=this.eventManager,h=this.sharedStylesHost,k=this.removeStylesOnCompDestroy,q=this.platformIsServer;switch(b.encapsulation){case 0:d=new bRb(f,h,b,this.appId,k,d,e,q);break;case 3:b=new cRb(f,h,a,b,d,e,this.nonce,q);break a;default:d=new yy(f,h,b,k,d,e,
q)}c.set(b.id,d)}b=d}b instanceof bRb?(YQb(b.sharedStylesHost,b.styles),b.setAttribute(a,b.hostAttr,"")):b instanceof yy&&YQb(b.sharedStylesHost,b.styles);return b};xy.prototype.ngOnDestroy=function(){this.rendererByCompId.clear()};xy.\u0275fac=function(a){return new (a||xy)(p(uy),p(vy),p(gNb),p(aRb),p(Xg),p(gf),p(ef),p(hNb))};xy.\u0275prov=Dc({token:xy,factory:xy.\u0275fac});
var wy=function(a,b,c,d){this.eventManager=a;this.doc=b;this.ngZone=c;this.platformIsServer=d;this.data=Object.create(null);this.destroyNode=null};g=wy.prototype;g.destroy=function(){};g.createElement=function(a,b){return b?this.doc.createElementNS($Qb[b]||b,a):this.doc.createElement(a)};g.createComment=function(a){return this.doc.createComment(a)};g.createText=function(a){return this.doc.createTextNode(a)};g.appendChild=function(a,b){("TEMPLATE"===a.tagName&&void 0!==a.content?a.content:a).appendChild(b)};
g.insertBefore=function(a,b,c){a&&("TEMPLATE"===a.tagName&&void 0!==a.content?a.content:a).insertBefore(b,c)};g.removeChild=function(a,b){a&&a.removeChild(b)};g.selectRootElement=function(a,b){a="string"===typeof a?this.doc.querySelector(a):a;if(!a)throw new Hc(-5104,!1);b||(a.textContent="");return a};g.parentNode=function(a){return a.parentNode};g.nextSibling=function(a){return a.nextSibling};
g.setAttribute=function(a,b,c,d){d?(b=d+":"+b,(d=$Qb[d])?a.setAttributeNS(d,b,c):a.setAttribute(b,c)):a.setAttribute(b,c)};g.removeAttribute=function(a,b,c){if(c){var d=$Qb[c];d?a.removeAttributeNS(d,b):a.removeAttribute(c+":"+b)}else a.removeAttribute(b)};g.addClass=function(a,b){a.classList.add(b)};g.removeClass=function(a,b){a.classList.remove(b)};g.setStyle=function(a,b,c,d){d&3?a.style.setProperty(b,c,d&1?"important":""):a.style[b]=c};
g.removeStyle=function(a,b,c){c&2?a.style.removeProperty(b):a.style[b]=""};g.setProperty=function(a,b,c){null!=a&&(a[b]=c)};g.setValue=function(a,b){a.nodeValue=b};g.listen=function(a,b,c){if("string"===typeof a&&(a=uPb(this.doc,a),!a))throw Error("Xa`"+a+"`"+b);return this.eventManager.addEventListener(a,b,dRb(this,c))};
var dRb=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()}},cRb=function(a,b,c,d,e,f,h,k){wy.call(this,a,e,f,k);this.sharedStylesHost=b;this.hostEl=c;this.shadowRoot=c.attachShadow({mode:"open"});a=this.sharedStylesHost;b=this.shadowRoot;a.hostNodes.add(b);c=l(a.styleRef.keys());for(e=c.next();!e.done;e=c.next())XQb(a,b,e.value);d=moa(d.id,d.styles);d=l(d);for(a=d.next();!a.done;a=d.next())a=
a.value,b=document.createElement("style"),h&&b.setAttribute("nonce",h),b.textContent=a,this.shadowRoot.appendChild(b)};Y(cRb,wy);var zy=function(a,b){return b===a.hostEl?a.shadowRoot:b};g=cRb.prototype;g.appendChild=function(a,b){return wy.prototype.appendChild.call(this,zy(this,a),b)};g.insertBefore=function(a,b,c){return wy.prototype.insertBefore.call(this,zy(this,a),b,c)};g.removeChild=function(a,b){return wy.prototype.removeChild.call(this,zy(this,a),b)};
g.parentNode=function(a){return zy(this,wy.prototype.parentNode.call(this,zy(this,a)))};g.destroy=function(){this.sharedStylesHost.hostNodes.delete(this.shadowRoot)};var yy=function(a,b,c,d,e,f,h,k){wy.call(this,a,e,f,h);this.sharedStylesHost=b;this.removeStylesOnCompDestroy=d;this.styles=k?moa(k,c.styles):c.styles};Y(yy,wy);
yy.prototype.destroy=function(){if(this.removeStylesOnCompDestroy)for(var a=this.sharedStylesHost,b=l(this.styles),c=b.next();!c.done;c=b.next())c=c.value,0>=WQb(a,c,-1)&&ZQb(a,c)};var bRb=function(a,b,c,d,e,f,h,k){d=d+"-"+c.id;yy.call(this,a,b,c,e,f,h,k,d);this.contentAttr="_ngcontent-%COMP%".replace(loa,d);this.hostAttr="_nghost-%COMP%".replace(loa,d)};Y(bRb,yy);
bRb.prototype.createElement=function(a,b){a=yy.prototype.createElement.call(this,a,b);yy.prototype.setAttribute.call(this,a,this.contentAttr,"");return a};var Ay=function(a){this._doc=a};Y(Ay,TQb);Ay.prototype.supports=function(){return!0};Ay.prototype.addEventListener=function(a,b,c){var d=this;a.addEventListener(b,c,!1);return function(){return d.removeEventListener(a,b,c)}};Ay.prototype.removeEventListener=function(a,b,c){return a.removeEventListener(b,c)};Ay.\u0275fac=function(a){return new (a||Ay)(p(Xg))};Ay.\u0275prov=Dc({token:Ay,factory:Ay.\u0275fac});var eRb=["alt","control","meta","shift"],fRb={"\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"},gRb={alt:function(a){return a.altKey},control:function(a){return a.ctrlKey},meta:function(a){return a.metaKey},shift:function(a){return a.shiftKey}},By=function(a){this._doc=a};Y(By,TQb);By.prototype.supports=function(a){return null!=hRb(a)};
By.prototype.addEventListener=function(a,b,c){var d=hRb(b),e=iRb(d.fullKey,c,this.manager._zone);return this.manager._zone.runOutsideAngular(function(){return PQb(a,d.domEventName,e)})};
var hRb=function(a){var b=a.toLowerCase().split(".");a=b.shift();if(0===b.length||"keydown"!==a&&"keyup"!==a)return null;var c=jRb(b.pop()),d="",e=b.indexOf("code");-1<e&&(b.splice(e,1),d="code.");eRb.forEach(function(f){var h=b.indexOf(f);-1<h&&(b.splice(h,1),d+=f+".")});d+=c;if(0!=b.length||0===c.length)return null;a={domEventName:a};a.fullKey=d;return a},kRb=function(a,b){var c=fRb[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");eRb.forEach(function(e){e!==c&&(0,gRb[e])(a)&&(d+=e+".")});d+=c;return d===b},iRb=function(a,b,c){return function(d){kRb(d,a)&&c.runGuarded(function(){return b(d)})}},jRb=function(a){return"esc"===a?"escape":a};By.\u0275fac=function(a){return new (a||By)(p(Xg))};By.\u0275prov=Dc({token:By,factory:By.\u0275fac});var UOb=Eka(dPb,"browser",[{provide:gf,useValue:"browser"},{provide:zka,useValue:function(){var a=new sy;rPb||(rPb=a)},multi:!0},{provide:Xg,useFactory:function(){return yga=document},deps:[]}]),lRb=new bd(""),mRb=[{provide:NOb,useClass:RQb,deps:[]},{provide:MOb,useClass:Nv,deps:[ef,Ov,NOb]},{provide:Nv,useClass:Nv,deps:[ef,Ov,NOb]}],nRb=[{provide:Fka,useValue:"root"},{provide:$d,useFactory:function(){return new $d},deps:[]},{provide:SQb,useClass:Ay,multi:!0,deps:[Xg,ef,gf]},{provide:SQb,useClass:By,
multi:!0,deps:[Xg]},xy,vy,uy,{provide:lNb,useExisting:xy},{provide:BPb,useClass:ty,deps:[]},[]],Cy=function(){};Cy.\u0275fac=function(a){return new (a||Cy)(p(lRb,12))};Cy.\u0275mod=Tc({type:Cy});Cy.\u0275inj=Ec({providers:[].concat(u(nRb),u(mRb)),imports:[hw,Rv]});var Dy=function(a){this._doc=a};Dy.prototype.getTitle=function(){return this._doc.title};Dy.prototype.setTitle=function(a){this._doc.title=a||""};Dy.\u0275fac=function(a){return new (a||Dy)(p(Xg))};Dy.\u0275prov=Dc({token:Dy,factory:function(a){var b=null;a?b=new a:b=new Dy(p(Xg));return b},providedIn:"root"});new bd("HammerGestureConfig");new bd("HammerLoader");var oRb=function(){},pRb=function(){};var Ey=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),f=e.toLowerCase();c=c.slice(d+1).trim();qRb(b,e,f);b.headers.has(f)?b.headers.get(f).push(c):b.headers.set(f,[c])}})}:"undefined"!==typeof Headers&&a instanceof Headers?(this.headers=new Map,a.forEach(function(c,d){rRb(b,d,c)})):this.lazyInit=function(){b.headers=new Map;Object.entries(a).forEach(function(c){var d=
l(c);c=d.next().value;d=d.next().value;rRb(b,c,d)})}:this.headers=new Map};g=Ey.prototype;g.has=function(a){this.init();return this.headers.has(a.toLowerCase())};g.get=function(a){this.init();return(a=this.headers.get(a.toLowerCase()))&&0<a.length?a[0]:null};g.keys=function(){this.init();return Array.from(this.normalizedNames.values())};g.getAll=function(a){this.init();return this.headers.get(a.toLowerCase())||null};g.append=function(a,b){return this.clone({name:a,value:b,op:"a"})};
g.set=function(a,b){return this.clone({name:a,value:b,op:"s"})};g.delete=function(a,b){return this.clone({name:a,value:b,op:"d"})};var qRb=function(a,b,c){a.normalizedNames.has(c)||a.normalizedNames.set(c,b)};Ey.prototype.init=function(){var a=this;this.lazyInit&&(this.lazyInit instanceof Ey?sRb(this,this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(b){return tRb(a,b)}),this.lazyUpdate=null))};
var sRb=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))})};Ey.prototype.clone=function(a){var b=new Ey;b.lazyInit=this.lazyInit&&this.lazyInit instanceof Ey?this.lazyInit:this;b.lazyUpdate=(this.lazyUpdate||[]).concat([a]);return b};
var tRb=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;qRb(a,b.name,c);b=("a"===b.op?a.headers.get(c):void 0)||[];b.push.apply(b,u(d));a.headers.set(c,b);break;case "d":var e=b.value;if(e){if(d=a.headers.get(c))d=d.filter(function(f){return-1===e.indexOf(f)}),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)}},rRb=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);qRb(a,b,d)};Ey.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 uRb=function(){},ooa=/%(\d[a-f0-9])/gi,poa={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"},Fy=function(a){var b=this;a=void 0===a?{}:a;this.cloneFrom=this.updates=null;this.encoder=a.encoder||new uRb;if(a.fromString){if(a.fromObject)throw Error("Ya");this.map=noa(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(roa):[""+d];b.map.set(c,d)})):this.map=null};g=Fy.prototype;
g.has=function(a){this.init();return this.map.has(a)};g.get=function(a){this.init();return(a=this.map.get(a))?a[0]:null};g.getAll=function(a){this.init();return this.map.get(a)||null};g.keys=function(){this.init();return Array.from(this.map.keys())};g.append=function(a,b){return this.clone({param:a,value:b,op:"a"})};g.set=function(a,b){return this.clone({param:a,value:b,op:"s"})};g.delete=function(a,b){return this.clone({param:a,value:b,op:"d"})};
g.toString=function(){var a=this;this.init();return this.keys().map(function(b){var c=qoa(b);return a.map.get(b).map(function(d){return c+"="+qoa(d)}).join("&")}).filter(function(b){return""!==b}).join("&")};g.clone=function(a){var b=new Fy({encoder:this.encoder});b.cloneFrom=this.cloneFrom||this;b.updates=(this.updates||[]).concat(a);return b};
g.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 vRb=function(){this.map=new Map};g=vRb.prototype;g.set=function(a,b){this.map.set(a,b);return this};g.get=function(a){this.map.has(a)||this.map.set(a,a.defaultValue());return this.map.get(a)};g.delete=function(a){this.map.delete(a);return this};g.has=function(a){return this.map.has(a)};g.keys=function(){return this.map.keys()};var Gy=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.transferCache=c.transferCache);this.headers||(this.headers=new Ey);this.context||(this.context=new vRb);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 Fy,this.urlWithParams=b)},wRb=function(a){return null===a.body?null:soa(a.body)||toa(a.body)||uoa(a.body)||"undefined"!==typeof URLSearchParams&&a.body instanceof URLSearchParams||"string"===typeof a.body?
a.body:a.body instanceof Fy?a.body.toString():"object"===typeof a.body||"boolean"===typeof a.body||Array.isArray(a.body)?JSON.stringify(a.body):a.body.toString()};
Gy.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,f=void 0!==a.withCredentials?a.withCredentials:this.withCredentials,h=void 0!==a.reportProgress?a.reportProgress:this.reportProgress,k=a.headers||this.headers,q=a.params||this.params,t,w=null!=(t=a.context)?t:this.context;void 0!==a.setHeaders&&(k=Object.keys(a.setHeaders).reduce(function(y,C){return y.set(C,a.setHeaders[C])},k));a.setParams&&
(q=Object.keys(a.setParams).reduce(function(y,C){return y.set(C,a.setParams[C])},q));return new Gy(b,c,e,{params:q,headers:k,context:w,reportProgress:h,responseType:d,withCredentials:f})};var Hy=function(a,b,c){b=void 0===b?200:b;c=void 0===c?"OK":c;this.headers=a.headers||new Ey;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},xRb=function(a){a=void 0===a?{}:a;Hy.call(this,a);this.type=2};Y(xRb,Hy);
xRb.prototype.clone=function(a){a=void 0===a?{}:a;return new xRb({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 Iy=function(a){a=void 0===a?{}:a;Hy.call(this,a);this.type=4;this.body=void 0!==a.body?a.body:null};Y(Iy,Hy);
Iy.prototype.clone=function(a){a=void 0===a?{}:a;return new Iy({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 yRb=function(a){Hy.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};Y(yRb,Hy);var Jy=function(a){this.handler=a};g=Jy.prototype;
g.request=function(a,b,c){var d=this;c=void 0===c?{}:c;if(a instanceof Gy)b=a;else{var e=void 0;e=c.headers instanceof Ey?c.headers:new Ey(c.headers);var f=void 0;c.params&&(f=c.params instanceof Fy?c.params:new Fy({fromObject:c.params}));b=new Gy(a,b,void 0!==c.body?c.body:null,{headers:e,context:c.context,params:f,reportProgress:c.reportProgress,responseType:c.responseType||"json",withCredentials:c.withCredentials,transferCache:c.transferCache})}e=(0,E.of)(b).pipe(Be(function(h){return d.handler.handle(h)},
1));if(a instanceof Gy||"events"===c.observe)return e;a=e.pipe(He(function(h){return h instanceof Iy}));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("Za");return h.body}));case "blob":return a.pipe(D(function(h){if(null!==h.body&&!(h.body instanceof Blob))throw Error("$a");return h.body}));case "text":return a.pipe(D(function(h){if(null!==h.body&&"string"!==typeof h.body)throw Error("ab");
return h.body}));default:return a.pipe(D(function(h){return h.body}))}case "response":return a;default:throw Error("bb`"+c.observe);}};g.delete=function(a,b){b=void 0===b?{}:b;return this.request("DELETE",a,b)};g.get=function(a,b){b=void 0===b?{}:b;return this.request("GET",a,b)};g.head=function(a,b){b=void 0===b?{}:b;return this.request("HEAD",a,b)};g.jsonp=function(a,b){return this.request("JSONP",a,{params:(new Fy).append(b,"JSONP_CALLBACK"),observe:"body",responseType:"json"})};
g.options=function(a,b){b=void 0===b?{}:b;return this.request("OPTIONS",a,b)};g.patch=function(a,b,c){c=void 0===c?{}:c;return this.request("PATCH",a,voa(c,b))};g.post=function(a,b,c){c=void 0===c?{}:c;return this.request("POST",a,voa(c,b))};g.put=function(a,b,c){c=void 0===c?{}:c;return this.request("PUT",a,voa(c,b))};Jy.\u0275fac=function(a){return new (a||Jy)(p(oRb))};Jy.\u0275prov=Dc({token:Jy,factory:Jy.\u0275fac});var Ky=new bd(""),zRb=new bd(""),ARb=new bd(""),BRb=new bd(""),Ly=function(a,b){this.backend=a;this.injector=b;this.chain=null;this.pendingTasks=Nc(Lv);var c;this.backend=null!=(c=Nc(BRb,{optional:!0}))?c:a};Y(Ly,oRb);Ly.prototype.handle=function(a){var b=this;null===this.chain&&(this.chain=Array.from(new Set([].concat(u(this.injector.get(zRb)),u(this.injector.get(ARb,[]))))).reduceRight(function(d,e){return yoa(d,e,b.injector)},woa));var c=this.pendingTasks.add();return this.chain(a,function(d){return b.backend.handle(d)}).pipe(Se(function(){return b.pendingTasks.remove(c)}))};
Ly.\u0275fac=function(a){return new (a||Ly)(p(pRb),p(yu))};Ly.\u0275prov=Dc({token:Ly,factory:Ly.\u0275fac});var CRb=/^\)\]\}',?\n/,My=function(a){this.xhrFactory=a};
My.prototype.handle=function(a){if("JSONP"===a.method)throw new Hc(-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(J,I){return d.setRequestHeader(J,I.join(","))});a.headers.has("Accept")||d.setRequestHeader("Accept","application/json, text/plain, */*");if(!a.headers.has("Content-Type")){var e=
null===a.body||uoa(a.body)?null:toa(a.body)?a.body.type||null:soa(a.body)?null:"string"===typeof a.body?"text/plain":a.body instanceof Fy?"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 f=wRb(a),h=null,k=function(){if(null!==h)return h;var J=d.statusText||"OK",I=
new Ey(d.getAllResponseHeaders()),P=("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 xRb({headers:I,status:d.status,statusText:J,url:P})},q=function(){var J=k(),I=J.headers,P=J.status,O=J.statusText;J=J.url;var U=null;204!==P&&(U="undefined"===typeof d.response?d.responseText:d.response);0===P&&(P=U?200:0);var aa=200<=P&&300>P;if("json"===a.responseType&&"string"===typeof U){var na=U;U=
U.replace(CRb,"");try{U=""!==U?JSON.parse(U):null}catch(sa){U=na,aa&&(aa=!1,U={error:sa,text:U})}}aa?(c.next(new Iy({body:U,headers:I,status:P,statusText:O,url:J||void 0})),c.complete()):c.error(new yRb({error:U,headers:I,status:P,statusText:O,url:J||void 0}))},t=function(J){var I=k().url;J=new yRb({error:J,status:d.status||0,statusText:d.statusText||"Unknown Error",url:I||void 0});c.error(J)},w=!1,y=function(J){w||(c.next(k()),w=!0);var I={type:3,loaded:J.loaded};J.lengthComputable&&(I.total=J.total);
"text"===a.responseType&&d.responseText&&(I.partialText=d.responseText);c.next(I)},C=function(J){var I={type:1,loaded:J.loaded};J.lengthComputable&&(I.total=J.total);c.next(I)};d.addEventListener("load",q);d.addEventListener("error",t);d.addEventListener("timeout",t);d.addEventListener("abort",t);a.reportProgress&&(d.addEventListener("progress",y),null!==f&&d.upload&&d.upload.addEventListener("progress",C));d.send(f);c.next({type:0});return function(){d.removeEventListener("error",t);d.removeEventListener("abort",
t);d.removeEventListener("load",q);d.removeEventListener("timeout",t);a.reportProgress&&(d.removeEventListener("progress",y),null!==f&&d.upload&&d.upload.removeEventListener("progress",C));d.readyState!==d.DONE&&d.abort()}})}))};My.\u0275fac=function(a){return new (a||My)(p(BPb))};My.\u0275prov=Dc({token:My,factory:My.\u0275fac});var zoa=new bd("XSRF_ENABLED"),DRb=new bd("XSRF_COOKIE_NAME",{providedIn:"root",factory:function(){return"XSRF-TOKEN"}}),Boa=new bd("XSRF_HEADER_NAME",{providedIn:"root",factory:function(){return"X-XSRF-TOKEN"}}),Aoa=function(){},Ny=function(a,b,c){this.doc=a;this.platform=b;this.cookieName=c;this.lastCookieString="";this.lastToken=null};
Ny.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=l(a.split(";")),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.indexOf("=");e=l(-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};
Ny.\u0275fac=function(a){return new (a||Ny)(p(Xg),p(gf),p(DRb))};Ny.\u0275prov=Dc({token:Ny,factory:Ny.\u0275fac});var ERb=new bd("LEGACY_INTERCEPTOR_FN");var Oy=function(){};Oy.\u0275fac=function(a){return new (a||Oy)};Oy.\u0275mod=Tc({type:Oy});
Oy.\u0275inj=Ec({providers:[function(){for(var a=[Jy,My,Ly,{provide:oRb,useExisting:Ly},{provide:pRb,useExisting:My},{provide:zRb,useValue:Coa,multi:!0},{provide:zoa,useValue:!0},{provide:Aoa,useClass:Ny}],b=l($c.apply(0,arguments)),c=b.next();!c.done;c=b.next())a.push.apply(a,u(c.value.\u0275providers));return{"\u0275providers":a}}({"\u0275kind":1,"\u0275providers":[{provide:ERb,useFactory:function(){var a=null;return function(b,c){if(null===a){var d;a=(null!=(d=Nc(Ky,{optional:!0}))?d:[]).reduceRight(xoa,
woa)}var e=Nc(Lv),f=e.add();return a(b,c).pipe(Se(function(){return e.remove(f)}))}}},{provide:zRb,useExisting:ERb,multi:!0}]})]});new bd("");var Py=function(){};Py.\u0275fac=function(a){return new (a||Py)};Py.\u0275prov=Dc({token:Py,factory:function(a){return a?new (a||Py):p(Qy)},providedIn:"root"});var Qy=function(a){this._doc=a};Y(Qy,Py);
Qy.prototype.sanitize=function(a,b){if(null==b)return null;switch(a){case 0:return b;case 1:return Rd(b,"HTML")?Qd(b):jha(this._doc,String(b)).toString();case 2:return Rd(b,"Style")?Qd(b):b;case 3:if(Rd(b,"Script"))return Qd(b);throw new Hc(5200,!1);case 4:return Rd(b,"URL")?Qd(b):Xga(String(b));case 5:if(Rd(b,"ResourceURL"))return Qd(b);throw new Hc(5201,!1);default:throw new Hc(5202,!1);}};Qy.prototype.bypassSecurityTrustHtml=function(a){return new nNb(a)};Qy.prototype.bypassSecurityTrustUrl=function(a){return new oNb(a)};
Qy.prototype.bypassSecurityTrustResourceUrl=function(a){return new pNb(a)};Qy.\u0275fac=function(a){return new (a||Qy)(p(Xg))};Qy.\u0275prov=Dc({token:Qy,factory:function(a){a?a=new a:(a=p(ff),a=new Qy(a.get(Xg)));return a},providedIn:"root"});new Hv;var FRb=qt([""]),GRb=BJb(["\x00"],["\\0"]),HRb=BJb(["\n"],["\\n"]),IRb=BJb(["\x00"],["\\u0000"]);Doa(function(a){return a(FRb)})||Doa(function(a){return a(GRb)})||Doa(function(a){return a(HRb)})||Doa(function(a){return a(IRb)});var KRb=function(a){var b=Vo("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||da.$googDebugFname||b}catch(h){e="Not available",c=!0}b=JRb(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,Ry[c])c=Ry[c];else{c=String(c);if(!Ry[c]){var f=/function\s+([^\(]+)/m.exec(c);Ry[c]=f?f[1]:"[Anonymous]"}c=Ry[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"}}return{message:a.message,
name:a.name,lineNumber:a.lineNumber,fileName:a.fileName,stack:b}},JRb=function(a,b){b||(b={});b[LRb(a)]=!0;var c=a.stack||"";(a=a.cause)&&!b[LRb(a)]&&(c+="\nCaused by: ",a.stack&&0==a.stack.indexOf(a.toString())||(c+="string"===typeof a?a:a.message+"\n"),c+=JRb(a,b));return c},LRb=function(a){var b="";"function"===typeof a.toString&&(b=""+a);return b+a.stack},Ry={};var Eoa=function(a){this.isValid=a},Foa=[Zg("data"),Zg("http"),Zg("https"),Zg("mailto"),Zg("ftp"),new Eoa(function(a){return/^[^:]*([/?#]|$)/.test(a)})],Goa="function"===typeof URL;var Joa=/^[a-z][a-z\d-]*$/i,Koa="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" "),Noa="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" "),Ooa=["action","formaction","href"];var Sy=function(a){this.decorated=new Qy(a)};Y(Sy,Py);Sy.prototype.sanitize=function(a,b){if(null==b)return null;if(b instanceof tu||b instanceof hc||b instanceof lc){if(MRb(b,a))return this.decorated.sanitize(a,NRb(this,b));throw Error("cb`"+yNb[a]+"`"+b);}return this.decorated.sanitize(a,b)};Sy.prototype.bypassSecurityTrustHtml=function(){throw Error("db");};Sy.prototype.bypassSecurityTrustUrl=function(){throw Error("db");};
Sy.prototype.bypassSecurityTrustResourceUrl=function(){throw Error("db");};var NRb=function(a,b){if(null!=b){if(b instanceof lc)return a.decorated.bypassSecurityTrustHtml(String(b));if(b instanceof hc)return a.decorated.bypassSecurityTrustUrl(ic(b));if(b instanceof tu)return a.decorated.bypassSecurityTrustResourceUrl(String(b))}return null},MRb=function(a,b){switch(b){case 1:return a instanceof lc;case 4:return a instanceof hc||a instanceof tu;case 5:return a instanceof tu;case 3:return!1;default:return!1}};
Sy.\u0275fac=function(a){return new (a||Sy)(p(Xg))};Sy.\u0275prov=Dc({token:Sy,factory:Sy.\u0275fac});var ORb=[{provide:EOb,useExisting:Py},{provide:Py,useClass:Sy}],Ty=function(){};Ty.\u0275fac=function(a){return new (a||Ty)};Ty.\u0275mod=Tc({type:Ty});Ty.\u0275inj=Ec({providers:ORb,imports:[Cy]});var PRb=function(){};var yh=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)};g=yh.prototype;g._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(a){return a()}),this._onDoneFns=[])};g.onStart=function(a){this._originalOnStartFns.push(a);this._onStartFns.push(a)};
g.onDone=function(a){this._originalOnDoneFns.push(a);this._onDoneFns.push(a)};g.onDestroy=function(a){this._onDestroyFns.push(a)};g.hasStarted=function(){return this._started};g.init=function(){};g.play=function(){this.hasStarted()||(this._onStart(),QRb(this));this._started=!0};var QRb=function(a){queueMicrotask(function(){return a._onFinish()})};g=yh.prototype;g._onStart=function(){this._onStartFns.forEach(function(a){return a()});this._onStartFns=[]};g.pause=function(){};g.restart=function(){};
g.finish=function(){this._onFinish()};g.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(a){return a()}),this._onDestroyFns=[])};g.reset=function(){this._finished=this._started=!1;this._onStartFns=this._originalOnStartFns;this._onDoneFns=this._originalOnDoneFns};g.setPosition=function(a){this._position=this.totalTime?a*this.totalTime:1};
g.getPosition=function(){return this.totalTime?this._position/this.totalTime:1};g.triggerCallback=function(a){a="start"==a?this._onStartFns:this._onDoneFns;a.forEach(function(b){return b()});a.length=0};var apa=function(a){var b=this;this._onDoneFns=[];this._onStartFns=[];this._destroyed=this._started=this._finished=!1;this._onDestroyFns=[];this.parentPlayer=null;this.totalTime=0;this.players=a;var c=0,d=0,e=0,f=this.players.length;0==f?queueMicrotask(function(){return b._onFinish()}):this.players.forEach(function(h){h.onDone(function(){++c==f&&b._onFinish()});h.onDestroy(function(){++d==f&&b._onDestroy()});h.onStart(function(){++e==f&&b._onStart()})});this.totalTime=this.players.reduce(function(h,
k){return Math.max(h,k.totalTime)},0)};g=apa.prototype;g._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(a){return a()}),this._onDoneFns=[])};g.init=function(){this.players.forEach(function(a){return a.init()})};g.onStart=function(a){this._onStartFns.push(a)};g._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(a){return a()}),this._onStartFns=[])};g.onDone=function(a){this._onDoneFns.push(a)};g.onDestroy=function(a){this._onDestroyFns.push(a)};
g.hasStarted=function(){return this._started};g.play=function(){this.parentPlayer||this.init();this._onStart();this.players.forEach(function(a){return a.play()})};g.pause=function(){this.players.forEach(function(a){return a.pause()})};g.restart=function(){this.players.forEach(function(a){return a.restart()})};g.finish=function(){this._onFinish();this.players.forEach(function(a){return a.finish()})};g.destroy=function(){this._onDestroy()};
g._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(a){return a.destroy()}),this._onDestroyFns.forEach(function(a){return a()}),this._onDestroyFns=[])};g.reset=function(){this.players.forEach(function(a){return a.reset()});this._started=this._finished=this._destroyed=!1};g.setPosition=function(a){var b=a*this.totalTime;this.players.forEach(function(c){c.setPosition(c.totalTime?Math.min(1,b/c.totalTime):1)})};
g.getPosition=function(){var a=this.players.reduce(function(b,c){return null===b||c.totalTime>b.totalTime?c:b},null);return null!=a?a.getPosition():0};g.beforeDestroy=function(){this.players.forEach(function(a){a.beforeDestroy&&a.beforeDestroy()})};g.triggerCallback=function(a){a="start"==a?this._onStartFns:this._onDoneFns;a.forEach(function(b){return b()});a.length=0};var Xoa=RegExp("{{\\s*(.+?)\\s*}}","g"),Zoa=/-+([a-z0-9])/g;var RRb=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(" ")),SRb=function(){};Y(SRb,PRb);
var bpa=function(a,b,c){var d="",e=b.toString().trim();RRb.has(a)&&0!==b&&"0"!==b&&("number"===typeof b?d="px":(a=b.match(/^[+-]?[\d\.]+([a-z]*)$/))&&0==a[1].length&&c.push(new Hc(3005,!1)));return e+d};var hpa="undefined"===typeof document?null:document.documentElement;var Uy=function(){};g=Uy.prototype;g.containsElement=function(a,b){return jpa(a,b)};g.getParentElement=function(a){return ipa(a)};g.query=function(a,b,c){return kpa(a,b,c)};g.computeStyle=function(a,b,c){return c||""};g.animate=function(a,b,c,d){return new yh(c,d)};Uy.\u0275fac=function(a){return new (a||Uy)};Uy.\u0275prov=Dc({token:Uy,factory:Uy.\u0275fac});var TRb=function(){};var opa=new Set(["true","1"]),ppa=new Set(["false","0"]);var qpa=RegExp("s*:selfs*,?","g"),URb=function(a){this._driver=a};g=URb.prototype;g.build=function(a,b){b=new VRb(b);this._resetContextStyleTimingState(b);return xh(this,vh(a),b)};g._resetContextStyleTimingState=function(a){a.currentQuerySelector="";a.collectedStyles=new Map;a.collectedStyles.set("",new Map);a.currentTime=0};
g.visitTrigger=function(a,b){var c=this,d=b.queryCount=0,e=b.depCount=0,f=[],h=[];"@"==a.name.charAt(0)&&b.errors.push(new Hc(3006,!1));a.definitions.forEach(function(k){c._resetContextStyleTimingState(b);if(0==k.type){var q=k.name;q.toString().split(/\s*,\s*/).forEach(function(t){k.name=t;f.push(c.visitState(k,b))});k.name=q}else 1==k.type?(q=c.visitTransition(k,b),d+=q.queryCount,e+=q.depCount,h.push(q)):b.errors.push(new Hc(3007,!1))});return{type:7,name:a.name,states:f,transitions:h,queryCount:d,
depCount:e,options:null}};g.visitState=function(a,b){var c=this.visitStyle(a.styles,b),d=a.options&&a.options.params||null;if(c.containsDynamicStyles){var e=new Set,f=d||{};c.styles.forEach(function(h){h instanceof Map&&h.forEach(function(k){Voa(k).forEach(function(q){f.hasOwnProperty(q)||e.add(q)})})});e.size&&(Yoa(e.values()),b.errors.push(new Hc(3008,!1)))}return{type:0,name:a.name,style:c,options:d?{params:d}:null}};
g.visitTransition=function(a,b){b.queryCount=0;b.depCount=0;var c=xh(this,vh(a.animation),b);return{type:1,matchers:npa(a.expr,b.errors),animation:c,queryCount:b.queryCount,depCount:b.depCount,options:Bh(a.options)}};g.visitSequence=function(a,b){var c=this;return{type:2,steps:a.steps.map(function(d){return xh(c,d,b)}),options:Bh(a.options)}};
g.visitGroup=function(a,b){var c=this,d=b.currentTime,e=0,f=a.steps.map(function(h){b.currentTime=d;h=xh(c,h,b);e=Math.max(e,b.currentTime);return h});b.currentTime=e;return{type:3,steps:f,options:Bh(a.options)}};
g.visitAnimate=function(a,b){var c=tpa(a.timings,b.errors);b.currentAnimateTimings=c;var d=a.styles?a.styles:kh({});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=kh(d));b.currentTime+=c.duration+c.delay;var e=this.visitStyle(d,b);e.isEmptyStep=a;a=e}b.currentAnimateTimings=null;return{type:4,timings:c,style:a,options:null}};g.visitStyle=function(a,b){a=this._makeStyleAst(a,b);this._validateStyleAst(a,b);return a};
g._makeStyleAst=function(a,b){var c=[],d=Array.isArray(a.styles)?a.styles:[a.styles];d=l(d);for(var e=d.next();!e.done;e=d.next())e=e.value,"string"===typeof e?"*"===e?c.push(e):b.errors.push(new Hc(3002,!1)):c.push(Soa(e));var f=!1,h=null;c.forEach(function(k){if(k instanceof Map&&(k.has("easing")&&(h=k.get("easing"),k.delete("easing")),!f)){k=l(k.values());for(var q=k.next();!q.done;q=k.next())if(0<=q.value.toString().indexOf("{{")){f=!0;break}}});return{type:6,styles:c,easing:h,offset:a.offset,
containsDynamicStyles:f,options:null}};g._validateStyleAst=function(a,b){var c=b.currentAnimateTimings,d=b.currentTime,e=b.currentTime;c&&0<e&&(e-=c.duration+c.delay);a.styles.forEach(function(f){"string"!==typeof f&&f.forEach(function(h,k){var q=b.collectedStyles.get(b.currentQuerySelector),t=q.get(k),w=!0;t&&(e!=d&&e>=t.startTime&&d<=t.endTime&&(b.errors.push(new Hc(3010,!1)),w=!1),e=t.startTime);w&&q.set(k,{startTime:e,endTime:d});b.options&&Woa(h,b.options,b.errors)})})};
g.visitKeyframes=function(a,b){var c=this,d={type:5,styles:[],options:null};if(!b.currentAnimateTimings)return b.errors.push(new Hc(3011,!1)),d;var e=0,f=[],h=!1,k=!1,q=0,t=a.steps.map(function(P){P=c._makeStyleAst(P,b);var O=null!=P.offset?P.offset:spa(P.styles),U=0;null!=O&&(e++,U=P.offset=O);k=k||0>U||1<U;h=h||U<q;q=U;f.push(U);return P});k&&b.errors.push(new Hc(3012,!1));h&&b.errors.push(new Hc(3200,!1));a=a.steps.length;var w=0;0<e&&e<a?b.errors.push(new Hc(3202,!1)):0==e&&(w=1/(a-1));var y=
a-1,C=b.currentTime,J=b.currentAnimateTimings,I=J.duration;t.forEach(function(P,O){O=0<w?O==y?1:w*O:f[O];var U=O*I;b.currentTime=C+J.delay+U;J.duration=U;c._validateStyleAst(P,b);P.offset=O;d.styles.push(P)});return d};g.visitReference=function(a,b){return{type:8,animation:xh(this,vh(a.animation),b),options:Bh(a.options)}};g.visitAnimateChild=function(a,b){b.depCount++;return{type:9,options:Bh(a.options)}};
g.visitAnimateRef=function(a,b){return{type:10,animation:this.visitReference(a.animation,b),options:Bh(a.options)}};
g.visitQuery=function(a,b){var c=b.currentQuerySelector,d=a.options||{};b.queryCount++;b.currentQuery=a;var e=l(rpa(a.selector)),f=e.next().value;e=e.next().value;b.currentQuerySelector=c.length?c+" "+f:f;Ah(b.collectedStyles,b.currentQuerySelector,new Map);var h=xh(this,vh(a.animation),b);b.currentQuery=null;b.currentQuerySelector=c;return{type:11,selector:f,limit:d.limit||0,optional:!!d.optional,includeSelf:e,animation:h,originalSelector:a.selector,options:Bh(a.options)}};
g.visitStagger=function(a,b){b.currentQuery||b.errors.push(new Hc(3013,!1));var c="full"===a.timings?{duration:0,delay:0,easing:"full"}:Roa(a.timings,b.errors,!0);return{type:12,animation:xh(this,vh(a.animation),b),timings:c,options:null}};var VRb=function(a){this.errors=a;this.depCount=this.queryCount=0;this.currentAnimateTimings=this.currentQuerySelector=this.currentQuery=this.currentTransition=null;this.currentTime=0;this.collectedStyles=new Map;this.options=null};var Vy=function(){this._map=new Map};Vy.prototype.get=function(a){return this._map.get(a)||[]};Vy.prototype.append=function(a,b){var c=this._map.get(a);c||this._map.set(a,c=[]);c.push.apply(c,u(b))};Vy.prototype.has=function(a){return this._map.has(a)};Vy.prototype.clear=function(){this._map.clear()};var WRb=RegExp(":enter","g"),XRb=RegExp(":leave","g"),vpa=function(){};g=vpa.prototype;
g.buildKeyframes=function(a,b,c,d,e,f,h,k,q,t){t=void 0===t?[]:t;q=q||new Vy;a=new Wy(a,b,q,d,e,t,[]);a.options=k;d=k.delay?qh(k.delay):0;a.currentTimeline.delayNextStep(d);YRb(a.currentTimeline,[f],null,a.errors,k);xh(this,c,a);c=a.timelines.filter(function(y){return y.containsAnimation()});if(c.length&&h.size){for(f=c.length-1;0<=f;f--)if(e=c[f],e.element===b){var w=e;break}w&&w._currentEmptyStepKeyframe===w._currentKeyframe&&YRb(w,[h],null,a.errors,k)}return c.length?c.map(function(y){return y.buildKeyframes()}):
[upa(b,[],[],[],0,d,"",!1)]};g.visitTrigger=function(){};g.visitState=function(){};g.visitTransition=function(){};g.visitAnimateChild=function(a,b){var c=b.subInstructions.get(b.element);if(c){var d=Xy(b,a.options),e=b.currentTimeline.currentTime;c=this._visitSubInstructions(c,d,d.options);e!=c&&Yy(b,c)}b.previousNode=a};
g.visitAnimateRef=function(a,b){var c=Xy(b,a.options);Yy(c);this._applyAnimationRefDelays([a.options,a.animation.options],b,c);this.visitReference(a.animation,c);Yy(b,c.currentTimeline.currentTime);b.previousNode=a};g._applyAnimationRefDelays=function(a,b,c){a=l(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0,f=null==(e=d)?void 0:e.delay;if(f){var h=e=void 0;d="number"===typeof f?f:qh(wh(f,null!=(h=null==(e=d)?void 0:e.params)?h:{},b.errors));c.delayNextStep(d)}}};
g._visitSubInstructions=function(a,b,c){var d=b.currentTimeline.currentTime,e=null!=c.duration?qh(c.duration):null,f=null!=c.delay?qh(c.delay):null;0!==e&&a.forEach(function(h){var k={duration:null!=e?e:h.duration,delay:b.currentTimeline.currentTime+(null!=f?f:0)+h.delay,easing:""};h=new ZRb(b._driver,h.element,h.keyframes,h.preStyleProps,h.postStyleProps,k,h.stretchStartingKeyframe);b.timelines.push(h);d=Math.max(d,k.duration+k.delay)});return d};
g.visitReference=function(a,b){$Rb(b,a.options,!0);xh(this,a.animation,b);b.previousNode=a};g.visitSequence=function(a,b){var c=this,d=b.subContextCount,e=b,f=a.options;f&&(f.params||f.delay)&&(e=Xy(b,f),Yy(e),null!=f.delay&&(6==e.previousNode.type&&(Zy(e.currentTimeline),e.previousNode=aSb),e.delayNextStep(qh(f.delay))));a.steps.length&&(a.steps.forEach(function(h){return xh(c,h,e)}),$y(e.currentTimeline),e.subContextCount>d&&Yy(e));b.previousNode=a};
g.visitGroup=function(a,b){var c=this,d=[],e=b.currentTimeline.currentTime,f=a.options&&a.options.delay?qh(a.options.delay):0;a.steps.forEach(function(h){var k=Xy(b,a.options);f&&k.delayNextStep(f);xh(c,h,k);e=Math.max(e,k.currentTimeline.currentTime);d.push(k.currentTimeline)});d.forEach(function(h){return bSb(b.currentTimeline,h)});Yy(b,e);b.previousNode=a};
g._visitTiming=function(a,b){return a.dynamic?(a=a.strValue,a=b.params?wh(a,b.params,b.errors):a,Roa(a,b.errors)):{duration:a.duration,delay:a.delay,easing:a.easing}};
g.visitAnimate=function(a,b){var c=b.currentAnimateTimings=this._visitTiming(a.timings,b),d=b.currentTimeline;c.delay&&(cSb(b.currentTimeline,b.currentTimeline.duration+c.delay),Zy(d));var e=a.style;5==e.type?this.visitKeyframes(e,b):(cSb(b.currentTimeline,b.currentTimeline.duration+c.duration),this.visitStyle(e,b),$y(d));b.currentAnimateTimings=null;b.previousNode=a};
g.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=l(c._globalTimelineStyles);for(var e=d.next();!e.done;e=d.next()){var f=l(e.value);e=f.next().value;f=f.next().value;c._backFill.set(e,f||"*");c._currentKeyframe.set(e,"*")}c._currentEmptyStepKeyframe=c._currentKeyframe}else YRb(c,a.styles,d,b.errors,b.options);b.previousNode=
a};g.visitKeyframes=function(a,b){var c=b.currentAnimateTimings,d=b.currentTimeline.duration,e=c.duration,f=Xy(b).currentTimeline;f.easing=c.easing;a.styles.forEach(function(h){cSb(f,(h.offset||0)*e);YRb(f,h.styles,h.easing,b.errors,b.options);$y(f)});bSb(b.currentTimeline,f);Yy(b,d+e);b.previousNode=a};
g.visitQuery=function(a,b){var c=this,d=b.currentTimeline.currentTime,e=a.options||{},f=e.delay?qh(e.delay):0;f&&(6===b.previousNode.type||0==d&&0<b.currentTimeline._currentKeyframe.size)&&(Zy(b.currentTimeline),b.previousNode=aSb);var h=d;d=dSb(b,a.selector,a.limit,a.includeSelf,e.optional?!0:!1,b.errors);b.currentQueryTotal=d.length;var k=null;d.forEach(function(q,t){b.currentQueryIndex=t;t=Xy(b,a.options,q);f&&t.delayNextStep(f);q===b.element&&(k=t.currentTimeline);xh(c,a.animation,t);$y(t.currentTimeline);
h=Math.max(h,t.currentTimeline.currentTime)});b.currentQueryIndex=0;b.currentQueryTotal=0;Yy(b,h);k&&(bSb(b.currentTimeline,k),Zy(b.currentTimeline));b.previousNode=a};
g.visitStagger=function(a,b){var c=b.parentContext,d=b.currentTimeline,e=a.timings,f=Math.abs(e.duration),h=f*(b.currentQueryTotal-1);f*=b.currentQueryIndex;switch(0>e.duration?"reverse":e.easing){case "reverse":f=h-f;break;case "full":f=c.currentStaggerTime}e=b.currentTimeline;f&&e.delayNextStep(f);e=e.currentTime;xh(this,a.animation,b);b.previousNode=a;c.currentStaggerTime=d.currentTime-e+(d.startTime-c.currentTimeline.startTime)};
var aSb={},Wy=function(a,b,c,d,e,f,h,k){this._driver=a;this.element=b;this.subInstructions=c;this._enterClassName=d;this._leaveClassName=e;this.errors=f;this.timelines=h;this.currentAnimateTimings=this.parentContext=null;this.previousNode=aSb;this.subContextCount=0;this.options={};this.currentStaggerTime=this.currentQueryTotal=this.currentQueryIndex=0;this.currentTimeline=k||new az(this._driver,b,0);h.push(this.currentTimeline)},$Rb=function(a,b,c){if(b){var d=a.options;null!=b.duration&&(d.duration=
qh(b.duration));null!=b.delay&&(d.delay=qh(b.delay));var e=b.params;if(e){var f=d.params;f||(f=a.options.params={});Object.keys(e).forEach(function(h){c&&f.hasOwnProperty(h)||(f[h]=wh(e[h],f,a.errors))})}}};Wy.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 Xy=function(a,b,c){b=void 0===b?null:b;c=c||a.element;c=new Wy(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();$Rb(c,b);c.currentQueryIndex=a.currentQueryIndex;c.currentQueryTotal=a.currentQueryTotal;c.parentContext=a;a.subContextCount++;return c},Yy=function(a,b){a.previousNode=aSb;a.currentTimeline=a.currentTimeline.fork(a.element,
b);a.timelines.push(a.currentTimeline)};Wy.prototype.delayNextStep=function(a){0<a&&this.currentTimeline.delayNextStep(a)};var dSb=function(a,b,c,d,e,f){var h=[];d&&h.push(a.element);0<b.length&&(b=b.replace(WRb,"."+a._enterClassName),b=b.replace(XRb,"."+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,u(a)));e||0!=h.length||f.push(new Hc(3014,!1));return h};
Gh.Object.defineProperties(Wy.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});
var az=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()};az.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return 0<this._currentKeyframe.size;default:return!0}};az.prototype.delayNextStep=function(a){var b=1===this._keyframes.size&&this._pendingStyles.size;this.duration||b?(cSb(this,this.currentTime+a),b&&Zy(this)):this.startTime+=a};
az.prototype.fork=function(a,b){$y(this);return new az(this._driver,a,b||this.currentTime,this._elementTimelineStylesLookup)};az.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 cSb=function(a,b){$y(a);a.duration=b;a._loadKeyframe()};
az.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 YRb=function(a,b,c,d,e){c&&a._previousKeyframe.set("easing",c);c=e&&e.params||{};b=ypa(b,a._globalTimelineStyles);b=l(b);for(e=b.next();!e.done;e=b.next()){var f=l(e.value);e=f.next().value;f=f.next().value;f=wh(f,c,d);a._pendingStyles.set(e,f);if(!a._localTimelineStyles.has(e)){var h=void 0;a._backFill.set(e,null!=(h=a._globalTimelineStyles.get(e))?h:"*")}a._updateStyle(e,f)}},$y=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)}))},Zy=function(a){for(var b=l(a._localTimelineStyles),c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;a._pendingStyles.set(c,d);a._updateStyle(c,d)}},bSb=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)})};
az.prototype.buildKeyframes=function(){var a=this;$y(this);var b=new Set,c=new Set,d=1===this._keyframes.size&&0===this.duration,e=[];this._keyframes.forEach(function(t,w){t=sh(t,new Map,a._backFill);t.forEach(function(y,C){"!"===y?b.add(C):"*"===y&&c.add(C)});d||t.set("offset",w/a.duration);e.push(t)});var f=b.size?Yoa(b.values()):[],h=c.size?Yoa(c.values()):[];if(d){var k=e[0],q=new Map(k);k.set("offset",0);q.set("offset",1);e=[k,q]}return upa(this.element,e,f,h,this.duration,this.startTime,this.easing,
!1)};Gh.Object.defineProperties(az.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 ZRb=function(a,b,c,d,e,f,h){h=void 0===h?!1:h;az.call(this,a,b,f.delay);this.keyframes=c;this.preStyleProps=d;this.postStyleProps=e;this._stretchStartingKeyframe=h;this.timings={duration:f.duration,delay:f.delay,easing:f.easing}};
Y(ZRb,az);ZRb.prototype.containsAnimation=function(){return 1<this.keyframes.length};
ZRb.prototype.buildKeyframes=function(){var a=this.keyframes,b=this.timings,c=b.delay,d=b.duration,e=b.easing;if(this._stretchStartingKeyframe&&c){b=[];e=d+c;var f=c/e,h=sh(a[0]);h.set("offset",0);b.push(h);h=sh(a[0]);h.set("offset",xpa(f));b.push(h);f=a.length-1;for(h=1;h<=f;h++){var k=sh(a[h]),q=k.get("offset");k.set("offset",xpa((c+q*d)/e));b.push(k)}d=e;c=0;e="";a=b}return upa(this.element,a,this.preStyleProps,this.postStyleProps,d,c,e,!0)};var eSb={},Ch=function(a,b,c){this._triggerName=a;this.ast=b;this._stateStyles=c};Ch.prototype.match=function(a,b,c,d){return Apa(this.ast.matchers,a,b,c,d)};Ch.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};
Ch.prototype.build=function(a,b,c,d,e,f,h,k,q,t){var w=[],y=this.ast.options&&this.ast.options.params||eSb;h=this.buildStyles(c,h&&h.params||eSb,w);var C=k&&k.params||eSb;k=this.buildStyles(d,C,w);var J=new Set,I=new Map,P=new Map,O="void"===d,U;y={params:Bpa(C,y),delay:null==(U=this.ast.options)?void 0:U.delay};a=t?[]:wpa(a,b,this.ast.animation,e,f,h,k,y,q,w);var aa=0;a.forEach(function(na){aa=Math.max(na.duration+na.delay,aa)});if(w.length)return zpa(b,this._triggerName,c,d,O,h,k,[],[],I,P,aa,w);
a.forEach(function(na){var sa=na.element,Ba=Ah(I,sa,new Set);na.preStyleProps.forEach(function(Ja){return Ba.add(Ja)});var Pa=Ah(P,sa,new Set);na.postStyleProps.forEach(function(Ja){return Pa.add(Ja)});sa!==b&&J.add(sa)});w=Yoa(J.values());return zpa(b,this._triggerName,c,d,O,h,k,a,w,I,P,aa)};var fSb=function(a,b){this.styles=a;this.defaultParams=b};
fSb.prototype.buildStyles=function(a,b){var c=new Map,d=rh(this.defaultParams);Object.keys(a).forEach(function(e){var f=a[e];null!==f&&(d[e]=f)});this.styles.styles.forEach(function(e){"string"!==typeof e&&e.forEach(function(f,h){f&&(f=wh(f,d,b));var k=Uoa(h);f=bpa(k,f,b);c.set(h,f)})});return c};var gSb=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 fSb(e.style,e.options&&e.options.params||{}))});Dpa(this.states,"true","1");Dpa(this.states,"false","0");b.transitions.forEach(function(e){d.transitionFactories.push(new Ch(a,e,d.states))});this.fallbackTransition=Cpa(a,this.states)},hSb=function(a,b,c,d,e){return a.transitionFactories.find(function(f){return f.match(b,c,
d,e)})||null};var iSb=new Vy,jSb=function(a,b,c){this.bodyNode=a;this._driver=b;this._normalizer=c;this._animations=new Map;this._playersById=new Map;this.players=[]};g=jSb.prototype;g.register=function(a,b){var c=[];b=(new URb(this._driver)).build(b,c,[]);if(c.length)throw new Hc(3503,!1);this._animations.set(a,b)};g._buildPlayer=function(a,b,c){var d=a.element;b=cpa(a.keyframes,b,c);return this._driver.animate(d,b,a.duration,a.delay,a.easing,[],!0)};
g.create=function(a,b,c){var d=this;c=void 0===c?{}:c;var e=[],f=this._animations.get(a),h=new Map;f?(b=wpa(this._driver,b,f,"ng-enter","ng-leave",new Map,new Map,c,iSb,e),b.forEach(function(k){var q=Ah(h,k.element,new Map);k.postStyleProps.forEach(function(t){return q.set(t,null)})})):(e.push(new Hc(3300,!1)),b=[]);if(e.length)throw new Hc(3504,!1);h.forEach(function(k,q){k.forEach(function(t,w){k.set(w,d._driver.computeStyle(q,w,"*"))})});e=b.map(function(k){var q=h.get(k.element);return d._buildPlayer(k,
new Map,q)});e=zh(e);this._playersById.set(a,e);e.onDestroy(function(){return d.destroy(a)});this.players.push(e);return e};g.destroy=function(a){var b=this._getPlayer(a);b.destroy();this._playersById.delete(a);a=this.players.indexOf(b);0<=a&&this.players.splice(a,1)};g._getPlayer=function(a){a=this._playersById.get(a);if(!a)throw new Hc(3301,!1);return a};g.listen=function(a,b,c,d){b=fpa(b,"","","");epa(this._getPlayer(a),c,b,d);return function(){}};
g.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 kSb=[],lSb={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Gpa={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},mSb=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=rh(a),delete a.value,this.options=a):this.options={};this.options.params||(this.options.params={})},nSb=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])})}};Gh.Object.defineProperties(mSb.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});var oSb=new mSb("void"),bz=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;Dh(b,this._hostClassName)};g=bz.prototype;
g.listen=function(a,b,c,d){var e=this;if(!this._triggers.has(b))throw new Hc(3302,!1);if(null==c||0==c.length)throw new Hc(3303,!1);if("start"!=c&&"done"!=c)throw new Hc(3400,!1);var f=Ah(this._elementListeners,a,[]),h={name:b,phase:c,callback:d};f.push(h);var k=Ah(this._engine.statesByElement,a,new Map);k.has(b)||(Dh(a,"ng-trigger"),Dh(a,"ng-trigger-"+b),k.set(b,oSb));return function(){cz(e._engine,function(){var q=f.indexOf(h);0<=q&&f.splice(q,1);e._triggers.has(b)||k.delete(b)})}};
g.register=function(a,b){if(this._triggers.has(a))return!1;this._triggers.set(a,b);return!0};g._getTrigger=function(a){a=this._triggers.get(a);if(!a)throw new Hc(3401,!1);return a};
g.trigger=function(a,b,c,d){var e=this;d=void 0===d?!0:d;var f=this._getTrigger(b),h=new pSb(this.id,b,a),k=this._engine.statesByElement.get(a);k||(Dh(a,"ng-trigger"),Dh(a,"ng-trigger-"+b),this._engine.statesByElement.set(a,k=new Map));var q=k.get(b),t=new mSb(c,this.id);c&&c.hasOwnProperty("value")||!q||nSb(t,q.options);k.set(b,t);q||(q=oSb);if("void"!==t.value&&q.value===t.value){if(!Mpa(q.params,t.params)){d=[];var w=f.fallbackTransition.buildStyles(q.value,q.params,d),y=f.fallbackTransition.buildStyles(t.value,
t.params,d);d.length?this._engine.reportError(d):cz(this._engine,function(){uh(a,w);th(a,y)})}}else{c=Ah(this._engine.playersByElement,a,[]);c.forEach(function(J){J.namespaceId==e.id&&J.triggerName==b&&J.queued&&J.destroy()});k=hSb(f,q.value,t.value,a,t.params);var C=!1;if(!k){if(!d)return;k=f.fallbackTransition;C=!0}this._engine.totalQueuedPlayers++;this._queue.push({element:a,triggerName:b,transition:k,fromState:q,toState:t,player:h,isFallbackTransition:C});C||(Dh(a,"ng-animate-queued"),h.onStart(function(){Eh(a,
"ng-animate-queued")}));h.onDone(function(){var J=e.players.indexOf(h);0<=J&&e.players.splice(J,1);if(J=e._engine.playersByElement.get(a)){var I=J.indexOf(h);0<=I&&J.splice(I,1)}});this.players.push(h);c.push(h);return h}};g.deregister=function(a){var b=this;this._triggers.delete(a);this._engine.statesByElement.forEach(function(c){return c.delete(a)});this._elementListeners.forEach(function(c,d){b._elementListeners.set(d,c.filter(function(e){return e.name!=a}))})};
var qSb=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))};
bz.prototype._signalRemovalForInnerTriggers=function(a,b){var c=this,d=this._engine.driver.query(a,".ng-trigger",!0);d.forEach(function(e){if(!e.__ng_removed){var f=rSb(c._engine,e);f.size?f.forEach(function(h){return sSb(h,e,b,!1,!0)}):qSb(c,e)}});this._engine.afterFlushAnimationsDone(function(){return d.forEach(function(e){return qSb(c,e)})})};
var sSb=function(a,b,c,d,e){var f=a._engine.statesByElement.get(b),h=new Map;if(f){var k=[];f.forEach(function(q,t){h.set(t,q.value);a._triggers.has(t)&&(q=a.trigger(b,t,"void",e))&&k.push(q)});if(k.length){tSb(a._engine,a.id,b,!0,c,h);if(d)zh(k).onDone(function(){return Fh(a._engine,b)});return!0}}return!1},uSb=function(a,b){var c=a._elementListeners.get(b),d=a._engine.statesByElement.get(b);if(c&&d){var e=new Set;c.forEach(function(f){f=f.name;if(!e.has(f)){e.add(f);var h=a._triggers.get(f).fallbackTransition,
k=d.get(f)||oSb,q=new mSb("void"),t=new pSb(a.id,f,b);a._engine.totalQueuedPlayers++;a._queue.push({element:b,triggerName:f,transition:h,fromState:k,toState:q,player:t,isFallbackTransition:!0})}})}};
bz.prototype.removeNode=function(a,b){var c=this,d=this._engine;a.childElementCount&&this._signalRemovalForInnerTriggers(a,b);if(!sSb(this,a,b,!0)){var e=!1;if(d.totalAnimations){var f=d.players.length?d.playersByQueriedElement.get(a):[];if(f&&f.length)e=!0;else for(f=a;f=f.parentNode;)if(d.statesByElement.get(f)){e=!0;break}}uSb(this,a);e?tSb(d,this.id,a,!1,b):(e=a.__ng_removed,e&&e!==lSb||(cz(d,function(){return qSb(c,a)}),vSb(d,a),d._onRemovalComplete(a,b)))}};
bz.prototype.insertNode=function(a){Dh(a,this._hostClassName)};
var wSb=function(a,b){var c=[];a._queue.forEach(function(d){var e=d.player;if(!e.destroyed){var f=d.element,h=a._elementListeners.get(f);h&&h.forEach(function(k){if(k.name==d.triggerName){var q=fpa(f,d.triggerName,d.fromState.value,d.toState.value);q._data=b;epa(d.player,k.phase,q,k.callback)}});e.markedForDestroy?cz(a._engine,function(){e.destroy()}):c.push(d)}});a._queue=[];return c.sort(function(d,e){var f=d.transition.ast.depCount,h=e.transition.ast.depCount;return 0==f||0==h?f-h:a._engine.driver.containsElement(d.element,
e.element)?1:-1})};bz.prototype.destroy=function(a){this.players.forEach(function(b){return b.destroy()});this._signalRemovalForInnerTriggers(this.hostElement,a)};
var dz=function(a,b,c){this.bodyNode=a;this.driver=b;this._normalizer=c;this.players=[];this.newHostElements=new Map;this.playersByElement=new Map;this.playersByQueriedElement=new Map;this.statesByElement=new Map;this.disabledNodes=new Set;this.totalQueuedPlayers=this.totalAnimations=0;this._namespaceLookup={};this._namespaceList=[];this._flushFns=[];this._whenQuietFns=[];this.namespacesByHostElement=new Map;this.collectedEnterElements=[];this.collectedLeaveElements=[];this.onRemovalComplete=function(){}};
g=dz.prototype;g._onRemovalComplete=function(a,b){this.onRemovalComplete(a,b)};g._balanceNamespaceList=function(a,b){var c=this._namespaceList,d=this.namespacesByHostElement;if(0<=c.length-1){for(var e=!1,f=this.driver.getParentElement(b);f;){var h=d.get(f);if(h){e=c.indexOf(h);c.splice(e+1,0,a);e=!0;break}f=this.driver.getParentElement(f)}e||c.unshift(a)}else c.push(a);d.set(b,a);return a};
g.register=function(a,b){var c=this._namespaceLookup[a];c||(c=new bz(a,b,this),this.bodyNode&&this.driver.containsElement(this.bodyNode,b)?this._balanceNamespaceList(c,b):(this.newHostElements.set(b,c),this.collectedEnterElements.push(b)),c=this._namespaceLookup[a]=c);return c};g.registerTrigger=function(a,b,c){(a=this._namespaceLookup[a])&&a.register(b,c)&&this.totalAnimations++};
g.destroy=function(a,b){var c=this;a&&(cz(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]}))};g._fetchNamespace=function(a){return this._namespaceLookup[a]};
var rSb=function(a,b){var c=new Set;if(b=a.statesByElement.get(b)){b=l(b.values());for(var d=b.next();!d.done;d=b.next())d=d.value,d.namespaceId&&(d=a._fetchNamespace(d.namespaceId))&&c.add(d)}return c};dz.prototype.trigger=function(a,b,c,d){return Epa(b)&&(a=this._fetchNamespace(a))?(a.trigger(b,c,d),!0):!1};
dz.prototype.insertNode=function(a,b,c,d){if(Epa(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 xSb=function(a,b,c){c?a.disabledNodes.has(b)||(a.disabledNodes.add(b),Dh(b,"ng-animate-disabled")):a.disabledNodes.has(b)&&(a.disabledNodes.delete(b),Eh(b,"ng-animate-disabled"))};
dz.prototype.removeNode=function(a,b,c){if(Epa(b)){var d=a?this._fetchNamespace(a):null;d?d.removeNode(b,c):tSb(this,a,b,!1,c);(d=this.namespacesByHostElement.get(b))&&d.id!==a&&d.removeNode(b,c)}else this._onRemovalComplete(b,c)};var tSb=function(a,b,c,d,e,f){a.collectedLeaveElements.push(c);c.__ng_removed={namespaceId:b,setForRemoval:e,hasAnimation:d,removedBeforeQueried:!1,previousTriggersValues:f}};dz.prototype.listen=function(a,b,c,d,e){return Epa(b)?this._fetchNamespace(a).listen(b,c,d,e):function(){}};
dz.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 vSb=function(a,b){var c=a.driver.query(b,".ng-trigger",!0);c.forEach(function(d){return ySb(a,d)});0!=a.playersByQueriedElement.size&&(c=a.driver.query(b,".ng-animating",!0),c.forEach(function(d){return zSb(a,d)}))},ySb=function(a,b){(a=a.playersByElement.get(b))&&a.forEach(function(c){c.queued?c.markedForDestroy=!0:c.destroy()})},zSb=function(a,b){(a=a.playersByQueriedElement.get(b))&&a.forEach(function(c){return c.finish()})},Fh=function(a,b){var c=b.__ng_removed;if(c&&c.setForRemoval){b.__ng_removed=
lSb;if(c.namespaceId){vSb(a,b);var d=a._fetchNamespace(c.namespaceId);d&&qSb(d,b)}a._onRemovalComplete(b,c.setForRemoval)}var e;(null==(e=b.classList)?0:e.contains("ng-animate-disabled"))&&xSb(a,b,!1);a.driver.query(b,".ng-animate-disabled",!0).forEach(function(f){xSb(a,f,!1)})};
dz.prototype.flush=function(a){var b=this;a=void 0===a?-1:a;var c=[];this.newHostElements.size&&(this.newHostElements.forEach(function(f,h){return b._balanceNamespaceList(f,h)}),this.newHostElements.clear());if(this.totalAnimations&&this.collectedEnterElements.length)for(var d=0;d<this.collectedEnterElements.length;d++)Dh(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++)Fh(this,this.collectedLeaveElements[a]);this.totalQueuedPlayers=0;this.collectedEnterElements.length=0;this.collectedLeaveElements.length=0;this._flushFns.forEach(function(f){return f()});this._flushFns=[];if(this._whenQuietFns.length){var e=this._whenQuietFns;this._whenQuietFns=[];if(c.length)zh(c).onDone(function(){e.forEach(function(f){return f()})});else e.forEach(function(f){return f()})}};
dz.prototype.reportError=function(){throw new Hc(3402,!1);};
dz.prototype._flushAnimations=function(a,b){var c=this,d=new Vy,e=[],f=new Map,h=[],k=new Map,q=new Map,t=new Map,w=new Set;this.disabledNodes.forEach(function(Sa){w.add(Sa);Sa=c.driver.query(Sa,".ng-animate-queued",!0);for(var Fb=0;Fb<Sa.length;Fb++)w.add(Sa[Fb])});var y=this.bodyNode,C=Array.from(this.statesByElement.keys()),J=Ipa(C,this.collectedEnterElements),I=new Map,P=0;J.forEach(function(Sa,Fb){var jb="ng-enter"+P++;I.set(Fb,jb);Sa.forEach(function(Kb){return Dh(Kb,jb)})});for(var O=[],U=
new Set,aa=new Set,na=0;na<this.collectedLeaveElements.length;na++){var sa=this.collectedLeaveElements[na],Ba=sa.__ng_removed;Ba&&Ba.setForRemoval&&(O.push(sa),U.add(sa),Ba.hasAnimation?this.driver.query(sa,".ng-star-inserted",!0).forEach(function(Sa){return U.add(Sa)}):aa.add(sa))}var Pa=new Map,Ja=Ipa(C,Array.from(U));Ja.forEach(function(Sa,Fb){var jb="ng-leave"+P++;Pa.set(Fb,jb);Sa.forEach(function(Kb){return Dh(Kb,jb)})});a.push(function(){J.forEach(function(Sa,Fb){var jb=I.get(Fb);Sa.forEach(function(Kb){return Eh(Kb,
jb)})});Ja.forEach(function(Sa,Fb){var jb=Pa.get(Fb);Sa.forEach(function(Kb){return Eh(Kb,jb)})});O.forEach(function(Sa){Fh(c,Sa)})});var cb=[],qb=[];for(a=this._namespaceList.length-1;0<=a;a--)wSb(this._namespaceList[a],b).forEach(function(Sa){var Fb=Sa.player,jb=Sa.element;cb.push(Fb);if(c.collectedEnterElements.length){var Kb=jb.__ng_removed;if(Kb&&Kb.setForMove){if(Kb.previousTriggersValues&&Kb.previousTriggersValues.has(Sa.triggerName)){Kb=Kb.previousTriggersValues.get(Sa.triggerName);var Vb=
c.statesByElement.get(Sa.element);if(Vb&&Vb.has(Sa.triggerName)){var yc=Vb.get(Sa.triggerName);yc.value=Kb;Vb.set(Sa.triggerName,yc)}}Fb.destroy();return}}Kb=!y||!c.driver.containsElement(y,jb);Vb=Pa.get(jb);yc=I.get(jb);var pc=c._buildInstruction(Sa,d,yc,Vb,Kb);if(pc.errors&&pc.errors.length)qb.push(pc);else if(Kb)Fb.onStart(function(){return uh(jb,pc.fromStyles)}),Fb.onDestroy(function(){return th(jb,pc.toStyles)}),e.push(Fb);else if(Sa.isFallbackTransition)Fb.onStart(function(){return uh(jb,pc.fromStyles)}),
Fb.onDestroy(function(){return th(jb,pc.toStyles)}),e.push(Fb);else{var gd=[];pc.timelines.forEach(function(ud){ud.stretchStartingKeyframe=!0;c.disabledNodes.has(ud.element)||gd.push(ud)});pc.timelines=gd;d.append(jb,pc.timelines);h.push({instruction:pc,player:Fb,element:jb});pc.queriedElements.forEach(function(ud){return Ah(k,ud,[]).push(Fb)});pc.preStyleProps.forEach(function(ud,se){if(ud.size){var yj=q.get(se);yj||q.set(se,yj=new Set);ud.forEach(function(Kca,lt){return yj.add(lt)})}});pc.postStyleProps.forEach(function(ud,
se){var yj=t.get(se);yj||t.set(se,yj=new Set);ud.forEach(function(Kca,lt){return yj.add(lt)})})}});if(qb.length){var Ra=[];qb.forEach(function(){Ra.push(new Hc(3505,!1))});cb.forEach(function(Sa){return Sa.destroy()});this.reportError(Ra)}var fa=new Map,wa=new Map;h.forEach(function(Sa){var Fb=Sa.element;d.has(Fb)&&(wa.set(Fb,Fb),c._beforeAnimationBuild(Sa.player.namespaceId,Sa.instruction,fa))});e.forEach(function(Sa){var Fb=Sa.element;c._getPreviousPlayers(Fb,!1,Sa.namespaceId,Sa.triggerName,null).forEach(function(jb){Ah(fa,
Fb,[]).push(jb);jb.destroy()})});var Ca=O.filter(function(Sa){return Npa(Sa,q,t)}),Wa=new Map;Hpa(Wa,this.driver,aa,t,"*").forEach(function(Sa){Npa(Sa,q,t)&&Ca.push(Sa)});var Va=new Map;J.forEach(function(Sa){Hpa(Va,c.driver,new Set(Sa),q,"!")});Ca.forEach(function(Sa){var Fb=Wa.get(Sa),jb=Va.get(Sa),Kb,Vb;Wa.set(Sa,new Map([].concat(u(null!=(Kb=null==Fb?void 0:Fb.entries())?Kb:[]),u(null!=(Vb=null==jb?void 0:jb.entries())?Vb:[]))))});var qd=[],$a=[],vb={};h.forEach(function(Sa){var Fb=Sa.element,
jb=Sa.player,Kb=Sa.instruction;if(d.has(Fb))if(w.has(Fb))jb.onDestroy(function(){return th(Fb,Kb.toStyles)}),jb.disabled=!0,jb.totalTime=Kb.totalTime,e.push(jb);else{var Vb=vb;if(1<wa.size){Sa=Fb;for(var yc=[];Sa=Sa.parentNode;){var pc=wa.get(Sa);if(pc){Vb=pc;break}yc.push(Sa)}yc.forEach(function(gd){return wa.set(gd,Vb)})}Sa=c._buildAnimation(jb.namespaceId,Kb,fa,f,Va,Wa);ASb(jb,Sa);Vb===vb?qd.push(jb):((Sa=c.playersByElement.get(Vb))&&Sa.length&&(jb.parentPlayer=zh(Sa)),e.push(jb))}else uh(Fb,Kb.fromStyles),
jb.onDestroy(function(){return th(Fb,Kb.toStyles)}),$a.push(jb),w.has(Fb)&&e.push(jb)});$a.forEach(function(Sa){var Fb=f.get(Sa.element);Fb&&Fb.length&&(Fb=zh(Fb),ASb(Sa,Fb))});e.forEach(function(Sa){Sa.parentPlayer?BSb(Sa,Sa.parentPlayer):Sa.destroy()});for(b=0;b<O.length;b++)if(aa=O[b],a=aa.__ng_removed,Eh(aa,"ng-leave"),!a||!a.hasAnimation){a=[];if(k.size)for((C=k.get(aa))&&C.length&&a.push.apply(a,u(C)),C=this.driver.query(aa,".ng-animating",!0),na=0;na<C.length;na++)(sa=k.get(C[na]))&&sa.length&&
a.push.apply(a,u(sa));a=a.filter(function(Sa){return!Sa.destroyed});a.length?Jpa(this,aa,a):Fh(this,aa)}O.length=0;qd.forEach(function(Sa){c.players.push(Sa);Sa.onDone(function(){Sa.destroy();var Fb=c.players.indexOf(Sa);c.players.splice(Fb,1)});Sa.play()});return qd};var cz=function(a,b){a._flushFns.push(b)};g=dz.prototype;g.afterFlushAnimationsDone=function(a){this._whenQuietFns.push(a)};
g._getPreviousPlayers=function(a,b,c,d,e){var f=[];if(b)(e=this.playersByQueriedElement.get(a))&&(f=e);else if(a=this.playersByElement.get(a)){var h=!e||"void"==e;a.forEach(function(k){k.queued||(h||k.triggerName==d)&&f.push(k)})}if(c||d)f=f.filter(function(k){return c&&c!=k.namespaceId||d&&d!=k.triggerName?!1:!0});return f};
g._beforeAnimationBuild=function(a,b,c){var d=b.triggerName,e=b.element;a=b.isRemovalTransition?void 0:a;d=b.isRemovalTransition?void 0:d;for(var f=l(b.timelines),h=f.next(),k={};!h.done;k={players$jscomp$9:k.players$jscomp$9},h=f.next()){h=h.value.element;var q=h!==e;k.players$jscomp$9=Ah(c,h,[]);this._getPreviousPlayers(h,q,a,d,b.toState).forEach(function(t){return function(w){var y=w._player;y.beforeDestroy&&y.beforeDestroy();w.destroy();t.players$jscomp$9.push(w)}}(k))}uh(e,b.fromStyles)};
g._buildAnimation=function(a,b,c,d,e,f){var h=this,k=b.triggerName,q=b.element,t=[],w=new Set,y=new Set,C=b.timelines.map(function(I){var P=I.element;w.add(P);var O=P.__ng_removed;if(O&&O.removedBeforeQueried)return new yh(I.duration,I.delay);O=P!==q;var U=Lpa((c.get(P)||kSb).map(function(sa){return sa._player})).filter(function(sa){return sa.element?sa.element===P:!1}),aa=e.get(P),na=f.get(P);aa=cpa(I.keyframes,aa,na);U=h._buildPlayer(I,aa,U);I.subTimeline&&d&&y.add(P);O&&(I=new pSb(a,k,P),ASb(I,
U),t.push(I));return U});t.forEach(function(I){Ah(h.playersByQueriedElement,I.element,[]).push(I);I.onDone(function(){var P=h.playersByQueriedElement,O=I.element,U=P.get(O);if(U){if(U.length){var aa=U.indexOf(I);U.splice(aa,1)}0==U.length&&P.delete(O)}return U})});w.forEach(function(I){return Dh(I,"ng-animating")});var J=zh(C);J.onDestroy(function(){w.forEach(function(I){return Eh(I,"ng-animating")});th(q,b.toStyles)});y.forEach(function(I){Ah(d,I,[]).push(J)});return J};
g._buildPlayer=function(a,b,c){return 0<b.length?this.driver.animate(a.element,b,a.duration,a.delay,a.easing,c):new yh(a.duration,a.delay)};
var pSb=function(a,b,c){this.namespaceId=a;this.triggerName=b;this.element=c;this._player=new yh;this._containsRealPlayer=!1;this._queuedCallbacks=new Map;this.destroyed=!1;this.parentPlayer=null;this.disabled=this.markedForDestroy=!1;this.queued=!0;this.totalTime=0},ASb=function(a,b){a._containsRealPlayer||(a._player=b,a._queuedCallbacks.forEach(function(c,d){c.forEach(function(e){return epa(b,d,void 0,e)})}),a._queuedCallbacks.clear(),a._containsRealPlayer=!0,a.totalTime=b.totalTime,a.queued=!1)},
BSb=function(a,b){var c=a._player;if(c.triggerCallback)b.onStart(function(){return c.triggerCallback("start")});b.onDone(function(){return a.finish()});b.onDestroy(function(){return a.destroy()})};g=pSb.prototype;g._queueEvent=function(a,b){Ah(this._queuedCallbacks,a,[]).push(b)};g.onDone=function(a){this.queued&&this._queueEvent("done",a);this._player.onDone(a)};g.onStart=function(a){this.queued&&this._queueEvent("start",a);this._player.onStart(a)};
g.onDestroy=function(a){this.queued&&this._queueEvent("destroy",a);this._player.onDestroy(a)};g.init=function(){this._player.init()};g.hasStarted=function(){return this.queued?!1:this._player.hasStarted()};g.play=function(){!this.queued&&this._player.play()};g.pause=function(){!this.queued&&this._player.pause()};g.restart=function(){!this.queued&&this._player.restart()};g.finish=function(){this._player.finish()};g.destroy=function(){this.destroyed=!0;this._player.destroy()};
g.reset=function(){!this.queued&&this._player.reset()};g.setPosition=function(a){this.queued||this._player.setPosition(a)};g.getPosition=function(){return this.queued?0:this._player.getPosition()};g.triggerCallback=function(a){var b=this._player;b.triggerCallback&&b.triggerCallback(a)};var ez=function(a,b,c){var d=this;this._driver=b;this._normalizer=c;this._triggerCache={};this.onRemovalComplete=function(){};this._transitionEngine=new dz(a.body,b,c);this._timelineEngine=new jSb(a.body,b,c);this._transitionEngine.onRemovalComplete=function(e,f){return d.onRemovalComplete(e,f)}};g=ez.prototype;
g.registerTrigger=function(a,b,c,d,e){a=a+"-"+d;c=this._triggerCache[a];if(!c){c=[];e=(new URb(this._driver)).build(e,c,[]);if(c.length)throw new Hc(3404,!1);c=new gSb(d,e,this._normalizer);this._triggerCache[a]=c}this._transitionEngine.registerTrigger(b,d,c)};g.register=function(a,b){this._transitionEngine.register(a,b)};g.destroy=function(a,b){this._transitionEngine.destroy(a,b)};g.onRemove=function(a,b,c){this._transitionEngine.removeNode(a,b,c)};
g.disableAnimations=function(a,b){xSb(this._transitionEngine,a,b)};g.process=function(a,b,c,d){"@"==c.charAt(0)?(c=l(gpa(c)),a=c.next().value,c=c.next().value,this._timelineEngine.command(a,b,c,d)):this._transitionEngine.trigger(a,b,c,d)};g.listen=function(a,b,c,d,e){return"@"==c.charAt(0)?(c=l(gpa(c)),a=c.next().value,c=c.next().value,this._timelineEngine.listen(a,b,c,e)):this._transitionEngine.listen(a,b,c,d,e)};g.flush=function(a){this._transitionEngine.flush(void 0===a?-1:a)};
g.afterFlushAnimationsDone=function(a){this._transitionEngine.afterFlushAnimationsDone(a)};Gh.Object.defineProperties(ez.prototype,{players:{configurable:!0,enumerable:!0,get:function(){return[].concat(u(this._transitionEngine.players),u(this._timelineEngine.players))}}});var Ppa=function(a,b,c){this._element=a;this._startStyles=b;this._endStyles=c;this._state=0;var d=CSb.get(a);d||CSb.set(a,d=new Map);this._initialStyles=d};Ppa.prototype.start=function(){1>this._state&&(this._startStyles&&th(this._element,this._startStyles,this._initialStyles),this._state=1)};Ppa.prototype.finish=function(){this.start();2>this._state&&(th(this._element,this._initialStyles),this._endStyles&&(th(this._element,this._endStyles),this._endStyles=null),this._state=1)};
Ppa.prototype.destroy=function(){this.finish();3>this._state&&(CSb.delete(this._element),this._startStyles&&(uh(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(uh(this._element,this._endStyles),this._endStyles=null),th(this._element,this._initialStyles),this._state=3)};var CSb=new WeakMap;var DSb=function(a,b,c,d){this.element=a;this.keyframes=b;this.options=c;this._specialStyles=d;this._onDoneFns=[];this._onStartFns=[];this._onDestroyFns=[];this._destroyed=this._started=this._finished=this._initialized=!1;this._originalOnDoneFns=[];this._originalOnStartFns=[];this.time=0;this.parentPlayer=null;this.currentSnapshot=new Map;this._duration=c.duration;this._delay=c.delay||0;this.time=this._duration+this._delay};g=DSb.prototype;
g._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(a){return a()}),this._onDoneFns=[])};g.init=function(){this._buildPlayer();this._preparePlayerBeforeStart()};
g._buildPlayer=function(){var a=this;if(!this._initialized){this._initialized=!0;var b=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,b,this.options);this._finalKeyframe=b.length?b[b.length-1]:new Map;var c=function(){return a._onFinish()};this.domPlayer.addEventListener("finish",c);this.onDestroy(function(){a.domPlayer.removeEventListener("finish",c)})}};g._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()};
g._convertKeyframesToObject=function(a){var b=[];a.forEach(function(c){b.push(Object.fromEntries(c))});return b};g._triggerWebAnimation=function(a,b,c){return a.animate(this._convertKeyframesToObject(b),c)};g.onStart=function(a){this._originalOnStartFns.push(a);this._onStartFns.push(a)};g.onDone=function(a){this._originalOnDoneFns.push(a);this._onDoneFns.push(a)};g.onDestroy=function(a){this._onDestroyFns.push(a)};
g.play=function(){this._buildPlayer();this.hasStarted()||(this._onStartFns.forEach(function(a){return a()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start());this.domPlayer.play()};g.pause=function(){this.init();this.domPlayer.pause()};g.finish=function(){this.init();this._specialStyles&&this._specialStyles.finish();this._onFinish();this.domPlayer.finish()};
g.reset=function(){this._resetDomPlayerState();this._started=this._finished=this._destroyed=!1;this._onStartFns=this._originalOnStartFns;this._onDoneFns=this._originalOnDoneFns};g._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()};g.restart=function(){this.reset();this.play()};g.hasStarted=function(){return this._started};
g.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(a){return a()}),this._onDestroyFns=[])};g.setPosition=function(a){void 0===this.domPlayer&&this.init();this.domPlayer.currentTime=a*this.time};g.getPosition=function(){var a;return+(null!=(a=this.domPlayer.currentTime)?a:0)/this.time};
g.beforeDestroy=function(){var a=this,b=new Map;this.hasStarted()&&this._finalKeyframe.forEach(function(c,d){if("offset"!==d){var e=b.set,f;a._finished?f=c:f=window.getComputedStyle(a.element)[d];e.call(b,d,f)}});this.currentSnapshot=b};g.triggerCallback=function(a){a="start"===a?this._onStartFns:this._onDoneFns;a.forEach(function(b){return b()});a.length=0};Gh.Object.defineProperties(DSb.prototype,{totalTime:{configurable:!0,enumerable:!0,get:function(){return this._delay+this._duration}}});var ESb=function(){};g=ESb.prototype;g.containsElement=function(a,b){return jpa(a,b)};g.getParentElement=function(a){return ipa(a)};g.query=function(a,b,c){return kpa(a,b,c)};g.computeStyle=function(a,b){return window.getComputedStyle(a)[b]};
g.animate=function(a,b,c,d,e,f){f=void 0===f?[]:f;var h={duration:c,delay:d,fill:0==d?"both":"forwards"};e&&(h.easing=e);var k=new Map;e=f.filter(function(t){return t instanceof DSb});0!==c&&0!==d||e.forEach(function(t){t.currentSnapshot.forEach(function(w,y){return k.set(y,w)})});var q=Toa(b).map(function(t){return sh(t)});q=$oa(a,q,k);b=Qpa(a,q);return new DSb(a,q,h,b)};var fz=function(a,b,c,d){this.namespaceId=a;this.delegate=b;this.engine=c;this._onDestroy=d};g=fz.prototype;g.destroyNode=function(a){var b,c;null==(c=(b=this.delegate).destroyNode)||c.call(b,a)};g.destroy=function(){var a=this;this.engine.destroy(this.namespaceId,this.delegate);this.engine.afterFlushAnimationsDone(function(){queueMicrotask(function(){a.delegate.destroy()})});var b;null==(b=this._onDestroy)||b.call(this)};g.createElement=function(a,b){return this.delegate.createElement(a,b)};
g.createComment=function(a){return this.delegate.createComment(a)};g.createText=function(a){return this.delegate.createText(a)};g.appendChild=function(a,b){this.delegate.appendChild(a,b);this.engine._transitionEngine.insertNode(this.namespaceId,b,a,!1)};g.insertBefore=function(a,b,c,d){d=void 0===d?!0:d;this.delegate.insertBefore(a,b,c);this.engine._transitionEngine.insertNode(this.namespaceId,b,a,d)};g.removeChild=function(a,b){this.engine.onRemove(this.namespaceId,b,this.delegate)};
g.selectRootElement=function(a,b){return this.delegate.selectRootElement(a,b)};g.parentNode=function(a){return this.delegate.parentNode(a)};g.nextSibling=function(a){return this.delegate.nextSibling(a)};g.setAttribute=function(a,b,c,d){this.delegate.setAttribute(a,b,c,d)};g.removeAttribute=function(a,b,c){this.delegate.removeAttribute(a,b,c)};g.addClass=function(a,b){this.delegate.addClass(a,b)};g.removeClass=function(a,b){this.delegate.removeClass(a,b)};
g.setStyle=function(a,b,c,d){this.delegate.setStyle(a,b,c,d)};g.removeStyle=function(a,b,c){this.delegate.removeStyle(a,b,c)};g.setProperty=function(a,b,c){"@"==b.charAt(0)&&"@.disabled"==b?this.disableAnimations(a,!!c):this.delegate.setProperty(a,b,c)};g.setValue=function(a,b){this.delegate.setValue(a,b)};g.listen=function(a,b,c){return this.delegate.listen(a,b,c)};g.disableAnimations=function(a,b){this.engine.disableAnimations(a,b)};
Gh.Object.defineProperties(fz.prototype,{data:{configurable:!0,enumerable:!0,get:function(){return this.delegate.data}}});var FSb=function(a,b,c,d,e){fz.call(this,b,c,d,e);this.factory=a;this.namespaceId=b};Y(FSb,fz);FSb.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)};
FSb.prototype.listen=function(a,b,c){var d=this;if("@"==b.charAt(0)){a=Rpa(a);b=b.slice(1);var e="";"@"!=b.charAt(0)&&(e=l(Spa(b)),b=e.next().value,e=e.next().value);return this.engine.listen(this.namespaceId,a,b,e,function(f){GSb(d.factory,f._data||-1,c,f)})}return this.delegate.listen(a,b,c)};var gz=function(a,b,c){this.delegate=a;this.engine=b;this._zone=c;this._currentId=0;this._microtaskId=1;this._animationCallbacksBuffer=[];this._rendererCache=new Map;this._cdRecurDepth=0;b.onRemovalComplete=function(d,e){var f=null==e?void 0:e.parentNode(d);f&&e.removeChild(f,d)}};
gz.prototype.createRenderer=function(a,b){var c=this,d=this.delegate.createRenderer(a,b),e;if(!a||!(null==b?0:null==(e=b.data)?0:e.animation)){var f=this._rendererCache;b=f.get(d);b||(b=new fz("",d,this.engine,function(){return f.delete(d)}),f.set(d,b));return b}var h=b.id,k=b.id+"-"+this._currentId;this._currentId++;this.engine.register(k,a);var q=function(t){Array.isArray(t)?t.forEach(q):c.engine.registerTrigger(h,k,a,t.name,t)};b.data.animation.forEach(q);return new FSb(this,k,d,this.engine)};
gz.prototype.begin=function(){this._cdRecurDepth++;this.delegate.begin&&this.delegate.begin()};gz.prototype._scheduleCountTask=function(){var a=this;queueMicrotask(function(){a._microtaskId++})};
var GSb=function(a,b,c,d){if(0<=b&&b<a._microtaskId)a._zone.run(function(){return c(d)});else{var e=a._animationCallbacksBuffer;0==e.length&&queueMicrotask(function(){a._zone.run(function(){e.forEach(function(f){var h=l(f);f=h.next().value;h=h.next().value;f(h)});a._animationCallbacksBuffer=[]})});e.push([c,d])}};
gz.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()};var hz=function(a,b,c){ez.call(this,a,b,c)};Y(hz,ez);hz.prototype.ngOnDestroy=function(){this.flush()};hz.\u0275fac=function(a){return new (a||hz)(p(Xg),p(TRb),p(PRb),p(Qv))};hz.\u0275prov=Dc({token:hz,factory:hz.\u0275fac});var HSb=[{provide:PRb,useFactory:function(){return new SRb}},{provide:ez,useClass:hz},{provide:lNb,useFactory:function(a,b,c){return new gz(a,b,c)},deps:[xy,ez,ef]}],ISb=[{provide:TRb,useFactory:function(){return new ESb}},{provide:Du,useValue:"BrowserAnimations"}].concat(u(HSb));
[{provide:TRb,useClass:Uy},{provide:Du,useValue:"NoopAnimations"}].concat(u(HSb));var iz=function(){};iz.\u0275fac=function(a){return new (a||iz)};iz.\u0275mod=Tc({type:iz});iz.\u0275inj=Ec({providers:ISb,imports:[Ty]});new Hv;new Hv;var JSb=new bd("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),jz=function(a,b,c){this._sanityChecks=b;this._document=c;this._hasDoneGlobalChecks=!1;a._applyBodyHighContrastModeCssClasses();this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)};jz.prototype._checkIsEnabled=function(a){return Sna()?!1:"boolean"===typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[a]};jz.\u0275fac=function(a){return new (a||jz)(p(jx),p(JSb,8),p(Xg))};jz.\u0275mod=Tc({type:jz});
jz.\u0275inj=Ec({imports:[Ox,Ox]});var Tpa=function(a,b,c,d,e){this._defaultMatcher=a;this.ngControl=b;this._parentFormGroup=c;this._parentForm=d;this._stateChanges=e;this.errorState=!1};Tpa.prototype.updateErrorState=function(){var a=this._parentFormGroup||this._parentForm,b=this.matcher||this._defaultMatcher,c=this.ngControl?this.ngControl.control:null;a="function"===typeof(null==b?void 0:b.isErrorState)?b.isErrorState(c,a):!1;a!==this.errorState&&(this.errorState=a,this._stateChanges.next())};new bd("MAT_DATE_LOCALE",{providedIn:"root",factory:Xpa});var kz=function(){this.localeChanges=this._localeChanges=new E.Subject},lz=function(a,b){return b instanceof Cn&&a.isValid(b)?b:null};kz.prototype.deserialize=function(a){return null==a||a instanceof Cn&&this.isValid(a)?a:this.invalid()};kz.prototype.setLocale=function(a){this.locale=a;this._localeChanges.next()};var mz=function(a,b,c){return a.getYear(b)-a.getYear(c)||a.getMonth(b)-a.getMonth(c)||a.getDate(b)-a.getDate(c)};
kz.prototype.sameDate=function(a,b){if(a&&b){var c=this.isValid(a),d=this.isValid(b);return c&&d?!mz(this,a,b):c==d}return a==b};var KSb=function(a,b,c,d){return c&&0>mz(a,b,c)?c:d&&0<mz(a,b,d)?d:b};var nz=new bd("mat-date-formats");var oz=function(){};oz.prototype.isErrorState=function(a,b){return!!(a&&a.invalid&&(a.touched||b&&b.submitted))};oz.\u0275fac=function(a){return new (a||oz)};oz.\u0275prov=Dc({token:oz,factory:oz.\u0275fac,providedIn:"root"});var pz=function(){};pz.\u0275fac=function(a){return new (a||pz)};pz.\u0275dir=Vc({type:pz,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"],standalone:!0});var qz=function(){};qz.\u0275fac=function(a){return new (a||qz)};qz.\u0275mod=Tc({type:qz});qz.\u0275inj=Ec({imports:[jz,jz]});var LSb=new bd("MAT_OPTION_PARENT_COMPONENT");var MSb=new bd("MatOptgroup");var NSb=Og({passive:!0,capture:!0}),PSb=function(a,b,c,d){var e=OSb,f=e._events.get(b);f?(a=f.get(c))?a.add(d):f.set(c,new Set([d])):(e._events.set(b,new Map([[c,new Set([d])]])),a.runOutsideAngular(function(){document.addEventListener(b,e._delegateEventHandler,NSb)}))};var QSb=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 RSb={enterDuration:225,exitDuration:150},SSb=Og({passive:!0,capture:!0}),TSb=["mousedown","touchstart"],USb=["mouseup","mouseleave","touchend","touchcancel"],VSb=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=Ug(c))},WSb=function(a,b,c,d){d=void 0===d?{}:d;var e=a._containerRect=a._containerRect||a._containerElement.getBoundingClientRect(),f=Object.assign({},
RSb,d.animation);d.centered&&(b=e.left+e.width/2,c=e.top+e.height/2);var h=d.radius||Zpa(b,c,e);b-=e.left;var k=c-e.top;c=f.enterDuration;var q=document.createElement("div");q.classList.add("mat-ripple-element");q.style.left=b-h+"px";q.style.top=k-h+"px";q.style.height=2*h+"px";q.style.width=2*h+"px";null!=d.color&&(q.style.backgroundColor=d.color);q.style.transitionDuration=c+"ms";a._containerElement.appendChild(q);h=window.getComputedStyle(q);b=h.transitionDuration;e="none"===h.transitionProperty||
"0s"===b||"0s, 0s"===b||0===e.width&&0===e.height;var t=new QSb(a,q,d,e);q.style.transform="scale3d(1, 1, 1)";t.state=0;d.persistent||(a._mostRecentTransientRipple=t);var w=null;e||!c&&!f.exitDuration||a._ngZone.runOutsideAngular(function(){var y=function(){return a._finishRippleTransition(t)},C=function(){return a._destroyRipple(t)};q.addEventListener("transitionend",y);q.addEventListener("transitioncancel",C);w={onTransitionEnd:y,onTransitionCancel:C}});a._activeRipples.set(t,w);!e&&c||a._finishRippleTransition(t);
return t},XSb=function(a,b){if(2!==b.state&&3!==b.state){var c=b.element,d=Object.assign({},RSb,b.config.animation);c.style.transitionDuration=d.exitDuration+"ms";c.style.opacity="0";b.state=2;!b._animationForciblyDisabledThroughCss&&d.exitDuration||a._finishRippleTransition(b)}};VSb.prototype.fadeOutAllNonPersistent=function(){this._getActiveRipples().forEach(function(a){a.config.persistent||XSb(a._renderer,a)})};
var YSb=function(a,b){var c=Ug(b);a._platform.isBrowser&&c&&c!==a._triggerElement&&(a._removeTriggerEvents(),a._triggerElement=c,TSb.forEach(function(d){PSb(a._ngZone,d,c,a)}))};g=VSb.prototype;
g.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(){USb.forEach(function(c){b._triggerElement.addEventListener(c,b,SSb)})}),this._pointerUpEventsRegistered=!0)};g._finishRippleTransition=function(a){0===a.state?this._startFadeOutTransition(a):2===a.state&&this._destroyRipple(a)};
g._startFadeOutTransition=function(a){var b=a===this._mostRecentTransientRipple,c=a.config.persistent;a.state=1;c||b&&this._isPointerDown||XSb(a._renderer,a)};
g._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()};
g._onMousedown=function(a){var b=Hna(a),c=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||b||c||(this._isPointerDown=!0,WSb(this,a.clientX,a.clientY,this._target.rippleConfig))};g._onTouchStart=function(a){if(!this._target.rippleDisabled&&!Ina(a)&&(this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0,a=a.changedTouches))for(var b=0;b<a.length;b++)WSb(this,a[b].clientX,a[b].clientY,this._target.rippleConfig)};
g._onPointerUp=function(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(function(a){var b=1===a.state||a.config.terminateOnPointerUp&&0===a.state;!a.config.persistent&&b&&XSb(a._renderer,a)}))};g._getActiveRipples=function(){return Array.from(this._activeRipples.keys())};
g._removeTriggerEvents=function(){var a=this,b=this._triggerElement;b&&(TSb.forEach(function(c){var d=OSb,e=d._events.get(c);if(e){var f=e.get(b);f&&(f.delete(a),0===f.size&&e.delete(b),0===e.size&&(d._events.delete(c),document.removeEventListener(c,d._delegateEventHandler,NSb)))}}),this._pointerUpEventsRegistered&&USb.forEach(function(c){return b.removeEventListener(c,a,SSb)}))};
var OSb=new function(){var a=this;this._events=new Map;this._delegateEventHandler=function(b){var c=Rg(b);if(c){var d;null==(d=a._events.get(b.type))||d.forEach(function(e,f){(f===c||f.contains(c))&&e.forEach(function(h){return h.handleEvent(b)})})}}};var rz=new bd("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 VSb(this,b,a,c)};g=sz.prototype;g.ngOnInit=function(){this._isInitialized=!0;this._setupTriggerEventsIfEnabled()};g.ngOnDestroy=function(){this._rippleRenderer._removeTriggerEvents()};g.fadeOutAllNonPersistent=function(){this._rippleRenderer.fadeOutAllNonPersistent()};
g._setupTriggerEventsIfEnabled=function(){!this.disabled&&this._isInitialized&&YSb(this._rippleRenderer,this.trigger)};g.launch=function(a,b,c){return"number"===typeof a?WSb(this._rippleRenderer,a,void 0===b?0:b,Object.assign({},this.rippleConfig,c)):WSb(this._rippleRenderer,0,0,Object.assign({},this.rippleConfig,a))};
Gh.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)(B(Hd),B(ef),B(Vw),B(rz,8),B(Du,8))};
sz.\u0275dir=Vc({type:sz,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(a,b){a&2&&Jf("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"],
standalone:!0});var tz=function(a){this._animationMode=a;this.state="unchecked";this.disabled=!1;this.appearance="full"};tz.\u0275fac=function(a){return new (a||tz)(B(Du,8))};
tz.\u0275cmp=r({type:tz,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(a,b){a&2&&Jf("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"},standalone:!0,features:[dg],decls:0,vars:0,template:function(){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}\n'],
encapsulation:2,changeDetection:0});var uz=function(){};uz.\u0275fac=function(a){return new (a||uz)};uz.\u0275mod=Tc({type:uz});uz.\u0275inj=Ec({imports:[jz,jz]});var vz=function(){};vz.\u0275fac=function(a){return new (a||vz)};vz.\u0275mod=Tc({type:vz});vz.\u0275inj=Ec({imports:[jz]});var ZSb={capture:!0},$Sb=["focus","click","mouseenter","touchstart"],wz=function(){var a=this;this._document=Nc(Xg,{optional:!0});this._animationMode=Nc(Du,{optional:!0});this._globalRippleOptions=Nc(rz,{optional:!0});this._platform=Nc(Vw);this._ngZone=Nc(ef);this._onInteraction=function(b){b.target instanceof HTMLElement&&(b=b.target.closest("[mat-ripple-loader-uninitialized]"))&&aTb(a,b)};this._ngZone.runOutsideAngular(function(){for(var b=l($Sb),c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0;
null==(d=a._document)||d.addEventListener(c,a._onInteraction,ZSb)}})};wz.prototype.ngOnDestroy=function(){for(var a=l($Sb),b=a.next();!b.done;b=a.next()){b=b.value;var c=void 0;null==(c=this._document)||c.removeEventListener(b,this._onInteraction,ZSb)}};
var bTb=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","")},cTb=function(a,b){return b.matRipple?b.matRipple:aTb(a,b)},dTb=function(a,b){var c=a.matRipple;c?c.disabled=b:b?a.setAttribute("mat-ripple-loader-disabled",""):a.removeAttribute("mat-ripple-loader-disabled")},
aTb=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 Hd(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");eTb(b,
a);return a}},eTb=function(a,b){a.removeAttribute("mat-ripple-loader-uninitialized");a.matRipple=b};wz.\u0275fac=function(a){return new (a||wz)};wz.\u0275prov=Dc({token:wz,factory:wz.\u0275fac,providedIn:"root"});var fTb=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab",
"mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],xz=function(a,b,c,d){this._elementRef=a;this._platform=b;this._ngZone=c;this._animationMode=d;this._focusMonitor=Nc(Yw);this._rippleLoader=Nc(wz);this._disabled=this._disableRipple=this._isFab=!1;null==this._rippleLoader||bTb(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});for(var e=this._elementRef.nativeElement,f=e.classList,h=l(fTb),k=h.next();!k.done;k=h.next()){k=
k.value;var q=k.mdcClasses;e.hasAttribute(k.attribute)&&f.add.apply(f,u(q))}};xz.prototype.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};xz.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};xz.prototype.focus=function(a,b){(a=void 0===a?"program":a)?Zw(this._focusMonitor,this._elementRef.nativeElement,a,b):this._elementRef.nativeElement.focus(b)};
xz.prototype._updateRippleDisabled=function(){null==this._rippleLoader||dTb(this._elementRef.nativeElement,this.disableRipple||this.disabled)};
Gh.Object.defineProperties(xz.prototype,{ripple:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this._rippleLoader)?void 0:cTb(a,this._elementRef.nativeElement)},set:function(a){null==this._rippleLoader||eTb(this._elementRef.nativeElement,a)}},disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(a){this._disableRipple=a;this._updateRippleDisabled()}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=
a;this._updateRippleDisabled()}}});xz.\u0275fac=function(){Od()};xz.\u0275dir=Vc({type:xz,inputs:{color:"color",disableRipple:["disableRipple","disableRipple",ug],disabled:["disabled","disabled",ug]},features:[zf]});var gTb=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],yz=function(a,b,c,d){xz.call(this,a,b,c,d)};Y(yz,xz);yz.\u0275dir=xz.\u0275dir;yz.\u0275fac=function(a){return new (a||yz)(B(Hd),B(Vw),B(ef),B(Du,8))};
yz.\u0275cmp=r({type:yz,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:9,hostBindings:function(a,b){a&2&&(Af("disabled",b.disabled||null),Kf(b.color?"mat-"+b.color:""),Jf("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-unthemed",!b.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[yf,dg],attrs:["mat-button",""],ngContentSelectors:[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])",
"*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],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&&(Vf(gTb),L(0,"span",0),Wf(1),H(2,"span",1),Wf(3,1),K(),Wf(4,2),L(5,"span",2)(6,"span",3));a&2&&Jf("mdc-button__ripple",!b._isFab)("mdc-fab__ripple",b._isFab)},styles:['.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);--mdc-text-button-container-shape:4px;--mdc-text-button-container-height:36px;--mdc-text-button-keep-touch-target:false}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);--mdc-filled-button-container-shape:4px;--mdc-filled-button-container-elevation:0;--mdc-filled-button-disabled-container-elevation:0;--mdc-filled-button-focus-container-elevation:0;--mdc-filled-button-hover-container-elevation:0;--mdc-filled-button-keep-touch-target:false;--mdc-filled-button-pressed-container-elevation:0}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);--mdc-protected-button-container-shape:4px;--mdc-protected-button-keep-touch-target:false}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled][disabled]{box-shadow:none}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);--mdc-outlined-button-keep-touch-target:false;--mdc-outlined-button-outline-width:1px;--mdc-outlined-button-container-shape:4px}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button .mat-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',
".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});new bd("mat-mdc-fab-default-options",{providedIn:"root",factory:$pa});var zz=function(a,b,c,d){xz.call(this,a,b,c,d);bTb(this._elementRef.nativeElement,{centered:!0})};Y(zz,xz);zz.\u0275dir=xz.\u0275dir;zz.\u0275fac=function(a){return new (a||zz)(B(Hd),B(Vw),B(ef),B(Du,8))};
zz.\u0275cmp=r({type:zz,selectors:[["button","mat-icon-button",""]],hostVars:9,hostBindings:function(a,b){a&2&&(Af("disabled",b.disabled||null),Kf(b.color?"mat-"+b.color:""),Jf("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-unthemed",!b.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[yf,dg],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&&(Vf(),L(0,"span",0),Wf(1),L(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)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;border-radius:50%;flex-shrink:0;text-align:center;font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.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 Az=function(){};Az.\u0275fac=function(a){return new (a||Az)};Az.\u0275mod=Tc({type:Az});Az.\u0275inj=Ec({imports:[jz,uz,jz]});var hTb=function(a,b,c,d,e,f,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===f?a:f;this.rawValue=h},iTb=1,jTb=Og({passive:!1,capture:!0}),Bz=Og({passive:!0,capture:!0}),kTb=Og({passive:!0}),Cz=function(a,b){var c=this;this._elementRef=a;this._ngZone=b;this._platform=Nc(Vw);this._focusActiveCellAfterViewChecked=!1;this.numCols=7;this.activeCell=0;this.isRange=!1;this.cellAspectRatio=1;this.previewEnd=this.previewStart=
null;this.selectedValueChange=new mv;this.previewChange=new mv;this.activeDateChange=new mv;this.dragStarted=new mv;this.dragEnded=new mv;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=jqa(d),f=e?c._getCellFromElement(e):
null;e!==d.target&&(c._didDragSinceMouseDown=!0);fqa(d.target)&&d.preventDefault();c._ngZone.run(function(){return c.previewChange.emit({value:(null==f?0:f.enabled)?f: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.compareValue)&&c._ngZone.run(function(){c.dragStarted.emit({value:e.rawValue,event:d})})}};this._mouseupHandler=function(d){if(c.isRange){var e=fqa(d.target);e?e.closest(".mat-calendar-body")===c._elementRef.nativeElement&&c._ngZone.run(function(){var f=c._getCellFromElement(e),h;c.dragEnded.emit({value:null!=(h=null==f?void 0:f.rawValue)?h:null,event:d})}):c._ngZone.run(function(){c.dragEnded.emit({value:null,
event:d})})}};this._touchendHandler=function(d){(d=jqa(d))&&c._mouseupHandler({target:d})};this._id="mat-calendar-body-"+iTb++;this._startDateLabelId=this._id+"-start-date";this._endDateLabelId=this._id+"-end-date";b.runOutsideAngular(function(){var d=a.nativeElement;d.addEventListener("touchmove",c._touchmoveHandler,jTb);d.addEventListener("mouseenter",c._enterHandler,Bz);d.addEventListener("focus",c._enterHandler,Bz);d.addEventListener("mouseleave",c._leaveHandler,Bz);d.addEventListener("blur",
c._leaveHandler,Bz);d.addEventListener("mousedown",c._mousedownHandler,kTb);d.addEventListener("touchstart",c._mousedownHandler,kTb);c._platform.isBrowser&&(window.addEventListener("mouseup",c._mouseupHandler),window.addEventListener("touchend",c._touchendHandler))})};g=Cz.prototype;g.ngAfterViewChecked=function(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)};
g._cellClicked=function(a,b){this._didDragSinceMouseDown||a.enabled&&this.selectedValueChange.emit({value:a.value,event:b})};g._emitActiveDateChange=function(a,b){a.enabled&&this.activeDateChange.emit({value:a.value,event:b})};g._isSelected=function(a){return this.startValue===a||this.endValue===a};
g.ngOnChanges=function(a){var b=a.numCols,c=this.rows,d=this.numCols;if(a.rows||b)this._firstRowOffset=c&&c.length&&c[0].length?d-c[0].length:0;if(a.cellAspectRatio||b||!this._cellPadding)this._cellPadding=50*this.cellAspectRatio/d+"%";if(b||!this._cellWidth)this._cellWidth=100/d+"%"};
g.ngOnDestroy=function(){var a=this._elementRef.nativeElement;a.removeEventListener("touchmove",this._touchmoveHandler,jTb);a.removeEventListener("mouseenter",this._enterHandler,Bz);a.removeEventListener("focus",this._enterHandler,Bz);a.removeEventListener("mouseleave",this._leaveHandler,Bz);a.removeEventListener("blur",this._leaveHandler,Bz);a.removeEventListener("mousedown",this._mousedownHandler,kTb);a.removeEventListener("touchstart",this._mousedownHandler,kTb);this._platform.isBrowser&&(window.removeEventListener("mouseup",
this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))};g._isActiveCell=function(a,b){b=a*this.numCols+b;a&&(b-=this._firstRowOffset);return b==this.activeCell};g._focusActiveCell=function(a){var b=this;a=void 0===a?!0:a;this._ngZone.runOutsideAngular(function(){b._ngZone.onStable.pipe(Qe()).subscribe(function(){setTimeout(function(){var c=b._elementRef.nativeElement.querySelector(".mat-calendar-body-active");c&&(a||(b._skipNextFocus=!0),c.focus())})})})};
g._scheduleFocusActiveCellAfterViewChecked=function(){this._focusActiveCellAfterViewChecked=!0};g._isRangeStart=function(a){return gqa(a,this.startValue,this.endValue)};g._isRangeEnd=function(a){return hqa(a,this.startValue,this.endValue)};g._isInRange=function(a){return iqa(a,this.startValue,this.endValue,this.isRange)};g._isComparisonStart=function(a){return gqa(a,this.comparisonStart,this.comparisonEnd)};
g._isComparisonBridgeStart=function(a,b,c){if(!this._isComparisonStart(a)||this._isRangeStart(a)||!this._isInRange(a))return!1;a=this.rows[b][c-1];a||(a=(b=this.rows[b-1])&&b[b.length-1]);return a&&!this._isRangeEnd(a.compareValue)};g._isComparisonBridgeEnd=function(a,b,c){if(!this._isComparisonEnd(a)||this._isRangeEnd(a)||!this._isInRange(a))return!1;a=this.rows[b][c+1];a||(a=(b=this.rows[b+1])&&b[0]);return a&&!this._isRangeStart(a.compareValue)};
g._isComparisonEnd=function(a){return hqa(a,this.comparisonStart,this.comparisonEnd)};g._isInComparisonRange=function(a){return iqa(a,this.comparisonStart,this.comparisonEnd,this.isRange)};g._isComparisonIdentical=function(a){return this.comparisonStart===this.comparisonEnd&&a===this.comparisonStart};g._isPreviewStart=function(a){return gqa(a,this.previewStart,this.previewEnd)};g._isPreviewEnd=function(a){return hqa(a,this.previewStart,this.previewEnd)};
g._isInPreview=function(a){return iqa(a,this.previewStart,this.previewEnd,this.isRange)};g._getDescribedby=function(a){return this.isRange?this.startValue===a&&this.endValue===a?this._startDateLabelId+" "+this._endDateLabelId:this.startValue===a?this._startDateLabelId:this.endValue===a?this._endDateLabelId:null:null};g._getCellFromElement=function(a){var b=fqa(a);return b&&(a=b.getAttribute("data-mat-row"),b=b.getAttribute("data-mat-col"),a&&b)?this.rows[parseInt(a)][parseInt(b)]:null};
Cz.\u0275fac=function(a){return new (a||Cz)(B(Hd),B(ef))};
Cz.\u0275cmp=r({type:Cz,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",
endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],standalone:!0,features:[ld,dg],attrs:["mat-calendar-body",""],decls:7,vars:5,consts:[["aria-hidden","true"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom"],
["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"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"]],template:function(a,b){a&1&&(F(0,aqa,3,6,"tr",0),Pf(1,dqa,4,1,"tr",3,Of),H(3,"label",1),T(4),K(),H(5,"label",1),T(6),K());a&2&&(Nf(0,b._firstRowOffset<
b.labelMinRequiredCells?0:-1),A(1),Qf(b.rows),A(2),G("id",b._startDateLabelId),A(1),V(" ",b.startDateAccessibleName,"\n"),A(1),G("id",b._endDateLabelId),A(1),V(" ",b.endDateAccessibleName,"\n"))},dependencies:[Sv],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 Dz=function(a,b){this.selection=a;this._adapter=b;this.selectionChanged=this._selectionChanged=new E.Subject;this.selection=a};Dz.prototype.updateSelection=function(a,b){var c=this.selection;this.selection=a;this._selectionChanged.next({selection:a,source:b,oldValue:c})};Dz.prototype.ngOnDestroy=function(){this._selectionChanged.complete()};Dz.prototype._isValidDateInstance=function(a){return a instanceof Cn&&this._adapter.isValid(a)};Dz.\u0275fac=function(){Od()};Dz.\u0275prov=Dc({token:Dz,factory:Dz.\u0275fac});
var Ez=function(a){Dz.call(this,null,a)};Y(Ez,Dz);Ez.prototype.add=function(a){Dz.prototype.updateSelection.call(this,a,this)};Ez.prototype.isValid=function(){return null!=this.selection&&this._isValidDateInstance(this.selection)};Ez.prototype.isComplete=function(){return null!=this.selection};Ez.prototype.clone=function(){var a=new Ez(this._adapter);a.updateSelection(this.selection,this);return a};Ez.\u0275fac=function(a){return new (a||Ez)(p(kz))};Ez.\u0275prov=Dc({token:Ez,factory:Ez.\u0275fac});
var lTb={provide:Dz,deps:[[new zu,new Au,Dz],kz],useFactory:function(a,b){return a||new Ez(b)}};new zu;new Au;var Fz=function(){this.changes=new E.Subject;this.openCalendarLabel="Open calendar";this.closeCalendarLabel="Close calendar"};Fz.prototype.formatYearRange=function(a,b){return a+" \u2013 "+b};Fz.prototype.formatYearRangeLabel=function(a,b){return a+" to "+b};Fz.\u0275fac=function(a){return new (a||Fz)};Fz.\u0275prov=Dc({token:Fz,factory:Fz.\u0275fac,providedIn:"root"});var mTb=new bd("MAT_DATE_RANGE_SELECTION_STRATEGY");new zu;new Au;var Gz=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 mv;this._userSelection=new mv;this.dragStarted=new mv;this.dragEnded=new mv;this.activeDateChange=new mv;this._activeDate=new Cn};g=Gz.prototype;g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe($e(null)).subscribe(function(){return a._init()})};
g.ngOnChanges=function(a){var b=a.comparisonStart||a.comparisonEnd;b&&!b.firstChange&&this._setRanges(this.selected);a.activeDrag&&!this.activeDrag&&this._clearPreview()};g.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};g._dateSelected=function(a){var b=a.value,c=this._getDateFromDayOfMonth(b),d;(d=this._getDateInCurrentMonth(this._selected))===b&&d===b||this.selectedChange.emit(c);this._userSelection.emit({value:c,event:a.event});this._clearPreview();this._changeDetectorRef.markForCheck()};
g._updateActiveDate=function(a){var b=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(a.value);mz(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this._activeDate)};
g._handleCalendarBodyKeydown=function(a){var b=this._activeDate,c=this._isRtl();switch(a.keyCode){case 37:this.activeDate=Hz(this._activeDate,c?1:-1);break;case 39:this.activeDate=Hz(this._activeDate,c?-1:1);break;case 38:this.activeDate=Hz(this._activeDate,-7);break;case 40:this.activeDate=Hz(this._activeDate,7);break;case 36:this.activeDate=Hz(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=Hz(this._activeDate,nTb(this._activeDate)-this._dateAdapter.getDate(this._activeDate));
break;case 33:this.activeDate=a.altKey?Iz(this._activeDate,-1):Jz(this._activeDate,-1);break;case 34:this.activeDate=a.altKey?Iz(this._activeDate,1):Jz(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0;this._canSelect(this._activeDate)&&a.preventDefault();return;case 27:null==this._previewEnd||Mg(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}mz(this._dateAdapter,b,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked());a.preventDefault()};g._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};
g._init=function(){this._setRanges(this.selected);this._todayDate=this._getCellCompareValue(new Cn);this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.locale.SHORTMONTHS[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();this._firstWeekOffset=(7+Kz(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1).getDay()-this._dateAdapter.getFirstDayOfWeek())%
7;this._initWeekdays();this._createWeekCells();this._changeDetectorRef.markForCheck()};g._focusActiveCell=function(a){this._matCalendarBody._focusActiveCell(a)};g._focusActiveCellAfterViewChecked=function(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()};
g._previewChanged=function(a){var b=a.event;a=a.value;if(this._rangeStrategy){a=a?a.rawValue:null;var c=this._rangeStrategy.createPreview(a,this.selected,b);this._previewStart=this._getCellCompareValue(c.start);this._previewEnd=this._getCellCompareValue(c.end);if(this.activeDrag&&a){var d,e;if(c=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()}};
g._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})};g._getDateFromDayOfMonth=function(a){return Kz(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),a)};
g._initWeekdays=function(){var a=this._dateAdapter.getFirstDayOfWeek(),b=oTb(this._dateAdapter,"narrow"),c=oTb(this._dateAdapter,"long").map(function(d,e){return{long:d,narrow:b[e]}});this._weekdays=c.slice(a).concat(c.slice(0,a))};
g._createWeekCells=function(){var a=nTb(this.activeDate),b=pTb;this._weeks=[[]];for(var c=0,d=this._firstWeekOffset;c<a;c++,d++){7==d&&(this._weeks.push([]),d=0);var e=Kz(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),c+1),f=this._shouldEnableDate(e),h=this._dateAdapter.format(e,this._dateFormats.display.dateA11yLabel),k=this.dateClass?this.dateClass(e,"month"):void 0;this._weeks[this._weeks.length-1].push(new hTb(c+1,b[c],h,f,k,this._getCellCompareValue(e),
e))}};g._shouldEnableDate=function(a){return!!a&&(!this.minDate||0<=mz(this._dateAdapter,a,this.minDate))&&(!this.maxDate||0>=mz(this._dateAdapter,a,this.maxDate))&&(!this.dateFilter||this.dateFilter(a))};g._getDateInCurrentMonth=function(a){return a&&this._hasSameMonthAndYear(a,this.activeDate)?this._dateAdapter.getDate(a):null};g._hasSameMonthAndYear=function(a,b){return!(!a||!b||this._dateAdapter.getMonth(a)!=this._dateAdapter.getMonth(b)||this._dateAdapter.getYear(a)!=this._dateAdapter.getYear(b))};
g._getCellCompareValue=function(a){if(a){var b=this._dateAdapter.getYear(a),c=this._dateAdapter.getMonth(a);a=this._dateAdapter.getDate(a);return(new Date(b,c,a)).getTime()}return null};g._isRtl=function(){return this._dir&&"rtl"===this._dir.value};g._setRanges=function(a){this._rangeStart=this._rangeEnd=this._getCellCompareValue(a);this._isRange=!1;this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart);this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)};
g._canSelect=function(a){return!this.dateFilter||this.dateFilter(a)};g._clearPreview=function(){this._previewStart=this._previewEnd=null};
Gh.Object.defineProperties(Gz.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=lz(this._dateAdapter,this._dateAdapter.deserialize(a))||new Cn;this._activeDate=KSb(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=lz(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=lz(this._dateAdapter,this._dateAdapter.deserialize(a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=lz(this._dateAdapter,this._dateAdapter.deserialize(a))}}});Gz.\u0275fac=function(a){return new (a||Gz)(B(Fu),B(nz,8),B(kz,8),B(Nx,8),B(mTb,8))};
Gz.\u0275cmp=r({type:Gz,selectors:[["mat-month-view"]],viewQuery:function(a,b){a&1&&og(Cz,5);if(a&2){var c;ng(c=qg())&&(b._matCalendarBody=c.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",
_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],standalone:!0,features:[ld,dg],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["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"),Pf(3,kqa,5,2,"th",4,Of),K(),H(5,"tr"),L(6,"th",2),K()(),H(7,"tbody",3),Q("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)}),K()());a&2&&(A(3),Qf(b._weekdays),A(4),G("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:[Cz],encapsulation:2,changeDetection:0});var Lz=function(a,b,c){this._changeDetectorRef=a;this._dateAdapter=b;this._dir=c;this._rerenderSubscription=E.Subscription.EMPTY;this.selectedChange=new mv;this.yearSelected=new mv;this.activeDateChange=new mv;this._activeDate=new Cn};g=Lz.prototype;g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe($e(null)).subscribe(function(){return a._init()})};g.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};
g._init=function(){var a=this;this._todayYear=this._dateAdapter.getYear(new Cn);var b=this._dateAdapter.getYear(this._activeDate)-Lh(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()};g._yearSelected=function(a){var b=a.value;a=Kz(b,0,1);b=this._getDateFromYear(b);this.yearSelected.emit(a);this.selectedChange.emit(b)};
g._updateActiveDate=function(a){var b=this._activeDate;this.activeDate=this._getDateFromYear(a.value);mz(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this.activeDate)};
g._handleCalendarBodyKeydown=function(a){var b=this._activeDate,c=this._isRtl();switch(a.keyCode){case 37:this.activeDate=Iz(this._activeDate,c?1:-1);break;case 39:this.activeDate=Iz(this._activeDate,c?-1:1);break;case 38:this.activeDate=Iz(this._activeDate,-4);break;case 40:this.activeDate=Iz(this._activeDate,4);break;case 36:this.activeDate=Iz(this._activeDate,-Lh(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=Iz(this._activeDate,24-Lh(this._dateAdapter,
this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=Iz(this._activeDate,a.altKey?-240:-24);break;case 34:this.activeDate=Iz(this._activeDate,a.altKey?240:24);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}mz(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this.activeDate);this._focusActiveCellAfterViewChecked();a.preventDefault()};
g._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};g._getActiveCell=function(){return Lh(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)};g._focusActiveCell=function(){this._matCalendarBody._focusActiveCell()};g._focusActiveCellAfterViewChecked=function(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()};
g._getDateFromYear=function(a){var b=this._dateAdapter.getMonth(this.activeDate);var c=Kz(a,b,1);c=nTb(c);return Kz(a,b,Math.min(this._dateAdapter.getDate(this.activeDate),c))};g._createCellForYear=function(a){var b=Kz(a,0,1),c=""+b.getFullYear();b=this.dateClass?this.dateClass(b,"multi-year"):void 0;return new hTb(a,c,c,this._shouldEnableYear(a),b)};
g._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=Kz(a,0,1);this._dateAdapter.getYear(b)==a;b=Hz(b,1))if(this.dateFilter(b))return!0;return!1};g._isRtl=function(){return this._dir&&"rtl"===this._dir.value};g._setSelectedYear=function(a){this._selectedYear=null;a&&(this._selectedYear=this._dateAdapter.getYear(a))};
Gh.Object.defineProperties(Lz.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=lz(this._dateAdapter,this._dateAdapter.deserialize(a))||new Cn;this._activeDate=KSb(this._dateAdapter,a,this.minDate,this.maxDate);mqa(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=lz(this._dateAdapter,
this._dateAdapter.deserialize(a));this._setSelectedYear(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=lz(this._dateAdapter,this._dateAdapter.deserialize(a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=lz(this._dateAdapter,this._dateAdapter.deserialize(a))}}});Lz.\u0275fac=function(a){return new (a||Lz)(B(Fu),B(kz,8),B(Nx,8))};
Lz.\u0275cmp=r({type:Lz,selectors:[["mat-multi-year-view"]],viewQuery:function(a,b){a&1&&og(Cz,5);if(a&2){var c;ng(c=qg())&&(b._matCalendarBody=c.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],standalone:!0,features:[dg],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"),L(3,"th",2),K()(),H(4,"tbody",3),Q("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)}),K()());a&2&&(A(4),G("rows",b._years)("todayValue",b._todayYear)("startValue",b._selectedYear)("endValue",b._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",b._getActiveCell()))},dependencies:[Cz],encapsulation:2,changeDetection:0});var Mz=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 mv;this.monthSelected=new mv;this.activeDateChange=new mv;this._activeDate=new Cn};g=Mz.prototype;g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe($e(null)).subscribe(function(){return a._init()})};g.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};
g._monthSelected=function(a){a=a.value;var b=Kz(this._dateAdapter.getYear(this.activeDate),a,1);this.monthSelected.emit(b);a=this._getDateFromMonth(a);this.selectedChange.emit(a)};g._updateActiveDate=function(a){var b=this._activeDate;this.activeDate=this._getDateFromMonth(a.value);mz(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this.activeDate)};
g._handleCalendarBodyKeydown=function(a){var b=this._activeDate,c=this._isRtl();switch(a.keyCode){case 37:this.activeDate=Jz(this._activeDate,c?1:-1);break;case 39:this.activeDate=Jz(this._activeDate,c?-1:1);break;case 38:this.activeDate=Jz(this._activeDate,-4);break;case 40:this.activeDate=Jz(this._activeDate,4);break;case 36:this.activeDate=Jz(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=Jz(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));
break;case 33:this.activeDate=Iz(this._activeDate,a.altKey?-10:-1);break;case 34:this.activeDate=Iz(this._activeDate,a.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}mz(this._dateAdapter,b,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked());a.preventDefault()};
g._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};
g._init=function(){var a=this;this._setSelectedMonth(this.selected);this._todayMonth=this._getMonthInCurrentYear(new Cn);this._yearLabel=""+this.activeDate.getFullYear();var b=this._dateAdapter.locale.SHORTMONTHS;this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(function(c){return c.map(function(d){return a._createCellForMonth(d,b[d])})});this._changeDetectorRef.markForCheck()};g._focusActiveCell=function(){this._matCalendarBody._focusActiveCell()};g._focusActiveCellAfterViewChecked=function(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()};
g._getMonthInCurrentYear=function(a){return a&&this._dateAdapter.getYear(a)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(a):null};g._getDateFromMonth=function(a){var b=Kz(this._dateAdapter.getYear(this.activeDate),a,1);b=nTb(b);return Kz(this._dateAdapter.getYear(this.activeDate),a,Math.min(this._dateAdapter.getDate(this.activeDate),b))};
g._createCellForMonth=function(a,b){var c=Kz(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 hTb(a,b.toLocaleUpperCase(),d,this._shouldEnableMonth(a),c)};
g._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=Kz(b,a,1);this._dateAdapter.getMonth(b)==a;b=Hz(b,1))if(this.dateFilter(b))return!0;return!1};g._isYearAndMonthAfterMaxDate=function(a,b){if(this.maxDate){var c=this._dateAdapter.getYear(this.maxDate),d=this._dateAdapter.getMonth(this.maxDate);return a>c||a===c&&b>d}return!1};
g._isYearAndMonthBeforeMinDate=function(a,b){if(this.minDate){var c=this._dateAdapter.getYear(this.minDate),d=this._dateAdapter.getMonth(this.minDate);return a<c||a===c&&b<d}return!1};g._isRtl=function(){return this._dir&&"rtl"===this._dir.value};g._setSelectedMonth=function(a){this._selectedMonth=this._getMonthInCurrentYear(a)};
Gh.Object.defineProperties(Mz.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=lz(this._dateAdapter,this._dateAdapter.deserialize(a))||new Cn;this._activeDate=KSb(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=lz(this._dateAdapter,
this._dateAdapter.deserialize(a));this._setSelectedMonth(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=lz(this._dateAdapter,this._dateAdapter.deserialize(a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=lz(this._dateAdapter,this._dateAdapter.deserialize(a))}}});Mz.\u0275fac=function(a){return new (a||Mz)(B(Fu),B(nz,8),B(kz,8),B(Nx,8))};
Mz.\u0275cmp=r({type:Mz,selectors:[["mat-year-view"]],viewQuery:function(a,b){a&1&&og(Cz,5);if(a&2){var c;ng(c=qg())&&(b._matCalendarBody=c.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],standalone:!0,features:[dg],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"),L(3,"th",2),K()(),H(4,"tbody",3),Q("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)}),K()());a&2&&(A(4),G("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:[Cz],encapsulation:2,changeDetection:0});var qTb=1,Nz=function(a,b,c,d,e){this._intl=a;this.calendar=b;this._dateAdapter=c;this._dateFormats=d;this._id="mat-calendar-header-"+qTb++;this._periodButtonLabelId=this._id+"-period-label";this.calendar.stateChanges.subscribe(function(){return e.markForCheck()})};
Nz.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):mqa(this._dateAdapter,a,b,this.calendar.minDate,this.calendar.maxDate)};
Nz.prototype._formatMinAndMaxYearLabels=function(){var a=this._dateAdapter.getYear(this.calendar.activeDate)-Lh(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),b=a+24-1;a=""+Kz(a,0,1).getFullYear();b=""+Kz(b,0,1).getFullYear();return[a,b]};
Gh.Object.defineProperties(Nz.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,u(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,u(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]}}});Nz.\u0275fac=function(a){return new (a||Nz)(B(Fz),B(Jc(function(){return Oz})),B(kz,8),B(nz,8),B(Fu))};
Nz.\u0275cmp=r({type:Nz,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],standalone:!0,features:[dg],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&&(Vf(),H(0,"div",0)(1,"div",1)(2,"button",2),Q("click",function(){b.calendar.currentView="month"==b.calendar.currentView?"multi-year":"month"}),H(3,"span",3),T(4),K(),yd(),H(5,"svg",4),L(6,"polygon",5),K()(),rd.currentNamespace=null,L(7,"div",6),Wf(8),H(9,"button",7),Q("click",
function(){b.calendar.activeDate="month"==b.calendar.currentView?Jz(b.calendar.activeDate,-1):Iz(b.calendar.activeDate,"year"==b.calendar.currentView?-1:-24)}),K(),H(10,"button",8),Q("click",function(){b.calendar.activeDate="month"==b.calendar.currentView?Jz(b.calendar.activeDate,1):Iz(b.calendar.activeDate,"year"==b.calendar.currentView?1:24)}),K()()(),H(11,"label",9),T(12),K());a&2&&(A(2),Af("aria-label",b.periodButtonLabel)("aria-describedby",b._periodButtonLabelId),A(2),$f(b.periodButtonText),
A(1),Jf("mat-calendar-invert","month"!==b.calendar.currentView),A(4),G("disabled",!(b.calendar.minDate?!b.calendar.minDate||!b._isSameView(b.calendar.activeDate,b.calendar.minDate):1)),Af("aria-label",b.prevButtonLabel),A(1),G("disabled",!(!b.calendar.maxDate||!b._isSameView(b.calendar.activeDate,b.calendar.maxDate))),Af("aria-label",b.nextButtonLabel),A(1),G("id",b._periodButtonLabelId),A(1),$f(b.periodButtonDescription))},dependencies:[yz,zz],encapsulation:2,changeDetection:0});
var Oz=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 mv;this.yearSelected=new mv;this.monthSelected=new mv;this.viewChanged=new mv(!0);this._userSelection=new mv;this._userDragDrop=new mv;this._activeDrag=null;this.stateChanges=new E.Subject;this._intlChanges=a.changes.subscribe(function(){d.markForCheck();e.stateChanges.next()})};g=Oz.prototype;
g.ngAfterContentInit=function(){this._calendarHeaderPortal=new hy(this.headerComponent||Nz);this.activeDate=this.startAt||new Cn;this._currentView=this.startView};g.ngAfterViewChecked=function(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this._getCurrentViewComponent()._focusActiveCell(!1))};g.ngOnDestroy=function(){this._intlChanges.unsubscribe();this.stateChanges.complete()};
g.ngOnChanges=function(a){var b=a.minDate&&!this._dateAdapter.sameDate(a.minDate.previousValue,a.minDate.currentValue)?a.minDate:void 0,c=a.maxDate&&!this._dateAdapter.sameDate(a.maxDate.previousValue,a.maxDate.currentValue)?a.maxDate:void 0;(a=b||c||a.dateFilter)&&!a.firstChange&&(a=this._getCurrentViewComponent())&&(this._changeDetectorRef.detectChanges(),a._init());this.stateChanges.next()};
g._dateSelected=function(a){var b=a.value;b&&!this._dateAdapter.sameDate(b,this.selected)&&this.selectedChange.emit(b);this._userSelection.emit(a)};g._yearSelectedInMultiYearView=function(a){this.yearSelected.emit(a)};g._monthSelectedInYearView=function(a){this.monthSelected.emit(a)};g._goToDateInView=function(a,b){this.activeDate=a;this.currentView=b};g._dragStarted=function(a){this._activeDrag=a};g._dragEnded=function(a){this._activeDrag&&(a.value&&this._userDragDrop.emit(a),this._activeDrag=null)};
g._getCurrentViewComponent=function(){return this.monthView||this.yearView||this.multiYearView};
Gh.Object.defineProperties(Oz.prototype,{startAt:{configurable:!0,enumerable:!0,get:function(){return this._startAt},set:function(a){this._startAt=lz(this._dateAdapter,this._dateAdapter.deserialize(a))}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this._selected=lz(this._dateAdapter,this._dateAdapter.deserialize(a))}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=lz(this._dateAdapter,this._dateAdapter.deserialize(a))}},
maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=lz(this._dateAdapter,this._dateAdapter.deserialize(a))}},activeDate:{configurable:!0,enumerable:!0,get:function(){return this._clampedActiveDate},set:function(a){this._clampedActiveDate=KSb(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)}}});Oz.\u0275fac=function(a){return new (a||Oz)(B(Fz),B(kz,8),B(nz,8),B(Fu))};
Oz.\u0275cmp=r({type:Oz,selectors:[["mat-calendar"]],viewQuery:function(a,b){a&1&&(og(Gz,5),og(Mz,5),og(Lz,5));if(a&2){var c;ng(c=qg())&&(b.monthView=c.first);ng(c=qg())&&(b.yearView=c.first);ng(c=qg())&&(b.multiYearView=c.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",
startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],standalone:!0,features:[bg([lTb]),ld,dg],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter",
"maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","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&&(F(0,nqa,0,0,"ng-template",0),H(1,
"div",1),F(2,oqa,1,11)(3,pqa,1,6)(4,qqa,1,6),K());if(a&2){var c;G("cdkPortalOutlet",b._calendarHeaderPortal);A(2);Nf(2,"month"===(c=b.currentView)?2:"year"===c?3:"multi-year"===c?4:-1)}},dependencies:[my,$w,Gz,Mz,Lz],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});new bd("MAT_DATE_RANGE_INPUT_PARENT");var rTb=new bd("MatError");var sTb=new bd("MatPrefix");var tTb=new bd("MatSuffix");var uTb=ih("transitionMessages",[lh("enter",kh({opacity:1,transform:"translateY(0%)"})),nh("void => enter",[kh({opacity:0,transform:"translateY(-5px)"}),jh("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])]);var Pz=function(){};Pz.\u0275fac=function(a){return new (a||Pz)};Pz.\u0275dir=Vc({type:Pz});new bd("FloatingLabelParent");var Qz=new bd("MatFormField");new bd("MAT_FORM_FIELD_DEFAULT_OPTIONS");var vTb=ih("transformPanel",[nh("void => enter-dropdown",jh("120ms cubic-bezier(0, 0, 0.2, 1)",mh([kh({opacity:0,transform:"scale(1, 0.8)"}),kh({opacity:1,transform:"scale(1, 1)"})]))),nh("void => enter-dialog",jh("150ms cubic-bezier(0, 0, 0.2, 1)",mh([kh({opacity:0,transform:"scale(0.7)"}),kh({transform:"none",opacity:1})]))),nh("* => void",jh("100ms linear",kh({opacity:0})))]),wTb=ih("fadeInCalendar",[lh("void",kh({opacity:0})),lh("enter",kh({opacity:1})),nh("void => *",jh("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))]);var xTb={provide:new bd("mat-datepicker-scroll-strategy",{providedIn:"root",factory:function(){var a=Nc(oy);return function(){return a.scrollStrategies.reposition()}}}),deps:[oy],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},Rz=function(a,b,c,d,e,f){this._elementRef=a;this._changeDetectorRef=b;this._globalModel=c;this._dateAdapter=d;this._rangeSelectionStrategy=e;this._subscriptions=new E.Subscription;this._animationDone=new E.Subject;this._isAnimating=!1;this._actionsPortal=
null;this._closeButtonText=f.closeCalendarLabel};g=Rz.prototype;g.ngOnInit=function(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"};g.ngAfterViewInit=function(){var a=this;this._subscriptions.add(this.datepicker.stateChanges.subscribe(function(){a._changeDetectorRef.markForCheck()}));this._calendar._getCurrentViewComponent()._focusActiveCell(!1)};g.ngOnDestroy=function(){this._subscriptions.unsubscribe();this._animationDone.complete()};
g._handleUserSelection=function(a){var b=this._model.selection;a=a.value;!a||this._dateAdapter.sameDate(a,b)||this._model.add(a);this._model&&!this._model.isComplete()||this._actionsPortal||this.datepicker.close()};g._handleUserDragDrop=function(a){this._model.updateSelection(a.value,this)};g._startExitAnimation=function(){this._animationState="void";this._changeDetectorRef.markForCheck()};g._handleAnimationEvent=function(a){(this._isAnimating="start"===a.phaseName)||this._animationDone.next()};
g._getSelected=function(){return this._model.selection};g._applyPendingSelection=function(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)};g._assignActions=function(a,b){this._model=a?this._globalModel.clone():this._globalModel;this._actionsPortal=a;b&&this._changeDetectorRef.detectChanges()};Rz.\u0275fac=function(a){return new (a||Rz)(B(Hd),B(Fu),B(Dz),B(kz),B(mTb,8),B(Fz))};
Rz.\u0275cmp=r({type:Rz,selectors:[["mat-datepicker-content"]],viewQuery:function(a,b){a&1&&og(Oz,5);if(a&2){var c;ng(c=qg())&&(b._calendar=c.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:5,hostBindings:function(a,b){a&1&&Uf("@transformPanel.start",function(c){return b._handleAnimationEvent(c)})("@transformPanel.done",function(c){return b._handleAnimationEvent(c)});a&2&&(Tf("@transformPanel",b._animationState),Kf(b.color?"mat-"+b.color:""),Jf("mat-datepicker-content-touch",b.datepicker.touchUi))},
inputs:{color:"color"},exportAs:["matDatepickerContent"],standalone:!0,features:[dg],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button",
"",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"mat-calendar",1),Q("yearSelected",function(d){return b.datepicker._selectYear(d)})("monthSelected",function(d){return b.datepicker._selectMonth(d)})("viewChanged",function(d){return b.datepicker._viewChanged(d)})("_userSelection",function(d){return b._handleUserSelection(d)})("_userDragDrop",function(d){return b._handleUserDragDrop(d)}),K(),F(2,rqa,0,0,"ng-template",2),H(3,"button",3),
Q("focus",function(){return b._closeButtonFocused=!0})("blur",function(){return b._closeButtonFocused=!1})("click",function(){return b.datepicker.close()}),T(4),K()());if(a&2){var c;Jf("mat-datepicker-content-container-with-custom-header",b.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",b._actionsPortal);Af("aria-modal",!0)("aria-labelledby",null!==(c=b._dialogLabelId)&&void 0!==c?c:void 0);A(1);G("id",b.datepicker.id)("ngClass",b.datepicker.panelClass)("startAt",
b.datepicker.startAt)("startView",b.datepicker.startView)("minDate",b.datepicker._getMinDate())("maxDate",b.datepicker._getMaxDate())("dateFilter",b.datepicker._getDateFilter())("headerComponent",b.datepicker.calendarHeaderComponent)("selected",b._model.selection)("dateClass",b.datepicker.dateClass)("comparisonStart",b.comparisonStart)("comparisonEnd",b.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",b.startDateAccessibleName)("endDateAccessibleName",b.endDateAccessibleName);A(1);
G("cdkPortalOutlet",b._actionsPortal);A(1);Jf("cdk-visually-hidden",!b._closeButtonFocused);G("color",b.color||"primary");A(1);$f(b._closeButtonText)}},dependencies:[fx,Oz,Sv,my,yz],styles:[".mat-datepicker-content{box-shadow: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);display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color);color:var(--mat-datepicker-calendar-container-text-color)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{box-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\n"],
encapsulation:2,data:{animation:[vTb,wTb]},changeDetection:0});var yTb=new bd("MAT_INPUT_VALUE_ACCESSOR");var zTb=Og({passive:!0}),Sz=function(a,b){this._platform=a;this._ngZone=b;this._monitoredElements=new Map};
Sz.prototype.monitor=function(a){var b=this;if(!this._platform.isBrowser)return E.EMPTY;var c=Ug(a);if(a=this._monitoredElements.get(c))return a.subject;var d=new E.Subject,e=function(f){"cdk-text-field-autofill-start"!==f.animationName||c.classList.contains("cdk-text-field-autofilled")?"cdk-text-field-autofill-end"===f.animationName&&c.classList.contains("cdk-text-field-autofilled")&&(c.classList.remove("cdk-text-field-autofilled"),b._ngZone.run(function(){return d.next({target:f.target,isAutofilled:!1})})):
(c.classList.add("cdk-text-field-autofilled"),b._ngZone.run(function(){return d.next({target:f.target,isAutofilled:!0})}))};this._ngZone.runOutsideAngular(function(){c.addEventListener("animationstart",e,zTb);c.classList.add("cdk-text-field-autofill-monitored")});this._monitoredElements.set(c,{subject:d,unlisten:function(){c.removeEventListener("animationstart",e,zTb)}});return d};
Sz.prototype.stopMonitoring=function(a){a=Ug(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))};Sz.prototype.ngOnDestroy=function(){var a=this;this._monitoredElements.forEach(function(b,c){return a.stopMonitoring(c)})};Sz.\u0275fac=function(a){return new (a||Sz)(p(Vw),p(ef))};Sz.\u0275prov=Dc({token:Sz,factory:Sz.\u0275fac,providedIn:"root"});var Tz=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(f){e._hasFocus="focus"===f.type};this._document=d;this._textareaElement=this._elementRef.nativeElement};g=Tz.prototype;g._setMinHeight=function(){var a=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;a&&(this._textareaElement.style.minHeight=a)};
g._setMaxHeight=function(){var a=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;a&&(this._textareaElement.style.maxHeight=a)};
g.ngAfterViewInit=function(){var a=this;this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,Uz(this),this._ngZone.runOutsideAngular(function(){(0,E.fromEvent)(a._getWindow(),"resize").pipe(Ke(16),bf(a._destroyed)).subscribe(function(){return Uz(a,!0)});a._textareaElement.addEventListener("focus",a._handleFocusEvent);a._textareaElement.addEventListener("blur",a._handleFocusEvent)}),this._isViewInited=!0,Uz(this,!0))};
g.ngOnDestroy=function(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent);this._textareaElement.removeEventListener("blur",this._handleFocusEvent);this._destroyed.next();this._destroyed.complete()};
g._cacheTextareaLineHeight=function(){if(!this._cachedLineHeight){var a=this._textareaElement.cloneNode(!1);a.rows=1;a.style.position="absolute";a.style.visibility="hidden";a.style.border="none";a.style.padding="0";a.style.height="";a.style.minHeight="";a.style.maxHeight="";a.style.overflow="hidden";this._textareaElement.parentNode.appendChild(a);this._cachedLineHeight=a.clientHeight;a.remove();this._setMinHeight();this._setMaxHeight()}};
g._measureScrollHeight=function(){var a=this._textareaElement,b=a.style.marginBottom||"",c=this._platform.FIREFOX,d=c&&this._hasFocus;c=c?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";d&&(a.style.marginBottom=a.clientHeight+"px");a.classList.add(c);var e=a.scrollHeight-4;a.classList.remove(c);d&&(a.style.marginBottom=b);return e};
g._cacheTextareaPlaceholderHeight=function(){if(this._isViewInited&&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};g.ngDoCheck=function(){this._platform.isBrowser&&Uz(this)};
var Uz=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}};g=Tz.prototype;g.reset=function(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)};g._noopInputHandler=function(){};g._getDocument=function(){return this._document||document};g._getWindow=function(){return this._getDocument().defaultView||window};g._scrollToCaretPosition=function(a){var b=a.selectionStart,c=a.selectionEnd;!this._destroyed.isStopped&&this._hasFocus&&a.setSelectionRange(b,c)};
Gh.Object.defineProperties(Tz.prototype,{minRows:{configurable:!0,enumerable:!0,get:function(){return this._minRows},set:function(a){this._minRows=Vg(a);this._setMinHeight()}},maxRows:{configurable:!0,enumerable:!0,get:function(){return this._maxRows},set:function(a){this._maxRows=Vg(a);this._setMaxHeight()}},enabled:{configurable:!0,enumerable:!0,get:function(){return this._enabled},set:function(a){this._enabled!==a&&((this._enabled=a)?Uz(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()}}});Tz.\u0275fac=function(a){return new (a||Tz)(B(Hd),B(Vw),B(ef),B(Xg,8))};
Tz.\u0275dir=Vc({type:Tz,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(a){a&1&&Q("input",function(){})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled",ug],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"],standalone:!0,features:[zf]});var Vz=function(){};Vz.\u0275fac=function(a){return new (a||Vz)};Vz.\u0275mod=Tc({type:Vz});Vz.\u0275inj=Ec({});var ATb=["button"],BTb=[[["","matDatepickerToggleIcon",""]]],Wz=function(){};Wz.\u0275fac=function(a){return new (a||Wz)};Wz.\u0275dir=Vc({type:Wz,selectors:[["","matDatepickerToggleIcon",""]],standalone:!0});var Xz=function(a,b,c){this._intl=a;this._changeDetectorRef=b;this._stateChanges=E.Subscription.EMPTY;this.tabIndex=(c=Number(c))||0===c?c:null};g=Xz.prototype;g.ngOnChanges=function(a){a.datepicker&&this._watchStateChanges()};g.ngOnDestroy=function(){this._stateChanges.unsubscribe()};
g.ngAfterContentInit=function(){this._watchStateChanges()};g._open=function(a){this.datepicker&&!this.disabled&&(this.datepicker.open(),a.stopPropagation())};
g._watchStateChanges=function(){var a=this,b=this.datepicker?this.datepicker.stateChanges:(0,E.of)(),c=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,E.of)(),d=this.datepicker?(0,E.merge)(this.datepicker.openedStream,this.datepicker.closedStream):(0,E.of)();this._stateChanges.unsubscribe();this._stateChanges=(0,E.merge)(this._intl.changes,b,c,d).subscribe(function(){return a._changeDetectorRef.markForCheck()})};
Gh.Object.defineProperties(Xz.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled},set:function(a){this._disabled=a}}});Xz.\u0275fac=function(a){return new (a||Xz)(B(Fz),B(Fu),Bd("tabindex"))};
Xz.\u0275cmp=r({type:Xz,selectors:[["mat-datepicker-toggle"]],contentQueries:function(a,b,c){a&1&&pg(c,Wz,5);if(a&2){var d;ng(d=qg())&&(b._customIcon=d.first)}},viewQuery:function(a,b){a&1&&og(ATb,5);if(a&2){var c;ng(c=qg())&&(b._button=c.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(a,b){a&1&&Q("click",function(c){return b._open(c)});a&2&&(Af("tabindex",null)("data-mat-calendar",b.datepicker?b.datepicker.id:null),Jf("mat-datepicker-toggle-active",b.datepicker&&b.datepicker.opened)("mat-accent",
b.datepicker&&"accent"===b.datepicker.color)("mat-warn",b.datepicker&&"warn"===b.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:["disabled","disabled",ug],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],standalone:!0,features:[zf,ld,dg],ngContentSelectors:["[matDatepickerToggleIcon]"],decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],"class;mat-datepicker-toggle-default-icon;viewBox;0 0 24 24;width;24px;height;24px;fill;currentColor;focusable;false;aria-hidden;true".split(";"),
["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(a,b){a&1&&(Vf(BTb),H(0,"button",0,1),F(2,sqa,2,0,":svg:svg",2),Wf(3),K());a&2&&(G("disabled",b.disabled)("disableRipple",b.disableRipple),Af("aria-haspopup",b.datepicker?"dialog":null)("aria-label",
b.ariaLabel||b._intl.openCalendarLabel)("tabindex",b.disabled?-1:b.tabIndex),A(2),Nf(2,b._customIcon?-1:2))},dependencies:[zz],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color)}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color)}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}\n"],encapsulation:2,changeDetection:0});var Yz=function(){};Yz.\u0275fac=function(a){return new (a||Yz)};Yz.\u0275mod=Tc({type:Yz});Yz.\u0275inj=Ec({providers:[Fz,xTb],imports:[hw,Az,ry,px,ny,jz,Rz,Xz,Nz,Tx]});var CTb={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},Zz=CTb;Zz=CTb;var DTb=RegExp("^((?:[-+]\\d*)?\\d{4})(?:(?:-?(\\d{2})(?:-?(\\d{2}))?)|(?:-?(\\d{3}))|(?:-?W(\\d{2})(?:-?([1-7]))?))?$"),ETb=/^(\d{2})(?::?(\d{2})(?::?(\d{2})(\.\d+)?)?)?$/,FTb=/Z|(?:([-+])(\d{2})(?::?(\d{2}))?)$/,GTb=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},HTb=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)},$z=function(a,b,c,d,e,f){"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=f||0)};g=$z.prototype;
g.toIsoString=function(a){var b=Math.min(this.years,this.months,this.days,this.hours,this.minutes,this.seconds),c=Math.max(this.years,this.months,this.days,this.hours,this.minutes,this.seconds);if(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("")};g.equals=function(a){return a.years==this.years&&a.months==this.months&&a.days==this.days&&a.hours==this.hours&&a.minutes==this.minutes&&a.seconds==this.seconds};g.clone=function(){return new $z(this.years,this.months,this.days,this.hours,this.minutes,this.seconds)};
g.isZero=function(){return 0==this.years&&0==this.months&&0==this.days&&0==this.hours&&0==this.minutes&&0==this.seconds};g.times=function(a){return new $z(this.years*a,this.months*a,this.days*a,this.hours*a,this.minutes*a,this.seconds*a)};g.add=function(a){this.years+=a.years;this.months+=a.months;this.days+=a.days;this.hours+=a.hours;this.minutes+=a.minutes;this.seconds+=a.seconds};
var ei=function(a,b,c){"number"===typeof a?(this.date=ITb(a,b||0,c||1),JTb(this,c||1)):Aa(a)?(this.date=ITb(a.getFullYear(),a.getMonth(),a.getDate()),JTb(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),JTb(this,a))},ITb=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};g=ei.prototype;g.firstDayOfWeek_=Zz.FIRSTDAYOFWEEK;
g.firstWeekCutOffDay_=Zz.FIRSTWEEKCUTOFFDAY;g.clone=function(){var a=new ei(this.date);a.firstDayOfWeek_=this.firstDayOfWeek_;a.firstWeekCutOffDay_=this.firstWeekCutOffDay_;return a};g.getFullYear=function(){return this.date.getFullYear()};g.getYear=function(){return this.getFullYear()};g.getMonth=function(){return this.date.getMonth()};g.getDate=function(){return this.date.getDate()};g.getTime=function(){return this.date.getTime()};g.getDay=function(){return this.date.getDay()};
g.getUTCFullYear=function(){return this.date.getUTCFullYear()};g.getUTCMonth=function(){return this.date.getUTCMonth()};g.getUTCDate=function(){return this.date.getUTCDate()};g.getUTCDay=function(){return this.date.getDay()};g.getUTCHours=function(){return this.date.getUTCHours()};g.getUTCMinutes=function(){return this.date.getUTCMinutes()};g.getFirstDayOfWeek=function(){return this.firstDayOfWeek_};var nTb=function(a){return GTb(a.getFullYear(),a.getMonth())};g=ei.prototype;g.getTimezoneOffset=function(){return this.date.getTimezoneOffset()};
g.set=function(a){this.date=new Date(a.getFullYear(),a.getMonth(),a.getDate())};g.setFullYear=function(a){this.date.setFullYear(a)};g.setYear=function(a){this.setFullYear(a)};g.setMonth=function(a){this.date.setMonth(a)};g.setDate=function(a){this.date.setDate(a)};g.setTime=function(a){this.date.setTime(a)};g.setUTCFullYear=function(a){this.date.setUTCFullYear(a)};g.setUTCMonth=function(a){this.date.setUTCMonth(a)};g.setUTCDate=function(a){this.date.setUTCDate(a)};
g.add=function(a){if(a.years||a.months){var b=this.getMonth()+a.months+12*a.years,c=this.getYear()+Math.floor(b/12);b%=12;0>b&&(b+=12);var d=Math.min(GTb(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()),JTb(this,a.getDate()))};
g.toIsoString=function(a){var b=this.getFullYear(),c=0>b?"-":1E4<=b?"+":"";return[c+wu(Math.abs(b),c?6:4),wu(this.getMonth()+1,2),wu(this.getDate(),2)].join(a?"-":"")};g.equals=function(a){return!(!a||this.getYear()!=a.getYear()||this.getMonth()!=a.getMonth()||this.getDate()!=a.getDate())};g.toString=function(){return this.toIsoString()};var JTb=function(a,b){a.getDate()!=b&&(b=a.getDate()<b?1:-1,a.date.setUTCHours(a.date.getUTCHours()+b))};ei.prototype.valueOf=function(){return this.date.valueOf()};
var Cn=function(a,b,c,d,e,f,h){this.date="number"===typeof a?new Date(a,b||0,c||1,d||0,e||0,f||0,h||0):new Date(a&&a.getTime?a.getTime():Date.now())};At(Cn,ei);g=Cn.prototype;g.getHours=function(){return this.date.getHours()};g.getMinutes=function(){return this.date.getMinutes()};g.getSeconds=function(){return this.date.getSeconds()};g.getMilliseconds=function(){return this.date.getMilliseconds()};g.getUTCDay=function(){return this.date.getUTCDay()};g.getUTCHours=function(){return this.date.getUTCHours()};
g.getUTCMinutes=function(){return this.date.getUTCMinutes()};g.getUTCSeconds=function(){return this.date.getUTCSeconds()};g.getUTCMilliseconds=function(){return this.date.getUTCMilliseconds()};g.setHours=function(a){this.date.setHours(a)};g.setMinutes=function(a){this.date.setMinutes(a)};g.setSeconds=function(a){this.date.setSeconds(a)};g.setMilliseconds=function(a){this.date.setMilliseconds(a)};g.setUTCHours=function(a){this.date.setUTCHours(a)};g.setUTCMinutes=function(a){this.date.setUTCMinutes(a)};
g.setUTCSeconds=function(a){this.date.setUTCSeconds(a)};g.setUTCMilliseconds=function(a){this.date.setUTCMilliseconds(a)};g.add=function(a){ei.prototype.add.call(this,a);a.hours&&this.setUTCHours(this.date.getUTCHours()+a.hours);a.minutes&&this.setUTCMinutes(this.date.getUTCMinutes()+a.minutes);a.seconds&&this.setUTCSeconds(this.date.getUTCSeconds()+a.seconds)};
g.toIsoString=function(a){var b=ei.prototype.toIsoString.call(this,a);return a?b+"T"+wu(this.getHours(),2)+":"+wu(this.getMinutes(),2)+":"+wu(this.getSeconds(),2):b+"T"+wu(this.getHours(),2)+wu(this.getMinutes(),2)+wu(this.getSeconds(),2)};g.equals=function(a){return this.getTime()==a.getTime()};g.toString=function(){return this.toIsoString()};g.clone=function(){var a=new Cn(this.date);a.firstDayOfWeek_=this.getFirstDayOfWeek();a.firstWeekCutOffDay_=this.firstWeekCutOffDay_;return a};var KTb=function(){},Wh=function(a){if("number"==typeof a){var b=new KTb;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(":",wu(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=LTb(a);b.tzNames_=[c,c];b.tzNamesExt_={STD_LONG_NAME_GMT:a,STD_GENERIC_LOCATION:a};b.transitions_=[];return b}b=new KTb;
b.timeZoneId_=a.id;b.standardOffset_=-a.std_offset;b.tzNames_=a.names;b.tzNamesExt_=a.names_ext;b.transitions_=a.transitions;return b},LTb=function(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(wu(Math.floor(a/60)%100,2),":",wu(a%60,2));return b.join("")},MTb=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]};
KTb.prototype.getOffset=function(a){a=this.standardOffset_-MTb(this,a);return-1440===a?0:a};var aA=function(a){this.patternParts_=[];this.dateTimeSymbols_=Zz;"number"==typeof a?this.applyStandardPattern_(a):this.applyPattern_(a)},NTb=[/^'(?:[^']|'')*('|$)/,/^(?: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]+/],bA=function(a){return a.getHours?a.getHours():0};
aA.prototype.applyPattern_=function(a){for(OTb&&(a=a.replace(/\u200f/g,""));a;){for(var b=a,c=0;c<NTb.length;++c){var d=a.match(NTb[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("eb`"+a);}};
aA.prototype.format=function(a,b){if(!a)throw Error("fb");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 f=0;f<this.patternParts_.length;++f){var h=this.patternParts_[f].text;1==this.patternParts_[f].type?c.push(PTb(this,h,a,d,e,b)):c.push(h)}return c.join("")};
aA.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 if(13===a)b=this.dateTimeSymbols_.DATEFORMATS[2].replace(/[^EMd]*yy*[^EMd]*/,"");else{this.applyStandardPattern_(10);
return}this.applyPattern_(b)};
var cA=function(a,b){return QTb(b,a.dateTimeSymbols_)},OTb=!1,QTb=function(a,b){a=String(a);b=b||Zz;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("")},dA=function(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("gb");},RTb=function(a,b){dA(b);b=bA(b);return a.dateTimeSymbols_.AMPMS[12<=b&&24>b?1:0]},PTb=function(a,b,c,d,e,f){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),cA(a,wu(c,h));case "Y":return c=d.getMonth(),e=d.getDate(),c=HTb(d.getFullYear(),c,e,a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),c=(new Date(c)).getFullYear(),0>c&&(c=-c),2==h&&(c%=100),cA(a,wu(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=cA(a,wu(c+1,h))}return h;case "k":return dA(e),c=bA(e)||24,cA(a,wu(c,h));case "S":return cA(a,(e.getMilliseconds()/1E3).toFixed(Math.min(3,h)).slice(2)+(3<h?wu(0,h-3):""));case "E":return c=d.getDay(),4<=h?a.dateTimeSymbols_.WEEKDAYS[c]:a.dateTimeSymbols_.SHORTWEEKDAYS[c];case "a":return RTb(a,e);case "b":return RTb(a,e);case "B":return RTb(a,e);case "h":return dA(e),c=bA(e)%12||12,cA(a,wu(c,h));case "K":return dA(e),c=bA(e)%12,
cA(a,wu(c,h));case "H":return dA(e),c=bA(e),cA(a,wu(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=cA(a,wu(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=cA(a,wu(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 cA(a,wu(d.getDate(),h));case "m":return dA(e),cA(a,wu(e.getMinutes?e.getMinutes():0,h));case "s":return dA(e),cA(a,wu(e.getSeconds(),h));case "v":return(f||Wh(c.getTimezoneOffset())).timeZoneId_;case "V":return a=f||Wh(c.getTimezoneOffset()),2>=h?a.timeZoneId_:0<MTb(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=HTb(e.getFullYear(),c,d,a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),cA(a,wu(Math.floor(Math.round((c-(new Date((new Date(c)).getFullYear(),0,1)).valueOf())/864E5)/7)+1,h));case "z":return a=f||Wh(c.getTimezoneOffset()),4>h?a.tzNames_[0<MTb(a,c)?2:0]:a.tzNames_[0<MTb(a,c)?3:1];
case "Z":return d=f||Wh(c.getTimezoneOffset()),4>h?(h=-d.getOffset(c),a=[0>h?"-":"+"],h=Math.abs(h),a.push(wu(Math.floor(h/60)%100,2),wu(h%60,2)),h=a.join("")):h=cA(a,LTb(d.getOffset(c))),h;default:return""}};var STb=["mat-button",""],TTb=["*"],UTb=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"},
VTb="mat-button mat-flat-button mat-icon-button mat-raised-button mat-stroked-button mat-mini-fab mat-fab".split(" "),WTb=Hh(Jh(Ih(function(a){this._elementRef=a}))),eA=function(a,b,c){var d=WTb.call(this,a)||this;d._focusMonitor=b;d._animationMode=c;d.isRoundButton=d._hasHostAttributes("mat-fab","mat-mini-fab");d.isIconButton=d._hasHostAttributes("mat-icon-button");for(var e=l(VTb),f=e.next();!f.done;f=e.next())f=f.value,d._hasHostAttributes(f)&&d._getHostElement().classList.add(f);a.nativeElement.classList.add("mat-button-base");
d.isRoundButton&&(d.color="accent");return d};Y(eA,WTb);g=eA.prototype;g.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};g.focus=function(a,b){a?Zw(this._focusMonitor,this._getHostElement(),a,b):this._getHostElement().focus(b)};g._getHostElement=function(){return this._elementRef.nativeElement};g._isRippleDisabled=function(){return this.disableRipple||this.disabled};
g._hasHostAttributes=function(){var a=this;return $c.apply(0,arguments).some(function(b){return a._getHostElement().hasAttribute(b)})};eA.\u0275fac=function(a){return new (a||eA)(B(Hd),B(Yw),B(Du,8))};
eA.\u0275cmp=r({type:eA,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&&og(sz,5);if(a&2){var c;ng(c=qg())&&(b.ripple=c.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:6,hostBindings:function(a,b){a&2&&(Af("disabled",b.disabled||null)("mat-id-collision",null),Jf("_mat-animation-noopable","NoopAnimations"===
b._animationMode)("mat-button-disabled",b.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[yf],attrs:STb,ngContentSelectors:TTb,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&&(Vf(),H(0,"span",0),Wf(1),K(),L(2,"span",1)(3,"span",2));a&2&&(A(2),Jf("mat-button-ripple-round",
b.isRoundButton||b.isIconButton),G("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",b.isIconButton)("matRippleTrigger",b._getHostElement()))},dependencies:[sz],styles:[UTb()],encapsulation:2,changeDetection:0});var fA=function(a,b,c,d){var e=eA.call(this,b,a,c)||this;e._ngZone=d;e._haltDisabledEvents=function(f){e.disabled&&(f.preventDefault(),f.stopImmediatePropagation())};return e};Y(fA,eA);
fA.prototype.ngAfterViewInit=function(){var a=this;eA.prototype.ngAfterViewInit.call(this);this._ngZone?this._ngZone.runOutsideAngular(function(){a._elementRef.nativeElement.addEventListener("click",a._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)};fA.prototype.ngOnDestroy=function(){eA.prototype.ngOnDestroy.call(this);this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)};
fA.\u0275fac=function(a){return new (a||fA)(B(Yw),B(Hd),B(Du,8),B(ef,8))};
fA.\u0275cmp=r({type:fA,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:8,hostBindings:function(a,b){a&2&&(Af("tabindex",b.disabled?-1:b.tabIndex)("disabled",b.disabled||null)("aria-disabled",b.disabled.toString())("mat-id-collision",null),Jf("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-button-disabled",
b.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[yf],attrs:STb,ngContentSelectors:TTb,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&&(Vf(),H(0,"span",0),Wf(1),K(),L(2,"span",1)(3,"span",2));a&2&&(A(2),Jf("mat-button-ripple-round",b.isRoundButton||
b.isIconButton),G("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",b.isIconButton)("matRippleTrigger",b._getHostElement()))},dependencies:[sz],styles:[UTb()],encapsulation:2,changeDetection:0});Jh(function(){});var XTb=["text"],YTb=0,ZTb=function(a,b){this.source=a;this.isUserInput=void 0===b?!1:b},gA=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-"+YTb++;this.onSelectionChange=new mv;this._stateChanges=new E.Subject};g=gA.prototype;g.select=function(a){a=void 0===a?!0:a;this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),a&&this._emitSelectionChangeEvent())};
g.deselect=function(a){a=void 0===a?!0:a;this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),a&&this._emitSelectionChangeEvent())};g.focus=function(a,b){var c=this._getHostElement();"function"===typeof c.focus&&c.focus(b)};g.setActiveStyles=function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())};g.setInactiveStyles=function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())};g.getLabel=function(){return this.viewValue};
g._handleKeydown=function(a){13!==a.keyCode&&32!==a.keyCode||Mg(a)||(this._selectViaInteraction(),a.preventDefault())};g._selectViaInteraction=function(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))};g._getTabIndex=function(){return this.disabled?"-1":"0"};g._getHostElement=function(){return this._element.nativeElement};
g.ngAfterViewChecked=function(){if(this._selected){var a=this.viewValue;a!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=a)}};g.ngOnDestroy=function(){this._stateChanges.complete()};g._emitSelectionChangeEvent=function(a){this.onSelectionChange.emit(new ZTb(this,void 0===a?!1:a))};
Gh.Object.defineProperties(gA.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=Sg(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()}}});gA.\u0275fac=function(){Od()};
gA.\u0275dir=Vc({type:gA,viewQuery:function(a,b){a&1&&og(XTb,7);if(a&2){var c;ng(c=qg())&&(b._text=c.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}});Og({passive:!0,capture:!0});Og({passive:!0,capture:!0});new Hv;var hA=function(a,b,c,d){return gA.call(this,a,b,c,d)||this};Y(hA,gA);hA.\u0275fac=function(a){return new (a||hA)(B(Hd),B(Fu),B(LSb,8),B(MSb,8))};
hA.\u0275cmp=r({type:hA,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:13,hostBindings:function(a,b){a&1&&Q("click",function(){return b._selectViaInteraction()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(Sf("id",b.id),Af("tabindex",b._getTabIndex())("aria-selected",b.selected)("aria-disabled",b.disabled.toString())("mat-id-collision",null),Jf("mat-selected",b.selected)("mat-option-multiple",b.multiple)("mat-active",b.active)("mat-option-disabled",
b.disabled))},exportAs:["matOption"],features:[yf],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&&(Vf(),F(0,wqa,1,2,"mat-pseudo-checkbox",0),H(1,"span",1,2),Wf(3),K(),
F(4,xqa,2,1,"span",3),L(5,"div",4));a&2&&(G("ngIf",b.multiple),A(4),G("ngIf",b.group&&b.group._inert),A(1),G("matRippleTrigger",b._getHostElement())("matRippleDisabled",b.disabled||b.disableRipple))},dependencies:[sz,Uv,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 iA=function(){};iA.\u0275fac=function(a){return new (a||iA)};iA.\u0275mod=Tc({type:iA});iA.\u0275inj=Ec({imports:[uz,hw,jz,vz]});var $Tb={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},aUb=ih("dialogContainer",[lh("void, exit",kh({opacity:0,transform:"scale(0.7)"})),lh("enter",kh({transform:"none"})),nh("* => enter",Poa([jh("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",kh({transform:"none",opacity:1})),ph("@*",oh())]),$Tb),nh("* => void, * => exit",Poa([jh("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",kh({opacity:0})),ph("@*",oh())]),$Tb)]);var jA=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 kA=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 lA=function(a,b,c,d,e,f,h,k){this._isDisposed=!1;this._elementRef=a;this._focusTrapFactory=b;this._config=d;this._interactivityChecker=e;this._ngZone=f;this._overlayRef=h;this._focusMonitor=k;this._closeInteractionType=this._elementFocusedBeforeDialogWasOpened=null;this._ariaLabelledByQueue=[];this._document=c;this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)};Y(lA,jy);g=lA.prototype;
g._contentAttached=function(){this._initializeFocusTrap();this._handleBackdropClicks();this._captureInitialFocus()};g._captureInitialFocus=function(){this._trapFocus()};g.ngOnDestroy=function(){this._restoreFocus()};g.attachComponentPortal=function(a){a=this._portalOutlet.attachComponentPortal(a);this._contentAttached();return a};g.attachTemplatePortal=function(a){a=this._portalOutlet.attachTemplatePortal(a);this._contentAttached();return a};g._recaptureFocus=function(){this._containsFocus()||this._trapFocus()};
g._forceFocus=function(a,b){this._interactivityChecker.isFocusable(a)||(a.tabIndex=-1,this._ngZone.runOutsideAngular(function(){var c=function(){a.removeEventListener("blur",c);a.removeEventListener("mousedown",c);a.removeAttribute("tabindex")};a.addEventListener("blur",c);a.addEventListener("mousedown",c)}));a.focus(b)};g._focusByCssSelector=function(a,b){(a=this._elementRef.nativeElement.querySelector(a))&&this._forceFocus(a,b)};
g._trapFocus=function(){var a=this,b=this._elementRef.nativeElement;switch(this._config.autoFocus){case !1:case "dialog":this._containsFocus()||b.focus();break;case !0:case "first-tabbable":dQb(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)}};
g._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=Qg();var c=this._elementRef.nativeElement;if(!a||a===this._document.body||a===c||c.contains(a))this._focusMonitor?(Zw(this._focusMonitor,b,this._closeInteractionType),this._closeInteractionType=null):b.focus()}this._focusTrap&&this._focusTrap.destroy()};
g._focusDialogContainer=function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()};g._containsFocus=function(){var a=this._elementRef.nativeElement,b=Qg();return a===b||a.contains(b)};g._initializeFocusTrap=function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement);this._document&&(this._elementFocusedBeforeDialogWasOpened=Qg())};
g._handleBackdropClicks=function(){var a=this;this._overlayRef.backdropClick().subscribe(function(){a._config.disableClose&&a._recaptureFocus()})};lA.\u0275fac=function(a){return new (a||lA)(B(Hd),B(ex),B(Xg,8),B(kA),B(ax),B(ef),B(Xx),B(Yw))};
lA.\u0275cmp=r({type:lA,selectors:[["cdk-dialog-container"]],viewQuery:function(a,b){a&1&&og(my,7);if(a&2){var c;ng(c=qg())&&(b._portalOutlet=c.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(a,b){a&2&&Af("id",b._config.id||null)("role",b._config.role)("aria-modal",b._config.ariaModal)("aria-labelledby",b._config.ariaLabel?null:b._ariaLabelledByQueue[0])("aria-label",b._config.ariaLabel)("aria-describedby",b._config.ariaDescribedBy||null)},standalone:!0,
features:[yf,dg],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(a){a&1&&F(0,yqa,0,0,"ng-template",0)},dependencies:[ny,my],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}\n"],encapsulation:2});var bUb=new bd("DialogScrollStrategy",{providedIn:"root",factory:function(){var a=Nc(oy);return function(){return a.scrollStrategies.block()}}}),cUb=new bd("DialogData"),dUb=new bd("DefaultDialogConfig");var eUb=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||Mg(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()})};g=eUb.prototype;g.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}};g.updatePosition=function(){this.overlayRef.updatePosition()};
g.updateSize=function(a,b){this.overlayRef.updateSize({width:void 0===a?"":a,height:void 0===b?"":b})};g.addPanelClass=function(a){this.overlayRef.addPanelClass(a)};g.removePanelClass=function(a){this.overlayRef.removePanelClass(a)};var fUb=0,mA=function(a,b,c,d,e,f){var h=this;this._overlay=a;this._injector=b;this._defaultOptions=c;this._parentDialog=d;this._overlayContainer=e;this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=new 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=f};g=mA.prototype;
g.open=function(a,b){var c=this;b=Object.assign({},this._defaultOptions||new kA,b);b.id=b.id||"cdk-dialog-"+fUb++;b.id&&this.getDialogById(b.id);var d=this._getOverlayConfig(b);d=this._overlay.create(d);var e=new eUb(d,b);d=this._attachContainer(d,e,b);e.containerInstance=d;this._attachDialogContent(a,e,d,b);this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology();this.openDialogs.push(e);e.closed.subscribe(function(){return c._removeOpenDialog(e,!0)});this.afterOpened.next(e);
return e};g.closeAll=function(){zqa(this.openDialogs,function(a){return a.close()})};g.getDialogById=function(a){this.openDialogs.find(function(b){return b.id===a})};g.ngOnDestroy=function(){var a=this;zqa(this._openDialogsAtThisLevel,function(b){!1===b.config.closeOnDestroy&&a._removeOpenDialog(b,!1)});zqa(this._openDialogsAtThisLevel,function(b){return b.close()});this._afterAllClosedAtThisLevel.complete();this._afterOpenedAtThisLevel.complete();this._openDialogsAtThisLevel=[]};
g._getOverlayConfig=function(a){var b=new Wx({positionStrategy:a.positionStrategy||dy(cy(this._overlay.position().global())),scrollStrategy:a.scrollStrategy||this._scrollStrategy(),panelClass:a.panelClass,hasBackdrop:a.hasBackdrop,direction:a.direction,minWidth:a.minWidth,minHeight:a.minHeight,maxWidth:a.maxWidth,maxHeight:a.maxHeight,width:a.width,height:a.height,disposeOnNavigation:a.closeOnNavigation});a.backdropClass&&(b.backdropClass=a.backdropClass);return b};
g._attachContainer=function(a,b,c){var d,e=c.injector||(null==(d=c.viewContainerRef)?void 0:d.injector);b=[{provide:kA,useValue:c},{provide:eUb,useValue:b},{provide:Xx,useValue:a}];c.container?"function"===typeof c.container?d=c.container:(d=c.container.type,b.push.apply(b,u(c.container.providers(c)))):d=lA;c=new hy(d,c.viewContainerRef,qf({parent:e||this._injector,providers:b}),c.componentFactoryResolver);return a.attach(c).instance};
g._attachDialogContent=function(a,b,c,d){if(a instanceof kg){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 iy(a,null,b,e))}else e=this._createInjector(d,b,c,this._injector),a=c.attachComponentPortal(new hy(a,d.viewContainerRef,e,d.componentFactoryResolver)),b.componentRef=a,b.componentInstance=a.instance};
g._createInjector=function(a,b,c,d){var e,f=a.injector||(null==(e=a.viewContainerRef)?void 0:e.injector);e=[{provide:cUb,useValue:a.data},{provide:eUb,useValue:b}];a.providers&&("function"===typeof a.providers?e.push.apply(e,u(a.providers(b,a,c))):e.push.apply(e,u(a.providers)));!a.direction||f&&f.get(Nx,null,{optional:!0})||e.push({provide:Nx,useValue:{value:a.direction,change:(0,E.of)()}});return qf({parent:f||d,providers:e})};
g._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()))};
g._hideNonDialogContentFromAssistiveTechnology=function(){var a=sQb(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"))}};g._getAfterAllClosed=function(){var a=this._parentDialog;return a?a._getAfterAllClosed():this._afterAllClosedAtThisLevel};
Gh.Object.defineProperties(mA.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}}});mA.\u0275fac=function(a){return new (a||mA)(p(oy),p(ff),p(dUb,8),p(mA,12),p(Hx),p(bUb))};mA.\u0275prov=Dc({token:mA,factory:mA.\u0275fac,providedIn:"root"});var nA=function(){};nA.\u0275fac=function(a){return new (a||nA)};nA.\u0275mod=Tc({type:nA});nA.\u0275inj=Ec({providers:[mA],imports:[ry,ny,px,lA,ny]});var oA=function(a,b,c,d,e,f,h,k){lA.call(this,a,b,c,d,e,f,h,k);this._animationStateChanged=new mv};Y(oA,lA);oA.prototype._captureInitialFocus=function(){this._config.delayFocusTrap||this._trapFocus()};oA.prototype._openAnimationDone=function(a){this._config.delayFocusTrap&&this._trapFocus();this._animationStateChanged.next({state:"opened",totalTime:a})};oA.\u0275fac=function(a){return new (a||oA)(B(Hd),B(ex),B(Xg,8),B(jA),B(ax),B(ef),B(Xx),B(Yw))};
oA.\u0275cmp=r({type:oA,selectors:[["ng-component"]],features:[yf],decls:0,vars:0,template:function(){},encapsulation:2});var gUb=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(He(function(e){return"opened"===e.state}),Qe()).subscribe(function(){d._afterOpened.next();d._afterOpened.complete()});c._animationStateChanged.pipe(He(function(e){return"closed"===e.state}),Qe()).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(He(function(e){return 27===e.keyCode&&!d.disableClose&&!Mg(e)}))).subscribe(function(e){d.disableClose||(e.preventDefault(),d._closeInteractionType="keydown"===e.type?"keyboard":"mouse",d.close(void 0))})};g=gUb.prototype;
g.close=function(a){var b=this;this._result=a;this._containerInstance._animationStateChanged.pipe(He(function(c){return"closing"===c.state}),Qe()).subscribe(function(c){b._beforeClosed.next(a);b._beforeClosed.complete();AQb(b._ref.overlayRef);b._closeFallbackTimeout=setTimeout(function(){return b._finishDialogClose()},c.totalTime+100)});this._state=1;this._containerInstance._startExitAnimation()};g.afterOpened=function(){return this._afterOpened};g.afterClosed=function(){return this._ref.closed};
g.backdropClick=function(){return this._ref.backdropClick};g.keydownEvents=function(){return this._ref.keydownEvents};g.updatePosition=function(a){var b=this._ref.config.positionStrategy;a&&(a.left||a.right)?a.left?b.left(a.left):b.right(a.right):cy(b);a&&(a.top||a.bottom)?a.top?b.top(a.top):b.bottom(a.bottom):dy(b);this._ref.updatePosition()};g.updateSize=function(a,b){this._ref.updateSize(void 0===a?"":a,void 0===b?"":b)};g.addPanelClass=function(a){this._ref.addPanelClass(a)};
g.removePanelClass=function(a){this._ref.removePanelClass(a)};g.getState=function(){return this._state};g._finishDialogClose=function(){this._state=2;this._ref.close(this._result,{focusOrigin:this._closeInteractionType});this.componentInstance=null};var hUb=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 pA=function(a,b,c,d,e,f,h,k,q){lA.call(this,a,b,c,d,e,f,h,q);var t=this;this._animationMode=k;this._animationStateChanged=new mv;this._animationsEnabled="NoopAnimations"!==this._animationMode;this._hostElement=this._elementRef.nativeElement;var w;this._enterAnimationDuration=this._animationsEnabled?null!=(w=Bqa(this._config.enterAnimationDuration))?w:150:0;var y;this._exitAnimationDuration=this._animationsEnabled?null!=(y=Bqa(this._config.exitAnimationDuration))?y:75:0;this._animationTimer=null;
this._finishDialogOpen=function(){t._clearAnimationClasses();t._openAnimationDone(t._enterAnimationDuration)};this._finishDialogClose=function(){t._clearAnimationClasses();t._animationStateChanged.emit({state:"closed",totalTime:t._exitAnimationDuration})}};Y(pA,lA);g=pA.prototype;g._contentAttached=function(){lA.prototype._contentAttached.call(this);this._startOpenAnimation()};
g._startOpenAnimation=function(){var a=this;this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration});this._animationsEnabled?(this._hostElement.style.setProperty("--mat-dialog-transition-duration",this._enterAnimationDuration+"ms"),this._requestAnimationFrame(function(){return a._hostElement.classList.add("mdc-dialog--opening","mdc-dialog--open")}),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add("mdc-dialog--open"),
Promise.resolve().then(function(){return a._finishDialogOpen()}))};
g._startExitAnimation=function(){var a=this;this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration});this._hostElement.classList.remove("mdc-dialog--open");this._animationsEnabled?(this._hostElement.style.setProperty("--mat-dialog-transition-duration",this._exitAnimationDuration+"ms"),this._requestAnimationFrame(function(){return a._hostElement.classList.add("mdc-dialog--closing")}),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):
Promise.resolve().then(function(){return a._finishDialogClose()})};g._clearAnimationClasses=function(){this._hostElement.classList.remove("mdc-dialog--opening","mdc-dialog--closing")};g._waitForAnimationToComplete=function(a,b){null!==this._animationTimer&&clearTimeout(this._animationTimer);this._animationTimer=setTimeout(b,a)};g._requestAnimationFrame=function(a){this._ngZone.runOutsideAngular(function(){"function"===typeof requestAnimationFrame?requestAnimationFrame(a):a()})};
g._captureInitialFocus=function(){this._config.delayFocusTrap||this._trapFocus()};g._openAnimationDone=function(a){this._config.delayFocusTrap&&this._trapFocus();this._animationStateChanged.next({state:"opened",totalTime:a})};g.ngOnDestroy=function(){lA.prototype.ngOnDestroy.call(this);null!==this._animationTimer&&clearTimeout(this._animationTimer)};
g.attachComponentPortal=function(a){a=lA.prototype.attachComponentPortal.call(this,a);a.location.nativeElement.classList.add("mat-mdc-dialog-component-host");return a};pA.\u0275fac=function(a){return new (a||pA)(B(Hd),B(ex),B(Xg,8),B(hUb),B(ax),B(ef),B(Xx),B(Du,8),B(Yw))};
pA.\u0275cmp=r({type:pA,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(a,b){a&2&&(Sf("id",b._config.id),Af("aria-modal",b._config.ariaModal)("role",b._config.role)("aria-labelledby",b._config.ariaLabel?null:b._ariaLabelledByQueue[0])("aria-label",b._config.ariaLabel)("aria-describedby",b._config.ariaDescribedBy||null),Jf("_mat-animation-noopable",!b._animationsEnabled))},standalone:!0,features:[yf,dg],decls:3,
vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(a){a&1&&(H(0,"div",0)(1,"div",1),F(2,Aqa,0,0,"ng-template",2),K()())},dependencies:[ny,my],styles:['.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0;transform:scale(0.8)}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--closing .mdc-dialog__surface{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{opacity:1}.mdc-dialog--open .mdc-dialog__surface{transform:none}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{width:100%;height:100%}.mat-mdc-dialog-component-host{display:contents}.mat-mdc-dialog-container{--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n'],
encapsulation:2});var iUb=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(He(function(e){return"opened"===e.state}),Qe()).subscribe(function(){d._afterOpened.next();d._afterOpened.complete()});c._animationStateChanged.pipe(He(function(e){return"closed"===e.state}),Qe()).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(He(function(e){return 27===e.keyCode&&!d.disableClose&&!Mg(e)}))).subscribe(function(e){d.disableClose||(e.preventDefault(),d._closeInteractionType="keydown"===e.type?"keyboard":"mouse",d.close(void 0))})};g=iUb.prototype;
g.close=function(a){var b=this;this._result=a;this._containerInstance._animationStateChanged.pipe(He(function(c){return"closing"===c.state}),Qe()).subscribe(function(c){b._beforeClosed.next(a);b._beforeClosed.complete();AQb(b._ref.overlayRef);b._closeFallbackTimeout=setTimeout(function(){return b._finishDialogClose()},c.totalTime+100)});this._state=1;this._containerInstance._startExitAnimation()};g.afterOpened=function(){return this._afterOpened};g.afterClosed=function(){return this._ref.closed};
g.backdropClick=function(){return this._ref.backdropClick};g.keydownEvents=function(){return this._ref.keydownEvents};g.updatePosition=function(a){var b=this._ref.config.positionStrategy;a&&(a.left||a.right)?a.left?b.left(a.left):b.right(a.right):cy(b);a&&(a.top||a.bottom)?a.top?b.top(a.top):b.bottom(a.bottom):dy(b);this._ref.updatePosition()};g.updateSize=function(a,b){this._ref.updateSize(void 0===a?"":a,void 0===b?"":b)};g.addPanelClass=function(a){this._ref.addPanelClass(a)};
g.removePanelClass=function(a){this._ref.removePanelClass(a)};g.getState=function(){return this._state};g._finishDialogClose=function(){this._state=2;this._ref.close(this._result,{focusOrigin:this._closeInteractionType});this.componentInstance=null};var jUb=new bd("MatMdcDialogData"),kUb=new bd("mat-mdc-dialog-default-options"),lUb=new bd("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:function(){var a=Nc(oy);return function(){return a.scrollStrategies.block()}}}),mUb=0,qA=function(a,b,c,d,e,f){var h=this;this._overlay=a;this._defaultOptions=d;this._scrollStrategy=e;this._parentDialog=f;this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=new E.Subject;this._afterOpenedAtThisLevel=new E.Subject;this.dialogConfigClass=hUb;
(0,E.defer)(function(){return h.openDialogs.length?h._getAfterAllClosed():h._getAfterAllClosed().pipe($e(void 0))});this._dialog=b.get(mA);this._dialogRefConstructor=iUb;this._dialogContainerType=pA;this._dialogDataToken=jUb};g=qA.prototype;g._getAfterAllClosed=function(){var a=this._parentDialog;return a?a._getAfterAllClosed():this._afterAllClosedAtThisLevel};
g.open=function(a,b){var c=this,d;b=Object.assign({},this._defaultOptions||new hUb,b);b.id=b.id||"mat-mdc-dialog-"+mUb++;b.scrollStrategy=b.scrollStrategy||this._scrollStrategy();a=this._dialog.open(a,Object.assign({},b,{positionStrategy:dy(cy(this._overlay.position().global())),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:function(){return[{provide:c.dialogConfigClass,useValue:b},{provide:kA,useValue:b}]}},templateContext:function(){return{dialogRef:d}},
providers:function(e,f,h){d=new c._dialogRefConstructor(e,b,h);var k;d.updatePosition(null==(k=b)?void 0:k.position);return[{provide:c._dialogContainerType,useValue:h},{provide:c._dialogDataToken,useValue:f.data},{provide:c._dialogRefConstructor,useValue:d}]}}));d.componentRef=a.componentRef;d.componentInstance=a.componentInstance;this.openDialogs.push(d);this.afterOpened.next(d);d.afterClosed().subscribe(function(){var e=c.openDialogs.indexOf(d);-1<e&&(c.openDialogs.splice(e,1),c.openDialogs.length||
c._getAfterAllClosed().next())});return d};g.closeAll=function(){this._closeDialogs(this.openDialogs)};g.getDialogById=function(a){this.openDialogs.find(function(b){return b.id===a})};g.ngOnDestroy=function(){this._closeDialogs(this._openDialogsAtThisLevel);this._afterAllClosedAtThisLevel.complete();this._afterOpenedAtThisLevel.complete()};g._closeDialogs=function(a){for(var b=a.length;b--;)a[b].close()};
Gh.Object.defineProperties(qA.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}}});qA.\u0275fac=function(a){return new (a||qA)(p(oy),p(ff),p(pw,8),p(kUb,8),p(lUb),p(qA,12),p(Hx),p(Du,8))};qA.\u0275prov=Dc({token:qA,factory:qA.\u0275fac,providedIn:"root"});var nUb=0,rA=function(a,b,c,d,e,f,h,k,q){var t=this;this._overlay=a;this._defaultOptions=c;this._parentDialog=d;this._dialogRefConstructor=h;this._dialogContainerType=k;this._dialogDataToken=q;this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=new E.Subject;this._afterOpenedAtThisLevel=new E.Subject;this._idPrefix="mat-dialog-";this.dialogConfigClass=jA;(0,E.defer)(function(){return t.openDialogs.length?t._getAfterAllClosed():t._getAfterAllClosed().pipe($e(void 0))});this._scrollStrategy=
f;this._dialog=b.get(mA)};g=rA.prototype;g._getAfterAllClosed=function(){var a=this._parentDialog;return a?a._getAfterAllClosed():this._afterAllClosedAtThisLevel};
g.open=function(a,b){var c=this,d;b=Object.assign({},this._defaultOptions||new jA,b);b.id=b.id||"mat-dialog-"+nUb++;b.scrollStrategy=b.scrollStrategy||this._scrollStrategy();a=this._dialog.open(a,Object.assign({},b,{positionStrategy:dy(cy(this._overlay.position().global())),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:function(){return[{provide:c.dialogConfigClass,useValue:b},{provide:kA,useValue:b}]}},templateContext:function(){return{dialogRef:d}},
providers:function(e,f,h){d=new c._dialogRefConstructor(e,b,h);var k;d.updatePosition(null==(k=b)?void 0:k.position);return[{provide:c._dialogContainerType,useValue:h},{provide:c._dialogDataToken,useValue:f.data},{provide:c._dialogRefConstructor,useValue:d}]}}));d.componentRef=a.componentRef;d.componentInstance=a.componentInstance;this.openDialogs.push(d);this.afterOpened.next(d);d.afterClosed().subscribe(function(){var e=c.openDialogs.indexOf(d);-1<e&&(c.openDialogs.splice(e,1),c.openDialogs.length||
c._getAfterAllClosed().next())});return d};g.closeAll=function(){this._closeDialogs(this.openDialogs)};g.getDialogById=function(a){this.openDialogs.find(function(b){return b.id===a})};g.ngOnDestroy=function(){this._closeDialogs(this._openDialogsAtThisLevel);this._afterAllClosedAtThisLevel.complete();this._afterOpenedAtThisLevel.complete()};g._closeDialogs=function(a){for(var b=a.length;b--;)a[b].close()};
Gh.Object.defineProperties(rA.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}}});rA.\u0275fac=function(){Od()};rA.\u0275prov=Dc({token:rA,factory:rA.\u0275fac});var sA=function(){gUb.apply(this,arguments)};Y(sA,gUb);var oUb=function(){jA.apply(this,arguments);this.enterAnimationDuration=$Tb.params.enterAnimationDuration;this.exitAnimationDuration=$Tb.params.exitAnimationDuration};Y(oUb,jA);var tA=function(a,b,c,d,e,f,h,k,q){oA.call(this,a,b,c,d,e,f,h,q);this._changeDetectorRef=k;this._state="enter"};Y(tA,oA);tA.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})};
tA.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})};tA.prototype._startExitAnimation=function(){this._state="exit";this._changeDetectorRef.markForCheck()};
tA.prototype._getAnimationState=function(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||"150ms",exitAnimationDuration:this._config.exitAnimationDuration||"75ms"}}};tA.\u0275fac=function(a){return new (a||tA)(B(Hd),B(ex),B(Xg,8),B(oUb),B(ax),B(ef),B(Xx),B(Fu),B(Yw))};
tA.\u0275cmp=r({type:tA,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:8,hostBindings:function(a,b){a&1&&Uf("@dialogContainer.start",function(c){return b._onAnimationStart(c)})("@dialogContainer.done",function(c){return b._onAnimationDone(c)});a&2&&(Sf("id",b._config.id),Af("aria-modal",b._config.ariaModal)("role",b._config.role)("aria-labelledby",b._config.ariaLabel?null:b._ariaLabelledByQueue[0])("aria-label",b._config.ariaLabel)("aria-describedby",
b._config.ariaDescribedBy||null)("mat-id-collision",null),Tf("@dialogContainer",b._getAnimationState()))},features:[yf],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(a){a&1&&F(0,Cqa,0,0,"ng-template",0)},dependencies:[my],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:[aUb]}});var uA=new bd("MatDialogData"),pUb=new bd("mat-dialog-default-options"),qUb=new bd("mat-dialog-scroll-strategy"),rUb={provide:qUb,deps:[oy],useFactory:function(a){return function(){return a.scrollStrategies.block()}}},vA=function(a,b,c,d,e,f,h,k){rA.call(this,a,b,d,f,h,e,sA,tA,uA,k);this.dialogConfigClass=oUb};Y(vA,rA);vA.\u0275fac=function(a){return new (a||vA)(p(oy),p(ff),p(pw,8),p(pUb,8),p(qUb),p(vA,12),p(Hx),p(Du,8))};vA.\u0275prov=Dc({token:vA,factory:vA.\u0275fac});var sUb=0,wA=function(a,b,c){this.dialogRef=a;this._elementRef=b;this._dialog=c;this.type="button"};wA.prototype.ngOnInit=function(){this.dialogRef||(this.dialogRef=Dqa(this._elementRef,this._dialog.openDialogs))};wA.prototype.ngOnChanges=function(a){if(a=a._matDialogClose||a._matDialogCloseResult)this.dialogResult=a.currentValue};wA.prototype._onButtonClick=function(a){var b=this.dialogRef,c=this.dialogResult;b._closeInteractionType=0===a.screenX&&0===a.screenY?"keyboard":"mouse";b.close(c)};
wA.\u0275fac=function(a){return new (a||wA)(B(sA,8),B(Hd),B(vA))};wA.\u0275dir=Vc({type:wA,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(a,b){a&1&&Q("click",function(c){return b._onButtonClick(c)});a&2&&Af("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:[ld]});
var xA=function(a,b,c){this._dialogRef=a;this._elementRef=b;this._dialog=c;this.id="mat-dialog-title-"+sUb++};xA.prototype.ngOnInit=function(){var a=this;this._dialogRef||(this._dialogRef=Dqa(this._elementRef,this._dialog.openDialogs));this._dialogRef&&Promise.resolve().then(function(){var b,c;null==(b=a._dialogRef._containerInstance)||null==(c=b._ariaLabelledByQueue)||c.push(a.id)})};
xA.prototype.ngOnDestroy=function(){var a=this,b,c,d=null==(b=this._dialogRef)?void 0:null==(c=b._containerInstance)?void 0:c._ariaLabelledByQueue;d&&Promise.resolve().then(function(){var e=d.indexOf(a.id);-1<e&&d.splice(e,1)})};xA.\u0275fac=function(a){return new (a||xA)(B(sA,8),B(Hd),B(vA))};xA.\u0275dir=Vc({type:xA,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(a,b){a&2&&Sf("id",b.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]});
var yA=function(){};yA.\u0275fac=function(a){return new (a||yA)};yA.\u0275dir=Vc({type:yA,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]});var zA=function(){this.align="start"};zA.\u0275fac=function(a){return new (a||zA)};
zA.\u0275dir=Vc({type:zA,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function(a,b){a&2&&Jf("mat-dialog-actions-align-center","center"===b.align)("mat-dialog-actions-align-end","end"===b.align)},inputs:{align:"align"}});var AA=function(){};AA.\u0275fac=function(a){return new (a||AA)};AA.\u0275mod=Tc({type:AA});AA.\u0275inj=Ec({providers:[vA,rUb],imports:[nA,ry,ny,jz,jz]});var tUb=Number.MAX_SAFE_INTEGER,BA=function(a,b){this.id="mat-error-"+tUb--;a||b.nativeElement.setAttribute("aria-live","polite")};BA.\u0275fac=function(a){return new (a||BA)(Bd("aria-live"),B(Hd))};BA.\u0275dir=Vc({type:BA,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(a,b){a&2&&Af("id",b.id)},inputs:{id:"id"},features:[bg([{provide:rTb,useExisting:BA}])]});var uUb=Number.MAX_SAFE_INTEGER,vUb=new bd("MatHint"),CA=function(){this.align="start";this.id="mat-hint-"+uUb--};CA.\u0275fac=function(a){return new (a||CA)};CA.\u0275dir=Vc({type:CA,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(a,b){a&2&&(Af("id",b.id)("align",null),Jf("mat-form-field-hint-end","end"===b.align))},inputs:{align:"align",id:"id"},features:[bg([{provide:vUb,useExisting:CA}])]});var DA=function(){};DA.\u0275fac=function(a){return new (a||DA)};DA.\u0275dir=Vc({type:DA,selectors:[["mat-label"]]});var EA=function(){};EA.\u0275fac=function(a){return new (a||EA)};EA.\u0275dir=Vc({type:EA,selectors:[["mat-placeholder"]]});var wUb=["connectionContainer"],xUb=["inputContainer"],yUb=["label"],zUb=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],AUb=Number.MAX_SAFE_INTEGER,BUb=Hh(function(a){this._elementRef=a},"primary"),CUb=new bd("MAT_FORM_FIELD_DEFAULT_OPTIONS"),FA=function(a,b,c,d,e,f,h){a=BUb.call(this,a)||this;a._changeDetectorRef=b;a._dir=c;a._defaults=d;a._platform=e;a._ngZone=f;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-"+AUb--;a._labelId="mat-form-field-label-"+AUb--;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};Y(FA,BUb);g=FA.prototype;
g._shouldAlwaysFloat=function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate};g._canLabelFloat=function(){return"never"!==this.floatLabel};g.getLabelId=function(){return this._hasFloatingLabel()?this._labelId:null};
g.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&&
Mh(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 Mh(a)})}):Mh(a)})};g.ngAfterContentChecked=function(){this._outlineGapCalculationNeededImmediately&&Mh(this)};g.ngAfterViewInit=function(){this._subscriptAnimationState="enter";this._changeDetectorRef.detectChanges()};g.ngOnDestroy=function(){this._destroyed.next();this._destroyed.complete()};g._shouldForward=function(a){var b=this._control?this._control.ngControl:null;return b&&b[a]};
g._hasPlaceholder=function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)};g._hasLabel=function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)};g._shouldLabelFloat=function(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())};g._hideControlPlaceholder=function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()};
g._hasFloatingLabel=function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()};g._getDisplayedMessages=function(){return this._errorChildren&&0<this._errorChildren.length&&this._control.errorState?"error":"hint"};
g._animateAndLockLabel=function(){var a=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,E.fromEvent)(this._label.nativeElement,"transitionend").pipe(Qe()).subscribe(function(){a._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())};g._validatePlaceholders=function(){};g._processHints=function(){this._syncDescribedByIds()};g._validateHints=function(){};
g._getDefaultFloatLabelState=function(){return this._defaults&&this._defaults.floatLabel||"auto"};
g._syncDescribedByIds=function(){if(this._control){var a=[];this._control.userAriaDescribedBy&&"string"===typeof this._control.userAriaDescribedBy&&a.push.apply(a,u(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,u(this._errorChildren.map(function(d){return d.id})));this._control.setDescribedByIds(a)}};g._validateControlChild=function(){};
var Mh=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,f=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 k=b=0;k<e.length;k++)b+=e[k].offsetWidth;d=Math.abs(c-d)-5;e=0<b?.75*b+10:0}for(b=0;b<f.length;b++)f[b].style.width=d+"px";for(f=0;f<h.length;f++)h[f].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"};FA.prototype._getStartEnd=function(a){return this._dir&&"rtl"===this._dir.value?a.right:a.left};FA.prototype._isAttachedToDOM=function(){var a=this._elementRef.nativeElement;if(a.getRootNode){var b=a.getRootNode();return b&&b!==a}return document.documentElement.contains(a)};
Gh.Object.defineProperties(FA.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=Sg(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}}});FA.\u0275fac=function(a){return new (a||FA)(B(Hd),B(Fu),B(Nx,8),B(CUb,8),B(Vw),B(ef),B(Du,8))};
FA.\u0275cmp=r({type:FA,selectors:[["mat-form-field"]],contentQueries:function(a,b,c){a&1&&(pg(c,Pz,5),pg(c,Pz,7),pg(c,DA,5),pg(c,DA,7),pg(c,EA,5),pg(c,rTb,5),pg(c,vUb,5),pg(c,sTb,5),pg(c,tTb,5));if(a&2){var d;ng(d=qg())&&(b._controlNonStatic=d.first);ng(d=qg())&&(b._controlStatic=d.first);ng(d=qg())&&(b._labelChildNonStatic=d.first);ng(d=qg())&&(b._labelChildStatic=d.first);ng(d=qg())&&(b._placeholderChild=d.first);ng(d=qg())&&(b._errorChildren=d);ng(d=qg())&&(b._hintChildren=d);ng(d=qg())&&(b._prefixChildren=
d);ng(d=qg())&&(b._suffixChildren=d)}},viewQuery:function(a,b){a&1&&(og(wUb,7),og(xUb,5),og(yUb,5));if(a&2){var c;ng(c=qg())&&(b._connectionContainerRef=c.first);ng(c=qg())&&(b._inputContainerRef=c.first);ng(c=qg())&&(b._label=c.first)}},hostAttrs:["ngSkipHydration","",1,"mat-form-field"],hostVars:41,hostBindings:function(a,b){a&2&&(Af("mat-id-collision",null),Jf("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:[bg([{provide:Qz,useExisting:FA}]),yf],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&&(Vf(zUb),H(0,"div",0)(1,"div",
1,2),Q("click",function(){return b._control.onContainerClick()}),F(3,Eqa,9,0,"ng-container",3)(4,Fqa,2,1,"div",4),H(5,"div",5,6),Wf(7),H(8,"span",7),F(9,Jqa,5,16,"label",8),K()(),F(10,Kqa,2,0,"div",9),K(),F(11,Lqa,2,4,"div",10),H(12,"div",11),F(13,Mqa,2,1,"div",12)(14,Oqa,5,2,"div",13),K()());a&2&&(A(3),G("ngIf","outline"==b.appearance),A(1),G("ngIf",b._prefixChildren.length),A(5),G("ngIf",b._hasFloatingLabel()),A(1),G("ngIf",b._suffixChildren.length),A(1),G("ngIf","outline"!=b.appearance),A(1),G("ngSwitch",
b._getDisplayedMessages()),A(1),G("ngSwitchCase","error"),A(1),G("ngSwitchCase","hint"))},dependencies:[Uv,Vv,Wv,mx],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:[uTb]},changeDetection:0});var GA=function(){};GA.\u0275fac=function(a){return new (a||GA)};GA.\u0275mod=Tc({type:GA});GA.\u0275inj=Ec({imports:[hw,jz,nx,jz]});var HA=function(){};HA.\u0275fac=function(a){return new (a||HA)};HA.\u0275dir=Vc({type:HA});new bd("FloatingLabelParent");var DUb="button checkbox file hidden image radio range reset submit".split(" "),EUb=Number.MAX_SAFE_INTEGER,FUb=Upa(function(a,b,c,d){this._defaultErrorStateMatcher=a;this._parentForm=b;this._parentFormGroup=c;this.ngControl=d;this.stateChanges=new E.Subject}),IA=function(a,b,c,d,e,f,h,k,q,t){var w=FUb.call(this,f,d,e,c)||this;w._elementRef=a;w._platform=b;w._autofillMonitor=k;w._formField=t;w._uid="mat-input-"+EUb--;w.focused=!1;w.stateChanges=new E.Subject;w.controlType="mat-input";w.autofilled=
!1;w._disabled=!1;w._type="text";w._readonly=!1;w._neverEmptyInputTypes="date datetime datetime-local month time week".split(" ").filter(function(C){return Lna().has(C)});w._iOSKeyupListener=function(C){C=C.target;C.value||0!==C.selectionStart||0!==C.selectionEnd||(C.setSelectionRange(1,1),C.setSelectionRange(0,0))};c=w._elementRef.nativeElement;var y=c.nodeName.toLowerCase();w._inputValueAccessor=h||c;w._previousNativeValue=w.value;w.id=w.id;b.IOS&&q.runOutsideAngular(function(){a.nativeElement.addEventListener("keyup",
w._iOSKeyupListener)});w._isServer=!w._platform.isBrowser;w._isNativeSelect="select"===y;w._isTextarea="textarea"===y;w._isInFormField=!!t;w._isNativeSelect&&(w.controlType=c.multiple?"mat-native-select-multiple":"mat-native-select");return w};Y(IA,FUb);g=IA.prototype;g.ngAfterViewInit=function(){var a=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(function(b){a.autofilled=b.isAutofilled;a.stateChanges.next()})};g.ngOnChanges=function(){this.stateChanges.next()};
g.ngOnDestroy=function(){this.stateChanges.complete();this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement);this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)};g.ngDoCheck=function(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next()));this._dirtyCheckNativeValue();this._dirtyCheckPlaceholder()};
g.focus=function(a){this._elementRef.nativeElement.focus(a)};g._focusChanged=function(a){a!==this.focused&&(this.focused=a,this.stateChanges.next())};g._onInput=function(){};g._dirtyCheckNativeValue=function(){var a=this._elementRef.nativeElement.value;this._previousNativeValue!==a&&(this._previousNativeValue=a,this.stateChanges.next())};
g._dirtyCheckPlaceholder=function(){var a=this._getPlaceholder();if(a!==this._previousPlaceholder){var b=this._elementRef.nativeElement;(this._previousPlaceholder=a)?b.setAttribute("placeholder",a):b.removeAttribute("placeholder")}};g._getPlaceholder=function(){return this.placeholder||null};g._validateType=function(){DUb.indexOf(this._type)};g._isNeverEmpty=function(){return-1<this._neverEmptyInputTypes.indexOf(this._type)};
g._isBadInput=function(){var a=this._elementRef.nativeElement.validity;return a&&a.badInput};g.setDescribedByIds=function(a){a.length?this._elementRef.nativeElement.setAttribute("aria-describedby",a.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")};g.onContainerClick=function(){this.focused||this.focus()};g._isInlineSelect=function(){var a=this._elementRef.nativeElement;return this._isNativeSelect&&(a.multiple||1<a.size)};
Gh.Object.defineProperties(IA.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=Sg(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:FPb(b))?d:!1},
set:function(a){this._required=Sg(a)}},type:{configurable:!0,enumerable:!0,get:function(){return this._type},set:function(a){this._type=a||"text";this._validateType();!this._isTextarea&&Lna().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=Sg(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}}});
IA.\u0275fac=function(a){return new (a||IA)(B(Hd),B(Vw),B(uw,10),B(Bw,8),B(Kw,8),B(oz),B(yTb,10),B(Sz),B(ef),B(Qz,8))};
IA.\u0275dir=Vc({type:IA,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&&Q("focus",function(){return b._focusChanged(!0)})("blur",function(){return b._focusChanged(!1)})("input",function(){});a&2&&(Sf("id",b.id)("disabled",b.disabled)("required",b.required),Af("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),Jf("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:[bg([{provide:HA,useExisting:IA}]),yf,ld]});var JA=function(){var a=IA.apply(this,arguments)||this;a._legacyFormField=Nc(Qz,{optional:!0});return a};Y(JA,IA);JA.prototype._getPlaceholder=function(){var a=this._legacyFormField,b;return!a||"legacy"!==a.appearance||(null==(b=a._hasLabel)?0:b.call(a))?this.placeholder:null};JA.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(JA)))(b||JA)}}();
JA.\u0275dir=Vc({type:JA,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&&(Af("data-placeholder",b.placeholder),Jf("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:[bg([{provide:Pz,useExisting:JA}]),yf]});var KA=function(){};KA.\u0275fac=function(a){return new (a||KA)};KA.\u0275mod=Tc({type:KA});KA.\u0275inj=Ec({providers:[oz],imports:[Vz,GA,jz,Vz,GA]});var Pqa;var GUb=function(a,b){this.url=a;this.svgText=null;this.options=b},LA=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},HUb=function(a,b){return a._fontCssClassesByAlias.get(b)||b},IUb=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("hb`"+d))};g=LA.prototype;g.ngOnDestroy=function(){this._resolvers=[];this._svgIconConfigs.clear();this._iconSetConfigs.clear();this._cachedIconsByUrl.clear()};
g._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)}))};
g._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(Le(function(f){f="Loading icon set URL: "+c._sanitizer.sanitize(5,e.url)+" failed: "+f.message;c._errorHandler.handleError(Error(f));return(0,E.of)(null)}))});return(0,E.forkJoin)(d).pipe(D(function(){var e=c._extractIconWithNameFromAnySet(a,b);if(!e)throw Error("hb`"+a);return e}))};
g._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};g._loadSvgIconFromConfig=function(a){var b=this;return this._fetchIcon(a).pipe(cf(function(c){return a.svgText=c}),D(function(){return b._svgElementFromConfig(a)}))};
g._loadSvgIconSetFromConfig=function(a){return a.svgText?(0,E.of)(null):this._fetchIcon(a).pipe(cf(function(b){return a.svgText=b}))};
g._extractSvgIconFromSet=function(a,b,c){a=a.querySelector('[id="'+b+'"]');if(!a)return null;a=a.cloneNode(!0);a.removeAttribute("id");if("svg"===a.nodeName.toLowerCase())return this._setSvgAttributes(a,c);if("symbol"===a.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(a),c);b=this._svgElementFromString(Rqa("<svg></svg>"));b.appendChild(a);return this._setSvgAttributes(b,c)};
g._svgElementFromString=function(a){var b=this._document.createElement("DIV");b.innerHTML=a;a=b.querySelector("svg");if(!a)throw Error("kb");return a};g._toSvgElement=function(a){for(var b=this._svgElementFromString(Rqa("<svg></svg>")),c=a.attributes,d=0;d<c.length;d++){var e=c[d],f=e.name;e=e.value;"id"!==f&&b.setAttribute(f,e)}for(c=0;c<a.childNodes.length;c++)a.childNodes[c].nodeType===this._document.ELEMENT_NODE&&b.appendChild(a.childNodes[c].cloneNode(!0));return b};
g._setSvgAttributes=function(a,b){a.setAttribute("fit","");a.setAttribute("height","100%");a.setAttribute("width","100%");a.setAttribute("preserveAspectRatio","xMidYMid meet");a.setAttribute("focusable","false");b&&b.viewBox&&a.setAttribute("viewBox",b.viewBox);return a};
g._fetchIcon=function(a){var b=this,c=a.url,d,e;a=null!=(e=null==(d=a.options)?void 0:d.withCredentials)?e:!1;if(!this._httpClient)throw Error("ib");if(null==c)throw Error("lb`"+c);var f=this._sanitizer.sanitize(5,c);if(!f)throw Error("jb`"+c);if(c=this._inProgressUrlFetches.get(f))return c;c=this._httpClient.get(f,{responseType:"text",withCredentials:a}).pipe(D(function(h){return Rqa(h)}),Se(function(){return b._inProgressUrlFetches.delete(f)}),Xe());this._inProgressUrlFetches.set(f,c);return c};
g._addSvgIconConfig=function(a,b,c){this._svgIconConfigs.set(a+":"+b,c);return this};g._addSvgIconSetConfig=function(a,b){var c=this._iconSetConfigs.get(a);c?c.push(b):this._iconSetConfigs.set(a,[b]);return this};g._svgElementFromConfig=function(a){if(!a.svgElement){var b=this._svgElementFromString(a.svgText);this._setSvgAttributes(b,a.options);a.svgElement=b}return a.svgElement};
g._getIconConfigFromResolvers=function(a,b){for(var c=0;c<this._resolvers.length;c++){var d=this._resolvers[c](b,a);if(d)return d.url&&d.options?new GUb(d.url,d.options):new GUb(d)}};LA.\u0275fac=function(a){return new (a||LA)(p(Jy,8),p(Py),p(Xg,8),p($d))};LA.\u0275prov=Dc({token:LA,factory:LA.\u0275fac,providedIn:"root"});new zu;new Au;new zu;new zu;var JUb=new bd("MAT_ICON_DEFAULT_OPTIONS"),KUb=new bd("mat-icon-location",{providedIn:"root",factory:Sqa}),LUb="clip-path color-profile src cursor fill filter marker marker-start marker-mid marker-end mask stroke".split(" "),MUb=LUb.map(function(a){return"["+a+"]"}).join(", "),NUb=/^url\(['"]?#(.*?)['"]?\)$/,MA=function(a,b,c,d,e,f){this._elementRef=a;this._iconRegistry=b;this._location=d;this._errorHandler=e;this.inline=!1;this._previousFontSetClass=[];this._currentIconFetch=E.Subscription.EMPTY;
f&&(f.color&&(this.color=this._defaultColor=f.color),f.fontSet&&(this.fontSet=f.fontSet));c||a.nativeElement.setAttribute("aria-hidden","true")};g=MA.prototype;g._splitIconName=function(a){if(!a)return["",""];var b=a.split(":");switch(b.length){case 1:return["",b[0]];case 2:return b;default:throw Error("mb`"+a);}};g.ngOnInit=function(){this._updateFontIconClasses()};
g.ngAfterViewChecked=function(){var a=this._elementsWithExternalReferences;a&&a.size&&(a=this._location.getPathname(),a!==this._previousPath&&(this._previousPath=a,this._prependPathToReferences(a)))};g.ngOnDestroy=function(){this._currentIconFetch.unsubscribe();this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()};g._usingFontIcon=function(){return!this.svgIcon};
g._setSvgElement=function(a){this._clearSvgElement();var b=this._location.getPathname();this._previousPath=b;this._cacheChildrenWithExternalReferences(a);this._prependPathToReferences(b);this._elementRef.nativeElement.appendChild(a)};g._clearSvgElement=function(){var a=this._elementRef.nativeElement,b=a.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();b--;){var c=a.childNodes[b];1===c.nodeType&&"svg"!==c.nodeName.toLowerCase()||c.remove()}};
g._updateFontIconClasses=function(){if(this._usingFontIcon()){var a=this._elementRef.nativeElement,b=(this.fontSet?HUb(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)}};g._cleanupFontValue=function(a){return"string"===typeof a?a.trim().split(" ")[0]:a};g._prependPathToReferences=function(a){var b=this._elementsWithExternalReferences;b&&b.forEach(function(c,d){c.forEach(function(e){d.setAttribute(e.name,"url('"+a+"#"+e.value+"')")})})};
g._cacheChildrenWithExternalReferences=function(a){var b=a.querySelectorAll(MUb),c=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(a={i$jscomp$577:0};a.i$jscomp$577<b.length;a={i$jscomp$577:a.i$jscomp$577},a.i$jscomp$577++)LUb.forEach(function(d){return function(e){var f=b[d.i$jscomp$577],h=f.getAttribute(e);if(h=h?h.match(NUb):null){var k=c.get(f);k||(k=[],c.set(f,k));k.push({name:e,value:h[1]})}}}(a))};
g._updateSvgIcon=function(a){var b=this;this._svgName=this._svgNamespace=null;this._currentIconFetch.unsubscribe();if(a){a=l(this._splitIconName(a));var c=a.next().value,d=a.next().value;c&&(this._svgNamespace=c);d&&(this._svgName=d);this._currentIconFetch=IUb(this._iconRegistry,d,c).pipe(Qe()).subscribe(function(e){return b._setSvgElement(e)},function(e){b._errorHandler.handleError(Error("nb`"+c+"`"+d+"`"+e.message))})}};
Gh.Object.defineProperties(MA.prototype,{color:{configurable:!0,enumerable:!0,get:function(){return this._color||this._defaultColor},set:function(a){this._color=a}},svgIcon:{configurable:!0,enumerable:!0,get:function(){return this._svgIcon},set:function(a){a!==this._svgIcon&&(a?this._updateSvgIcon(a):this._svgIcon&&this._clearSvgElement(),this._svgIcon=a)}},fontSet:{configurable:!0,enumerable:!0,get:function(){return this._fontSet},set:function(a){a=this._cleanupFontValue(a);a!==this._fontSet&&(this._fontSet=
a,this._updateFontIconClasses())}},fontIcon:{configurable:!0,enumerable:!0,get:function(){return this._fontIcon},set:function(a){a=this._cleanupFontValue(a);a!==this._fontIcon&&(this._fontIcon=a,this._updateFontIconClasses())}}});MA.\u0275fac=function(a){return new (a||MA)(B(Hd),B(LA),Bd("aria-hidden"),B(KUb),B($d),B(JUb,8))};
MA.\u0275cmp=r({type:MA,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(a,b){a&2&&(Af("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),Kf(b.color?"mat-"+b.color:""),Jf("mat-icon-inline",b.inline)("mat-icon-no-color","primary"!==b.color&&"accent"!==b.color&&"warn"!==b.color))},inputs:{color:"color",
inline:["inline","inline",ug],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[zf,dg],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Vf(),Wf(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],
encapsulation:2,changeDetection:0});var NA=function(){};NA.\u0275fac=function(a){return new (a||NA)};NA.\u0275mod=Tc({type:NA});NA.\u0275inj=Ec({imports:[jz,jz]});var OA=function(){};OA.\u0275fac=function(a){return new (a||OA)};OA.\u0275mod=Tc({type:OA});OA.\u0275inj=Ec({});var PA=function(){};PA.\u0275fac=function(a){return new (a||PA)};PA.\u0275mod=Tc({type:PA});PA.\u0275inj=Ec({});var QA={};QA.AssertionError=aaa;QA.ENABLE_ASSERTS=!1;QA.assert=function(a){return a};QA.assertArray=function(a){return a};QA.assertBoolean=function(a){return a};QA.assertElement=function(a){return a};QA.assertExists=function(a){return a};QA.assertFinite=function(a){return a};QA.assertFunction=function(a){return a};QA.assertInstanceof=function(a){return a};QA.assertNumber=function(a){return a};QA.assertObject=function(a){return a};QA.assertString=function(a){return a};QA.fail=function(){};var RA=function(){};RA.\u0275fac=function(a){return new (a||RA)};RA.\u0275mod=Tc({type:RA});RA.\u0275inj=Ec({});var SA=function(){};SA.\u0275fac=function(a){return new (a||SA)};SA.\u0275mod=Tc({type:SA});SA.\u0275inj=Ec({imports:[RA]});var OUb=function(a){this.cellValue=a};var TA=function(a,b,c){this.metricName_=a;this.cellType_=b;this.fields_=c||[];this.cellMap_=new Map};g=TA.prototype;g.addCell=function(a){var b=$c.apply(1,arguments),c=this.getCells(b);c?c.push(new OUb(a)):this.setCell(a,b)};g.setCell=function(a){var b=this.getKey($c.apply(1,arguments));this.cellMap_.set(b,[new OUb(a)])};g.getCells=function(){var a=this.getKey($c.apply(0,arguments));return this.cellMap_.has(a)?this.cellMap_.get(a):void 0};
g.getCell=function(){var a=this.getCells($c.apply(0,arguments));return a&&a.length?a[0]:void 0};g.clear=function(){this.cellMap_.clear()};g.getKey=function(){var a=$c.apply(0,arguments);return a?a.join(","):"key"};var UA=function(a,b){TA.call(this,a,3,b)};Y(UA,TA);UA.prototype.incrementCounter=function(){this.incrementCounterBy(1,$c.apply(0,arguments))};UA.prototype.incrementCounterBy=function(a){var b=$c.apply(1,arguments),c=0,d=this.getCell(b);d&&(c=d.cellValue);this.setCell(c+a,b)};var PUb=function(a,b){TA.call(this,a,2,b)};Y(PUb,TA);PUb.prototype.record=function(a){this.addCell(a,$c.apply(1,arguments))};var VA=function(){this.disposed_=this.disposed_;this.onDisposeCallbacks_=this.onDisposeCallbacks_};VA.prototype.disposed_=!1;VA.prototype.isDisposed=function(){return this.disposed_};VA.prototype.dispose=function(){this.disposed_||(this.disposed_=!0,this.disposeInternal())};var WA=function(a,b){b=zt(Nh,b);a.disposed_?b():(a.onDisposeCallbacks_||(a.onDisposeCallbacks_=[]),a.onDisposeCallbacks_.push(b))};VA.prototype.disposeInternal=function(){if(this.onDisposeCallbacks_)for(;this.onDisposeCallbacks_.length;)this.onDisposeCallbacks_.shift()()};var XA=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.propagationStopped_=!1};XA.prototype.stopPropagation=function(){this.propagationStopped_=!0};XA.prototype.preventDefault=function(){this.defaultPrevented=!0};var QUb=[],RUb=[],SUb=!1,TUb=function(a){QUb[QUb.length]=a;if(SUb)for(var b=0;b<RUb.length;b++)a(yt(RUb[b].wrap,RUb[b]))};var UUb=function(){if(!da.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};da.addEventListener("test",c,b);da.removeEventListener("test",c,b)}catch(d){}return a}();var YA=function(a,b){XA.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.platformModifierKey=!1;this.pointerId=0;this.pointerType="";this.timeStamp=0;this.event_=null;a&&this.init(a,b)};At(YA,XA);var VUb={2:"touch",3:"pen",4:"mouse"};
YA.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)?Dt&&(CKb(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=Et||void 0!==a.offsetX?
a.offsetX:a.layerX,this.offsetY=Et||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=Nq?a.metaKey:a.ctrlKey;this.pointerId=
a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:VUb[a.pointerType]||"";this.state=a.state;this.timeStamp=a.timeStamp;this.event_=a;a.defaultPrevented&&YA.superClass_.preventDefault.call(this)};YA.prototype.stopPropagation=function(){YA.superClass_.stopPropagation.call(this);this.event_.stopPropagation?this.event_.stopPropagation():this.event_.cancelBubble=!0};
YA.prototype.preventDefault=function(){YA.superClass_.preventDefault.call(this);var a=this.event_;a.preventDefault?a.preventDefault():a.returnValue=!1};var WUb="closure_listenable_"+(1E6*Math.random()|0),ZA=function(a){return!(!a||!a[WUb])};var XUb=0;var YUb=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=++XUb;this.removed=this.callOnce=!1},ZUb=function(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.handler=null};var $A=function(a){this.src=a;this.listeners={};this.typeCount_=0};$A.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||(a=this.listeners[f]=[],this.typeCount_++);var h=$Ub(a,b,d,e);-1<h?(b=a[h],c||(b.callOnce=!1)):(b=new YUb(b,this.src,f,!!d,e),b.callOnce=c,a.push(b));return b};
$A.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=$Ub(e,b,c,d);return-1<b?(ZUb(e[b]),ua(e,b),0==e.length&&(delete this.listeners[a],this.typeCount_--),!0):!1};var aVb=function(a,b){var c=b.type;if(!(c in a.listeners))return!1;var d=va(a.listeners[c],b);d&&(ZUb(b),0==a.listeners[c].length&&(delete a.listeners[c],a.typeCount_--));return d};
$A.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,ZUb(d[e]);delete this.listeners[c];this.typeCount_--}return b};$A.prototype.getListener=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=$Ub(a,b,c,d));return-1<e?a[e]:null};
$A.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return wda(this.listeners,function(f){for(var h=0;h<f.length;++h)if(!(c&&f[h].type!=d||e&&f[h].capture!=b))return!0;return!1})};var $Ub=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.removed&&f.listener==b&&f.capture==!!c&&f.handler==d)return e}return-1};var bVb="closure_lm_"+(1E6*Math.random()|0),cVb={},dVb=0,cp=function(a,b,c,d,e){if(d&&d.once)return aB(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)cp(a,b[f],c,d,e);return null}c=eVb(c);return ZA(a)?a.listen(b,c,Aa(d)?!!d.capture:!!d,e):fVb(a,b,c,!1,d,e)},fVb=function(a,b,c,d,e,f){if(!b)throw Error("ob");var h=Aa(e)?!!e.capture:!!e,k=bB(a);k||(a[bVb]=k=new $A(a));c=k.add(b,c,d,h,f);if(c.proxy)return c;d=gVb();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)UUb||(e=h),void 0===e&&
(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(hVb(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("pb");dVb++;return c},gVb=function(){var a=iVb,b=function(c){return a.call(b.src,b.listener,c)};return b},aB=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)aB(a,b[f],c,d,e);return null}c=eVb(c);return ZA(a)?a.listenOnce(b,c,Aa(d)?!!d.capture:!!d,e):fVb(a,b,c,!0,d,e)},cB=function(a,b,c,d,e){if(Array.isArray(b))for(var f=
0;f<b.length;f++)cB(a,b[f],c,d,e);else d=Aa(d)?!!d.capture:!!d,c=eVb(c),ZA(a)?a.unlisten(b,c,d,e):a&&(a=bB(a))&&(b=a.getListener(b,c,d,e))&&dB(b)},dB=function(a){if("number"===typeof a||!a||a.removed)return!1;var b=a.src;if(ZA(b))return b.unlistenByKey(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(hVb(c),d):b.addListener&&b.removeListener&&b.removeListener(d);dVb--;(c=bB(b))?(aVb(c,a),0==c.typeCount_&&(c.src=null,b[bVb]=null)):ZUb(a);
return!0},hVb=function(a){return a in cVb?cVb[a]:cVb[a]="on"+a},iVb=function(a,b){if(a.removed)a=!0;else{b=new YA(b,this);var c=a.listener,d=a.handler||a.src;a.callOnce&&dB(a);a=c.call(d,b)}return a},bB=function(a){a=a[bVb];return a instanceof $A?a:null},jVb="__closure_events_fn_"+(1E9*Math.random()>>>0),eVb=function(a){if("function"===typeof a)return a;a[jVb]||(a[jVb]=function(b){return a.handleEvent(b)});return a[jVb]};TUb(function(a){iVb=a(iVb)});var bp=function(){VA.call(this);this.eventTargetListeners_=new $A(this);this.actualEventTarget_=this;this.parentEventTarget_=null};At(bp,VA);bp.prototype[WUb]=!0;g=bp.prototype;g.getParentEventTarget=function(){return this.parentEventTarget_};g.setParentEventTarget=function(a){this.parentEventTarget_=a};g.addEventListener=function(a,b,c,d){cp(this,a,b,c,d)};g.removeEventListener=function(a,b,c,d){cB(this,a,b,c,d)};
g.dispatchEvent=function(a){var b,c=this.getParentEventTarget();if(c)for(b=[];c;c=c.getParentEventTarget())b.push(c);c=this.actualEventTarget_;var d=a.type||a;if("string"===typeof a)a=new XA(a,c);else if(a instanceof XA)a.target=a.target||c;else{var e=a;a=new XA(d,c);Eda(a,e)}e=!0;if(b)for(var f=b.length-1;!a.propagationStopped_&&0<=f;f--){var h=a.currentTarget=b[f];e=h.fireListeners(d,!0,a)&&e}a.propagationStopped_||(h=a.currentTarget=c,e=h.fireListeners(d,!0,a)&&e,a.propagationStopped_||(e=h.fireListeners(d,
!1,a)&&e));if(b)for(f=0;!a.propagationStopped_&&f<b.length;f++)h=a.currentTarget=b[f],e=h.fireListeners(d,!1,a)&&e;return e};g.disposeInternal=function(){bp.superClass_.disposeInternal.call(this);this.removeAllListeners();this.parentEventTarget_=null};g.listen=function(a,b,c,d){return this.eventTargetListeners_.add(String(a),b,!1,c,d)};g.listenOnce=function(a,b,c,d){return this.eventTargetListeners_.add(String(a),b,!0,c,d)};
g.unlisten=function(a,b,c,d){return this.eventTargetListeners_.remove(String(a),b,c,d)};g.unlistenByKey=function(a){return aVb(this.eventTargetListeners_,a)};g.removeAllListeners=function(a){return this.eventTargetListeners_?this.eventTargetListeners_.removeAll(a):0};
g.fireListeners=function(a,b,c){a=this.eventTargetListeners_.listeners[String(a)];if(!a)return!0;a=a.concat();for(var d=!0,e=0;e<a.length;++e){var f=a[e];if(f&&!f.removed&&f.capture==b){var h=f.listener,k=f.handler||f.src;f.callOnce&&this.unlistenByKey(f);d=!1!==h.call(k,c)&&d}}return d&&!c.defaultPrevented};g.getListener=function(a,b,c,d){return this.eventTargetListeners_.getListener(String(a),b,c,d)};
g.hasListener=function(a,b){return this.eventTargetListeners_.hasListener(void 0!==a?String(a):void 0,b)};var kVb=function(a,b){this.limit_=100;this.create_=a;this.reset_=b;this.occupants_=0;this.head_=null};kVb.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};kVb.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 lVb=Hq||Et;var mVb=function(a,b){return a+Math.random()*(b-a)};var Sq=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};Sq.prototype.clone=function(){return new Sq(this.x,this.y)};Sq.prototype.equals=function(a){return a instanceof Sq&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)};var Tq=function(a,b){return new Sq(a.x-b.x,a.y-b.y)};g=Sq.prototype;g.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};g.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
g.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};g.translate=function(a,b){a instanceof Sq?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),"number"===typeof b&&(this.y+=b));return this};g.scale=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};var eB=function(a,b){this.width=a;this.height=b},y9a=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};g=eB.prototype;g.clone=function(){return new eB(this.width,this.height)};g.aspectRatio=function(){return this.width/this.height};g.isEmpty=function(){return!(this.width*this.height)};g.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};g.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
g.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};g.scale=function(a,b){this.width*=a;this.height*="number"===typeof b?b:a;return this};var ep=function(a){return a?new fB(gB(a)):cKb||(cKb=new fB)},hB=function(a,b){return"string"===typeof b?a.getElementById(b):b},iB=function(a,b){return(b||document).getElementsByTagName(String(a))},oVb=function(a,b){bc(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:nVb.hasOwnProperty(d)?a.setAttribute(nVb[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,
c):a[d]=c})},nVb={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"},jB=function(a){a=(a||window).document;a=pVb(a)?a.documentElement:a.body;return new eB(a.clientWidth,a.clientHeight)},lB=function(a){var b=kB(a);a=a.parentWindow||a.defaultView;return Hq&&a.pageYOffset!=b.scrollTop?new Sq(b.scrollLeft,b.scrollTop):
new Sq(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)},kB=function(a){return a.scrollingElement?a.scrollingElement:!Et&&pVb(a)?a.documentElement:a.body||a.documentElement},mB=function(a){return a?a.parentWindow||a.defaultView:window},rVb=function(a,b,c){return qVb(document,arguments)},qVb=function(a,b){var c=b[1],d=Lj(a,String(b[0]));c&&("string"===typeof c?d.className=c:Array.isArray(c)?d.className=c.join(" "):oVb(d,c));2<b.length&&sVb(a,d,b,2);return d},sVb=function(a,b,c,d){function e(k){k&&
b.appendChild("string"===typeof k?a.createTextNode(k):k)}for(;d<c.length;d++){var f=c[d];if(!za(f)||Aa(f)&&0<f.nodeType)e(f);else{a:{if(f&&"number"==typeof f.length){if(Aa(f)){var h="function"==typeof f.item||"string"==typeof f.item;break a}if("function"===typeof f){h="function"==typeof f.item;break a}}h=!1}ra(h?ya(f):f,e)}}},Lj=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},pVb=function(a){return"CSS1Compat"==a.compatMode},tVb=function(a,
b){sVb(gB(a),a,arguments,1)},uVb=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},nB=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},oB=function(a){return Aa(a)&&1==a.nodeType},wab=function(a){var b;if(lVb&&(b=a.parentElement))return b;b=a.parentNode;return oB(b)?b:null},ESa=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},gB=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document},vVb=function(a){return a.contentDocument||a.contentWindow.document},pB=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 uVb(a),a.appendChild(gB(a).createTextNode(String(b)))},wVb={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},
xVb={IMG:" ",BR:"\n"},yVb=function(a){a=a.tabIndex;return"number"===typeof a&&0<=a&&32768>a},zVb=function(a,b,c){if(!(a.nodeName in wVb))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 xVb)b.push(xVb[a.nodeName]);else for(a=a.firstChild;a;)zVb(a,b,c),a=a.nextSibling},V9a=function(){var a=mB();return void 0!==a.devicePixelRatio?a.devicePixelRatio:a.matchMedia?AVb(3)||AVb(2)||AVb(1.5)||AVb(1)||.75:1},AVb=function(a){return mB().matchMedia("(min-resolution: "+
a+"dppx),(min--moz-device-pixel-ratio: "+a+"),(min-resolution: "+96*a+"dpi)").matches?a:0},fB=function(a){this.document_=a||da.document||document};g=fB.prototype;g.getDomHelper=ep;g.getElement=function(a){return hB(this.document_,a)};g.$=fB.prototype.getElement;g.getElementsByTagName=function(a,b){return(b||this.document_).getElementsByTagName(String(a))};
g.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,f=0,h;h=c[f];f++)a==h.nodeName&&(d[e++]=h);d.length=e;b=d}else b=c;else if(c=c.getElementsByTagName(a||"*"),b){d={};for(f=e=0;h=c[f];f++)a=h.className,"function"==typeof a.split&&ta(a.split(/\s+/),b)&&(d[e++]=h);d.length=e;
b=d}else b=c;return b};g.$$=fB.prototype.getElementsByTagNameAndClass;g.setProperties=oVb;g.getViewportSize=function(a){return jB(a||this.getWindow())};g.createDom=function(a,b,c){return qVb(this.document_,arguments)};g.createElement=function(a){return Lj(this.document_,a)};g.createTextNode=function(a){return this.document_.createTextNode(String(a))};g.getWindow=function(){var a=this.document_;return a.parentWindow||a.defaultView};g.appendChild=function(a,b){a.appendChild(b)};g.append=tVb;
g.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};g.removeChildren=uVb;g.removeNode=nB;
g.getChildren=function(a){return void 0!=a.children?a.children:Array.prototype.filter.call(a.childNodes,function(b){return 1==b.nodeType})};g.isElement=oB;g.getParentElement=wab;g.contains=ESa;
g.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")||yVb(a)):b=a.hasAttribute("tabindex")&&yVb(a);if(b&&Hq){var c;"function"!==typeof a.getBoundingClientRect||Hq&&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 BVb,CVb=function(){var a=da.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!la("Presto")&&(a=function(){var e=Lj(document,"IFRAME");e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var h="callImmediate"+Math.random(),k="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=yt(function(q){if(("*"==k||q.origin==k)&&q.data==h)this.port1.onmessage()},
this);f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(h,k)}}});if("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){da.setTimeout(e,0)}},DVb=hMb;TUb(function(a){DVb=a});var EVb=function(){this.workTail_=this.workHead_=null};EVb.prototype.add=function(a,b){var c=FVb.get();c.set(a,b);this.workTail_?this.workTail_.next=c:this.workHead_=c;this.workTail_=c};EVb.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 FVb=new kVb(function(){return new GVb},function(a){return a.reset()}),GVb=function(){this.next=this.scope=this.fn=null};
GVb.prototype.set=function(a,b){this.fn=a;this.scope=b;this.next=null};GVb.prototype.reset=function(){this.next=this.scope=this.fn=null};var HVb,IVb=!1,JVb=new EVb,qB=function(a,b){HVb||KVb();IVb||(HVb(),IVb=!0);JVb.add(a,b)},KVb=function(){if(da.Promise&&da.Promise.resolve){var a=da.Promise.resolve(void 0);HVb=function(){a.then(LVb)}}else HVb=function(){var b=LVb;b=DVb(b);"function"!==typeof da.setImmediate||da.Window&&da.Window.prototype&&(ma()||!la("Edge"))&&da.Window.prototype.setImmediate==da.setImmediate?(BVb||(BVb=CVb()),BVb(b)):da.setImmediate(b)}},LVb=function(){for(var a;a=JVb.remove();){try{a.fn.call(a.scope)}catch(b){ea(b)}FVb.put(a)}IVb=
!1};var MVb=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var sB=function(a){this.state_=0;this.result_=void 0;this.callbackEntriesTail_=this.callbackEntries_=this.parent_=null;this.hadUnhandledRejection_=this.executing_=!1;if(a!=qu)try{var b=this;a.call(void 0,function(c){rB(b,2,c)},function(c){rB(b,3,c)})}catch(c){rB(this,3,c)}},NVb=function(){this.next=this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};NVb.prototype.reset=function(){this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};
var OVb=new kVb(function(){return new NVb},function(a){a.reset()}),PVb=function(a,b,c){var d=OVb.get();d.onFulfilled=a;d.onRejected=b;d.context=c;return d},tB=function(a){if(a instanceof sB)return a;var b=new sB(qu);rB(b,2,a);return b},QVb=function(a){return new sB(function(b,c){c(a)})},SVb=function(a,b,c){RVb(a,b,c,null)||qB(zt(b,a))},TVb=function(a){return new sB(function(b,c){a.length||b(void 0);for(var d=0,e;d<a.length;d++)e=a[d],SVb(e,b,c)})},UVb=function(a){return new sB(function(b,c){var d=
a.length,e=[];if(d)for(var f=function(t,w){d--;e[t]=w;0==d&&b(e)},h=function(t){c(t)},k=0,q;k<a.length;k++)q=a[k],SVb(q,zt(f,k),h);else b(e)})},VVb=function(a){return new sB(function(b,c){var d=a.length,e=[];if(d)for(var f=function(t){b(t)},h=function(t,w){d--;e[t]=w;0==d&&c(e)},k=0,q;k<a.length;k++)q=a[k],SVb(q,f,zt(h,k));else b(void 0)})},XVb=function(){var a,b,c=new sB(function(d,e){a=d;b=e});return new WVb(c,a,b)};
sB.prototype.then=function(a,b,c){return YVb(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};sB.prototype.$goog_Thenable=!0;var $Vb=function(a,b){b=PVb(b,b);b.always=!0;ZVb(a,b);return a};sB.prototype.thenCatch=function(a,b){return YVb(this,null,a,b)};sB.prototype.catch=sB.prototype.thenCatch;sB.prototype.cancel=function(a){if(0==this.state_){var b=new uB(a);qB(function(){aWb(this,b)},this)}};
var aWb=function(a,b){if(0==a.state_)if(a.parent_){var c=a.parent_;if(c.callbackEntries_){for(var d=0,e=null,f=null,h=c.callbackEntries_;h&&(h.always||(d++,h.child==a&&(e=h),!(e&&1<d)));h=h.next)e||(f=h);e&&(0==c.state_&&1==d?aWb(c,b):(f?(d=f,d.next==c.callbackEntriesTail_&&(c.callbackEntriesTail_=d),d.next=d.next.next):bWb(c),cWb(c,e,3,b)))}a.parent_=null}else rB(a,3,b)},ZVb=function(a,b){a.callbackEntries_||2!=a.state_&&3!=a.state_||dWb(a);a.callbackEntriesTail_?a.callbackEntriesTail_.next=b:a.callbackEntries_=
b;a.callbackEntriesTail_=b},YVb=function(a,b,c,d){var e=PVb(null,null,null);e.child=new sB(function(f,h){e.onFulfilled=b?function(k){try{var q=b.call(d,k);f(q)}catch(t){h(t)}}:f;e.onRejected=c?function(k){try{var q=c.call(d,k);void 0===q&&k instanceof uB?h(k):f(q)}catch(t){h(t)}}:h});e.child.parent_=a;ZVb(a,e);return e.child};sB.prototype.unblockAndFulfill_=function(a){this.state_=0;rB(this,2,a)};sB.prototype.unblockAndReject_=function(a){this.state_=0;rB(this,3,a)};
var rB=function(a,b,c){0==a.state_&&(a===c&&(b=3,c=new TypeError("qb")),a.state_=1,RVb(c,a.unblockAndFulfill_,a.unblockAndReject_,a)||(a.result_=c,a.state_=b,a.parent_=null,dWb(a),3!=b||c instanceof uB||eWb(a,c)))},RVb=function(a,b,c,d){if(a instanceof sB)return ZVb(a,PVb(b||qu,c||null,d)),!0;if(MVb(a))return a.then(b,c,d),!0;if(Aa(a))try{var e=a.then;if("function"===typeof e)return fWb(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1},fWb=function(a,b,c,d,e){var f=!1,h=function(q){f||(f=!0,
c.call(e,q))},k=function(q){f||(f=!0,d.call(e,q))};try{b.call(a,h,k)}catch(q){k(q)}},dWb=function(a){a.executing_||(a.executing_=!0,qB(a.executeCallbacks_,a))},bWb=function(a){var b=null;a.callbackEntries_&&(b=a.callbackEntries_,a.callbackEntries_=b.next,b.next=null);a.callbackEntries_||(a.callbackEntriesTail_=null);return b};sB.prototype.executeCallbacks_=function(){for(var a;a=bWb(this);)cWb(this,a,this.state_,this.result_);this.executing_=!1};
var cWb=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,gWb(b,c,d);else try{b.always?b.onFulfilled.call(b.context):gWb(b,c,d)}catch(e){hWb.call(null,e)}OVb.put(b)},gWb=function(a,b,c){2==b?a.onFulfilled.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)},eWb=function(a,b){a.hadUnhandledRejection_=!0;qB(function(){a.hadUnhandledRejection_&&hWb.call(null,b)})},hWb=ea,uB=function(a){ba.call(this,
a);this.reportErrorToServer=!1};At(uB,ba);uB.prototype.name="cancel";var WVb=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};var vB=function(a,b){bp.call(this);this.interval_=a||1;this.timerObject_=b||da;this.boundTick_=yt(this.tick_,this);this.last_=Date.now()};At(vB,bp);g=vB.prototype;g.enabled=!1;g.timer_=null;g.setInterval=function(a){this.interval_=a;this.timer_&&this.enabled?(this.stop(),this.start()):this.timer_&&this.stop()};
g.tick_=function(){if(this.enabled){var a=Date.now()-this.last_;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()))}};g.start=function(){this.enabled=!0;this.timer_||(this.timer_=this.timerObject_.setTimeout(this.boundTick_,this.interval_),this.last_=Date.now())};
g.stop=function(){this.enabled=!1;this.timer_&&(this.timerObject_.clearTimeout(this.timer_),this.timer_=null)};g.disposeInternal=function(){vB.superClass_.disposeInternal.call(this);this.stop();delete this.timerObject_};
var cq=function(a,b,c){if("function"===typeof a)c&&(a=yt(a,c));else if(a&&"function"==typeof a.handleEvent)a=yt(a.handleEvent,a);else throw Error("rb");return 2147483647<Number(b)?-1:da.setTimeout(a,b||0)},dq=function(a){da.clearTimeout(a)},iWb=function(a,b){var c=null;return(new sB(function(d,e){c=cq(function(){d(b)},a);-1==c&&e(Error("sb"))})).thenCatch(function(d){dq(c);throw d;})};var jWb=function(a){VA.call(this);this.streamzLogger=a;this.invocationCount=0;this.metricMap=new Map;this.disabledMetrics=new Set;this.flushInterval=3E4;this.flushTimer=new vB(this.flushInterval);this.flushTimer.listen("tick",this.snapshotAndFlush,!1,this);WA(this,this.flushTimer)};Y(jWb,VA);var kWb=function(a){a.maybeStartFlushTimer();a.invocationCount++;100<=a.invocationCount&&a.snapshotAndFlush()};g=jWb.prototype;
g.snapshotAndFlush=function(){var a=this.metricMap.values();a=[].concat(u(a)).filter(function(b){return b.cellMap_.size});a.length&&this.streamzLogger.flush(a,!1);lWb(a);this.invocationCount=0;this.flushTimer.enabled&&this.flushTimer.stop()};g.addNewCounter=function(a){var b=$c.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new UA(a,b))};g.addNewEventMetric=function(a){var b=$c.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new PUb(a,b))};
g.getMetric=function(a){return this.disabledMetrics.has(a)?void 0:this.metricMap.get(a)};g.incrementCounter=function(a){this.incrementCounterBy.apply(this,[a,1].concat(u($c.apply(1,arguments))))};g.incrementCounterBy=function(a,b){var c=$c.apply(2,arguments),d=this.getMetric(a);d&&d instanceof UA&&(d.incrementCounterBy(b,c),kWb(this))};g.record=function(a,b){var c=$c.apply(2,arguments),d=this.getMetric(a);d&&d instanceof PUb&&(d.record(b,c),kWb(this))};
g.maybeStartFlushTimer=function(){this.flushTimer.enabled||this.flushTimer.start()};var lWb=function(a){for(var b=0;b<a.length;b++)a[b].clear()};var mWb=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"})};mWb.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};mWb.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var nWb=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"})};nWb.prototype.record=function(a,b,c){this.streamzService_.record(this.metricName_,a,b,c)};nWb.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var oWb=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"})};oWb.prototype.increment=function(a,b){this.streamzService_.incrementCounter(this.metricName_,a,b)};oWb.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var pWb=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"})};pWb.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};pWb.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};var qWb={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 tWb=function(a){a=rWb(a);for(var b=2654435769,c=2654435769,d=314159265,e=a.length,f=e,h=0,k=function(){b-=c;b-=d;b^=d>>>13;c-=d;c-=b;c^=b<<8;d-=b;d-=c;d^=c>>>13;b-=c;b-=d;b^=d>>>12;c-=d;c-=b;c^=b<<16;d-=b;d-=c;d^=c>>>5;b-=c;b-=d;b^=d>>>3;c-=d;c-=b;c^=b<<10;d-=b;d-=c;d^=c>>>15};12<=f;f-=12,h+=12)b+=sWb(a,h),c+=sWb(a,h+4),d+=sWb(a,h+8),k();d+=e;switch(f){case 11:d+=a[h+10]<<24;case 10:d+=a[h+9]<<16;case 9:d+=a[h+8]<<8;case 8:c+=a[h+7]<<24;case 7:c+=a[h+6]<<16;case 6:c+=a[h+5]<<8;case 5:c+=a[h+4];
case 4:b+=a[h+3]<<24;case 3:b+=a[h+2]<<16;case 2:b+=a[h+1]<<8;case 1:b+=a[h]}k();return qWb.toString(d)},uWb=function(a){return a},rWb=function(a){for(var b=[],c=0;c<a.length;c++)b.push(a.charCodeAt(c));return b},sWb=function(a,b){return a[b]+(a[b+1]<<8)+(a[b+2]<<16)+(a[b+3]<<24)};var vWb=function(a){this.internalArray_=m(a)};Y(vWb,n);vWb.prototype.getValueCase=function(){return sn(this,wWb)};var wWb=[1,2,3];var xWb=function(a){this.internalArray_=m(a)};Y(xWb,n);xWb.prototype.getValueCase=function(){return sn(this,yWb)};var yWb=[1,2,3];var zWb=function(a){this.internalArray_=m(a)};Y(zWb,n);zWb.repeatedFields_=[1];var wB=function(a){this.internalArray_=m(a)};Y(wB,n);wB.prototype.getFieldName=function(){return Xt(this,3)};wB.prototype.setFieldName=function(a){Qb(this,3,tb,a,void 0,Yh)};wB.repeatedFields_=[3,6,4];var AWb=function(a){this.internalArray_=m(a)};Y(AWb,n);AWb.repeatedFields_=[1];var BWb=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("tb`"+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("ub`"+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 DWb=function(a,b,c){var d=String(da.location.href);return d&&a&&b?[b,CWb(BWb(d),a,c||null)].join(" "):null},CWb=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],ra(d,function(k){e.push(k)}),EWb(e.join(" "));var f=[],h=[];ra(c,function(k){h.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=0==f.length?[c,b,a]:[f.join(":"),c,b,a];ra(d,function(k){e.push(k)});a=EWb(e.join(" "));a=[c,a];0==h.length||a.push(h.join(""));return a.join("_")},EWb=function(a){var b=
Uqa();b.update(a);return b.digestString().toLowerCase()};var FWb={};var GWb=function(){this.document_=document||{cookie:""}};g=GWb.prototype;g.isEnabled=function(){if(!da.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};
g.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.sameSite;d=c.secure||!1;var f=c.domain||void 0;var h=c.path||void 0;var k=c.maxAge}if(/[;=\s]/.test(a))throw Error("vb`"+a);if(/[;\r\n]/.test(b))throw Error("wb`"+b);void 0===k&&(k=-1);c=f?";domain="+f:"";h=h?";path="+h:"";d=d?";secure":"";k=0>k?"":0==k?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*k)).toUTCString();this.document_.cookie=a+"="+b+c+h+k+d+(null!=e?";samesite="+e:"")};
g.get=function(a,b){for(var c=a+"=",d=(this.document_.cookie||"").split(";"),e=0,f;e<d.length;e++){f=ii(d[e]);if(0==f.lastIndexOf(c,0))return f.slice(c.length);if(f==a)return""}return b};g.remove=function(a,b,c){var d=this.containsKey(a);this.set(a,"",{maxAge:0,path:b,domain:c});return d};g.getKeys=function(){return HWb(this).keys};g.getValues=function(){return HWb(this).values};g.isEmpty=function(){return!this.document_.cookie};
g.getCount=function(){return this.document_.cookie?(this.document_.cookie||"").split(";").length:0};g.containsKey=function(a){return void 0!==this.get(a)};g.containsValue=function(a){for(var b=HWb(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};g.clear=function(){for(var a=HWb(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};
var HWb=function(a){a=(a.document_.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=ii(a[f]),d=e.indexOf("="),-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 IWb=function(a){return!!FWb.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)},JWb=function(a,b,c,d){(a=da[a])||"undefined"===typeof document||(a=(new GWb).get(b));return a?DWb(a,c,d):null},Wo=function(a,b){b=void 0===b?!1:b;var c=BWb(String(da.location.href)),d=[];var e=b;e=void 0===e?!1:e;var f=da.__SAPISID||da.__APISID||da.__3PSAPISID||da.__OVERRIDE_SID;IWb(e)&&(f=f||da.__1PSAPISID);if(f)e=!0;else{if("undefined"!==typeof document){var h=new GWb;f=h.get("SAPISID")||h.get("APISID")||h.get("__Secure-3PAPISID")||
h.get("SID")||h.get("OSID");IWb(e)&&(f=f||h.get("__Secure-1PAPISID"))}e=!!f}e&&(e=(c=0==c.indexOf("https:")||0==c.indexOf("chrome-extension:")||0==c.indexOf("moz-extension:"))?da.__SAPISID:da.__APISID,e||"undefined"===typeof document||(e=new GWb,e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID")),(e=e?DWb(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e),c&&IWb(b)&&((b=JWb("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=JWb("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a)));return 0==d.length?null:d.join(" ")};var xB=function(a){this.internalArray_=m(a)};Y(xB,n);xB.repeatedFields_=[2];var yB=function(a){bp.call(this);this.intervalMs=a;this.enabled=!1;this.nowFn=function(){return Date.now()};this.lastTimeMs=this.nowFn()};Y(yB,bp);yB.prototype.setInterval=function(a){this.intervalMs=a;this.timer&&this.enabled?(this.stop(),this.start()):this.timer&&this.stop()};yB.prototype.start=function(){var a=this;this.enabled=!0;this.timer||(this.timer=setTimeout(function(){a.tick()},this.intervalMs),this.lastTimeMs=this.nowFn())};
yB.prototype.stop=function(){this.enabled=!1;this.timer&&(clearTimeout(this.timer),this.timer=void 0)};yB.prototype.tick=function(){var a=this;if(this.enabled){var b=Math.max(this.nowFn()-this.lastTimeMs,0);b<.8*this.intervalMs?this.timer=setTimeout(function(){a.tick()},this.intervalMs-b):(this.timer&&(clearTimeout(this.timer),this.timer=void 0),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}else this.timer=void 0};var KWb=function(a){this.internalArray_=m(a)};Y(KWb,n);var LWb=function(a){this.internalArray_=m(a)};Y(LWb,n);var MWb=function(a){this.currBaseValue_=this.currValue_=this.initialValue_=a};MWb.prototype.reset=function(){this.currBaseValue_=this.currValue_=this.initialValue_};MWb.prototype.getValue=function(){return this.currValue_};var NWb=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),OWb=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 f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}},PWb=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]},QWb=function(a,b,c){if(Array.isArray(b))for(var d=0;d<b.length;d++)QWb(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+encodeURIComponent(String(b))))},RWb=function(a,b){var c=[];for(b=b||0;b<a.length;b+=2)QWb(a[b],a[b+1],c);return c.join("&")},SWb=function(a){var b=[],c;for(c in a)QWb(c,a[c],b);return b.join("&")},zB=function(a,b){var c=2==arguments.length?RWb(arguments[1],0):RWb(arguments,
1);return PWb(a,c)},mwa=function(a,b){b=SWb(b);return PWb(a,b)},AB=function(a,b,c){c=null!=c?"="+encodeURIComponent(String(c)):"";return PWb(a,b+c)},TWb=function(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&b<d;){var f=a.charCodeAt(b-1);if(38==f||63==f)if(f=a.charCodeAt(b+e),!f||61==f||38==f||35==f)return b;b+=e+1}return-1},UWb=/#|$/,VWb=function(a,b){var c=a.search(UWb),d=TWb(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," "))},WWb=/[?&]($|#)/;var BB=function(a){this.internalArray_=m(a)};Y(BB,n);BB.prototype.setTransmissionType=function(a){hj(this,1,a)};BB.prototype.setRetryCount=function(a){dj(this,3,a)};BB.prototype.setPersistedLogRecoveredCount=function(a){dj(this,4,a)};BB.prototype.setPersistedLogExpiredCount=function(a){dj(this,5,a)};var CB=function(a){this.internalArray_=m(a)};Y(CB,n);CB.prototype.setModel=function(a){return gj(this,6,a)};CB.repeatedFields_=[1];var DB=function(a){this.internalArray_=m(a)};Y(DB,n);DB.prototype.getLocale=function(){return wj(this,5)};DB.prototype.setLocale=function(a){return gj(this,5,a)};DB.prototype.setBuildLabel=function(a){gj(this,7,a)};DB.prototype.getMutableFlushInfo=function(){return FLb(this,BB,10)};var XWb=["platform","platformVersion","architecture","model","uaFullVersion"];new CB;var EB=function(a){this.internalArray_=m(a)};Y(EB,n);EB.prototype.getMutableJsClientInfo=function(){return FLb(this,DB,11)};var FB=function(a){this.internalArray_=m(a)};Y(FB,n);g=FB.prototype;g.getKey=function(){return wj(this,1)};g.hasKey=function(){return yi(this,1)};g.getValue=function(){return wj(this,2)};g.getValue_legacyNullable=function(){return wj(this,2)};g.setValue=function(a){return gj(this,2,a)};g.hasValue=function(){return yi(this,2)};var GB=function(a){this.internalArray_=m(a)};Y(GB,n);var HB=function(a){this.internalArray_=m(a,35)};Y(HB,n);g=HB.prototype;g.getTag=function(){return wj(this,2)};g.getComponentId=function(){return wj(this,26)};g.setComponentId=function(a){return gj(this,26,a)};g.hasComponentId=function(){return yi(this,26)};g.getValueList=function(){return zi(this,FB,3)};g.addValue=function(){return mq(this,3,FB)};g.setValue=function(a,b){return Qt(this,3,FB,a,b)};g.getStore=function(){return rq(this,4)};var YWb=function(a,b){return gj(a,8,b)};
HB.prototype.getExperimentIds=function(){return vi(this,xB,16)};HB.prototype.setExperimentIds=function(a){ej(this,xB,16,a)};HB.prototype.clearExperimentIds=function(){return lm(this,16)};var IB=function(a,b){gj(a,24,b)};HB.prototype.getComplianceData=function(){return vi(this,GB,33)};HB.prototype.setComplianceData=function(a){ej(this,GB,33,a)};HB.repeatedFields_=[3,20,27];var ZWb=function(a){this.internalArray_=m(a,19)};Y(ZWb,n);g=ZWb.prototype;g.getClientInfo=function(){return vi(this,EB,1)};g.getMutableClientInfo=function(){return FLb(this,EB,1)};g.setClientInfo=function(a){ej(this,EB,1,a)};g.getLogSource=function(){return Li(this,2,-1)};g.setLogSource=function(a){return hj(this,2,a)};g.getComplianceData=function(){return vi(this,GB,18)};g.setComplianceData=function(a){ej(this,GB,18,a)};ZWb.repeatedFields_=[3,5];var JB=function(a){this.internalArray_=m(a)};Y(JB,n);JB.prototype.getId=function(a){return Xt(this,1,a)};JB.prototype.setId=function(a){return Qb(this,1,tb,a,void 0,Yh)};JB.repeatedFields_=[1];var KB=function(a){this.internalArray_=m(a,7)};Y(KB,n);KB.prototype.getExperiments=function(){return vi(this,JB,2)};KB.prototype.setExperiments=function(a){ej(this,JB,2,a)};KB.prototype.hasExperiments=function(){return Pi(this,JB,2)};var $Wb=ac(KB);KB.repeatedFields_=[5,6];var aXb=function(a){this.internalArray_=m(a)};Y(aXb,n);var bXb=Xb(175237375,{jsExtension:0},aXb,function(a){if(null!=a)return $b(a),{suggestedFlushIntervalMillis:Xh(a,1,-1)}});var MB=function(a){VA.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.persistedLogExpiredCount=this.persistedLogRecoveredCount=this.numRetriesSinceLastSuccessfulFlush=this.numLogsDroppedSinceLastFlush=
0;this.sequencePosition=1;this.timeoutMillis=0;this.sendBeaconApiEnabled=!1;this.logSource=a.logSource;this.getAuthHeaderValue=a.getAuthHeaderValue||function(){};this.logRequestBuilder=new LB(a.logSource,a.isServiceWorkerScope);this.network=a.network;this.productID=a.productID||null;this.bufferSize=1E3;this.uniformRandomFunction=zt(mVb,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&&!!mB()&&!!mB().navigator&&void 0!==mB().navigator.sendBeacon;var c=hj(new EB,1,1);this.logRequestBuilder.setClientInfo(c);this.flushBackoff=new MWb(1E4);this.flushTimer=new yB(this.flushBackoff.getValue());a=cXb(this,a.backgroundJobDeferrer);cp(this.flushTimer,"tick",a,!1,this);this.backupTimer=new yB(6E5);cp(this.backupTimer,"tick",
a,!1,this);this.disableAutomaticFlush||this.backupTimer.start();this.isServiceWorkerScope||(cp(document,"visibilitychange",function(){"hidden"===document.visibilityState&&b.finalFlush()}),cp(document,"pagehide",this.finalFlush,!1,this))};Y(MB,VA);var cXb=function(a,b){return b?function(){b().then(function(){a.flush()})}:function(){a.flush()}};MB.prototype.disposeInternal=function(){this.finalFlush();this.flushTimer.stop();this.backupTimer.stop();VA.prototype.disposeInternal.call(this)};
MB.prototype.setClearcutUrl=function(a){this.clearcutUrl=a};MB.prototype.setUseConsistentTimezoneOffset=function(a){this.useConsistentTimezoneOffset=a};MB.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 NB=function(a,b){b instanceof HB?a.log(b):(b=YWb(new HB,b.serialize()),a.log(b))};g=MB.prototype;
g.setClearcutClientInfo=function(a){this.logRequestBuilder.setClientInfo(a)};g.setComponentId=function(a){this.componentId=a};g.setProductID=function(a){this.productID=a};g.setOpaqueExperimentIds=function(a){this.experimentIds||(this.experimentIds=new xB);Nb(this.experimentIds,2,a,Gca)};g.setClearExperimentIds=function(a){a?(this.experimentIds||(this.experimentIds=new xB),a=a.serialize(),gj(this.experimentIds,4,a)):this.experimentIds&&lm(this.experimentIds,4)};
g.setClientSideLogOnlyForDevelopment=function(a){this.clientSideLogOnlyForDevelopment=a};g.setGzipCompressor=function(a){this.gzipCompressor=a};g.setBuildLabel=function(a){this.logRequestBuilder.setBuildLabel(a)};g.setFlushIntervalMs=function(a){this.clientSpecifiedFlushInterval=!0;dXb(this,a)};var dXb=function(a,b){a.flushBackoff=new MWb(1>b?1:b);a.flushTimer.setInterval(a.flushBackoff.getValue())};
MB.prototype.log=function(a){a=a.clone();var b=this.sequencePosition++;a=nj(a,21,b);this.componentId&&a.setComponentId(this.componentId);Ni(a,1)||(b=Date.now(),b=Number.isFinite(b)?b.toString():"0",mj(a,1,b));Ti(a,15)||nj(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.maybeStartFlushTimer()};MB.prototype.maybeStartFlushTimer=function(){this.disableAutomaticFlush||this.flushTimer.enabled||this.flushTimer.start()};
MB.prototype.flush=function(a,b){var c=this;if(0===this.pendingEvents.length)a&&a();else if(this.sendBeaconApiEnabled)this.logRequestBuilder.setTransmissionType(3),eXb(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,this.persistedLogRecoveredCount,this.persistedLogExpiredCount);
d={};var f=this.getAuthHeaderValue();f&&(d.Authorization=f);var h=this.getClearcutUrl();this.sessionIndex&&(d["X-Goog-AuthUser"]=this.sessionIndex,h=AB(h,"authuser",this.sessionIndex));this.pageId&&(d["X-Goog-PageId"]=this.pageId,h=AB(h,"pageId",this.pageId));if(f&&this.lastFailedAuth===f)b&&b("stale-auth-token");else if(this.pendingEvents=[],this.flushTimer.enabled&&this.flushTimer.stop(),this.numLogsDroppedSinceLastFlush=0,this.clientSideLogOnlyForDevelopment)a&&a();else{var k=e.serialize(),q;this.gzipCompressor&&
this.gzipCompressor.getHiddenPropertyName_()&&(q=this.gzipCompressor.compress(k));var t={url:h,body:k,bodyType:1,requestHeaders:d,requestType:"POST",withCredentials:this.withCredentials,timeoutMillis:this.timeoutMillis},w=function(J){c.flushBackoff.reset();c.flushTimer.setInterval(c.flushBackoff.getValue());if(J){var I=null;try{var P=JSON.stringify(JSON.parse(J.replace(")]}'\n","")));I=$Wb(P)}catch(O){}I&&(J=Number(Oi(I,1,"-1")),0<J&&(c.startWaitingMs=Date.now(),c.noFlushUntilMs=c.startWaitingMs+
J),I=pda(I,bXb))&&(I=Xh(I,1,-1),-1!==I&&(c.clientSpecifiedFlushInterval||dXb(c,I)))}a&&a();c.numRetriesSinceLastSuccessfulFlush=0},y=function(J,I){var P=zi(e,HB,3),O=Ut(e,14),U=c.flushBackoff;U.currBaseValue_=Math.min(3E5,2*U.currBaseValue_);U.currValue_=Math.min(3E5,U.currBaseValue_+Math.round(.2*(Math.random()-.5)*U.currBaseValue_));c.flushTimer.setInterval(c.flushBackoff.getValue());401===J&&f&&(c.lastFailedAuth=f);O&&(c.numLogsDroppedSinceLastFlush+=O);void 0===I&&(I=500<=J&&600>J||401===J||0===
J);I&&(c.pendingEvents=P.concat(c.pendingEvents),c.maybeStartFlushTimer());b&&b("net-send-failed",J);++c.numRetriesSinceLastSuccessfulFlush},C=function(){c.network&&c.network.send(t,w,y)};q?q.then(function(J){t.requestHeaders["Content-Encoding"]="gzip";t.requestHeaders["Content-Type"]="application/binary";t.body=J;t.bodyType=2;C()},function(){C()}):C()}}}};
MB.prototype.finalFlush=function(){this.clientSideLogOnlyForDevelopment||(fXb(this.logRequestBuilder,!0),this.useSendBeaconForFinalFlush&&(this.logRequestBuilder.setTransmissionType(3),eXb(this)),this.useGetRequestForFinalFlush&&(this.logRequestBuilder.setTransmissionType(2),gXb(this)),this.flush(),fXb(this.logRequestBuilder,!1))};
var eXb=function(a){hXb(a,32,10,function(b,c){b=AB(b,"format","json");var d=!1;try{d=mB().navigator.sendBeacon(b,c.serialize())}catch(e){}a.sendBeaconApiEnabled&&!d&&(a.sendBeaconApiEnabled=!1);return d})},gXb=function(a){hXb(a,6,5,function(b,c){c=c.serialize();for(var d=[],e=0,f=0;f<c.length;f++){var h=c.charCodeAt(f);255<h&&(d[e++]=h&255,h>>=8);d[e++]=h}c=Caa(d,3);b=zB(b,"format","base64json","p",c);if(15360<b.length)return!1;(new Image).src=b;return!0})},hXb=function(a,b,c,d){if(0!==a.pendingEvents.length){var e=
a.getClearcutUrl();for(var f=e.search(UWb),h=0,k,q=[];0<=(k=TWb(e,h,"format",f));)q.push(e.substring(h,k)),h=Math.min(e.indexOf("&",k)+1||f,f);q.push(e.slice(h));e=q.join("").replace(WWb,"$1");e=zB(e,"auth",a.getAuthHeaderValue(),"authuser",a.sessionIndex||"0");for(f=0;f<c&&a.pendingEvents.length;++f){h=a.pendingEvents.slice(0,b);k=a.logRequestBuilder.build(h,a.numLogsDroppedSinceLastFlush,a.numRetriesSinceLastSuccessfulFlush,a.productID,a.persistedLogRecoveredCount,a.persistedLogExpiredCount);if(!d(e,
k)){++a.numRetriesSinceLastSuccessfulFlush;break}a.numLogsDroppedSinceLastFlush=0;a.numRetriesSinceLastSuccessfulFlush=0;a.persistedLogRecoveredCount=0;a.persistedLogExpiredCount=0;a.pendingEvents=a.pendingEvents.slice(h.length)}a.flushTimer.enabled&&a.flushTimer.stop()}},LB=function(a,b){this.isServiceWorkerScope=b=void 0===b?!1:b;this.uach=this.locale=null;this.logRequest=new ZWb;Number.isInteger(a)&&this.logRequest.setLogSource(a);b||(this.locale=document.documentElement.getAttribute("lang"));
this.setClientInfo(new EB)};LB.prototype.setLogSource=function(a){this.logRequest.setLogSource(a);return this};LB.prototype.setClientInfo=function(a){this.logRequest.setClientInfo(a);ds(a,1)||hj(a,1,1);this.isServiceWorkerScope||(a=this.getMutableJsClientInfo(),a.getLocale()||a.setLocale(this.locale));this.uach&&(a=this.getMutableJsClientInfo(),vi(a,CB,9)||ej(a,CB,9,this.uach))};LB.prototype.setBuildLabel=function(a){this.getMutableJsClientInfo().setBuildLabel(a)};
LB.prototype.setTransmissionType=function(a){Pi(this.getMutableClientInfo(),DB,11)&&this.getMutableFlushInfo().setTransmissionType(a)};var fXb=function(a,b){Pi(a.getMutableClientInfo(),DB,11)&&(a=a.getMutableFlushInfo(),cj(a,2,b))};LB.prototype.setRetryCount=function(a){Pi(this.getMutableClientInfo(),DB,11)&&this.getMutableFlushInfo().setRetryCount(a)};LB.prototype.setPersistedLogRecoveredCount=function(a){Pi(this.getMutableClientInfo(),DB,11)&&this.getMutableFlushInfo().setPersistedLogRecoveredCount(a)};
LB.prototype.setPersistedLogExpiredCount=function(a){Pi(this.getMutableClientInfo(),DB,11)&&this.getMutableFlushInfo().setPersistedLogExpiredCount(a)};LB.prototype.getMutableClientInfo=function(){return this.logRequest.getClientInfo()};var iXb=function(a,b){var c=void 0===c?XWb:c;b(mB(),c).then(function(d){a.uach=d;d=a.getMutableJsClientInfo();ej(d,CB,9,a.uach);return!0}).catch(function(){return!1})};
LB.prototype.getMutableJsClientInfo=function(){var a=this.getMutableClientInfo(),b=vi(a,DB,11);b||(b=new DB,ej(a,DB,11,b));return b};LB.prototype.getMutableFlushInfo=function(){var a=this.getMutableJsClientInfo(),b=vi(a,BB,10);b||(b=new BB,cj(b,2,!1),ej(a,BB,10,b));return b};LB.prototype.getComplianceData=function(a){var b=new KWb;a=dj(b,13,a);b=new LWb;a=ej(b,KWb,2,a);b=new GB;a=ej(b,LWb,1,a);return hj(a,2,9)};
LB.prototype.build=function(a,b,c,d,e,f){b=void 0===b?0:b;e=void 0===e?0:e;f=void 0===f?0:f;this.setRetryCount(void 0===c?0:c);this.setPersistedLogRecoveredCount(e);this.setPersistedLogExpiredCount(f);c=this.logRequest.clone();e=Date.now().toString();c=mj(c,4,e);a=Zl(c,3,a);d&&a.setComplianceData(this.getComplianceData(d));b&&nj(a,14,b);return a};var jXb=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,""))},kXb=function(a){try{return da.JSON.parse(a)}catch(b){}a=String(a);if(jXb(a))try{return eval("("+a+")")}catch(b){}throw Error("xb`"+a);},mXb=function(a,b){return(new lXb(b)).serialize(a)},lXb=function(a){this.replacer_=
a};lXb.prototype.serialize=function(a){var b=[];nXb(this,a,b);return b.join("")};
var nXb=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="",f=0;f<b;f++)c.push(e),e=d[f],nXb(a,a.replacer_?a.replacer_.call(d,String(f),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");f="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(f),oXb(d,c),c.push(":"),nXb(a,a.replacer_?a.replacer_.call(b,
d,e):e,c),f=","));c.push("}");return}}switch(typeof b){case "string":oXb(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("yb`"+typeof b);}}},pXb={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},qXb=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,oXb=function(a,b){b.push('"',a.replace(qXb,
function(c){var d=pXb[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),pXb[c]=d);return d}),'"')};var rXb=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 sXb=function(){};sXb.prototype.cachedOptions_=null;sXb.prototype.getOptions=function(){return this.cachedOptions_||(this.cachedOptions_=this.internalGetOptions())};var tXb,uXb=function(){};At(uXb,sXb);uXb.prototype.createInstance=function(){var a=vXb(this);return a?new ActiveXObject(a):new XMLHttpRequest};uXb.prototype.internalGetOptions=function(){var a={};vXb(this)&&(a[0]=!0,a[1]=!0);return a};
var vXb=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("zb");}return a.ieProgId_};tXb=new uXb;var OB=function(a){bp.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.attributionReportingOptions_=this.trustToken_=null};At(OB,bp);
var wXb=/^https?$/i,xXb=["POST","PUT"],yXb=[],to=function(a,b,c,d,e,f,h){var k=new OB;yXb.push(k);b&&k.listen("complete",b);k.listenOnce("ready",k.cleanupSend_);f&&(k.timeoutInterval_=Math.max(0,f));h&&(k.withCredentials_=h);k.send(a,c,d,e);return k};OB.prototype.cleanupSend_=function(){this.dispose();va(yXb,this)};OB.prototype.setTrustToken=function(a){this.trustToken_=a};OB.prototype.setAttributionReporting=function(a){this.attributionReportingOptions_=a};
OB.prototype.send=function(a,b,c,d){if(this.xhr_)throw Error("Ab`"+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():tXb.getOptions();this.xhr_.onreadystatechange=yt(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=l(d.keys());for(var f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.get(f))}else throw Error("Bb`"+String(d));d=Array.from(c.keys()).find(function(h){return"content-type"==h.toLowerCase()});e=da.FormData&&a instanceof da.FormData;!ta(xXb,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=l(c);for(d=
b.next();!d.done;d=b.next())c=l(d.value),d=c.next().value,c=c.next().value,this.xhr_.setRequestHeader(d,c);this.responseType_&&(this.xhr_.responseType=this.responseType_);"withCredentials"in this.xhr_&&this.xhr_.withCredentials!==this.withCredentials_&&(this.xhr_.withCredentials=this.withCredentials_);if("setTrustToken"in this.xhr_&&this.trustToken_)try{this.xhr_.setTrustToken(this.trustToken_)}catch(h){}if("setAttributionReporting"in this.xhr_&&this.attributionReportingOptions_)try{this.xhr_.setAttributionReporting(this.attributionReportingOptions_)}catch(h){}try{zXb(this),
0<this.timeoutInterval_&&((this.useXhr2Timeout_=AXb(this.xhr_))?(this.xhr_.timeout=this.timeoutInterval_,this.xhr_.ontimeout=yt(this.timeout_,this)):this.timeoutId_=cq(this.timeout_,this.timeoutInterval_,this)),this.inSend_=!0,this.xhr_.send(a),this.inSend_=!1}catch(h){this.error_(5,h)}};var AXb=function(a){return Hq&&"number"===typeof a.timeout&&void 0!==a.ontimeout};OB.prototype.createXhr=function(){return this.xmlHttpFactory_?this.xmlHttpFactory_.createInstance():tXb.createInstance()};
OB.prototype.timeout_=function(){"undefined"!=typeof TJb&&this.xhr_&&(this.lastError_="Timed out after "+this.timeoutInterval_+"ms, aborting",this.lastErrorCode_=8,this.dispatchEvent("timeout"),this.abort(8))};OB.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;BXb(this);CXb(this)};var BXb=function(a){a.errorDispatched_||(a.errorDispatched_=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
OB.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"),CXb(this))};OB.prototype.disposeInternal=function(){this.xhr_&&(this.active_&&(this.active_=!1,this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1),CXb(this,!0));OB.superClass_.disposeInternal.call(this)};
OB.prototype.onReadyStateChange_=function(){if(!this.isDisposed())if(this.inOpen_||this.inSend_||this.inAbort_)DXb(this);else this.onReadyStateChangeEntryPoint_()};OB.prototype.onReadyStateChangeEntryPoint_=function(){DXb(this)};
var DXb=function(a){if(a.active_&&"undefined"!=typeof TJb&&(!a.xhrOptions_[1]||4!=a.getReadyState()||2!=a.getStatus()))if(a.inSend_&&4==a.getReadyState())cq(a.onReadyStateChange_,0,a);else if(a.dispatchEvent("readystatechange"),a.isComplete()){a.active_=!1;try{if(a.isSuccess())a.dispatchEvent("complete"),a.dispatchEvent("success");else{a.lastErrorCode_=6;try{var b=2<a.getReadyState()?a.xhr_.statusText:""}catch(c){b=""}a.lastError_=b+" ["+a.getStatus()+"]";BXb(a)}}finally{CXb(a)}}},CXb=function(a,
b){if(a.xhr_){zXb(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){}}},zXb=function(a){a.xhr_&&a.useXhr2Timeout_&&(a.xhr_.ontimeout=null);a.timeoutId_&&(dq(a.timeoutId_),a.timeoutId_=null)};g=OB.prototype;g.isActive=function(){return!!this.xhr_};g.isComplete=function(){return 4==this.getReadyState()};
g.isSuccess=function(){var a=this.getStatus();a:switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var b=!0;break a;default:b=!1}if(!b){if(a=0===a)a=String(this.lastUri_).match(NWb)[1]||null,!a&&da.self&&da.self.location&&(a=da.self.location.protocol.slice(0,-1)),a=!wXb.test(a?a.toLowerCase():"");b=a}return b};g.getReadyState=function(){return this.xhr_?this.xhr_.readyState:0};g.getStatus=function(){try{return 2<this.getReadyState()?this.xhr_.status:-1}catch(a){return-1}};
g.getLastUri=function(){return String(this.lastUri_)};g.getResponseText=function(){try{return this.xhr_?this.xhr_.responseText:""}catch(a){return""}};g.getResponseJson=function(a){if(this.xhr_){var b=this.xhr_.responseText;a&&0==b.indexOf(a)&&(b=b.substring(a.length));a:{a=b;if(da.JSON)try{var c=da.JSON.parse(a);break a}catch(d){}c=kXb(a)}return c}};
g.getResponse=function(){try{if(!this.xhr_)return null;if("response"in this.xhr_)return this.xhr_.response;switch(this.responseType_){case "":case "text":return this.xhr_.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in this.xhr_)return this.xhr_.mozResponseArrayBuffer}return null}catch(a){return null}};g.getResponseHeader=function(a){if(this.xhr_&&this.isComplete())return a=this.xhr_.getResponseHeader(a),null===a?void 0:a};
g.getAllResponseHeaders=function(){return this.xhr_&&2<=this.getReadyState()?this.xhr_.getAllResponseHeaders()||"":""};g.getResponseHeaders=function(){for(var a={},b=this.getAllResponseHeaders().split("\r\n"),c=0;c<b.length;c++)if(!Ei(b[c])){var d=LMb(b[c]),e=d[0];d=d[1];if("string"===typeof d){d=d.trim();var f=a[e]||[];a[e]=f;f.push(d)}}return vda(a,function(h){return h.join(", ")})};var Ph=function(a,b){return a.xhr_?a.xhr_.getResponseHeader(b):null};OB.prototype.getLastErrorCode=function(){return this.lastErrorCode_};
OB.prototype.getLastError=function(){return"string"===typeof this.lastError_?this.lastError_:String(this.lastError_)};TUb(function(a){OB.prototype.onReadyStateChangeEntryPoint_=a(OB.prototype.onReadyStateChangeEntryPoint_)});var EXb=function(){};EXb.prototype.send=function(a,b,c){b=void 0===b?function(){}:b;c=void 0===c?function(){}:c;to(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 $o=function(a,b){VA.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 EXb};Y($o,VA);g=$o.prototype;g.setBuildLabel=function(a){this.buildLabel=a};g.setGzipCompressor=function(a){this.gzipCompressor=a};
g.setComponentId=function(a){this.componentId=a;return this};g.setProductID=function(a){this.productID=a};g.setClearExperimentIds=function(a){this.clearExperimentIds=a};g.setOpaqueExperimentIds=function(a){this.opaqueExperimentIds=a};g.setClearcutClientInfo=function(a){this.clearcutClientInfo=a};g.useSendBeaconForFinalFlush=function(){this.sendBeaconForFinalFlush=!0;return this};g.useGetRequestForFinalFlush=function(){this.getRequestForFinalFlush=!0;return this};
g.setFlushIntervalMs=function(a){this.flushIntervalMs=Math.max(a,1E3)};g.disableWithCredentials=function(){this.withCredentialsDisabled=!0;return this};g.setUseConsistentTimezoneOffset=function(a){this.useConsistentTimezoneOffset=a};
g.build=function(){var a=new MB({logSource:this.logSource,getAuthHeaderValue:this.getAuthHeaderValue?this.getAuthHeaderValue:Wo,sessionIndex:this.sessionIndex,urlOverride:this.destinationUrl,isServiceWorkerScope:this.serviceWorkerScopeEnabled,disableAutomaticFlush:!1,disableWithCredentials:this.withCredentialsDisabled,pageId:this.pageId,backgroundJobDeferrer:this.backgroundJobDeferrer,network:this.network?this.network:void 0});WA(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&&iXb(a.logRequestBuilder,this.userAgentClientHintsProvider);this.useConsistentTimezoneOffset&&a.setUseConsistentTimezoneOffset(!0);this.network.setLogSource&&this.network.setLogSource(this.logSource);this.network.setTransportReferenceAndAttemptFlush&&this.network.setTransportReferenceAndAttemptFlush(a);
return a};var PB=function(a,b,c,d,e,f){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;VA.call(this);this.logSource=a;this.componentId=b;f?c=f:(a=(new $o(a,"0")).setComponentId(b),WA(this,a),""!==c&&(a.destinationUrl=c),d&&(a.serviceWorkerScopeEnabled=!0),e&&a.setBuildLabel(e),c=a.build());this.transport=c};Y(PB,VA);PB.prototype.getLogSource=function(){return this.logSource};PB.prototype.getComponentId=function(){return this.componentId};
PB.prototype.flush=function(a){a=a||[];if(a.length){for(var b=new AWb,c=[],d=0;d<a.length;d++){var e=a[d];var f=new wB;f=gj(f,1,e.metricName_);for(var h=[],k=0;k<e.fields_.length;k++)h.push(e.fields_[k].field_name);f=pj(f,3,h);h=[];k=[];for(var q=l(e.cellMap_.keys()),t=q.next();!t.done;t=q.next())k.push(t.value.split(","));for(q=0;q<k.length;q++){t=k[q];var w=e.cellType_;for(var y=e.getCells(t)||[],C=[],J=0;J<y.length;J++){var I=y[J],P=I&&I.cellValue;I=new xWb;switch(w){case 3:P=Number(P);Number.isFinite(P)&&
nl(I,1,yWb,sb(P));break;case 2:nl(I,2,yWb,kb(Number(P)))}C.push(I)}w=C;for(y=0;y<w.length;y++){C=w[y];J=new zWb;C=ej(J,xWb,2,C);J=t;I=[];P=[];for(var O=0;O<e.fields_.length;O++)P.push(e.fields_[O].field_type);for(O=0;O<P.length;O++){var U=P[O],aa=J[O],na=new vWb;switch(U){case 3:vl(na,1,wWb,String(aa));break;case 2:U=Number(aa);Number.isFinite(U)&&nl(na,2,wWb,null==U?U:ob(U));break;case 1:nl(na,3,wWb,mb("true"===aa))}I.push(na)}Zl(C,1,I);h.push(C)}}Zl(f,4,h);c.push(f);e.clear()}Zl(b,1,c);NB(this.transport,
b);this.transport.flush()}};var FXb=new bd("PRODUCTION_ALLOWLIST",{factory:function(){return"l2YMRd lfR6bb iQyyte LhFyIb aVezrf i1iYkd dVgi5c kMzkoe pglXEd AbcbBc Yc0Dnb cvLsDf UAiaPe NdZs2d elAd5d q7HsZb kbrYBc qX517e KmD3Se w0tcsb".split(" ")}}),GXb=new bd("STREAMZ_PRODUCT_IDENTIFIER"),HXb=new bd("STREAMZ_ALLOWLIST_IDENTIFIER"),IXb=new bd("one_developer_workflow.streamz_service",{providedIn:"root",factory:function(){return Nc(ef).runOutsideAngular(function(){var a=new PB(1503);a=new jWb(a);a.flushInterval=1E4;a.flushTimer.setInterval(1E4);
return a})}}),QB=function(a,b,c,d,e){this.streamzService=a;this.zone=b;this.oneDeveloperWorkflowUsageMetrics=new mWb(this.streamzService);new nWb(this.streamzService);new oWb(this.streamzService);new pWb(this.streamzService);this.productIdentifier=d||window.location.hostname;this.productionAllowlist=c.map(uWb);this.allowlistIdentifier=tWb(null!=e?e:this.productIdentifier)},KXb=function(a,b,c){a.zone.runOutsideAngular(function(){JXb(a)&&a.oneDeveloperWorkflowUsageMetrics.increment(b,a.productIdentifier,
c)})},JXb=function(a){return a.productionAllowlist.some(function(b){return a.allowlistIdentifier===b})};QB.\u0275fac=function(a){return new (a||QB)(p(IXb),p(ef),p(FXb),p(GXb,8),p(HXb,8))};QB.\u0275prov=Dc({token:QB,factory:QB.\u0275fac,providedIn:"root"});var LXb=new bd("Feature Tooltip Controller Config");new bd("TooltipAnchor");new bd("TooltipPeventer");var MXb=new bd("MatMenuContent");var NXb=new bd("MAT_MENU_PANEL");var OXb=new bd("mat-menu-default-options",{providedIn:"root",factory:Vqa});var PXb=new bd("mat-menu-scroll-strategy",{providedIn:"root",factory:function(){var a=Nc(oy);return function(){return a.scrollStrategies.reposition()}}});Og({passive:!0});var QXb=ih("transformMenu",[lh("void",kh({opacity:0,transform:"scale(0.8)"})),nh("void => enter",jh("120ms cubic-bezier(0, 0, 0.2, 1)",kh({opacity:1,transform:"scale(1)"}))),nh("* => void",jh("100ms 25ms linear",kh({opacity:0})))]),RXb=ih("fadeInItems",[lh("showing",kh({opacity:1})),nh("void => *",[kh({opacity:0}),jh("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])]);var RB=function(a,b,c,d,e,f,h){this._template=a;this._componentFactoryResolver=b;this._appRef=c;this._injector=d;this._viewContainerRef=e;this._document=f;this._changeDetectorRef=h;this._attached=new E.Subject};
RB.prototype.attach=function(a){a=void 0===a?{}:a;this._portal||(this._portal=new iy(this._template,this._viewContainerRef));this.detach();this._outlet||(this._outlet=new ky(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()};
RB.prototype.detach=function(){this._portal.isAttached&&this._portal.detach()};RB.prototype.ngOnDestroy=function(){this._outlet&&this._outlet.dispose()};RB.\u0275fac=function(a){return new (a||RB)(B(kg),B(Bu),B(Qv),B(ff),B(lg),B(Xg),B(Fu))};RB.\u0275dir=Vc({type:RB});var SXb=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],TXb=Ih(Jh(function(){})),SB=function(a,b,c,d,e){var f=TXb.call(this)||this;f._elementRef=a;f._document=b;f._focusMonitor=c;f._parentMenu=d;f._changeDetectorRef=e;f.role="menuitem";f._hovered=new E.Subject;f._focused=new E.Subject;f._highlighted=!1;f._triggersSubmenu=!1;var h;null==d||null==(h=d.addItem)||h.call(d,f);return f};Y(SB,TXb);g=SB.prototype;
g.focus=function(a,b){this._focusMonitor&&a?Zw(this._focusMonitor,this._getHostElement(),a,b):this._getHostElement().focus(b);this._focused.next(this)};g.ngAfterViewInit=function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)};g.ngOnDestroy=function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef);this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this);this._hovered.complete();this._focused.complete()};
g._getTabIndex=function(){return this.disabled?"-1":"0"};g._getHostElement=function(){return this._elementRef.nativeElement};g._checkDisabled=function(a){this.disabled&&(a.preventDefault(),a.stopPropagation())};g._handleMouseEnter=function(){this._hovered.next(this)};g.getLabel=function(){for(var a=this._elementRef.nativeElement.cloneNode(!0),b=a.querySelectorAll("mat-icon, .material-icons"),c=0;c<b.length;c++)b[c].remove();var d;return(null==(d=a.textContent)?void 0:d.trim())||""};
g._setHighlighted=function(a){this._highlighted=a;var b;null==(b=this._changeDetectorRef)||b.markForCheck()};g._setTriggersSubmenu=function(a){this._triggersSubmenu=a;var b;null==(b=this._changeDetectorRef)||b.markForCheck()};g._hasFocus=function(){return this._document&&this._document.activeElement===this._getHostElement()};SB.\u0275fac=function(a){return new (a||SB)(B(Hd),B(Xg),B(Yw),B(NXb,8),B(Fu))};
SB.\u0275cmp=r({type:SB,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator"],hostVars:9,hostBindings:function(a,b){a&1&&Q("click",function(c){return b._checkDisabled(c)})("mouseenter",function(){return b._handleMouseEnter()});a&2&&(Af("role",b.role)("tabindex",b._getTabIndex())("aria-disabled",b.disabled)("disabled",b.disabled||null)("mat-id-collision",null),Jf("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:[yf],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&&(Vf(SXb),Wf(0),H(1,"span",0),Wf(2,1),K(),L(3,"div",1),F(4,Wqa,2,0,"svg",2));a&2&&(A(3),G("matRippleDisabled",b.disableRipple||b.disabled)("matRippleTrigger",b._getHostElement()),A(1),G("ngIf",b._triggersSubmenu))},dependencies:[Uv,sz],encapsulation:2,changeDetection:0});var UXb=0,TB=function(a,b,c,d){this._elementRef=a;this._ngZone=b;this._changeDetectorRef=d;this._directDescendantItems=new rg;this._classList={};this._panelAnimationState="void";this._animationDone=new E.Subject;this.close=this.closed=new mv;this.panelId="mat-menu-panel-"+UXb++;this.overlayPanelClass=c.overlayPanelClass||"";this._xPosition=c.xPosition;this._yPosition=c.yPosition;this.backdropClass=c.backdropClass;this._overlapTrigger=c.overlapTrigger;this._hasBackdrop=c.hasBackdrop};g=TB.prototype;
g.ngOnInit=function(){this.setPositionClasses()};
g.ngAfterContentInit=function(){var a=this;this._updateDirectDescendants();this._keyManager=Ax(oQb(xx(new Dx(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,u(b.map(function(c){return c._focused})))})).subscribe(function(b){return Bx(a._keyManager,b)});this._directDescendantItems.changes.subscribe(function(b){var c=a._keyManager,
d;"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())})};g.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._directDescendantItems.destroy();this.closed.complete();var b;null==(b=this._firstItemFocusSubscription)||b.unsubscribe()};
g._hovered=function(){return this._directDescendantItems.changes.pipe($e(this._directDescendantItems),af(function(a){return E.merge.apply(null,u(a.map(function(b){return b._hovered})))}))};g.addItem=function(){};g.removeItem=function(){};
g._handleKeydown=function(a){var b=a.keyCode,c=this._keyManager;switch(b){case 27:Mg(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||rQb(c,"keyboard");c.onKeydown(a);return}a.stopPropagation()};
var VXb=function(a,b){b=void 0===b?"program":b;var c;null==(c=a._firstItemFocusSubscription)||c.unsubscribe();a._firstItemFocusSubscription=a._ngZone.onStable.pipe(Qe()).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;rQb(e,b)._setActiveItemByIndex(0,1);!e.activeItem&&d&&d.focus()}})};g=TB.prototype;
g.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)};
g.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()};g._startAnimation=function(){this._panelAnimationState="enter"};g._resetAnimation=function(){this._panelAnimationState="void"};
g._onAnimationDone=function(a){this._animationDone.next(a);this._isAnimating=!1};g._onAnimationStart=function(a){this._isAnimating=!0;"enter"===a.toState&&0===this._keyManager.activeItemIndex&&(a.element.scrollTop=0)};g._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}));mg(a._directDescendantItems)})};
Gh.Object.defineProperties(TB.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=Sg(a)}},hasBackdrop:{configurable:!0,enumerable:!0,
get:function(){return this._hasBackdrop},set:function(a){this._hasBackdrop=Sg(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}}});
TB.\u0275fac=function(a){return new (a||TB)(B(Hd),B(ef),B(OXb),B(Fu))};
TB.\u0275dir=Vc({type:TB,contentQueries:function(a,b,c){a&1&&(pg(c,MXb,5),pg(c,SB,5),pg(c,SB,4));if(a&2){var d;ng(d=qg())&&(b.lazyContent=d.first);ng(d=qg())&&(b._allItems=d);ng(d=qg())&&(b.items=d)}},viewQuery:function(a,b){a&1&&og(kg,5);if(a&2){var c;ng(c=qg())&&(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 WXb={provide:PXb,deps:[oy],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},XXb=Og({passive:!0}),UB=function(a,b,c,d,e,f,h,k,q){var t=this;this._overlay=a;this._element=b;this._viewContainerRef=c;this._menuItemInstance=f;this._dir=h;this._focusMonitor=k;this._ngZone=q;this._overlayRef=null;this._menuOpen=!1;this._menuCloseSubscription=this._hoverSubscription=this._closingActionsSubscription=E.Subscription.EMPTY;this._changeDetectorRef=Nc(Fu);this._handleTouchStart=
function(w){Ina(w)||(t._openedBy="touch")};this._openedBy=void 0;this.restoreFocus=!0;this.onMenuOpen=this.menuOpened=new mv;this.onMenuClose=this.menuClosed=new mv;this._scrollStrategy=d;this._parentMaterialMenu=e instanceof TB?e:void 0;b.nativeElement.addEventListener("touchstart",this._handleTouchStart,XXb)};UB.prototype.ngAfterContentInit=function(){this._handleHover()};
UB.prototype.ngOnDestroy=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null);this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,XXb);this._menuCloseSubscription.unsubscribe();this._closingActionsSubscription.unsubscribe();this._hoverSubscription.unsubscribe()};var VB=function(a){return!!(a._menuItemInstance&&a._parentMaterialMenu&&a.menu)};g=UB.prototype;
g.openMenu=function(){var a=this,b=this.menu;if(!this._menuOpen&&b){var c=this._createOverlay(b),d=c.getConfig(),e=d.positionStrategy;this._setPosition(b,e);d.hasBackdrop=null==b.hasBackdrop?!VB(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 TB&&(b._startAnimation(),b._directDescendantItems.changes.pipe(bf(b.close)).subscribe(function(){DQb(HQb(e,
!1));HQb(e,!0)}))}};g.closeMenu=function(){var a;null==(a=this.menu)||a.close.emit()};g.focus=function(a,b){this._focusMonitor&&a?Zw(this._focusMonitor,this._element,a,b):this._element.nativeElement.focus(b)};g.updatePosition=function(){var a;null==(a=this._overlayRef)||a.updatePosition()};
g._destroyMenu=function(a){var b=this;if(this._overlayRef&&this.menuOpen){var c=this.menu;this._closingActionsSubscription.unsubscribe();this._overlayRef.detach();!this.restoreFocus||"keydown"!==a&&this._openedBy&&VB(this)||this.focus(this._openedBy);this._openedBy=void 0;if(c instanceof TB)c._resetAnimation(),c.lazyContent?c._animationDone.pipe(He(function(e){return"void"===e.toState}),Qe(),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()}}};g._initMenu=function(a){a.parentMenu=VB(this)?this._parentMaterialMenu:void 0;a.direction=this.dir;this._setMenuElevation(a);VXb(a,this._openedBy||"program");this._setIsMenuOpen(!0)};g._setMenuElevation=function(a){if(a.setElevation){for(var b=0,c=a.parentMenu;c;)b++,c=c.parentMenu;a.setElevation(b)}};
g._setIsMenuOpen=function(a){a!==this._menuOpen&&((this._menuOpen=a)?this.menuOpened.emit():this.menuClosed.emit(),VB(this)&&this._menuItemInstance._setHighlighted(a),this._changeDetectorRef.markForCheck())};g._createOverlay=function(a){if(!this._overlayRef){var b=this._getOverlayConfig(a);this._subscribeToPositions(a,b.positionStrategy);this._overlayRef=this._overlay.create(b);this._overlayRef.keydownEvents().subscribe()}return this._overlayRef};
g._getOverlayConfig=function(a){return new Wx({positionStrategy:IQb(FQb(HQb(fy(this._overlay.position(),this._element))),".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:a.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:a.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})};
g._subscribeToPositions=function(a,b){var c=this;a.setPositionClasses&&b.positionChanges.subscribe(function(d){var e="start"===d.connectionPair.overlayX?"after":"before",f="top"===d.connectionPair.overlayY?"below":"above";c._ngZone?c._ngZone.run(function(){return a.setPositionClasses(e,f)}):a.setPositionClasses(e,f)})};
g._setPosition=function(a,b){var c=l("before"===a.xPosition?["end","start"]:["start","end"]),d=c.next().value;c=c.next().value;var e=l("above"===a.yPosition?["bottom","top"]:["top","bottom"]),f=e.next().value;e=e.next().value;var h=l([f,e]),k=h.next().value;h=h.next().value;var q=l([d,c]),t=q.next().value;q=q.next().value;var w=0;VB(this)?(q=d="before"===a.xPosition?"start":"end",c=t="end"===d?"start":"end",this._parentMaterialMenu&&(null==this._parentInnerPadding&&(this._parentInnerPadding=(a=this._parentMaterialMenu.items.first)?
a._getHostElement().offsetTop:0),w="bottom"===f?this._parentInnerPadding:-this._parentInnerPadding)):a.overlapTrigger||(k="top"===f?"bottom":"top",h="top"===e?"bottom":"top");Zx(b,[{originX:d,originY:k,overlayX:t,overlayY:f,offsetY:w},{originX:c,originY:k,overlayX:q,overlayY:f,offsetY:w},{originX:d,originY:h,overlayX:t,overlayY:e,offsetY:-w},{originX:c,originY:h,overlayX:q,overlayY:e,offsetY:-w}])};
g._menuClosingActions=function(){var a=this,b=this._overlayRef.backdropClick(),c=this._overlayRef._detachments,d=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,E.of)(),e=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(He(function(f){return f!==a._menuItemInstance}),He(function(){return a._menuOpen})):(0,E.of)();return(0,E.merge)(b,d,e,c)};g._handleMousedown=function(a){Hna(a)||(this._openedBy=0===a.button?"mouse":void 0,VB(this)&&a.preventDefault())};
g._handleKeydown=function(a){a=a.keyCode;if(13===a||32===a)this._openedBy="keyboard";VB(this)&&(39===a&&"ltr"===this.dir||37===a&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())};g._handleClick=function(a){VB(this)?(a.stopPropagation(),this.openMenu()):this._menuOpen?this.closeMenu():this.openMenu()};
g._handleHover=function(){var a=this;VB(this)&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(He(function(b){return b===a._menuItemInstance&&!b.disabled}),Oe(0,E.asapScheduler)).subscribe(function(){a._openedBy="mouse";a.menu instanceof TB&&a.menu._isAnimating?a.menu._animationDone.pipe(Qe(),Oe(0,E.asapScheduler),bf(a._parentMaterialMenu._hovered())).subscribe(function(){return a.openMenu()}):a.openMenu()}))};
g._getPortal=function(a){this._portal&&this._portal.templateRef===a.templateRef||(this._portal=new iy(a.templateRef,this._viewContainerRef));return this._portal};
Gh.Object.defineProperties(UB.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(VB(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"}}});UB.\u0275fac=function(a){return new (a||UB)(B(oy),B(Hd),B(lg),B(PXb),B(NXb,8),B(SB,10),B(Nx,8),B(Yw),B(ef))};
UB.\u0275dir=Vc({type:UB,hostVars:3,hostBindings:function(a,b){a&1&&Q("click",function(c){return b._handleClick(c)})("mousedown",function(c){return b._handleMousedown(c)})("keydown",function(c){return b._handleKeydown(c)});a&2&&Af("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 WB=function(){RB.apply(this,arguments)};Y(WB,RB);WB.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(WB)))(b||WB)}}();WB.\u0275dir=Vc({type:WB,selectors:[["ng-template","matMenuContent",""]],features:[bg([{provide:MXb,useExisting:WB}]),yf]});var XB=function(){return SB.apply(this,arguments)||this};Y(XB,SB);XB.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(XB)))(b||XB)}}();
XB.\u0275cmp=r({type:XB,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:21,hostBindings:function(a,b){a&2&&(Af("role",b.role)("tabindex",b._getTabIndex())("aria-disabled",b.disabled.toString())("disabled",b.disabled||null)("mat-id-collision",null),Jf("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:[bg([{provide:SB,useExisting:XB}]),yf],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&&(Vf(),Wf(0),L(1,"div",0),F(2,Xqa,2,0,"svg",1));a&2&&(A(1),G("matRippleDisabled",b.disableRipple||b.disabled)("matRippleTrigger",b._getHostElement()),A(1),G("ngIf",b._triggersSubmenu))},dependencies:[Uv,sz],encapsulation:2,changeDetection:0});var YB=function(){UB.apply(this,arguments)};Y(YB,UB);YB.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(YB)))(b||YB)}}();YB.\u0275dir=Vc({type:YB,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[yf]});var ZB=function(a,b,c,d){TB.call(this,a,b,c,d);this._elevationPrefix="mat-elevation-z";this._baseElevation=4};Y(ZB,TB);ZB.\u0275dir=TB.\u0275dir;ZB.\u0275fac=function(a){return new (a||ZB)(B(Hd),B(ef),B(OXb),B(Fu))};
ZB.\u0275cmp=r({type:ZB,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:4,hostBindings:function(a){a&2&&Af("aria-label",null)("aria-labelledby",null)("aria-describedby",null)("mat-id-collision",null)},exportAs:["matMenu"],features:[bg([{provide:NXb,useExisting:ZB}]),yf],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&&(Vf(),F(0,Yqa,3,6,"ng-template"))},
dependencies:[Sv],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:[QXb,RXb]},changeDetection:0});var $B=function(){};$B.\u0275fac=function(a){return new (a||$B)};$B.\u0275mod=Tc({type:$B});$B.\u0275inj=Ec({providers:[WXb],imports:[hw,jz,uz,ry,Tx,jz]});var YXb=new bd("mat-tooltip-scroll-strategy",{providedIn:"root",factory:function(){var a=Nc(oy);return function(){return a.scrollStrategies.reposition({scrollThrottle:20})}}}),ZXb=new bd("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});Og({passive:!0});var $Xb={provide:YXb,deps:[oy],useFactory:function(a){return function(){return a.scrollStrategies.reposition({scrollThrottle:20})}}},aYb=Og({passive:!0}),aC=function(a,b,c,d,e,f,h,k,q,t,w,y){var C=this;this._overlay=a;this._elementRef=b;this._scrollDispatcher=c;this._viewContainerRef=d;this._ngZone=e;this._platform=f;this._ariaDescriber=h;this._focusMonitor=k;this._dir=t;this._defaultOptions=w;this._position="below";this._pointerExitEventsInitialized=this._viewInitialized=this._disabled=this._positionAtOrigin=
!1;this._viewportMargin=8;this._cssClassPrefix="mat";this.touchGestures="auto";this._message="";this._passiveListeners=[];this._destroyed=new E.Subject;this._scrollStrategy=q;this._document=y;w&&(this._showDelay=w.showDelay,this._hideDelay=w.hideDelay,w.position&&(this.position=w.position),w.positionAtOrigin&&(this.positionAtOrigin=w.positionAtOrigin),w.touchGestures&&(this.touchGestures=w.touchGestures));t.change.pipe(bf(this._destroyed)).subscribe(function(){C._overlayRef&&C._updatePosition(C._overlayRef)})};
g=aC.prototype;g.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)})})};
g.ngOnDestroy=function(){var a=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout);this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null);this._passiveListeners.forEach(function(b){var c=l(b);b=c.next().value;c=c.next().value;a.removeEventListener(b,c,aYb)});this._passiveListeners.length=0;this._destroyed.next();this._destroyed.complete();rx(this._ariaDescriber,a,this.message,"tooltip");this._focusMonitor.stopMonitoring(a)};
g.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 hy(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)};g.hide=function(a){a=void 0===a?this.hideDelay:a;var b=this._tooltipInstance;b&&(b.isVisible()?b.hide(a):(b._cancelPendingAnimations(),this._detach()))};g.toggle=function(a){this._isTooltipVisible()?this.hide():this.show(void 0,a)};g._isTooltipVisible=function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()};
g._createOverlay=function(a){var b=this;if(this._overlayRef){var c=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!a)&&c._origin instanceof Hd)return this._overlayRef;this._detach()}c=uQb(this._scrollDispatcher,this._elementRef);a=EQb(ay(by(IQb(fy(this._overlay.position(),this.positionAtOrigin?a||this._elementRef:this._elementRef),".mat-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:"mat-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&&!Mg(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("mat-tooltip-panel-non-interactive");return this._overlayRef};
g._detach=function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach();this._tooltipInstance=null};g._updatePosition=function(a){a=a.getConfig().positionStrategy;var b=this._getOrigin(),c=this._getOverlayPosition();Zx(a,[this._addOffset(Object.assign({},b.main,c.main)),this._addOffset(Object.assign({},b.fallback,c.fallback))])};g._addOffset=function(a){return a};
g._getOrigin=function(){var a=!this._dir||"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}}};
g._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}}};
g._updateTooltipMessage=function(){var a=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Qe(),bf(this._destroyed)).subscribe(function(){a._tooltipInstance&&a._overlayRef.updatePosition()}))};g._setTooltipClass=function(a){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=a,this._tooltipInstance._markForCheck())};
g._invertPosition=function(a,b){"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}};
g._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)c.removePanelClass("mat-tooltip-panel-"+this._currentPosition),c.addPanelClass("mat-tooltip-panel-"+b);this._currentPosition=b}};
g._setupPointerEnterEventsIfNeeded=function(){var a=this;!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(b){a._setupPointerExitEventsIfNeeded();var c=void 0;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))};
g._setupPointerExitEventsIfNeeded=function(){var a=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var b=[];if(this._platformSupportsMouseEvents())b.push(["mouseleave",function(d){d=d.relatedTarget;var e;d&&(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,u(b))}};g._addListeners=function(a){var b=this;a.forEach(function(c){var d=l(c);c=d.next().value;d=d.next().value;b._elementRef.nativeElement.addEventListener(c,d,aYb)})};g._platformSupportsMouseEvents=function(){return!this._platform.IOS&&!this._platform.ANDROID};
g._wheelListener=function(a){if(this._isTooltipVisible()){a=this._document.elementFromPoint(a.clientX,a.clientY);var b=this._elementRef.nativeElement;a===b||b.contains(a)||this.hide()}};
g._disableNativeGesturesIfNecessary=function(){var a=this.touchGestures;if("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"}};
Gh.Object.defineProperties(aC.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=Sg(a);this._detach();this._overlayRef=null}},disabled:{configurable:!0,
enumerable:!0,get:function(){return this._disabled},set:function(a){(this._disabled=Sg(a))?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},showDelay:{configurable:!0,enumerable:!0,get:function(){return this._showDelay},set:function(a){this._showDelay=Vg(a)}},hideDelay:{configurable:!0,enumerable:!0,get:function(){return this._hideDelay},set:function(a){this._hideDelay=Vg(a);this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}},message:{configurable:!0,enumerable:!0,
get:function(){return this._message},set:function(a){var b=this;rx(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)}}});aC.\u0275fac=function(){Od()};
aC.\u0275dir=Vc({type:aC,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 bC=function(a,b){this._changeDetectorRef=a;this._isVisible=this._closeOnInteraction=!1;this._onHide=new E.Subject;this._animationsDisabled="NoopAnimations"===b};g=bC.prototype;g.show=function(a){var b=this;null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId);this._showTimeoutId=setTimeout(function(){b._toggleVisibility(!0);b._showTimeoutId=void 0},a)};
g.hide=function(a){var b=this;null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId);this._hideTimeoutId=setTimeout(function(){b._toggleVisibility(!1);b._hideTimeoutId=void 0},a)};g.isVisible=function(){return this._isVisible};g.ngOnDestroy=function(){this._cancelPendingAnimations();this._onHide.complete();this._triggerElement=null};g._handleBodyInteraction=function(){this._closeOnInteraction&&this.hide(0)};g._markForCheck=function(){this._changeDetectorRef.markForCheck()};
g._handleMouseLeave=function(a){(a=a.relatedTarget)&&this._triggerElement.contains(a)||(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))};g._onShow=function(){};g._handleAnimationEnd=function(a){a=a.animationName;a!==this._showAnimation&&a!==this._hideAnimation||this._finalizeAnimation(a===this._showAnimation)};
g._cancelPendingAnimations=function(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId);null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId);this._showTimeoutId=this._hideTimeoutId=void 0};g._finalizeAnimation=function(a){a?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()};
g._toggleVisibility=function(a){var b=this._tooltip.nativeElement,c=this._showAnimation,d=this._hideAnimation;b.classList.remove(a?d:c);b.classList.add(a?c:d);(this._isVisible=a)&&!this._animationsDisabled&&"function"===typeof getComputedStyle&&(c=getComputedStyle(b),"0s"===c.getPropertyValue("animation-duration")||"none"===c.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0);this._animationsDisabled&&(b.classList.add("_mat-animation-noopable"),this._finalizeAnimation(a))};
bC.\u0275fac=function(a){return new (a||bC)(B(Fu),B(Du,8))};bC.\u0275dir=Vc({type:bC});/*

 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 bYb=["tooltip"],dC=function(a,b,c,d,e,f,h,k,q,t,w,y){aC.call(this,a,b,c,d,e,f,h,k,q,t,w,y);this._tooltipComponent=cC};Y(dC,aC);dC.\u0275fac=function(a){return new (a||dC)(B(oy),B(Hd),B(Mx),B(lg),B(ef),B(Vw),B(qx),B(Yw),B(YXb),B(Nx,8),B(ZXb,8),B(Xg))};dC.\u0275dir=Vc({type:dC,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],hostVars:2,hostBindings:function(a,b){a&2&&Jf("mat-tooltip-disabled",b.disabled)},exportAs:["matTooltip"],features:[yf]});
var cC=function(a,b,c){bC.call(this,a,c);this._showAnimation="mat-tooltip-show";this._hideAnimation="mat-tooltip-hide";this._isHandset=b.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")};Y(cC,bC);cC.\u0275dir=bC.\u0275dir;cC.\u0275fac=function(a){return new (a||cC)(B(Fu),B(ix),B(Du,8))};
cC.\u0275cmp=r({type:cC,selectors:[["mat-tooltip-component"]],viewQuery:function(a,b){a&1&&og(bYb,7);if(a&2){var c;ng(c=qg())&&(b._tooltip=c.first)}},hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(a,b){a&1&&Q("mouseleave",function(c){return b._handleMouseLeave(c)});a&2&&(Af("mat-id-collision",null),If("zoom",b.isVisible()?1:null))},features:[yf],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(a,b){a&1&&(H(0,"div",0,1),Q("animationend",
function(d){return b._handleAnimationEnd(d)}),W(2,"async"),T(3),K());if(a&2){var c;Jf("mat-tooltip-handset",null==(c=X(2,4,b._isHandset))?null:c.matches);G("ngClass",b.tooltipClass);A(3);$f(b.message)}},dependencies:[Sv,$v],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 cYb=new bd("g3cWidgetTaskManagementServicePromiseClient"),dYb=new bd("g3cWidgetUserPrefsServicePromiseClient"),eYb=new bd("g3cWidgetServiceConfig");var Sk=function(a){this.internalArray_=m(a)};Y(Sk,n);g=Sk.prototype;g.getYear=function(){return Xh(this,1)};g.setYear=function(a){return Tk(this,1,a)};g.getMonth=function(){return Xh(this,2)};g.setMonth=function(a){return Tk(this,2,a)};g.getDay=function(){return Xh(this,3)};var Wn=function(a){this.internalArray_=m(a)};Y(Wn,n);g=Wn.prototype;g.getDescription=function(){return xi(this,1)};g.setDescription=function(a){return Ol(this,1,a)};g.getStatus=function(){return Li(this,3,0)};g.setStatus=function(a){return Cl(this,3,a)};g.getVersion=function(){return Ui(this,5)};g.setVersion=function(a){return Gl(this,5,a)};g.getOwnedByMe=function(){return Hi(this,7)};g.setOwnedByMe=function(a){return yl(this,7,a)};g.getCreatorEmail=function(){return xi(this,9)};
Wn.repeatedFields_=[4,6];var el=function(a){this.internalArray_=m(a)};Y(el,n);el.prototype.getAccessLevel=function(){return Li(this,1,0)};el.prototype.setAccessLevel=function(a){return Cl(this,1,a)};var eC=function(a){this.internalArray_=m(a)};Y(eC,n);eC.prototype.getAuthorEmail=function(){return xi(this,2)};eC.prototype.getContent=function(){return xi(this,3)};eC.prototype.setContent=function(a){return Ol(this,3,a)};eC.prototype.getExternalLink=function(){return xi(this,6)};eC.repeatedFields_=[5];var Tn=function(a){this.internalArray_=m(a)};Y(Tn,n);g=Tn.prototype;g.getDescription=function(){return xi(this,1)};g.setDescription=function(a){return Ol(this,1,a)};g.getStatus=function(){return Li(this,3,0)};g.setStatus=function(a){return Cl(this,3,a)};g.getCommentsList=function(){return zi(this,eC,7)};g.getAuthorEmail=function(){return xi(this,10)};g.getWorkspaceName=function(){return xi(this,15)};Tn.repeatedFields_=[5,6,7,11,17,13,14];var fC=function(a){this.internalArray_=m(a)};Y(fC,n);fC.prototype.getContent=function(){return xi(this,8)};fC.prototype.setContent=function(a){return Ol(this,8,a)};fC.prototype.getExternalLink=function(){return xi(this,12)};fC.repeatedFields_=[14];var Vn=function(a){this.internalArray_=m(a)};Y(Vn,n);g=Vn.prototype;g.getCreatedTimestamp=function(){return Ui(this,1)};g.getOwnedByMe=function(){return Hi(this,3)};g.setOwnedByMe=function(a){return yl(this,3,a)};g.getMimeType=function(){return xi(this,15)};g.setMimeType=function(a){Ol(this,15,a)};g.getCommentsList=function(){return zi(this,fC,6)};g.getCreatorEmail=function(){return xi(this,11)};Vn.repeatedFields_=[17,6];var fYb=function(a){this.internalArray_=m(a)};Y(fYb,n);g=fYb.prototype;g.getResourceId=function(){return xi(this,17)};g.setResourceId=function(a){Ol(this,17,a)};g.getTitle=function(){return xi(this,2)};g.setTitle=function(a){return Ol(this,2,a)};g.getLastModifiedTimestamp=function(){return Ui(this,3)};g.getIconName=function(){return xi(this,10)};g.getExternalLink=function(){return xi(this,16)};g.getIsDeleted=function(){return Hi(this,19)};g.setIsDeleted=function(a){yl(this,19,a)};
var Un=[5,6,7,8,9,18,22,23,24];var gC=function(a){this.internalArray_=m(a)};Y(gC,n);gC.prototype.getName=function(){return xi(this,1)};gC.prototype.setName=function(a){return Ol(this,1,a)};gC.prototype.getContent=function(){return xi(this,2)};gC.prototype.setContent=function(a){return Ol(this,2,a)};var SCa=function(a){this.internalArray_=m(a)};Y(SCa,n);g=SCa.prototype;g.getResource=function(){return vi(this,fYb,6)};g.setResource=function(a){return ej(this,fYb,6,a)};g.getNote=function(){return vi(this,gC,22)};g.getCreatedTimestamp=function(){return Ui(this,7)};g.getUpdatedTimestamp=function(){return Ui(this,8)};var gYb=function(a){this.internalArray_=m(a)};Y(gYb,n);var hC=function(a){this.internalArray_=m(a)};Y(hC,n);hC.prototype.getCreatedTimestamp=function(){return Ui(this,3)};hC.prototype.getUpdatedTimestamp=function(){return Ui(this,4)};var hYb=[2];var Km=function(a){this.internalArray_=m(a)};Y(Km,n);Km.prototype.getId=function(){return xi(this,1)};Km.prototype.setId=function(a){return Ol(this,1,a)};Km.prototype.getVersion=function(){return xi(this,2)};Km.prototype.setVersion=function(a){return Ol(this,2,a)};var iC=function(a){this.internalArray_=m(a)};Y(iC,n);iC.prototype.getName=function(){return xi(this,1)};iC.prototype.setName=function(a){return Ol(this,1,a)};var jC=function(a,b,c){var d=this;this.userPrefsApiPromiseClient=a;this.config=c;this.sessionIndex="0";(0,E.defer)(function(){var e=(new iC).setName("keys/2");return(0,E.from)(d.userPrefsApiPromiseClient.getUserPrefs(e,d.getHeaders()))}).pipe(D(function(e){return(e=ql(e.getUserPrefs()||new hC,gYb,2,hYb))?12096E5>=Date.now()-Ui(e,21):!1}),Ye(1))};
jC.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:Wo([])||"","X-Goog-AuthUser":this.sessionIndex}};jC.\u0275fac=function(a){return new (a||jC)(p(dYb),p(cYb),p(eYb,8))};jC.\u0275prov=Dc({token:jC,factory:jC.\u0275fac,providedIn:"root"});var kC=function(){};kC.\u0275fac=function(a){return new (a||kC)};kC.\u0275mod=Tc({type:kC});kC.\u0275inj=Ec({imports:[uz,jz,jz]});var lC=function(){};lC.\u0275fac=function(a){return new (a||lC)};lC.\u0275mod=Tc({type:lC});lC.\u0275inj=Ec({imports:[px,OA,hw,SA,kC,NA,ry,PA]});var iYb=function(a){this.internalArray_=m(a)};Y(iYb,n);var jYb=function(a,b,c){this.requestMessage_=a;this.methodDescriptor_=b;this.metadata_=c};jYb.prototype.getMethodDescriptor=function(){return this.methodDescriptor_};jYb.prototype.getMetadata=function(){return this.metadata_};var kYb=function(a,b,c){c=void 0===c?{}:c;this.responseMessage_=a;this.metadata_=c;this.methodDescriptor_=b;this.status_=null};kYb.prototype.getMetadata=function(){return this.metadata_};kYb.prototype.getMethodDescriptor=function(){return this.methodDescriptor_};kYb.prototype.getStatus=function(){return this.status_};var mC=function(a,b,c,d,e){this.name=a;this.requestType=b;this.responseType=c;this.requestSerializeFn=d;this.responseDeserializeFn=e},lYb=function(a,b,c){c=void 0===c?{}:c;return new jYb(b,a,c)};mC.prototype.getName=function(){return this.name};mC.prototype.getName=mC.prototype.getName;var mYb=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}},nYb=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 nC=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};Y(nC,Error);nC.prototype.toString=function(){var a="RpcError("+(nYb(this.code)||String(this.code))+")";this.message&&(a+=": "+this.message);return a};nC.prototype.name="RpcError";var oYb=Promise;var oC=function(a){this.internalArray_=m(a)};Y(oC,n);oC.prototype.getCode=function(){return Xh(this,1)};oC.prototype.setCode=function(a){return Tk(this,1,a)};oC.prototype.getMessage=function(){return xi(this,2)};oC.prototype.setMessage=function(a){Ol(this,2,a)};var pYb=ac(oC);oC.repeatedFields_=[3];var pC=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_&&qYb(this)},vYb=function(a,b){cp(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("Cb");c=atob(c)}try{var d=
a.grpcResponseDeserializeFn_(c)}catch(h){qC(a,new nC(13,"Error when deserializing response data; error: "+h+(", response: "+c)));return}c=mYb(a.xhr_.getStatus());rYb(a,sYb(a));0==c?tYb(a,d):qC(a,new nC(c,"Xhr succeeded but the status code is not 200"))}else{c=a.xhr_.getResponseText();d=sYb(a);if(c){var e=uYb(a,c);c=e.code;var f=e.details;e=e.metadata}else c=2,f="Rpc failed due to xhr error. error code: "+a.xhr_.getLastErrorCode()+", error: "+a.xhr_.getLastError(),e=d;rYb(a,d);qC(a,new nC(c,f,e))}})},
qYb=function(a){a.xhrNodeReadableStream_.on("data",function(b){if("1"in b){var c=b["1"];try{var d=a.grpcResponseDeserializeFn_(c)}catch(e){qC(a,new nC(13,"Error when deserializing response data; error: "+e+(", response: "+c)))}d&&tYb(a,d)}if("2"in b)for(b=uYb(a,b["2"]),c=0;c<a.onStatusCallbacks_.length;c++)a.onStatusCallbacks_[c](b)});a.xhrNodeReadableStream_.on("end",function(){rYb(a,sYb(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=mYb(c);break;default:d=14}rYb(a,sYb(a));b=rXb(b)+", error: "+a.xhr_.getLastError();-1!=c&&(b+=", http status code: "+c);qC(a,new nC(d,b))}})},sYb=function(a){var b={},c=a.xhr_.getResponseHeaders();Object.keys(c).forEach(function(d){b[d]=c[d]});return b},uYb=function(a,b){var c=2,d={};try{var e=pYb(b);c=
e.getCode();var f=e.getMessage();zi(e,ju,3).length&&(d["grpc-web-status-details-bin"]=b)}catch(h){a.xhr_&&404===a.xhr_.getStatus()?(c=5,f="Not Found: "+a.xhr_.getLastUri()):(c=14,f="Unable to parse RpcStatus: "+h)}return{code:c,details:f,metadata:d}};pC.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 rC=function(a,b){b=a.indexOf(b);-1<b&&a.splice(b,1)};pC.prototype.removeListener=function(a,b){"data"==a?rC(this.onDataCallbacks_,b):"metadata"==a?rC(this.onMetadataCallbacks_,b):"status"==a?rC(this.onStatusCallbacks_,b):"end"==a?rC(this.onEndCallbacks_,b):"error"==a&&rC(this.onErrorCallbacks_,b);return this};pC.prototype.cancel=function(){this.xhr_.abort()};
var tYb=function(a,b){for(var c=0;c<a.onDataCallbacks_.length;c++)a.onDataCallbacks_[c](b)},rYb=function(a,b){for(var c=0;c<a.onMetadataCallbacks_.length;c++)a.onMetadataCallbacks_[c](b)},qC=function(a,b){for(var c=0;c<a.onErrorCallbacks_.length;c++)a.onErrorCallbacks_[c](b)};pC.prototype.cancel=pC.prototype.cancel;pC.prototype.removeListener=pC.prototype.removeListener;pC.prototype.on=pC.prototype.on;var sC=function(a){this.worker_=a.worker||null;this.streamBinaryChunks_=a.streamBinaryChunks||!1;this.cacheMode_=this.credentialsMode_=void 0};At(sC,sXb);sC.prototype.createInstance=function(){var a=new tC(this.worker_,this.streamBinaryChunks_);this.credentialsMode_&&a.setCredentialsMode(this.credentialsMode_);this.cacheMode_&&a.setCacheMode(this.cacheMode_);return a};sC.prototype.internalGetOptions=pu({});sC.prototype.setCredentialsMode=function(a){this.credentialsMode_=a};
sC.prototype.setCacheMode=function(a){this.cacheMode_=a};var tC=function(a,b){bp.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};
At(tC,bp);tC.prototype.open=function(a,b){if(0!=this.readyState)throw this.abort(),Error("Db");this.method_=a;this.url_=b;this.readyState=1;uC(this)};tC.prototype.send=function(a){if(1!=this.readyState)throw this.abort(),Error("Eb");this.inProgress_=!0;var b={headers:this.requestHeaders_,method:this.method_,credentials:this.credentialsMode_,cache:this.cacheMode_};a&&(b.body=a);(this.worker_||da).fetch(new Request(this.url_,b)).then(this.handleResponse_.bind(this),this.handleSendFailure_.bind(this))};
tC.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,vC(this));this.readyState=0};
tC.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,uC(this)),this.inProgress_&&(this.readyState=3,uC(this),this.inProgress_)))if("arraybuffer"===this.responseType)a.arrayBuffer().then(this.handleResponseArrayBuffer_.bind(this),this.handleSendFailure_.bind(this));else if("undefined"!==typeof da.ReadableStream&&
"body"in a){this.currentReader_=a.body.getReader();if(this.streamBinaryChunks_){if(this.responseType)throw Error("Fb");this.response=[]}else this.response=this.responseText="",this.textDecoder_=new TextDecoder;wYb(this)}else a.text().then(this.handleResponseText_.bind(this),this.handleSendFailure_.bind(this))};var wYb=function(a){a.currentReader_.read().then(a.handleDataFromStream_.bind(a)).catch(a.handleSendFailure_.bind(a))};
tC.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?vC(this):uC(this);3==this.readyState&&wYb(this)}};tC.prototype.handleResponseText_=function(a){this.inProgress_&&(this.response=this.responseText=a,vC(this))};
tC.prototype.handleResponseArrayBuffer_=function(a){this.inProgress_&&(this.response=a,vC(this))};tC.prototype.handleSendFailure_=function(){this.inProgress_&&vC(this)};var vC=function(a){a.readyState=4;a.fetchResponse_=null;a.currentReader_=null;a.textDecoder_=null;uC(a)};g=tC.prototype;g.setRequestHeader=function(a,b){this.requestHeaders_.append(a,b)};g.getResponseHeader=function(a){return this.responseHeaders_?this.responseHeaders_.get(a.toLowerCase())||"":""};
g.getAllResponseHeaders=function(){if(!this.responseHeaders_)return"";for(var a=[],b=this.responseHeaders_.entries(),c=b.next();!c.done;)c=c.value,a.push(c[0]+": "+c[1]),c=b.next();return a.join("\r\n")};g.setCredentialsMode=function(a){this.credentialsMode_=a};g.setCacheMode=function(a){this.cacheMode_=a};var uC=function(a){a.onreadystatechange&&a.onreadystatechange.call(a)};
Object.defineProperty(tC.prototype,"withCredentials",{get:function(){return"include"===this.credentialsMode_},set:function(a){this.setCredentialsMode(a?"include":"same-origin")}});var xYb=function(a){if(a.getCount&&"function"==typeof a.getCount)a=a.getCount();else if(za(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},wC=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(za(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return xda(a)},yYb=
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(za(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}}},zYb=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(za(a)||"string"===typeof a)Array.prototype.forEach.call(a,
b,c);else for(var d=yYb(a),e=wC(a),f=e.length,h=0;h<f;h++)b.call(c,e[h],d&&d[h],a)},AYb=function(a,b,c){if("function"==typeof a.every)return a.every(b,c);if(za(a)||"string"===typeof a)return Array.prototype.every.call(a,b,c);for(var d=yYb(a),e=wC(a),f=e.length,h=0;h<f;h++)if(!b.call(c,e[h],d&&d[h],a))return!1;return!0};var hp=function(a,b){this.domain_=this.userInfo_=this.scheme_="";this.port_=null;this.fragment_=this.path_="";this.ignoreCase_=!1;var c;a instanceof hp?(this.ignoreCase_=void 0!==b?b:a.ignoreCase_,xC(this,a.scheme_),this.setUserInfo(a.getUserInfo()),yC(this,a.getDomain()),this.setPort(a.getPort()),this.setPath(a.getPath()),zC(this,a.queryData_.clone()),AC(this,a.fragment_)):a&&(c=String(a).match(NWb))?(this.ignoreCase_=!!b,xC(this,c[1]||"",!0),this.setUserInfo(c[2]||"",!0),yC(this,c[3]||"",!0),this.setPort(c[4]),
this.setPath(c[5]||"",!0),zC(this,c[6]||"",!0),AC(this,c[7]||"",!0)):(this.ignoreCase_=!!b,this.queryData_=new BC(null,this.ignoreCase_))};
hp.prototype.toString=function(){var a=[],b=this.scheme_;b&&a.push(CC(b,BYb,!0),":");var c=this.getDomain();if(c||"file"==b)a.push("//"),(b=this.getUserInfo())&&a.push(CC(b,BYb,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.getPort(),null!=c&&a.push(":",String(c));if(c=this.getPath())this.domain_&&"/"!=c.charAt(0)&&a.push("/"),a.push(CC(c,"/"==c.charAt(0)?CYb:DYb,!0));(c=this.queryData_.toString())&&a.push("?",c);(c=this.fragment_)&&a.push("#",CC(c,EYb));
return a.join("")};
hp.prototype.resolve=function(a){var b=this.clone(),c=!!a.scheme_;c?xC(b,a.scheme_):c=a.hasUserInfo();c?b.setUserInfo(a.getUserInfo()):c=!!a.domain_;c?yC(b,a.getDomain()):c=a.hasPort();var d=a.getPath();if(c)b.setPort(a.getPort());else if(c=a.hasPath()){if("/"!=d.charAt(0))if(this.domain_&&!this.hasPath())d="/"+d;else{var e=b.getPath().lastIndexOf("/");-1!=e&&(d=b.getPath().slice(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(ka(e,"./")||ka(e,"/.")){d=0==e.lastIndexOf("/",0);e=e.split("/");for(var f=
[],h=0;h<e.length;){var k=e[h++];"."==k?d&&h==e.length&&f.push(""):".."==k?((1<f.length||1==f.length&&""!=f[0])&&f.pop(),d&&h==e.length&&f.push("")):(f.push(k),d=!0)}d=f.join("/")}else d=e}c?b.setPath(d):c=a.hasQuery();c?zC(b,a.queryData_.clone()):c=!!a.fragment_;c&&AC(b,a.fragment_);return b};hp.prototype.clone=function(){return new hp(this)};var xC=function(a,b,c){a.scheme_=c?DC(b,!0):b;a.scheme_&&(a.scheme_=a.scheme_.replace(/:$/,""));return a};hp.prototype.getUserInfo=function(){return this.userInfo_};
hp.prototype.setUserInfo=function(a,b){this.userInfo_=b?DC(a):a;return this};hp.prototype.hasUserInfo=function(){return!!this.userInfo_};hp.prototype.getDomain=function(){return this.domain_};var yC=function(a,b,c){a.domain_=c?DC(b,!0):b;return a};g=hp.prototype;g.getPort=function(){return this.port_};g.setPort=function(a){if(a){a=Number(a);if(isNaN(a)||0>a)throw Error("Gb`"+a);this.port_=a}else this.port_=null;return this};g.hasPort=function(){return null!=this.port_};g.getPath=function(){return this.path_};
g.setPath=function(a,b){this.path_=b?DC(a,!0):a;return this};g.hasPath=function(){return!!this.path_};g.hasQuery=function(){return""!==this.queryData_.toString()};var zC=function(a,b,c){b instanceof BC?(a.queryData_=b,a.queryData_.setIgnoreCase(a.ignoreCase_)):(c||(b=CC(b,FYb)),a.queryData_=new BC(b,a.ignoreCase_));return a};hp.prototype.setQuery=function(a){return zC(this,a)};hp.prototype.getQuery=function(){return this.queryData_.toString()};
var EC=function(a,b,c){a.queryData_.set(b,c);return a},FC=function(a,b){return a.queryData_.get(b)},AC=function(a,b,c){a.fragment_=c?DC(b):b;return a},GC=function(a){EC(a,"zx",xu());return a};hp.prototype.removeParameter=function(a){this.queryData_.remove(a);return this};hp.prototype.isReadOnly=function(){return!1};hp.prototype.setIgnoreCase=function(a){this.ignoreCase_=a;this.queryData_&&this.queryData_.setIgnoreCase(a)};
var HC=function(a,b){return a instanceof hp?a.clone():new hp(a,b)},GYb=function(a,b,c,d,e){var f=new hp(null);a&&xC(f,a);b&&f.setUserInfo(b);c&&yC(f,c);d&&f.setPort(d);e&&f.setPath(e);return f},DC=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},CC=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,HYb),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},HYb=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},
BYb=/[#\/\?@]/g,DYb=/[#\?:]/g,CYb=/[#\?]/g,FYb=/[#\?@]/g,EYb=/#/g,BC=function(a,b){this.count_=this.keyMap_=null;this.encodedQuery_=a||null;this.ignoreCase_=!!b},IC=function(a){a.keyMap_||(a.keyMap_=new Map,a.count_=0,a.encodedQuery_&&OWb(a.encodedQuery_,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};g=BC.prototype;g.getCount=function(){IC(this);return this.count_};
g.add=function(a,b){IC(this);this.encodedQuery_=null;a=JC(this,a);var c=this.keyMap_.get(a);c||this.keyMap_.set(a,c=[]);c.push(b);this.count_+=1;return this};g.remove=function(a){IC(this);a=JC(this,a);return this.keyMap_.has(a)?(this.encodedQuery_=null,this.count_-=this.keyMap_.get(a).length,this.keyMap_.delete(a)):!1};g.clear=function(){this.keyMap_=this.encodedQuery_=null;this.count_=0};g.isEmpty=function(){IC(this);return 0==this.count_};g.containsKey=function(a){IC(this);a=JC(this,a);return this.keyMap_.has(a)};
g.containsValue=function(a){var b=this.getValues();return ta(b,a)};g.forEach=function(a,b){IC(this);this.keyMap_.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};g.getKeys=function(){IC(this);for(var a=Array.from(this.keyMap_.values()),b=Array.from(this.keyMap_.keys()),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};
g.getValues=function(a){IC(this);var b=[];if("string"===typeof a)this.containsKey(a)&&(b=b.concat(this.keyMap_.get(JC(this,a))));else{a=Array.from(this.keyMap_.values());for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};g.set=function(a,b){IC(this);this.encodedQuery_=null;a=JC(this,a);this.containsKey(a)&&(this.count_-=this.keyMap_.get(a).length);this.keyMap_.set(a,[b]);this.count_+=1;return this};g.get=function(a,b){if(!a)return b;a=this.getValues(a);return 0<a.length?String(a[0]):b};
g.setValues=function(a,b){this.remove(a);0<b.length&&(this.encodedQuery_=null,this.keyMap_.set(JC(this,a),ya(b)),this.count_+=b.length)};g.toString=function(){if(this.encodedQuery_)return this.encodedQuery_;if(!this.keyMap_)return"";for(var a=[],b=Array.from(this.keyMap_.keys()),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.getValues(d);for(var f=0;f<d.length;f++){var h=e;""!==d[f]&&(h+="="+encodeURIComponent(String(d[f])));a.push(h)}}return this.encodedQuery_=a.join("&")};
g.clone=function(){var a=new BC;a.encodedQuery_=this.encodedQuery_;this.keyMap_&&(a.keyMap_=new Map(this.keyMap_),a.count_=this.count_);return a};var JC=function(a,b){b=String(b);a.ignoreCase_&&(b=b.toLowerCase());return b};BC.prototype.setIgnoreCase=function(a){a&&!this.ignoreCase_&&(IC(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};
BC.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)zYb(arguments[b],function(c,d){this.add(d,c)},this)};var IYb=function(a){var b="";bc(a,function(c,d){b+=d;b+=":";b+=c;b+="\r\n"});return b},JYb=function(a,b,c){if(dc(c))return a;c=IYb(c);if("string"===typeof a)return AB(a,encodeURIComponent(String(b)),c);EC(a,b,c);return a};var Kq=function(a){VA.call(this);this.handler_=a;this.keys_={}};At(Kq,VA);var KYb=[];Kq.prototype.listen=function(a,b,c,d){Array.isArray(b)||(b&&(KYb[0]=b.toString()),b=KYb);for(var e=0;e<b.length;e++){var f=cp(a,b[e],c||this.handleEvent,d||!1,this.handler_||this);if(!f)break;this.keys_[f.key]=f}return this};Kq.prototype.listenOnce=function(a,b,c,d){return LYb(this,a,b,c,d)};
var LYb=function(a,b,c,d,e,f){if(Array.isArray(c))for(var h=0;h<c.length;h++)LYb(a,b,c[h],d,e,f);else{b=aB(b,c,d||a.handleEvent,e,f||a.handler_||a);if(!b)return a;a.keys_[b.key]=b}return a};
Kq.prototype.unlisten=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.unlisten(a,b[f],c,d,e);else c=c||this.handleEvent,d=Aa(d)?!!d.capture:!!d,e=e||this.handler_||this,c=eVb(c),d=!!d,b=ZA(a)?a.getListener(b,c,d,e):a?(a=bB(a))?a.getListener(b,c,d,e):null:null,b&&(dB(b),delete this.keys_[b.key]);return this};Kq.prototype.removeAll=function(){bc(this.keys_,function(a,b){this.keys_.hasOwnProperty(b)&&dB(a)},this);this.keys_={}};
Kq.prototype.disposeInternal=function(){Kq.superClass_.disposeInternal.call(this);this.removeAll()};Kq.prototype.handleEvent=function(){throw Error("Ib");};var MYb=function(){this.isInputValid_=!0;this.streamPos_=0;this.leftoverInput_=""};MYb.prototype.error_=function(a,b){this.isInputValid_=!1;throw Error("Jb`"+this.streamPos_+"`"+b+"`"+a);};
MYb.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=dLb(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 Qh=function(){this.errorMessage_=null;this.result_=[];this.countLengthBytes_=this.length_=this.tag_=this.state_=this.streamPos_=0;this.messageBuffer_=null;this.countMessageBytes_=0};Qh.prototype.getErrorMessage=function(){return this.errorMessage_};Qh.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_);};Qh.prototype.acceptsBinaryInput=function(){return!0};
Qh.prototype.parse=function(a){function b(q){q&128&&f.error_(h,k,"invalid tag");2!=(q&7)&&f.error_(h,k,"invalid wire type");f.tag_=q>>>3;1!=f.tag_&&2!=f.tag_&&15!=f.tag_&&f.error_(h,k,"unexpected tag");f.state_=1;f.length_=0;f.countLengthBytes_=0}function c(q){f.countLengthBytes_++;5==f.countLengthBytes_&&q&240&&f.error_(h,k,"message length too long");f.length_|=(q&127)<<7*(f.countLengthBytes_-1);q&128||(f.state_=2,f.countMessageBytes_=0,"undefined"!==typeof Uint8Array?f.messageBuffer_=new Uint8Array(f.length_):
f.messageBuffer_=Array(f.length_),0==f.length_&&e())}function d(q){f.messageBuffer_[f.countMessageBytes_++]=q;f.countMessageBytes_==f.length_&&e()}function e(){if(15>f.tag_){var q={};q[f.tag_]=f.messageBuffer_;f.result_.push(q)}f.state_=0}for(var f=this,h=a instanceof Array?a:new Uint8Array(a),k=0;k<h.length;){switch(f.state_){case 3:f.error_(h,k,"stream already broken");break;case 0:b(h[k]);break;case 1:c(h[k]);break;case 2:d(h[k]);break;default:throw Error("Kb`"+f.state_);}f.streamPos_++;k++}a=
f.result_;f.result_=[];return 0<a.length?a:null};var Rh=function(){this.errorMessage_=null;this.streamPos_=0;this.base64Decoder_=new MYb;this.pbParser_=new Qh};Rh.prototype.getErrorMessage=function(){return this.errorMessage_};Rh.prototype.error_=function(a,b){this.errorMessage_="The stream is broken @"+this.streamPos_+". Error: "+b+". With input:\n"+a;throw Error(this.errorMessage_);};Rh.prototype.acceptsBinaryInput=function(){return!1};
Rh.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 KC=function(a){return"\r"==a||"\n"==a||" "==a||"\t"==a};var $qa=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)},NYb={INIT:0,VALUE:1,OBJECT_OPEN:2,OBJECT_END:3,ARRAY_OPEN:4,ARRAY_END:5,STRING:6,KEY_START:7,KEY_END:8,TRUE1:9,TRUE2:10,TRUE3:11,FALSE1:12,FALSE2:13,FALSE3:14,FALSE4:15,NULL1:16,NULL2:17,NULL3:18,NUM_DECIMAL_POINT:19,
NUM_DIGIT:20};g=$qa.prototype;g.getErrorMessage=function(){return this.errorMessage_};g.done=function(){return 2===this.streamState_};g.error_=function(a,b){this.streamState_=3;this.errorMessage_="The stream is broken @"+this.pos_+"/"+b+". With input:\n"+a;throw Error(this.errorMessage_);};g.acceptsBinaryInput=function(){return!1};
g.parse=function(a){function b(){for(;C<a.length;)if(KC(a[C]))C++,f.pos_++;else break;return C<t}function c(){for(var I;;){I=a[C++];if(!I)break;f.pos_++;switch(f.state_){case q.INIT:"{"===I?f.state_=q.OBJECT_OPEN:"["===I?f.state_=q.ARRAY_OPEN:KC(I)||f.error_(a,C);continue;case q.KEY_START:case q.OBJECT_OPEN:if(KC(I))continue;if(f.state_===q.KEY_START)h.push(q.KEY_END);else if("}"===I){e("{}");f.state_=d();continue}else h.push(q.OBJECT_END);'"'===I?f.state_=q.STRING:f.error_(a,C);continue;case q.KEY_END:case q.OBJECT_END:if(KC(I))continue;
":"===I?(f.state_===q.OBJECT_END&&(h.push(q.OBJECT_END),f.depth_++),f.state_=q.VALUE):"}"===I?(f.depth_--,e(),f.state_=d()):","===I?(f.state_===q.OBJECT_END&&h.push(q.OBJECT_END),f.state_=q.KEY_START):f.error_(a,C);continue;case q.ARRAY_OPEN:case q.VALUE:if(KC(I))continue;if(f.state_===q.ARRAY_OPEN)if(f.depth_++,f.state_=q.VALUE,"]"===I){f.depth_--;if(0===f.depth_){f.state_=q.ARRAY_END;return}e("[]");f.state_=d();continue}else h.push(q.ARRAY_END);'"'===I?f.state_=q.STRING:"{"===I?f.state_=q.OBJECT_OPEN:
"["===I?f.state_=q.ARRAY_OPEN:"t"===I?f.state_=q.TRUE1:"f"===I?f.state_=q.FALSE1:"n"===I?f.state_=q.NULL1:"-"!==I&&(-1!=="0123456789".indexOf(I)?f.state_=q.NUM_DIGIT:f.error_(a,C));continue;case q.ARRAY_END:if(","===I)h.push(q.ARRAY_END),f.state_=q.VALUE,1===f.depth_&&(y=C);else if("]"===I){f.depth_--;if(0===f.depth_)return;e();f.state_=d()}else if(KC(I))continue;else f.error_(a,C);continue;case q.STRING:var P=C;a:for(;;){for(;0<f.unicodeCount_;)if(I=a[C++],4===f.unicodeCount_?f.unicodeCount_=0:f.unicodeCount_++,
!I)break a;if('"'===I&&!f.slashed_){f.state_=d();break}if("\\"===I&&!f.slashed_&&(f.slashed_=!0,I=a[C++],!I))break;if(f.slashed_)if(f.slashed_=!1,"u"===I&&(f.unicodeCount_=1),I=a[C++])continue;else break;k.lastIndex=C;I=k.exec(a);if(!I){C=a.length+1;break}C=I.index+1;I=a[I.index];if(!I)break}f.pos_+=C-P;continue;case q.TRUE1:if(!I)continue;"r"===I?f.state_=q.TRUE2:f.error_(a,C);continue;case q.TRUE2:if(!I)continue;"u"===I?f.state_=q.TRUE3:f.error_(a,C);continue;case q.TRUE3:if(!I)continue;"e"===I?
f.state_=d():f.error_(a,C);continue;case q.FALSE1:if(!I)continue;"a"===I?f.state_=q.FALSE2:f.error_(a,C);continue;case q.FALSE2:if(!I)continue;"l"===I?f.state_=q.FALSE3:f.error_(a,C);continue;case q.FALSE3:if(!I)continue;"s"===I?f.state_=q.FALSE4:f.error_(a,C);continue;case q.FALSE4:if(!I)continue;"e"===I?f.state_=d():f.error_(a,C);continue;case q.NULL1:if(!I)continue;"u"===I?f.state_=q.NULL2:f.error_(a,C);continue;case q.NULL2:if(!I)continue;"l"===I?f.state_=q.NULL3:f.error_(a,C);continue;case q.NULL3:if(!I)continue;
"l"===I?f.state_=d():f.error_(a,C);continue;case q.NUM_DECIMAL_POINT:"."===I?f.state_=q.NUM_DIGIT:f.error_(a,C);continue;case q.NUM_DIGIT:if(-1!=="0123456789.eE+-".indexOf(I))continue;else C--,f.pos_--,f.state_=d();continue;default:f.error_(a,C)}}}function d(){var I=h.pop();return null!=I?I:q.VALUE}function e(I){1<f.depth_||(I||(I=-1===y?f.buffer_+a.substring(w,C):a.substring(y,C)),f.deliverMessageAsRawString_?f.result_.push(I):f.result_.push(JSON.parse(I)),y=C)}for(var f=this,h=f.stack_,k=f.stringInputPattern_,
q=NYb,t=a.length,w=0,y=-1,C=0;C<t;)switch(f.streamState_){case 3:return f.error_(a,C),null;case 2:return b()&&f.error_(a,C),null;case 0:if(b()){var J=a[C++];f.pos_++;if("["===J){f.streamState_=1;w=C;f.state_=q.ARRAY_OPEN;continue}else f.error_(a,C)}return null;case 1:return c(),0===f.depth_&&f.state_==q.ARRAY_END?(f.streamState_=2,f.buffer_=a.substring(C)):f.buffer_=-1===y?f.buffer_+a.substring(w):a.substring(y),0<f.result_.length?(J=f.result_,f.result_=[],J):null}return null};var Zqa=function(){this.errorMessage_=this.jsonStreamParser_=null;this.state_=this.streamPos_=0;this.result_=[];this.statusParsed_=!1};Zqa.prototype.getErrorMessage=function(){return this.errorMessage_};Zqa.prototype.acceptsBinaryInput=function(){return!1};
Zqa.prototype.parse=function(a){function b(q){f.state_=6;f.errorMessage_="The stream is broken @"+f.streamPos_+"/"+h+". Error: "+q+". With input:\n";throw Error(f.errorMessage_);}function c(){f.jsonStreamParser_=new $qa({allowCompactJsonArrayFormat:!0,deliverMessageAsRawString:!0})}function d(q){if(q)for(var t=0;t<q.length;t++){var w={};w[1]=q[t];f.result_.push(w)}}function e(q){if(q){(f.statusParsed_||1<q.length)&&b("extra status: "+q);f.statusParsed_=!0;var t={};t[2]=q[0];f.result_.push(t)}}for(var f=
this,h=0;h<a.length;){var k;if(k=2!==f.state_){a:{for(;h<a.length;){if(!KC(a[h])){k=!0;break a}h++;f.streamPos_++}k=!1}k=!k}if(k)return null;switch(f.state_){case 6:b("stream already broken");break;case 0:"["===a[h]?(f.state_=1,h++,f.streamPos_++):b("unexpected input token");break;case 1:"["===a[h]?(f.state_=2,c()):","===a[h]||"null,"==a.slice(h,h+5)?f.state_=3:"]"===a[h]?(f.state_=5,h++,f.streamPos_++):b("unexpected input token");break;case 2:k=f.jsonStreamParser_.parse(a.substring(h));d(k);f.jsonStreamParser_.done()?
(f.state_=3,k=f.jsonStreamParser_.buffer_,f.streamPos_+=a.length-h-k.length,a=k,h=0):(f.streamPos_+=a.length-h,h=a.length);break;case 3:","===a[h]||"null,"==a.slice(h,h+5)?(f.state_=4,c(),f.jsonStreamParser_.parse("["),h+=","===a[h]?1:5,f.streamPos_++):"]"===a[h]&&(f.state_=5,h++,f.streamPos_++);break;case 4:k=f.jsonStreamParser_.parse(a.substring(h));e(k);f.jsonStreamParser_.done()?(f.state_=5,k=f.jsonStreamParser_.buffer_,f.streamPos_+=a.length-h-k.length,a=k,h=0):(f.streamPos_+=a.length-h,h=a.length);
break;case 5:b("extra input after stream end")}}return 0<f.result_.length?(a=f.result_,f.result_=[],a):null};var OYb=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 Kq(this);this.eventHandler_.listen(this.xhr_,"readystatechange",this.readyStateChangeHandler_)};OYb.prototype.getXhr=function(){return this.xhr_};
var LC=function(a,b){a.status_!=b&&(a.status_=b,a.statusHandler_&&a.statusHandler_())},MC=function(a){a.eventHandler_.removeAll();if(a.xhr_){var b=a.xhr_;a.xhr_=null;b.abort();b.dispose()}};OYb.prototype.getStatus=function(){return this.status_};
OYb.prototype.readyStateChangeHandler_=function(a){a=a.target;try{if(a==this.xhr_)a:{var b=this.xhr_.getReadyState(),c=this.xhr_.getLastErrorCode(),d=this.xhr_.getStatus(),e=this.xhr_.getResponseText();a=[];if(this.xhr_.getResponse()instanceof Array){var f=this.xhr_.getResponse();0<f.length&&f[0]instanceof Uint8Array&&(this.hasStreamingResponseData_=!0,a=f)}if(!(3>b||3==b&&!e&&0==a.length))if(d=200==d||206==d,4==b&&(8==c?LC(this,7):7==c?LC(this,8):d||LC(this,3)),this.parser_||(this.parser_=ara(this.xhr_),
null==this.parser_&&LC(this,5)),2<this.status_)MC(this);else{if(a.length>this.pos_){var h=a.length;c=[];try{if(this.parser_.acceptsBinaryInput())for(var k=0;k<h;k++){var q=this.parser_.parse(Array.from(a[k]));q&&(c=c.concat(q))}else{q="";if(!this.textDecoder_){if("undefined"===typeof TextDecoder)throw Error("Lb");this.textDecoder_=new TextDecoder}for(k=0;k<h;k++)q+=this.textDecoder_.decode(a[k],{stream:4==b&&k==h-1});c=this.parser_.parse(q)}a.splice(0,h);c&&this.dataHandler_(c)}catch(w){LC(this,5);
MC(this);break a}}else if(e.length>this.pos_){k=e.slice(this.pos_);this.pos_=e.length;try{var t=this.parser_.parse(k);null!=t&&this.dataHandler_&&this.dataHandler_(t)}catch(w){LC(this,5);MC(this);break a}}4==b?(0!=e.length||this.hasStreamingResponseData_?LC(this,2):LC(this,4),MC(this)):LC(this,1)}}}catch(w){LC(this,6),MC(this)}};var PYb=function(a){this.xhrReader_=a;a=yt(this.onData_,this);this.xhrReader_.dataHandler_=a;a=yt(this.onStatusChange_,this);this.xhrReader_.statusHandler_=a;this.callbackMap_={};this.callbackOnceMap_={}};g=PYb.prototype;g.on=function(a,b){var c=this.callbackMap_[a];c||(c=[],this.callbackMap_[a]=c);c.push(b);return this};g.addListener=function(a,b){this.on(a,b);return this};g.removeListener=function(a,b){var c=this.callbackMap_[a];c&&va(c,b);(a=this.callbackOnceMap_[a])&&va(a,b);return this};
g.once=function(a,b){var c=this.callbackOnceMap_[a];c||(c=[],this.callbackOnceMap_[a]=c);c.push(b);return this};g.onData_=function(a){var b=this.callbackMap_.data;b&&QYb(this,a,b);(b=this.callbackOnceMap_.data)&&QYb(this,a,b);this.callbackOnceMap_.data=[]};
var QYb=function(a,b,c){for(var d={},e=0;e<b.length;d={message$jscomp$708:d.message$jscomp$708},e++)d.message$jscomp$708=b[e],c.forEach(function(f){return function(h){try{h(f.message$jscomp$708)}catch(k){a.handleError_("message-callback exception (ignored) "+k)}}}(d))};PYb.prototype.onStatusChange_=function(){switch(this.xhrReader_.getStatus()){case 1:RYb(this,"readable");break;case 5:case 6:case 4:case 7:case 3:RYb(this,"error");break;case 8:RYb(this,"close");break;case 2:RYb(this,"end")}};
var RYb=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]=[]};PYb.prototype.handleError_=function(){};var NC=function(a){a=void 0===a?{}:a;this.suppressCorsPreflight_=a.suppressCorsPreflight||Vo("suppressCorsPreflight",a)||!1;this.withCredentials_=a.withCredentials||Vo("withCredentials",a)||!1;this.streamInterceptors_=a.streamInterceptors||[];this.unaryInterceptors_=a.unaryInterceptors||[];this.workerScope_=a.workerScope;this.chunkedServerStreaming_=a.useFetchDownloadStreams||!1},UYb=function(a,b,c,d,e){var f=b.substr(0,b.length-e.name.length);return SYb(function(h){return new oYb(function(k,q){var t=
{},w=TYb(a,h,f);w.on("error",function(y){return q(y)});w.on("metadata",function(y){t=y});w.on("data",function(y){var C=t;C=void 0===C?{}:C;k(new kYb(y,h.getMethodDescriptor(),C))})})},a.unaryInterceptors_).call(a,lYb(e,c,d)).then(function(h){return h.responseMessage_})},OC=function(a,b,c,d,e){return UYb(a,b,c,d,e)};
NC.prototype.serverStreaming=function(a,b,c,d){var e=this,f=a.substr(0,a.length-d.name.length);return SYb(function(h){var k=h.getMethodDescriptor(),q=h.getMetadata(),t=VYb(e,!1);q=WYb(e,q,t,f+k.getName());var w=XYb(t,k.responseDeserializeFn,!0);h=k.requestSerializeFn(h.requestMessage_);t.send(q,"POST",h);return w},this.streamInterceptors_).call(this,lYb(d,b,c))};
var TYb=function(a,b,c){var d=b.getMethodDescriptor(),e=b.getMetadata(),f=VYb(a,!0);a=WYb(a,e,f,c+d.getName());c=XYb(f,d.responseDeserializeFn,!1);vYb(c,"base64"==e["X-Goog-Encode-Response-If-Executable"]);b=d.requestSerializeFn(b.requestMessage_);f.send(a,"POST",b);return c},VYb=function(a,b){b=a.chunkedServerStreaming_&&!b;return a.workerScope_||b?new OB(new sC({worker:a.workerScope_,streamBinaryChunks:b})):new OB},WYb=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=JYb(d,"$httpHeaders",b);else for(var f in b)c.headers.set(f,b[f]);return d},XYb=function(a,b,c){if(c)if(!Hq||10<=Number(Ft)){c=new OYb(a);var d=new PYb(c)}else d=null;return new pC({xhr:a,nodeReadableStream:d},b)},SYb=function(a,b){var c=a;b.forEach(function(d){var e=c;c=function(f){return d.intercept(f,
e)}});return c};var YYb=function(a){this.client_=new NC({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};var ZYb=function(a){this.internalArray_=m(a)};Y(ZYb,n);ZYb.prototype.getUserPrefs=function(){return vi(this,hC,1)};var $Yb=new mC("/google.internal.devopsconsole.v1.UserPrefsTaskService/GetUserPrefs",iC,ZYb,function(a){return a.serialize()},ac(ZYb));var PC=function(a){this.internalArray_=m(a)};Y(PC,n);PC.repeatedFields_=[1];var aZb=function(a){this.client_=new NC({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};aZb.prototype.getUserPrefs=function(a,b){return OC(this.client_,this.hostname_+"/$rpc/google.internal.devopsconsole.v1.UserPrefsTaskService/GetUserPrefs",a,b||{},$Yb)};var QC=function(){};QC.\u0275fac=function(a){return new (a||QC)};QC.\u0275mod=Tc({type:QC});QC.\u0275inj=Ec({providers:[$Xb],imports:[px,hw,ry,jz,jz,Tx]});var RC=function(){};RC.\u0275fac=function(a){return new (a||RC)};RC.\u0275mod=Tc({type:RC});RC.\u0275inj=Ec({providers:[{provide:dYb,useFactory:function(a){return new aZb(bra(a))},deps:[eYb]},{provide:cYb,useFactory:function(a){return new YYb(bra(a))},deps:[eYb]},jC],imports:[hw,lC,kC,Yz,AA,NA,KA,$B,QC]});var bZb=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"})};bZb.prototype.record=function(a,b,c,d){this.streamzService_.record(this.metricName_,a,b,c,d)};bZb.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var cZb=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"})};cZb.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};cZb.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var dZb=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"})};dZb.prototype.record=function(a,b,c,d){this.streamzService_.record(this.metricName_,a,b,c,d)};dZb.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};var eZb="alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");var fZb=function(a){this.servicePromise_=a;a.then(yt(function(){},this),function(){},this)},gZb=function(a,b,c){return a.servicePromise_.then(function(d){var e=d[b];if(!e)throw Error("Nb`"+b);return e.apply(d,c)})},iZb=function(a,b,c){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];e=hZb(a,b).then(function(f){return f.apply(null,d)});return new fZb(e)},jZb={},hZb=function(a,b){var c=jZb[b];if(c)return c;c=(c=Vo(b))?tB(c):(new sB(function(d,e){var f=(new fB(document)).createElement("SCRIPT");
f.async=!0;Th(f,gh(kc(a)));f.onload=f.onreadystatechange=function(){f.readyState&&"loaded"!=f.readyState&&"complete"!=f.readyState||d()};f.onerror=e;(document.head||document.getElementsByTagName("head")[0]).appendChild(f)})).then(function(){var d=Vo(b);if(!d)throw Error("Ob`"+b+"`"+a);return d});return jZb[b]=c};var kZb=function(a){this.loader_=a};kZb.prototype.startFeedback=function(a){gZb(this.loader_,"startFeedback",arguments)};kZb.prototype.requestSurvey=function(a){gZb(this.loader_,"requestSurvey",arguments).thenCatch(function(){},this)};kZb.prototype.presentSurvey=function(a){gZb(this.loader_,"presentSurvey",arguments).thenCatch(function(){},this)};var lZb=new jc(su,"https://www.gstatic.com/feedback/js/help/prod/service/lazy.min.js");hZb(lZb,"help.service.Lazy.create").thenCatch(function(){});var Xs=function(a){this.internalArray_=m(a)};Y(Xs,n);Xs.prototype.getRevisionNumber=function(){return Xh(this,4)};Xs.prototype.setRevisionNumber=function(a){return dj(this,4,a)};var SC=function(a){this.internalArray_=m(a)};Y(SC,n);SC.prototype.getWorkspaceName=function(){return xi(this,1)};SC.prototype.getRevisionNumber=function(){return Xh(this,2,-1)};SC.prototype.setRevisionNumber=function(a){return dj(this,2,a)};var mZb=function(a){this.internalArray_=m(a)};Y(mZb,n);g=mZb.prototype;g.getChangeNumber=function(){return Ui(this,1,-1)};g.getChangeNumber_asLegacyNumberOrString=function(){return Ui(this,1,-1)};g.setChangeNumber=function(a){return nj(this,1,a)};g.getWorkspaceId=function(){return vi(this,SC,2)};g.getRevisionNumber=function(){return Xh(this,3,-1)};g.setRevisionNumber=function(a){return dj(this,3,a)};var TC=function(a){this.internalArray_=m(a)};Y(TC,n);g=TC.prototype;g.getPort=function(){return xi(this,1)};g.setPort=function(a){return gj(this,1,a)};g.hasPort=function(){return yi(this,1)};g.getUser=function(){return xi(this,2)};g.setUser=function(a){return gj(this,2,a)};g.hasUser=function(){return yi(this,2)};g.getWorkspaceId=function(){return vi(this,SC,3)};var nZb=function(a){this.internalArray_=m(a)};Y(nZb,n);g=nZb.prototype;g.getKey=function(){return xi(this,1)};g.hasKey=function(){return yi(this,1)};g.getValue=function(){return xi(this,2)};g.getValue_legacyNullable=function(){return wj(this,2)};g.setValue=function(a){return gj(this,2,a)};g.hasValue=function(){return yi(this,2)};var UC=function(a){this.internalArray_=m(a)};Y(UC,n);UC.prototype.getText=function(){return xi(this,1)};UC.prototype.setText=function(a){return gj(this,1,a)};UC.prototype.getTagsList=function(){return zi(this,nZb,2)};UC.repeatedFields_=[2];var oZb=function(a){this.internalArray_=m(a)};Y(oZb,n);var Zs=function(a){this.internalArray_=m(a)};Y(Zs,n);g=Zs.prototype;g.getReadonlySourceFileId=function(){return Wp(this,Xs,1)};g.setSourceFileId=function(a){return ej(this,Xs,1,a)};g.getType=function(){return vi(this,oZb,3)};g.setType=function(a){return ej(this,oZb,3,a)};g.hasType=function(){return Pi(this,oZb,3)};g.getSize=function(){return Ui(this,5)};g.setSize=function(a){return nj(this,5,a)};g.getChangeId=function(){return vi(this,mZb,11)};Zs.repeatedFields_=[8];var Ys=function(a){this.internalArray_=m(a)};Y(Ys,n);Ys.prototype.getContent=function(){return km(this,2)};Ys.prototype.setContent=function(a){return lm(this,2,bb(a,!1,!0,!1))};Ys.prototype.hasContent=function(){return null!=rq(this,2)};var pZb=function(a){this.internalArray_=m(a)};Y(pZb,n);g=pZb.prototype;g.getBase=function(){return vi(this,TC,1)};g.setBase=function(a){return ej(this,TC,1,a)};g.getDescription=function(){return vi(this,UC,2)};g.setDescription=function(a){return ej(this,UC,2,a)};g.hasDescription=function(){return Pi(this,UC,2)};g.setMode=function(a){return hj(this,6,a)};pZb.repeatedFields_=[4];var VC=function(a){this.internalArray_=m(a)};Y(VC,n);g=VC.prototype;g.getCode=function(){return Tt(this,1)};g.getCode_legacyNullable=function(){return Tt(this,1)};g.setCode=function(a){return dj(this,1,a)};g.getMessage=function(){return wj(this,3)};g.setMessage=function(a){gj(this,3,a)};var WC=function(a){this.internalArray_=m(a,500)};Y(WC,n);g=WC.prototype;g.getStatus=function(){return vi(this,VC,1002)};g.setStatus=function(a){return ej(this,VC,1002,a)};g.hasStatus=function(){return Pi(this,VC,1002)};g.getChangeId=function(){return vi(this,mZb,1)};g.getWorkspaceId=function(){return vi(this,SC,2)};g.getToken=function(){return xi(this,3)};g.setToken=function(a){return gj(this,3,a)};var XC=function(a){this.internalArray_=m(a)};Y(XC,n);XC.prototype.getBase=function(){return vi(this,TC,1)};XC.prototype.setBase=function(a){return ej(this,TC,1,a)};var Eyb=function(){var a=new XC;return hj(a,2,0)},Dyb=function(a,b){return Zl(a,3,b)};XC.repeatedFields_=[3,4];var qZb=function(a){this.internalArray_=m(a,500)};Y(qZb,n);g=qZb.prototype;g.getStatus=function(){return vi(this,VC,1002)};g.setStatus=function(a){return ej(this,VC,1002,a)};g.hasStatus=function(){return Pi(this,VC,1002)};g.getReadonlySourceFileId=function(){return Wp(this,Xs,2)};g.setSourceFileId=function(a){return ej(this,Xs,2,a)};g.getContent=function(){return km(this,3)};g.setContent=function(a){return lm(this,3,bb(a,!1,!0,!1))};g.hasContent=function(){return null!=rq(this,3)};var YC=function(){this.roundCorners=this.showDividers=!1};YC.\u0275fac=function(a){return new (a||YC)};
YC.\u0275cmp=r({type:YC,selectors:[["b-button-group"]],hostVars:4,hostBindings:function(a,b){a&2&&Jf("show-dividers",b.showDividers)("round-corners",b.roundCorners)},inputs:{showDividers:"showDividers",roundCorners:"roundCorners"},ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Vf(),Wf(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 rZb={ACCESS_LEVEL_UNSPECIFIED:"ACCESS_LEVEL_UNSPECIFIED",INTERNAL:"INTERNAL",EXTERNAL_PARTNER:"EXTERNAL_PARTNER",EXTERNAL_PUBLIC:"EXTERNAL_PUBLIC"},Pwa={0:"ACCESS_LEVEL_UNSPECIFIED",1:"INTERNAL",2:"EXTERNAL_PARTNER",3:"EXTERNAL_PUBLIC"},Rwa={ACCESS_LEVEL_UNSPECIFIED:0,INTERNAL:1,EXTERNAL_PARTNER:2,EXTERNAL_PUBLIC:3},Mza={ACCESS_LEVEL_UNSPECIFIED:0,LIMIT_NONE:1,LIMIT_VIEW:2,LIMIT_APPEND:3,LIMIT_VIEW_TRUSTED:4},Vza={ACTION_TYPE_UNSPECIFIED:0,ADD:1,REMOVE:2},Dwb={0:"CONFIDENCE_LEVEL_UNSPECIFIED",
1:"VERY_HIGH",2:"HIGH",3:"MEDIUM",4:"LOW"},sZb={CONFIDENCE_LEVEL_UNSPECIFIED:0,VERY_HIGH:1,HIGH:2,MEDIUM:3,LOW:4},tZb={DAY_TYPE_UNSPECIFIED:"DAY_TYPE_UNSPECIFIED",CALENDAR:"CALENDAR",BUSINESS:"BUSINESS"},zxa={0:"DAY_TYPE_UNSPECIFIED",1:"CALENDAR",2:"BUSINESS"},Bxa={DAY_TYPE_UNSPECIFIED:0,CALENDAR:1,BUSINESS:2},tya={0:"DELETION_REASON_UNSPECIFIED",1:"USER_REQUEST",2:"ABUSE",3:"RESTRICTED",4:"RETENTION",5:"ACCOUNT_CAPABILITIES"},Aya={DELETION_REASON_UNSPECIFIED:0,USER_REQUEST:1,ABUSE:2,RESTRICTED:3,
RETENTION:4,ACCOUNT_CAPABILITIES:5},uZb={COMFORTABLE:"COMFORTABLE",COZY:"COZY",COMPACT:"COMPACT"},Xra={1:"COMFORTABLE",2:"COZY",3:"COMPACT"},psa={COMFORTABLE:1,COZY:2,COMPACT:3},nta={0:"NO_DETAILED_TYPE",1:"UNRESTRICTED_GOOGLER",2:"TVC",3:"EXTERNAL",4:"PUBLIC",5:"ISSUE_CREATION_ONLY"},jza={0:"UNKNOWN_DIFF_TYPE",1:"SINGLE_VALUE",2:"COLLECTION",5:"USER_COLLECTION",3:"LINKED_COLLECTION",4:"CUSTOM_FIELD",6:"STATUS_UPDATE"},exa={0:"EDIT_SIGNIFICANCE_UNSPECIFIED",1:"SILENT",2:"MINOR",3:"MAJOR",4:"BULK",
5:"CLOSING"},ixa={EDIT_SIGNIFICANCE_UNSPECIFIED:0,SILENT:1,MINOR:2,MAJOR:3,BULK:4,CLOSING:5},Ki={0:"UNKNOWN_PRIORITY",4:"CLOSURE_ONLY",1:"MINIMAL",2:"IMPORTANT",3:"ALL"},ij={UNKNOWN_PRIORITY:0,CLOSURE_ONLY:4,MINIMAL:1,IMPORTANT:2,ALL:3},Wra={0:"DEFAULT",1:"ASSIGNMENT",2:"RESPONSE",3:"CLOSURE"},osa={DEFAULT:0,ASSIGNMENT:1,RESPONSE:2,CLOSURE:3},gdb={0:"ISSUE_LABEL_FIELD_UNSPECIFIED",1:"ID",2:"BLOCKING_ID",3:"BLOCKED_BY_ID",4:"CANONICAL_ID",5:"PARENT_ID",6:"INCOMING_DEPENDENCY_ID",7:"LINKED_ID",8:"HOTLIST_ID",
9:"SAVED_SEARCH_ID",10:"COMPONENT_ID",11:"TEAM_ID",12:"REPORTER",13:"ASSIGNEE",14:"CC",15:"VERIFIER",16:"MODIFIER",17:"LAST_MODIFIER",18:"COMMENTER",19:"LAST_COMMENTER",20:"PRIORITY",21:"SEVERITY",22:"TYPE",23:"STATUS",24:"DELETION_REASON",25:"TITLE",26:"COMMENT",27:"ATTACHMENT",28:"CL",29:"POSTMORTEM",30:"FOUND_IN",31:"TARGETED_TO",32:"VERIFIED_IN",33:"CREATED",34:"MODIFIED",35:"RESOLVED",36:"VERIFIED",37:"DELETION_TIME",38:"IN_PROD",39:"STAR",40:"MUTE",41:"IS_DELETED",42:"CUSTOM_FIELD",43:"DUPLICATE_COUNT",
44:"VOTE_COUNT",45:"COMMENT_COUNT",46:"CC_COUNT",47:"ARCHIVED",48:"MIN_SLO_TARGET",49:"EFFORT_LABEL",50:"EFFORT_VALUE",51:"MENTION",52:"VOTE",53:"EFFORT_TOTAL_OPEN",54:"EFFORT_TOTAL_COMPLETE",55:"COLLABORATOR",56:"COLLABORATOR_COUNT",57:"TRACKER_ID",58:"ACCESS_LEVEL",59:"DESCENDANT_COUNT",60:"OPEN_DESCENDANT_COUNT",61:"ONE_DAY_VIEW_COUNT",62:"SEVEN_DAY_VIEW_COUNT",63:"THIRTY_DAY_VIEW_COUNT"},Iya={0:"FIELD_ORDERING_UNSPECIFIED",1:"INHERITED",2:"CUSTOMIZED"},vZb={FIELD_ORDERING_UNSPECIFIED:0,INHERITED:1,
CUSTOMIZED:2},wZb={FIELD_STATE_UNSPECIFIED:"FIELD_STATE_UNSPECIFIED",INHERIT:"INHERIT",DISABLED:"DISABLED",ENABLED:"ENABLED"},qxa={0:"FIELD_STATE_UNSPECIFIED",1:"INHERIT",2:"DISABLED",3:"ENABLED"},xZb={FIELD_STATE_UNSPECIFIED:0,INHERIT:1,DISABLED:2,ENABLED:3},yZb={UNSPECIFIED_FORMATTING_AUDIENCE:0,INTERNAL_AUDIENCE:1,EXTERNAL_AUDIENCE:2},ZC={UNSPECIFIED_FORMATTING_MODE:"UNSPECIFIED_FORMATTING_MODE",PLAIN:"PLAIN",MARKDOWN:"MARKDOWN",LITERAL:"LITERAL"},Mya={0:"UNSPECIFIED_FORMATTING_MODE",1:"PLAIN",
2:"MARKDOWN",3:"LITERAL"},zZb={UNSPECIFIED_FORMATTING_MODE:0,PLAIN:1,MARKDOWN:2,LITERAL:3},sza={0:"IMPLICIT_ACCESS_UNSPECIFIED",1:"ALLOW",2:"DENY"},AZb={IMPLICIT_ACCESS_UNSPECIFIED:0,ALLOW:1,DENY:2},Cwa={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",45:"ACCESS_LEVEL",46:"DESCENDANT_COUNT",
47:"OPEN_DESCENDANT_COUNT",48:"ONE_DAY_VIEW_COUNT",49:"SEVEN_DAY_VIEW_COUNT",50:"THIRTY_DAY_VIEW_COUNT"},Awa={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,ACCESS_LEVEL:45,DESCENDANT_COUNT:46,OPEN_DESCENDANT_COUNT:47,ONE_DAY_VIEW_COUNT:48,SEVEN_DAY_VIEW_COUNT:49,THIRTY_DAY_VIEW_COUNT:50},sj={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",ACCESS_LEVEL:"ACCESS_LEVEL",DESCENDANT_COUNT:"DESCENDANT_COUNT",OPEN_DESCENDANT_COUNT:"OPEN_DESCENDANT_COUNT",ONE_DAY_VIEW_COUNT:"ONE_DAY_VIEW_COUNT",SEVEN_DAY_VIEW_COUNT:"SEVEN_DAY_VIEW_COUNT",THIRTY_DAY_VIEW_COUNT:"THIRTY_DAY_VIEW_COUNT"},gsa={1:sj.ISSUE_ID,2:sj.COMPONENT_PATH,3:sj.TYPE,4:sj.STATUS,5:sj.PRIORITY,6:sj.SEVERITY,7:sj.REPORTER,8:sj.ASSIGNEE,9:sj.VERIFIER,10:sj.CC,43:sj.COLLABORATOR,11:sj.CHANGELIST,32:sj.POSTMORTEM,12:sj.BLOCKING_ISSUE_ID,
13:sj.BLOCKED_BY_ISSUE_ID,14:sj.CREATED_TIME,15:sj.MODIFIED_TIME,16:sj.RESOLVED_TIME,17:sj.VERIFIED_TIME,38:sj.DELETION_TIME,18:sj.TITLE,19:sj.FOUND_IN_VERSION,20:sj.TARGETED_TO_VERSION,21:sj.VERIFIED_IN_VERSION,22:sj.IN_PROD,23:sj.CANONICAL_ISSUE_ID,24:sj.CUSTOM_FIELD,25:sj.POSITION,26:sj.VOTE_COUNT,27:sj.DUPLICATE_COUNT,28:sj.CC_COUNT,44:sj.COLLABORATOR_COUNT,29:sj.MODIFIED_BY,30:sj.LAST_MODIFIER,31:sj.ARCHIVED,33:sj.MIN_SLO,35:sj.ASSIGNMENT_SLO,36:sj.RESPONSE_SLO,37:sj.CLOSURE_SLO,39:sj.TEAM,40:sj.ESTIMATE,
41:sj.ESTIMATE_TOTAL_OPEN,42:sj.ESTIMATE_TOTAL_COMPLETE,45:sj.ACCESS_LEVEL,46:sj.DESCENDANT_COUNT,47:sj.OPEN_DESCENDANT_COUNT,48:sj.ONE_DAY_VIEW_COUNT,49:sj.SEVEN_DAY_VIEW_COUNT,50:sj.THIRTY_DAY_VIEW_COUNT},zsa={ISSUE_ID:1,COMPONENT_PATH:2,TYPE:3,STATUS:4,PRIORITY:5,SEVERITY:6,REPORTER:7,ASSIGNEE:8,VERIFIER:9,CC:10,COLLABORATOR:43,CHANGELIST:11,POSTMORTEM:32,BLOCKING_ISSUE_ID:12,BLOCKED_BY_ISSUE_ID:13,CREATED_TIME:14,MODIFIED_TIME:15,RESOLVED_TIME:16,VERIFIED_TIME:17,DELETION_TIME:38,TITLE:18,FOUND_IN_VERSION:19,
TARGETED_TO_VERSION:20,VERIFIED_IN_VERSION:21,IN_PROD:22,CANONICAL_ISSUE_ID:23,CUSTOM_FIELD:24,POSITION:25,VOTE_COUNT:26,DUPLICATE_COUNT:27,CC_COUNT:28,COLLABORATOR_COUNT:44,MODIFIED_BY:29,LAST_MODIFIER:30,ARCHIVED:31,MIN_SLO:33,ASSIGNMENT_SLO:35,RESPONSE_SLO:36,CLOSURE_SLO:37,TEAM:39,ESTIMATE:40,ESTIMATE_TOTAL_OPEN:41,ESTIMATE_TOTAL_COMPLETE:42,ACCESS_LEVEL:45,DESCENDANT_COUNT:46,OPEN_DESCENDANT_COUNT:47,ONE_DAY_VIEW_COUNT:48,SEVEN_DAY_VIEW_COUNT:49,THIRTY_DAY_VIEW_COUNT:50},dAa={ISSUE_RELATION_UNSPECIFIED:0,
BLOCKING:1,BLOCKED_BY:2,DUPLICATE:3,CANONICAL:4},$C={ISSUE_RELATIONSHIP_TYPE_UNSPECIFIED:0,CHILD:1,DEPENDENCY:2,LINKED:3},fdb={0:"NODE_JOIN_TYPE_UNSPECIFIED",1:"AND",2:"OR",3:"ERR",4:"NIL"},BZb={UNKNOWN_SUBSCRIPTION:"UNKNOWN_SUBSCRIPTION",UNSUBSCRIBED:"UNSUBSCRIBED",SUBSCRIBED_CLOSURE_ONLY:"SUBSCRIBED_CLOSURE_ONLY",SUBSCRIBED_MAJOR_UPDATES:"SUBSCRIBED_MAJOR_UPDATES",SUBSCRIBED_ALL_UPDATES:"SUBSCRIBED_ALL_UPDATES"},oAa={0:"UNKNOWN_SUBSCRIPTION",1:"UNSUBSCRIBED",2:"SUBSCRIBED_CLOSURE_ONLY",3:"SUBSCRIBED_MAJOR_UPDATES",
4:"SUBSCRIBED_ALL_UPDATES"},$za={UNKNOWN_SUBSCRIPTION:0,UNSUBSCRIBED:1,SUBSCRIBED_CLOSURE_ONLY:2,SUBSCRIBED_MAJOR_UPDATES:3,SUBSCRIBED_ALL_UPDATES:4},hdb={0:"OPERATOR_UNSPECIFIED",1:"EQ",2:"GT",3:"LT",4:"GE",5:"LE"},PAb={0:"UNKNOWN_PERMISSION",1:"OPEN_TO_JOIN"},mta={0:"PRINCIPAL_TYPE_UNSPECIFIED",1:"NON_GAIA",2:"USER",3:"GROUP",4:"ALIAS"},CZb={PRIORITY_UNSPECIFIED:"PRIORITY_UNSPECIFIED",P0:"P0",P1:"P1",P2:"P2",P3:"P3",P4:"P4"},pya={0:"PRIORITY_UNSPECIFIED",1:"P0",2:"P1",3:"P2",4:"P3",5:"P4"},xya=
{PRIORITY_UNSPECIFIED:0,P0:1,P1:2,P2:3,P3:4,P4:5},ksa={0:"UNKNOWN_KEY",1:"ASSIGNED_TO_ME",2:"OPEN",3:"FIXED",4:"BROAD_IN_PROGRESS",5:"NEWLY_FILED",6:"RECENTLY_ACTIVE",7:"HIGH_PRIORITY"},vsa={UNKNOWN_KEY:0,ASSIGNED_TO_ME:1,OPEN:2,FIXED:3,BROAD_IN_PROGRESS:4,NEWLY_FILED:5,RECENTLY_ACTIVE:6,HIGH_PRIORITY:7},DZb={REACTION_TYPE_UNSPECIFIED:"REACTION_TYPE_UNSPECIFIED",UPVOTE:"UPVOTE"},DAa={0:"REACTION_TYPE_UNSPECIFIED",1:"UPVOTE"},EZb={REACTION_TYPE_UNSPECIFIED:0,UPVOTE:1},aza={0:"UNSPECIFIED",1:"USER_REQUEST",
2:"ABUSE",3:"RESTRICTED",4:"RETENTION",5:"ACCOUNT_CAPABILITIES"},zwb={REJECTION_REASON_UNSPECIFIED:0,REVERSED:1,SIMILAR:2,NOT_SIMILAR:3,OTHER:4},oCa={0:"UNKNOWN",1:"HOTLIST",2:"BOOKMARK_GROUP",3:"SAVED_SEARCH"},FZb={UNKNOWN:0,HOTLIST:1,BOOKMARK_GROUP:2,SAVED_SEARCH:3},GZb={RESTRICTION_SEVERITY_UNSPECIFIED:"RESTRICTION_SEVERITY_UNSPECIFIED",NONE_DETECTED:"NONE_DETECTED",RESTRICTED:"RESTRICTED",RESTRICTED_PLUS:"RESTRICTED_PLUS"},HZb={RETENTION_UNSPECIFIED:"RETENTION_UNSPECIFIED",COMPONENT_DEFAULT:"COMPONENT_DEFAULT",
INDEFINITE:"INDEFINITE"},uya={0:"RETENTION_UNSPECIFIED",1:"COMPONENT_DEFAULT",2:"INDEFINITE"},gAa={RETENTION_UNSPECIFIED:0,COMPONENT_DEFAULT:1,INDEFINITE:2},IZb={UNSPECIFIED_RETENTION:"UNSPECIFIED_RETENTION",BUGANIZER_DEFAULT:"BUGANIZER_DEFAULT",CUSTOM_PERIOD:"CUSTOM_PERIOD",INDEFINITE_RETENTION:"INDEFINITE_RETENTION"},txa={0:"UNSPECIFIED_RETENTION",1:"BUGANIZER_DEFAULT",2:"CUSTOM_PERIOD",3:"INDEFINITE_RETENTION"},vxa={UNSPECIFIED_RETENTION:0,BUGANIZER_DEFAULT:1,CUSTOM_PERIOD:2,INDEFINITE_RETENTION:3},
qya={0:"SEVERITY_UNSPECIFIED",1:"S0",2:"S1",3:"S2",4:"S3",5:"S4"},yya={SEVERITY_UNSPECIFIED:0,S0:1,S1:2,S2:3,S3:4,S4:5},hsa={0:"SIGNAL_TYPE_UNKNOWN",1:"NEAR_SLO",2:"MENTIONED",6:"REPLIED_TO_MENTION",7:"NEWLY_BLOCKING",3:"UNBLOCKED",5:"ASSIGNED",4:"NEEDS_REPORTER_INPUT"},Bsa={SIGNAL_TYPE_UNKNOWN:0,NEAR_SLO:1,MENTIONED:2,REPLIED_TO_MENTION:6,NEWLY_BLOCKING:7,UNBLOCKED:3,ASSIGNED:5,NEEDS_REPORTER_INPUT:4},adb={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"},OAb={0:"UNKNOWN",1:"NORMAL",2:"LARGE",3:"HUGE",4:"ENORMOUS"},nya={0:"SLO_SNOOZE_TYPE_UNSPECIFIED",1:"STARTS_ON",2:"ASSIGNMENT_ETA",3:"RESPONSE_ETA",4:"CLOSURE_ETA"},Bya={SLO_SNOOZE_TYPE_UNSPECIFIED:0,STARTS_ON:1,ASSIGNMENT_ETA:2,RESPONSE_ETA:3,CLOSURE_ETA:4},Hya={0:"SLO_SOURCE_UNSPECIFIED",1:"USER",2:"BUGSCOPE"},Dxa={SLO_SOURCE_UNSPECIFIED:0,USER:1,BUGSCOPE:2},Ywa={0:"STANDARD_FIELD_UNSPECIFIED",1:"REPORTER",
2:"ASSIGNEE",3:"VERIFIER",4:"CC",5:"TYPE",6:"STATUS",7:"PRIORITY",8:"SEVERITY",9:"CHANGELISTS",10:"PENDING_CHANGELISTS",11:"POSTMORTEMS",12:"FOUND_IN",13:"TARGETED_TO",14:"VERIFIED_IN",15:"IN_PRODUCTION",16:"SLO_STATUS",17:"TEAM",18:"COLLABORATORS"},$wa={STANDARD_FIELD_UNSPECIFIED:0,REPORTER:1,ASSIGNEE:2,VERIFIER:3,CC:4,TYPE:5,STATUS:6,PRIORITY:7,SEVERITY:8,CHANGELISTS:9,PENDING_CHANGELISTS:10,POSTMORTEMS:11,FOUND_IN:12,TARGETED_TO:13,VERIFIED_IN:14,IN_PRODUCTION:15,SLO_STATUS:16,TEAM:17,COLLABORATORS:18},
Oeb={0:"STATE_UNSPECIFIED",1:"STATE_DISABLED",2:"STATE_ENABLED"},Dya={0:"STATE_UNSPECIFIED",1:"PENDING",2:"MERGED"},Eya={STATE_UNSPECIFIED:0,PENDING:1,MERGED:2},oya={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"},wya={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},bza={0:"ACTIVE",1:"DELETED",
2:"PURGED"},isa={0:"UNKNOWN_SOURCE",1:"WTDM",2:"NON_WTDM",3:"CRITIQUE",4:"DRIVE",5:"BUGANIZER",6:"ARIANE"},Csa={UNKNOWN_SOURCE:0,WTDM:1,NON_WTDM:2,CRITIQUE:3,DRIVE:4,BUGANIZER:5,ARIANE:6},Mra={0:"THEME_UNSPECIFIED",1:"GOOGLE",2:"OPEN_SOURCE"},ldb={0:"QUERY_BUILDER_RESPONSE_TYPE_UNSPECIFIED",1:"AND",2:"OR"},Cwb={0:"TYPE_UNSPECIFIED",1:"ISSUE_DEDUPLICATION"},JZb={TYPE_UNSPECIFIED:0,ISSUE_DEDUPLICATION:1},ywb={TYPE_UNSPECIFIED:0,VIEWED:1,ACCEPTED:2,REJECTED:3},dxa={0:"TYPE_UNSPECIFIED",1:"TEXT",2:"DATE",
3:"ENUM",4:"NUMERIC",5:"REPEATED_TEXT",6:"REPEATED_DATE",7:"REPEATED_ENUM",8:"REPEATED_NUMERIC"},hxa={TYPE_UNSPECIFIED:0,TEXT:1,DATE:2,ENUM:3,NUMERIC:4,REPEATED_TEXT:5,REPEATED_DATE:6,REPEATED_ENUM:7,REPEATED_NUMERIC:8},KZb={USER_ACTIVITY_TYPE_UNDEFINED:0,VIEW:1,RELOAD:2,EDIT:3,MARK_AS_READ_OR_UNREAD:4},Ira={0:"UNSPECIFIED",1:"ACTIVE",2:"DELETED",3:"UNAVAILABLE"},Kra={UNSPECIFIED:0,ACTIVE:1,DELETED:2,UNAVAILABLE:3},Peb={0:"USER_GROUP_UNSPECIFIED",1:"USER_GROUP_BUGANIZER_TEAM",2:"USER_GROUP_TRUSTED_TESTER"},
cdb={0:"VALUE_TYPE_UNSPECIFIED",1:"NOT",2:"OR",3:"AND",4:"RANGE",5:"SIMPLE"},LZb={VIEW_UNSPECIFIED:0,BASIC:1,FULL:2};var Xl=function(a){this.internalArray_=m(a)};Y(Xl,n);Xl.prototype.getStatus=function(){return Li(this,1,0)};Xl.prototype.setStatus=function(a){return Cl(this,1,a)};Xl.prototype.getReason=function(){return Li(this,2,0)};Xl.prototype.setReason=function(a){return Cl(this,2,a)};var $l=function(a){this.internalArray_=m(a)};Y($l,n);var El=function(a){this.internalArray_=m(a)};Y(El,n);g=El.prototype;g.getStartTime=function(){return vi(this,Xi,1)};g.getObjective=function(){return vi(this,Wk,4)};g.setObjective=function(a){return ej(this,Wk,4,a)};g.getBusinessDays=function(){return Xh(this,5)};g.setBusinessDays=function(a){return Tk(this,5,a)};g.getDayType=function(){return Li(this,6,0)};g.setDayType=function(a){return Cl(this,6,a)};var Ym=function(a){this.internalArray_=m(a)};Y(Ym,n);var Zm=function(a){this.internalArray_=m(a)};Y(Zm,n);Zm.prototype.getSourceIssueIdsList=function(){return Gj(this,1)};Zm.prototype.setSourceIssueIdsList=function(a){return Rt(this,1,a)};Zm.repeatedFields_=[1];var aD=function(a){this.internalArray_=m(a)};Y(aD,n);var jya=function(a){this.internalArray_=m(a)};Y(jya,n);var Sxa=function(a){this.internalArray_=m(a)};Y(Sxa,n);Sxa.prototype.getSeverity=function(){return Li(this,1,0)};Sxa.prototype.setSeverity=function(a){Cl(this,1,a)};var MZb=function(a){this.internalArray_=m(a)};Y(MZb,n);var Wm=function(a){this.internalArray_=m(a)};Y(Wm,n);Wm.prototype.getRetentionPeriod=function(){return vi(this,Wk,1)};var Vl=function(a){this.internalArray_=m(a)};Y(Vl,n);g=Vl.prototype;g.getAttachmentId=function(){return Ui(this,1)};g.setAttachmentId=function(a){return Gl(this,1,a)};g.getLength=function(){return Ui(this,3)};g.getFilename=function(){return xi(this,4)};g.setFilename=function(a){Ol(this,4,a)};g.getEntityStatus=function(){return vi(this,Xl,6)};g.setEntityStatus=function(a){return ej(this,Xl,6,a)};g.getEtag=function(){return km(this,7)};g.setEtag=function(a){Wl(this,7,a)};
g.getContentVerdict=function(){return vi(this,MZb,10)};g.getRestrictedRetentionState=function(){return vi(this,Wm,11)};g.getRestrictedRetention=function(){return Li(this,12,0)};g.setRestrictedRetention=function(a){return Cl(this,12,a)};var tl=function(a){this.internalArray_=m(a)};Y(tl,n);tl.prototype.getValuesList=function(){return zi(this,Sk,1)};tl.prototype.setValuesList=function(a){return Zl(this,1,a)};tl.prototype.setValues=function(a,b){Qt(this,1,Sk,a,b)};tl.repeatedFields_=[1];var sl=function(a){this.internalArray_=m(a)};Y(sl,n);sl.prototype.getValuesList=function(){return ELb(this,1)};sl.prototype.setValuesList=function(a){return Nb(this,1,a,kba)};sl.prototype.getValues=function(a){var b=ELb(this,1,void 0,3,!0);fb(b,a);return b[a]};sl.prototype.setValues=function(a,b){Qb(this,1,kba,a,b,ELb)};sl.repeatedFields_=[1];var rl=function(a){this.internalArray_=m(a)};Y(rl,n);rl.prototype.getValuesList=function(){return Yh(this,1)};rl.prototype.setValuesList=function(a){return pj(this,1,a)};rl.prototype.getValues=function(a){return Xt(this,1,a)};rl.prototype.setValues=function(a,b){Qb(this,1,tb,a,b,Yh)};rl.repeatedFields_=[1];var uj=function(a){this.internalArray_=m(a)};Y(uj,n);var ul=function(a){this.internalArray_=m(a)};Y(ul,n);g=ul.prototype;g.getValueCase=function(){return sn(this,ol)};g.getCustomFieldId=function(){return Ui(this,1)};g.setCustomFieldId=function(a){return Gl(this,1,a)};g.getDateValue=function(){return ql(this,Sk,3,ol)};g.getDisplayString=function(){return xi(this,10)};ul.repeatedFields_=[11];var ol=[2,3,4,5,6,7,8,9];var xl=function(a){this.internalArray_=m(a)};Y(xl,n);g=xl.prototype;g.getCustomFieldId=function(){return Ui(this,1)};g.setCustomFieldId=function(a){return Gl(this,1,a)};g.getComponentId=function(){return Ui(this,2)};g.setComponentId=function(a){return Gl(this,2,a)};g.getType=function(){return Li(this,3,0)};g.setType=function(a){return Cl(this,3,a)};g.getName=function(){return xi(this,5)};g.setName=function(a){return Ol(this,5,a)};g.getDescription=function(){return xi(this,6)};
g.setDescription=function(a){return Ol(this,6,a)};g.getEnumValues=function(a){return Xt(this,8,a)};g.setFieldSignificance=function(a){return Cl(this,9,a)};g.getShared=function(){return Hi(this,11)};g.setShared=function(a){yl(this,11,a)};xl.repeatedFields_=[8];var ml=function(a){this.internalArray_=m(a)};Y(ml,n);ml.prototype.getCustomFieldId=function(){return Ui(this,kl(this,ll,1))};ml.prototype.setCustomFieldId=function(a){return nl(this,1,ll,sb(a))};ml.prototype.hasCustomFieldId=function(){return null!=Ut(this,kl(this,ll,1))};var ll=[1,2];var Yk=function(a){this.internalArray_=m(a)};Y(Yk,n);g=Yk.prototype;g.getEmailAddress=function(){return xi(this,1)};g.setEmailAddress=function(a){Ol(this,1,a)};g.getObfuscatedEmailAddress=function(){return xi(this,2)};g.setObfuscatedEmailAddress=function(a){Ol(this,2,a)};g.getUserGaiaStatus=function(){return Li(this,3,0)};g.setUserGaiaStatus=function(a){Cl(this,3,a)};g.getAliasesList=function(){return Yh(this,4)};g.setAliasesList=function(a){pj(this,4,a)};Yk.repeatedFields_=[4];var bD=function(a){this.internalArray_=m(a)};Y(bD,n);g=bD.prototype;g.getHasReacted=function(){return Hi(this,1)};g.setHasReacted=function(a){return yl(this,1,a)};g.getCount=function(){return Ui(this,2)};g.setCount=function(a){return Gl(this,2,a)};g.getRecentRespondersList=function(){return zi(this,Yk,3)};g.getType=function(){return Li(this,4,0)};g.setType=function(a){return Cl(this,4,a)};bD.repeatedFields_=[3];var Pl=function(a){this.internalArray_=m(a)};Y(Pl,n);Pl.prototype.getReactionStatesList=function(){return zi(this,bD,2)};Pl.prototype.addReactionStates=function(a){return mq(this,2,bD,a)};Pl.repeatedFields_=[2];var cD=function(a){this.internalArray_=m(a)};Y(cD,n);cD.prototype.getContent=function(){return vi(this,uj,1)};cD.prototype.setContent=function(a){return ej(this,uj,1,a)};cD.prototype.hasContent=function(){return Pi(this,uj,1)};var dD=function(a){this.internalArray_=m(a)};Y(dD,n);dD.prototype.getContent=function(){return vi(this,uj,1)};dD.prototype.setContent=function(a){return ej(this,uj,1,a)};dD.prototype.hasContent=function(){return Pi(this,uj,1)};var eya=function(a){this.internalArray_=m(a)};Y(eya,n);g=eya.prototype;g.getIsQuoted=function(){return Hi(this,1)};g.setIsQuoted=function(a){return yl(this,1,a)};g.getContent=function(){return vi(this,uj,2)};g.setContent=function(a){return ej(this,uj,2,a)};g.hasContent=function(){return Pi(this,uj,2)};var eD=function(a){this.internalArray_=m(a)};Y(eD,n);eD.prototype.getPlainSectionList=function(){return zi(this,eya,1)};eD.prototype.setPlainSectionList=function(a){return Zl(this,1,a)};eD.repeatedFields_=[1];var fn=function(a){this.internalArray_=m(a)};Y(fn,n);g=fn.prototype;g.getKindCase=function(){return sn(this,fD)};g.getPlainFormat=function(){return ql(this,eD,1,fD)};g.setPlainFormat=function(a){wl(this,1,fD,a)};g.hasPlainFormat=function(){return cm(this,eD,1,fD)};g.getMarkdownFormat=function(){return ql(this,dD,2,fD)};g.setMarkdownFormat=function(a){wl(this,2,fD,a)};g.hasMarkdownFormat=function(){return cm(this,dD,2,fD)};g.getLiteralFormat=function(){return ql(this,cD,3,fD)};
g.setLiteralFormat=function(a){wl(this,3,fD,a)};g.hasLiteralFormat=function(){return cm(this,cD,3,fD)};var fD=[1,2,3];var gD=function(a){this.internalArray_=m(a)};Y(gD,n);gD.prototype.getMentionedUser=function(){return vi(this,Yk,1)};gD.prototype.getState=function(){return Li(this,2,0)};gD.prototype.setState=function(a){return Cl(this,2,a)};gD.repeatedFields_=[3];var bn=function(a){this.internalArray_=m(a)};Y(bn,n);g=bn.prototype;g.getIssueId=function(){return Ui(this,6)};g.setIssueId=function(a){return Gl(this,6,a)};g.getCommentNumber=function(){return Xh(this,7)};g.setCommentNumber=function(a){return Tk(this,7,a)};g.getComment=function(){return xi(this,1)};g.setComment=function(a){return Ol(this,1,a)};g.getFormattedComment=function(){return vi(this,fn,16)};g.hasFormattedComment=function(){return Pi(this,fn,16)};
g.getMentionsList=function(){return zi(this,gD,14)};g.getFormattingMode=function(){return Li(this,9,0)};g.setFormattingMode=function(a){return Cl(this,9,a)};g.getAttachmentsList=function(){return zi(this,Vl,2)};g.setAttachmentsList=function(a){return Zl(this,2,a)};g.addAllAttachments=function(a){St(this,2,Vl,a)};g.getModifiedTime=function(){return vi(this,Xi,4)};g.setModifiedTime=function(a){return ej(this,Xi,4,a)};g.getEntityStatus=function(){return vi(this,Xl,5)};
g.setEntityStatus=function(a){return ej(this,Xl,5,a)};g.getVersion=function(){return Xh(this,8)};g.setVersion=function(a){return Tk(this,8,a)};g.getContentVerdict=function(){return vi(this,MZb,10)};g.getRestrictedRetentionState=function(){return vi(this,Wm,11)};g.getRestrictedRetention=function(){return Li(this,12,0)};g.setRestrictedRetention=function(a){return Cl(this,12,a)};g.getEtag=function(){return km(this,15)};g.setEtag=function(a){Wl(this,15,a)};bn.repeatedFields_=[14,2];var rya=function(a){this.internalArray_=m(a)};Y(rya,n);g=rya.prototype;g.setHost=function(a){return Ol(this,1,a)};g.getChangeNumber=function(){return Ui(this,3)};g.getChangeNumber_asLegacyNumberOrString=function(){return Ui(this,3)};g.setChangeNumber=function(a){return Gl(this,3,a)};g.getState=function(){return Li(this,4,0)};g.setState=function(a){return Cl(this,4,a)};var Ul=function(a){this.internalArray_=m(a)};Y(Ul,n);Ul.prototype.getAccessLevel=function(){return Li(this,1,0)};Ul.prototype.setAccessLevel=function(a){return Cl(this,1,a)};var Yl=function(a){this.internalArray_=m(a)};Y(Yl,n);g=Yl.prototype;g.getComponentId=function(){return Ui(this,1)};g.setComponentId=function(a){return Gl(this,1,a)};g.getType=function(){return Li(this,2,0)};g.setType=function(a){return Cl(this,2,a)};g.getStatus=function(){return Li(this,3,0)};g.setStatus=function(a){return Cl(this,3,a)};g.getPriority=function(){return Li(this,4,0)};g.setPriority=function(a){return Cl(this,4,a)};g.getSeverity=function(){return Li(this,5,0)};
g.setSeverity=function(a){Cl(this,5,a)};g.getTitle=function(){return xi(this,6)};g.setTitle=function(a){return Ol(this,6,a)};g.getReporter=function(){return vi(this,Yk,7)};g.setReporter=function(a){ej(this,Yk,7,a)};g.getAssignee=function(){return vi(this,Yk,8)};g.setAssignee=function(a){ej(this,Yk,8,a)};g.clearAssignee=function(){return lm(this,8)};g.getVerifier=function(){return vi(this,Yk,9)};g.setVerifier=function(a){ej(this,Yk,9,a)};g.clearVerifier=function(){return lm(this,9)};
g.getCcsList=function(){return zi(this,Yk,10)};g.setCcsList=function(a){Zl(this,10,a)};g.getCollaboratorsList=function(){return zi(this,Yk,31)};g.setCollaboratorsList=function(a){Zl(this,31,a)};g.setCollaborators=function(a){Qt(this,31,Yk,a)};g.getCanonicalIssueId=function(){return Ui(this,11)};g.setCanonicalIssueId=function(a){Gl(this,11,a)};g.getBlockedByIssueIdsList=function(){return Gj(this,12)};g.setBlockedByIssueIdsList=function(a){Rt(this,12,a)};
g.getBlockingIssueIdsList=function(){return Gj(this,13)};g.setBlockingIssueIdsList=function(a){Rt(this,13,a)};g.getHotlistIdsList=function(){return Gj(this,14)};g.setHotlistIdsList=function(a){Rt(this,14,a)};g.addHotlistIds=function(a,b){return Pb(this,14,rb,a,b)};g.getCustomFieldsList=function(){return zi(this,ul,15)};g.setCustomFieldsList=function(a){Zl(this,15,a)};g.getCodeChangesList=function(){return Yh(this,16)};g.setCodeChangesList=function(a){pj(this,16,a)};
g.getInProd=function(){return Hi(this,20)};g.setInProd=function(a){yl(this,20,a)};g.getIsArchived=function(){return Hi(this,21)};g.setIsArchived=function(a){return yl(this,21,a)};g.getDuplicateIssueIdsList=function(){return Gj(this,22)};g.setDuplicateIssueIdsList=function(a){Rt(this,22,a)};g.getIsDeleted=function(){return Hi(this,23)};g.setIsDeleted=function(a){yl(this,23,a)};g.setDeletionReason=function(a){Cl(this,24,a)};g.getEntityStatus=function(){return vi(this,Xl,25)};
g.setEntityStatus=function(a){return ej(this,Xl,25,a)};g.getSloSnoozeUntil=function(){return vi(this,Xi,26)};g.setSloSnoozeUntil=function(a){ej(this,Xi,26,a)};g.getSloEndTime=function(){return vi(this,Xi,34)};g.setSloEndTime=function(a){ej(this,Xi,34,a)};g.hasSloEndTime=function(){return Pi(this,Xi,34)};g.setSloSnoozeType=function(a){Cl(this,30,a)};g.getRetention=function(){return Li(this,28,0)};g.setRetention=function(a){Cl(this,28,a)};g.getEffort=function(){return vi(this,$l,29)};
g.setEffort=function(a){ej(this,$l,29,a)};g.hasEffort=function(){return Pi(this,$l,29)};g.getAccessLimit=function(){return vi(this,Ul,32)};g.setAccessLimit=function(a){return ej(this,Ul,32,a)};Yl.repeatedFields_=[10,31,12,13,14,15,16,35,17,18,19,22,27];var hD=function(a){this.internalArray_=m(a)};Y(hD,n);hD.prototype.getNotificationSubscription=function(){return Li(this,4,0)};hD.prototype.setNotificationSubscription=function(a){return Cl(this,4,a)};hD.repeatedFields_=[3];var zAa=function(a){this.internalArray_=m(a)};Y(zAa,n);zAa.prototype.getHref=function(){return xi(this,1)};var tn=function(a){this.internalArray_=m(a)};Y(tn,n);tn.prototype.getIssueId=function(){return Ui(this,1)};tn.prototype.setIssueId=function(a){return nj(this,1,a)};tn.prototype.getCommentNumber=function(){return Xh(this,2)};tn.prototype.setCommentNumber=function(a){return dj(this,2,a)};var NZb=function(a){this.internalArray_=m(a)};Y(NZb,n);var yAa=[1,2];var iD=function(a){this.internalArray_=m(a)};Y(iD,n);g=iD.prototype;g.getIssueId=function(){return Ui(this,1)};g.setIssueId=function(a){return Gl(this,1,a)};g.getUpdateText=function(){return xi(this,2)};g.setUpdateText=function(a){Ol(this,2,a)};g.getFormattingMode=function(){return Li(this,4,0)};g.setFormattingMode=function(a){return Cl(this,4,a)};g.getAuthor=function(){return vi(this,Yk,5)};g.setAuthor=function(a){ej(this,Yk,5,a)};g.hasAuthor=function(){return Pi(this,Yk,5)};
g.getUpdateTime=function(){return vi(this,Xi,6)};g.setUpdateTime=function(a){ej(this,Xi,6,a)};g.hasUpdateTime=function(){return Pi(this,Xi,6)};g.getVersion=function(){return Xh(this,7)};g.setVersion=function(a){return Tk(this,7,a)};g.getEntityStatus=function(){return vi(this,Xl,8)};g.setEntityStatus=function(a){return ej(this,Xl,8,a)};var an=function(a){this.internalArray_=m(a)};Y(an,n);g=an.prototype;g.getIssueId=function(){return Ui(this,2)};g.setIssueId=function(a){return Gl(this,2,a)};g.getIssueState=function(){return vi(this,Yl,3)};g.setIssueState=function(a){return ej(this,Yl,3,a)};g.hasIssueState=function(){return Pi(this,Yl,3)};g.getAttachmentsList=function(){return zi(this,Vl,18)};g.setAttachmentsList=function(a){return Zl(this,18,a)};g.addAllAttachments=function(a){St(this,18,Vl,a)};
g.getDescription=function(){return vi(this,bn,44)};g.setDescription=function(a){return ej(this,bn,44,a)};g.hasDescription=function(){return Pi(this,bn,44)};g.getStatusUpdate=function(){return vi(this,iD,43)};g.hasStatusUpdate=function(){return Pi(this,iD,43)};g.getCreatedTime=function(){return vi(this,Xi,5)};g.setCreatedTime=function(a){return ej(this,Xi,5,a)};g.getModifiedTime=function(){return vi(this,Xi,6)};g.setModifiedTime=function(a){return ej(this,Xi,6,a)};
g.getLastModifier=function(){return vi(this,Yk,14)};g.setLastModifier=function(a){ej(this,Yk,14,a)};g.getUserData=function(){return vi(this,hD,9)};g.setUserData=function(a){ej(this,hD,9,a)};g.getVoteCount=function(){return Ui(this,10)};g.setVoteCount=function(a){Gl(this,10,a)};g.getParentIssueIdsList=function(){return Gj(this,37)};g.setParentIssueIdsList=function(a){Rt(this,37,a)};g.getAccessLimit=function(){return vi(this,el,11)};g.setAccessLimit=function(a){return ej(this,el,11,a)};
g.getVersion=function(){return Xh(this,12)};g.setVersion=function(a){return Tk(this,12,a)};g.getEtag=function(){return km(this,13)};g.setEtag=function(a){Wl(this,13,a)};g.getCustomFieldsList=function(){return zi(this,xl,15)};g.setCustomFieldsList=function(a){Zl(this,15,a)};g.getVisibleFieldsList=function(){return zi(this,ml,34)};g.setVisibleFieldsList=function(a){Zl(this,34,a)};g.getSloStatus=function(){return vi(this,Ym,16)};g.setSloStatus=function(a){ej(this,Ym,16,a)};
g.hasSloStatus=function(){return Pi(this,Ym,16)};g.getSloId=function(){return Ui(this,17)};g.setSloId=function(a){return Gl(this,17,a)};g.getTeamId=function(){return Ui(this,33)};g.setTeamId=function(a){return Gl(this,33,a)};g.getRetentionState=function(){return vi(this,Wm,29)};g.setRetentionState=function(a){ej(this,Wm,29,a)};g.getAncestorsMap=function(){return Mb(this,38,Zm,Oba)};g.getChildIssueCount=function(){return Xh(this,39)};g.setChildIssueCount=function(a){Tk(this,39,a)};
g.getDescendantIssueCount=function(){return Xh(this,45)};g.getOpenDescendantIssueCount=function(){return Xh(this,46)};g.getIsArchived=function(){return Hi(this,40)};g.setIsArchived=function(a){return yl(this,40,a)};g.getRelatedLinksList=function(){return zi(this,NZb,41)};g.getTrackerId=function(){return Ui(this,42)};g.setTrackerId=function(a){Gl(this,42,a)};g.getUserActivityStats=function(){return vi(this,aD,47)};g.hasUserActivityStats=function(){return Pi(this,aD,47)};
an.repeatedFields_=[18,37,31,15,34,41];var jD=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,""]]),kD=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 lD={},mD=(lD.STATUS_UNSPECIFIED=kD.get(0),lD.NEW=kD.get(1),lD.ASSIGNED=kD.get(2),lD.ACCEPTED=kD.get(3),lD.FIXED=kD.get(4),lD.VERIFIED=kD.get(5),lD.DUPLICATE=kD.get(10),lD.INFEASIBLE=kD.get(9),lD.NOT_REPRODUCIBLE=kD.get(6),lD.OBSOLETE=kD.get(8),lD.INTENDED_BEHAVIOR=kD.get(7),lD),nD={},SBa=(nD.STATUS_UNSPECIFIED=0,nD.NEW=10,nD.ASSIGNED=20,nD.ACCEPTED=30,nD.FIXED=40,nD.VERIFIED=50,nD.DUPLICATE=60,nD.INFEASIBLE=70,nD.NOT_REPRODUCIBLE=80,nD.OBSOLETE=90,nD.INTENDED_BEHAVIOR=100,nD),oD={},OZb=(oD.ASSIGNED=
!0,oD.ACCEPTED=!0,oD.FIXED=!0,oD.VERIFIED=!0,oD.DUPLICATE=!0,oD.INFEASIBLE=!0,oD.NOT_REPRODUCIBLE=!0,oD.OBSOLETE=!0,oD.INTENDED_BEHAVIOR=!0,oD),pD={},Kk=(pD.STATUS_UNSPECIFIED=jD.get(0),pD.NEW=jD.get(1),pD.ASSIGNED=jD.get(2),pD.ACCEPTED=jD.get(3),pD.FIXED=jD.get(4),pD.VERIFIED=jD.get(5),pD.DUPLICATE=jD.get(10),pD.INFEASIBLE=jD.get(9),pD.NOT_REPRODUCIBLE=jD.get(6),pD.OBSOLETE=jD.get(8),pD.INTENDED_BEHAVIOR=jD.get(7),pD),qD={},PZb=(qD.P0="P0",qD.P1="P1",qD.P2="P2",qD.P3="P3",qD.P4="P4",qD.PRIORITY_UNSPECIFIED=
"--",qD),rD={},$Ba=(rD.P0=0,rD.P1=10,rD.P2=20,rD.P3=30,rD.P4=40,rD.PRIORITY_UNSPECIFIED=99,rD),sD={},QZb=(sD.S0="S0",sD.S1="S1",sD.S2="S2",sD.S3="S3",sD.S4="S4",sD.SEVERITY_UNSPECIFIED="--",sD),tD={},RZb=(tD.STATUS_UNSPECIFIED="issue-status-wont-fix",tD.NEW="issue-status-new",tD.ASSIGNED="issue-status-assigned",tD.ACCEPTED="issue-status-accepted",tD.FIXED="issue-status-fixed",tD.VERIFIED="issue-status-verified",tD.DUPLICATE="issue-status-duplicate",tD.INFEASIBLE="issue-status-wont-fix",tD.NOT_REPRODUCIBLE=
"issue-status-wont-fix",tD.OBSOLETE="issue-status-wont-fix",tD.INTENDED_BEHAVIOR="issue-status-wont-fix",tD);var ora=Object.prototype.hasOwnProperty;var VAb=new Set([{alias:"googlers_unrestricted"},{alias:"google_domain"}].map(function(a){return"ALIAS:"+a.alias})),SZb={AGGREGATION_TYPE_UNSPECIFIED:"AGGREGATION_TYPE_UNSPECIFIED",SUM:"SUM",MAX:"MAX"};var ri=function(a){this.internalArray_=m(a)};Y(ri,n);g=ri.prototype;g.getEmailAddress=function(){return xi(this,1)};g.setEmailAddress=function(a){gj(this,1,a)};g.getObfuscatedEmailAddress=function(){return xi(this,2)};g.setObfuscatedEmailAddress=function(a){gj(this,2,a)};g.getUserGaiaStatus=function(){return Li(this,3,0)};g.setUserGaiaStatus=function(a){hj(this,3,a)};g.getAliasesList=function(){return Yh(this,4)};g.setAliasesList=function(a){pj(this,4,a)};ri.repeatedFields_=[4];var wi=function(a){this.internalArray_=m(a,0,wi.messageId)};Y(wi,n);wi.prototype.getLogoUrl=function(){return xi(this,1)};wi.prototype.getTheme=function(){return Li(this,2,0)};wi.prototype.setTheme=function(a){return hj(this,2,a)};wi.messageId="b.Branding";var Jj=function(a){this.internalArray_=m(a,0,Jj.messageId)};Y(Jj,n);g=Jj.prototype;g.getTrackerId=function(){return Oi(this,1)};g.setTrackerId=function(a){mj(this,1,a)};g.getComponentId=function(){return Oi(this,2)};g.setComponentId=function(a){return mj(this,2,a)};g.hasComponentId=function(){return null!=Ni(this,2)};g.getName=function(){return xi(this,3)};g.setName=function(a){return gj(this,3,a)};g.hasName=function(){return yi(this,3)};g.getNameOrUndefined=function(){return $t(this,3)};
Jj.repeatedFields_=[4,8];Jj.messageId="b.Tracker";var Qra={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"},TZb={},UZb=(TZb[3]="LITERAL_FORMATTING_MODE",TZb[1]="PLAIN_FORMATTING_MODE",TZb[2]="MARKDOWN_FORMATTING_MODE",TZb),VZb=UZb[2],WZb=UZb[1],uD={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 Bi=function(a){this.type=a.type;this.customFieldId=a.customFieldId||void 0;this.customFieldName=a.customFieldName||void 0};Bi.prototype.isCustomField=function(){return"CUSTOM_FIELD"===this.type};Bi.prototype.toApiUrlParam=function(){return this.isCustomField()?this.type.toLowerCase()+"."+this.customFieldId:this.type.toLowerCase()};Bi.prototype.toString=function(){return this.toApiUrlParam()};var Fi=function(a,b){this.fieldId=a;this.direction=b};Fi.prototype.toApiUrlParam=function(){return this.fieldId.toApiUrlParam()+":"+("ASCENDING"===this.direction?"asc":"desc")};Fi.prototype.toString=function(){return this.toApiUrlParam()};var Ri=function(a){this.internalArray_=m(a)};Y(Ri,n);var Yi=function(a){this.internalArray_=m(a)};Y(Yi,n);var rj=function(a){this.internalArray_=m(a)};Y(rj,n);g=rj.prototype;g.getType=function(){return Li(this,1,1)};g.setType=function(a){return hj(this,1,a)};g.hasType=function(){return Ji(this,1)};g.getCustomFieldId=function(){return Ui(this,2)};g.setCustomFieldId=function(a){return nj(this,2,a)};g.hasCustomFieldId=function(){return Ti(this,2)};var kj=function(a){this.internalArray_=m(a)};Y(kj,n);kj.prototype.getTimeZone=function(){return xi(this,5)};kj.prototype.setTimeZone=function(a){return gj(this,5,a)};kj.prototype.hasTimeZone=function(){return yi(this,5)};var qj=function(a){this.internalArray_=m(a)};Y(qj,n);qj.prototype.getColumnList=function(){return zi(this,rj,1)};qj.prototype.setColumnList=function(a){return Zl(this,1,a)};qj.prototype.setColumn=function(a){return Qt(this,1,rj,a)};qj.repeatedFields_=[1];var nsa=function(a){this.internalArray_=m(a)};Y(nsa,n);var Vra=function(a){this.internalArray_=m(a)};Y(Vra,n);var tj=function(a){this.internalArray_=m(a)};Y(tj,n);tj.prototype.getColumn=function(){return vi(this,rj,1)};tj.prototype.setColumn=function(a){return ej(this,rj,1,a)};var fj=function(a){this.internalArray_=m(a)};Y(fj,n);fj.prototype.getColumnList=function(){return zi(this,tj,1)};fj.prototype.setColumnList=function(a){return Zl(this,1,a)};fj.prototype.setColumn=function(a){return Qt(this,1,tj,a)};fj.repeatedFields_=[1];var Mi=function(a){this.internalArray_=m(a)};Y(Mi,n);Mi.prototype.getDensity=function(){return Li(this,1,1)};Mi.prototype.setDensity=function(a){return hj(this,1,a)};var Si=function(a){this.internalArray_=m(a)};Y(Si,n);var lj=function(a){this.internalArray_=m(a)};Y(lj,n);g=lj.prototype;g.getResourceType=function(){return Li(this,1,1)};g.setResourceType=function(a){hj(this,1,a)};g.hasResourceType=function(){return Ji(this,1)};g.getResourceId=function(){return Oi(this,2)};g.setResourceId=function(a){mj(this,2,a)};g.hasResourceId=function(){return null!=Ni(this,2)};var Zra=function(a){this.internalArray_=m(a)};Y(Zra,n);var $i=function(a){this.internalArray_=m(a)};Y($i,n);$i.prototype.getCollapsedMap=function(){return Lb(this,2,Mba)};$i.repeatedFields_=[1,7,8];var Zi=function(a){this.internalArray_=m(a)};Y(Zi,n);Zi.repeatedFields_=[1];var Ura=function(a){this.internalArray_=m(a)};Y(Ura,n);var Wi=function(a){this.internalArray_=m(a)};Y(Wi,n);Wi.prototype.getComponentId=function(){return Ui(this,1)};Wi.prototype.setComponentId=function(a){return nj(this,1,a)};Wi.prototype.hasComponentId=function(){return Ti(this,1)};var Vi=function(a){this.internalArray_=m(a)};Y(Vi,n);var Asa=function(a,b){Zl(a,1,b)};Vi.repeatedFields_=[1];var Qi=function(a){this.internalArray_=m(a)};Y(Qi,n);var bj=function(a){this.internalArray_=m(a,500)};Y(bj,n);g=bj.prototype;g.getDisplayColumns=function(){return vi(this,qj,4)};g.setDisplayColumns=function(a){ej(this,qj,4,a)};g.getSortColumns=function(){return vi(this,fj,6)};g.getLayoutPreferences=function(){return vi(this,nsa,10)};g.getDateTimePreferences=function(){return vi(this,kj,11)};g.getHomepagePreferences=function(){return vi(this,lj,13)};g.getCollapsedMap=function(){return Lb(this,27,Mba)};
g.getShowInlineImages=function(){return Hi(this,29)};var Dj=function(a){this.internalArray_=m(a)};Y(Dj,n);g=Dj.prototype;g.getAnalyticsId=function(){return xi(this,1)};g.getAppName=function(){return xi(this,2)};g.getDocumentationBaseUrl=function(){return xi(this,3)};g.getEnvironmentType=function(){return xi(this,5)};g.getMaxAccurateSearchResults=function(){return Xh(this,6)};g.getOnePickUrl=function(){return xi(this,7)};g.getOnePickSecretToken=function(){return xi(this,12)};g.getCommentNumberLimit=function(){return Xh(this,8)};
g.getCreateComponentRedirectDelay=function(){return pl(this,9)};g.getCreateRestrictedSubresourcesComponentIds=function(){return ILb(this,13)};g.getIndefiniteRetentionComponentsAllowlist=function(){return ILb(this,20)};g.getSimilarIssuesComponentsAllowlist=function(){return ILb(this,21)};Dj.repeatedFields_=[10,13,20,21];var Fj=function(a){this.internalArray_=m(a)};Y(Fj,n);g=Fj.prototype;g.getEmail=function(){return xi(this,1)};g.setEmail=function(a){return gj(this,1,a)};g.hasEmail=function(){return yi(this,1)};g.getSessionIdentifier=function(){return xi(this,3)};g.getUserTypeLabel=function(){return xi(this,5)};var Hj=function(a){this.internalArray_=m(a,0,Hj.messageId)};Y(Hj,n);Hj.prototype.getId=function(){return xi(this,1)};Hj.prototype.setId=function(a){return gj(this,1,a)};Hj.repeatedFields_=[2,4];Hj.messageId="b.TimeZoneData";var Ij=function(a){this.internalArray_=m(a,0,Ij.messageId)};Y(Ij,n);Ij.prototype.getMessage=function(){return xi(this,1)};Ij.prototype.setMessage=function(a){gj(this,1,a)};Ij.prototype.getTagsList=function(){return Yh(this,4)};Ij.prototype.getTags=function(a){return Xt(this,4,a)};Ij.repeatedFields_=[4];Ij.messageId="b.Announcement";var Ej=function(a){this.internalArray_=m(a)};Y(Ej,n);Ej.prototype.getAnnouncement=function(){return vi(this,Ij,2)};Ej.repeatedFields_=[1];var vD=function(a){this.internalArray_=m(a)};Y(vD,n);var Ssa=function(a){this.internalArray_=m(a)};Y(Ssa,n);var XZb={clear:function(){},getItem:function(){},removeItem:function(){},setItem:function(){}},zj=window.localStorage||XZb,YZb=function(a){return function(){var b=zj.getItem(a);if(null!=b)return b=Number(b),isNaN(b)?void 0:b}},Hsa=function(a){return function(){var b=zj.getItem(a);if(null!=b)return String(b)}},ZZb=function(a){return function(b){null==b?zj.removeItem(a):zj.setItem(a,String(b))}},$Zb=function(a){return function(b){null==b?zj.removeItem(a):zj.setItem(a,b)}},a_b=function(a){return function(){var b=
Aj(a)();Dsa(a)(!b);return!b}},Isa=function(a){return function(){var b=zj.getItem(a);if(null!=b)try{return JSON.parse(b)}catch(c){console.warn("JSON.parse("+a+")"),console.warn(c)}}},Bj=function(a){return function(b){null==b?zj.removeItem(a):zj.setItem(a,JSON.stringify(b))}};var Osa=function(a){this.internalArray_=m(a)};Y(Osa,n);g=Osa.prototype;g.getUser=function(){return vi(this,Fj,1)};g.setUser=function(a){return ej(this,Fj,1,a)};g.hasUser=function(){return Pi(this,Fj,1)};g.getConfig=function(){return vi(this,Dj,2)};g.getXsrfToken=function(){return xi(this,3)};g.getCspNonce=function(){return xi(this,8)};g.getFrontendAccessMode=function(){return xi(this,4)};g.getMustAcknowledgeTerms=function(){return Hi(this,5)};g.getShowNewFeaturesDialog=function(){return Hi(this,6)};
g.getUserPreferences=function(){return vi(this,bj,7)};g.getAppBaseHref=function(){return xi(this,10)};g.getTracker=function(){return vi(this,Jj,11)};g.getPassiveLoginIframeUrl=function(){return vi(this,Ssa,12)};var Psa=window,Cj;var Rsa;var nt=function(){this.session=Kj();this.tracker=this.session.tracker||void 0};nt.prototype.getAppBaseHref=function(){return this.session.appBaseHref};nt.prototype.getFrontendAccessMode=function(){return Tsa(this.session)};nt.prototype.isExternalSession=function(){return"INTERNAL"!==this.getFrontendAccessMode()};nt.prototype.isInternalSession=function(){return"INTERNAL"===this.getFrontendAccessMode()};
var wD=function(a){return"PARTNER"===a.getFrontendAccessMode()},xD=function(a){return"PUBLIC"===a.getFrontendAccessMode()};nt.prototype.isNonPublicSession=function(){return"PUBLIC"!==this.getFrontendAccessMode()};var yD=function(a,b){return!!a.session.config.enabledFlags.get(b)};g=nt.prototype;g.isAnonymous=function(){return this.session.user.anonymous};g.getUserEmail=function(){return this.session.user.email||""};g.getSessionIdentifier=function(){return this.session.user.sessionIdentifier||"0"};
g.getTracker=function(){return this.tracker};g.getPassiveLoginIframeUrl=function(){return this.session.passiveLoginIframeUrl};g.getMustAcknowledgeTerms=function(){return this.session.mustAcknowledgeTerms};g.getShowNewFeaturesDialog=function(){return this.session.showNewFeaturesDialog};g.getEnvironmentType=function(){return this.session.config.environmentType||"QA"};
var nUa=function(a){a=a.getEnvironmentType();switch(a){case "QA":case "DEV":return!1;case "NIGHTLY":case "PROD":return!0;default:Oh(a,"Unknown environment type.")}};g=nt.prototype;g.getAppBaseUrl=function(a){return(void 0===a?0:a)||!this.isInternalSession()?nUa(this)?"https://issuetracker.google.com/":"https://issuetracker.sandbox.google.com/":nUa(this)?"http://b/":"http://b-qa/"};g.getOnePickUrl=function(){return this.session.config.onePickUrl};g.getAppName=function(){return this.session.config.appName};
g.getCommentNumberLimit=function(){return this.session.config.commentNumberLimit};g.getCreateComponentRedirectDelay=function(){return this.session.config.createComponentRedirectDelay};g.getDocumentationBaseUrl=function(){return this.session.config.documentationBaseUrl};g.getMaxAccurateSearchResults=function(){return this.session.config.maxAccurateSearchResults};g.getAnalyticsId=function(){return this.session.config.analyticsId};g.getUserPreferences=function(){return this.session.userPreferences};
g.getXsrfToken=function(){return this.session.xsrfToken};g.getOnePickSecretToken=function(){return this.session.config.onePickSecretToken};g.getCreateRestrictedSubresourcesComponentIds=function(){return this.session.config.createRestrictedSubresourcesComponentIds};g.getIndefiniteRetentionComponentsAllowlist=function(){return this.session.config.indefiniteRetentionComponentsAllowlist};g.getSimilarIssuesComponentsAllowlist=function(){return new Set(this.session.config.similarIssuesComponentsAllowlist)};
g.getCspNonce=function(){return this.session.cspNonce};g.getAnnouncement=function(){return this.session.preload.announcement};g.getUserTypeLabel=function(){return this.session.user.userTypeLabel||"UNKNOWN"};nt.\u0275fac=function(a){return new (a||nt)};nt.\u0275prov=Dc({token:nt,factory:nt.\u0275fac,providedIn:"root"});var zD=function(){};zD.\u0275fac=function(a){return new (a||zD)};zD.\u0275mod=Tc({type:zD});zD.\u0275inj=Ec({imports:[hw,NA]});var b_b=function(a,b){return[a,b]},AD=function(){this.size=this.name=""};AD.prototype.ngOnInit=function(){};AD.\u0275fac=function(a){return new (a||AD)};
AD.\u0275cmp=r({type:AD,selectors:[["b-icon"]],inputs:{name:"name",size:"size"},decls:1,vars:5,consts:[[3,"svgIcon","ngClass"]],template:function(a,b){a&1&&L(0,"mat-icon",0);a&2&&G("svgIcon",b.name)("ngClass",gg(2,b_b,b.name,b.size))},dependencies:[Sv,MA],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 c_b=new Map([["BUG","Unintended behavior"],["FEATURE_REQUEST","Request for new functionality"],["CUSTOMER_ISSUE","Issue affecting a 3rd party"],["INTERNAL_CLEANUP","Maintenance work"],["PROCESS","Miscellaneous non-feature work"],["VULNERABILITY","A security concern"],["PRIVACY_ISSUE","A privacy concern"],["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"]]),d_b=["P0","P1","P2","P3","P4"],e_b="NEW ASSIGNED ACCEPTED FIXED VERIFIED NOT_REPRODUCIBLE INTENDED_BEHAVIOR OBSOLETE INFEASIBLE DUPLICATE".split(" "),f_b="BUG FEATURE_REQUEST CUSTOMER_ISSUE INTERNAL_CLEANUP PROCESS VULNERABILITY PRIVACY_ISSUE PROJECT FEATURE MILESTONE EPIC STORY TASK".split(" "),g_b=["S0","S1","S2","S3","S4"],h_b=new Map([["PRIORITY_UNSPECIFIED","(Unspecified Priority)"],["P0","P0"],["P1","P1"],["P2","P2"],["P3","P3"],["P4",
"P4"]]),i_b=new Map([["TYPE_UNSPECIFIED","(Unspecified Issue Type)"],["BUG","Bug"],["FEATURE_REQUEST","Feature Request"],["CUSTOMER_ISSUE","Customer Issue"],["INTERNAL_CLEANUP","Internal Cleanup"],["PROCESS","Process"],["VULNERABILITY","Vulnerability"],["PRIVACY_ISSUE","Privacy Issue"],["PROJECT","Project"],["FEATURE","Feature"],["MILESTONE","Milestone"],["EPIC","Epic"],["STORY","Story"],["TASK","Task"]]),j_b=new Set("PROJECT FEATURE MILESTONE EPIC STORY TASK".split(" ")),k_b=f_b.map(function(a){return{value:a,
displayText:Vh(a),altText:c_b.get(a)}}),BD=function(){this.priorities=d_b;this.severities=g_b;this.editIssueTypes=f_b;this.editIssueTypeChoices=k_b;this.issueTypesDisplayNames=i_b;this.issueTypesShortDescriptions=c_b;this.issuePrioritiesDisplayNames=h_b;this.supportedTimeZones=[{name:"Local time",id:""},{name:"UTC",id:"UTC"},{name:"America/Los_Angeles",id:"America/Los_Angeles"}]};BD.\u0275fac=function(a){return new (a||BD)};BD.\u0275prov=Dc({token:BD,factory:BD.\u0275fac,providedIn:"root"});var CD=function(){this._inset=this._vertical=!1};Gh.Object.defineProperties(CD.prototype,{vertical:{configurable:!0,enumerable:!0,get:function(){return this._vertical},set:function(a){this._vertical=Sg(a)}},inset:{configurable:!0,enumerable:!0,get:function(){return this._inset},set:function(a){this._inset=Sg(a)}}});CD.\u0275fac=function(a){return new (a||CD)};
CD.\u0275cmp=r({type:CD,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(a,b){a&2&&(Af("aria-orientation",b.vertical?"vertical":"horizontal"),Jf("mat-divider-vertical",b.vertical)("mat-divider-horizontal",!b.vertical)("mat-divider-inset",b.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[dg],decls:0,vars:0,template:function(){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],
encapsulation:2,changeDetection:0});var DD=function(){};DD.\u0275fac=function(a){return new (a||DD)};DD.\u0275mod=Tc({type:DD});DD.\u0275inj=Ec({imports:[jz,jz]});var ED=function(a,b){this.constants=a;this.activeSession=b;this.ISSUE_TYPES=f_b;this.STATUS_JS_FULL_TEXT=Kk;this.STATUSES=e_b;this.SEVERITIES_VALUES=g_b;this.PRIORITIES_VALUES=d_b;this.enableBulkEstimatedEffortOption=!1;this.onBulkEdit=new mv;this.onQuickBulkEdit=new mv;this.onBulkEditIssueRelation=new mv;this.onBulkMarkIssueRead=new mv;this.isAnonymous=this.activeSession.isAnonymous();this.enableBulkEditUi=yD(this.activeSession,"enableBulkEditUi")};ED.prototype.bulkEdit=function(a){this.onBulkEdit.emit(a)};
ED.prototype.quickBulkEdit=function(a,b){this.onQuickBulkEdit.emit({field:a,newValue:b})};ED.prototype.bulkEditIssueRelation=function(a,b){this.onBulkEditIssueRelation.emit({issueRelation:a,isMarking:void 0===b?!0:b})};ED.prototype.bulkMarkIssueRead=function(){this.onBulkMarkIssueRead.emit()};var l_b=function(a){return a.ISSUE_TYPES.filter(function(b){return"VULNERABILITY"!==b})};ED.\u0275fac=function(a){return new (a||ED)(B(BD),B(nt))};
ED.\u0275cmp=r({type:ED,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"),F(1,Usa,4,2,"button",0),H(2,"button",1),Q("click",function(){return b.bulkMarkIssueRead()}),T(3),K(),F(4,Vsa,4,2,"button",0)(5,Wsa,4,2,"button",0),K(),H(6,"mat-menu",null,2)(8,"button",3),Q("click",function(){return b.bulkEdit("ASSIGNEE")}),T(9,"Assignee"),K(),H(10,"button",3),Q("click",function(){return b.bulkEdit("COMPONENT")}),
T(11,"Component"),K(),H(12,"button",4),T(13,"Priority"),K(),H(14,"button",4),T(15,"Severity"),K(),H(16,"button",4),T(17,"Status"),K(),H(18,"button",4),T(19,"Type"),K(),H(20,"button",3),Q("click",function(){return b.bulkEdit("VERIFIER")}),T(21,"Verifier"),K(),H(22,"button",3),Q("click",function(){return b.bulkEdit("REPORTER")}),T(23,"Reporter"),K(),H(24,"button",3),Q("click",function(){return b.bulkEdit("CHANGELIST")}),T(25,"Changelist"),K(),H(26,"button",3),Q("click",function(){return b.bulkEdit("CUSTOM_FIELDS")}),
T(27,"Custom Fields"),K(),H(28,"button",4),T(29," Archival state "),K(),H(30,"button",3),Q("click",function(){return b.bulkEdit("FOUND_IN")}),T(31,"Found In"),K(),H(32,"button",3),Q("click",function(){return b.bulkEdit("SLO_START_TIME")}),T(33,"SLO Start Time"),K(),F(34,Xsa,2,0,"button",5),H(35,"button",3),Q("click",function(){return b.bulkEdit("VERIFIED_IN")}),T(36,"Verified In"),K(),H(37,"button",3),Q("click",function(){return b.bulkEdit("TARGETED_TO")}),T(38,"Targeted To"),K(),H(39,"button",4),
T(40,"In Prod"),K(),L(41,"mat-divider"),H(42,"button",3),Q("click",function(){return b.bulkEdit("COMMENT")}),T(43,"Add Comment"),K()(),H(44,"mat-menu",null,6),F(46,Ysa,2,1,"button",7),K(),H(47,"mat-menu",null,8),F(49,Zsa,2,1,"button",7),K(),H(50,"mat-menu",null,9),F(52,$sa,2,1,"button",7),K(),H(53,"mat-menu",null,10),F(55,ata,2,2,"button",11),K(),H(56,"mat-menu",null,12)(58,"button",3),Q("click",function(){return b.quickBulkEdit("IS_ARCHIVED",!0)}),T(59,"Archive"),K(),H(60,"button",3),Q("click",function(){return b.quickBulkEdit("IS_ARCHIVED",
!1)}),T(61,"Unarchive"),K()(),H(62,"mat-menu",null,13)(64,"button",3),Q("click",function(){return b.quickBulkEdit("IN_PROD",!0)}),T(65,"In Prod"),K(),H(66,"button",3),Q("click",function(){return b.quickBulkEdit("IN_PROD",!1)}),T(67,"Not in Prod"),K()(),H(68,"mat-menu",null,14)(70,"button",3),Q("click",function(){return b.bulkEditIssueRelation("BLOCKED_BY",!0)}),T(71,"Mark as Blocked By"),K(),H(72,"button",3),Q("click",function(){return b.bulkEditIssueRelation("BLOCKING",!0)}),T(73,"Mark as Blocking"),
K(),H(74,"button",3),Q("click",function(){return b.bulkEditIssueRelation("PARENT",!0)}),T(75,"Add Parent"),K(),H(76,"button",3),Q("click",function(){return b.bulkEditIssueRelation("DUPLICATE")}),T(77,"Duplicate"),K(),H(78,"button",3),Q("click",function(){return b.bulkEditIssueRelation("BLOCKED_BY",!1)}),T(79,"Unmark as Blocked By"),K(),H(80,"button",3),Q("click",function(){return b.bulkEditIssueRelation("BLOCKING",!1)}),T(81,"Unmark as Blocking"),K(),H(82,"button",3),Q("click",function(){return b.bulkEditIssueRelation("PARENT",
!1)}),T(83,"Remove Parent"),K()(),H(84,"mat-menu",null,15)(86,"button",3),Q("click",function(){return b.quickBulkEdit("CC",!0)}),T(87,"CC me"),K(),H(88,"button",3),Q("click",function(){return b.quickBulkEdit("CC",!1)}),T(89,"Un-CC me"),K(),H(90,"button",3),Q("click",function(){return b.bulkEdit("CC")}),T(91,"Edit CC"),K()());if(a&2){var c=S(45),d=S(48),e=S(51),f=S(54),h=S(57),k=S(63);A(1);G("ngIf",b.enableBulkEditUi);A(1);G("disabled",b.isAnonymous);A(1);V(" ",b.readStatePrompt," ");A(1);G("ngIf",
b.enableBulkEditUi);A(1);G("ngIf",b.enableBulkEditUi);A(7);G("matMenuTriggerFor",c);A(2);G("matMenuTriggerFor",d);A(2);G("matMenuTriggerFor",e);A(2);G("matMenuTriggerFor",f);A(10);G("matMenuTriggerFor",h);A(6);G("ngIf",b.enableBulkEstimatedEffortOption);A(5);G("matMenuTriggerFor",k);A(7);G("ngForOf",b.PRIORITIES_VALUES);A(3);G("ngForOf",b.SEVERITIES_VALUES);A(3);G("ngForOf",b.STATUSES);A(3);G("ngForOf",l_b(b))}},dependencies:[ZB,XB,YB,Tv,Uv,AD,YC,eA,CD,dC],encapsulation:2,changeDetection:0});var FD=function(a){this.activeSession=a;this.showFlagIssuesAsSpam=this.showExportCsv=!1;this.exportCsvClicked=new mv;this.flagAsSpamClicked=new mv;this.isAnonymous=this.activeSession.isAnonymous()};FD.\u0275fac=function(a){return new (a||FD)(B(nt))};
FD.\u0275cmp=r({type:FD,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&&
F(0,dta,9,4,"ng-container",0);a&2&&G("ngIf",b.showExportCsv||b.showFlagIssuesAsSpam)},dependencies:[ZB,XB,YB,Uv,AD,eA],encapsulation:2,changeDetection:0});var GD=function(){};GD.\u0275fac=function(a){return new (a||GD)};GD.\u0275mod=Tc({type:GD});GD.\u0275inj=Ec({imports:[zD]});var HD=function(){};HD.\u0275fac=function(a){return new (a||HD)};HD.\u0275mod=Tc({type:HD});HD.\u0275inj=Ec({imports:[zD]});var ID=function(){};ID.\u0275fac=function(a){return new (a||ID)};ID.\u0275mod=Tc({type:ID});ID.\u0275inj=Ec({imports:[$B,zD,HD,GD,kC,DD,QC]});var JD=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 f=d.watchForRestoredConnection$.subscribe(e);d.watchForRestoredConnection$.subscribe(function(){d.ssoInterceptorState.showRefreshSso$.next(!1)});return function(){f.unsubscribe()}});this.watchForRestoredConnection$=(0,E.fromEvent)(window,"focus").pipe(af(function(){return d.connectionChecker.ok$}),
He(function(e){return e}),Qe(),D(function(){}),Xe())};JD.prototype.intercept=function(a,b){return yD(this.activeSession,"enableRefreshSsoPopup")&&a.url&&a.url.startsWith("action/")?m_b(this,b,a):b.handle(a)};
var m_b=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){n_b(a,b,c,h).pipe(bf(f)).subscribe(d)}}),f=new E.ReplaySubject(1);return function(){f.next();e.unsubscribe()}})},n_b=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)}))}))};
JD.\u0275fac=function(a){return new (a||JD)(p(nt),p(KD),p(LD))};JD.\u0275prov=Dc({token:JD,factory:JD.\u0275fac,providedIn:"root"});var LD=function(){this.showRefreshSso$=new E.BehaviorSubject(!1)};LD.\u0275fac=function(a){return new (a||LD)};LD.\u0275prov=Dc({token:LD,factory:LD.\u0275fac,providedIn:"root"});
var KD=function(a){var b=this;this.ngZone=a;this.ok$=new E.Observable(function(c){var d=to("action/yes",function(){b.ngZone.run(function(){d.isSuccess()?c.next("yes"===d.getResponseText()):c.next(!1);c.complete()})});return function(){d.dispose()}})};KD.\u0275fac=function(a){return new (a||KD)(p(ef))};KD.\u0275prov=Dc({token:KD,factory:KD.\u0275fac,providedIn:"root"});var o_b={provide:Ky,useClass:JD,multi:!0};var p_b=function(a,b){return[a,b]},q_b=[[["b-callout-body"]],[["b-callout-actions"]]],MD=function(){this.messageType="info";this.format="default"};MD.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"}};MD.\u0275fac=function(a){return new (a||MD)};
MD.\u0275cmp=r({type:MD,selectors:[["b-callout"]],hostVars:5,hostBindings:function(a,b){a&2&&Kf(gg(2,p_b,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&&(Vf(q_b),H(0,"div",0),L(1,"mat-icon",1),H(2,"div",2),Wf(3),K(),H(4,"div",3),Wf(5,1),K()());a&2&&(A(1),
G("svgIcon",b.getIconName()))},dependencies:[MA],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 ND=function(){};ND.\u0275fac=function(a){return new (a||ND)};ND.\u0275dir=Vc({type:ND,selectors:[["b-callout-body"],["b-callout-actions"]]});var OD=function(a,b){this.activeSession=a;this.isAnonymous=this.activeSession.isAnonymous();this.showRefreshSsoMessage$=b.showRefreshSso$};OD.\u0275fac=function(a){return new (a||OD)(B(nt),B(LD))};
OD.\u0275cmp=r({type:OD,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&&(F(0,jta,7,4,"b-callout",0),W(1,"async"));a&2&&G("ngIf",X(1,1,b.showRefreshSsoMessage$))},dependencies:[Uv,MD,ND,eA,$v],encapsulation:2,changeDetection:0});var kta=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var r_b=Symbol("Rb"),s_b=Symbol("Sb"),PD=Symbol("Tb"),QD=function(){};QD.prototype.schedule=function(a,b){b=void 0===b?0:b;var c=Oj(),d=c.promise;b=setTimeout(function(){try{var e=a()}catch(f){c.reject(f);d[PD]=!0;return}c.resolve(e);d[PD]=!0},b);d[r_b]=b;d[s_b]=c.reject;d[PD]=!1;return c.promise};QD.prototype.cancel=function(a){var b=a[r_b];if(null==b||a[PD])return!1;clearTimeout(b);var c;null==(c=a[s_b])||c.call(a,Error("Ub"));return a[PD]=!0};QD.\u0275fac=function(a){return new (a||QD)};
QD.\u0275prov=Dc({token:QD,factory:QD.\u0275fac,providedIn:"root"});var RD=function(a){this.timeout=a};RD.prototype.adapt=function(a){return new t_b(this.timeout,a)};RD.\u0275fac=function(a){return new (a||RD)(p(QD))};RD.\u0275prov=Dc({token:RD,factory:RD.\u0275fac,providedIn:"root"});var t_b=function(a,b){this.timeout=a;this.bulkGet=b;this.batchedInputs=[[]];this.batchedDeferreds=[[]];this.isBatchScheduled=!1};
t_b.prototype.get=function(a){var b=Oj(),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||u_b(this);return b.promise};
var u_b=function(a){a.isBatchScheduled=!0;a.timeout.schedule(function(){for(var b={},c=0;c<a.batchedInputs.length;b={batchedDeferred:b.batchedDeferred},c++){var d=a.batchedInputs[c];b.batchedDeferred=a.batchedDeferreds[c];a.bulkGet(d).then(function(e){return function(f){for(var h=0;h<e.batchedDeferred.length;h++)e.batchedDeferred[h].resolve(f[h])}}(b),function(e){return function(f){for(var h=l(e.batchedDeferred),k=h.next();!k.done;k=h.next())k.value.reject(f)}}(b))}a.batchedInputs=[[]];a.batchedDeferreds=
[[]];a.isBatchScheduled=!1})};var SD=function(){},TD=function(){};var v_b=function(a){return"action/issues/"+a+"/statusUpdate"},Ps={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"},w_b={ISSUE_ID:"issueId",COMPONENT_ID:"componentId",GROUP_ID:"groupId",HOTLIST_ID:"hotlistId",SAVED_SEARCH_ID:"savedSearchId",SLO_ID:"sloId",TEAM_ID:"teamId"};var lta=function(a){this.internalArray_=m(a)};Y(lta,n);var x_b=function(a){this.internalArray_=m(a,0,x_b.messageId)};Y(x_b,n);x_b.messageId="b.PrincipalTypeInfoBatchResponse";var UD=function(a,b){this.principalResources=a;this.principalTypeGetter=b.adapt(y_b(this,!1));this.principalTypeWithDetailGetter=b.adapt(y_b(this,!0))},y_b=function(a,b){return function(c){return z_b(a.principalResources,c,b).then(function(d){return pta(c,d)})}};UD.prototype.get=function(a){return VD(this,a,!1)};var VD=function(a,b,c){return(c?a.principalTypeWithDetailGetter.get(b):a.principalTypeGetter.get(b)).then(function(d){return null!=d?d:zta()})};
UD.\u0275fac=function(a){return new (a||UD)(p(WD),p(RD))};UD.\u0275prov=Dc({token:UD,factory:UD.\u0275fac,providedIn:"root"});var WD=function(a){this.executor=a},z_b=function(a,b,c){var d={};d.email=Qj(b);c&&(d.includeDetailedUserType="true");return a.executor.get({url:"action/principal_types",options:{params:d},responseConstructor:x_b}).then(ota).then(function(e){for(var f={},h=l(b),k=h.next();!k.done;k=h.next()){k=k.value;var q=void 0;f[k]=null!=(q=e[k])?q:zta()}return f})};
WD.\u0275fac=function(a){return new (a||WD)(p(TD))};WD.\u0275prov=Dc({token:WD,factory:WD.\u0275fac,providedIn:"root"});var XD=function(a,b){this.cdr=a;this.zone=b;this.destroyed=!1};XD.prototype.ngOnDestroy=function(){this.destroyed=!0};XD.prototype.detectChanges=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.detectChanges()})};XD.prototype.markForCheck=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.markForCheck()})};XD.\u0275fac=function(a){return new (a||XD)(p(Fu),p(ef))};XD.\u0275prov=Dc({token:XD,factory:XD.\u0275fac});var YD=function(a,b,c){var d=this;this.session=a;this.principalTypes=b;this.cdr=c;this.showHiringBanner=!1;yD(this.session,"weAreHiring")&&VD(this.principalTypes,this.session.getUserEmail(),!0).then(function(e){d.showHiringBanner="UNRESTRICTED_GOOGLER"===e.detailedUserType;d.cdr.detectChanges()}).catch(function(){})};YD.\u0275fac=function(a){return new (a||YD)(B(nt),B(UD),B(XD,2))};
YD.\u0275cmp=r({type:YD,selectors:[["b-hiring-banner"]],features:[bg([XD])],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&&F(0,Ata,2,0,"a",0);a&2&&G("ngIf",b.showHiringBanner)},dependencies:[Uv],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 ZD=function(){};ZD.\u0275fac=function(a){return new (a||ZD)};ZD.\u0275mod=Tc({type:ZD});ZD.\u0275inj=Ec({imports:[zD]});var Rj=function(a,b){this.char=a;this.modifiers=b};var A_b={category:"Edit Issue Page",keys:[Sj("r")],displayAs:"Shift+r",description:"Refresh"},B_b={category:"Issue List",keys:["u",Sj("r")],displayAs:"u / Shift+r",description:"Refresh search results"},$D={ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE:{category:"Edit Issue Page",keys:[Sj("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:[Tj("p","0"),Tj("p","1"),Tj("p","2"),Tj("p","3"),Tj("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:A_b,REFRESH_ISSUE_LIST:B_b,TOGGLE_MARK_AS_DUPLICATE:{category:"Edit Issue Page",keys:["d"],displayAs:"d",description:"Mark/unmark issue as duplicate"},TOGGLE_STAR:{category:"Edit Issue Page",keys:["s"],displayAs:"s",description:"Star/Unstar this issue"}};/*

 Copyright 2016 Craig Campbell

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

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

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

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

 @version 1.6.0
 @url craig.is/killing/mice
*/
(function(a,b,c){function d(I,P,O){I.addEventListener?I.addEventListener(P,O,!1):I.attachEvent("on"+P,O)}function e(I){if("keypress"==I.type){var P=String.fromCharCode(I.which);I.shiftKey||(P=P.toLowerCase());return P}return t[I.which]?t[I.which]:w[I.which]?w[I.which]:String.fromCharCode(I.which).toLowerCase()}function f(I){return"shift"==I||"ctrl"==I||"alt"==I||"meta"==I}function h(I,P){var O,U=[];"+"===I?I=["+"]:(I=I.replace(/\+{2}/g,"+plus"),I=I.split("+"));for(O=0;O<I.length;++O){var aa=I[O];
C[aa]&&(aa=C[aa]);P&&"keypress"!=P&&y[aa]&&(aa=y[aa],U.push("shift"));f(aa)&&U.push(aa)}I=aa;O=P;if(!O){if(!J){J={};for(var na in t)95<na&&112>na||t.hasOwnProperty(na)&&(J[t[na]]=na)}O=J[I]?"keydown":"keypress"}"keypress"==O&&U.length&&(O="keydown");return{key:aa,modifiers:U,action:O}}function k(I,P){return null===I||I===b?!1:I===P?!0:k(I.parentNode,P)}function q(I){function P(fa){fa=fa||{};var wa=!1,Ca;for(Ca in Pa)fa[Ca]?wa=!0:Pa[Ca]=0;wa||(Ra=!1)}function O(fa,wa,Ca,Wa,Va,qd){var $a,vb,Sa=[],Fb=
Ca.type;if(!Ba._callbacks[fa])return[];"keyup"==Fb&&f(fa)&&(wa=[fa]);for($a=0;$a<Ba._callbacks[fa].length;++$a)if(vb=Ba._callbacks[fa][$a],(Wa||!vb.seq||Pa[vb.seq]==vb.level)&&Fb==vb.action){var jb;(jb="keypress"==Fb&&!Ca.metaKey&&!Ca.ctrlKey)||(jb=vb.modifiers,jb=wa.sort().join(",")===jb.sort().join(","));jb&&(jb=Wa&&vb.seq==Wa&&vb.level==qd,(!Wa&&vb.combo==Va||jb)&&Ba._callbacks[fa].splice($a,1),Sa.push(vb))}return Sa}function U(fa,wa,Ca,Wa){Ba.stopCallback(wa,wa.target||wa.srcElement,Ca,Wa)||!1!==
fa(wa,Ca)||(wa.preventDefault?wa.preventDefault():wa.returnValue=!1,wa.stopPropagation?wa.stopPropagation():wa.cancelBubble=!0)}function aa(fa){"number"!==typeof fa.which&&(fa.which=fa.keyCode);var wa=e(fa);if(wa)if("keyup"==fa.type&&cb===wa)cb=!1;else{var Ca=Ba,Wa=Ca.handleKey,Va=[];fa.shiftKey&&Va.push("shift");fa.altKey&&Va.push("alt");fa.ctrlKey&&Va.push("ctrl");fa.metaKey&&Va.push("meta");Wa.call(Ca,wa,Va,fa)}}function na(fa,wa,Ca,Wa){function Va(Sa){return function(){Ra=Sa;++Pa[fa];clearTimeout(Ja);
Ja=setTimeout(P,1E3)}}function qd(Sa){U(Ca,Sa,fa);"keyup"!==Wa&&(cb=e(Sa));setTimeout(P,10)}for(var $a=Pa[fa]=0;$a<wa.length;++$a){var vb=$a+1===wa.length?qd:Va(Wa||h(wa[$a+1]).action);sa(wa[$a],vb,Wa,fa,$a)}}function sa(fa,wa,Ca,Wa,Va){Ba._directMap[fa+":"+Ca]=wa;fa=fa.replace(/\s+/g," ");var qd=fa.split(" ");1<qd.length?na(fa,qd,wa,Ca):(Ca=h(fa,Ca),Ba._callbacks[Ca.key]=Ba._callbacks[Ca.key]||[],O(Ca.key,Ca.modifiers,{type:Ca.action},Wa,fa,Va),Ba._callbacks[Ca.key][Wa?"unshift":"push"]({callback:wa,
modifiers:Ca.modifiers,action:Ca.action,seq:Wa,level:Va,combo:fa}))}var Ba=this;I=I||b;if(!(Ba instanceof q))return new q(I);Ba.target=I;Ba._callbacks={};Ba._directMap={};var Pa={},Ja,cb=!1,qb=!1,Ra=!1;Ba._handleKey=function(fa,wa,Ca){var Wa=O(fa,wa,Ca),Va;wa={};var qd=0,$a=!1;for(Va=0;Va<Wa.length;++Va)Wa[Va].seq&&(qd=Math.max(qd,Wa[Va].level));for(Va=0;Va<Wa.length;++Va)Wa[Va].seq?Wa[Va].level==qd&&($a=!0,wa[Wa[Va].seq]=1,U(Wa[Va].callback,Ca,Wa[Va].combo,Wa[Va].seq)):$a||U(Wa[Va].callback,Ca,Wa[Va].combo);
Wa="keypress"==Ca.type&&qb;Ca.type!=Ra||f(fa)||Wa||P(wa);qb=$a&&"keydown"==Ca.type};Ba._bindMultiple=function(fa,wa,Ca){for(var Wa=0;Wa<fa.length;++Wa)sa(fa[Wa],wa,Ca)};d(I,"keypress",aa);d(I,"keydown",aa);d(I,"keyup",aa)}if(a){var t={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},w={106:"*",107:"+",109:"-",110:".",
111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},y={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},C={option:"alt",command:"meta","return":"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},J;for(c=1;20>c;++c)t[111+c]="f"+c;for(c=0;9>=c;++c)t[c+96]=c;q.prototype.bind=function(I,P,O){I=I instanceof Array?
I:[I];this._bindMultiple.call(this,I,P,O);return this};q.prototype.unbind=function(I,P){return this.bind.call(this,I,function(){},P)};q.prototype.trigger=function(I,P){if(this._directMap[I+":"+P])this._directMap[I+":"+P]({},I);return this};q.prototype.reset=function(){this._callbacks={};this._directMap={};return this};q.prototype.stopCallback=function(I,P){return-1<(" "+P.className+" ").indexOf(" mousetrap ")||k(P,this.target)?!1:"INPUT"==P.tagName||"SELECT"==P.tagName||"TEXTAREA"==P.tagName||P.isContentEditable};
q.prototype.handleKey=function(){return this._handleKey.apply(this,arguments)};q.addKeycodes=function(I){for(var P in I)I.hasOwnProperty(P)&&(t[P]=I[P]);J=null};q.init=function(){var I=q(b),P;for(P in I)"_"!==P.charAt(0)&&(q[P]=function(O){return function(){return I[O].apply(I,arguments)}}(P))};q.init();a.Mousetrap=q;"undefined"!==typeof module&&module.exports&&(module.exports=q);"function"===typeof define&&define.amd&&define(function(){return q})}})("undefined"!==typeof window?window:null,"undefined"!==
typeof window?document:null);var Uj={},C_b={logInfo:function(){console.log(Ita());console.log("\nDuplicate Requests:");console.table(Gta())},getCounts:function(){return Uj},getDupes:Gta,getAggregates:Ita};var gk=Symbol("Wb"),aE=function(a){this.params=a||{}};aE.prototype.has=function(a){return Object.prototype.hasOwnProperty.call(this.params,a)};aE.prototype.get=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a[0]:a):null};aE.prototype.getAll=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a:[a]):[]};Gh.Object.defineProperties(aE.prototype,{keys:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.params)}}});var Mta={exact:Rta,subset:Uta},Nta={exact:Pta,subset:Sta,ignored:function(){return!0}},ak=function(a,b,c){a=void 0===a?new Zj([],{}):a;b=void 0===b?{}:b;this.root=a;this.queryParams=b;this.fragment=void 0===c?null:c};ak.prototype.toString=function(){return D_b.serialize(this)};Gh.Object.defineProperties(ak.prototype,{queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap||(this._queryParamMap=new aE(this.queryParams));return this._queryParamMap}}});
var Zj=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})};Zj.prototype.hasChildren=function(){return 0<this.numberOfChildren};Zj.prototype.toString=function(){return Zta(this)};Gh.Object.defineProperties(Zj.prototype,{numberOfChildren:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.children).length}}});var ek=function(a,b){this.path=a;this.parameters=b};
ek.prototype.toString=function(){return Xta(this.path)+Yta(this.parameters)};var bE=function(){};bE.\u0275fac=function(a){return new (a||bE)};bE.\u0275prov=Dc({token:bE,factory:function(){return new cE},providedIn:"root"});var cE=function(){};cE.prototype.parse=function(a){a=new E_b(a);dE(a,"/");var b=""===a.remaining||a.remaining.startsWith("?")||a.remaining.startsWith("#")?new Zj([],{}):new Zj([],F_b(a));return new ak(b,a.parseQueryParams(),dE(a,"#")?decodeURIComponent(a.remaining):null)};
cE.prototype.serialize=function(a){var b="/"+Yj(a.root,!0),c=bua(a.queryParams);a="string"===typeof a.fragment?"#"+encodeURI(a.fragment):"";return b+c+a};var D_b=new cE,cua=/^[^\/()?;#]+/,G_b=/^[^\/()?;=#]+/,H_b=/^[^=?&#]+/,I_b=/^[^&#]+/,E_b=function(a){this.remaining=this.url=a};
E_b.prototype.parseQueryParams=function(){var a={};if(dE(this,"?")){do{var b,c=this.remaining.match(H_b);if(b=c?c[0]:""){this.capture(b);c="";if(dE(this,"=")){var d;if(d=(d=this.remaining.match(I_b))?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(dE(this,"&"))}return a};
var F_b=function(a){if(""===a.remaining)return{};dE(a,"/");var b=[];for(a.remaining.startsWith("(")||b.push(J_b(a));a.remaining.startsWith("/")&&!a.remaining.startsWith("//")&&!a.remaining.startsWith("/(");)a.capture("/"),b.push(J_b(a));var c={};a.remaining.startsWith("/(")&&(a.capture("/"),c=K_b(a,!0));var d={};a.remaining.startsWith("(")&&(d=K_b(a,!1));if(0<b.length||0<Object.keys(c).length)d.primary=new Zj(b,c);return d},J_b=function(a){var b=dua(a.remaining);if(""===b&&a.remaining.startsWith(";"))throw new Hc(4009,
!1);a.capture(b);b=decodeURIComponent(b);for(var c={};dE(a,";");){var d,e=a;if(d=(d=e.remaining.match(G_b))?d[0]:""){e.capture(d);var f="";if(dE(e,"=")){var h=dua(e.remaining);h&&(f=h,e.capture(f))}c[decodeURIComponent(d)]=decodeURIComponent(f)}}return new ek(b,c)},K_b=function(a,b){var c={};for(a.capture("(");!dE(a,")")&&0<a.remaining.length;){var d=dua(a.remaining),e=a.remaining[d.length];if("/"!==e&&")"!==e&&";"!==e)throw new Hc(4010,!1);e=void 0;-1<d.indexOf(":")?(e=d.slice(0,d.indexOf(":")),
a.capture(e),a.capture(":")):b&&(e="primary");d=F_b(a);c[e]=1===Object.keys(d).length?d.primary:new Zj([],d);dE(a,"//")}return c},dE=function(a,b){return a.remaining.startsWith(b)?(a.remaining=a.remaining.substring(b.length),!0):!1};E_b.prototype.capture=function(a){if(!dE(this,a))throw new Hc(4011,!1);};var oua=function(a,b,c){this.isAbsolute=a;this.numberOfDoubleDots=b;this.commands=c;if(a&&0<c.length&&kua(c[0]))throw new Hc(4003,!1);if((a=c.find(dk))&&a!==(0<c.length?c[c.length-1]:null))throw new Hc(4004,!1);},jua=function(a,b,c){this.segmentGroup=a;this.processChildren=b;this.index=c};var eE=function(a,b){this.id=a;this.url=b},xk=function(a,b,c,d){c=void 0===c?"imperative":c;d=void 0===d?null:d;eE.call(this,a,b);this.type=0;this.navigationTrigger=c;this.restoredState=d};Y(xk,eE);xk.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"};var sk=function(a,b,c){eE.call(this,a,b);this.urlAfterRedirects=c;this.type=1};Y(sk,eE);
sk.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"};var tk=function(a,b,c,d){eE.call(this,a,b);this.reason=c;this.code=d;this.type=2};Y(tk,eE);tk.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"};var vk=function(a,b,c,d){eE.call(this,a,b);this.reason=c;this.code=d;this.type=16};Y(vk,eE);
var uk=function(a,b,c,d){eE.call(this,a,b);this.error=c;this.target=d;this.type=3};Y(uk,eE);uk.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"};var fE=function(a,b,c,d){eE.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=4};Y(fE,eE);fE.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var L_b=function(a,b,c,d){eE.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=7};Y(L_b,eE);L_b.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var M_b=function(a,b,c,d,e){eE.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.shouldActivate=e;this.type=8};Y(M_b,eE);
M_b.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"};var N_b=function(a,b,c,d){eE.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=5};Y(N_b,eE);N_b.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var O_b=function(a,b,c,d){eE.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=6};Y(O_b,eE);O_b.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var P_b=function(a){this.route=a;this.type=9};P_b.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"};var Q_b=function(a){this.route=a;this.type=10};
Q_b.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"};var Rua=function(a){this.snapshot=a;this.type=11};Rua.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var R_b=function(a){this.snapshot=a;this.type=12};R_b.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};
var Sua=function(a){this.snapshot=a;this.type=13};Sua.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var S_b=function(a){this.snapshot=a;this.type=14};S_b.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var T_b=function(a,b){this.position=a;this.anchor=b;this.type=15};
T_b.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"};var U_b=function(){},V_b=function(a){this.url=a};var W_b=function(){this.injector=this.route=this.outlet=null;this.children=new gE;this.attachRef=null},gE=function(){this.contexts=new Map},X_b=function(a,b){if(a=a.getContext(b))a.outlet=null,a.attachRef=null},Y_b=function(a,b){var c=a.getContext(b);c||(c=new W_b,a.contexts.set(b,c));return c};gE.prototype.getContext=function(a){return this.contexts.get(a)||null};gE.\u0275fac=function(a){return new (a||gE)};gE.\u0275prov=Dc({token:gE,factory:gE.\u0275fac,providedIn:"root"});var hE=function(a){this._root=a};hE.prototype.parent=function(a){a=this.pathFromRoot(a);return 1<a.length?a[a.length-2]:null};hE.prototype.children=function(a){return(a=tua(a,this._root))?a.children.map(function(b){return b.value}):[]};hE.prototype.firstChild=function(a){return(a=tua(a,this._root))&&0<a.children.length?a.children[0].value:null};hE.prototype.pathFromRoot=function(a){return uua(a,this._root).map(function(b){return b.value})};
Gh.Object.defineProperties(hE.prototype,{root:{configurable:!0,enumerable:!0,get:function(){return this._root.value}}});var hk=function(a,b){this.value=a;this.children=b};hk.prototype.toString=function(){return"TreeNode("+this.value+")"};var Z_b=function(a,b){this._root=a;this.snapshot=b;wua(this,a)};Y(Z_b,hE);Z_b.prototype.toString=function(){return this.snapshot.toString()};
var ik=function(a,b,c,d,e,f,h,k){this.urlSubject=a;this.paramsSubject=b;this.queryParamsSubject=c;this.fragmentSubject=d;this.dataSubject=e;this.outlet=f;this.component=h;this._futureSnapshot=k;var q,t;this.title=null!=(t=null==(q=this.dataSubject)?void 0:q.pipe(D(function(w){return w[gk]})))?t:(0,E.of)(void 0);this.url=a;this.params=b;this.queryParams=c;this.fragment=d;this.data=e};ik.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"};
Gh.Object.defineProperties(ik.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 aE(a)})));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(D(function(a){return new aE(a)})));return this._queryParamMap}}});
var iE=function(a,b,c,d,e,f,h,k,q){this.url=a;this.params=b;this.queryParams=c;this.fragment=d;this.data=e;this.outlet=f;this.component=h;this.routeConfig=k;this._resolve=q};iE.prototype.toString=function(){return"Route(url:'"+this.url.map(function(a){return a.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"};
Gh.Object.defineProperties(iE.prototype,{title:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this.data)?void 0:a[gk]}},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 aE(this.params));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap||(this._queryParamMap=new aE(this.queryParams));return this._queryParamMap}}});var $_b=function(a,b){this._root=b;this.url=a;wua(this,b)};Y($_b,hE);$_b.prototype.toString=function(){return xua(this._root)};var jE=function(){this._activatedRoute=this.activated=null;this.name="primary";this.activateEvents=new mv;this.deactivateEvents=new mv;this.attachEvents=new mv;this.detachEvents=new mv;this.parentContexts=Nc(gE);this.location=Nc(lg);this.changeDetector=Nc(Fu);this.environmentInjector=Nc(yu);this.inputBinder=Nc(a0b,{optional:!0})};jE.prototype.ngOnChanges=function(a){if(a.name){a=a.name;var b=a.previousValue;a.firstChange||(b0b(this,b)&&(this.deactivate(),X_b(this.parentContexts,b)),c0b(this))}};
jE.prototype.ngOnDestroy=function(){b0b(this,this.name)&&X_b(this.parentContexts,this.name);var a;null==(a=this.inputBinder)||kE(a,this)};var b0b=function(a,b){var c;return(null==(c=a.parentContexts.getContext(b))?void 0:c.outlet)===a};jE.prototype.ngOnInit=function(){c0b(this)};
var c0b=function(a){var b=a.parentContexts,c=a.name,d=Y_b(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):d0b(a,b.route,b.injector))};jE.prototype.detach=function(){if(!this.activated)throw new Hc(4012,!1);this.location.detach();var a=this.activated;this._activatedRoute=this.activated=null;this.detachEvents.emit(a.instance);return a};
jE.prototype.attach=function(a,b){this.activated=a;this._activatedRoute=b;this.location.insert(a.hostView);null!=(b=this.inputBinder)&&(kE(b,this),e0b(b,this));this.attachEvents.emit(a.instance)};jE.prototype.deactivate=function(){if(this.activated){var a=this.component;this.activated.destroy();this._activatedRoute=this.activated=null;this.deactivateEvents.emit(a)}};
var d0b=function(a,b,c){if(a.isActivated)throw new Hc(4013,!1);a._activatedRoute=b;var d=a.location,e=b.snapshot.component,f=Y_b(a.parentContexts,a.name).children;a.activated=d.createComponent(e,{index:d.length,injector:new f0b(b,f,d.injector),environmentInjector:null!=c?c:a.environmentInjector});a.changeDetector.markForCheck();null!=(b=a.inputBinder)&&(kE(b,a),e0b(b,a));a.activateEvents.emit(a.activated.instance)};
Gh.Object.defineProperties(jE.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 Hc(4012,!1);return this.activated.instance}},activatedRoute:{configurable:!0,enumerable:!0,get:function(){if(!this.activated)throw new Hc(4012,!1);return this._activatedRoute}}});
jE.\u0275fac=function(a){return new (a||jE)};jE.\u0275dir=Vc({type:jE,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[ld]});var f0b=function(a,b,c){this.route=a;this.childContexts=b;this.parent=c};f0b.prototype.get=function(a,b){return a===ik?this.route:a===gE?this.childContexts:this.parent.get(a,b)};
var a0b=new bd(""),lE=function(){this.outletDataSubscriptions=new Map},kE=function(a,b){var c;null==(c=a.outletDataSubscriptions.get(b))||c.unsubscribe();a.outletDataSubscriptions.delete(b)},e0b=function(a,b){var c=b.activatedRoute,d=(0,E.combineLatest)([c.queryParams,c.params,c.data]).pipe(af(function(e,f){var h=l(e);e=h.next().value;var k=h.next().value;h=h.next().value;h=Object.assign({},e,k,h);return 0===f?(0,E.of)(h):Promise.resolve(h)})).subscribe(function(e){if(b.isActivated&&b.activatedComponentRef&&
b.activatedRoute===c&&null!==c.component){var f=lma(c.component);if(f){f=l(f.inputs);for(var h=f.next();!h.done;h=f.next())h=h.value.templateName,b.activatedComponentRef.setInput(h,e[h])}else kE(a,b)}else kE(a,b)});a.outletDataSubscriptions.set(b,d)};lE.\u0275fac=function(a){return new (a||lE)};lE.\u0275prov=Dc({token:lE,factory:lE.\u0275fac});var jk=function(){};jk.\u0275fac=function(a){return new (a||jk)};jk.\u0275cmp=r({type:jk,selectors:[["ng-component"]],standalone:!0,features:[dg],decls:1,vars:0,template:function(a){a&1&&L(0,"router-outlet")},dependencies:[jE],encapsulation:2});var h0b=function(a,b,c,d){return D(function(e){(new g0b(b,e.targetRouterState,e.currentRouterState,c,d)).activate(a);return e})},g0b=function(a,b,c,d,e){this.routeReuseStrategy=a;this.futureState=b;this.currState=c;this.forwardEvent=d;this.inputBindingEnabled=e};g0b.prototype.activate=function(a){var b=this.futureState._root,c=this.currState?this.currState._root:null;i0b(this,b,c,a);yua(this.futureState.root);mE(this,b,c,a)};
var i0b=function(a,b,c,d){var e=fk(c);b.children.forEach(function(f){var h=f.value.outlet,k=e[h],q=f.value,t=k?k.value:null;q===t?q.component?(q=d.getContext(q.outlet))&&i0b(a,f,k,q.children):i0b(a,f,k,d):t&&j0b(a,k,d);delete e[h]});Object.values(e).forEach(function(f){j0b(a,f,d)})},j0b=function(a,b,c){var d=c.getContext(b.value.outlet);c=d&&b.value.component?d.children:c;b=fk(b);for(var e=l(Object.keys(b)),f=e.next();!f.done;f=e.next())j0b(a,b[f.value],c);d&&(d.outlet&&(d.outlet.deactivate(),d.children.contexts=
new Map),d.attachRef=null,d.route=null)},mE=function(a,b,c,d){var e=fk(c);b.children.forEach(function(f){var h=e[f.value.outlet],k=f.value,q=h?h.value:null;yua(k);k===q?k.component?(k=Y_b(d,k.outlet),mE(a,f,h,k.children)):mE(a,f,h,d):k.component?(h=Y_b(d,k.outlet),q=lk(k.snapshot),h.attachRef=null,h.route=k,h.injector=q,h.outlet&&d0b(h.outlet,k,h.injector),mE(a,f,null,h.children)):mE(a,f,null,d);a.forwardEvent(new S_b(f.value.snapshot))});b.children.length&&a.forwardEvent(new R_b(b.value.snapshot))};var Iua=Symbol("Yb");var Kua=function(a){this.path=a;this.route=this.path[this.path.length-1]},Lua=function(a,b){this.component=a;this.route=b};var Yua=function(a){this.segmentGroup=a||null},k0b=function(a){var b=Error.call(this);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.urlTree=a};Y(k0b,Error);
var l0b=function(a,b){this.urlSerializer=a;this.urlTree=b},m0b=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 Hc(4E3,!1));a=a.children.primary}},p0b=function(a,b,c,d){var e=a.urlSerializer.parse(c);b=n0b(a,c,e.root,b,d);a=new ak(b,o0b(e.queryParams,a.urlTree.queryParams),e.fragment);if(c.startsWith("/"))throw new k0b(a);return a},o0b=function(a,b){var c={};Object.entries(a).forEach(function(d){var e=
l(d);d=e.next().value;e=e.next().value;c[d]="string"===typeof e&&e.startsWith(":")?b[e.substring(1)]:e});return c},n0b=function(a,b,c,d,e){var f=q0b(c.segments,d,e),h={};Object.entries(c.children).forEach(function(k){var q=l(k);k=q.next().value;q=q.next().value;h[k]=n0b(a,b,q,d,e)});return new Zj(f,h)},q0b=function(a,b,c){return a.map(function(d){if(d.path.startsWith(":")){if(d=c[d.path.substring(1)],!d)throw new Hc(4001,!1);}else a:for(var e=0,f=l(b),h=f.next();!h.done;h=f.next()){h=h.value;if(h.path===
d.path){b.splice(e);d=h;break a}e++}return d})};var $ua={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};var r0b=function(){},jva=function(a,b,c,d,e,f,h){this.injector=a;this.configLoader=b;this.rootComponentType=c;this.config=d;this.urlTree=e;this.paramsInheritanceStrategy=f;this.urlSerializer=h;this.applyRedirects=new l0b(this.urlSerializer,this.urlTree);this.absoluteRedirectCount=0;this.allowRedirects=!0};
jva.prototype.recognize=function(){var a=this,b=eva(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(b).pipe(D(function(c){var d=new iE([],Object.freeze({}),Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,{},"primary",a.rootComponentType,null,{});c=new $_b("",new hk(d,c));var e=a.urlTree.queryParams,f=a.urlTree.fragment;e=void 0===e?null:e;f=void 0===f?null:f;d=gua(d);d=mua(d,[],e,f);d.queryParams=a.urlTree.queryParams;c.url=a.urlSerializer.serialize(d);
s0b(a,c._root,null);return{state:c,tree:d}}))};jva.prototype.match=function(a){var b=this;return t0b(this,this.injector,this.config,a,"primary").pipe(Le(function(c){if(c instanceof k0b)return b.urlTree=c.urlTree,b.match(c.urlTree.root);if(c instanceof Yua)throw new Hc(4002,!1);throw c;}))};
var s0b=function(a,b,c){var d=b.value;c=vua(d,c,a.paramsInheritanceStrategy);d.params=Object.freeze(c.params);d.data=Object.freeze(c.data);b.children.forEach(function(e){return s0b(a,e,d)})},t0b=function(a,b,c,d,e){return 0===d.segments.length&&d.hasChildren()?a.processChildren(b,c,d):u0b(a,b,c,d,d.segments,e,!0).pipe(D(function(f){return f instanceof hk?[f]:[]}))};
jva.prototype.processChildren=function(a,b,c){for(var d=this,e=[],f=l(Object.keys(c.children)),h=f.next();!h.done;h=f.next())h=h.value,"primary"===h?e.unshift(h):e.push(h);return(0,E.from)(e).pipe(Be(function(k){var q=c.children[k],t=Hua(b,k);return t0b(d,a,t,q,k)},1),Oja(function(k,q){k.push.apply(k,u(q));return k}),zja(null),Lja(),Be(function(k){if(null===k)return rk(c);k=hva(k);fva(k);return(0,E.of)(k)}))};
var u0b=function(a,b,c,d,e,f,h){return(0,E.from)(c).pipe(Be(function(k){var q;return v0b(a,null!=(q=k._injector)?q:b,c,k,d,e,f,h).pipe(Le(function(t){if(t instanceof Yua)return(0,E.of)(null);throw t;}))},1),Te(function(k){return!!k}),Le(function(k){if(Mua(k))return 0!==e.length||d.children[f]?rk(d):(0,E.of)(new r0b);throw k;}))},v0b=function(a,b,c,d,e,f,h,k){return(kk(d)===h||"primary"!==h&&dva(e,f,d))&&("**"===d.path||Zua(e,d,f).matched)?void 0===d.redirectTo?w0b(a,b,e,d,f,h):a.allowRedirects&&k?
x0b(a,b,e,c,d,f,h):rk(e):rk(e)},x0b=function(a,b,c,d,e,f,h){f="**"===e.path?iva(f):Zua(c,e,f);var k=f.consumedSegments,q=f.positionalParamSegments,t=f.remainingSegments;if(!f.matched)return rk(c);e.redirectTo.startsWith("/")&&(a.absoluteRedirectCount++,31<a.absoluteRedirectCount&&(a.allowRedirects=!1));e=p0b(a.applyRedirects,k,e.redirectTo,q);return m0b(e).pipe(Be(function(w){return u0b(a,b,d,c,w.concat(t),h,!1)}))},w0b=function(a,b,c,d,e,f){if("**"===d.path){var h=(0,E.of)(iva(e));c.children={}}else h=
ava(c,d,e,b);return h.pipe(af(function(k){if(!k.matched)return rk(c);var q;b=null!=(q=d._injector)?q:b;return y0b(a,b,d,e).pipe(af(function(t){t=t.routes;var w,y=null!=(w=d._loadedInjector)?w:b;w=k.consumedSegments;var C=k.remainingSegments,J,I,P=new iE(w,k.parameters,Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,d.data||{},kk(d),null!=(I=null!=(J=d.component)?J:d._loadedComponent)?I:null,d,d.resolve||{});I=eva(c,w,C,t);J=I.segmentGroup;I=I.slicedSegments;return 0===I.length&&
J.hasChildren()?a.processChildren(y,t,J).pipe(D(function(O){return null===O?null:new hk(P,O)})):0===t.length&&0===I.length?(0,E.of)(new hk(P,[])):u0b(a,y,t,J,I,kk(d)===f?"primary":f,!0).pipe(D(function(O){return new hk(P,O instanceof hk?[O]:[])}))}))}))},y0b=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}):Wua(b,c,d).pipe(Be(function(e){return e?a.configLoader.loadChildren(b,
c).pipe(cf(function(f){c._loadedRoutes=f.routes;c._loadedInjector=f.injector})):(0,E.throwError)(Dua(3))})):(0,E.of)({routes:[],injector:b})};var nE=function(){},z0b=function(a){for(a=a.root;void 0!==a;){var b=void 0;var c=null!=(b=a.data[gk])?b:c;a=a.children.find(function(d){return"primary"===d.outlet})}return c};nE.\u0275fac=function(a){return new (a||nE)};nE.\u0275prov=Dc({token:nE,factory:function(){return Nc(oE)},providedIn:"root"});var oE=function(a){this.title=a};Y(oE,nE);oE.prototype.updateTitle=function(a){a=z0b(a);void 0!==a&&this.title.setTitle(a)};oE.\u0275fac=function(a){return new (a||oE)(p(Dy))};
oE.\u0275prov=Dc({token:oE,factory:oE.\u0275fac,providedIn:"root"});var pE=new bd("",{providedIn:"root",factory:function(){return{}}});var uva=new bd("ROUTES"),qE=function(){this.componentLoaders=new WeakMap;this.childrenLoaders=new WeakMap;Nc(Mv)};
qE.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=Wj(a.loadComponent()).pipe(D(rva),cf(function(d){if(b.onLoadEndListener)b.onLoadEndListener(a);a._loadedComponent=d}),Se(function(){b.componentLoaders.delete(a)}));c=(new E.ConnectableObservable(c,function(){return new E.Subject})).pipe(ne());this.componentLoaders.set(a,
c);return c};qE.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);a=vva(b,a,this.onLoadEndListener).pipe(Se(function(){c.childrenLoaders.delete(b)}));a=(new E.ConnectableObservable(a,function(){return new E.Subject})).pipe(ne());this.childrenLoaders.set(b,a);return a};
qE.\u0275fac=function(a){return new (a||qE)};qE.\u0275prov=Dc({token:qE,factory:qE.\u0275fac,providedIn:"root"});var rE=function(){};rE.\u0275fac=function(a){return new (a||rE)};rE.\u0275prov=Dc({token:rE,factory:function(){return Nc(sE)},providedIn:"root"});var sE=function(){};sE.prototype.extract=function(a){return a};sE.prototype.merge=function(a){return a};sE.\u0275fac=function(a){return new (a||sE)};sE.\u0275prov=Dc({token:sE,factory:sE.\u0275fac,providedIn:"root"});var A0b=new bd(""),wva=new bd("");var tE=function(){var a=this;this.lastSuccessfulNavigation=this.currentTransition=this.currentNavigation=null;this.events=new E.Subject;this.transitionAbortSubject=new E.Subject;this.configLoader=Nc(qE);this.environmentInjector=Nc(yu);this.urlSerializer=Nc(bE);this.rootContexts=Nc(gE);this.location=Nc(pw);this.inputBindingEnabled=null!==Nc(a0b,{optional:!0});this.titleStrategy=Nc(nE);this.options=Nc(pE,{optional:!0})||{};this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";
this.urlHandlingStrategy=Nc(rE);this.createViewTransition=Nc(A0b,{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 Q_b(b))};this.configLoader.onLoadStartListener=function(b){return a.events.next(new P_b(b))}};tE.prototype.complete=function(){var a;null==(a=this.transitions)||a.complete()};
var B0b=function(a,b){var c=++a.navigationId,d;null==(d=a.transitions)||d.next(Object.assign({},a.transitions.value,b,{id:c}))},F0b=function(a,b,c,d){a.transitions=new E.BehaviorSubject({id:0,currentUrlTree:c,currentRawUrl:c,extractedUrl:a.urlHandlingStrategy.extract(c),urlAfterRedirects:a.urlHandlingStrategy.extract(c),rawUrl:c,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:d.snapshot,targetSnapshot:null,currentRouterState:d,
targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null});return a.transitions.pipe(He(function(e){return 0!==e.id}),D(function(e){return Object.assign({},e,{extractedUrl:a.urlHandlingStrategy.extract(e.rawUrl)})}),af(function(e){a.currentTransition=e;var f=!1,h=!1;return(0,E.of)(e).pipe(cf(function(k){a.currentNavigation={id:k.id,initialUrl:k.rawUrl,extractedUrl:k.extractedUrl,trigger:k.source,extras:k.extras,previousNavigation:a.lastSuccessfulNavigation?Object.assign({},
a.lastSuccessfulNavigation,{previousNavigation:null}):null}}),af(function(k){var q=!b.navigated||C0b(a)||D0b(a),t,w=null!=(t=k.extras.onSameUrlNavigation)?t:b.onSameUrlNavigation;return q||"reload"===w?(0,E.of)(k).pipe(af(function(y){var C,J=null==(C=a.transitions)?void 0:C.getValue();a.events.next(new xk(y.id,a.urlSerializer.serialize(y.extractedUrl),y.source,y.restoredState));var I;return J!==(null==(I=a.transitions)?void 0:I.getValue())?E.EMPTY:Promise.resolve(y)}),kva(a.environmentInjector,a.configLoader,
a.rootComponentType,b.config,a.urlSerializer,a.paramsInheritanceStrategy),cf(function(y){e.targetSnapshot=y.targetSnapshot;e.urlAfterRedirects=y.urlAfterRedirects;a.currentNavigation=Object.assign({},a.currentNavigation,{finalUrl:y.urlAfterRedirects});y=new fE(y.id,a.urlSerializer.serialize(y.extractedUrl),a.urlSerializer.serialize(y.urlAfterRedirects),y.targetSnapshot);a.events.next(y)})):(a.events.next(new vk(k.id,a.urlSerializer.serialize(k.rawUrl),"",0)),k.resolve(null),E.EMPTY)}),cf(function(k){k=
new L_b(k.id,a.urlSerializer.serialize(k.extractedUrl),a.urlSerializer.serialize(k.urlAfterRedirects),k.targetSnapshot);a.events.next(k)}),D(function(k){var q=Object,t=q.assign;var w=k.currentSnapshot;var y=k.targetSnapshot._root;w=ok(y,w?w._root:null,a.rootContexts,[y.value]);return a.currentTransition=e=t.call(q,{},k,{guards:w})}),Pua(a.environmentInjector,function(k){return a.events.next(k)}),cf(function(k){e.guardsResult=k.guardsResult;if(bk(k.guardsResult))throw Eua(k.guardsResult);k=new M_b(k.id,
a.urlSerializer.serialize(k.extractedUrl),a.urlSerializer.serialize(k.urlAfterRedirects),k.targetSnapshot,!!k.guardsResult);a.events.next(k)}),He(function(k){return k.guardsResult?!0:(E0b(a,k,3),!1)}),qva(function(k){if(k.guards.canActivateChecks.length)return(0,E.of)(k).pipe(cf(function(q){q=new N_b(q.id,a.urlSerializer.serialize(q.extractedUrl),a.urlSerializer.serialize(q.urlAfterRedirects),q.targetSnapshot);a.events.next(q)}),af(function(q){var t=!1;return(0,E.of)(q).pipe(nva(a.paramsInheritanceStrategy,
a.environmentInjector),cf({next:function(){return t=!0},complete:function(){t||E0b(a,q,2)}}))}),cf(function(q){q=new O_b(q.id,a.urlSerializer.serialize(q.extractedUrl),a.urlSerializer.serialize(q.urlAfterRedirects),q.targetSnapshot);a.events.next(q)}))}),qva(function(k){var q=function(t){var w=[],y;(null==(y=t.routeConfig)?0:y.loadComponent)&&!t.routeConfig._loadedComponent&&w.push(a.configLoader.loadComponent(t.routeConfig).pipe(cf(function(J){t.component=J}),D(function(){})));y=l(t.children);for(var C=
y.next();!C.done;C=y.next())w.push.apply(w,u(q(C.value)));return w};return(0,E.combineLatest)(q(k.targetSnapshot.root)).pipe(zja(),Qe())}),qva(function(){return a.afterPreactivation()}),af(function(){var k=e,q=k.currentSnapshot;k=k.targetSnapshot;var t,w=null==(t=a.createViewTransition)?void 0:t.call(a,a.environmentInjector,q.root,k.root);return w?(0,E.from)(w).pipe(D(function(){return e})):(0,E.of)(e)}),D(function(k){var q=k.targetSnapshot;var t=k.currentRouterState;t=Cua(b.routeReuseStrategy,q._root,
t?t._root:void 0);q=new Z_b(t,q);a.currentTransition=e=Object.assign({},k,{targetRouterState:q});a.currentNavigation.targetRouterState=q;return e}),cf(function(){a.events.next(new U_b)}),h0b(a.rootContexts,b.routeReuseStrategy,function(k){return a.events.next(k)},a.inputBindingEnabled),Qe(),cf({next:function(k){f=!0;a.lastSuccessfulNavigation=a.currentNavigation;a.events.next(new sk(k.id,a.urlSerializer.serialize(k.extractedUrl),a.urlSerializer.serialize(k.urlAfterRedirects)));var q;null==(q=a.titleStrategy)||
q.updateTitle(k.targetRouterState.snapshot);k.resolve(!0)},complete:function(){f=!0}}),bf(a.transitionAbortSubject.pipe(cf(function(k){throw k;}))),Se(function(){f||h||E0b(a,e,1);var k;(null==(k=a.currentNavigation)?void 0:k.id)===e.id&&(a.currentNavigation=null)}),Le(function(k){h=!0;if(k&&k.ngNavigationCancelingError)a.events.next(new tk(e.id,a.urlSerializer.serialize(e.extractedUrl),k.message,k.cancellationCode)),k&&k.ngNavigationCancelingError&&bk(k.url)?a.events.next(new V_b(k.url)):e.resolve(!1);
else{var q;a.events.next(new uk(e.id,a.urlSerializer.serialize(e.extractedUrl),k,null!=(q=e.targetSnapshot)?q:void 0));try{e.resolve(b.errorHandler(k))}catch(t){e.reject(t)}}return E.EMPTY}))}))},E0b=function(a,b,c){c=new tk(b.id,a.urlSerializer.serialize(b.extractedUrl),"",c);a.events.next(c);b.resolve(!1)},C0b=function(a){var b,c;return(null==(b=a.currentTransition)?void 0:b.extractedUrl.toString())!==(null==(c=a.currentTransition)?void 0:c.currentUrlTree.toString())},D0b=function(a){var b,c;return a.urlHandlingStrategy.extract(a.urlSerializer.parse(a.location.path(!0))).toString()!==
(null==(b=a.currentTransition)?void 0:b.extractedUrl.toString())&&!(null==(c=a.currentTransition)?0:c.extras.skipLocationChange)};Gh.Object.defineProperties(tE.prototype,{hasRequestedNavigation:{configurable:!0,enumerable:!0,get:function(){return 0!==this.navigationId}}});tE.\u0275fac=function(a){return new (a||tE)};tE.\u0275prov=Dc({token:tE,factory:tE.\u0275fac,providedIn:"root"});var uE=function(){};uE.\u0275fac=function(a){return new (a||uE)};uE.\u0275prov=Dc({token:uE,factory:function(){return Nc(vE)},providedIn:"root"});var G0b=function(){};G0b.prototype.store=function(){};G0b.prototype.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig};var vE=function(){};Y(vE,G0b);vE.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(vE)))(b||vE)}}();vE.\u0275prov=Dc({token:vE,factory:vE.\u0275fac,providedIn:"root"});var wE=function(){};wE.\u0275fac=function(a){return new (a||wE)};wE.\u0275prov=Dc({token:wE,factory:function(){return Nc(xE)},providedIn:"root"});
var xE=function(){this.location=Nc(pw);this.urlSerializer=Nc(bE);this.options=Nc(pE,{optional:!0})||{};this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";this.urlHandlingStrategy=Nc(rE);this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";this.rawUrlTree=this.currentUrlTree=new ak;this.currentPageId=0;this.lastSuccessfulId=-1;var a=new $_b("",new hk(new iE([],{},{},"",{},"primary",null,null,{}),[])),b=new ik(new E.BehaviorSubject([new ek("",{})]),new E.BehaviorSubject({}),
new E.BehaviorSubject({}),new E.BehaviorSubject(""),new E.BehaviorSubject({}),"primary",null,a.root);b.snapshot=a.root;this.routerState=new Z_b(new hk(b,[]),a);this.stateMemento=H0b(this)};Y(xE,wE);xE.prototype.restoredState=function(){return this.location.getState()};
var H0b=function(a){return{rawUrlTree:a.rawUrlTree,currentUrlTree:a.currentUrlTree,routerState:a.routerState}},I0b=function(a,b){return a.location.subscribe(function(c){"popstate"===c.type&&b(c.url,c.state)})},K0b=function(a,b,c){b=a.urlSerializer.serialize(b);var d=a.location;var e=void 0===e?"":e;d.path()==d.normalize(b+Gg(e))||c.extras.replaceUrl?(c=Object.assign({},c.extras.state,J0b(a,c.id,a.browserPageId)),a.location.replaceState(b,"",c)):(c=Object.assign({},c.extras.state,J0b(a,c.id,a.browserPageId+
1)),a.location.go(b,"",c))},M0b=function(a,b,c){c=void 0===c?!1:c;"computed"===a.canceledNavigationResolution?(c=a.currentPageId-a.browserPageId,0!==c?a.location.historyGo(c):a.currentUrlTree===b.finalUrl&&0===c&&(a.resetState(b),L0b(a))):"replace"===a.canceledNavigationResolution&&(c&&a.resetState(b),L0b(a))};
xE.prototype.resetState=function(a){this.routerState=this.stateMemento.routerState;this.currentUrlTree=this.stateMemento.currentUrlTree;var b;this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,null!=(b=a.finalUrl)?b:this.rawUrlTree)};var L0b=function(a){a.location.replaceState(a.urlSerializer.serialize(a.rawUrlTree),"",J0b(a,a.lastSuccessfulId,a.currentPageId))},J0b=function(a,b,c){return"computed"===a.canceledNavigationResolution?{navigationId:b,"\u0275routerPageId":c}:{navigationId:b}};
Gh.Object.defineProperties(xE.prototype,{browserPageId:{configurable:!0,enumerable:!0,get:function(){if("computed"!==this.canceledNavigationResolution)return this.currentPageId;var a,b;return null!=(b=null==(a=this.restoredState())?void 0:a.\u0275routerPageId)?b:this.currentPageId}}});xE.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(xE)))(b||xE)}}();xE.\u0275prov=Dc({token:xE,factory:xE.\u0275fac,providedIn:"root"});var N0b={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},O0b={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},yE=function(){var a=this;this.disposed=!1;this.console=Nc(Kv);this.stateManager=Nc(wE);this.options=Nc(pE,{optional:!0})||{};this.pendingTasks=Nc(Lv);this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";this.navigationTransitions=Nc(tE);this.urlSerializer=Nc(bE);this.location=Nc(pw);this.urlHandlingStrategy=Nc(rE);this._events=
new E.Subject;this.errorHandler=this.options.errorHandler||Ava;this.navigated=!1;this.routeReuseStrategy=Nc(uE);this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";var b,c;this.config=null!=(c=null==(b=Nc(uva,{optional:!0}))?void 0:b.flat())?c:[];Nc(a0b,{optional:!0});this.eventsSubscription=new E.Subscription;Nc(ef)instanceof ef&&kka();this.config=this.config.map(Gua);this.navigated=!1;F0b(this.navigationTransitions,this,this.currentUrlTree,this.routerState).subscribe({error:function(d){a.console.warn(d)}});
P0b(this)},P0b=function(a){var b=a.navigationTransitions.events.subscribe(function(c){try{var d=a.navigationTransitions.currentTransition,e=a.navigationTransitions.currentNavigation;if(null!==d&&null!==e){var f=a.stateManager;if(c instanceof xk)f.stateMemento=H0b(f);else if(c instanceof vk)f.rawUrlTree=e.initialUrl;else if(c instanceof fE){if("eager"===f.urlUpdateStrategy&&!e.extras.skipLocationChange){var h=f.urlHandlingStrategy.merge(e.finalUrl,e.initialUrl);K0b(f,h,e)}}else c instanceof U_b?(f.currentUrlTree=
e.finalUrl,f.rawUrlTree=f.urlHandlingStrategy.merge(e.finalUrl,e.initialUrl),f.routerState=e.targetRouterState,"deferred"===f.urlUpdateStrategy&&(e.extras.skipLocationChange||K0b(f,f.rawUrlTree,e))):c instanceof tk&&(3===c.code||2===c.code)?M0b(f,e):c instanceof uk?M0b(f,e,!0):c instanceof sk&&(f.lastSuccessfulId=c.id,f.currentPageId=f.browserPageId);if(c instanceof tk&&0!==c.code&&1!==c.code)a.navigated=!0;else if(c instanceof sk)a.navigated=!0;else if(c instanceof V_b){var k=a.urlHandlingStrategy.merge(c.url,
d.currentRawUrl);Q0b(a,k,"imperative",null,{skipLocationChange:d.extras.skipLocationChange,replaceUrl:"eager"===a.urlUpdateStrategy||"imperative"!==d.source},{resolve:d.resolve,reject:d.reject,promise:d.promise})}}c instanceof U_b||c instanceof V_b||a._events.next(c)}catch(q){a.navigationTransitions.transitionAbortSubject.next(q)}});a.eventsSubscription.add(b)};
yE.prototype.initialNavigation=function(){R0b(this);this.navigationTransitions.hasRequestedNavigation||S0b(this,this.location.path(!0),"imperative",this.stateManager.restoredState())};
var R0b=function(a){a.nonRouterCurrentEntryChangeSubscription||(a.nonRouterCurrentEntryChangeSubscription=I0b(a.stateManager,function(b,c){setTimeout(function(){S0b(a,b,"popstate",c)},0)}))},S0b=function(a,b,c,d){var e={replaceUrl:!0},f=(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=T0b(a,b);Q0b(a,b,c,f,e)};yE.prototype.ngOnDestroy=function(){this.dispose()};
yE.prototype.dispose=function(){this.navigationTransitions.complete();this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0);this.disposed=!0;this.eventsSubscription.unsubscribe()};
var zE=function(a,b,c){var d=c=void 0===c?{}:c;c=d.relativeTo;var e=d.queryParams,f=d.fragment;f=d.preserveFragment?a.currentUrlTree.fragment:f;switch(d.queryParamsHandling){case "merge":d=Object.assign({},a.currentUrlTree.queryParams,e);break;case "preserve":d=a.currentUrlTree.queryParams;break;default:d=e||null}null!==d&&(d=U0b(d));try{var h=gua(c?c.snapshot:a.routerState.snapshot.root)}catch(k){"string"===typeof b[0]&&b[0].startsWith("/")||(b=[]),h=a.currentUrlTree.root}return mua(h,b,d,null!=
f?f:null)},Ns=function(a,b,c){c=void 0===c?{skipLocationChange:!1}:c;b=bk(b)?b:T0b(a,b);b=a.urlHandlingStrategy.merge(b,a.rawUrlTree);return Q0b(a,b,"imperative",null,c)};yE.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 Hc(4008,!1);return Ns(this,zE(this,a,b),b)};var T0b=function(a,b){try{return a.urlSerializer.parse(b)}catch(c){return a.urlSerializer.parse("/")}};
yE.prototype.isActive=function(a,b){var c;!0===b?c=Object.assign({},N0b):!1===b?c=Object.assign({},O0b):c=b;if(bk(a))return Ota(this.currentUrlTree,a,c);a=T0b(this,a);return Ota(this.currentUrlTree,a,c)};
var U0b=function(a){return Object.keys(a).reduce(function(b,c){var d=a[c];null!==d&&void 0!==d&&(b[c]=d);return b},{})},Q0b=function(a,b,c,d,e,f){if(a.disposed)return Promise.resolve(!1);if(f){var h=f.resolve;var k=f.reject;f=f.promise}else f=new Promise(function(t,w){h=t;k=w});var q=a.pendingTasks.add();zva(a,function(){queueMicrotask(function(){return a.pendingTasks.remove(q)})});B0b(a.navigationTransitions,{source:c,restoredState:d,currentUrlTree:a.currentUrlTree,currentRawUrl:a.currentUrlTree,
rawUrl:b,extras:e,resolve:h,reject:k,promise:f,currentSnapshot:a.routerState.snapshot,currentRouterState:a.routerState});return f.catch(function(t){return Promise.reject(t)})};
Gh.Object.defineProperties(yE.prototype,{currentUrlTree:{configurable:!0,enumerable:!0,get:function(){return this.stateManager.currentUrlTree}},rawUrlTree:{configurable:!0,enumerable:!0,get:function(){return this.stateManager.rawUrlTree}},events:{configurable:!0,enumerable:!0,get:function(){return this._events}},routerState:{configurable:!0,enumerable:!0,get:function(){return this.stateManager.routerState}},url:{configurable:!0,enumerable:!0,get:function(){return this.urlSerializer.serialize(this.currentUrlTree)}},
lastSuccessfulNavigation:{configurable:!0,enumerable:!0,get:function(){return this.navigationTransitions.lastSuccessfulNavigation}}});yE.\u0275fac=function(a){return new (a||yE)};yE.\u0275prov=Dc({token:yE,factory:yE.\u0275fac,providedIn:"root"});var AE=function(a,b,c,d,e,f){var h=this;this.router=a;this.route=b;this.tabIndexAttribute=c;this.renderer=d;this.el=e;this.locationStrategy=f;this.commands=this.href=null;this.onChanges=new E.Subject;this.replaceUrl=this.skipLocationChange=this.preserveFragment=!1;var k;b=null==(k=e.nativeElement.tagName)?void 0:k.toLowerCase();(this.isAnchorElement="a"===b||"area"===b)?this.subscription=a.events.subscribe(function(q){q instanceof sk&&V0b(h)}):W0b(this,"0")},W0b=function(a,b){null!=a.tabIndexAttribute||
a.isAnchorElement||X0b(a,"tabindex",b)};AE.prototype.ngOnChanges=function(){this.isAnchorElement&&V0b(this);this.onChanges.next(this)};AE.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;Ns(this.router,this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state});return!this.isAnchorElement};
AE.prototype.ngOnDestroy=function(){var a;null==(a=this.subscription)||a.unsubscribe()};var V0b=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?qha:Wd)(a.href));X0b(a,"href",b)},X0b=function(a,b,c){var d=a.renderer;a=a.el.nativeElement;null!==c?d.setAttribute(a,b,c):d.removeAttribute(a,b)};
Gh.Object.defineProperties(AE.prototype,{routerLink:{configurable:!0,enumerable:!0,set:function(a){null!=a?(this.commands=Array.isArray(a)?a:[a],W0b(this,"0")):(this.commands=null,W0b(this,null))}},urlTree:{configurable:!0,enumerable:!0,get:function(){return null===this.commands?null:zE(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})}}});
AE.\u0275fac=function(a){return new (a||AE)(B(yE),B(ik),Bd("tabindex"),B(Eu),B(Hd),B(mw))};
AE.\u0275dir=Vc({type:AE,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(a,b){a&1&&Q("click",function(c){return b.onClick(c.button,c.ctrlKey,c.shiftKey,c.altKey,c.metaKey)});a&2&&Af("target",b.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",ug],skipLocationChange:["skipLocationChange","skipLocationChange",ug],replaceUrl:["replaceUrl",
"replaceUrl",ug],routerLink:"routerLink"},standalone:!0,features:[zf,ld]});var BE=function(a,b,c,d,e){var f=this;this.router=a;this.element=b;this.renderer=c;this.cdr=d;this.link=e;this.classes=[];this._isActive=!1;this.routerLinkActiveOptions={exact:!1};this.isActiveChange=new mv;this.routerEventsSubscription=a.events.subscribe(function(h){h instanceof sk&&f.update()})};BE.prototype.ngAfterContentInit=function(){var a=this;(0,E.of)(this.links.changes,(0,E.of)(null)).pipe(Ce()).subscribe(function(){a.update();Y0b(a)})};
var Y0b=function(a){var b;null==(b=a.linkInputChangesSubscription)||b.unsubscribe();b=[].concat(u(a.links.toArray()),[a.link]).filter(function(c){return!!c}).map(function(c){return c.onChanges});a.linkInputChangesSubscription=(0,E.from)(b).pipe(Ce()).subscribe(function(c){a._isActive!==Z0b(a,a.router)(c)&&a.update()})};BE.prototype.ngOnChanges=function(){this.update()};
BE.prototype.ngOnDestroy=function(){this.routerEventsSubscription.unsubscribe();var a;null==(a=this.linkInputChangesSubscription)||a.unsubscribe()};
BE.prototype.update=function(){var a=this;this.links&&this.router.navigated&&queueMicrotask(function(){var b=$0b(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 Z0b=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}},$0b=function(a){var b=Z0b(a,a.router);return a.link&&b(a.link)||a.links.some(b)};
Gh.Object.defineProperties(BE.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})}}});BE.\u0275fac=function(a){return new (a||BE)(B(yE),B(Hd),B(Eu),B(Fu),B(AE,8))};
BE.\u0275dir=Vc({type:BE,selectors:[["","routerLinkActive",""]],contentQueries:function(a,b,c){a&1&&pg(c,AE,5);if(a&2){var d;ng(d=qg())&&(b.links=d)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[ld]});var a1b=function(){},CE=function(a,b,c,d,e){this.router=a;this.injector=c;this.preloadingStrategy=d;this.loader=e},b1b=function(a){a.subscription=a.router.events.pipe(He(function(b){return b instanceof sk}),Be(function(){return a.preload()},1)).subscribe(function(){})};CE.prototype.preload=function(){return c1b(this,this.injector,this.router.config)};CE.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()};
var c1b=function(a,b,c){var d=[];c=l(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;e.providers&&!e._injector&&(e._injector=uka(e.providers,b,"Route: "+e.path));var f=void 0,h=null!=(f=e._injector)?f:b,k=void 0;f=null!=(k=e._loadedInjector)?k:h;(e.loadChildren&&!e._loadedRoutes&&void 0===e.canLoad||e.loadComponent&&!e._loadedComponent)&&d.push(d1b(a,h,e));if(e.children||e._loadedRoutes)h=void 0,d.push(c1b(a,f,null!=(h=e.children)?h:e._loadedRoutes))}return(0,E.from)(d).pipe(Ce())},d1b=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(Be(function(f){if(null===f)return(0,E.of)(void 0);c._loadedRoutes=f.routes;c._loadedInjector=f.injector;var h;return c1b(a,null!=(h=f.injector)?h:b,f.routes)}));if(c.loadComponent&&!c._loadedComponent){var e=a.loader.loadComponent(c);return(0,E.from)([d,e]).pipe(Ce())}return d})};CE.\u0275fac=function(a){return new (a||CE)(p(yE),p(Mv),p(yu),p(a1b),p(qE))};
CE.\u0275prov=Dc({token:CE,factory:CE.\u0275fac,providedIn:"root"});var e1b=new bd(""),DE=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"};
DE.prototype.init=function(){if("disabled"!==this.options.scrollPositionRestoration){var a=this.viewportScroller;zPb(a)&&(a.window.history.scrollRestoration="manual")}this.routerEventsSubscription=f1b(this);this.scrollEventsSubscription=g1b(this)};
var f1b=function(a){return a.transitions.events.subscribe(function(b){b instanceof xk?(a.store[a.lastId]=a.viewportScroller.getScrollPosition(),a.lastSource=b.navigationTrigger,a.restoredId=b.restoredState?b.restoredState.navigationId:0):b instanceof sk?(a.lastId=b.id,h1b(a,a.urlSerializer.parse(b.urlAfterRedirects).fragment)):b instanceof vk&&0===b.code&&(a.lastSource=void 0,a.restoredId=0,h1b(a,a.urlSerializer.parse(b.url).fragment))})},g1b=function(a){return a.transitions.events.subscribe(function(b){if(b instanceof
T_b)if(b.position)"top"===a.options.scrollPositionRestoration?APb(a.viewportScroller,[0,0]):"enabled"===a.options.scrollPositionRestoration&&APb(a.viewportScroller,b.position);else if(b.anchor&&"enabled"===a.options.anchorScrolling){var c=a.viewportScroller;if(zPb(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 f=c.offset();c.window.scrollTo(d-f[0],e-f[1]);b.focus()}}}else"disabled"!==a.options.scrollPositionRestoration&&APb(a.viewportScroller,[0,0])})},h1b=function(a,b){a.zone.runOutsideAngular(function(){setTimeout(function(){a.zone.run(function(){a.transitions.events.next(new T_b("popstate"===
a.lastSource?a.store[a.restoredId]:null,b))})},0)})};DE.prototype.ngOnDestroy=function(){var a;null==(a=this.routerEventsSubscription)||a.unsubscribe();var b;null==(b=this.scrollEventsSubscription)||b.unsubscribe()};DE.\u0275fac=function(){Od()};DE.\u0275prov=Dc({token:DE,factory:DE.\u0275fac});new bd("",{providedIn:"root",factory:function(){return!1}});var i1b=new bd("",{factory:function(){return new E.Subject}}),j1b=new bd("",{providedIn:"root",factory:function(){return 1}}),k1b=new bd("");var l1b=new bd("ROUTER_FORROOT_GUARD"),m1b=[pw,{provide:bE,useClass:cE},yE,gE,{provide:ik,useFactory:function(a){return a.routerState.root},deps:[yE]},qE,[]],EE=function(){};EE.\u0275fac=function(a){return new (a||EE)(p(l1b,8))};EE.\u0275mod=Tc({type:EE});EE.\u0275inj=Ec({});var n1b=new bd("");new Hv;var o1b={attributes:!1,childList:!0,subtree:!0},FE=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(Ne(200));this.navigatedTo$=this.router.events.pipe(He(Cva),D(function(){return Bva(d.activatedRoute.snapshot)}));this.navigatedTo$.pipe(af(function(e){return d.renderSettled$.pipe(Qe(),D(function(){return e}))}),
Ye(1));this.domObserver=new MutationObserver(function(){return void d.dom$.next()})},p1b=function(a){a.domObserver.disconnect();a.domObserver.observe(document.body,o1b)};FE.prototype.intercept=function(a,b){var c=a.method+" "+a.urlWithParams;Uj[c]=~~Uj[c]+1;this.xhr$.next(c);return b.handle(a)};FE.\u0275fac=function(a){return new (a||FE)(p(ef),p(yE),p(ik))};FE.\u0275prov=Dc({token:FE,factory:FE.\u0275fac,providedIn:"root"});var q1b={provide:Ky,useExisting:FE,multi:!0};var Z=function(){this.destroyed$=new E.ReplaySubject(1);this.subscriptions=new E.Subscription};Z.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.subscriptions.unsubscribe()};Z.\u0275fac=function(a){return new (a||Z)};Z.\u0275dir=Vc({type:Z});var GE=function(){};g=GE.prototype;g.debug=function(){zk.apply(null,u($c.apply(0,arguments)))};g.error=function(){Fva.apply(null,u($c.apply(0,arguments)))};g.info=function(){Ak.apply(null,u($c.apply(0,arguments)))};g.log=function(){Eva.apply(null,u($c.apply(0,arguments)))};g.warn=function(){Bk.apply(null,u($c.apply(0,arguments)))};GE.\u0275fac=function(a){return new (a||GE)};GE.\u0275prov=Dc({token:GE,factory:GE.\u0275fac,providedIn:"root"});var HE=function(a){Z.call(this);var b=this;this.ngZone=a;this.activeSubject$=new E.BehaviorSubject(!1);this.active$=this.activeSubject$.pipe(Pe(),bf(this.destroyed$),Gva(this.ngZone));this.onUserEvent=jMb(function(){b.activeSubject$.next(!0);r1b(b)},200);this.onVisibilityChange=function(){"hidden"===document.visibilityState?(b.activeSubject$.next(!1),clearTimeout(b.activeTimeoutId)):(b.activeSubject$.next(!0),r1b(b))}};Y(HE,Z);HE.\u0275dir=Z.\u0275dir;
HE.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)};
HE.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);clearTimeout(this.activeTimeoutId);window.removeEventListener("click",this.onUserEvent);window.removeEventListener("keydown",this.onUserEvent);window.removeEventListener("mousemove",this.onUserEvent);window.removeEventListener("wheel",this.onUserEvent);window.removeEventListener("touchstart",this.onUserEvent);window.removeEventListener("focus",this.onUserEvent);document.removeEventListener("visibilitychange",this.onVisibilityChange)};
var r1b=function(a){clearTimeout(a.activeTimeoutId);a.activeTimeoutId=setTimeout(function(){a.activeSubject$.next(!1)},3E3)};HE.\u0275fac=function(a){return new (a||HE)(p(ef))};HE.\u0275prov=Dc({token:HE,factory:HE.\u0275fac,providedIn:"root"});var s1b=[sk,uk,tk],JE=function(a,b){Z.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(He(Cva));this.navigationOver$=this.router.events.pipe(He(function(d){return s1b.some(function(e){return d instanceof e})}));IE(this,Sua).subscribe(function(d){c.routeChangeStart.next({params:Object.assign({},
d.snapshot.queryParams,d.snapshot.params)})});a=IE(this,S_b);(0,E.merge)(this.navigationOver$.pipe(Ue(E.NEVER)),this.routeChangeStart.pipe(Ue(a))).pipe(af(he),bf(this.destroyed$),He(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)});IE(this,xk).pipe(D(function(d){return d.url}),Pe()).subscribe(function(){c.locationChangeStart.next()});IE(this,sk).pipe(D(function(d){return d.url}),
Pe()).subscribe(function(){c.locationChangeSuccess.next()});a=this.activatedRoute.queryParams.pipe(df(IE(this,fE)));(0,E.merge)(this.routeChangeStart.pipe(Ue(E.NEVER)),this.navigationOver$.pipe(Ue(a))).pipe(af(he),bf(this.destroyed$)).subscribe(function(d){d=l(d);d.next();d=d.next().value;c.routeUpdate.next({params:d.state.root.params})});IE(this,sk).subscribe(function(){c.viewContentLoaded.next()})};Y(JE,Z);JE.\u0275dir=Z.\u0275dir;
var IE=function(a,b){return a.router.events.pipe(He(function(c){return c instanceof b}),D(function(c){return c}),bf(a.destroyed$))};JE.\u0275fac=function(a){return new (a||JE)(p(yE),p(ik))};JE.\u0275prov=Dc({token:JE,factory:JE.\u0275fac,providedIn:"root"});var KE=function(a){this.executor=a},t1b=function(a,b){return a.executor.post({url:"action/current_user/preferences",responseConstructor:bj,body:xsa(b)}).pipe(D(function(c){return fsa(c)}))};KE.\u0275fac=function(a){return new (a||KE)(p(SD))};KE.\u0275prov=Dc({token:KE,factory:KE.\u0275fac,providedIn:"root"});var LE=function(a){this.userPreferencesManagerBase=a;this.destroyed$=new E.ReplaySubject(1);this.preferencesSubject$=this.userPreferencesManagerBase.preferences$;this.preferences$=this.preferencesSubject$.pipe(D(ai));this.textDisplayPreferences$=this.preferences$.pipe(D(function(b){return b.textDisplayPreferences||{}}));this.textDisplayPreferencesSubject$=Ck(this.textDisplayPreferences$.pipe(bf(this.destroyed$)),{});this.lastPublishMode$=this.textDisplayPreferences$.pipe(D(function(b){return b.lastPublishMode}),
Pe());this.lastPublishModeProto$=this.lastPublishMode$.pipe(D(Ai));this.themePreferences$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.themePreferences)?c:ai(uD.themePreferences)}),Ek());this.listViewPreferences$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.listViewPreferences)?c:ai(uD.listViewPreferences)}),Ek());this.layoutPreferences$=this.preferences$.pipe(D(this.getLayoutPreferences),Ek());this.dateTimePreferences$=this.preferences$.pipe(D(function(b){var c;return null!=
(c=b.dateTimePreferences)?c:ai(uD.dateTimePreferences)}),Ek());this.homepagePreferences$=this.preferences$.pipe(D(this.getHomepagePreferences),Ek());this.keyboardPrefs$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.keyboardPreferences)?c:ai(uD.keyboardPreferences)}),Ek());this.displayColumnsPreferences$=this.preferences$.pipe(D(function(b){var c,d;return null!=(d=null==(c=b.displayColumns)?void 0:c.column)?d:[]}),Ek());this.sortColumnsPreferences$=this.preferences$.pipe(D(function(b){var c,
d;return null!=(d=null==(c=b.sortColumns)?void 0:c.column)?d:[]}),Ek());this.needsAttentionPreferences$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.needsAttentionPreferences)?c:ai(uD.needsAttentionPreferences)}),Ek());this.bugScreensaverPreferences$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.bugScreensaverPreferences)?c:ai(uD.bugScreensaverPreferences)}),Ek());this.bugScreensaverSubject$=Ck(this.bugScreensaverPreferences$.pipe(bf(this.destroyed$)),uD.bugScreensaverPreferences);
this.g3nPreferences$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.g3nPreferences)?c:ai(uD.g3nPreferences)}),Ek());Ck(this.g3nPreferences$.pipe(bf(this.destroyed$)),uD.g3nPreferences);this.teamWarningPreferences$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.teamWarningPreferences)?c:ai(uD.teamWarningPreferences)}),Ek());this.teamWarningPreferencesSubject$=Ck(this.teamWarningPreferences$.pipe(bf(this.destroyed$)),uD.teamWarningPreferences);this.commentFilterPreferences$=
this.preferences$.pipe(D(function(b){var c;return null!=(c=b.commentFilterPreferences)?c:ai(uD.commentFilterPreferences)}),Ek());Ck(this.commentFilterPreferences$.pipe(bf(this.destroyed$)),uD.commentFilterPreferences);this.codeFont$=this.preferences$.pipe(D(function(b){return!!b.useCodefont}),Pe());this.autoCcOnComment$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.autoCcOnComment)?c:!1}),Pe());this.showFullHistory$=this.preferences$.pipe(D(function(b){return!!b.showFullHistory}),Pe());
this.showRecentEventsFirst$=this.preferences$.pipe(D(function(b){return!!b.showRecentEventsFirst}),Pe());this.showInlineImages$=this.preferences$.pipe(D(function(b){var c;return null!=(c=b.showInlineImages)?c:uD.showInlineImages}),Pe())};LE.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};LE.prototype.save=function(a){return this.userPreferencesManagerBase.save(a)};
var u1b=function(a,b){b=Object.assign({},a.getLayoutPreferences(a.preferencesSubject$.value),b);return a.save({layoutPreferences:b}).pipe(D(a.getLayoutPreferences))},v1b=function(a,b){return a.save({homepagePreferences:b}).pipe(D(a.getHomepagePreferences))};LE.prototype.getDateTimePreferences=function(){var a;return null!=(a=(void 0).dateTimePreferences)?a:ai(uD.dateTimePreferences)};
var w1b=function(a,b){b=Object.assign({},a.preferencesSubject$.value.collapsed,b);return a.save({collapsed:b})},x1b=function(a,b){var c;return null==(c=a.preferencesSubject$.value.collapsed)?void 0:c[b]},y1b=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:[]}))};
LE.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 z1b=function(a,b){return a.save({teamWarningPreferences:b}).pipe(D(function(c){var d;return null!=(d=c.teamWarningPreferences)?d:ai(uD.teamWarningPreferences)}))};LE.prototype.getLayoutPreferences=function(a){var b;return null!=(b=a.layoutPreferences)?b:ai(uD.layoutPreferences)};
LE.prototype.getHomepagePreferences=function(a){var b;return null!=(b=a.homepagePreferences)?b:ai(uD.homepagePreferences)};var ME=function(a){return ai(a.preferencesSubject$.getValue())};LE.\u0275fac=function(a){return new (a||LE)(p(NE))};LE.\u0275prov=Dc({token:LE,factory:LE.\u0275fac,providedIn:"root"});
var NE=function(a,b){this.activeSession=a;this.userPreferencesResources=b;this.preferences$=new E.BehaviorSubject(ai(uD));a=this.preferences$.value;if(b=this.activeSession.getUserPreferences())a=Object.assign({},a,b),A1b(a);this.preferences$.next(a)};NE.prototype.save=function(a){var b=this;return this.activeSession.isAnonymous()?(0,E.of)(B1b(this,a)):t1b(this.userPreferencesResources,a).pipe(D(function(){return B1b(b,a)}))};
var B1b=function(a,b){var c=ai(a.preferences$.value);c=Object.assign({},c,b);A1b(c);a.preferences$.next(c);return c},A1b=function(a){a.dateTimePreferences&&(a.dateTimePreferences.calendarFormat||(a.dateTimePreferences.calendarFormat=uD.dateTimePreferences.calendarFormat),a.dateTimePreferences.timeFormat||(a.dateTimePreferences.timeFormat=uD.dateTimePreferences.timeFormat),a.dateTimePreferences.sloEtaViewAs||(a.dateTimePreferences.sloEtaViewAs=uD.dateTimePreferences.sloEtaViewAs));!a.notificationPreferences||
a.notificationPreferences.collaboratorPriority&&"UNKNOWN_PRIORITY"!==a.notificationPreferences.collaboratorPriority||(a.notificationPreferences.collaboratorPriority=uD.notificationPreferences.collaboratorPriority)};NE.\u0275fac=function(a){return new (a||NE)(p(nt),p(KE))};NE.\u0275prov=Dc({token:NE,factory:NE.\u0275fac,providedIn:"root"});/*

 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 C1b=function(a,b,c,d,e,f){this.combo=a;this.callback=b;this.allowIn=c;this.description=d;this.action=e;this.persistent=f;this.combo=Array.isArray(a)?a:[a];this.allowIn=c||[];this.description=d||""};
Gh.Object.defineProperties(C1b.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("+"),f=0;f<e.length;f++)"mod"===e[f]&&(window.navigator&&0<=window.navigator.platform.indexOf("Mac")?e[f]="command":e[f]="ctrl"),e[f]=d[e[f]]||e[f];d=e.join(" + ");
a[c]=d}this._formatted=a}return this._formatted}}});var D1b=new bd("HotkeyOptions");var OE=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 C1b(this.options.cheatSheetHotkey||"?",function(){this.cheatSheetToggle.next()}.bind(this),[],this.options.cheatSheetDescription||
"Show / hide this help menu"));this.options.cheatSheetCloseEsc&&this.add(new C1b("esc",function(){this.cheatSheetToggle.next(!1)}.bind(this),["HOTKEYS-CHEATSHEET"],this.options.cheatSheetCloseEscDescription||"Hide this help menu"))};g=OE.prototype;
g.add=function(a,b){var c=this;if(Array.isArray(a)){for(var d=[],e=l(a),f=e.next();!f.done;f=e.next())d.push(this.add(f.value,b));return d}this.remove(a);this.hotkeys.push(a);this.mousetrap.bind(a.combo,function(h,k){var q=!0;if(h){var t=h.target,w=t.nodeName.toUpperCase();-1<(" "+t.className+" ").indexOf(" mousetrap ")?q=!0:-1<c.preventIn.indexOf(w)&&-1===a.allowIn.map(function(y){return y.toUpperCase()}).indexOf(w)&&(q=!1)}if(q)return a.callback.apply(c,[h,k])},b);return a};
g.remove=function(a){var b=[];if(!a){var c=l(this.hotkeys);for(a=c.next();!a.done;a=c.next())b.push(this.remove(a.value));return b}if(Array.isArray(a)){c=l(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};
g.get=function(a){if(!a)return this.hotkeys;if(Array.isArray(a)){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next())b.push(this.get(c.value));return b}for(b=0;b<this.hotkeys.length;b++)if(-1<this.hotkeys[b].combo.indexOf(a))return this.hotkeys[b];return null};g.pause=function(a){if(!a)return this.pause(this.hotkeys);if(Array.isArray(a)){var b=[];a=l(a.slice());for(var c=a.next();!c.done;c=a.next())b.push(this.pause(c.value));return b}this.remove(a);this.pausedHotkeys.push(a);return a};
g.unpause=function(a){if(!a)return this.unpause(this.pausedHotkeys);if(Array.isArray(a)){var b=[];a=l(a.slice());for(var c=a.next();!c.done;c=a.next())b.push(this.unpause(c.value));return b}b=this.pausedHotkeys.indexOf(a);return-1<b?(this.add(a),this.pausedHotkeys.splice(b,1)):null};g.reset=function(){this.mousetrap.reset()};OE.\u0275fac=function(a){return new (a||OE)(p(D1b))};OE.\u0275prov=Dc({token:OE,factory:OE.\u0275fac});var PE=function(){};PE.\u0275fac=function(a){return new (a||PE)};PE.\u0275mod=Tc({type:PE});PE.\u0275inj=Ec({imports:[hw]});var E1b;Fda("A AREA BUTTON HEAD INPUT LINK MENU META OPTGROUP OPTION PROGRESS STYLE SELECT SOURCE TEXTAREA TITLE TRACK".split(" "));
var F1b="combobox grid group listbox menu menubar radiogroup row rowgroup tablist textbox toolbar tree treegrid".split(" "),QE=function(a,b){b?a.setAttribute("role",b):a.removeAttribute("role")},RE=function(a,b,c){Array.isArray(c)&&(c=c.join(" "));var d="aria-"+b;""===c||void 0==c?(E1b||(c={},E1b=(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=E1b,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)},G1b=function(a,b){a=a.getAttribute("aria-"+b);return null==a||void 0==a?"":String(a)},SE=function(a,b){var c="";b&&(c=b.id);RE(a,"activedescendant",c)},H1b=function(a,b){RE(a,"label",b)};var TE=function(a,b,c,d){Z.call(this);var e=this;this.rawHotkeysService=c;this.ngZone=d;this.enabled=!0;this.paused=!1;this.hotkeyGroups=new Map;this.stopCallback=function(f,h){if(!e.enabled||e.paused)h=!0;else if(-1<(" "+h.className+" ").indexOf(" mousetrap ")||h.classList.contains("has-hotkey"))h=!1;else{if(f=h.getAttribute)f=h.getAttribute("role")||null,f=ta(F1b,f);h=f||"true"===h.contentEditable||"INPUT"===h.tagName&&"text"===h.type||"SELECT"===h.tagName||"TEXTAREA"===h.tagName||I1b(h)?!0:!1}return h};
b.keyboardPrefs$.pipe(bf(this.destroyed$)).subscribe(function(f){f&&(e.enabled=!!f.enableAllHotkeys)});a.routeChangeStart.pipe(bf(this.destroyed$)).subscribe(function(){e.unpause()});this.rawHotkeysService.mousetrap.stopCallback=this.stopCallback;this.destroyed$.subscribe(function(){J1b(e)})};Y(TE,Z);TE.\u0275dir=Z.\u0275dir;TE.prototype.isEnabled=function(){return this.enabled};TE.prototype.isPaused=function(){return this.paused};
var UE=function(a,b){var c=b.title,d=b.hotkeys,e;b=null!=(e=a.hotkeyGroups.get(c))?e:[];a.hotkeyGroups.set(c,[].concat(u(b),u(d)));K1b(a);return function(){var f=new Set(d.map(function(q){return q.onPress})),h,k=(null!=(h=a.hotkeyGroups.get(c))?h:[]).filter(function(q){return!f.has(q.onPress)});k.length?a.hotkeyGroups.set(c,k):a.hotkeyGroups.delete(c);K1b(a)}},J1b=function(a){var b=[].concat(u(a.rawHotkeysService.hotkeys));b=l(b);for(var c=b.next();!c.done;c=b.next())a.rawHotkeysService.remove(c.value);
a.rawHotkeysService.reset()},K1b=function(a){J1b(a);for(var b=l(a.hotkeyGroups.values()),c=b.next();!c.done;c=b.next()){c=L1b(a,c.value);c=l(c);for(var d=c.next(),e={};!d.done;e={binding$jscomp$1:e.binding$jscomp$1},d=c.next())e.binding$jscomp$1=d.value,d=new C1b(Fta(e.binding$jscomp$1.key),function(f){return function(h){a.ngZone.run(function(){f.binding$jscomp$1.command()});h.stopPropagation();return!1}}(e),e.binding$jscomp$1.allowIn),a.rawHotkeysService.add(d)}},I1b=function(a){return[].concat(u(document.getElementsByClassName("cdk-overlay-pane"))).filter(function(b){return"static"===
b.style.position}).some(function(b){return b.contains(a)})},L1b=function(a,b){var c=[];b=l(b);for(var d=b.next(),e={};!d.done;e={hotkeySpec:e.hotkeySpec},d=b.next()){e.hotkeySpec=d.value;d=l(e.hotkeySpec.keys.entries());for(var f=d.next(),h={};!f.done;h={index$jscomp$1216:h.index$jscomp$1216},f=d.next()){var k=l(f.value);f=k.next().value;k=k.next().value;h.index$jscomp$1216=f;c.push(new M1b(k,function(q,t){return function(){a.ngZone.run(function(){q.hotkeySpec.onPress(t.index$jscomp$1216)})}}(e,h),
e.hotkeySpec.allowIn))}}yaa(c,function(q,t){return q.strokeLength>t.strokeLength?-1:q.strokeLength<t.strokeLength?1:0});return c};TE.prototype.pause=function(){this.paused=!0};TE.prototype.unpause=function(){this.paused=!1};var N1b=function(a){return[].concat(u(a.hotkeyGroups.entries())).map(function(b){var c=l(b);b=c.next().value;c=c.next().value;return{title:b,hotkeys:Pj(c,Iva)}})};TE.\u0275fac=function(a){return new (a||TE)(p(JE),p(LE),p(OE),p(ef))};
TE.\u0275prov=Dc({token:TE,factory:TE.\u0275fac,providedIn:"root"});var M1b=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 VE=function(a,b){Z.call(this);this.hotkeys=a;this.tooltip=b;this.hotkeyEnabled=!0;this.onHotkey=new mv;this.hasHotkey=!0};Y(VE,Z);VE.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+")"}};
VE.prototype.ngOnInit=function(){var a=this;this.hotkeyEnabled&&this.subscriptions.add(UE(this.hotkeys,{title:this.hotkey.category,hotkeys:[Object.assign({},this.hotkey,{onPress:function(b){a.onHotkey.next(b)}})]}))};VE.\u0275fac=function(a){return new (a||VE)(B(TE),B(dC,8))};
VE.\u0275dir=Vc({type:VE,selectors:[["","hotkey",""]],hostVars:2,hostBindings:function(a,b){a&2&&Jf("has-hotkey",b.hasHotkey)},inputs:{hotkey:"hotkey",hotkeyEnabled:"hotkeyEnabled",matTooltip:"matTooltip"},outputs:{onHotkey:"onHotkey"},features:[yf,ld]});var WE=function(){};WE.\u0275fac=function(a){return new (a||WE)};WE.\u0275mod=Tc({type:WE});WE.\u0275inj=Ec({});var XE=function(a){this.hotkeys=a};XE.prototype.ngOnInit=function(){this.hotkeys.pause()};XE.prototype.ngOnDestroy=function(){this.hotkeys.unpause()};XE.\u0275fac=function(a){return new (a||XE)(B(TE))};
XE.\u0275cmp=r({type:XE,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),T(1,"Keyboard shortcuts"),K(),H(2,"mat-dialog-content")(3,"table"),F(4,Kva,6,2,"thead",1),K()(),H(5,"mat-dialog-actions")(6,"button",2),T(7,"Close"),K()());
a&2&&(A(4),G("ngForOf",N1b(b.hotkeys)))},dependencies:[Tv,eA,wA,xA,yA,zA],encapsulation:2});var YE=function(){};YE.\u0275fac=function(a){return new (a||YE)};YE.\u0275mod=Tc({type:YE});YE.\u0275inj=Ec({imports:[zD,kC,AA]});var Lva=window,awa=function(){return{count:0,duration:0,transferSize:0,cacheHits:0,cacheHitRate:0}},O1b=function(a){if(Fk())try{window.performance.mark(a)}catch(b){console.warn("route_performance",b)}};var cwa=Aj("debug-logging")(),Gk=window,P1b,$va=!1;var ZE={},Mk=(ZE.NEW=Lk("NEW",!0,"FORBIDDEN",10),ZE.ASSIGNED=Lk("ASSIGNED",!0,"REQUIRED",20),ZE.ACCEPTED=Lk("ACCEPTED",!0,"REQUIRED",30),ZE.FIXED=Lk("FIXED",!1,"REQUIRED",40),ZE.VERIFIED=Lk("VERIFIED",!1,"REQUIRED",50),ZE.DUPLICATE=Lk("DUPLICATE",!1,"ALLOWED",60),ZE.INFEASIBLE=Lk("INFEASIBLE",!1,"ALLOWED",70),ZE.NOT_REPRODUCIBLE=Lk("NOT_REPRODUCIBLE",!1,"ALLOWED",80),ZE.OBSOLETE=Lk("OBSOLETE",!1,"ALLOWED",90),ZE.INTENDED_BEHAVIOR=Lk("INTENDED_BEHAVIOR",!1,"ALLOWED",100),ZE),Q1b=[Mk.NEW,Mk.ASSIGNED,
Mk.ACCEPTED,Mk.FIXED,Mk.VERIFIED,Mk.NOT_REPRODUCIBLE,Mk.INTENDED_BEHAVIOR,Mk.OBSOLETE,Mk.INFEASIBLE,Mk.DUPLICATE],R1b=Q1b.map(function(a){return{value:a.status,displayText:a.displayValue}}),S1b=new Set(Object.values(cc(Mk,function(a){return"REQUIRED"===a.assigneeRequirement})));var ewa=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=[];this.issueAccessLevel=null};var $E=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)},T1b=function(a,b){var c=b.positionMap||{},d=b.issues.map(function(e){var f=gwa(e,b.componentMap[qa(e.snapshot).componentId||0]);c&&c[e.issueId]&&(f.position=c[e.issueId]);return f});return new $E(d,a,b.numTotalResults)},U1b=function(a,b){var c=b.issuesWithSignals.map(function(d){var e,f=gwa(d.issue,null!=(e=b.components[qa(d.issue.snapshot).componentId||0])?e:null);f.signals=d.signals;return f});return new $E(c,
a,b.numTotalResults)};$E.prototype.hasPreviousPage=function(){return 1<this.params.page};$E.prototype.hasNextPage=function(){return this.params.page<this.numPages};var aF=function(a,b){var c=a.issues.findIndex(function(d){return d.issueId===b});return-1!==c?c+a.startIndex:-1};$E.prototype.getIssueIdFromIndex=function(a){if(a>=this.startIndex&&a<=this.endIndex&&(a-=this.startIndex,a<this.issues.length))return this.issues[a].issueId};
var V1b=function(a,b){b=l(b);for(var c=b.next();!c.done;c=b.next()){var d=c.value;c=d.issue;d=d.component;var e=aF(a,c.issueId);-1!==e&&(e-=a.startIndex,fwa(a.issues[e],c,d))}a.changed$.next(a)},W1b=function(a,b,c,d){b=aF(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)};
$E.prototype.clone=function(){var a=new $E(this.internalIssues,this.params,this.numTotalResults);a.changed$.next(a);return a};$E.prototype.getTotalText=function(a,b,c,d){return a<=b*c?a.toString():d?"many":a.toString()};Gh.Object.defineProperties($E.prototype,{issues:{configurable:!0,enumerable:!0,get:function(){return this.internalIssues},set:function(a){this.internalIssues=a;this.changed$.next(this)}}});var X1b=function(a){this.allowExecution=a;this.queue=[]};X1b.prototype.addTask=function(a){this.queue.push(a);Y1b(this)};var Y1b=function(a){if(0!==a.queue.length)if(a.allowExecution()){var b=l(a.queue),c=b.next().value;a.queue=Ge(b);c();Y1b(a)}else setTimeout(function(){Y1b(a)},0)};var bF=function(a,b,c,d){var e=this;this.location=a;this.platformLocation=b;this.activatedRoute=c;this.router=d;this.scheduler=new X1b(function(){return!e.router.navigationTransitions.currentNavigation})};bF.prototype.absUrl=function(){return this.platformLocation.href};bF.prototype.hash=function(a,b){"undefined"!==typeof a&&Z1b(this,null!=a?a:"",b);var c;return null!=(c=this.activatedRoute.snapshot.fragment)?c:""};
var Z1b=function(a,b,c){b=void 0===b?"":b;c=void 0===c?!1:c;a.addTask(function(){a.router.navigate([],{fragment:b,replaceUrl:c})})};bF.prototype.path=function(a,b){"undefined"!==typeof a&&this.setPath(a,b);return this.getPath()};var $1b=function(a,b){a.path(b,!0)};g=bF.prototype;g.getPath=function(){var a=l(this.location.path().split("?")).next().value;return l(a.split("#")).next().value};
g.setPath=function(a,b){var c=this;a=void 0===a?"":a;b=void 0===b?!1:b;this.addTask(function(){c.router.navigate([a],{replaceUrl:b,queryParamsHandling:"preserve"})});return this};g.search=function(a,b,c){"undefined"!==typeof a&&this.setSearch(a,b,c);return this.getSearch()};g.getSearch=function(){return swa(this.activatedRoute.snapshot.queryParamMap)};
g.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})})};g.replaceUrl=function(a){return this.setUrl(a,!0)};g.setUrl=function(a,b){var c=this;b=void 0===b?!1:b;return new Promise(function(d,e){c.addTask(function(){Ns(c.router,a,{replaceUrl:b}).then(d).catch(e)})})};g.getUrl=function(){return this.location.path(!0)};g.addTask=function(a){this.scheduler.addTask(a)};
bF.\u0275fac=function(a){return new (a||bF)(p(pw),p(kw),p(ik),p(yE))};bF.\u0275prov=Dc({token:bF,factory:bF.\u0275fac,providedIn:"root"});var cF=function(a){this.bLocation=a};g=cF.prototype;g.createIssue=function(a){return Pk("issues/new",{params:a})};g.editIssue=function(a,b){return Ok(a,b)};g.listIssues=function(a){return Qk(a)};g.needsAttention=function(){return"attention"};g.viewSavedSearch=function(a){return Nk("savedsearches/:savedSearchId",{id:a,params:void 0})};var a2b=function(a,b){b="/"!==b.charAt(0)?"/"+b:b;a=a.bLocation.getUrl();a=new hp(a);b=new hp(b);return a.getPath()===b.getPath()&&DC(a.queryData_.toString())===DC(b.queryData_.toString())};
g=cF.prototype;g.viewHotlist=function(a){return Nk("hotlists/:hotlistId",{id:a})};g.editHotlist=function(a){return Pk("hotlists/:hotlistId/edit",{id:a,tab:void 0})};g.createHotlist=function(){return"hotlists/new"};g.createBookmarkGroup=function(){return"bookmark-groups/new"};g.viewBookmarkGroup=function(a){return Nk("bookmark-groups/:groupId",{id:a})};g.editBookmarkGroup=function(a){return Pk("bookmark-groups/:groupId/edit",{id:a})};
g.editSavedSearch=function(a){return Pk("savedsearches/:savedSearchId/edit",{id:a})};g.dashboard=function(a){return Pk("dashboard/:groupId",{id:a})};g.issuesCsvAction=function(a,b,c,d,e){c=iwa(c);d=jwa(d);return zB("action/issues/csv","q",a,"trackerIds",b,"s",c,"c",d,"h",e)};g.hotlistIssuesCsvAction=function(a,b,c,d,e){a="action/hotlists/"+a+"/issues/csv";c=iwa(c);(d=jwa(d))&&(d="position,"+d);return zB(a,"trackerIds",b,"s",c,"c",d,"h",e)};g.toApiSortParamValue=function(a){return iwa(a)};
g.getAttachmentAction=function(a,b){return"action/issues/"+a.toString()+"/attachments/"+b.toString()};g.listComponents=function(){return Pk("components",{params:void 0})};g.viewComponent=function(a,b){return Nk("components/:componentId",{id:a,tab:b})};g.manageComponent=function(a,b){return kwa(a,b)};g.createComponent=function(a){return Pk("components/new",{params:a})};g.editComponent=function(a,b){return Pk("components/:componentId/edit",{id:a,tab:b})};
g.createSlo=function(){return Pk("slos/new",{params:void 0})};g.editSlo=function(a){return rwa(a).path};g.listSlos=function(){return Pk("slos",{params:void 0})};g.getBaseUrl=function(){var a=this.bLocation.absUrl();a=a.slice(0,a.length-this.bLocation.getUrl().length);"/"===a.charAt(a.length-1)&&(a=a.slice(0,a.length-1));return a};g.listHotlists=function(){return"hotlists"};g.settings=function(a){return lwa(a)};g.home=function(){return Pk("home",{params:void 0})};
cF.\u0275fac=function(a){return new (a||cF)(p(bF))};cF.\u0275prov=Dc({token:cF,factory:cF.\u0275fac,providedIn:"root"});var dF=function(){};dF.prototype.adapt=function(a){var b,c=new b2b(a.call.bind(a),a.split.bind(a),null!=(b=a.bufferTimeMs)?b:500,a.maxBatchSize||100);return c.get.bind(c)};dF.\u0275fac=function(a){return new (a||dF)};dF.\u0275prov=Dc({token:dF,factory:dF.\u0275fac,providedIn:"root"});
var b2b=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(oja(this.inputSubject.pipe(Ke(this.bufferTimeMs,E.asapScheduler))));this.removeDuplicates=D(function(f){return[].concat(u(new Set(f)))});this.limitInputSize=D(function(f){for(var h=l(f.slice(e.maxBatchSize)),k=h.next();!k.done;k=h.next())e.inputSubject.next(k.value);return new Set(f.slice(0,e.maxBatchSize))});this.makeBatchCalls=
(0,E.pipe)(Be(function(f){try{return e.batchCall(f).pipe(Qe(),D(function(h){return{inputs:f,batchResponse:h,error:void 0}}),Le(function(h){return(0,E.of)({inputs:f,batchResponse:void 0,error:h})}))}catch(h){return(0,E.of)({inputs:f,batchResponse:void 0,error:h})}}),Xe());this.batchResults$=this.inputs$.pipe(this.removeDuplicates,this.limitInputSize,this.makeBatchCalls)};
b2b.prototype.get=function(a){var b=this;return new E.Observable(function(c){c=b.batchResults$.pipe(He(function(d){return d.inputs.has(a)}),Qe(),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 c2b=function(a,b){this.childIterator_=a[da.Symbol.iterator]();this.mapFn_=b};c2b.prototype[Symbol.iterator]=function(){return this};c2b.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 d2b=function(a,b){return new c2b(a,b)};var eF=function(){};eF.prototype.next=function(){return e2b};var e2b={done:!0,value:void 0};eF.prototype.__iterator__=function(){return this};var f2b=function(a){if(a instanceof fF||a instanceof gF||a instanceof hF)return a;if("function"==typeof a.next)return new fF(function(){return a});if("function"==typeof a[Symbol.iterator])return new fF(function(){return a[Symbol.iterator]()});if("function"==typeof a.__iterator__)return new fF(function(){return a.__iterator__()});throw Error("Zb");},fF=function(a){this.func_=a};fF.prototype.__iterator__=function(){return new gF(this.func_())};fF.prototype[Symbol.iterator]=function(){return new hF(this.func_())};
fF.prototype.toEs6=function(){return new hF(this.func_())};var gF=function(a){this.iter_=a};Y(gF,eF);gF.prototype.next=function(){return this.iter_.next()};gF.prototype[Symbol.iterator]=function(){return new hF(this.iter_)};gF.prototype.toEs6=function(){return new hF(this.iter_)};var hF=function(a){fF.call(this,function(){return a});this.iter_=a};Y(hF,fF);hF.prototype.next=function(){return this.iter_.next()};var iF=function(a,b){this.map_={};this.keys_=[];this.version_=this.size=0;var c=arguments.length;if(1<c){if(c%2)throw Error("R");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};g=iF.prototype;g.getCount=function(){return this.size};g.getValues=function(){jF(this);for(var a=[],b=0;b<this.keys_.length;b++)a.push(this.map_[this.keys_[b]]);return a};g.getKeys=function(){jF(this);return this.keys_.concat()};g.containsKey=function(a){return this.has(a)};
g.has=function(a){return kF(this.map_,a)};g.containsValue=function(a){for(var b=0;b<this.keys_.length;b++){var c=this.keys_[b];if(kF(this.map_,c)&&this.map_[c]==a)return!0}return!1};g.equals=function(a,b){if(this===a)return!0;if(this.size!=a.getCount())return!1;b=b||g2b;jF(this);for(var c,d=0;c=this.keys_[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var g2b=function(a,b){return a===b};iF.prototype.isEmpty=function(){return 0==this.size};
iF.prototype.clear=function(){this.map_={};this.keys_.length=0;this.setSizeInternal_(0);this.version_=0};iF.prototype.remove=function(a){return this.delete(a)};iF.prototype.delete=function(a){return kF(this.map_,a)?(delete this.map_[a],this.setSizeInternal_(this.size-1),this.version_++,this.keys_.length>2*this.size&&jF(this),!0):!1};
var jF=function(a){if(a.size!=a.keys_.length){for(var b=0,c=0;b<a.keys_.length;){var d=a.keys_[b];kF(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],kF(e,d)||(a.keys_[c++]=d,e[d]=1),b++;a.keys_.length=c}};g=iF.prototype;g.get=function(a,b){return kF(this.map_,a)?this.map_[a]:b};g.set=function(a,b){kF(this.map_,a)||(this.setSizeInternal_(this.size+1),this.keys_.push(a),this.version_++);this.map_[a]=b};
g.addAll=function(a){if(a instanceof iF)for(var b=a.getKeys(),c=0;c<b.length;c++)this.set(b[c],a.get(b[c]));else for(b in a)this.set(b,a[b])};g.forEach=function(a,b){for(var c=this.getKeys(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};g.clone=function(){return new iF(this)};g.keys=function(){return f2b(this.__iterator__(!0)).toEs6()};g.values=function(){return f2b(this.__iterator__(!1)).toEs6()};g.entries=function(){var a=this;return d2b(this.keys(),function(b){return[b,a.get(b)]})};
g.__iterator__=function(a){jF(this);var b=0,c=this.version_,d=this,e=new eF;e.next=function(){if(c!=d.version_)throw Error("$b");if(b>=d.keys_.length)return e2b;var f=d.keys_[b++];return{value:a?f:d.map_[f],done:!1}};return e};g.setSizeInternal_=function(a){this.size=a};var kF=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var lF=function(a,b,c){this.maxCount_=a||null;this.cache_=!!b;this.evictionCallback_=c;this.map_=new iF;this.head_=new h2b("");this.head_.next=this.head_.prev=this.head_},j2b=function(a,b){(b=a.map_.get(b))&&a.cache_&&(b.remove(),i2b(a,b));return b};lF.prototype.get=function(a,b){return(a=j2b(this,a))?a.value:b};var k2b=function(a,b){return(a=a.map_.get(b))?a.value:void 0};g=lF.prototype;g.set=function(a,b){var c=j2b(this,a);c?c.value=b:(c=new h2b(a,b),this.map_.set(a,c),i2b(this,c))};
g.shift=function(){return l2b(this,this.head_.next)};g.pop=function(){return l2b(this,this.head_.prev)};g.remove=function(a){return(a=this.map_.get(a))?(this.removeNode(a),!0):!1};g.removeNode=function(a){a.remove();this.map_.remove(a.key)};g.getCount=function(){return this.map_.getCount()};g.isEmpty=function(){return this.map_.isEmpty()};g.getKeys=function(){return this.map(function(a,b){return b})};g.getValues=function(){return this.map(function(a){return a})};
g.contains=function(a){return this.some(function(b){return b==a})};g.containsKey=function(a){return this.map_.containsKey(a)};g.clear=function(){m2b(this,0)};g.forEach=function(a,b){for(var c=this.head_.next;c!=this.head_;c=c.next)a.call(b,c.value,c.key,this)};g.map=function(a,b){for(var c=[],d=this.head_.next;d!=this.head_;d=d.next)c.push(a.call(b,d.value,d.key,this));return c};g.some=function(a,b){for(var c=this.head_.next;c!=this.head_;c=c.next)if(a.call(b,c.value,c.key,this))return!0;return!1};
g.every=function(a,b){for(var c=this.head_.next;c!=this.head_;c=c.next)if(!a.call(b,c.value,c.key,this))return!1;return!0};
var i2b=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_&&m2b(a,a.maxCount_)},m2b=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)}},l2b=function(a,b){a.head_!=b&&a.removeNode(b);return b.value},h2b=function(a,b){this.key=a;this.value=b};
h2b.prototype.remove=function(){this.prev.next=this.next;this.next.prev=this.prev;delete this.prev;delete this.next};var mF=function(){this.caches=new Map};mF.prototype.create=function(a,b){if(this.caches.has(a))throw Error("ac`"+a);b=new nF(null==b?void 0:b.capacity);this.caches.set(a,b);return b};mF.prototype.get=function(a){return this.caches.get(a)};mF.\u0275fac=function(a){return new (a||mF)};mF.\u0275prov=Dc({token:mF,factory:mF.\u0275fac,providedIn:"root"});var nF=function(a){this.lruCache=new lF(a,!0)};nF.prototype.get=function(a){return this.lruCache.get(a)};
nF.prototype.put=function(a,b){void 0!==b&&this.lruCache.set(a,b);return b};nF.prototype.remove=function(a){this.lruCache.remove(a)};nF.prototype.removeAll=function(){this.lruCache.clear()};var oF={},zwa=(oF[0]="",oF[1]="issue_id",oF[3]="type",oF[4]="status",oF[5]="priority",oF[6]="severity",oF[18]="title",oF[15]="modified_time",oF[14]="created_time",oF[17]="verified_time",oF[16]="resolved_time",oF[38]="deletion_time",oF[13]="blocked_by_issue_ids",oF[12]="blocking_issue_ids",oF[26]="vote_count",oF[28]="cc_count",oF[44]="collaborators_count",oF[2]="component_path",oF[27]="duplicate_count",oF[10]="ccs",oF[43]="collaborators",oF[11]="code_changes",oF[33]="postmortems",oF[8]="assignee",
oF[9]="verifier",oF[7]="reporter",oF[19]="found_in_versions",oF[20]="targeted_to_versions",oF[21]="verified_in_versions",oF[22]="in_prod",oF[30]="last_modifier",oF[25]="position",oF[24]="custom_field",oF[29]="modified_by",oF[31]="archived",oF[32]="canonical_issue_id",oF[34]="min_slo",oF[35]="assignment_slo",oF[36]="response_slo",oF[37]="closure_slo",oF[39]="team",oF[40]="estimate",oF[41]="estimate_total_open",oF[42]="estimate_total_complete",oF[23]="duplicate_of_issue_id",oF[45]="access_level",oF[46]=
"descendant_count",oF[47]="open_descendant_count",oF[48]="one_day_view_count",oF[49]="seven_day_view_count",oF[50]="thirty_day_view_count",oF),pF={},Dwa=(pF[""]=0,pF.issue_id=1,pF.type=3,pF.status=4,pF.priority=5,pF.severity=6,pF.title=18,pF.modified_time=15,pF.created_time=14,pF.verified_time=17,pF.resolved_time=16,pF.deletion_time=38,pF.blocked_by_issue_ids=13,pF.blocking_issue_ids=12,pF.vote_count=26,pF.cc_count=28,pF.collaborators_count=44,pF.component_path=2,pF.duplicate_count=27,pF.ccs=10,pF.collaborators=
43,pF.code_changes=11,pF.postmortems=33,pF.assignee=8,pF.verifier=9,pF.reporter=7,pF.found_in_versions=19,pF.targeted_to_versions=20,pF.verified_in_versions=21,pF.in_prod=22,pF.last_modifier=30,pF.position=25,pF.custom_field=24,pF.modified_by=29,pF.archived=31,pF.canonical_issue_id=32,pF.min_slo=34,pF.assignment_slo=35,pF.response_slo=36,pF.closure_slo=37,pF.team=39,pF.estimate=40,pF.estimate_total_open=41,pF.estimate_total_complete=42,pF.duplicate_of_issue_id=23,pF.descendant_count=46,pF.open_descendant_count=
47,pF.one_day_view_count=48,pF.seven_day_view_count=49,pF.thirty_day_view_count=50,pF);var cl=function(a){this.internalArray_=m(a)};Y(cl,n);cl.prototype.getDisplayColumns=function(){return Xt(this,1)};cl.prototype.setDisplayColumns=function(a){Qb(this,1,tb,a,void 0,Yh)};cl.repeatedFields_=[1];var bl=function(a){this.internalArray_=m(a)};Y(bl,n);g=bl.prototype;g.getHotlistId=function(){return Ui(this,1)};g.setHotlistId=function(a){return Gl(this,1,a)};g.getName=function(){return xi(this,2)};g.setName=function(a){return Ol(this,2,a)};g.getDescription=function(){return xi(this,3)};g.setDescription=function(a){return Ol(this,3,a)};g.getArchived=function(){return Hi(this,4)};g.setArchived=function(a){return yl(this,4,a)};g.getDefaultOrderBy=function(){return xi(this,5)};
g.setDefaultOrderBy=function(a){return Ol(this,5,a)};g.getDisplayPreferences=function(){return vi(this,cl,6)};g.setDisplayPreferences=function(a){return ej(this,cl,6,a)};g.getCreatedTime=function(){return vi(this,Xi,7)};g.setCreatedTime=function(a){return ej(this,Xi,7,a)};g.getModifiedTime=function(){return vi(this,Xi,8)};g.setModifiedTime=function(a){return ej(this,Xi,8,a)};g.getOwnersList=function(){return zi(this,Yk,9)};g.setOwnersList=function(a){return Zl(this,9,a)};
g.getEtag=function(){return km(this,10)};g.setEtag=function(a){Wl(this,10,a)};bl.repeatedFields_=[9];var al=function(a){this.internalArray_=m(a,0,al.messageId)};Y(al,n);al.prototype.getIt=function(){return vi(this,bl,18)};al.prototype.setIt=function(a){return ej(this,bl,18,a)};al.prototype.hasIt=function(){return Pi(this,bl,18)};al.messageId="b.Hotlist";var Uwa=function(){this.required=!1;this.allowedValue=void 0;this.stateOnIssues="INHERIT";this.shared=!1;this.type="TEXT";this.fieldSignificance="MINOR"};var Bl=function(a){this.internalArray_=m(a)};Y(Bl,n);Bl.prototype.getLabel=function(){return xi(this,1)};Bl.prototype.setLabel=function(a){return Ol(this,1,a)};Bl.prototype.getValue=function(){return pl(this,2)};Bl.prototype.setValue=function(a){return Ob(this,2,kb(a),0)};var Al=function(a){this.internalArray_=m(a)};Y(Al,n);var oxa=function(a,b){return Zl(a,1,b)};Al.prototype.setOptions=function(a){Qt(this,1,Bl,a)};Al.repeatedFields_=[1];var mxa=function(a){this.internalArray_=m(a)};Y(mxa,n);var lxa=function(a,b){return Ob(a,1,kb(b),0)};var zl=function(a){this.internalArray_=m(a)};Y(zl,n);g=zl.prototype;g.getInherit=function(){return Hi(this,1)};g.setInherit=function(a){return yl(this,1,a)};g.getId=function(){return Ui(this,2)};g.setId=function(a){return Gl(this,2,a)};g.getName=function(){return xi(this,3)};g.setName=function(a){return Ol(this,3,a)};var kxa=function(a,b){wl(a,4,dm,b)},nxa=function(a,b){wl(a,5,dm,b)};zl.prototype.getCustomFieldId=function(){return Ui(this,100)};
zl.prototype.setCustomFieldId=function(a){return Gl(this,100,a)};var dm=[4,5];var Ml=function(a){this.internalArray_=m(a)};Y(Ml,n);Ml.prototype.setFieldId=function(a){return ej(this,ml,1,a)};var Dl=function(a){this.internalArray_=m(a)};Y(Dl,n);var Fl=function(a){this.internalArray_=m(a)};Y(Fl,n);g=Fl.prototype;g.getInherit=function(){return Hi(this,1)};g.setInherit=function(a){return yl(this,1,a)};g.getSource=function(){return Li(this,2,0)};g.setSource=function(a){return Cl(this,2,a)};g.getId=function(){return Ui(this,3)};g.setId=function(a){return Gl(this,3,a)};g.getSourceTeamId=function(){return Ui(this,5)};g.setSourceTeamId=function(a){return Gl(this,5,a)};g.getComment=function(){return xi(this,4)};
g.setComment=function(a){return Ol(this,4,a)};var Hl=function(a){this.internalArray_=m(a)};Y(Hl,n);g=Hl.prototype;g.getMetric=function(){return Li(this,1,0)};g.getMatcher=function(){return xi(this,2)};g.setMatcher=function(a){return Ol(this,2,a)};g.getDayType=function(){return Li(this,4,0)};g.setDayType=function(a){return Cl(this,4,a)};g.getObjective=function(){return vi(this,Wk,3)};g.setObjective=function(a){return ej(this,Wk,3,a)};g.getBusinessDays=function(){return Xh(this,5)};g.setBusinessDays=function(a){return Tk(this,5,a)};var Mm=function(a){this.internalArray_=m(a)};Y(Mm,n);g=Mm.prototype;g.getSloId=function(){return Ui(this,1)};g.setSloId=function(a){return Gl(this,1,a)};g.getParentId=function(){return Ui(this,2)};g.setParentId=function(a){return Gl(this,2,a)};g.getName=function(){return xi(this,3)};g.setName=function(a){return Ol(this,3,a)};g.getDescription=function(){return xi(this,4)};g.setDescription=function(a){return Ol(this,4,a)};g.addRules=function(a,b){return mq(this,5,Hl,a,b)};
g.getIsArchived=function(){return Hi(this,7)};g.setIsArchived=function(a){return yl(this,7,a)};Mm.repeatedFields_=[5,6];var Kl=function(a){this.internalArray_=m(a)};Y(Kl,n);Kl.prototype.getInherit=function(){return Hi(this,1)};Kl.prototype.setInherit=function(a){return yl(this,1,a)};Kl.prototype.getId=function(){return Ui(this,2)};Kl.prototype.setId=function(a){return Gl(this,2,a)};var Jl=function(a){this.internalArray_=m(a)};Y(Jl,n);g=Jl.prototype;g.getInherit=function(){return Hi(this,1)};g.setInherit=function(a){return yl(this,1,a)};g.getId=function(){return Ui(this,2)};g.setId=function(a){return Gl(this,2,a)};g.getSourceTeamId=function(){return Ui(this,4)};g.setSourceTeamId=function(a){return Gl(this,4,a)};g.getComment=function(){return xi(this,3)};g.setComment=function(a){return Ol(this,3,a)};var Zn=function(a){this.internalArray_=m(a)};Y(Zn,n);g=Zn.prototype;g.getVersion=function(){return Xh(this,1)};g.setVersion=function(a){return Tk(this,1,a)};g.getSlo=function(){return vi(this,Jl,2)};g.setSlo=function(a){ej(this,Jl,2,a)};g.hasSlo=function(){return Pi(this,Jl,2)};var Il=function(a){this.internalArray_=m(a)};Y(Il,n);Il.prototype.getUser=function(){return vi(this,Yk,1)};Il.prototype.setUser=function(a){return ej(this,Yk,1,a)};Il.prototype.hasUser=function(){return Pi(this,Yk,1)};var qF=function(a){this.internalArray_=m(a)};Y(qF,n);g=qF.prototype;g.getId=function(){return Ui(this,1)};g.setId=function(a){return Gl(this,1,a)};g.getPathIdsList=function(){return Gj(this,2)};g.setPathIdsList=function(a){return Rt(this,2,a)};g.getName=function(){return xi(this,3)};g.setName=function(a){return Ol(this,3,a)};g.getPathNamesList=function(){return Yh(this,4)};g.setPathNamesList=function(a){return pj(this,4,a)};g.getMembersList=function(){return zi(this,Il,6)};
g.setMembersList=function(a){return Zl(this,6,a)};g.getDescription=function(){return xi(this,8)};g.setDescription=function(a){return Ol(this,8,a)};g.getDeleted=function(){return Hi(this,9)};qF.repeatedFields_=[2,4,5,6];var Ll=function(a){this.internalArray_=m(a)};Y(Ll,n);Ll.prototype.getTeamId=function(){return Ui(this,1)};Ll.prototype.setTeamId=function(a){return Gl(this,1,a)};Ll.prototype.getScore=function(){return pl(this,2)};Ll.prototype.setScore=function(a){return Ob(this,2,kb(a),0)};var bm=function(a){this.internalArray_=m(a)};Y(bm,n);bm.prototype.getComponentPathNames=function(a){return Xt(this,2,a)};bm.repeatedFields_=[1,2,3,4,5];var em=function(a){this.internalArray_=m(a)};Y(em,n);g=em.prototype;g.getComponentId=function(){return Ui(this,2)};g.setComponentId=function(a){return Gl(this,2,a)};g.getName=function(){return xi(this,4)};g.setName=function(a){return Ol(this,4,a)};g.getDescription=function(){return xi(this,5)};g.setDescription=function(a){return Ol(this,5,a)};g.getIsArchived=function(){return Hi(this,8)};g.setIsArchived=function(a){return yl(this,8,a)};g.getAccessLimit=function(){return vi(this,el,9)};
g.setAccessLimit=function(a){return ej(this,el,9,a)};g.setCommentEditState=function(a){return Cl(this,10,a)};g.getSlo=function(){return vi(this,Fl,13)};g.setSlo=function(a){ej(this,Fl,13,a)};g.hasSlo=function(){return Pi(this,Fl,13)};g.getTeam=function(){return vi(this,Kl,16)};g.getEffortSpec=function(){return vi(this,zl,18)};g.getTeamSuggestionsList=function(){return zi(this,Ll,19)};g.setTeamSuggestionsList=function(a){Zl(this,19,a)};g.getTrackerId=function(){return Ui(this,20)};
g.setTrackerId=function(a){Gl(this,20,a)};em.repeatedFields_=[19];var Nl=function(a){this.internalArray_=m(a)};Y(Nl,n);Nl.prototype.getRestrictionSeverity=function(){return Li(this,3,0)};var Om=function(a){this.internalArray_=m(a)};Y(Om,n);g=Om.prototype;g.getIssueId=function(){return Ui(this,1)};g.setIssueId=function(a){return Gl(this,1,a)};g.getIssueAccessLimit=function(){return vi(this,Ul,2)};g.setIssueAccessLimit=function(a){ej(this,Ul,2,a)};g.setAddedCollaboratorsList=function(a){Zl(this,3,a)};g.setRemovedCollaboratorsList=function(a){Zl(this,4,a)};Om.repeatedFields_=[3,4];var Sl=function(a){this.internalArray_=m(a)};Y(Sl,n);g=Sl.prototype;g.getIdentityCase=function(){return sn(this,rF)};g.getUser=function(){return ql(this,Yk,1,rF)};g.setUser=function(a){return wl(this,1,rF,a)};g.hasUser=function(){return cm(this,Yk,1,rF)};g.getGroup=function(){return ql(this,Yk,2,rF)};g.setGroup=function(a){wl(this,2,rF,a)};g.getAlias=function(){return xi(this,kl(this,rF,3))};g.setAlias=function(a){vl(this,3,rF,a)};var rF=[1,2,3];var sF=function(a){this.internalArray_=m(a)};Y(sF,n);g=sF.prototype;g.getAdminsList=function(){return zi(this,Sl,2)};g.setAdminsList=function(a){return Zl(this,2,a)};g.getInheritedAdminsList=function(){return zi(this,Sl,3)};g.getEditorsList=function(){return zi(this,Sl,4)};g.setEditorsList=function(a){return Zl(this,4,a)};g.getImplicitEditorsList=function(){return zi(this,Sl,5)};g.getAppendersList=function(){return zi(this,Sl,6)};g.setAppendersList=function(a){return Zl(this,6,a)};
g.getImplicitAppendersList=function(){return zi(this,Sl,7)};g.getReadersList=function(){return zi(this,Sl,8)};g.setReadersList=function(a){return Zl(this,8,a)};g.getImplicitReadersList=function(){return zi(this,Sl,9)};g.getImplicitAccess=function(){return Li(this,10,0)};g.setImplicitAccess=function(a){return Cl(this,10,a)};g.getRestrictedReadersList=function(){return zi(this,Sl,11)};g.setRestrictedReadersList=function(a){return Zl(this,11,a)};
g.getRestrictedPlusReadersList=function(){return zi(this,Sl,12)};g.setRestrictedPlusReadersList=function(a){return Zl(this,12,a)};sF.repeatedFields_=[2,3,4,5,6,7,8,9,11,12];var dn=function(a){this.internalArray_=m(a)};Y(dn,n);dn.prototype.getTemplateId=function(){return Ui(this,2)};dn.prototype.setTemplateId=function(a){return Gl(this,2,a)};var cn=function(a){this.internalArray_=m(a)};Y(cn,n);g=cn.prototype;g.getIssue=function(){return vi(this,an,1)};g.setIssue=function(a){return ej(this,an,1,a)};g.setSignificanceOverride=function(a){return Cl(this,4,a)};g.getContentJudgement=function(){return vi(this,Nl,5)};g.setContentJudgement=function(a){return ej(this,Nl,5,a)};var hm=function(a){this.internalArray_=m(a)};Y(hm,n);g=hm.prototype;g.getComponentId=function(){return Ui(this,2)};g.setComponentId=function(a){return Gl(this,2,a)};g.getTemplateId=function(){return Ui(this,3)};g.setTemplateId=function(a){return Gl(this,3,a)};g.getName=function(){return xi(this,4)};g.setName=function(a){return Ol(this,4,a)};g.getDescription=function(){return xi(this,5)};g.setDescription=function(a){return Ol(this,5,a)};g.getIssueState=function(){return vi(this,Yl,6)};
g.setIssueState=function(a){return ej(this,Yl,6,a)};g.hasIssueState=function(){return Pi(this,Yl,6)};g.getComment=function(){return xi(this,7)};g.setComment=function(a){return Ol(this,7,a)};g.getFormattingMode=function(){return Li(this,8,0)};g.setFormattingMode=function(a){return Cl(this,8,a)};var fm=function(a){this.internalArray_=m(a,0,fm.messageId)};Y(fm,n);fm.prototype.getIt=function(){return vi(this,em,28)};fm.prototype.setIt=function(a){return ej(this,em,28,a)};fm.prototype.hasIt=function(){return Pi(this,em,28)};fm.messageId="b.Component";var gm=function(a){this.internalArray_=m(a)};Y(gm,n);gm.prototype.getIt=function(){return vi(this,hm,7)};gm.prototype.setIt=function(a){return ej(this,hm,7,a)};gm.prototype.hasIt=function(){return Pi(this,hm,7)};var n2b=function(a){this.internalArray_=m(a,0,n2b.messageId)};Y(n2b,n);n2b.messageId="b.UpdateComponentSloRequest";var o2b=function(a){this.internalArray_=m(a,0,o2b.messageId)};Y(o2b,n);o2b.messageId="b.UpdateComponentTeamRequest";var jm=function(a){this.internalArray_=m(a,0,jm.messageId)};Y(jm,n);jm.prototype.getIt=function(){return vi(this,Nl,6)};jm.prototype.setIt=function(a){return ej(this,Nl,6,a)};jm.prototype.hasIt=function(){return Pi(this,Nl,6)};jm.messageId="b.ContentJudgement";var Yya=function(a){this.internalArray_=m(a)};Y(Yya,n);Yya.prototype.getContentJudgement=function(){return vi(this,jm,2)};Yya.prototype.setContentJudgement=function(a){return ej(this,jm,2,a)};var tF=function(a){this.internalArray_=m(a)};Y(tF,n);tF.prototype.getIssueId=function(){return Oi(this,1)};tF.prototype.setIssueId=function(a){return mj(this,1,a)};tF.repeatedFields_=[3];var p2b=function(a){this.internalArray_=m(a)};Y(p2b,n);g=p2b.prototype;g.getFilename=function(){return xi(this,1)};g.setFilename=function(a){gj(this,1,a)};g.getMimeType=function(){return xi(this,2)};g.setMimeType=function(a){gj(this,2,a)};g.getSize=function(){return Ui(this,5)};g.setSize=function(a){return nj(this,5,a)};var om=function(a){this.internalArray_=m(a)};Y(om,n);om.prototype.getIt=function(){return vi(this,xl,14)};om.prototype.setIt=function(a){return ej(this,xl,14,a)};om.prototype.hasIt=function(){return Pi(this,xl,14)};var Qm=function(a){this.internalArray_=m(a)};Y(Qm,n);Qm.prototype.getIt=function(){return vi(this,ul,13)};Qm.prototype.setIt=function(a){return ej(this,ul,13,a)};Qm.prototype.hasIt=function(){return Pi(this,ul,13)};var nm=function(a){this.internalArray_=m(a,0,nm.messageId)};Y(nm,n);nm.prototype.getIt=function(){return vi(this,ml,3)};nm.prototype.setIt=function(a){return ej(this,ml,3,a)};nm.prototype.hasIt=function(){return Pi(this,ml,3)};nm.messageId="b.FieldId";var pza=Aj("lean-fe-debug-logging");var Dm=function(a){this.internalArray_=m(a)};Y(Dm,n);g=Dm.prototype;g.getIdentityCase=function(){return sn(this,uF)};g.getUser=function(){return ql(this,ri,1,uF)};g.setUser=function(a){return wl(this,1,uF,a)};g.hasUser=function(){return cm(this,ri,1,uF)};g.getGroup=function(){return ql(this,ri,2,uF)};g.setGroup=function(a){wl(this,2,uF,a)};g.getAlias=function(){return xi(this,kl(this,uF,3))};g.setAlias=function(a){vl(this,3,uF,a)};var uF=[1,2,3];var vF=function(a){this.internalArray_=m(a,0,vF.messageId)};Y(vF,n);g=vF.prototype;g.getAdminsList=function(){return zi(this,Dm,2)};g.setAdminsList=function(a){return Zl(this,2,a)};g.getInheritedAdminsList=function(){return zi(this,Dm,3)};g.getEditorsList=function(){return zi(this,Dm,4)};g.setEditorsList=function(a){return Zl(this,4,a)};g.getImplicitEditorsList=function(){return zi(this,Dm,5)};g.getAppendersList=function(){return zi(this,Dm,6)};g.setAppendersList=function(a){return Zl(this,6,a)};
g.getImplicitAppendersList=function(){return zi(this,Dm,7)};g.getReadersList=function(){return zi(this,Dm,8)};g.setReadersList=function(a){return Zl(this,8,a)};g.getImplicitReadersList=function(){return zi(this,Dm,9)};g.getRestrictedReadersList=function(){return zi(this,Dm,11)};g.setRestrictedReadersList=function(a){return Zl(this,11,a)};g.getRestrictedPlusReadersList=function(){return zi(this,Dm,12)};g.setRestrictedPlusReadersList=function(a){return Zl(this,12,a)};
g.getImplicitAccess=function(){return Li(this,10,0)};g.setImplicitAccess=function(a){return hj(this,10,a)};g.getIt=function(){return vi(this,sF,13)};g.setIt=function(a){return ej(this,sF,13,a)};g.hasIt=function(){return Pi(this,sF,13)};vF.repeatedFields_=[2,3,4,5,6,7,8,9,11,12];vF.messageId="b.AccessPolicy";var tza=Cm("enableLeanFeE");var wF=function(a){this.internalArray_=m(a)};Y(wF,n);wF.prototype.getContent=function(){return vi(this,uj,1)};wF.prototype.setContent=function(a){return ej(this,uj,1,a)};wF.prototype.hasContent=function(){return Pi(this,uj,1)};var jn=function(a){this.internalArray_=m(a)};Y(jn,n);jn.prototype.getContent=function(){return vi(this,uj,1)};jn.prototype.setContent=function(a){return ej(this,uj,1,a)};jn.prototype.hasContent=function(){return Pi(this,uj,1)};var xza=function(a){this.internalArray_=m(a)};Y(xza,n);g=xza.prototype;g.getIsQuoted=function(){return Hi(this,1)};g.setIsQuoted=function(a){return cj(this,1,a)};g.getContent=function(){return vi(this,uj,2)};g.setContent=function(a){return ej(this,uj,2,a)};g.hasContent=function(){return Pi(this,uj,2)};var xF=function(a){this.internalArray_=m(a)};Y(xF,n);xF.prototype.getPlainSectionList=function(){return zi(this,xza,1)};xF.prototype.setPlainSectionList=function(a){return Zl(this,1,a)};xF.repeatedFields_=[1];var en=function(a){this.internalArray_=m(a)};Y(en,n);g=en.prototype;g.getKindCase=function(){return sn(this,yF)};g.getPlainFormat=function(){return ql(this,xF,1,yF)};g.setPlainFormat=function(a){wl(this,1,yF,a)};g.hasPlainFormat=function(){return cm(this,xF,1,yF)};g.getMarkdownFormat=function(){return ql(this,jn,2,yF)};g.setMarkdownFormat=function(a){wl(this,2,yF,a)};g.hasMarkdownFormat=function(){return cm(this,jn,2,yF)};g.getLiteralFormat=function(){return ql(this,wF,3,yF)};
g.setLiteralFormat=function(a){wl(this,3,yF,a)};g.hasLiteralFormat=function(){return cm(this,wF,3,yF)};var yF=[1,2,3];var zza=Cm("enableLeanFeD");var Vm=function(a){this.internalArray_=m(a,0,Vm.messageId)};Y(Vm,n);Vm.prototype.getIt=function(){return vi(this,Wm,3)};Vm.prototype.setIt=function(a){return ej(this,Wm,3,a)};Vm.prototype.hasIt=function(){return Pi(this,Wm,3)};Vm.messageId="b.RetentionState";var Im=function(a){this.internalArray_=m(a)};Y(Im,n);g=Im.prototype;g.getHours=function(){return Xh(this,1)};g.setHours=function(a){return Tk(this,1,a)};g.getMinutes=function(){return Xh(this,2)};g.setMinutes=function(a){return Tk(this,2,a)};g.getSeconds=function(){return Xh(this,3)};g.setSeconds=function(a){return Tk(this,3,a)};g.getNanos=function(){return Xh(this,4)};g.setNanos=function(a){return Tk(this,4,a)};var Jm=function(a){this.internalArray_=m(a)};Y(Jm,n);g=Jm.prototype;g.getId=function(){return Ui(this,1)};g.setId=function(a){return nj(this,1,a)};g.setFrequency=function(a){return Cl(this,3,a)};g.getTimeZone=function(){return vi(this,Km,5)};g.setTimeZone=function(a){return ej(this,Km,5,a)};g.hasTimeZone=function(){return Pi(this,Km,5)};var zF=function(a){this.internalArray_=m(a)};Y(zF,n);zF.prototype.getTeamId=function(){return Ui(this,1)};zF.prototype.setTeamId=function(a){return Gl(this,1,a)};zF.prototype.getEffectiveSloEditPolicy=function(){return Li(this,3,0)};var Lm=function(a){this.internalArray_=m(a,0,Lm.messageId)};Y(Lm,n);Lm.prototype.getIt=function(){return vi(this,Mm,10)};Lm.prototype.setIt=function(a){return ej(this,Mm,10,a)};Lm.prototype.hasIt=function(){return Pi(this,Mm,10)};Lm.messageId="b.SloState";var Xm=function(a){this.internalArray_=m(a)};Y(Xm,n);Xm.prototype.getIt=function(){return vi(this,Ym,4)};Xm.prototype.setIt=function(a){return ej(this,Ym,4,a)};Xm.prototype.hasIt=function(){return Pi(this,Ym,4)};var AF=function(a){this.internalArray_=m(a,0,AF.messageId)};Y(AF,n);AF.prototype.getIssueId=function(){return Oi(this,1)};AF.prototype.setIssueId=function(a){return mj(this,1,a)};AF.prototype.getReason=function(){return Li(this,2,0)};AF.prototype.setReason=function(a){return hj(this,2,a)};AF.messageId="b.DeleteIssueRequest";var Uza=function(a){this.internalArray_=m(a)};Y(Uza,n);g=Uza.prototype;g.getFieldName=function(){return xi(this,1)};g.setFieldName=function(a){gj(this,1,a)};g.getValue=function(){return xi(this,2)};g.setValue=function(a){return gj(this,2,a)};g.hasValue=function(){return yi(this,2)};g.setActionType=function(a){hj(this,3,a)};g.getCustomFieldValue=function(){return vi(this,Qm,5)};g.setCustomFieldValue=function(a){return ej(this,Qm,5,a)};g.clearCustomFieldValue=function(){return lm(this,5)};
g.hasCustomFieldValue=function(){return Pi(this,Qm,5)};var Nm=function(a){this.internalArray_=m(a,0,Nm.messageId)};Y(Nm,n);g=Nm.prototype;g.getIssueId=function(){return Oi(this,1)};g.setIssueId=function(a){return mj(this,1,a)};g.getIssueAccessLimit=function(){return vi(this,Ul,2)};g.setIssueAccessLimit=function(a){ej(this,Ul,2,a)};g.setAddedCollaboratorsList=function(a){Zl(this,3,a)};g.setRemovedCollaboratorsList=function(a){Zl(this,4,a)};g.getIt=function(){return vi(this,Om,5)};g.setIt=function(a){return ej(this,Om,5,a)};
g.hasIt=function(){return Pi(this,Om,5)};Nm.repeatedFields_=[3,4];Nm.messageId="b.GetRetainedAccessPrincipalsRequest";var Um=function(a){this.internalArray_=m(a)};Y(Um,n);g=Um.prototype;g.getVoteCount=function(){return Ui(this,1)};g.setVoteCount=function(a){nj(this,1,a)};g.getModifiedTimeMicros=function(){return Ui(this,3)};g.getLastModifier=function(){return vi(this,ri,10)};g.setLastModifier=function(a){ej(this,ri,10,a)};g.getSloStatus=function(){return vi(this,Xm,6)};g.setSloStatus=function(a){ej(this,Xm,6,a)};g.hasSloStatus=function(){return Pi(this,Xm,6)};g.getSloId=function(){return Oi(this,7)};
g.setSloId=function(a){return mj(this,7,a)};g.getTeamId=function(){return Oi(this,9)};g.setTeamId=function(a){return mj(this,9,a)};g.getRetentionState=function(){return vi(this,Vm,8)};g.setRetentionState=function(a){ej(this,Vm,8,a)};var BF=function(a){this.internalArray_=m(a,0,BF.messageId)};Y(BF,n);BF.prototype.getIt=function(){return vi(this,bn,19)};BF.prototype.setIt=function(a){return ej(this,bn,19,a)};BF.prototype.hasIt=function(){return Pi(this,bn,19)};BF.messageId="b.IssueComment";var Tm=function(a){this.internalArray_=m(a,0,Tm.messageId)};Y(Tm,n);g=Tm.prototype;g.getStarred=function(){return Hi(this,1)};g.setStarred=function(a){cj(this,1,a)};g.getVoted=function(){return Hi(this,2)};g.setVoted=function(a){return cj(this,2,a)};g.getNotificationSubscription=function(){return Li(this,4,0)};g.setNotificationSubscription=function(a){return hj(this,4,a)};Tm.messageId="b.IssueUserData";var CF=function(a){this.internalArray_=m(a)};Y(CF,n);g=CF.prototype;g.getStatus=function(){return Li(this,1,0)};g.setStatus=function(a){return hj(this,1,a)};g.hasStatus=function(){return Ji(this,1)};g.getReason=function(){return Li(this,2,0)};g.setReason=function(a){return hj(this,2,a)};var DF=function(a){this.internalArray_=m(a,0,DF.messageId)};Y(DF,n);g=DF.prototype;g.getIssueId=function(){return Oi(this,1)};g.setIssueId=function(a){return mj(this,1,a)};g.getUpdateText=function(){return xi(this,2)};g.setUpdateText=function(a){gj(this,2,a)};g.getFormattingMode=function(){return Li(this,4,0)};g.setFormattingMode=function(a){return hj(this,4,a)};g.getAuthor=function(){return vi(this,ri,5)};g.setAuthor=function(a){ej(this,ri,5,a)};g.hasAuthor=function(){return Pi(this,ri,5)};
g.getUpdateTime=function(){return vi(this,Xi,6)};g.setUpdateTime=function(a){ej(this,Xi,6,a)};g.hasUpdateTime=function(){return Pi(this,Xi,6)};g.getVersion=function(){return Xh(this,7)};g.setVersion=function(a){return dj(this,7,a)};g.getVersionOrUndefined=function(){return Yt(this,7)};g.getEntityStatus=function(){return vi(this,CF,8)};g.setEntityStatus=function(a){return ej(this,CF,8,a)};g.getIt=function(){return vi(this,iD,9)};g.setIt=function(a){return ej(this,iD,9,a)};
g.hasIt=function(){return Pi(this,iD,9)};DF.messageId="b.StatusUpdate";var Sm=function(a){this.internalArray_=m(a)};Y(Sm,n);g=Sm.prototype;g.getIssueId=function(){return Oi(this,1)};g.setIssueId=function(a){return mj(this,1,a)};g.getIssueState=function(){return vi(this,Yl,22)};g.setIssueState=function(a){return ej(this,Yl,22,a)};g.hasIssueState=function(){return Pi(this,Yl,22)};g.getUserData=function(){return vi(this,Tm,3)};g.setUserData=function(a){ej(this,Tm,3,a)};g.getParentIssueIdsList=function(){return ui(this,8)};
g.setParentIssueIdsList=function(a){Nb(this,8,a,rb)};g.getCustomFieldsList=function(){return zi(this,om,15)};g.setCustomFieldsList=function(a){Zl(this,15,a)};g.getDescription=function(){return vi(this,BF,16)};g.setDescription=function(a){return ej(this,BF,16,a)};g.hasDescription=function(){return Pi(this,BF,16)};g.getVisibleFieldsList=function(){return zi(this,nm,6)};g.setVisibleFieldsList=function(a){Zl(this,6,a)};g.getAncestorsMap=function(){return Mb(this,9,Zm,Oba)};
g.getChildIssueCount=function(){return Xh(this,10)};g.setChildIssueCount=function(a){dj(this,10,a)};g.getDescendantIssueCount=function(){return Xh(this,18)};g.getOpenDescendantIssueCount=function(){return Xh(this,19)};g.getIsArchived=function(){return Hi(this,11)};g.setIsArchived=function(a){return cj(this,11,a)};g.getRelatedLinksList=function(){return zi(this,NZb,12)};g.getTrackerId=function(){return Oi(this,13)};g.setTrackerId=function(a){mj(this,13,a)};
g.getStatusUpdate=function(){return vi(this,DF,14)};g.hasStatusUpdate=function(){return Pi(this,DF,14)};g.getVersion=function(){return Xh(this,20)};g.setVersion=function(a){return dj(this,20,a)};g.getVersionOrUndefined=function(){return Yt(this,20)};g.getUserActivityStats=function(){return vi(this,aD,21)};g.hasUserActivityStats=function(){return Pi(this,aD,21)};Sm.repeatedFields_=[8,15,6,12];var Rm=function(a){this.internalArray_=m(a,0,Rm.messageId)};Y(Rm,n);g=Rm.prototype;g.getIssueId=function(){return Oi(this,1)};g.setIssueId=function(a){return mj(this,1,a)};g.getPosition=function(){return Xh(this,2)};g.setPosition=function(a){return dj(this,2,a)};g.getIssue=function(){return vi(this,Sm,3)};g.setIssue=function(a){return ej(this,Sm,3,a)};Rm.messageId="b.HotlistIssue";var $m=function(a){this.internalArray_=m(a)};Y($m,n);$m.prototype.getIt=function(){return vi(this,cn,6)};$m.prototype.setIt=function(a){return ej(this,cn,6,a)};$m.prototype.hasIt=function(){return Pi(this,cn,6)};var Xza=function(a){this.internalArray_=m(a)};Y(Xza,n);g=Xza.prototype;g.getIssueId=function(){return Oi(this,1)};g.setIssueId=function(a){return mj(this,1,a)};g.setActionsList=function(a){Zl(this,2,a)};g.getAttachmentsList=function(){return Jb(this,3,Cb(this.internalArray_)&34?yca:zca)};g.setAttachmentsList=function(a){return Nb(this,3,a,Gca)};
g.addAllAttachments=function(a){var b=this.internalArray_,c=Qa(b);eb(Cb(this.internalArray_));b=Hb(b,c,3,2,!1);c=Qa(b);c=!!(4&c)&&!!(4096&c);if(Array.isArray(a))for(var d=0;d<a.length;d++)b.push(Gca(a[d],c));else for(a=l(a),d=a.next();!d.done;d=a.next())b.push(Gca(d.value,c))};g.getAttachments=function(){var a=Jb(this,3,Cb(this.internalArray_)&34?yca:zca,void 0,3,!0);fb(a);return a[void 0]};g.setSignificanceOverride=function(a){return gj(this,4,a)};Xza.repeatedFields_=[2,3,5];var q2b=function(a){this.internalArray_=m(a)};Y(q2b,n);g=q2b.prototype;g.getCount=function(){return Xh(this,2)};g.setCount=function(a){return dj(this,2,a)};g.setS=function(a){gj(this,3,a)};g.setP=function(a){return dj(this,4,a)};g.getNextPageToken=function(){return xi(this,5)};g.setTrackerIdsList=function(a){Nb(this,6,a,rb)};q2b.repeatedFields_=[6];var Rza=function(a){this.internalArray_=m(a)};Y(Rza,n);g=Rza.prototype;g.getIssueId=function(){return Oi(this,1)};g.setIssueId=function(a){return mj(this,1,a)};g.getComponentId=function(){return Oi(this,2)};g.setComponentId=function(a){return mj(this,2,a)};g.hasComponentId=function(){return null!=Ni(this,2)};var hn=function(a){this.internalArray_=m(a,0,hn.messageId)};Y(hn,n);hn.prototype.getQuery=function(){return xi(this,1)};hn.prototype.setQuery=function(a){return gj(this,1,a)};hn.prototype.clearQuery=function(){lm(this,1)};hn.prototype.hasQuery=function(){return yi(this,1)};hn.messageId="b.ListRecentEventsForIssuesRequest";var EF=function(a){this.internalArray_=m(a,0,EF.messageId)};Y(EF,n);EF.prototype.getStatus=function(){return Li(this,1,0)};EF.prototype.setStatus=function(a){return hj(this,1,a)};EF.prototype.hasStatus=function(){return Ji(this,1)};EF.messageId="b.LlmSummarizeResponse";var FF=function(a){this.internalArray_=m(a,0,FF.messageId)};Y(FF,n);FF.prototype.getIssueId=function(){return Oi(this,1)};FF.prototype.setIssueId=function(a){return mj(this,1,a)};FF.repeatedFields_=[2];FF.messageId="b.MarkAsVulnerabilityRequest";var Pza=function(a){this.internalArray_=m(a)};Y(Pza,n);g=Pza.prototype;g.getIssueId=function(){return Oi(this,1)};g.setIssueId=function(a){return mj(this,1,a)};g.getComponentId=function(){return Oi(this,2)};g.setComponentId=function(a){return mj(this,2,a)};g.hasComponentId=function(){return null!=Ni(this,2)};var cAa=function(a){this.internalArray_=m(a)};Y(cAa,n);g=cAa.prototype;g.getIssueId=function(){return Oi(this,1)};g.setIssueId=function(a){return mj(this,1,a)};g.getRelation=function(){return Li(this,3,0)};g.setRelation=function(a){hj(this,3,a)};g.setActionType=function(a){hj(this,4,a)};cAa.repeatedFields_=[2];var Pm=function(a){this.internalArray_=m(a,0,Pm.messageId)};Y(Pm,n);Pm.prototype.getIssueId=function(){return Oi(this,1)};Pm.prototype.setIssueId=function(a){return mj(this,1,a)};Pm.messageId="b.UnCcUserActionRequest";var GF=function(a){this.internalArray_=m(a,0,GF.messageId)};Y(GF,n);GF.prototype.getIssueId=function(){return Oi(this,1)};GF.prototype.setIssueId=function(a){return mj(this,1,a)};GF.messageId="b.UndeleteIssueRequest";var HF=function(a){this.internalArray_=m(a,0,HF.messageId)};Y(HF,n);g=HF.prototype;g.getIssueId=function(){return Oi(this,1)};g.setIssueId=function(a){return mj(this,1,a)};g.getIssueAccessLimit=function(){return vi(this,Ul,2)};g.setIssueAccessLimit=function(a){ej(this,Ul,2,a)};g.setAddedCollaboratorsList=function(a){Zl(this,3,a)};g.setRemovedCollaboratorsList=function(a){Zl(this,4,a)};HF.repeatedFields_=[3,4];HF.messageId="b.UpdateIssueAccessLimitRequest";var Zza=function(a){this.internalArray_=m(a)};Y(Zza,n);Zza.prototype.setSignificanceOverride=function(a){return hj(this,4,a)};Zza.repeatedFields_=[1,2];var fAa=function(a){this.internalArray_=m(a)};Y(fAa,n);g=fAa.prototype;g.getIssueId=function(){return Oi(this,1)};g.setIssueId=function(a){return mj(this,1,a)};g.getRetention=function(){return Li(this,2,0)};g.setRetention=function(a){hj(this,2,a)};g.setSignificanceOverride=function(a){return hj(this,3,a)};var Lza=Cm("enableLeanFeE"),lAa=Cm("enableLeanFeD");var qn=function(a){this.internalArray_=m(a)};Y(qn,n);qn.prototype.setActionsList=function(a){Zl(this,1,a)};qn.prototype.getIssueIdsList=function(){return ui(this,2)};qn.prototype.setIssueIdsList=function(a){return Nb(this,2,a,rb)};qn.prototype.addIssueIds=function(a){Pb(this,2,rb,a)};qn.repeatedFields_=[1,2];var r2b=function(a){this.internalArray_=m(a)};Y(r2b,n);r2b.prototype.setSignificanceOverride=function(a){return gj(this,3,a)};r2b.repeatedFields_=[4];var wAa=Cm("enableLeanFeD");var IF=function(a){this.internalArray_=m(a,0,IF.messageId)};Y(IF,n);IF.prototype.getIt=function(){return vi(this,Vl,14)};IF.prototype.setIt=function(a){return ej(this,Vl,14,a)};IF.prototype.hasIt=function(){return Pi(this,Vl,14)};IF.messageId="b.Attachment";var tm=function(a){this.internalArray_=m(a)};Y(tm,n);g=tm.prototype;g.getOldValue=function(){return xi(this,1)};g.getNewValue=function(){return xi(this,2)};g.getCustomFieldId=function(){return Ui(this,3)};g.setCustomFieldId=function(a){return nj(this,3,a)};g.hasCustomFieldId=function(){return Ti(this,3)};var JF=function(a){this.internalArray_=m(a)};Y(JF,n);JF.prototype.getHref=function(){return xi(this,1)};JF.prototype.getValue=function(){return xi(this,2)};JF.prototype.setValue=function(a){return gj(this,2,a)};JF.prototype.hasValue=function(){return yi(this,2)};var xm=function(a){this.internalArray_=m(a)};Y(xm,n);xm.prototype.getAddedList=function(){return zi(this,JF,1)};xm.prototype.getRemovedList=function(){return zi(this,JF,2)};xm.repeatedFields_=[1,2];var sm=function(a){this.internalArray_=m(a)};Y(sm,n);sm.prototype.getOldValue=function(){return xi(this,1)};sm.prototype.getNewValue=function(){return xi(this,2)};var kza=function(a){this.internalArray_=m(a)};Y(kza,n);var pm=function(a){this.internalArray_=m(a)};Y(pm,n);var rm=[1,2];var ym=function(a){this.internalArray_=m(a)};Y(ym,n);ym.prototype.getEntityStatus=function(){return vi(this,CF,1)};ym.prototype.setEntityStatus=function(a){return ej(this,CF,1,a)};var wm=function(a){this.internalArray_=m(a)};Y(wm,n);wm.prototype.getAddedList=function(){return Yh(this,1)};wm.prototype.getRemovedList=function(){return Yh(this,2)};wm.repeatedFields_=[1,2];var um=function(a){this.internalArray_=m(a)};Y(um,n);um.prototype.getAddedList=function(){return zi(this,ri,1)};um.prototype.getRemovedList=function(){return zi(this,ri,2)};um.repeatedFields_=[1,2];var ln=function(a){this.internalArray_=m(a,0,ln.messageId)};Y(ln,n);g=ln.prototype;g.getName=function(){return xi(this,1)};g.setName=function(a){return gj(this,1,a)};g.hasName=function(){return yi(this,1)};g.getNameOrUndefined=function(){return $t(this,1)};g.getDisplayName=function(){return xi(this,2)};g.setDisplayName=function(a){return gj(this,2,a)};g.getType=function(){return Li(this,3,0)};g.setType=function(a){return hj(this,3,a)};g.hasType=function(){return Ji(this,3)};
g.getTimestamp=function(){return vi(this,Xi,4)};g.setTimestamp=function(a){return ej(this,Xi,4,a)};g.hasTimestamp=function(){return Pi(this,Xi,4)};var qm=[6,7,8,9,10,11];ln.messageId="b.EventDiff";var mn=function(a){this.internalArray_=m(a)};Y(mn,n);mn.prototype.getTag=function(){return xi(this,1)};mn.prototype.getText=function(){return xi(this,2)};mn.prototype.setText=function(a){return gj(this,2,a)};var on=function(a){this.internalArray_=m(a,0,on.messageId)};Y(on,n);g=on.prototype;g.getIssueId=function(){return Oi(this,14)};g.setIssueId=function(a){return mj(this,14,a)};g.getComment=function(){return vi(this,BF,6)};g.setComment=function(a){return ej(this,BF,6,a)};g.getAttachmentsList=function(){return zi(this,IF,10)};g.setAttachmentsList=function(a){return Zl(this,10,a)};g.addAllAttachments=function(a){St(this,10,IF,a)};g.getVersion=function(){return Ui(this,7)};
g.setVersion=function(a){return nj(this,7,a)};g.getVersionOrUndefined=function(){return Zt(this,7)};g.getStatusUpdate=function(){return vi(this,DF,13)};g.hasStatusUpdate=function(){return Pi(this,DF,13)};on.repeatedFields_=[2,3,10,9];on.messageId="b.IssueEvent";var KF=function(a){this.internalArray_=m(a,0,KF.messageId)};Y(KF,n);var s2b=function(a){return function(b){return b instanceof a&&!Xa(b.internalArray_)}}(KF);KF.repeatedFields_=[1];KF.messageId="b.ListIssueEventsResponse";var t2b=RegExp("action/issues/([0-9]+)/"),u2b=new bd("ETAG_URL_TRANSFORMERS"),v2b=["POST","PUT","DELETE"],LF=function(a){this.etagStore=a};LF.prototype.intercept=function(a,b){var c;if(v2b.includes(a.method)){var d=this.etagStore.getEtag(a);d&&a.headers&&(a=a.clone({headers:a.headers.set("If-Match",d)}))}(d=t2b.exec(a.url))&&(c=d[1]);return w2b(this,a,b,c)};
var w2b=function(a,b,c,d){return c.handle(b).pipe(cf(function(e){if(e instanceof Iy){var f=e.headers;f.has("etag")&&a.etagStore.setEtag(b,f.get("etag"));e=e.body;if(s2b(e)&&d)for(e=l(zi(e,on,1)),f=e.next();!f.done;f=e.next()){f=l(f.value.getAttachmentsList().map(mm));for(var h=f.next();!h.done;h=f.next())if(h=h.value,h.etag){var k=new Gy("GET","action/issues/"+d+"/attachments/"+h.attachmentId);a.etagStore.setEtag(k,h.etag)}}}}))};LF.\u0275fac=function(a){return new (a||LF)(p(MF))};
LF.\u0275prov=Dc({token:LF,factory:LF.\u0275fac,providedIn:"root"});var MF=function(a){this.transformers=a;this.etagStore={}};MF.prototype.setEtag=function(a,b){null!=b&&(a=x2b(this,a.url),this.etagStore[a]=b)};MF.prototype.getEtag=function(a){a=x2b(this,a.url);return this.etagStore[a]};var x2b=function(a,b){var c;a=l(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};MF.\u0275fac=function(a){return new (a||MF)(p(u2b,8))};
MF.\u0275prov=Dc({token:MF,factory:MF.\u0275fac,providedIn:"root"});var y2b={provide:Ky,useClass:LF,multi:!0};var NF=function(a){this.internalArray_=m(a,0,NF.messageId)};Y(NF,n);NF.prototype.getIssuesList=function(){return zi(this,Sm,1)};NF.prototype.getNumTotalResults=function(){return Xh(this,2)};NF.prototype.getComponentsMap=function(){return Mb(this,3,fm,wb)};NF.prototype.getNextPageToken=function(){return xi(this,5)};NF.repeatedFields_=[1];NF.messageId="b.IssueSearchResponse";var OF=function(a){this.internalArray_=m(a,0,OF.messageId)};Y(OF,n);OF.prototype.getHotlistsList=function(){return zi(this,al,1)};OF.repeatedFields_=[1];OF.messageId="b.ListHotlistsResponse";var PF=function(a,b){this.hotlistApi=b;this.hotlistCache=a.get("hotlists-second-level-cache")||a.create("hotlists-second-level-cache",{capacity:1E3})};g=PF.prototype;g.get=function(a){var b=this.hotlistCache.get(String(a))||this.hotlistApi.get(a);return this.hotlistCache.put(String(a),b)};g.repositionHotlistIssue=function(a,b,c){return this.hotlistApi.repositionHotlistIssue(a,b,c)};g.createHotlist=function(a,b){return this.hotlistApi.createHotlist(a,b)};g.queryHotlists=function(a){return this.hotlistApi.queryHotlists(a)};
g.archiveHotlist=function(a,b){return this.hotlistApi.archiveHotlist(a,b)};g.updateMetadata=function(a,b){return this.hotlistApi.updateMetadata(a,b)};g.getPagedHotlistContent=function(a,b,c,d,e){return this.hotlistApi.getPagedHotlistContent(a,b,c,d,e)};PF.\u0275fac=function(a){return new (a||PF)(p(mF),p(QF))};PF.\u0275prov=Dc({token:PF,factory:PF.\u0275fac,providedIn:"root"});var RF=function(a,b){this.executor=a;this.etagStore=b;this.bufferTimeMs=50};
RF.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:al}).pipe(D(dl),D(function(b){var c=new Map;c.set(String(b.hotlistId),b);return c})):this.executor.get({url:"action/hotlists",responseConstructor:OF,options:{params:{id:a}}}).pipe(D(function(b){var c=new Map;b=l(b.getHotlistsList().map(dl));for(var d=b.next();!d.done;d=b.next())d=d.value,c.set(String(d.hotlistId),d);return c}))};
RF.prototype.split=function(a,b){if(b=b.get(a)){var c=b.etag;if(c){var d=this.etagStore;null!=c&&(a=x2b(d,"action/hotlists/"+a),d.etagStore[a]=c)}}return b};RF.\u0275fac=function(a){return new (a||RF)(p(SD),p(MF))};RF.\u0275prov=Dc({token:RF,factory:RF.\u0275fac,providedIn:"root"});var SF=function(a,b,c,d){this.paths=a;this.executor=b;this.batchApiConfig=c;this.batchApiAdapter=d;this.adaptedGet=this.batchApiAdapter.adapt(this.batchApiConfig)};g=SF.prototype;
g.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:al}).pipe(D(dl))}))};g.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(c){return c.filter(jl)}))};
g.repositionHotlistIssue=function(a,b,c){var d=new Rm;d.setIssueId(b);d.setPosition(c);return this.executor.put({url:"action/hotlists/"+a+"/issues",body:d,responseConstructor:null})};g.createHotlist=function(a,b){a=(new bl).setName(a);b&&a.setDescription(b);return this.executor.post({url:"action/hotlists",body:(new al).setIt(a),responseConstructor:al}).pipe(D(dl))};
g.queryHotlists=function(a){return this.executor.get({url:"action/hotlists",responseConstructor:OF,options:{params:{q:a}}}).pipe(D(function(b){var c;return(null!=(c=b.getHotlistsList())?c:[]).map(dl)}))};g.archiveHotlist=function(a,b){return this.executor.post({url:"action/hotlists/"+a+"/archive",body:Lwa(b),responseConstructor:al}).pipe(D(dl))};
g.updateMetadata=function(a,b){var c={};b.etag&&(c["If-Match"]=String(b.etag));return this.executor.post({url:"action/hotlists/"+a,body:Lwa(b),options:{headers:c},responseConstructor:al}).pipe(D(dl))};g.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:NF}).pipe(D(FAa))};
SF.\u0275fac=function(a){return new (a||SF)(p(cF),p(SD),p(RF),p(dF))};SF.\u0275prov=Dc({token:SF,factory:SF.\u0275fac,providedIn:"root"});var QF=function(a){this.observableApi=a};g=QF.prototype;g.get=function(a){return(0,E.firstValueFrom)(this.observableApi.get(a))};g.bulkLoad=function(a){return(0,E.firstValueFrom)(this.observableApi.bulkLoad(a))};g.repositionHotlistIssue=function(a,b,c){return(0,E.firstValueFrom)(this.observableApi.repositionHotlistIssue(a,b,c))};
g.createHotlist=function(a,b){return(0,E.firstValueFrom)(this.observableApi.createHotlist(a,b))};g.queryHotlists=function(a){return(0,E.firstValueFrom)(this.observableApi.queryHotlists(a))};g.archiveHotlist=function(a,b){return(0,E.firstValueFrom)(this.observableApi.archiveHotlist(a,b))};g.updateMetadata=function(a,b){return(0,E.firstValueFrom)(this.observableApi.updateMetadata(a,b))};
g.getPagedHotlistContent=function(a,b,c,d,e){return(0,E.firstValueFrom)(this.observableApi.getPagedHotlistContent(a,b,c,d,e))};QF.\u0275fac=function(a){return new (a||QF)(p(SF))};QF.\u0275prov=Dc({token:QF,factory:QF.\u0275fac,providedIn:"root"});var un=function(a){this.internalArray_=m(a,0,un.messageId)};Y(un,n);un.prototype.getResource=function(){return xi(this,1)};un.prototype.setResource=function(a){return gj(this,1,a)};un.prototype.getRelation=function(){return Li(this,2,0)};un.prototype.setRelation=function(a){hj(this,2,a)};un.messageId="b.ResourceRelation";var TF=function(a){this.internalArray_=m(a,0,TF.messageId)};Y(TF,n);TF.repeatedFields_=[1];TF.messageId="b.UserAccessBatchResponse";var UF=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+)$")};UF.prototype.validate=function(a){return this.resourceNamePattern.test(a)};UF.\u0275fac=function(a){return new (a||UF)};UF.\u0275prov=Dc({token:UF,factory:UF.\u0275fac,providedIn:"root"});
var VF=function(a,b,c){var d=this;this.rawUserAccess=a;this.resourceNameValidator=b;this.accesses={};this.accessGetter=c.adapt(function(e){return z2b(d,e)})},z2b=function(a,b){return A2b(a,b).then(function(c){return HAa(b,c)})},XF=function(a,b,c){return a.resourceNameValidator.validate(c)?WF(a,b,c):Promise.reject("invalid resource name: "+c)},B2b=function(a,b){return a.resourceNameValidator.validate(b)?Promise.all([WF(a,"admin",b),WF(a,"writer",b),WF(a,"appender",b),WF(a,"reader",b)]).then(function(c){var d=
l(c);c=d.next().value;var e=d.next().value,f=d.next().value;d=d.next().value;return{admin:c,writer:e,appender:f,reader:d}}):Promise.reject("invalid resource name: "+b)},A2b=function(a,b){var c=[],d=[];b=l(b);for(var e=b.next();!e.done;e=b.next())e=e.value,c.push(e.relation),d.push(e.resourceName);return(0,E.firstValueFrom)(a.rawUserAccess.executor.get({url:"action/user_access",options:{params:{relations:c.join(","),resourceNames:d.join(",")}},responseConstructor:TF}).pipe(D(GAa)))},WF=function(a,
b,c){var d=b+"/"+c,e=a.accesses[d];if(e)return e;b=a.accessGetter.get({relation:b,resourceName:c}).then(function(f){return null==f?!1:f});a.accesses[d]=b;b.then(function(){delete a.accesses[d]});return b};VF.\u0275fac=function(a){return new (a||VF)(p(YF),p(UF),p(RD))};VF.\u0275prov=Dc({token:VF,factory:VF.\u0275fac,providedIn:"root"});var YF=function(a){this.executor=a};YF.\u0275fac=function(a){return new (a||YF)(p(SD))};YF.\u0275prov=Dc({token:YF,factory:YF.\u0275fac,providedIn:"root"});var ZF=new bd("buganizerWindow",{factory:function(){return window}});var $F=function(a,b){Z.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)};Y($F,Z);$F.\u0275dir=Z.\u0275dir;$F.prototype.setTrackerId=function(a){this.trackerId$.next(a);this.$window.sessionStorage.setItem("buganizer.current_tracker_id",a)};$F.prototype.getTrackerId=function(){return this.trackerId$.value};
$F.\u0275fac=function(a){return new (a||$F)(p(ZF),p(nt))};$F.\u0275prov=Dc({token:$F,factory:$F.\u0275fac,providedIn:"root"});var C2b=function(a){this.internalArray_=m(a)};Y(C2b,n);g=C2b.prototype;g.getComponentId=function(){return Ui(this,5)};g.setComponentId=function(a){return Gl(this,5,a)};g.getTitle=function(){return xi(this,6)};g.setTitle=function(a){return Ol(this,6,a)};g.getComment=function(){return xi(this,7)};g.setComment=function(a){return Ol(this,7,a)};g.getAttachmentsList=function(){return zi(this,Vl,8)};g.setAttachmentsList=function(a){return Zl(this,8,a)};g.addAllAttachments=function(a){St(this,8,Vl,a)};
g.setSignificanceOverride=function(a){return Cl(this,2,a)};g.getTemplateId=function(){return Ui(this,4)};g.setTemplateId=function(a){return Gl(this,4,a)};C2b.repeatedFields_=[8];var aG=function(a){this.internalArray_=m(a,0,aG.messageId)};Y(aG,n);aG.prototype.setIdsList=function(a){Nb(this,2,a,rb)};aG.prototype.getIds=function(){var a=ui(this,2,void 0,3,!0);fb(a);return a[void 0]};aG.prototype.setIds=function(a){return Qb(this,2,rb,a,void 0,ui)};aG.repeatedFields_=[2];aG.messageId="b.BatchGetIssuesRequest";var bG=function(a){this.internalArray_=m(a,0,bG.messageId)};Y(bG,n);bG.prototype.getIssuesList=function(){return zi(this,Sm,1)};bG.repeatedFields_=[1];bG.messageId="b.BatchGetIssuesResponse";var rn=function(a){this.internalArray_=m(a)};Y(rn,n);rn.prototype.getIssueId=function(){return Oi(this,1)};rn.prototype.setIssueId=function(a){return mj(this,1,a)};rn.prototype.getMessage=function(){return xi(this,2)};rn.prototype.setMessage=function(a){gj(this,2,a)};var cG=function(a){this.internalArray_=m(a,0,cG.messageId)};Y(cG,n);cG.prototype.setErrors=function(a,b){Qt(this,2,rn,a,b)};cG.repeatedFields_=[2];cG.messageId="b.BulkEditResponse";var dG=function(a){this.internalArray_=m(a)};Y(dG,n);g=dG.prototype;g.getReadersList=function(){return zi(this,Sl,1)};g.setReadersList=function(a){return Zl(this,1,a)};g.getAppendersList=function(){return zi(this,Sl,2)};g.setAppendersList=function(a){return Zl(this,2,a)};g.getWritersList=function(){return zi(this,Sl,3)};dG.repeatedFields_=[1,2,3];var eG=function(a){this.internalArray_=m(a,0,eG.messageId)};Y(eG,n);g=eG.prototype;g.getReadersList=function(){return zi(this,Dm,1)};g.setReadersList=function(a){return Zl(this,1,a)};g.getAppendersList=function(){return zi(this,Dm,2)};g.setAppendersList=function(a){return Zl(this,2,a)};g.getWritersList=function(){return zi(this,Dm,3)};g.getIt=function(){return vi(this,dG,4)};g.setIt=function(a){return ej(this,dG,4,a)};g.hasIt=function(){return Pi(this,dG,4)};eG.repeatedFields_=[1,2,3];
eG.messageId="b.GetRetainedAccessPrincipalsResponse";var fG=function(a){this.internalArray_=m(a,0,fG.messageId)};Y(fG,n);fG.prototype.getIssueId=function(){return Oi(this,1)};fG.prototype.setIssueId=function(a){return mj(this,1,a)};fG.messageId="b.IssueCreateResponse";var Pn=function(a){this.internalArray_=m(a,0,Pn.messageId)};Y(Pn,n);Pn.prototype.getIssue=function(){return vi(this,Sm,1)};Pn.prototype.setIssue=function(a){return ej(this,Sm,1,a)};Pn.messageId="b.IssueFetchResponse";var gG=function(a){this.internalArray_=m(a,0,gG.messageId)};Y(gG,n);gG.prototype.getIssueId=function(){return Oi(this,1)};gG.prototype.setIssueId=function(a){return mj(this,1,a)};gG.messageId="b.LlmSummarizeRequest";var hG=function(a){this.internalArray_=m(a)};Y(hG,n);g=hG.prototype;g.getIssueId=function(){return Oi(this,1)};g.setIssueId=function(a){return mj(this,1,a)};g.getStatus=function(){return Li(this,2,0)};g.setStatus=function(a){return hj(this,2,a)};g.hasStatus=function(){return Ji(this,2)};g.getTitle=function(){return xi(this,3)};g.setTitle=function(a){return gj(this,3,a)};g.getVersion=function(){return Xh(this,4)};g.setVersion=function(a){return dj(this,4,a)};
g.getVersionOrUndefined=function(){return Yt(this,4)};g.getIsArchived=function(){return Hi(this,5)};g.setIsArchived=function(a){return cj(this,5,a)};var iG=function(a){this.internalArray_=m(a,0,iG.messageId)};Y(iG,n);iG.prototype.getIssueDigestsList=function(){return zi(this,hG,1)};iG.prototype.getNumTotalResults=function(){return Ui(this,2)};iG.repeatedFields_=[1];iG.messageId="b.RelatedIssuesResponse";var jG=function(a,b,c){this.executor=a;this.currentTrackerId=b;this.userAccess=c};g=jG.prototype;
g.createIssue=function(a){var b=this;return(0,E.defer)(function(){return XF(b.userAccess,"writer","components/"+a.snapshot.componentId+"/issueDefaults")}).pipe(af(function(c){if(c){var d=iAa(a);var e={};a.recaptchaToken&&(e["G-Recaptcha-Response-Token"]=a.recaptchaToken);d=b.executor.post({url:"action/issues",body:d,options:{headers:e},responseConstructor:fG}).pipe(D(jAa))}else{c=(new C2b).setComponentId(a.snapshot.componentId).setTitle(a.snapshot.title).setComment(a.snapshot.comment);var f=Ql(a.snapshot.formattingMode);
c=Cl(c,9,f).setAttachmentsList(null!=(e=null==(d=a.attachments)?void 0:d.map(kya))?e:[]).setTemplateId(a.templateId);d={};a.recaptchaToken&&(d["G-Recaptcha-Response-Token"]=a.recaptchaToken);d=b.executor.post({url:"action/issues/template",body:c,options:{headers:d},responseConstructor:fG}).pipe(D(jAa))}return d}))};
g.createIssueWithWizard=function(a){var b=iAa(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:fG}).pipe(D(jAa))};g.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:Pn}).pipe(D(function(d){return pn(d)}))};
g.batchGetIssues=function(a){var b=new aG;b.setIdsList(a);return this.executor.post({url:"action/issues/batch",body:b,responseConstructor:bG}).pipe(D(function(c){return c.getIssuesList().map(function(d){return kn(d)})}))};g.updateIssue=function(a,b){b=Yza(b);return this.executor.post({url:"action/issues/"+a,body:b,responseConstructor:Pn}).pipe(D(function(c){return pn(c)}))};g.moveIssueExternal=function(a,b){b=Sza(b);return this.executor.post({url:"action/issues/"+a+"/external_move",body:b,responseConstructor:Pn}).pipe(D(function(c){return pn(c)}))};
g.moveIssue=function(a,b){b=Qza(b);return this.executor.post({url:"action/issues/"+a+"/move",body:b,responseConstructor:Pn}).pipe(D(function(c){return pn(c)}))};g.unCcUser=function(a){var b=Oza(a);return this.executor.post({url:"action/issues/"+a+"/unccuser",body:b,responseConstructor:Pn}).pipe(D(function(c){return pn(c)}))};
g.updateAccessLimit=function(a,b,c,d){var e=(new HF).setIssueId(a);if(b){if(b=Mza[b])b=(new Ul).setAccessLevel(b),e.setIssueAccessLimit(b);c&&e.setAddedCollaboratorsList(c.map(si));d&&e.setRemovedCollaboratorsList(d.map(si))}return this.executor.post({url:"action/issues/"+a+"/accessLimit",body:e,responseConstructor:null})};
g.getRetainedAccessPrincipals=function(a,b,c,d){b=Nza(a,b,c,d);return this.executor.post({url:"action/issues/"+a+"/retainedAccessPrincipals",body:b,responseConstructor:eG}).pipe(D(function(e){var f,h,k;var q={readers:Fm(null!=(f=e.getReadersList())?f:[]),appenders:Fm(null!=(h=e.getAppendersList())?h:[]),writers:Fm(null!=(k=e.getWritersList())?k:[])};Lza&&e.hasIt()&&(e=e.getIt(),e={readers:e.getReadersList().map(Rl),appenders:e.getAppendersList().map(Rl),writers:e.getWritersList().map(Rl)},Bm(q,e),
q=e);return q}))};g.markAsVulnerability=function(a,b){var c=(new FF).setIssueId(a);b&&(b=b.map(si),Zl(c,2,b));return this.executor.post({url:"action/issues/"+a+"/markAsVulnerability",body:c,responseConstructor:null})};g.relateIssue=function(a,b){b=eAa(b);return this.executor.post({url:"action/issues/"+a+"/relate",body:b,responseConstructor:Pn}).pipe(D(function(c){return pn(c)}))};g.updateIssueHotlists=function(a,b){b=aAa(b);return this.executor.post({url:"action/issues/"+a+"/hotlists",body:b,responseConstructor:Pn}).pipe(D(function(c){return pn(c)}))};
g.updateIssueRetention=function(a,b){b=hAa(b);return this.executor.post({url:"action/issues/"+a+"/update_retention",body:b,responseConstructor:Pn}).pipe(D(function(c){return pn(c)}))};g.listIssues=function(a,b){b=void 0===b?{}:b;var c=new q2b;gj(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:NF}).pipe(D(FAa))};
g.issueBulkEdit=function(a,b){var c={};b&&(c["G-Recaptcha-Response-Token"]=b);b=new r2b;var d=a.bulkEditOps.map(tAa);Zl(b,4,d);a.significanceOverride&&b.setSignificanceOverride(a.significanceOverride);return this.executor.post({url:"action/issues/bulk_edit",body:b,responseConstructor:cG,options:{headers:c}}).pipe(D(vAa))};
g.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:iG}).pipe(D(bAa))};
var D2b=function(a,b){return a.executor.get({url:"action/issues/"+b+"/events",options:{params:{currentTrackerId:a.currentTrackerId.getTrackerId()}},responseConstructor:KF}).pipe(D(function(c){return zi(c,on,1).map(function(d){return rAa(d)})}))},E2b=function(a,b){b=mAa(b);return a.executor.post({url:"action/issues/list/events",body:b,responseConstructor:KF}).pipe(D(function(c){return zi(c,on,1).map(function(d){return rAa(d)})}))};jG.\u0275fac=function(a){return new (a||jG)(p(SD),p($F),p(VF))};
jG.\u0275prov=Dc({token:jG,factory:jG.\u0275fac,providedIn:"root"});var kG=function(a){this.observableApi=a};g=kG.prototype;g.createIssue=function(a){return(0,E.firstValueFrom)(this.observableApi.createIssue(a))};g.createIssueWithWizard=function(a){return(0,E.firstValueFrom)(this.observableApi.createIssueWithWizard(a))};g.getIssue=function(a){return(0,E.firstValueFrom)(this.observableApi.getIssue(a))};g.batchGetIssues=function(a){return(0,E.firstValueFrom)(this.observableApi.batchGetIssues(a))};
g.updateIssue=function(a,b){return(0,E.firstValueFrom)(this.observableApi.updateIssue(a,b))};g.moveIssueExternal=function(a,b){return(0,E.firstValueFrom)(this.observableApi.moveIssueExternal(a,b))};g.moveIssue=function(a,b){return(0,E.firstValueFrom)(this.observableApi.moveIssue(a,b))};g.unCcUser=function(a){return(0,E.firstValueFrom)(this.observableApi.unCcUser(a))};g.updateAccessLimit=function(a,b,c,d){return(0,E.firstValueFrom)(this.observableApi.updateAccessLimit(a,b,c,d))};
g.getRetainedAccessPrincipals=function(a,b,c,d){return(0,E.firstValueFrom)(this.observableApi.getRetainedAccessPrincipals(a,b,c,d))};g.markAsVulnerability=function(a,b){return(0,E.firstValueFrom)(this.observableApi.markAsVulnerability(a,b))};g.relateIssue=function(a,b){return(0,E.firstValueFrom)(this.observableApi.relateIssue(a,b))};g.updateIssueHotlists=function(a,b){return(0,E.firstValueFrom)(this.observableApi.updateIssueHotlists(a,b))};
g.updateIssueRetention=function(a,b){return(0,E.firstValueFrom)(this.observableApi.updateIssueRetention(a,b))};g.listIssues=function(a,b){b=void 0===b?{}:b;return(0,E.firstValueFrom)(this.observableApi.listIssues(a,b))};g.issueBulkEdit=function(a,b){return(0,E.firstValueFrom)(this.observableApi.issueBulkEdit(a,b))};g.getRelatedIssues=function(a){return(0,E.firstValueFrom)(this.observableApi.getRelatedIssues(a))};kG.\u0275fac=function(a){return new (a||kG)(p(jG))};
kG.\u0275prov=Dc({token:kG,factory:kG.\u0275fac,providedIn:"root"});var lG=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.BehaviorSubject(void 0)};lG.\u0275fac=function(a){return new (a||lG)};lG.\u0275prov=Dc({token:lG,factory:lG.\u0275fac,providedIn:"root"});var F2b=function(a){this.internalArray_=m(a)};Y(F2b,n);g=F2b.prototype;g.getSignalsList=function(){return aj(this,6)};g.setSignalsList=function(a){oj(this,6,a)};g.getCount=function(){return Xh(this,1)};g.setCount=function(a){return dj(this,1,a)};g.setS=function(a){gj(this,2,a)};g.setP=function(a){return dj(this,3,a)};g.getNextPageToken=function(){return xi(this,4)};g.setTrackerIdsList=function(a){Nb(this,5,a,rb)};F2b.repeatedFields_=[6,5];var mG=function(a){this.internalArray_=m(a)};Y(mG,n);mG.prototype.getTimestamp=function(){return vi(this,Xi,2)};mG.prototype.setTimestamp=function(a){return ej(this,Xi,2,a)};mG.prototype.hasTimestamp=function(){return Pi(this,Xi,2)};var vn=function(a){this.internalArray_=m(a)};Y(vn,n);vn.prototype.getIssue=function(){return vi(this,Sm,1)};vn.prototype.setIssue=function(a){return ej(this,Sm,1,a)};vn.prototype.getSignalsList=function(){return zi(this,mG,2)};vn.prototype.setSignalsList=function(a){Zl(this,2,a)};vn.repeatedFields_=[2];var nG=function(a){this.internalArray_=m(a,0,nG.messageId)};Y(nG,n);nG.prototype.getNumTotalResults=function(){return Xh(this,2)};nG.prototype.getComponentsMap=function(){return Mb(this,3,fm,wb)};nG.prototype.getNextPageToken=function(){return xi(this,4)};nG.repeatedFields_=[1];nG.messageId="b.NeedsAttentionSearchResponse";var oG=function(a){this.internalArray_=m(a)};Y(oG,n);oG.prototype.getIssueIdsList=function(){return Gj(this,1)};oG.prototype.setIssueIdsList=function(a){return Rt(this,1,a)};oG.prototype.addIssueIds=function(a){Pb(this,1,rb,a)};oG.repeatedFields_=[1];var G2b=function(a){this.internalArray_=m(a,0,G2b.messageId)};Y(G2b,n);G2b.messageId="b.UpdateIssueDismissTimestampResponse";var pG=function(a,b){this.executor=a;this.appEvents=b;this.COUNT=100};pG.prototype.listIssues=function(a,b,c){var d=this,e=(new F2b).setCount(this.COUNT).setP(1);a&&e.setS(a.toApiUrlParam());b&&e.setTrackerIdsList(b);c&&e.setSignalsList(c.map(MAa));return this.executor.post({url:"action/issues/attention",body:e,responseConstructor:nG}).then(JAa).then(function(f){d.appEvents.needsAttentionIssueCount.next(f.numTotalResults||0);return f})};
var qG=function(a,b,c){b=(new oG).setIssueIdsList(b.map(Xk));c=cj(b,2,c);return a.executor.post({url:"action/issues/dismiss_timestamp",body:c,responseConstructor:G2b}).then(LAa)};pG.\u0275fac=function(a){return new (a||pG)(p(TD),p(lG))};pG.\u0275prov=Dc({token:pG,factory:pG.\u0275fac,providedIn:"root"});var rG=function(a,b,c,d){this.issueApi=a;this.hotlistApi=b;this.needsAttentionApi=c;this.paths=d};rG.prototype.create=function(a){return new H2b(this.issueApi,this.hotlistApi,this.needsAttentionApi,this.paths,a)};rG.\u0275fac=function(a){return new (a||rG)(p(kG),p(PF),p(pG),p(cF))};rG.\u0275prov=Dc({token:rG,factory:rG.\u0275fac,providedIn:"root"});
var H2b=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};
H2b.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?U1b(a.params,e):T1b(a.params,e));return a.searchResultsPage},function(e){return Promise.reject(e)})};
var I2b=function(a){return a.searchResultsPage?a.searchResultsPage.hasNextPage():!0};var sG=function(a,b){this.$window=a;this.searchResultsPageFetcherFactory=b;this.previousResultsFetcher=this.nextResultsFetcher=this.currentResultsFetcher=null;this.focusedIssueIndex=-1},tG=function(a,b){var c=Oj();J2b(b.page)?(K2b(a,b),a.currentResultsFetcher.fetchIssues().then(function(d){null!=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},M2b=function(a){var b=Oj(),c=null;a.currentResultsFetcher?
c=a.currentResultsFetcher.params:c=L2b(a);c?(K2b(a,c),a.currentResultsFetcher.fetchIssues().then(function(d){null!=d.getIssueIdFromIndex?b.resolve(d):b.reject(d)},function(d){b.reject(d)})):b.reject("No related search results available.");return b.promise},uG=function(a){a.currentResultsFetcher=null;a.nextResultsFetcher=null;a.previousResultsFetcher=null;a.focusedIssueIndex=-1},N2b=function(a,b){var c=Oj();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=ai(a.currentResultsFetcher.params);e.page=d;K2b(a,e);a.currentResultsFetcher.fetchIssues().then(function(f){null!=f.getIssueIdFromIndex&&((f=f.getIssueIdFromIndex(b))?(a.focusedIssueIndex=b,c.resolve(f)):c.reject("No issue available at index "+b))},function(f){c.reject(f)});return c.promise};
sG.prototype.getFocusedIssue=function(){return this.focusedIssueIndex};
var O2b=function(a){a.currentResultsFetcher?a.currentResultsFetcher.fetchIssues().then(function(b){null!=b.getIssueIdFromIndex&&(a.focusedIssueIndex=b.endIndex>=b.startIndex?b.startIndex:-1)}).catch(function(b){Bk("unexpected error fetching:",b)}):a.focusedIssueIndex=-1},L2b=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 Fi(new Bi(b.fieldId),
b.direction)}));return a}return null},P2b=function(a,b,c){b=ai(b);b.page=c;return a.searchResultsPageFetcherFactory.create(b)},Q2b=function(a,b){a.currentResultsFetcher||(a.currentResultsFetcher=P2b(a,b,b.page),a.currentResultsFetcher.fetchIssues().catch(function(c){Bk("unexpected error fetching:",c)}));!a.previousResultsFetcher&&1<b.page&&(a.previousResultsFetcher=P2b(a,b,b.page-1),a.previousResultsFetcher.fetchIssues().catch(function(c){Bk("unexpected error fetching:",c)}));!a.nextResultsFetcher&&
I2b(a.currentResultsFetcher)&&(a.nextResultsFetcher=P2b(a,b,b.page+1),a.nextResultsFetcher.fetchIssues().catch(function(c){Bk("unexpected error fetching:",c)}))},K2b=function(a,b){b.page=fi(b.page);if(!b.resultsPerPage||isNaN(b.resultsPerPage))throw Error("Cc");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&&$h(b.sortColumns,c.sortColumns)&&b.resultsPerPage===c.resultsPerPage&&$h(b.trackerIds,c.trackerIds)?a.currentResultsFetcher.params.returnUrl=b.returnUrl:uG(a)}Q2b(a,b);b=JSON.stringify(a.currentResultsFetcher.params);a.$window.sessionStorage.setItem("buganizer.searchParams",b)},
J2b=function(a){var b=fi(""+a);return isNaN(b)||b!=Number(a)||1>b||2147483647<b?!1:!0};sG.\u0275fac=function(a){return new (a||sG)(p(ZF),p(rG))};sG.\u0275prov=Dc({token:sG,factory:sG.\u0275fac,providedIn:"root"});var R2b=new bd("MatSnackBarData"),S2b=function(){this.politeness="assertive";this.announcementMessage="";this.duration=0;this.data=null;this.horizontalPosition="center";this.verticalPosition="bottom"};var T2b=new bd("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new S2b}});Hh(Jh(Ih(function(a){this._elementRef=a})));[].concat(u(["disabled","disableRipple","color","tabIndex"]),["extended"]);var U2b=function(){this.politeness="assertive";this.announcementMessage="";this.duration=0;this.data=null;this.horizontalPosition="center";this.verticalPosition="bottom"};var V2b=Math.pow(2,31)-1,vG=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()})};vG.prototype.dismiss=function(){this._afterDismissed.closed||this.containerInstance.exit();clearTimeout(this._durationTimeoutId)};
var RAa=function(a){a._onAction.closed||(a._dismissedByAction=!0,a._onAction.next(),a._onAction.complete(),a.dismiss());clearTimeout(a._durationTimeoutId)};g=vG.prototype;g._dismissAfter=function(a){var b=this;this._durationTimeoutId=setTimeout(function(){return b.dismiss()},Math.min(a,V2b))};g._open=function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())};
g._finishDismiss=function(){this._overlayRef.dispose();this._onAction.closed||this._onAction.complete();this._afterDismissed.next({dismissedByAction:this._dismissedByAction});this._afterDismissed.complete();this._dismissedByAction=!1};g.afterOpened=function(){return this.containerInstance._onEnter};g.onAction=function(){return this._onAction};var W2b=ih("state",[lh("void, hidden",kh({transform:"scale(0.8)",opacity:0})),lh("visible",kh({transform:"scale(1)",opacity:1})),nh("* => visible",jh("150ms cubic-bezier(0, 0, 0.2, 1)")),nh("* => void, * => hidden",jh("75ms cubic-bezier(0.4, 0.0, 1, 1)",kh({opacity:0})))]);var X2b=0,wG=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=Nc(Xg);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-"+X2b++;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"))};Y(wG,jy);wG.prototype.attachComponentPortal=function(a){a=this._portalOutlet.attachComponentPortal(a);this._afterPortalAttached();return a};wG.prototype.attachTemplatePortal=function(a){a=this._portalOutlet.attachTemplatePortal(a);this._afterPortalAttached();return a};
var Y2b=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()})}};g=wG.prototype;g.enter=function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())};
g.exit=function(){var a=this;this._ngZone.run(function(){a._animationState="hidden";a._elementRef.nativeElement.setAttribute("mat-exit","");clearTimeout(a._announceTimeoutId)});return this._onExit};g.ngOnDestroy=function(){this._destroyed=!0;this._clearFromModals();this._completeExit()};g._completeExit=function(){var a=this;this._ngZone.onMicrotaskEmpty.pipe(Qe()).subscribe(function(){a._ngZone.run(function(){a._onExit.next();a._onExit.complete()})})};
g._afterPortalAttached=function(){var a=this._elementRef.nativeElement,b=this.snackBarConfig.panelClass;b&&(Array.isArray(b)?b.forEach(function(c){return a.classList.add(c)}):a.classList.add(b));this._exposeToModals()};
g._exposeToModals=function(){for(var a=this._liveElementId,b=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]'),c=0;c<b.length;c++){var d=b[c],e=d.getAttribute("aria-owns");this._trackedModals.add(d);e?-1===e.indexOf(a)&&d.setAttribute("aria-owns",e+" "+a):d.setAttribute("aria-owns",a)}};
g._clearFromModals=function(){var a=this;this._trackedModals.forEach(function(b){var c=b.getAttribute("aria-owns");c&&(c=c.replace(a._liveElementId,"").trim(),0<c.length?b.setAttribute("aria-owns",c):b.removeAttribute("aria-owns"))});this._trackedModals.clear()};g._assertNotAttached=function(){};
g._screenReaderAnnounce=function(){var a=this;this._announceTimeoutId||this._ngZone.runOutsideAngular(function(){a._announceTimeoutId=setTimeout(function(){var b=a._elementRef.nativeElement.querySelector("[aria-hidden]"),c=a._elementRef.nativeElement.querySelector("[aria-live]");if(b&&c){var d=null;a._platform.isBrowser&&document.activeElement instanceof HTMLElement&&b.contains(document.activeElement)&&(d=document.activeElement);b.removeAttribute("aria-hidden");c.appendChild(b);var e;null==(e=d)||
e.focus();a._onAnnounce.next();a._onAnnounce.complete()}},a._announceDelay)})};wG.\u0275fac=function(a){return new (a||wG)(B(ef),B(Hd),B(Fu),B(Vw),B(U2b))};wG.\u0275dir=Vc({type:wG,viewQuery:function(a,b){a&1&&og(my,7);if(a&2){var c;ng(c=qg())&&(b._portalOutlet=c.first)}},features:[yf]});var xG=function(a,b,c,d,e,f){this._overlay=a;this._live=b;this._injector=c;this._breakpointObserver=d;this._parentSnackBar=e;this._defaultConfig=f;this._snackBarRefAtThisLevel=null};g=xG.prototype;g.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)};g.dismiss=function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()};
g.ngOnDestroy=function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()};g._attachSnackBarContainer=function(a,b){var c=qf({parent:b&&b.viewContainerRef&&b.viewContainerRef.injector||this._injector,providers:[{provide:U2b,useValue:b}]});a=a.attach(new hy(this.snackBarContainerComponent,b.viewContainerRef,c));a.instance.snackBarConfig=b;return a.instance};
g._attach=function(a,b){var c=this,d=Object.assign({},new U2b,this._defaultConfig,b),e=this._createOverlay(d);b=this._attachSnackBarContainer(e,d);var f=new vG(b,e);if(a instanceof kg)f.instance=b.attachTemplatePortal(new iy(a,null,{$implicit:d.data,snackBarRef:f}));else{var h=this._createInjector(d,f);a=b.attachComponentPortal(new hy(a,void 0,h));f.instance=a.instance}this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(bf(e._detachments)).subscribe(function(k){e.overlayElement.classList.toggle(c.handsetCssClass,
k.matches)});d.announcementMessage&&b._onAnnounce.subscribe(function(){c._live.announce(d.announcementMessage,d.politeness)});this._animateSnackBar(f,d);return this._openedSnackBarRef=f};
g._animateSnackBar=function(a,b){var c=this;a._afterDismissed.subscribe(function(){c._openedSnackBarRef==a&&(c._openedSnackBarRef=null);b.announcementMessage&&c._live.clear()});this._openedSnackBarRef?(this._openedSnackBarRef._afterDismissed.subscribe(function(){a.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):a.containerInstance.enter();b.duration&&0<b.duration&&a.afterOpened().subscribe(function(){return a._dismissAfter(b.duration)})};
g._createOverlay=function(a){var b=new Wx;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"):cy(c);"top"===a.verticalPosition?c.top("0"):c.bottom("0");b.positionStrategy=c;return this._overlay.create(b)};
g._createInjector=function(a,b){return qf({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:vG,useValue:b},{provide:R2b,useValue:a.data}]})};Gh.Object.defineProperties(xG.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}}});
xG.\u0275fac=function(a){return new (a||xG)(p(oy),p(ox),p(ff),p(ix),p(xG,12),p(T2b))};xG.\u0275prov=Dc({token:xG,factory:xG.\u0275fac});var yG=function(a,b){this.snackBarRef=a;this.data=b};yG.prototype.action=function(){RAa(this.snackBarRef)};Gh.Object.defineProperties(yG.prototype,{hasAction:{configurable:!0,enumerable:!0,get:function(){return!!this.data.action}}});yG.\u0275fac=function(a){return new (a||yG)(B(vG),B(R2b))};
yG.\u0275cmp=r({type:yG,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],hostVars:1,hostBindings:function(a){a&2&&Af("mat-id-collision",null)},decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(a,b){a&1&&(H(0,"span",0),T(1),K(),F(2,NAa,3,1,"div",1));a&2&&(A(1),$f(b.data.message),A(1),G("ngIf",b.hasAction))},dependencies:[Uv,eA],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 zG=function(){wG.apply(this,arguments)};Y(zG,wG);zG.\u0275dir=wG.\u0275dir;zG.prototype._afterPortalAttached=function(){wG.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")};zG.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(zG)))(b||zG)}}();
zG.\u0275cmp=r({type:zG,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:2,hostBindings:function(a,b){a&1&&Uf("@state.done",function(c){return Y2b(b,c)});a&2&&(Af("mat-id-collision",null),Tf("@state",b._animationState))},features:[yf],decls:3,vars:3,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,b){a&1&&(H(0,"div",0),F(1,OAa,0,0,"ng-template",1),K(),L(2,"div"));a&2&&(A(2),Af("aria-live",b._live)("role",b._role)("id",b._liveElementId))},
dependencies:[my],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:[W2b]}});var AG=function(){};AG.\u0275fac=function(a){return new (a||AG)};AG.\u0275mod=Tc({type:AG});AG.\u0275inj=Ec({imports:[ry,ny,hw,kC,jz,jz]});var BG=function(a,b,c,d,e,f){xG.call(this,a,b,c,d,e,f);this.simpleSnackBarComponent=yG;this.snackBarContainerComponent=zG;this.handsetCssClass="mat-snack-bar-handset"};Y(BG,xG);BG.\u0275fac=function(a){return new (a||BG)(p(oy),p(ox),p(ff),p(ix),p(BG,12),p(T2b))};BG.\u0275prov=Dc({token:BG,factory:BG.\u0275fac,providedIn:AG});var CG=function(a){this.snackBar=a};CG.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(DG,b)};CG.\u0275fac=function(a){return new (a||CG)(p(BG))};CG.\u0275prov=Dc({token:CG,factory:CG.\u0275fac,providedIn:"root"});
var DG=function(a,b){this.data=a;this.snackBarRef=b};DG.\u0275fac=function(a){return new (a||DG)(B(R2b),B(vG))};
DG.\u0275cmp=r({type:DG,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),F(1,PAa,2,1,"span",1)(2,QAa,
1,1,"span",2),H(3,"div",3),F(4,SAa,2,1,"button",4)(5,TAa,2,1,"button",4)(6,UAa,2,0,"button",5),K()());a&2&&(A(1),G("ngIf",!b.data.htmlMessage),A(1),G("ngIf",b.data.htmlMessage),A(2),G("ngIf",b.data.actionLabel),A(1),G("ngIf",b.data.dismissLabel),A(1),G("ngIf",!b.data.dismissLabel))},dependencies:[Uv,MA,eA],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 EG=function(a){this.snackbar=a};EG.prototype.dismiss=function(){this.lastSnackbar&&this.lastSnackbar.dismiss()};var Fs=function(a,b,c){a.open({message:b,duration:void 0===c?1E4:c})},Z2b=function(a,b,c){a.open({message:b,duration:void 0===c?1E4:c})};EG.prototype.showWarning=function(a,b){this.open({message:a,duration:void 0===b?0:b,snackbarType:"ERROR"})};EG.prototype.open=function(a){return this.lastSnackbar=a=this.snackbar.open(a)};EG.\u0275fac=function(a){return new (a||EG)(p(CG))};
EG.\u0275prov=Dc({token:EG,factory:EG.\u0275fac,providedIn:"root"});var FG=function(a,b,c,d){this.butterBar=a;this.activeSession=b;this.$log=c;this.timeout=d};
FG.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.":xn(b)?xn(b):404===b.status?"Invalid ID.":401===b.status?"No authorization found. Please refresh the page.":"Unknown HTTP error "+b.status+". Please copy your data and refresh the page.";c.$log.error(d,b);c.butterBar.showWarning(d)})};
var GG=function(a,b){a.$log.warn(b);a.butterBar.showWarning(b)},HG=function(a,b){if(wn(b))a.errorHandler(null,b);else throw b;};FG.\u0275fac=function(a){return new (a||FG)(p(EG),p(nt),p(GE),p(QD))};FG.\u0275prov=Dc({token:FG,factory:FG.\u0275fac,providedIn:"root"});var IG=function(a){this.internalArray_=m(a,0,IG.messageId)};Y(IG,n);IG.prototype.getTrackersList=function(){return zi(this,Jj,1)};IG.repeatedFields_=[1];IG.messageId="b.BatchGetTrackersResponse";var JG=function(a){this.internalArray_=m(a,0,JG.messageId)};Y(JG,n);JG.prototype.getTrackersList=function(){return zi(this,Jj,1)};JG.prototype.getNextPageToken=function(){return xi(this,2)};JG.prototype.getTotalSize=function(){return Xh(this,3)};JG.repeatedFields_=[1];JG.messageId="b.ListTrackersResponse";var KG=function(a){this.jspbExecutor=a};KG.prototype.get=function(a){return this.jspbExecutor.get({url:"action/trackers/"+a,responseConstructor:Jj}).pipe(D(Nra))};KG.prototype.batchGet=function(a){return this.jspbExecutor.get({url:"action/trackers/batch",responseConstructor:IG,options:{params:{trackerIds:a}}}).pipe(D(Ora))};
KG.prototype.query=function(a,b,c){return this.jspbExecutor.get({url:"action/trackers",responseConstructor:JG,options:{params:{query:a,pageSize:String(b),pageToken:void 0===c?"":c}}}).pipe(D(Pra))};KG.\u0275fac=function(a){return new (a||KG)(p(SD))};KG.\u0275prov=Dc({token:KG,factory:KG.\u0275fac,providedIn:"root"});var $2b=function(a,b){this.data=a;this.cfg=b;this.lastValidated=Date.now()};g=$2b.prototype;g.age=function(){return Date.now()-this.lastValidated};g.isFresh=function(){return this.age()<this.cfg.freshUntil};g.isAncient=function(){return this.age()>this.cfg.ancientAfter};g.getStatus=function(){return this.isFresh()?"fresh":this.isAncient()?"ancient":"uncertain"};g.toString=function(){var a=String(this.data);return Math.ceil(this.age()/1E3)+"s old -- "+a};
var a3b=function(a){this.cfg=a;this.cache=new Map},b3b=function(a,b){a=LG(a,b);return null==a?Infinity:a},LG=function(a,b){var c;return null==(c=a.get(b,!0))?void 0:c.age()};a3b.prototype.isFresh=function(a){return b3b(this,a)<this.cfg.freshUntil};var c3b=function(a,b){return b3b(a,b)<=a.cfg.ancientAfter};g=a3b.prototype;g.isAncient=function(){var a=LG(this);return a?a>this.cfg.ancientAfter:!1};g.getStatus=function(a){a=this.get(a,!0);if(null!=a)return a.getStatus()};
g.has=function(a,b){return!!this.get(a,void 0===b?!1:b)};g.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)};g.getData=function(a,b){var c;return null==(c=this.get(a,void 0===b?!1:b))?void 0:c.data};g.set=function(a,b){this.cache.set(a,new $2b(b,this.cfg))};g.touch=function(a){var b=this.cache.get(a);b&&this.cache.set(a,new $2b(b.data,this.cfg))};
g.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)};g.debug=function(){return Object.assign({},this.cfg,{count:this.cache.size,keys:this.cache.keys()})};g.toString=function(){return Array.from(this.cache,function(a){a=l(a);var b=a.next().value;a=a.next().value;b=String(b).slice(-16);var c=a.toString();return a.getStatus()+"  "+b+": "+c}).join("\n")};var MG={trustMemory:!0},d3b=function(){},sra=["startIndex","totalSize","curPageToken","nextPageToken","prevPageToken"],e3b=function(a){this.ids=[];Object.assign(this,a)};Y(e3b,d3b);e3b.prototype.toString=function(){return JSON.stringify(Object.assign({},this,{ids:"["+this.ids.join(",")+"]"}))};
var f3b={freshUntil:1E4,ancientAfter:792E5},OG=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("Dc`"+b.idKey+"`"+c);throw Error("Ec`"+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(XAa));this.saving$=this.inFlightSaves$.pipe(D(XAa));this.thinking$=(0,E.combineLatest)(this.getting$,this.saving$).pipe(D(function(c){var d=l(c);c=d.next().value;d=d.next().value;return c||d}),Pe());this.gotOne=function(c){return function(d,e){e=void 0===e?{}:e;e=e.doNotTrack?WAa:NG({label:c,value:LG(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 f=b.valsById.get(c);b.memoryWasSet$.next();e("one-isChanged");f?f.next(d):zk(b.recordType+"::gotOne("+c+") !isEqual. Nobody's listening")}}};this.gotSet=function(c){return function(d){for(var e=l(d),f=e.next();!f.done;f=e.next()){f=f.value;var h=b.idForRecord(f);b.gotOne(h)(f,{doNotTrack:!0})}(e=g3b(b,c))?e.next(d):Bk("gotSet("+c+"), but no channel is set up")}};this.gotAll=function(c){return function(d){var e=
NG({label:c,value:LG(b.collectiveMemory,c)});if(b.normalizeQueryResponses)for(var f=l(d.results),h=f.next();!h.done;h=f.next()){h=h.value;var k=b.idForRecord(h);b.gotOne(k)(h,{doNotTrack:!0})}f=b.normalize(d);b.collectiveMemory.validate(c,f,rra);b.collectiveMemory.set(c,f);b.collectiveMemoryWasSet$.next();e("all-isChanged");(e=b.collectionsById.get(c))?(d=b.dereference(f,d.results),e.next(d)):Eva(c+" gotAll but don't have a behaviorSubject set up to broadcast on. Strange...",d)}};this.dereferenceOne=
function(c){return function(d){var e=c.find(function(f){return b.idForRecord(f)===d});null==e&&Bk("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=l(c);c=d.next().value;d=d.next().value;return c+": "+d}).join(", "),inFlightSaves:Object.entries(b.inFlightSaves()).map(function(c){var d=l(c);c=d.next().value;d=d.next().value;return c+": "+d}).join(", "),records:b.memory.debug(),
lists:b.collectiveMemory.debug()}};this.implementsFn=function(){return function(){try{b.doSave()}catch(d){var c=d;if((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?XAa(b.inFlightSaves()):!!b.inFlightSaves()[c]};this.isSaving$=function(c){return b.inFlightSaves$.pipe(D(function(d){return!!d[c]}),Pe())};this.isGetting=function(c){return null==
c?XAa(b.inFlightGets()):!!b.inFlightGets()[c]};this.watchOne=this.watch=function(c,d){d=void 0===d?MG:d;"number"===typeof d&&(d=MG);if(null==c)return(0,E.of)();"number"===typeof c&&(c=String(c));var e=h3b(b,c);i3b(b,c,d).catch(function(){});return Gs(e)};this.watchSet=function(c,d){d=void 0===d?MG:d;"number"===typeof d&&(d=MG);if(0===c.length)return(0,E.of)([]);c=c.map(function(f){return"number"===typeof f?String(f):f});var e=g3b(b,c);j3b(b,c,d);return e};this.watchMany=function(c){var d=void 0===
d?MG:d;c=Object.assign({},b.defaultQuery,c);var e=k3b(b,c);b.getAll(c,d);return Gs(e)};this.save=function(c){var d=b.idForRecord(c);if(null==d)throw Error("Fc");c=b.doSave(c).pipe(Oe(0,E.asapScheduler),Rja(),ne());b.setIsSaving(d);c.subscribe(b.gotOne(d),b.gotErr(d,b.inFlightSaves$),l3b(d,b.inFlightSaves$));return c};this.setIsSaving=function(c){var d={};YAa(b.inFlightSaves$,(d[c]=!0,d))};this.clearIsSaving=function(c){ZAa(b.inFlightSaves$,c)};this.setIsGetting=function(c){var d={};YAa(b.inFlightGets$,
(d[c]=!0,d))};this.clearIsGetting=function(c){ZAa(b.inFlightGets$,c)};this.poke=function(c,d){return null==c?fBa():i3b(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("Gc");b.gotOne(e)(c,Object.assign({},{doNotTrack:!0},d))}};this.memory=new a3b(Object.assign({},f3b,a));this.collectiveMemory=new a3b(Object.assign({},
f3b,a))};g=OG.prototype;g.fetchOne=function(){throw Error("Hc");};g.fetchAll=function(){throw Error("Ic");};g.fetchSet=function(){throw Error("Jc");};g.doSave=function(){throw Error("Kc");};g.copy=function(){throw Error("Lc");};g.isEqual=function(a,b){return rra(a,b,100)};g.inFlightGets=function(){return this.inFlightGets$.getValue()};g.inFlightSaves=function(){return this.inFlightSaves$.getValue()};
var i3b=function(a,b,c){c=void 0===c?{}:c;var d=c.trustMemory,e=c.trustUncertainMemory;c=NG({label:b,value:LG(a.memory,b)});d=d&&a.memory.isFresh(b);e=e&&c3b(a.memory,b);if(d||e)return c("one-trustMemory"),c=a.memory.getData(b),eBa(c);if(a.inFlightGets()[b])return c("one-inFlight"),c=h3b(a,b),dBa(c).then(eBa);c("one-fetch");var f=a.fetchOne(b).pipe(Oe(0,E.asapScheduler));a.setIsGetting(b);return new Promise(function(h,k){f.subscribe(function(q){a.gotOne(b)(q);h(q)},function(q){a.gotErr(b,a.inFlightGets$)(q);
k(q)},l3b(b,a.inFlightGets$))})},j3b=function(a,b,c){c=(void 0===c?{}:c).trustMemory;var d="["+[].concat(u(b)).sort().join("-")+"]",e=NG({label:d});if(c&&m3b(a,b))n3b(a,b),e("set-trustMemory");else if(a.inFlightGets()[d])e("set-inFlight");else{e("set-fetch");c=a.fetchSet(b).pipe(Oe(0,E.asapScheduler));e={};e=(e[d]=!0,e);for(var f=l(b),h=f.next();!h.done;h=f.next())e[h.value]=!0;YAa(a.inFlightGets$,e);c.subscribe(a.gotSet(b),function(k){$Aa(a.inFlightGets$,b);a.gotErr(d,a.inFlightGets$)(k)},function(){$Aa(a.inFlightGets$,
[d].concat(u(b)))})}},m3b=function(a,b){return b.every(function(c){return a.memory.isFresh(c)})},n3b=function(a,b){var c=o3b(a,b).filter(jl);g3b(a,b).next(c)};
OG.prototype.getAll=function(a,b){var c=(void 0===b?{}:b).trustMemory;b=aBa(a);var d=NG({label:b,value:LG(this.collectiveMemory,b)});if(c&&this.collectiveMemory.isFresh(b))return d("all-trustMemory"),a=this.collectiveMemory.getData(b),b=o3b(this,a.ids).filter(jl),a=this.dereference(a,b),Promise.resolve(a);if(this.inFlightGets()[b])return d("all-inFlight"),a=k3b(this,a),dBa(a);d("all-fetch");c=this.fetchAll(a).pipe(Oe(0,E.asapScheduler));this.setIsGetting(b);c.subscribe(this.gotAll(b),this.gotErr(b,
this.inFlightGets$),l3b(b,this.inFlightGets$));a=k3b(this,a);return dBa(a)};OG.prototype.gotErr=function(a,b){var c=this;return function(d){d=Object.assign({},{idOrKey:a},d);Fva(a+" gotErr()",d);ZAa(b,a);JSON.stringify(d,null,2);c.error$.next(d)}};var l3b=function(a,b){return function(){ZAa(b,a)}};OG.prototype.normalize=function(a){var b=a.results.map(this.idForRecord);return new e3b(Object.assign({},cBa(a),{ids:b}))};
OG.prototype.dereference=function(a,b){b=a.ids.map(this.dereferenceOne(b)).filter(Boolean);return Object.assign({},cBa(a),{results:b})};
var o3b=function(a,b){return b.map(function(c){return a.memory.getData(c)})},k3b=function(a,b){b=aBa(b);return bBa(a.collectionsById,b,new E.ReplaySubject(1))},g3b=function(a,b){b="["+[].concat(u(b)).sort().join("-")+"]";return bBa(a.setsByLabel,b,new E.ReplaySubject(1))},h3b=function(a,b){var c=new E.ReplaySubject(1),d=a.memory.getData(b);null!=d&&c.next(d);return bBa(a.valsById,b,c)},p3b=function(a,b){return["string","number"].includes(typeof b)?a.memory.getStatus(String(b)):a.collectiveMemory.getStatus(aBa(b))};
OG.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(aBa(a))};
var PG=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)},NG=function(a){for(var b=l(Object.keys(a)),c=b.next();!c.done;c=b.next())c=c.value,null==a[c]&&delete a[c];return function(){}},QG=function(){OG.apply(this,arguments);this.defaultQuery={}};Y(QG,OG);var RG=function(a,b){QG.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)};Y(RG,QG);RG.prototype.fetchOne=function(a){return this.trackerApi.get(a)};RG.prototype.fetchSet=function(a){return this.trackerApi.batchGet(a)};
RG.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:[]}}))};RG.\u0275fac=function(a){return new (a||RG)(p(KG),p(nt))};RG.\u0275prov=Dc({token:RG,factory:RG.\u0275fac,providedIn:"root"});var SG=function(a,b,c,d){Z.call(this);var e=this;this.currentTrackerId=a;this.activeSession=b;this.trackerFridge=c;this.errorHandler=d;this.handleTrackerError=function(f){403!==f.status&&e.errorHandler.errorHandler(null,f)};this.trackerId$=this.currentTrackerId.trackerId$;this.tracker$=this.trackerId$.pipe(af(function(f){return""===f?(0,E.of)(void 0):e.trackerFridge.watch(f).pipe($e(void 0))}));this.inTracker$=this.tracker$.pipe(D(function(f){return!!f}));this.inTracker=!1;this.associatedTrackers$=
this.tracker$.pipe(D(function(f){var h;return null!=(h=null==f?void 0:f.associatedTrackerIds)?h:[]}),af(this.trackerFridge.watchSet));this.availableTrackers$=this.associatedTrackers$.pipe(df(this.tracker$),D(function(f){var h=l(f);f=h.next().value;return(h=h.next().value)?[h].concat(u(f)):[]}));this.trackerFridge.error$.pipe(bf(this.destroyed$)).subscribe(this.handleTrackerError);this.tracker$.pipe(bf(this.destroyed$)).subscribe(function(f){e.tracker=f});this.inTracker$.pipe(bf(this.destroyed$)).subscribe(function(f){e.inTracker=
f})};Y(SG,Z);SG.\u0275dir=Z.\u0275dir;SG.prototype.getTrackerId=function(){return this.currentTrackerId.getTrackerId()};var q3b=function(a){a=a.getTrackerId();if(""!==a&&"0"!==a)return[a]};SG.prototype.setTrackerId=function(a){this.currentTrackerId.setTrackerId(a)};
var TG=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:r3b(a,b,!0,c.trackerId,d)):a=r3b(a,b,!1,"",d);return a},r3b=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(!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)}};SG.\u0275fac=function(a){return new (a||SG)(p($F),p(nt),p(RG),p(FG))};SG.\u0275prov=Dc({token:SG,factory:SG.\u0275fac,providedIn:"root"});var UG=function(a,b,c){Z.call(this);var d=this;this.$window=a;this.activeSession=b;this.currentTracker=c;var e,f;this.trackerName=null!=(f=null==(e=this.activeSession.getTracker())?void 0:e.name)?f:"";this.subscriptions.add(this.currentTracker.tracker$.pipe(bf(this.destroyed$)).subscribe(function(h){var k;d.trackerName=null!=(k=null==h?void 0:h.name)?k:""}))};Y(UG,Z);UG.\u0275dir=Z.\u0275dir;
UG.prototype.setTitle=function(a){var b=this.trackerName?this.trackerName:this.activeSession.getAppName();this.$window.document.title=a?a+" - "+b:b};UG.\u0275fac=function(a){return new (a||UG)(p(ZF),p(nt),p(SG))};UG.\u0275prov=Dc({token:UG,factory:UG.\u0275fac,providedIn:"root"});var VG=function(a){this.internalArray_=m(a)};Y(VG,n);VG.prototype.getIssueId=function(){return Ui(this,1)};VG.prototype.setIssueId=function(a){return Gl(this,1,a)};VG.prototype.setPageSize=function(a){return Tk(this,2,a)};VG.prototype.setPageToken=function(a){return Ol(this,3,a)};var WG=function(a){this.internalArray_=m(a,0,WG.messageId)};Y(WG,n);WG.prototype.getIt=function(){return vi(this,VG,4)};WG.prototype.setIt=function(a){return ej(this,VG,4,a)};WG.prototype.hasIt=function(){return Pi(this,VG,4)};WG.messageId="b.AggregateIssueDescendantsRequest";var s3b=function(a){this.internalArray_=m(a)};Y(s3b,n);g=s3b.prototype;g.getPriority=function(){return Li(this,1,0)};g.setPriority=function(a){return Cl(this,1,a)};g.getIssueIdsList=function(){return Gj(this,2)};g.setIssueIdsList=function(a){return Rt(this,2,a)};g.addIssueIds=function(a){Pb(this,2,rb,a)};s3b.repeatedFields_=[2];var t3b=function(a){this.internalArray_=m(a)};Y(t3b,n);g=t3b.prototype;g.getStatus=function(){return Li(this,1,0)};g.setStatus=function(a){return Cl(this,1,a)};g.getIssueIdsList=function(){return Gj(this,2)};g.setIssueIdsList=function(a){return Rt(this,2,a)};g.addIssueIds=function(a){Pb(this,2,rb,a)};t3b.repeatedFields_=[2];var u3b=function(a){this.internalArray_=m(a)};Y(u3b,n);g=u3b.prototype;g.getIssueIdsList=function(){return Gj(this,3)};g.setIssueIdsList=function(a){return Rt(this,3,a)};g.addIssueIds=function(a){Pb(this,3,rb,a)};g.getCollaboratorsList=function(){return zi(this,Yk,8)};g.setCollaboratorsList=function(a){Zl(this,8,a)};g.setCollaborators=function(a){Qt(this,8,Yk,a)};g.getCodeChangesList=function(){return Yh(this,9)};g.setCodeChangesList=function(a){pj(this,9,a)};
g.getBlockedByIssueIdsList=function(){return Gj(this,10)};g.setBlockedByIssueIdsList=function(a){Rt(this,10,a)};g.getBlockingIssueIdsList=function(){return Gj(this,11)};g.setBlockingIssueIdsList=function(a){Rt(this,11,a)};u3b.repeatedFields_=[3,4,12,5,6,7,8,9,10,11];var XG=function(a){this.internalArray_=m(a)};Y(XG,n);XG.prototype.getNextPageToken=function(){return xi(this,4)};var YG=function(a){this.internalArray_=m(a,0,YG.messageId)};Y(YG,n);YG.prototype.getIt=function(){return vi(this,XG,3)};YG.prototype.setIt=function(a){return ej(this,XG,3,a)};YG.prototype.hasIt=function(){return Pi(this,XG,3)};YG.messageId="b.AggregateIssueDescendantsResponse";var ZG=function(a){this.executor=a};
ZG.prototype.get=function(a){var b=(new WG).setIt((new VG).setIssueId(a));return this.executor.post({url:"action/issues/aggregateIssueDescendants",body:b,responseConstructor:YG}).pipe(D(function(c){var d=Xh(c.getIt(),2),e=Xh(c.getIt(),3),f=vi(c.getIt(),u3b,1);if(f){var h,k,q,t,w,y,C,J,I,P;c={_rootId:a,issueIds:f.getIssueIdsList().map(gl).filter(jl),aggregatedStatus:null!=(w=zi(f,t3b,4).map(gBa).filter(jl))?w:[],aggregatedPriority:null!=(y=zi(f,s3b,12).map(hBa).filter(jl))?y:[],reporters:null!=(C=
null==(h=zi(f,Yk,5))?void 0:h.map($k))?C:[],assignees:null!=(J=null==(k=zi(f,Yk,6))?void 0:k.map($k))?J:[],verifiers:null!=(I=null==(q=zi(f,Yk,7))?void 0:q.map($k))?I:[],collaborators:null!=(P=null==(t=f.getCollaboratorsList())?void 0:t.map($k))?P:[],changelists:f.getCodeChangesList(),blockedByIssueIds:f.getBlockedByIssueIdsList().map(gl).filter(jl),blockingIssueIds:f.getBlockingIssueIdsList().map(gl).filter(jl),descendantCount:d,openDescendantCount:e}}else c=void 0;return c}))};
ZG.\u0275fac=function(a){return new (a||ZG)(p(SD))};ZG.\u0275prov=Dc({token:ZG,factory:ZG.\u0275fac,providedIn:"root"});var $G=function(a){QG.call(this);this.api=a;this.recordType="AggregatedIssueMetadata";this.idKey="_rootId";this.isEqual=$h};Y($G,QG);$G.prototype.fetchOne=function(a){return this.api.get(a)};$G.\u0275fac=function(a){return new (a||$G)(p(ZG))};$G.\u0275prov=Dc({token:$G,factory:$G.\u0275fac,providedIn:"root"});var aH=function(a){this.internalArray_=m(a,0,aH.messageId)};Y(aH,n);g=aH.prototype;g.getAuthor=function(){return xi(this,1)};g.setAuthor=function(a){gj(this,1,a)};g.hasAuthor=function(){return yi(this,1)};g.getDescription=function(){return xi(this,2)};g.setDescription=function(a){return gj(this,2,a)};g.hasDescription=function(){return yi(this,2)};g.getPending=function(){return Hi(this,3)};g.getTimestamp=function(){return Ui(this,4)};g.setTimestamp=function(a){return nj(this,4,a)};
g.hasTimestamp=function(){return Ti(this,4)};aH.repeatedFields_=[5];aH.messageId="b.ChangelistDetailsResponse";var bH=function(a){this.internalArray_=m(a)};Y(bH,n);bH.prototype.getIssueIdsList=function(){return ui(this,1)};bH.prototype.setIssueIdsList=function(a){return Nb(this,1,a,rb)};bH.prototype.addIssueIds=function(a){Pb(this,1,rb,a)};bH.prototype.getAuthorEmail=function(){return xi(this,3)};bH.repeatedFields_=[1];var cH=function(a){this.internalArray_=m(a,0,cH.messageId)};Y(cH,n);g=cH.prototype;g.getQuery=function(){return vi(this,bH,1)};g.setQuery=function(a){return ej(this,bH,1,a)};g.clearQuery=function(){lm(this,1)};g.hasQuery=function(){return Pi(this,bH,1)};g.getNextPageToken=function(){return xi(this,2)};cH.messageId="b.ListChangelistsRequest";var jBa=function(a){this.internalArray_=m(a)};Y(jBa,n);g=jBa.prototype;g.getAuthor=function(){return xi(this,1)};g.setAuthor=function(a){gj(this,1,a)};g.hasAuthor=function(){return yi(this,1)};g.getChangelistNumber=function(){return Xh(this,2)};g.getPending=function(){return Hi(this,3)};g.getTimestamp=function(){return vi(this,Xi,4)};g.setTimestamp=function(a){return ej(this,Xi,4,a)};g.hasTimestamp=function(){return Pi(this,Xi,4)};g.getIssueIdsList=function(){return ui(this,5)};
g.setIssueIdsList=function(a){return Nb(this,5,a,rb)};g.addIssueIds=function(a){Pb(this,5,rb,a)};jBa.repeatedFields_=[5,6];var dH=function(a){this.internalArray_=m(a,0,dH.messageId)};Y(dH,n);dH.prototype.getNextPageToken=function(){return xi(this,2)};dH.repeatedFields_=[1];dH.messageId="b.ListChangelistsResponse";var eH=function(a){this.internalArray_=m(a,0,eH.messageId)};Y(eH,n);eH.repeatedFields_=[1];eH.messageId="b.PendingChangelistsResponse";var fH=function(a){this.executor=a};fH.prototype.getPendingChangelistsForIssue=function(a){return this.executor.get({url:"action/issues/"+a+"/pending_changelists",responseConstructor:eH}).pipe(D(iBa))};fH.prototype.getChangelistDetails=function(a){return this.executor.get({url:"/action/changelists/"+a,responseConstructor:aH}).pipe(D(mBa))};
var v3b=function(a,b){var c=new cH,d=c.setQuery;b=(new bH).setIssueIdsList(b);b=hj(b,2,2);c=d.call(c,b);return a.executor.post({url:"action/changelists/list",body:c,responseConstructor:dH}).pipe(D(lBa))};fH.\u0275fac=function(a){return new (a||fH)(p(SD))};fH.\u0275prov=Dc({token:fH,factory:fH.\u0275fac,providedIn:"root"});var gH=function(a){this.changelistResources=a};gH.prototype.getPendingChangelistsForIssue=function(a){return(0,E.firstValueFrom)(this.changelistResources.getPendingChangelistsForIssue(a))};
gH.prototype.getChangelistDetails=function(a){return(0,E.firstValueFrom)(this.changelistResources.getChangelistDetails(a))};gH.\u0275fac=function(a){return new (a||gH)(p(fH))};gH.\u0275prov=Dc({token:gH,factory:gH.\u0275fac,providedIn:"root"});var hH=function(a){OG.call(this);this.api=a;this.defaultQuery={};this.recordType="Changelist";this.idKey="changelistNumber"};Y(hH,OG);hH.prototype.fetchAll=function(a){if(a=a.pendingForIssues)return 0===a.length?(0,E.of)({results:[]}):v3b(this.api,a).pipe(D(function(b){var c;return{results:null!=(c=b.changelists)?c:[]}}));throw Error("Mc");};hH.\u0275fac=function(a){return new (a||hH)(p(fH))};hH.\u0275prov=Dc({token:hH,factory:hH.\u0275fac,providedIn:"root"});var w3b=function(a){this.internalArray_=m(a,0,w3b.messageId)};Y(w3b,n);w3b.messageId="b.CreateComponentResponse";var iH=function(a){this.internalArray_=m(a,0,iH.messageId)};Y(iH,n);iH.repeatedFields_=[1];iH.messageId="b.ListComponentsResponse";var Rya=function(a){this.internalArray_=m(a)};Y(Rya,n);Rya.prototype.getComponentPath=function(){return xi(this,1)};var jH=function(a){this.internalArray_=m(a,0,jH.messageId)};Y(jH,n);jH.repeatedFields_=[2];jH.messageId="b.SubcomponentsResponse";var kH=function(a,b){this.executor=a;this.currentTrackerId=b};g=kH.prototype;g.get=function(a){return this.query({id:[a]}).pipe(D(function(b){return b.length?b[0]:null}))};g.getChildren=function(a,b){a={parentId:String(a)};if(void 0===b?0:b)a.includearchived=!0;return this.query(a)};g.getDescendants=function(a){return this.executor.get({url:"action/components/"+a+"/descendants",responseConstructor:jH}).pipe(D(Sya))};
g.fetchComponent=function(a){return this.executor.get({url:"action/components/"+a,responseConstructor:fm}).pipe(D(am))};g.query=function(a){var b={};a.id&&(b.id=a.id.map(String));a.parentId&&(b.parentId=String(a.parentId));a.query&&(b.query=a.query);a.includearchived&&(b.includearchived="true");a=this.currentTrackerId.getTrackerId();yn(a)||(b.currentTrackerId=a);return this.executor.get({url:"action/components",options:{params:b},responseConstructor:iH}).pipe(D(Pya))};
g.create=function(a){a=Jya(a);return this.executor.post({url:"action/components",body:a,responseConstructor:w3b}).pipe(D(function(b){return am(vi(b,fm,1))}))};
g.update=function(a){var b=a.componentId,c=new fm,d=c.setIt,e=(new em).setComponentId(a.componentId);e=Gl(e,3,a.parentComponentId).setName(a.name).setDescription(a.description).setIsArchived(a.archived);if(a.componentPathInfo){var f=a.componentPathInfo,h=new bm;f.componentPathId&&Rt(h,1,f.componentPathId);if(f.componentPathName){var k=f.componentPathName.map(String);pj(h,2,k)}f.allCustomField&&(f=f.allCustomField.map(jxa),Zl(h,5,f));ej(e,bm,7,h)}a.accessLimit&&e.setAccessLimit(Swa(a.accessLimit));
a.commentEditState&&e.setCommentEditState("ENABLED"===a.commentEditState?1:2);Gl(e,6,String(a.defaultTemplateId));a.slo&&e.setSlo(Exa(a.slo));Gl(e,14,a.bugscopeSloId);a.retentionSettings&&(h=wxa(a.retentionSettings),ej(e,Dl,15,h));a.fieldOrdering&&Cl(e,17,vZb[a.fieldOrdering]);a.effortSpec&&(h=pxa(a.effortSpec),ej(e,zl,18,h));a.team&&(h=Nxa(a.team),ej(e,Kl,16,h));var q;e.setTeamSuggestionsList((null!=(q=a.teamSuggestions)?q:[]).map(Pxa));a=d.call(c,e);return this.executor.post({url:"action/components/"+
b,body:a,responseConstructor:fm}).pipe(D(am))};g.move=function(a,b){return this.executor.post({url:"action/components/"+a+"/move",body:null,options:{params:{parentId:String(b)}},responseConstructor:fm}).pipe(D(am))};g.updateSlo=function(a,b){var c=new n2b;b=Exa(b);c=ej(c,Fl,2,b);return this.executor.post({url:"action/components/"+a+"/updateSlo",body:c,responseConstructor:fm}).pipe(D(am))};
g.updateTeam=function(a,b){var c=new o2b;b=Nxa(Object.assign({},b));c=ej(c,Kl,2,b);return this.executor.post({url:"action/components/"+a+"/updateTeam",body:c,responseConstructor:fm}).pipe(D(am))};kH.\u0275fac=function(a){return new (a||kH)(p(SD),p($F))};kH.\u0275prov=Dc({token:kH,factory:kH.\u0275fac,providedIn:"root"});var lH=function(a){this.observableApi=a};g=lH.prototype;g.get=function(a){return(0,E.firstValueFrom)(this.observableApi.get(a))};
g.getChildren=function(a,b){return(0,E.firstValueFrom)(this.observableApi.getChildren(a,void 0===b?!1:b))};g.getDescendants=function(a){return(0,E.firstValueFrom)(this.observableApi.getDescendants(a))};g.fetchComponent=function(a){return(0,E.firstValueFrom)(this.observableApi.fetchComponent(a))};g.query=function(a){return(0,E.firstValueFrom)(this.observableApi.query(a))};g.create=function(a){return(0,E.firstValueFrom)(this.observableApi.create(a))};g.update=function(a){return(0,E.firstValueFrom)(this.observableApi.update(a))};
g.move=function(a,b){return(0,E.firstValueFrom)(this.observableApi.move(a,b))};g.updateSlo=function(a,b){return(0,E.firstValueFrom)(this.observableApi.updateSlo(a,b))};g.updateTeam=function(a,b){return(0,E.firstValueFrom)(this.observableApi.updateTeam(a,b))};lH.\u0275fac=function(a){return new (a||lH)(p(kH))};lH.\u0275prov=Dc({token:lH,factory:lH.\u0275fac,providedIn:"root"});var mH=function(a){QG.call(this,{freshUntil:12E4,ancientAfter:6048E5});this.batchedComponentApi=a;this.recordType="component";this.idKey="componentId"};Y(mH,QG);mH.prototype.fetchOne=function(a){return"0"===a?(0,E.of)(void 0):this.batchedComponentApi.get(a).pipe(Le(function(){return(0,E.of)(void 0)}))};mH.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(jl)}))};mH.\u0275fac=function(a){return new (a||mH)(p(nH))};
mH.\u0275prov=Dc({token:mH,factory:mH.\u0275fac,providedIn:"root"});var nH=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)}})};
nH.prototype.call=function(a){return 1===a.size?this.observableComponentApi.fetchComponent([].concat(u(a))[0]).pipe(D(function(b){return new Map(b?[[b.componentId,b]]:[])})):this.observableComponentApi.query({id:[].concat(u(a))}).pipe(D(function(b){return new Map(b.map(function(c){return[c.componentId,c]}))}))};nH.prototype.splitBatch=function(a,b){return b.get(Number(a))};nH.\u0275fac=function(a){return new (a||nH)(p(kH),p(dF))};nH.\u0275prov=Dc({token:nH,factory:nH.\u0275fac,providedIn:"root"});var oH=function(a){this.internalArray_=m(a,0,oH.messageId)};Y(oH,n);oH.repeatedFields_=[1];oH.messageId="b.ListTemplatesResponse";var pH=function(a){this.internalArray_=m(a,0,pH.messageId)};Y(pH,n);pH.messageId="b.TemplateResponse";var qH=function(a){this.executor=a};g=qH.prototype;g.get=function(a,b){return this.executor.get({url:"action/components/"+a+"/templates/"+b,responseConstructor:pH}).pipe(D(nBa))};g.query=function(a){return this.executor.get({url:"action/components/"+a+"/templates",responseConstructor:oH}).pipe(D(oBa))};g.create=function(a,b){b=Oya(b);return this.executor.post({url:"action/components/"+a+"/templates",responseConstructor:pH,body:b}).pipe(D(nBa))};
g.update=function(a,b,c){c=Oya(c);return this.executor.post({url:"action/components/"+a+"/templates/"+b,responseConstructor:pH,body:c}).pipe(D(nBa))};g.delete=function(a,b){return this.executor.delete({url:"action/components/"+a+"/templates/"+b,responseConstructor:null})};qH.\u0275fac=function(a){return new (a||qH)(p(SD))};qH.\u0275prov=Dc({token:qH,factory:qH.\u0275fac,providedIn:"root"});var rH=function(a){this.observableApi=a};g=rH.prototype;
g.get=function(a,b){return(0,E.firstValueFrom)(this.observableApi.get(a,b))};g.query=function(a){return(0,E.firstValueFrom)(this.observableApi.query(a))};g.create=function(a,b){return(0,E.firstValueFrom)(this.observableApi.create(a,b))};g.update=function(a,b,c){return(0,E.firstValueFrom)(this.observableApi.update(a,b,c))};g.delete=function(a,b){return(0,E.firstValueFrom)(this.observableApi.delete(a,b))};rH.\u0275fac=function(a){return new (a||rH)(p(qH))};
rH.\u0275prov=Dc({token:rH,factory:rH.\u0275fac,providedIn:"root"});var sH=function(a,b,c,d){this.issueApi=a;this.templatesApi=b;this.errorHandler=c;this.userAccess=d},y3b=function(a,b){b=a.issueApi.getIssue(b).then(function(c){var d=Object,e=d.assign,f=qa(c.issue.snapshot),h=c.firstEvent.unlinkifiedComment;f.comment=h?h.trim():"";f.status="NEW";f.changelist=null;f.duplicateIssueId=null;f.duplicateOfIssueId=null;return e.call(d,{},{snapshot:f},{trackerId:c.issue.trackerId})}).then(function(c){return x3b(a,c)});b.catch(function(c){a.errorHandler.errorHandler(null,
c)});return b},x3b=function(a,b){var c=b.snapshot.hotlistId;if(!c)return b;var d=c.map(function(e){return XF(a.userAccess,"appender","hotlists/"+e)});return Promise.all(d).then(function(e){b.snapshot.hotlistId=c.filter(function(f,h){return e[h]});return b})};sH.\u0275fac=function(a){return new (a||sH)(p(kG),p(rH),p(FG),p(VF))};sH.\u0275prov=Dc({token:sH,factory:sH.\u0275fac,providedIn:"root"});var tH=function(a,b){QG.call(this,{freshUntil:3E5,ancientAfter:6048E5});var c=this;this.template=a;this.appEvents=b;this.recordType="componentTemplates";this.idKey="componentId";this.defaultTemplate$=function(d){return c.watch(d).pipe(He(jl),D(function(e){return e.templates}),D(function(e){var f;return null!=(f=e.find(function(h){return h.default}))?f:e[0]}))};this.appEvents.templateModified.pipe(He(function(d){return!!d&&"0"!==d})).subscribe(function(d){c.poke(d)})};Y(tH,QG);
tH.prototype.fetchOne=function(a){return(0,E.from)(this.template.templatesApi.query(Number(a)).then(function(b){return{componentId:a,templates:b}}))};tH.\u0275fac=function(a){return new (a||tH)(p(sH),p(lG))};tH.\u0275prov=Dc({token:tH,factory:tH.\u0275fac,providedIn:"root"});var uH=function(a){this.internalArray_=m(a,0,uH.messageId)};Y(uH,n);uH.prototype.setCustomField=function(a){return ej(this,om,1,a)};uH.messageId="b.CustomFieldResponse";var vH=function(a){this.internalArray_=m(a)};Y(vH,n);vH.prototype.getCustomFieldsList=function(){return zi(this,xl,1)};vH.prototype.setCustomFieldsList=function(a){Zl(this,1,a)};vH.prototype.getNextPageToken=function(){return xi(this,2)};vH.prototype.getTotalSize=function(){return Xh(this,3)};vH.repeatedFields_=[1];var wH=function(a){this.internalArray_=m(a,0,wH.messageId)};Y(wH,n);wH.prototype.getIt=function(){return vi(this,vH,4)};wH.prototype.setIt=function(a){return ej(this,vH,4,a)};wH.prototype.hasIt=function(){return Pi(this,vH,4)};wH.messageId="b.ListCustomFieldsResponse";var xH=function(a){this.executor=a};g=xH.prototype;g.get=function(a){return this.executor.get({url:"action/custom_fields/"+Number(a),responseConstructor:uH}).pipe(D(gza))};g.getResource=function(a){return this.executor.get({url:"action/custom_fields/"+a,responseConstructor:uH}).pipe(D(function(b){return fza(vi(b,om,1))}))};g.create=function(a,b){b=hza(b);return this.executor.post({url:"action/custom_fields",options:{params:{componentId:String(a)}},body:b,responseConstructor:uH}).pipe(D(gza))};
g.update=function(a,b,c){b=Number(b);c=hza(c);return this.executor.post({url:"action/custom_fields/"+b,options:{params:{componentId:String(a)}},body:c,responseConstructor:uH}).pipe(D(gza))};g.delete=function(a,b){return this.executor.delete({url:"action/custom_fields/"+Number(b),options:{params:{componentId:String(a)}},responseConstructor:null})};
g.query=function(a){return this.executor.get({url:"action/custom_fields",options:{params:{query:a.query,trackerIds:a.trackerIds,pageSize:a.pageSize||0,pageToken:a.pageToken||""}},responseConstructor:wH}).pipe(D(iza))};xH.\u0275fac=function(a){return new (a||xH)(p(SD))};xH.\u0275prov=Dc({token:xH,factory:xH.\u0275fac,providedIn:"root"});var yH=function(a){this.observableApi=a};g=yH.prototype;g.get=function(a){return(0,E.firstValueFrom)(this.observableApi.get(a))};g.getResource=function(a){return(0,E.firstValueFrom)(this.observableApi.getResource(a))};
g.create=function(a,b){return(0,E.firstValueFrom)(this.observableApi.create(a,b))};g.update=function(a,b,c){return(0,E.firstValueFrom)(this.observableApi.update(a,b,c))};g.delete=function(a,b){return(0,E.firstValueFrom)(this.observableApi.delete(a,b))};g.query=function(a){return(0,E.firstValueFrom)(this.observableApi.query(a))};yH.\u0275fac=function(a){return new (a||yH)(p(xH))};yH.\u0275prov=Dc({token:yH,factory:yH.\u0275fac,providedIn:"root"});var zH=function(a){QG.call(this,{freshUntil:18E5,ancientAfter:2592E6});this.api=a;this.recordType="customFieldResource";this.idKey="customFieldId"};Y(zH,QG);zH.prototype.fetchOne=function(a){return this.api.getResource(a).pipe(Le(function(b){console.error("error fetching custom field "+a,b);return(0,E.of)(void 0)}))};zH.\u0275fac=function(a){return new (a||zH)(p(xH))};zH.\u0275prov=Dc({token:zH,factory:zH.\u0275fac,providedIn:"root"});var uBa=new Set(["blockedById","blockingId","duplicateId","parentIssueIds","childIssueIds"]);var ABa=RegExp("^[^\\.\\s]{2}\\.{3}@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$"),zBa=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])?$"),EBa=["@twosync.google.com","@twosync-src.google.com","@twosync-loas.google.com"];var fCa=new WeakMap;var AH=function(a){QG.call(this);this.observableIssueResources=a;this.recordType="eventsForIssue"};Y(AH,QG);AH.prototype.isEqual=function(a,b){return(null==a?void 0:a.id)!==(null==b?void 0:b.id)?!1:PBa(null==a?void 0:a.events,null==b?void 0:b.events)};AH.prototype.copy=function(a){return a&&ai(a)};AH.prototype.fetchOne=function(a){return D2b(this.observableIssueResources,a).pipe(D(function(b){return{id:a,events:b}}))};AH.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(jl)}))};
AH.\u0275fac=function(a){return new (a||AH)(p(jG))};AH.\u0275prov=Dc({token:AH,factory:AH.\u0275fac,providedIn:"root"});var BH=function(a){this.internalArray_=m(a)};Y(BH,n);BH.prototype.getIssueId=function(){return Ui(this,1)};BH.prototype.setIssueId=function(a){return Gl(this,1,a)};BH.prototype.setCommentNumbersList=function(a){return ap(this,2,a)};BH.prototype.setView=function(a){return Cl(this,3,a)};BH.repeatedFields_=[2];var CH=function(a){this.internalArray_=m(a,0,CH.messageId)};Y(CH,n);g=CH.prototype;g.getIssueId=function(){return Ui(this,1)};g.setIssueId=function(a){return nj(this,1,a)};g.setCommentNumbersList=function(a){return ap(this,2,a)};g.setCurrentTrackerId=function(a){mj(this,3,a)};g.getIt=function(){return vi(this,BH,4)};g.setIt=function(a){return ej(this,BH,4,a)};g.hasIt=function(){return Pi(this,BH,4)};CH.repeatedFields_=[2];CH.messageId="b.BatchGetIssueCommentsRequest";var DH=function(a){this.internalArray_=m(a)};Y(DH,n);DH.prototype.getIssueCommentsList=function(){return zi(this,bn,1)};DH.repeatedFields_=[1];var EH=function(a){this.internalArray_=m(a,0,EH.messageId)};Y(EH,n);EH.prototype.getIssueCommentsList=function(){return zi(this,BF,1)};EH.prototype.getIt=function(){return vi(this,DH,2)};EH.prototype.setIt=function(a){return ej(this,DH,2,a)};EH.prototype.hasIt=function(){return Pi(this,DH,2)};EH.repeatedFields_=[1];EH.messageId="b.BatchGetIssueCommentsResponse";var FH=function(a,b,c){this.jspbExecutor=a;this.currentTrackerId=b;this.activeSession=c};FH.prototype.batchGet=function(a,b){var c=new CH;yD(this.activeSession,"enableLeanFeD")?c.setIt((new BH).setIssueId(Number(a)).setCommentNumbersList(b).setView(2)):c.setIssueId(Number(a)).setCommentNumbersList(b);(a=this.currentTrackerId.getTrackerId())&&c.setCurrentTrackerId(a);return this.jspbExecutor.post({url:"action/comments/batch",responseConstructor:EH,body:c}).pipe(D(xAa))};
FH.\u0275fac=function(a){return new (a||FH)(p(SD),p($F),p(nt))};FH.\u0275prov=Dc({token:FH,factory:FH.\u0275fac,providedIn:"root"});var GH=function(a,b){QG.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)}})};Y(GH,QG);
GH.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=l(d);for(var f=d.next();!f.done;f=d.next())if(f=f.value){var h=void 0,k={issueId:c,commentId:null!=(h=f.commentNumber)?h:0};e.push({id:k,formattedComment:f})}return e}))};
GH.prototype.call=function(a){var b="",c=[];a=l(a);for(var d=a.next();!d.done;d=a.next()){var e=l(d.value.split("-"));d=e.next().value;e=e.next().value;""!==b&&b===d?c.push(Number(e)):""===b&&(b=d,c.push(Number(e)))}return this.issueCommentsBatchApi.batchGet(b,c).pipe(D(function(f){var h=b,k=new Map;f=l(f);for(var q=f.next();!q.done;q=f.next()){q=q.value;var t=void 0,w=Number(h)+"-"+(null!=(t=q.commentNumber)?t:0);k.set(w,q)}return k}))};GH.prototype.splitBatch=function(a,b){return b.get(a)};
GH.\u0275fac=function(a){return new (a||GH)(p(FH),p(dF))};GH.\u0275prov=Dc({token:GH,factory:GH.\u0275fac,providedIn:"root"});var HH=function(a){this.internalArray_=m(a,0,HH.messageId)};Y(HH,n);HH.prototype.getAccessLevel=function(){return Li(this,1,0)};HH.prototype.setAccessLevel=function(a){return hj(this,1,a)};HH.messageId="b.AccessLimit";var IH=function(a){this.internalArray_=m(a,0,IH.messageId)};Y(IH,n);IH.repeatedFields_=[1,2];IH.messageId="b.CheckPermissionResponse";var JH=function(a){this.executor=a};g=JH.prototype;g.get=function(a,b){a=Kn(Ln(a,b));return this.executor.get({url:"action/access_policies/"+a,responseConstructor:vF}).pipe(D(uza))};
g.update=function(a,b,c){a=Kn(Ln(a,b));var d;if(tza){var e,f=new vF,h=f.setIt;c=Object.assign({},c,{implicitAccess:null!=(e=c.implicitAccess)?e:null,inheritedAdmins:null,implicitAppenders:null,implicitEditors:null,implicitReaders:null});var k,q,t,w,y;e=(new sF).setAdminsList((null!=(d=c.admins)?d:[]).map(Tl)).setAppendersList((null!=(k=c.appenders)?k:[]).map(Tl)).setEditorsList((null!=(q=c.editors)?q:[]).map(Tl)).setReadersList((null!=(t=c.readers)?t:[]).map(Tl)).setRestrictedReadersList((null!=(w=
c.restrictedReaders)?w:[]).map(Tl)).setRestrictedPlusReadersList((null!=(y=c.restrictedPlusReaders)?y:[]).map(Tl));if(c.implicitAccess){d=e.setImplicitAccess;b:switch(c.implicitAccess){case "IMPLICIT_ACCESS_UNSPECIFIED":k=0;break b;case "ALLOW":k=1;break b;case "DENY":k=2;break b;default:throw Error("uc");}d.call(e,k)}d=h.call(f,e)}else{d=new vF;d.setAdminsList((null!=(f=c.admins)?f:[]).map(Em));d.setAppendersList((null!=(h=c.appenders)?h:[]).map(Em));var C;d.setEditorsList((null!=(C=c.editors)?C:
[]).map(Em));var J;d.setReadersList((null!=(J=c.readers)?J:[]).map(Em));var I;d.setRestrictedReadersList((null!=(I=c.restrictedReaders)?I:[]).map(Em));var P;d.setRestrictedPlusReadersList((null!=(P=c.restrictedPlusReaders)?P:[]).map(Em));c.implicitAccess&&d.setImplicitAccess(AZb[c.implicitAccess])}return this.executor.post({url:"action/access_policies/"+a,body:d,responseConstructor:vF}).pipe(D(uza))};
g.checkPermission=function(a,b,c,d){a=Kn(a.join(","));b=Kn(b);c=Kn(Ln(c,d));return this.executor.get({url:"action/check_permission/"+a+"/"+b+"/"+c,responseConstructor:IH}).pipe(D(qza))};g.setAccessLimit=function(a,b,c){a=Kn(Ln(a,b));c=(new HH).setAccessLevel(Rwa[c.accessLevel]);return this.executor.post({url:"action/access_limits/"+a,body:c,responseConstructor:HH}).pipe(D(nCa))};g.checkComponentImplicitAccessEnabled=function(a){return this.get("COMPONENT",a).pipe(D(function(b){return"ALLOW"===b.implicitAccess}))};
JH.\u0275fac=function(a){return new (a||JH)(p(SD))};JH.\u0275prov=Dc({token:JH,factory:JH.\u0275fac,providedIn:"root"});var KH=function(a){this.observableApi=a};g=KH.prototype;g.get=function(a,b){return(0,E.firstValueFrom)(this.observableApi.get(a,b))};g.update=function(a,b,c){return(0,E.firstValueFrom)(this.observableApi.update(a,b,c))};g.checkPermission=function(a,b,c,d){return(0,E.firstValueFrom)(this.observableApi.checkPermission(a,b,c,d))};
g.setAccessLimit=function(a,b,c){return(0,E.firstValueFrom)(this.observableApi.setAccessLimit(a,b,c))};g.checkComponentImplicitAccessEnabled=function(a){return(0,E.firstValueFrom)(this.observableApi.checkComponentImplicitAccessEnabled(a))};KH.\u0275fac=function(a){return new (a||KH)(p(JH))};KH.\u0275prov=Dc({token:KH,factory:KH.\u0275fac,providedIn:"root"});var LH=function(a){QG.call(this);this.accessPolicyApi=a;this.recordType="hotlistAccessPolicy";this.isEqual=$h};Y(LH,QG);LH.prototype.fetchOne=function(a){return this.accessPolicyApi.get("HOTLIST",a).pipe(D(function(b){return Object.assign({},{id:a},b)}))};LH.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)}))};LH.\u0275fac=function(a){return new (a||LH)(p(JH))};
LH.\u0275prov=Dc({token:LH,factory:LH.\u0275fac,providedIn:"root"});var z3b=function(a){this.internalArray_=m(a)};Y(z3b,n);g=z3b.prototype;g.getUser=function(){return vi(this,ri,5)};g.setUser=function(a){return ej(this,ri,5,a)};g.hasUser=function(){return Pi(this,ri,5)};g.getResourceType=function(){return Li(this,2,0)};g.setResourceType=function(a){hj(this,2,a)};g.hasResourceType=function(){return Ji(this,2)};g.getResourceId=function(){return Oi(this,3)};g.setResourceId=function(a){mj(this,3,a)};g.hasResourceId=function(){return null!=Ni(this,3)};
g.getName=function(){return xi(this,4)};g.setName=function(a){return gj(this,4,a)};g.hasName=function(){return yi(this,4)};g.getNameOrUndefined=function(){return $t(this,4)};var ho=function(a){this.internalArray_=m(a)};Y(ho,n);g=ho.prototype;g.getSavedSearchId=function(){return Ui(this,1)};g.setSavedSearchId=function(a){return Gl(this,1,a)};g.getName=function(){return xi(this,2)};g.setName=function(a){return Ol(this,2,a)};g.getDescription=function(){return xi(this,3)};g.setDescription=function(a){return Ol(this,3,a)};g.getQuery=function(){return xi(this,4)};g.setQuery=function(a){return Ol(this,4,a)};g.clearQuery=function(){lm(this,4)};
g.getDefaultOrderBy=function(){return xi(this,5)};g.setDefaultOrderBy=function(a){return Ol(this,5,a)};g.getDisplayPreferences=function(){return vi(this,cl,6)};g.setDisplayPreferences=function(a){return ej(this,cl,6,a)};g.getOwnersList=function(){return zi(this,Yk,7)};g.setOwnersList=function(a){return Zl(this,7,a)};ho.repeatedFields_=[7];var Mn=function(a){this.internalArray_=m(a)};Y(Mn,n);Mn.prototype.getIt=function(){return vi(this,ho,12)};Mn.prototype.setIt=function(a){return ej(this,ho,12,a)};Mn.prototype.hasIt=function(){return Pi(this,ho,12)};var MH=function(a){this.internalArray_=m(a,0,MH.messageId)};Y(MH,n);MH.prototype.getFavorite=function(){return vi(this,z3b,1)};MH.messageId="b.Favorite";var NH=function(a){this.internalArray_=m(a,0,NH.messageId)};Y(NH,n);NH.prototype.addHotlist=function(a){mq(this,1,al,a)};NH.prototype.setHotlist=function(a){return Qt(this,1,al,a)};NH.repeatedFields_=[1];NH.messageId="b.HotlistBatchResponse";var Nn=function(a){this.internalArray_=m(a)};Y(Nn,n);g=Nn.prototype;g.getId=function(){return Oi(this,1)};g.setId=function(a){return mj(this,1,a)};g.getName=function(){return xi(this,2)};g.setName=function(a){return gj(this,2,a)};g.hasName=function(){return yi(this,2)};g.getNameOrUndefined=function(){return $t(this,2)};g.getDescription=function(){return xi(this,3)};g.setDescription=function(a){return gj(this,3,a)};g.hasDescription=function(){return yi(this,3)};
g.getAdminUsersList=function(){return zi(this,ri,8)};g.getStarred=function(){return Hi(this,5)};g.setStarred=function(a){cj(this,5,a)};g.getResourceType=function(){return xi(this,6)};g.setResourceType=function(a){gj(this,6,a)};g.hasResourceType=function(){return yi(this,6)};Nn.repeatedFields_=[8];var On=function(a){this.internalArray_=m(a)};Y(On,n);g=On.prototype;g.getId=function(){return Oi(this,1)};g.setId=function(a){return mj(this,1,a)};g.getName=function(){return xi(this,2)};g.setName=function(a){return gj(this,2,a)};g.hasName=function(){return yi(this,2)};g.getNameOrUndefined=function(){return $t(this,2)};g.getDescription=function(){return xi(this,3)};g.setDescription=function(a){return gj(this,3,a)};g.hasDescription=function(){return yi(this,3)};
g.getAdminUsersList=function(){return zi(this,ri,8)};g.getStarred=function(){return Hi(this,5)};g.setStarred=function(a){cj(this,5,a)};On.repeatedFields_=[8,6];var OH=function(a){this.internalArray_=m(a,0,OH.messageId)};Y(OH,n);OH.prototype.getHotlistsList=function(){return zi(this,Nn,1)};OH.repeatedFields_=[1,2,3,4];OH.messageId="b.SidebarInfo";var PH=function(a){this.internalArray_=m(a,0,PH.messageId)};Y(PH,n);PH.repeatedFields_=[1];PH.messageId="b.UserRecentComponentResponse";var QH=function(a){this.internalArray_=m(a,0,QH.messageId)};Y(QH,n);QH.repeatedFields_=[1];QH.messageId="b.UserSavedSearchesResponse";var RH=function(a){this.executor=a};g=RH.prototype;g.getUserHotlists=function(){return this.executor.get({url:"action/current_user/hotlists",responseConstructor:NH}).pipe(D(Nwa))};g.getUserSidebar=function(){return this.executor.get({url:"action/current_user/sidebar",responseConstructor:OH}).pipe(D(uCa))};g.getRecentComponents=function(){return this.executor.get({url:"action/current_user/recent_components",responseConstructor:PH}).pipe(D(Kya))};
g.getUserSavedSearches=function(){return this.executor.get({url:"action/current_user/searches",responseConstructor:QH}).pipe(D(rCa))};g.getFavorite=function(a,b){return this.executor.get({url:"action/favorites/"+a+"/"+b,responseConstructor:MH}).pipe(D(pCa))};g.saveFavorite=function(a){var b=new z3b;b.setResourceType(FZb[a.resourceType]);b.setResourceId(String(a.resourceId));return this.executor.post({url:"action/favorites",body:b,responseConstructor:MH}).pipe(D(pCa))};
g.deleteFavorite=function(a){return this.executor.delete({url:"action/favorites/"+a.resourceType+"/"+a.resourceId,responseConstructor:null})};var A3b=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})};
RH.\u0275fac=function(a){return new (a||RH)(p(SD))};RH.\u0275prov=Dc({token:RH,factory:RH.\u0275fac,providedIn:"root"});var SH=function(a){this.observableApi=a};g=SH.prototype;g.getUserHotlists=function(){return(0,E.firstValueFrom)(this.observableApi.getUserHotlists())};g.getUserSidebar=function(){return(0,E.firstValueFrom)(this.observableApi.getUserSidebar())};g.getRecentComponents=function(){return(0,E.firstValueFrom)(this.observableApi.getRecentComponents())};g.getUserSavedSearches=function(){return(0,E.firstValueFrom)(this.observableApi.getUserSavedSearches())};
g.getFavorite=function(a,b){return(0,E.firstValueFrom)(this.observableApi.getFavorite(a,b))};g.saveFavorite=function(a){return(0,E.firstValueFrom)(this.observableApi.saveFavorite(a))};g.deleteFavorite=function(a){return(0,E.firstValueFrom)(this.observableApi.deleteFavorite(a))};SH.\u0275fac=function(a){return new (a||SH)(p(RH))};SH.\u0275prov=Dc({token:SH,factory:SH.\u0275fac,providedIn:"root"});var B3b={parent:"me"},TH=function(a,b,c){QG.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(B3b)})};Y(TH,QG);
TH.prototype.fetchOne=function(a){return this.observableHotlistResources.get(a).pipe(Le(function(b){return 403===b.status?(0,E.of)(void 0):(0,E.throwError)(b)}))};TH.prototype.fetchAll=function(a){if("me"===a.parent)return this.observableUserResources.getUserHotlists().pipe(D(function(b){return{results:b}}));Bk("Unsupported query for Fridge['"+this.recordType+"']",a);return(0,E.of)({results:[]})};
TH.prototype.fetchSet=function(a){return this.observableHotlistResources.bulkLoad(a).pipe(D(function(b){return(null!=b?b:[]).filter(jl)}))};TH.prototype.doSave=function(a){return this.observableHotlistResources.updateMetadata(a.hotlistId,a)};var C3b=function(a){return a.watchMany(B3b).pipe(D(function(b){return b.results}))};TH.\u0275fac=function(a){return new (a||TH)(p(SF),p(RH),p(lG))};TH.\u0275prov=Dc({token:TH,factory:TH.\u0275fac,providedIn:"root"});var vCa=function(a){this.internalArray_=m(a)};Y(vCa,n);vCa.repeatedFields_=[1];var D3b=!1;var xCa=YZb("last-visit"),yCa=YZb("last-visit-count"),ACa=ZZb("last-visit"),zCa=ZZb("last-visit-count");null==Date.now&&(Date.now=function(){return(new Date).getTime()});var Kp={ADD_USER_WITHOUT_ACCESS:"addUserWithoutAccess",BANNED_WORDS:"bannedWords",COMPONENT_PICKER:"componentPicker",CREATE_ISSUE:"createIssue",EDIT_ISSUE:"editIssue",EDIT_SLO:"editSlo",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_SIDEBAR:"issueSidebar",ISSUE_SLO:"issueSlo",JOURNEY:"journey",LINK_FIELD:"linkField",
LIST_ISSUES:"listIssues",LLM:"llm",LLM_SUMMARIZE:"llmSummarize",MAGIC_BOX:"magicBox",MANAGE_COMPONENT:"component",MISSION_CONTROL:"missionControl",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",SIMILAR_ISSUES:"similarIssues",SLO_REPORTS:"sloReports",TEAM_CARD:"teamCard",
TEAM_WARNING:"teamWarning",UPDATE_HISTORY_MODAL:"updateHistoryModal",WHATS_NEW:"whatsNew"};var UH=function(){var a=new $o(852,"0");a.setComponentId("");a.useSendBeaconForFinalFlush();a.useGetRequestForFinalFlush();a.sendBeaconApiEnabled=!0;a=new PB(852,void 0,void 0,void 0,void 0,a.build());a=this.service=new jWb(a);a.flushInterval=3E3;a.flushTimer.setInterval(3E3)};UH.\u0275fac=function(a){return new (a||UH)};UH.\u0275prov=Dc({token:UH,factory:UH.\u0275fac,providedIn:"root"});var E3b=Aj("debug-logging")(),VH=function(a,b){this.activeSession=a;this.streamz=b;this.pageLoadTime=new bZb(this.streamz.service);this.userLatency=new dZb(this.streamz.service);this.userActionCounter=new cZb(this.streamz.service);this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType()};
VH.prototype.timePageLoad=function(a,b){this.pageLoadTime.record(a,b,this.frontendAccessMode,this.environmentType);E3b&&console.log("Clearcut stub",{action:b,duration:a})};var WH=function(a,b,c){a.userLatency.record(b,c,a.frontendAccessMode,a.environmentType);E3b&&console.log("Clearcut stub",{action:c,duration:b})},F3b=function(a,b){a.userActionCounter.increment(b,a.frontendAccessMode,a.environmentType);E3b&&console.log("Clearcut stub",{action:b})};
VH.\u0275fac=function(a){return new (a||VH)(p(nt),p(UH))};VH.\u0275prov=Dc({token:VH,factory:VH.\u0275fac,providedIn:"root"});var G3b=Kp.GLOBAL_SEARCH,H3b=Kp.JOURNEY,I3b=Bj("journey-log"),J3b=Isa("journey-log"),XH={},K3b=(XH.ssue__edit="edit",XH.ssue__addComment="comment",XH["ssue__light-ixn"]="ixn",XH.ssue__copyIssueId="ixn",XH[G3b+"__.*__.*text"]="ilp-search",XH[G3b+"__.*__filters"]="ilp-filter",XH),YH={startEvents:["ilp-search"],successEvents:["edit","ixn","comment"],abortEvents:["ilp-filter","idle"],successMarker:"SUCCESS-search",count:["nav"]},ZH=function(a){this.clearcut=a},L3b=function(a,b){var c=void 0===c?Date.now():
c;var d,e=null!=(d=J3b())?d:[];e.push([b,c]);100<e.length&&(e=e.slice(-100));I3b(e);if(YH.successEvents.includes(b)){b=e;c=YH.abortEvents;d=YH.successEvents;e=YH.startEvents;for(var f=YH.successMarker,h,k=b.length-1;0<=k;k--){var q=l(b[k]),t=q.next().value;q=q.next().value;if(c.includes(t))break;if(f===t)break;if(d.includes(t)){if(h&&w)break;var w=q}else w&&e.includes(t)&&(h=q)}w=h&&w?[h,w]:void 0;w&&(w=l(w),h=w.next().value,w=w.next().value-h,WH(a.clearcut,w,CCa(H3b,"global-search-text")),Hk(H3b,
"global-search-text","duration",w),L3b(a,YH.successMarker))}};ZH.\u0275fac=function(a){return new (a||ZH)(p(VH))};ZH.\u0275prov=Dc({token:ZH,factory:ZH.\u0275fac,providedIn:"root"});var $H=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))}},M3b=function(a){Fk()&&(null!=a.observer&&a.observer.disconnect(),a.observer=new Lva.PerformanceObserver(a.onMeasurement),a.observer.observe({entryTypes:["measure"]}))};$H.\u0275fac=function(a){return new (a||$H)(p(VH))};
$H.\u0275prov=Dc({token:$H,factory:$H.\u0275fac,providedIn:"root"});var N3b=Aj("onedev-darkmode"),O3b=Aj("hasClickedCommentSortBtn"),aI=function(a,b,c,d){Z.call(this);var e=this;this.journeyTracker=d;this.preapply=function(){var w=P3b;return function(y){return function(C,J){e.trackEvent(w,y,C,J)}}};BCa();Ik("dimension13",b.getUserTypeLabel());d=b.getUserPreferences();var f=d.needsAttentionPreferences,h;f=null==f?"default":null==f?void 0:null==(h=f.selectedSignals)?void 0:h.length;Ik("dimension1",f);Jk("dimension7",N3b()?"dark":"default");var k;Jk("dimension3",null==
(k=d.themePreferences)?void 0:k.density);Jk("dimension6",yD(b,"readUnreadOptOut"));Jk("dimension8",yD(b,"enableEnhancedCommentThread"));Jk("dimension9",O3b());Jk("dimension14",yD(b,"enablePromptExperiment"));h=d.showFullHistory?"fh":"comments";var q;if(yD(b,"enableCommentFiltering")&&(null==(q=d.commentFilterPreferences)?0:q.commentFilter)){var t;h=null==(t=d.commentFilterPreferences)?void 0:t.commentFilter}Ik("dimension2",h);Ik("dimension5",d.showRecentEventsFirst?"newestFirst":"oldestFirst");Jk("dimension11",
yD(b,"enableHomepageVariantA"));this.subscriptions.add(a.viewContentLoaded.pipe($e(void 0)).subscribe(function(){var w=Bva(c.snapshot);bwa("page_location",w);Xva("page_view",{page_path:w})}))};Y(aI,Z);aI.\u0275dir=Z.\u0275dir;aI.prototype.trackEvent=function(a,b,c,d){Hk(a,b,c,"boolean"===typeof d?d?1:0:d);d=this.journeyTracker;a=CCa(a,b,c);b=l(Object.entries(K3b));for(c=b.next();!c.done;c=b.next()){var e=l(c.value);c=e.next().value;e=e.next().value;if(a.match(new RegExp(c))){L3b(d,e);break}}};
var Q3b=function(a,b,c){Xva("timing",Object.assign({},{timing_category:"userAction",timing_var:a,timing_value:b},void 0!==c?{timing_label:c}:{}))};aI.\u0275fac=function(a){return new (a||aI)(p(JE),p(nt),p(ik),p(ZH))};aI.\u0275prov=Dc({token:aI,factory:aI.\u0275fac,providedIn:"root"});var bI=function(a){this.internalArray_=m(a)};Y(bI,n);g=bI.prototype;g.getComponentId=function(){return Ui(this,1)};g.setComponentId=function(a){return Gl(this,1,a)};g.getType=function(){return Li(this,2,0)};g.setType=function(a){return Cl(this,2,a)};g.getPriority=function(){return Li(this,3,0)};g.setPriority=function(a){return Cl(this,3,a)};g.getSeverity=function(){return Li(this,4,0)};g.setSeverity=function(a){Cl(this,4,a)};g.getStatus=function(){return Li(this,5,0)};
g.setStatus=function(a){return Cl(this,5,a)};g.getReporter=function(){return vi(this,Yk,6)};g.setReporter=function(a){ej(this,Yk,6,a)};g.getAssignee=function(){return vi(this,Yk,7)};g.setAssignee=function(a){ej(this,Yk,7,a)};g.clearAssignee=function(){return lm(this,7)};g.getVerifier=function(){return vi(this,Yk,8)};g.setVerifier=function(a){ej(this,Yk,8,a)};g.clearVerifier=function(){return lm(this,8)};g.getCcsList=function(){return zi(this,Yk,9)};g.setCcsList=function(a){Zl(this,9,a)};
g.getCollaboratorsList=function(){return zi(this,Yk,23)};g.setCollaboratorsList=function(a){Zl(this,23,a)};g.setCollaborators=function(a){Qt(this,23,Yk,a)};g.getHotlistIdsList=function(){return Gj(this,10)};g.setHotlistIdsList=function(a){Rt(this,10,a)};g.addHotlistIds=function(a,b){return Pb(this,10,rb,a,b)};g.getBlockedByIssueIdsList=function(){return Gj(this,11)};g.setBlockedByIssueIdsList=function(a){Rt(this,11,a)};g.getBlockingIssueIdsList=function(){return Gj(this,12)};
g.setBlockingIssueIdsList=function(a){Rt(this,12,a)};g.getCanonicalIssueId=function(){return Ui(this,13)};g.setCanonicalIssueId=function(a){Gl(this,13,a)};g.getDuplicateIssueIdsList=function(){return Gj(this,14)};g.setDuplicateIssueIdsList=function(a){Rt(this,14,a)};g.getInProd=function(){return Hi(this,15)};g.setInProd=function(a){yl(this,15,a)};g.getSloSnoozeUntil=function(){return vi(this,Xi,16)};g.setSloSnoozeUntil=function(a){ej(this,Xi,16,a)};g.getSloEndTime=function(){return vi(this,Xi,25)};
g.setSloEndTime=function(a){ej(this,Xi,25,a)};g.hasSloEndTime=function(){return Pi(this,Xi,25)};g.getRetention=function(){return Li(this,17,0)};g.setRetention=function(a){Cl(this,17,a)};g.getEntityStatus=function(){return vi(this,Xl,18)};g.setEntityStatus=function(a){return ej(this,Xl,18,a)};g.getIsArchived=function(){return Hi(this,19)};g.setIsArchived=function(a){return yl(this,19,a)};g.getEffort=function(){return vi(this,$l,24)};g.setEffort=function(a){ej(this,$l,24,a)};
g.hasEffort=function(){return Pi(this,$l,24)};g.getAccessLimit=function(){return vi(this,Ul,26)};g.setAccessLimit=function(a){return ej(this,Ul,26,a)};bI.repeatedFields_=[9,23,10,11,12,14];var cI=function(a){this.internalArray_=m(a)};Y(cI,n);g=cI.prototype;g.getIssueId=function(){return Ui(this,1)};g.setIssueId=function(a){return Gl(this,1,a)};g.getIssueState=function(){return vi(this,bI,2)};g.setIssueState=function(a){return ej(this,bI,2,a)};g.hasIssueState=function(){return Pi(this,bI,2)};g.getVersion=function(){return Xh(this,3)};g.setVersion=function(a){return Tk(this,3,a)};g.getEtag=function(){return km(this,16)};g.setEtag=function(a){Wl(this,16,a)};
g.getCreatedTime=function(){return vi(this,Xi,4)};g.setCreatedTime=function(a){return ej(this,Xi,4,a)};g.getModifiedTime=function(){return vi(this,Xi,5)};g.setModifiedTime=function(a){return ej(this,Xi,5,a)};g.getSloId=function(){return Ui(this,9)};g.setSloId=function(a){return Gl(this,9,a)};g.getSloStatus=function(){return vi(this,Ym,10)};g.setSloStatus=function(a){ej(this,Ym,10,a)};g.hasSloStatus=function(){return Pi(this,Ym,10)};g.getTeamId=function(){return Ui(this,13)};
g.setTeamId=function(a){return Gl(this,13,a)};g.getRetentionState=function(){return vi(this,Wm,11)};g.setRetentionState=function(a){ej(this,Wm,11,a)};g.getAccessLimit=function(){return vi(this,el,12)};g.setAccessLimit=function(a){return ej(this,el,12,a)};g.getParentIssueIdsList=function(){return Gj(this,17)};g.setParentIssueIdsList=function(a){Rt(this,17,a)};g.getAncestorsMap=function(){return Mb(this,19,Zm,Oba)};g.getIsArchived=function(){return Hi(this,18)};
g.setIsArchived=function(a){return yl(this,18,a)};cI.repeatedFields_=[17];var dI=function(a){this.internalArray_=m(a,0,dI.messageId)};Y(dI,n);dI.prototype.getIt=function(){return vi(this,cI,14)};dI.prototype.setIt=function(a){return ej(this,cI,14,a)};dI.prototype.hasIt=function(){return Pi(this,cI,14)};dI.messageId="b.IssueMetadata";var eI=function(a){this.internalArray_=m(a)};Y(eI,n);eI.prototype.getIssueIdsList=function(){return Gj(this,1)};eI.prototype.setIssueIdsList=function(a){return Rt(this,1,a)};eI.prototype.addIssueIds=function(a){Pb(this,1,rb,a)};eI.repeatedFields_=[1];var R3b=function(a){this.internalArray_=m(a,0,R3b.messageId)};Y(R3b,n);R3b.messageId="b.UpdateIssueReadTimestampResponse";var fI=function(a){this.executor=a};fI.prototype.delete=function(a,b){var c=new AF;c.setIssueId(String(a));c.setReason(Aya[b]);return this.executor.post({url:"action/issues/"+a+"/delete",body:c,responseConstructor:null})};fI.prototype.undelete=function(a){var b=new GF;b.setIssueId(String(a));return this.executor.post({url:"action/issues/"+a+"/undelete",body:b,responseConstructor:null})};fI.prototype.getMetadata=function(a){return this.executor.get({url:"action/issues/"+a+"/metadata",responseConstructor:dI}).then(BAa)};
fI.prototype.markRead=function(a,b,c){b=void 0===b?!0:b;c=void 0===c?"USER_ACTIVITY_TYPE_UNDEFINED":c;a=(new eI).setIssueIdsList(a.map(Number));b=cj(a,2,b);c=hj(b,3,KZb[c]);return this.executor.post({url:"action/issues/read_timestamp",body:c,responseConstructor:R3b}).then(AAa)};fI.\u0275fac=function(a){return new (a||fI)(p(TD))};fI.\u0275prov=Dc({token:fI,factory:fI.\u0275fac,providedIn:"root"});var gI=function(){this.refreshRequest=new E.Subject};gI.prototype.getObservable=function(){return this.refreshRequest};var S3b=function(a,b){return a.getObservable().pipe($e(void 0)).pipe(af(function(){return b}))};gI.\u0275fac=function(a){return new (a||gI)};gI.\u0275prov=Dc({token:gI,factory:gI.\u0275fac,providedIn:"root"});var hI=Kp.ISSUE,iI=function(a,b,c,d,e,f,h,k){QG.call(this);var q=this;this.batchApiAdapter=a;this.issueResources=b;this.userResources=c;this.refreshMonitor=d;this.issueService=e;this.activeSession=f;this.hotlistFridge=h;this.analytics=k;this.recordType="issue";this.normalizeQueryResponses=!1;this.idForRecord=function(t){return String(t.issueId)};this.isEqual=$h;this.issueFetchResponse$=new E.Subject;this.get=this.batchApiAdapter.adapt({bufferTimeMs:0,call:function(t){return q.call(t)},split:function(t,
w){return q.splitBatch(t,w)}});this.refreshMonitor.getObservable().subscribe(function(){q.invalidate()})};Y(iI,QG);iI.prototype.fetchOne=function(a){return this.get(a).pipe(Le(function(){return(0,E.of)(void 0)}))};iI.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(jl)}))};
iI.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("Oc");};iI.prototype.copy=function(a){return a&&ai(a)};
var T3b=function(a,b,c){a.analytics.trackEvent(hI,"light-ixn","star");var d={starred:c,voted:null,notificationSubscription:null};xD(a.activeSession)&&(d.voted=c);return A3b(a.userResources,b,d).pipe(cf(function(){PG(a,b,function(e){e.userData&&(e.userData.starred=c,xD(a.activeSession)&&(e.userData.voted=c))})}))};
iI.prototype.setVoted=function(a,b){var c=this;this.analytics.trackEvent(hI,"light-ixn","vote",b);return A3b(this.userResources,a,{voted:b,starred:null,notificationSubscription:null}).pipe(cf(function(){PG(c,a,function(d){d.userData&&(d.userData.voted=b)})}))};
iI.prototype.setNotificationSubscription=function(a,b){var c=this,d;return qe(function(e){if(1==e.nextAddress)return c.analytics.trackEvent(hI,"light-ixn","notifs",Number(b)),d={voted:null,starred:null,notificationSubscription:b},e.yield((0,E.firstValueFrom)(A3b(c.userResources,a,d)),2);PG(c,a,function(f){f.userData&&(f.userData.notificationSubscription=b)});we(e)})};
var U3b=function(a,b,c){a.analytics.trackEvent(hI,"edit","title");var d={issueId:b,actions:[{fieldName:"title",value:c}]};PG(a,b,function(e){e.snapshot[0].title=c});return a.issueResources.updateIssue(b,d).pipe(cf(function(e){e&&a.announce(e.issue)}))},V3b=function(a,b,c,d){var e,f,h,k,q,t,w;return qe(function(y){if(1==y.nextAddress){a.analytics.trackEvent(hI,"edit","hotlists");e={removeHotlistIds:d,addHotlistIds:c,hotlistIssue:{issueId:b}};f=l([].concat(u(c),u(d)));for(h=f.next();!h.done;h=f.next())k=
h.value,a.hotlistFridge.setIsSaving(k);re(y,2);return y.yield((0,E.firstValueFrom)(a.issueResources.updateIssueHotlists(b,e)).finally(function(){for(var C=l([].concat(u(c),u(d))),J=C.next();!J.done;J=C.next())a.hotlistFridge.clearIsSaving(J.value)}),4)}if(2!=y.nextAddress)return(q=y.yieldResult)&&a.announce(q.issue),y.return(null==(t=q)?void 0:t.issue);w=ve(y);a.poke(b);throw w;})},W3b=function(a,b,c){return jI(a,"ADD","DUPLICATE",c,[b]).then(function(){return a.poke(b)})};
iI.prototype.removeDuplicate=function(a,b){var c=this;return jI(this,"REMOVE","DUPLICATE",b,[a]).then(function(){return c.poke(a)})};
var jI=function(a,b,c,d,e){if(0===e.length||null==d)return Promise.resolve(void 0);a.analytics.trackEvent(hI,"edit","relation",Number(c));b={relation:c,issueId:d,targetIds:e,actionType:b};X3b(a,b);var f=[d].concat(u(e));e=l(f);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=l(f),k=h.next();!k.done;k=h.next())a.clearIsSaving(k.value)})},
lI=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,f=void 0===c.userActivityType?"USER_ACTIVITY_TYPE_UNDEFINED":c.userActivityType,h,k,q,t;return qe(function(w){if(1==w.nextAddress)return a.activeSession.isAnonymous()?w.return():w.yield(a.issueService.markRead(b,d,f),2);h=w.yieldResult;if(e)for(k=l(b),q=k.next();!q.done;q=k.next())t=q.value,PG(a,String(t),function(y){y.userData&&(y.userData.lastViewedTimeMicros=h.readTimestamp)});
return w.return(h.readTimestamp?Math.round(h.readTimestamp/1E3):void 0)})},X3b=function(a,b){PG(a,b.issueId,function(c){switch(b.relation){case "BLOCKED_BY":if("ADD"===b.actionType){var d;c.snapshot[0].blockedByIssueId=[].concat(u(null!=(d=c.snapshot[0].blockedByIssueId)?d:[]),u(b.targetIds.map(String)))}else if("REMOVE"===b.actionType){var e,f;c.snapshot[0].blockedByIssueId=null!=(f=null==(e=c.snapshot[0].blockedByIssueId)?void 0:e.filter(function(h){return!b.targetIds.includes(String(h))}))?f:[]}}})};
iI.prototype.call=function(a){var b=this;if(1===a.size){var c=[].concat(u(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(u(a))).pipe(D(function(d){return new Map(d.map(function(e){return[e.issueId,e]}))}))};iI.prototype.splitBatch=function(a,b){return b.get(a)};iI.\u0275fac=function(a){return new (a||iI)(p(dF),p(jG),p(RH),p(gI),p(fI),p(nt),p(TH),p(aI))};
iI.\u0275prov=Dc({token:iI,factory:iI.\u0275fac,providedIn:"root"});var mI=function(a,b){QG.call(this);this.observableIssueResources=a;this.issueFridge=b;this.recordType="issue-fr";this.idForRecord=function(c){return c.issueId};this.isEqual=$h;this.destroyed$=new E.ReplaySubject(1);D3b?a=void 0:(D3b=!0,a=wCa());a&&Y3b(this,a);this.issueFridge.issueFetchResponse$.pipe(He(jl),D(ECa),bf(this.destroyed$)).subscribe(this.announce)};Y(mI,QG);
var nI=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})}))}))},oI=function(a,b,c){return a.poke(b,c).then(function(){return(0,E.firstValueFrom)(nI(a,b))})},Y3b=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)};
mI.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&&ECa(c)}),Le(function(c){b.issueFridge.clearIsGetting(a);return(0,E.throwError)(c)}))};mI.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};mI.prototype.copy=function(a){return a&&Object.assign({},a)};
mI.\u0275fac=function(a){return new (a||mI)(p(jG),p(iI))};mI.\u0275prov=Dc({token:mI,factory:mI.\u0275fac,providedIn:"root"});var Rn=function(a){this.internalArray_=m(a)};Y(Rn,n);var Z3b=function(a){this.internalArray_=m(a)};Y(Z3b,n);g=Z3b.prototype;g.getIssueId=function(){return Ui(this,1)};g.setIssueId=function(a){return Gl(this,1,a)};g.setRelationshipType=function(a){return Cl(this,2,a)};g.getIssueRelationship=function(){return vi(this,Rn,3)};g.setIssueRelationship=function(a){return ej(this,Rn,3,a)};g.setSignificanceOverride=function(a){return Cl(this,4,a)};var pI=function(a){this.internalArray_=m(a)};Y(pI,n);g=pI.prototype;g.getIssueId=function(){return Ui(this,1)};g.setIssueId=function(a){return Gl(this,1,a)};g.setRelationshipType=function(a){return Cl(this,2,a)};g.setRequestsList=function(a){return Zl(this,3,a)};g.addAndReturnRequests=function(){return Rb(this,3,Z3b)};g.setSignificanceOverride=function(a){return Cl(this,4,a)};pI.repeatedFields_=[3];var qI=function(a){this.internalArray_=m(a)};Y(qI,n);qI.prototype.getIssueId=function(){return Ui(this,1)};qI.prototype.setIssueId=function(a){return Gl(this,1,a)};qI.prototype.setRelationshipType=function(a){return Cl(this,2,a)};qI.prototype.setSignificanceOverride=function(a){return Cl(this,4,a)};qI.repeatedFields_=[3];var rI=function(a){this.internalArray_=m(a)};Y(rI,n);g=rI.prototype;g.setRelationshipType=function(a){return Cl(this,1,a)};g.getSourceIssueIdsList=function(){return Gj(this,2)};g.setSourceIssueIdsList=function(a){return Rt(this,2,a)};g.getQuery=function(){return xi(this,3)};g.setQuery=function(a){return Ol(this,3,a)};g.clearQuery=function(){lm(this,3)};rI.repeatedFields_=[2];var sI=function(a){this.internalArray_=m(a)};Y(sI,n);var $3b=function(a,b){return Rt(a,1,b)};sI.prototype.setRelationshipType=function(a){return Cl(this,2,a)};var a4b=function(a,b){return Tk(a,3,b)},b4b=function(a,b){return Tk(a,4,b)};sI.prototype.getQuery=function(){return xi(this,5)};sI.prototype.setQuery=function(a){return Ol(this,5,a)};sI.prototype.clearQuery=function(){lm(this,5)};sI.repeatedFields_=[1];var tI=function(a){this.internalArray_=m(a,0,tI.messageId)};Y(tI,n);tI.prototype.getIt=function(){return vi(this,pI,5)};tI.prototype.setIt=function(a){return ej(this,pI,5,a)};tI.prototype.hasIt=function(){return Pi(this,pI,5)};tI.messageId="b.BatchCreateIssueRelationshipsRequest";var uI=function(a){this.internalArray_=m(a,0,uI.messageId)};Y(uI,n);uI.prototype.getIssueRelationshipsList=function(){return zi(this,Rn,1)};uI.repeatedFields_=[1];uI.messageId="b.BatchCreateIssueRelationshipsResponse";var vI=function(a){this.internalArray_=m(a,0,vI.messageId)};Y(vI,n);vI.prototype.getIt=function(){return vi(this,qI,5)};vI.prototype.setIt=function(a){return ej(this,qI,5,a)};vI.prototype.hasIt=function(){return Pi(this,qI,5)};vI.messageId="b.BatchDeleteIssueRelationshipsRequest";var wI=function(a){this.internalArray_=m(a,0,wI.messageId)};Y(wI,n);wI.prototype.getIt=function(){return vi(this,rI,4)};wI.prototype.setIt=function(a){return ej(this,rI,4,a)};wI.prototype.hasIt=function(){return Pi(this,rI,4)};wI.messageId="b.BatchGetIssueRelationshipsRequest";var xI=function(a){this.internalArray_=m(a)};Y(xI,n);xI.prototype.getIssueRelationshipsList=function(){return zi(this,Rn,1)};xI.prototype.getTotalSize=function(){return Xh(this,2)};xI.repeatedFields_=[1];var yI=function(a){this.internalArray_=m(a,0,yI.messageId)};Y(yI,n);yI.repeatedFields_=[1];yI.messageId="b.BatchGetIssueRelationshipsResponse";var zI=function(a){this.internalArray_=m(a,0,zI.messageId)};Y(zI,n);zI.prototype.getIssueRelationship=function(){return vi(this,Rn,1)};zI.prototype.setIssueRelationship=function(a){return ej(this,Rn,1,a)};zI.messageId="b.CreateIssueRelationshipResponse";var AI=function(a){this.internalArray_=m(a,0,AI.messageId)};Y(AI,n);AI.prototype.getIt=function(){return vi(this,sI,6)};AI.prototype.setIt=function(a){return ej(this,sI,6,a)};AI.prototype.hasIt=function(){return Pi(this,sI,6)};AI.messageId="b.GetIssueDescendantsRequest";var c4b=function(a){this.internalArray_=m(a,0,c4b.messageId)};Y(c4b,n);c4b.messageId="b.GetIssueDescendantsResponse";var BI=function(a){this.internalArray_=m(a,0,BI.messageId)};Y(BI,n);BI.prototype.getIssueRelationshipsList=function(){return zi(this,Rn,1)};BI.repeatedFields_=[1];BI.messageId="b.ListIssueRelationshipsResponse";var CI=function(a){this.internalArray_=m(a,0,CI.messageId)};Y(CI,n);CI.prototype.getIssueRelationship=function(){return vi(this,Rn,1)};CI.prototype.setIssueRelationship=function(a){return ej(this,Rn,1,a)};CI.messageId="b.UpdateIssueRelationshipResponse";var DI=function(a){this.executor=a};g=DI.prototype;g.list=function(a,b){return this.executor.get({url:"action/issues/"+a+"/relationships?relationshipType="+$C[b],responseConstructor:BI}).pipe(D(function(c){return c.getIssueRelationshipsList().map(Sn)}))};g.create=function(a,b,c){b=$C[b];c=FCa(c);return this.executor.post({url:"action/issues/"+a+"/relationships?relationshipType="+b,body:c,responseConstructor:zI}).pipe(D(function(d){return Sn(d.getIssueRelationship())}))};
g.update=function(a,b,c){b=$C[b];var d=FCa(c);return this.executor.put({url:"action/issues/"+a+"/relationships/"+c.targetIssueId+"?relationshipType="+b,body:d,responseConstructor:CI}).pipe(D(function(e){return Sn(e.getIssueRelationship())}))};g.delete=function(a,b,c){return this.executor.delete({url:"action/issues/"+a+"/relationships/"+c+"?relationshipType="+$C[b],responseConstructor:null})};
g.batchGet=function(a,b){b=$C[b];a=(new wI).setIt((new rI).setSourceIssueIdsList(a).setRelationshipType(b).setQuery(this.getQuery(void 0)));return this.executor.post({url:"action/issues/batch_relationships",body:a,responseConstructor:yI}).pipe(D(function(c){return zi(c,xI,1).map(GCa)}))};
var d4b=function(a,b,c){var d=$C.CHILD;c=c.map(function(e){e=FCa(e);return(new Z3b).setIssueRelationship(e)});b=(new tI).setIt((new pI).setIssueId(b).setRelationshipType(d).setSignificanceOverride(1<c.length?4:0).setRequestsList(c));return a.executor.post({url:"action/issues/relationships_batchCreate",body:b,responseConstructor:uI}).pipe(D(function(e){return e.getIssueRelationshipsList().map(Sn)}))},e4b=function(a,b,c){var d=$C.CHILD,e=new vI,f=e.setIt;b=(new qI).setIssueId(b).setRelationshipType(d);
c=Rt(b,3,c);e=f.call(e,c);return a.executor.post({url:"action/issues/relationships_batchDelete",body:e,responseConstructor:null})};
DI.prototype.getDescendants=function(a){var b=a.issueIds,c=a.includeArchived,d=a.depthLimit,e=a.prefixSizeLimit;a=$C[a.relationshipType];b=(new AI).setIt(b4b(a4b($3b(new sI,b).setRelationshipType(a).setQuery(this.getQuery(c)),d),e));return this.executor.post({url:"action/issues/descendants",body:b,responseConstructor:c4b}).pipe(D(function(f){var h=new Map;f=Mb(f,1,xI,Oba);f=l(f.entries());for(var k=f.next();!k.done;k=f.next()){var q=l(k.value);k=q.next().value;q=q.next().value;h.set(String(k),GCa(q))}return h}))};
DI.prototype.getQuery=function(a){return a?"include_archived:true":"include_archived:false"};DI.\u0275fac=function(a){return new (a||DI)(p(SD))};DI.\u0275prov=Dc({token:DI,factory:DI.\u0275fac,providedIn:"root"});var EI={},f4b=(EI.BUG="BUG",EI.FEATURE_REQUEST="FEATURE_REQUEST",EI.CUSTOMER_ISSUE="CUSTOMER_ISSUE",EI.INTERNAL_CLEANUP="INTERNAL_CLEANUP",EI.PROCESS="PROCESS",EI.VULNERABILITY="VULNERABILITY",EI.PRIVACY_ISSUE="PRIVACY_ISSUE",EI.EPIC="STORY",EI.STORY="TASK",EI.TASK="TASK",EI.PROJECT="TASK",EI.FEATURE="TASK",EI.MILESTONE="TASK",EI);var FI=function(a,b,c){OG.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=$h;this.activeMoveOperation$=new E.BehaviorSubject(new Set);this.defaultQuery={type:"descendants",depth:1};this.assignParentToIssues=ICa(function(e,f){return g4b(d,e,f)});this.assignParentToOneIssue=function(e,f){return g4b(d,String(e),[{issueId:f}])};
this.moveChildrenInAPI=HCa(function(e){return d.moveChildrenInAPISequentially(e)});this.moveChildrenInAPISequentially=ICa(function(e){var f,h,k,q,t,w,y,C,J,I,P,O,U,aa,na,sa,Ba,Pa,Ja,cb,qb,Ra,fa,wa;return qe(function(Ca){switch(Ca.nextAddress){case 1:h=PCa(e);if(0===h.length)return Ca.return();k=h.map(function(Wa){return Wa.issues.map(function(Va){return Va.parentId})}).flat();q=h.map(function(Wa){return Wa.newParentId});t=Qj([].concat(u(k),u(q)));w=l(t);for(y=w.next();!y.done;y=w.next())C=y.value,
d.setIsSaving(C);re(Ca,2);J=l(h);I=J.next();case 4:if(I.done){tt(Ca,3);break}P=I.value;O=l(P.newRelations);U=O.next();aa={};case 7:if(U.done){I=J.next();Ca.jumpTo(4);break}aa.newRelation=U.value;na=P.issues.find(function(Wa){return function(Va){return Va.issueId===Wa.newRelation.targetIssueId}}(aa)).parentId;return P.newParentId===na?Ca.yield((0,E.firstValueFrom)(d.issueRelationshipService.update(P.newParentId,"CHILD",{afterIssueId:aa.newRelation.afterIssueId,targetIssueId:aa.newRelation.targetIssueId})),
8):Ca.yield((0,E.firstValueFrom)(d.issueRelationshipService.create(P.newParentId,"CHILD",{afterIssueId:aa.newRelation.afterIssueId,targetIssueId:aa.newRelation.targetIssueId})).catch(function(Wa){var Va,qd;if(!(null==Wa?0:null==(Va=Wa.error)?0:null==(qd=Va.details)?0:qd.includes("ALREADY_EXISTS")))throw Wa;}),12);case 12:return Ca.yield((0,E.firstValueFrom)(d.issueRelationshipService.delete(na,"CHILD",aa.newRelation.targetIssueId)),8);case 8:aa={newRelation:aa.newRelation};U=O.next();Ca.jumpTo(7);
break;case 2:f=sa=ve(Ca);case 3:Ba=d.activeMoveOperation$.value;Pa=l(e.map(function(Wa){return Wa.eventTimestamps}).flat());for(Ja=Pa.next();!Ja.done;Ja=Pa.next())cb=Ja.value,Ba.delete(cb);d.activeMoveOperation$.next(Ba);qb=l(t);for(y=qb.next();!y.done;y=qb.next())Ra=y.value,d.clearIsSaving(Ra);Promise.all(t.map(function(Wa){return d.poke(Wa)}));fa=l(h);for(I=fa.next();!I.done;I=fa.next())wa=I.value,f&&wa.done.reject(f),wa.done.resolve();we(Ca)}})});this.refreshMonitor.getObservable().subscribe(function(){d.invalidate()})};
Y(FI,OG);FI.prototype.fetchOne=function(a){var b=this;return h4b(this,function(){return b.issueRelationshipService.list(a,"CHILD").pipe(D(function(c){return{issueId:a,relatedChildren:c,totalChildCount:c.length}}),Le(function(c){return wn(c)&&403===c.status?(0,E.of)(void 0):(0,E.throwError)(c)}))})};
FI.prototype.fetchAll=function(a){var b=this;switch(a.type){case "descendants":var c,d=[].concat(u(null!=(c=a.ids)?c:[]));return 0===d.length?(0,E.of)({results:[]}):h4b(this,function(){return b.issueRelationshipService.getDescendants({issueIds:d,relationshipType:"CHILD",includeArchived:!!a.includeArchived,depthLimit:a.depth,prefixSizeLimit:500}).pipe(D(KCa),D(function(e){return{results:e}}))});default:Oh(a.type)}};FI.prototype.copy=function(a){return a&&ai(a)};
var h4b=function(a,b){var c=function(){return a.activeMoveOperation$.pipe(He(function(d){return 0===d.size}),af(function(){return b()}),af(function(d){return 0===a.activeMoveOperation$.value.size?(0,E.of)(d):c()}),Qe())};return c()},i4b=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})}))},j4b=function(a,b,c){return a.watchMany({type:"descendants",ids:new Set([b]),depth:void 0===c?100:c})},k4b=function(a,
b,c){return a.pokeMany({type:"descendants",ids:new Set([b]),depth:void 0===c?100:c})};
FI.prototype.unlinkFromParent=function(a,b,c){c=void 0===c?!1:c;var d=this,e;return qe(function(f){switch(f.nextAddress){case 1:PG(d.issueFridge,b,function(h){--h.childIssueCount});PG(d.issueFridge,a,function(h){h.parentIssueIds=h.parentIssueIds.filter(function(k){return k!==b})});PG(d,b,function(h){var k=h.relatedChildren;h.relatedChildren=OCa(k,a);h.totalChildCount-=k.length-h.relatedChildren.length});if(c)return f.return();re(f,2);return f.yield((0,E.firstValueFrom)(d.issueRelationshipService.delete(b,
"CHILD",a)),4);case 4:tt(f,0);break;case 2:return e=ve(f),f.yield(Promise.all([d.poke(b),d.issueFridge.poke(b),d.issueFridge.poke(a)]),5);case 5:throw e;}})};
var g4b=function(a,b,c){var d,e,f,h,k,q,t,w,y;return qe(function(C){switch(C.nextAddress){case 1:d=[];e=[];f=[];if(0===c.length)return C.return({added:d,notAdded:e});h=l4b(a,b);k=c.map(function(J,I){var P="-1"===J.afterIssueId?h:J.afterIssueId;return{targetIssueId:J.issueId,afterIssueId:I?c[I-1].issueId:P}});m4b(a,b,k);q=l(k);t=q.next();case 2:if(t.done){C.jumpTo(4);break}w=t.value;re(C,5);return C.yield((0,E.firstValueFrom)(a.issueRelationshipService.create(b,"CHILD",{targetIssueId:w.targetIssueId,
afterIssueId:w.afterIssueId})),7);case 7:d.push(w.targetIssueId);tt(C,3);break;case 5:y=ve(C);if(!wn(y))throw y;f.push(y);e.push(w.targetIssueId);case 3:t=q.next();C.jumpTo(2);break;case 4:return Promise.all([a.poke(b),a.issueFridge.poke(b)]),C.return(Object.assign({},{added:d,notAdded:e},f.length?{errors:f}:{}))}})},m4b=function(a,b,c){var d=0;PG(a,b,function(e){var f=NCa(e.relatedChildren,c);d=f.length-e.relatedChildren.length;e.relatedChildren=f;e.totalChildCount+=d},{evenWhenInFlight:!0});PG(a.issueFridge,
b,function(e){e.childIssueCount+=d},{evenWhenInFlight:!0})},n4b=function(a,b,c){var d,e,f,h,k,q,t,w,y,C,J,I;return qe(function(P){if(1==P.nextAddress)return d=[],e=[],f=[],0===c.length?P.return({added:d,notAdded:e}):P.yield(Promise.allSettled(c.map(function(O){return(0,E.firstValueFrom)(a.issueRelationshipService.create(O,"CHILD",{targetIssueId:b,afterIssueId:l4b(a,O)}))})),2);h=P.yieldResult;k=l(h.entries());for(q=k.next();!q.done;q=k.next())t=q.value,w=l(t),y=w.next().value,C=w.next().value,J=y,
I=C,"fulfilled"===I.status&&d.push(c[J]),"rejected"===I.status&&(e.push(c[J]),f.push(I.reason));Promise.all(c.map(function(O){return a.poke(O)}));return P.return({added:d,notAdded:e,errors:f})})},o4b=function(a,b,c){var d=b.parentId,e=Date.now();a.activeMoveOperation$.next(a.activeMoveOperation$.value.add(e));for(var f=l(c),h=f.next(),k={};!h.done;k={issue$jscomp$36:k.issue$jscomp$36},h=f.next())k.issue$jscomp$36=h.value,PG(a,k.issue$jscomp$36.parentId,function(U){return function(aa){aa.relatedChildren=
OCa(aa.relatedChildren,U.issue$jscomp$36.issueId);--aa.totalChildCount}}(k));var q=void 0,t;if(null==(t=b.position)?0:t.issueId){var w;if("after"===(null==(w=b.position)?void 0:w.position))q=b.position.issueId;else{var y;if("before"===(null==(y=b.position)?void 0:y.position)){var C,J;f=null!=(J=null==(C=a.memory.getData(d))?void 0:C.relatedChildren)?J:[];C=l(f.entries());for(J=C.next();!J.done;J=C.next())if(h=l(J.value),J=h.next().value,h=h.next().value,h.targetIssueId===b.position.issueId){b=void 0;
q=null==(b=f[J-1])?void 0:b.targetIssueId;break}}}}var I=c.map(function(U,aa){return{targetIssueId:U.issueId,afterIssueId:aa?c[aa-1].issueId:q}});void 0!==p3b(a,d)?PG(a,d,function(U){U.relatedChildren=NCa(U.relatedChildren,I);U.totalChildCount+=I.length},{evenWhenInFlight:!0}):a.announce({issueId:d,relatedChildren:NCa([],I),totalChildCount:I.length});b=new kta;var P,O;a.moveChildrenInAPI({newParentId:d,newRelations:I,issues:c,eventTimestamps:[e],newParentChildrenSnapshot:null!=(O=null==(P=a.memory.getData(d))?
void 0:P.relatedChildren)?O:[],done:b});return b.promise},l4b=function(a,b){var c;a=null==(c=a.memory.getData(b))?void 0:c.relatedChildren;var d;return null==a?void 0:null==(d=a[(null==a?NaN:a.length)-1])?void 0:d.targetIssueId};FI.\u0275fac=function(a){return new (a||FI)(p(DI),p(iI),p(gI))};FI.\u0275prov=Dc({token:FI,factory:FI.\u0275fac,providedIn:"root"});var GI=function(a){QG.call(this);this.userAccess=a;this.recordType="permissions"};Y(GI,QG);GI.prototype.fetchOne=function(a){return this.fetchSet([a]).pipe(D(function(b){return l(b).next().value}))};GI.prototype.fetchSet=function(a){var b=this;return(0,E.combineLatest)(a.map(function(c){return(0,E.defer)(function(){return B2b(b.userAccess,c).then(function(d){return Object.assign({},d,{id:c})})})}))};GI.\u0275fac=function(a){return new (a||GI)(p(VF))};
GI.\u0275prov=Dc({token:GI,factory:GI.\u0275fac,providedIn:"root"});var HI=function(a){QG.call(this);this.api=a;this.recordType="recentEventsForIssues";this.idForRecord=function(b){return b.id.query+"-"+b.id.pageSize}};Y(HI,QG);HI.prototype.isEqual=function(a,b){return(null==a?void 0:a.id.query)!==(null==b?void 0:b.id.query)||(null==a?void 0:a.id.pageSize)!==(null==b?void 0:b.id.pageSize)?!1:PBa(null==a?void 0:a.events,null==b?void 0:b.events)};
HI.prototype.fetchOne=function(a){a=l(a.split("-"));var b=a.next().value,c=a.next().value;return E2b(this.api,{query:b,maximumSize:Number(c),minimumSignificance:"MAJOR"}).pipe(D(function(d){return{id:{query:b,pageSize:Number(c)},events:d}}))};HI.\u0275fac=function(a){return new (a||HI)(p(jG))};HI.\u0275prov=Dc({token:HI,factory:HI.\u0275fac,providedIn:"root"});var II=function(a){this.internalArray_=m(a,0,II.messageId)};Y(II,n);II.prototype.setSearch=function(a,b){Qt(this,1,Mn,a,b)};II.repeatedFields_=[1];II.messageId="b.BatchGetSearchesResponse";var JI=function(a){this.internalArray_=m(a,0,JI.messageId)};Y(JI,n);JI.prototype.getSearch=function(){return vi(this,Mn,1)};JI.prototype.setSearch=function(a){ej(this,Mn,1,a)};JI.messageId="b.SearchResponse";var KI=function(a){this.jspbExecutor=a};g=KI.prototype;g.get=function(a){return this.jspbExecutor.get({url:"action/saved_searches/"+a,responseConstructor:JI}).pipe(D(QCa))};g.batchGet=function(a){if(500<a.length)throw Error("Pc");return this.jspbExecutor.get({url:"action/saved_searches?"+a.map(function(b){return"id="+b}).join("&"),responseConstructor:II}).pipe(D(RCa))};
g.create=function(a,b){a=(new Mn).setIt((new ho).setName(a).setQuery(b));return this.jspbExecutor.post({url:"action/saved_searches",body:a,responseConstructor:JI}).pipe(D(QCa))};
g.update=function(a,b){var c=new Mn;var d=c.setIt,e,f,h=(new ho).setSavedSearchId(b.searchId).setName(b.name).setDescription(b.description).setQuery(b.query).setDefaultOrderBy((null!=(e=b.sortOrder)?e:[]).map(Hwa).join(","));e=h.setDisplayPreferences;var k=null!=(f=b.displayColumn)?f:[];f=new cl;k=k.map(Bwa);f=pj(f,1,k);b=e.call(h,f).setOwnersList(b.adminUsers.map(Zk));c=d.call(c,b);return this.jspbExecutor.post({url:"action/saved_searches/"+a,body:c,responseConstructor:JI}).pipe(D(QCa))};
g.delete=function(a){return this.jspbExecutor.delete({url:"action/saved_searches/"+a,responseConstructor:null})};KI.\u0275fac=function(a){return new (a||KI)(p(SD))};KI.\u0275prov=Dc({token:KI,factory:KI.\u0275fac,providedIn:"root"});var LI=function(a){this.observableResources=a};g=LI.prototype;g.get=function(a){return(0,E.firstValueFrom)(this.observableResources.get(a))};g.batchGet=function(a){return(0,E.firstValueFrom)(this.observableResources.batchGet(a))};
g.create=function(a,b){return(0,E.firstValueFrom)(this.observableResources.create(a,b))};g.update=function(a,b){return(0,E.firstValueFrom)(this.observableResources.update(a,b))};g.delete=function(a){return(0,E.firstValueFrom)(this.observableResources.delete(a))};LI.\u0275fac=function(a){return new (a||LI)(p(KI))};LI.\u0275prov=Dc({token:LI,factory:LI.\u0275fac,providedIn:"root"});var p4b={results:[]},MI=function(a,b){QG.call(this);this.userResourcesApi=a;this.savedSearchApi=b;this.recordType="savedSearch";this.idKey="searchId"};Y(MI,QG);MI.prototype.fetchOne=function(a){return this.savedSearchApi.get(a)};MI.prototype.fetchSet=function(a){return this.savedSearchApi.batchGet(a)};
MI.prototype.fetchAll=function(a){if("me"===a.parent)return this.userResourcesApi.getUserSavedSearches().pipe(D(function(b){return{results:b}}));Bk("Unsupported query for Fridge['"+this.recordType+"']",a);return(0,E.of)(p4b)};MI.\u0275fac=function(a){return new (a||MI)(p(RH),p(KI))};MI.\u0275prov=Dc({token:MI,factory:MI.\u0275fac,providedIn:"root"});var q4b=function(a){this.internalArray_=m(a)};Y(q4b,n);q4b.repeatedFields_=[1];var cDa=new Set(["READY_TO_SUBMIT","NEEDS_ATTENTION","THREAD_MENTIONS_ME","TAGGED_IN_COMMENT","REQUIRES_APPROVAL"]);var NI=function(a){this.internalArray_=m(a,0,NI.messageId)};Y(NI,n);NI.repeatedFields_=[1];NI.messageId="mc.BatchUpdateTasksDismissStateRequest";var aDa=function(a){this.internalArray_=m(a)};Y(aDa,n);var Yn=[1,2,3,5];var TCa=function(a){this.internalArray_=m(a)};Y(TCa,n);g=TCa.prototype;g.getResourceId=function(){return xi(this,1)};g.setResourceId=function(a){Ol(this,1,a)};g.getTimestamp=function(){return vi(this,Xi,3)};g.setTimestamp=function(a){return ej(this,Xi,3,a)};g.hasTimestamp=function(){return Pi(this,Xi,3)};g.getUrl=function(){return vi(this,vD,4)};g.setUrl=function(a){return ej(this,vD,4,a)};g.hasUrl=function(){return Pi(this,vD,4)};var r4b=function(a){this.internalArray_=m(a)};Y(r4b,n);r4b.repeatedFields_=[1,2];var OI=function(a){this.internalArray_=m(a,0,OI.messageId)};Y(OI,n);OI.prototype.getResponsesList=function(){return zi(this,r4b,1)};OI.repeatedFields_=[1];OI.messageId="b.GetPriorityTasksResponse";var PI=function(a){this.executor=a},s4b=function(a,b){var c=new q4b;var d=b.sources.map(dDa);c=oj(c,1,d);b=Tk(c,2,b.maxTaskAgeDays);return a.executor.post({url:"action/tasks/priority_tasks_v1",responseConstructor:OI,body:b}).pipe(D($Ca))};PI.prototype.dismiss=function(a){var b=new NI;a=pj(b,1,a);a=yl(a,2,!0);return this.executor.post({url:"action/tasks/dismiss",body:a,responseConstructor:null})};PI.\u0275fac=function(a){return new (a||PI)(p(SD))};PI.\u0275prov=Dc({token:PI,factory:PI.\u0275fac,providedIn:"root"});var t4b={sources:["CRITIQUE","DRIVE"],maxTaskAgeDays:30},QI=function(a){OG.call(this);this.api=a;this.recordType="Task";this.idKey="taskId";this.defaultQuery=t4b};Y(QI,OG);QI.prototype.fetchAll=function(a){a=void 0===a?{}:a;a=Object.assign({},t4b,a);return s4b(this.api,a).pipe(D(function(b){b=void 0===b?[]:b;return{results:b}}))};QI.\u0275fac=function(a){return new (a||QI)(p(PI))};QI.\u0275prov=Dc({token:QI,factory:QI.\u0275fac,providedIn:"root"});var u4b=function(a,b){this.rawGet=a;this.cacheSize=b;this.lruCache=new lF(this.cacheSize,!0,function(c,d){d.subscription.unsubscribe()})};u4b.prototype.get=function(a){var b=this;return new E.Observable(function(c){var d=b.lruCache.get(a);d||(d=v4b(b,a));return d.obs$.subscribe(c)})};
var v4b=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 w4b(c,d);a.lruCache.set(b,c);return c},w4b=function(a,b){this.obs$=a;this.subscription=b};var RI=function(a){this.internalArray_=m(a,0,RI.messageId)};Y(RI,n);RI.prototype.getIt=function(){return vi(this,qF,14)};RI.prototype.setIt=function(a){return ej(this,qF,14,a)};RI.prototype.hasIt=function(){return Pi(this,qF,14)};RI.messageId="b.TeamState";var x4b=function(a){this.internalArray_=m(a)};Y(x4b,n);g=x4b.prototype;g.getPathIdsList=function(){return ui(this,1)};g.setPathIdsList=function(a){return Nb(this,1,a,rb)};g.getPathNamesList=function(){return Yh(this,2)};g.setPathNamesList=function(a){return pj(this,2,a)};g.getId=function(){return Oi(this,3)};g.setId=function(a){return mj(this,3,a)};g.getName=function(){return xi(this,4)};g.setName=function(a){return gj(this,4,a)};g.hasName=function(){return yi(this,4)};
g.getNameOrUndefined=function(){return $t(this,4)};g.getDescription=function(){return xi(this,5)};g.setDescription=function(a){return gj(this,5,a)};g.hasDescription=function(){return yi(this,5)};x4b.repeatedFields_=[1,2];var y4b=function(a){this.internalArray_=m(a)};Y(y4b,n);g=y4b.prototype;g.getId=function(){return Oi(this,1)};g.setId=function(a){return mj(this,1,a)};g.getName=function(){return xi(this,2)};g.setName=function(a){return gj(this,2,a)};g.hasName=function(){return yi(this,2)};g.getNameOrUndefined=function(){return $t(this,2)};g.getDescription=function(){return xi(this,3)};g.setDescription=function(a){return gj(this,3,a)};g.hasDescription=function(){return yi(this,3)};var SI=function(a){this.internalArray_=m(a,0,SI.messageId)};Y(SI,n);var z4b=function(a,b){return Nb(a,1,b,rb)};SI.repeatedFields_=[1];SI.messageId="b.BatchChildTeamsRequest";var A4b=function(a){this.internalArray_=m(a)};Y(A4b,n);A4b.repeatedFields_=[1];var B4b=function(a){this.internalArray_=m(a,0,B4b.messageId)};Y(B4b,n);B4b.messageId="b.BatchChildTeamsResponse";var TI=function(a){this.internalArray_=m(a,0,TI.messageId)};Y(TI,n);TI.messageId="b.BatchGetTeamsResponse";var UI=function(a){this.internalArray_=m(a,0,UI.messageId)};Y(UI,n);UI.prototype.getTeamSuggestionsList=function(){return zi(this,x4b,1)};UI.prototype.setTeamSuggestionsList=function(a){Zl(this,1,a)};UI.repeatedFields_=[1];UI.messageId="b.TeamSuggestionResult";var VI=function(a){this.internalArray_=m(a,0,VI.messageId)};Y(VI,n);VI.prototype.getIt=function(){return vi(this,Jl,3)};VI.prototype.setIt=function(a){return ej(this,Jl,3,a)};VI.prototype.hasIt=function(){return Pi(this,Jl,3)};VI.messageId="b.UpdateTeamSloRequest";var WI=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 u4b(function(e){return d.batchAdaptedGet(e)},100)};WI.prototype.get=function(a){return this.executor.get({url:"action/teams/"+a,responseConstructor:RI}).pipe(D($n))};WI.prototype.getTeam=function(a){return this.memoizingTeamStateMap.get(a)};
var XI=function(a,b){return a.getTeam(b).pipe(D(function(c){return null!=c?c:gDa(b)}),Le(function(){return(0,E.of)(gDa(b))}))},C4b=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=l(c);for(var e=c.next();!e.done;e=c.next())(e=e.value)&&d.set(e.teamId,e);return d}))};
WI.prototype.getChildTeams=function(a){a=z4b(new SI,a);return this.executor.post({url:"action/child_teams",body:a,responseConstructor:B4b}).pipe(D(function(b){b=[].concat(u(Mb(b,1,A4b,wb).entries()));return new Map(b.map(function(c){var d=l(c);c=d.next().value;d=d.next().value;return[c,zi(d,y4b,1).map(eDa)]}))}))};
var YI=function(a,b){return a.executor.get({url:"action/suggest_teams",options:{params:{query:b}},responseConstructor:UI}).pipe(D(function(c){return c.getTeamSuggestionsList().map(fDa)}))},D4b=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&&qi(e.user)===c}))}))},E4b=function(a,b){return a.executor.get({url:"action/teams",options:{params:{teamIds:b.join(","),view:"full"}},responseConstructor:TI}).pipe(Le(function(){return(0,E.of)(new TI)}),
D(function(c){return new Map(Array.from(Mb(c,1,RI,wb).entries()).map(function(d){var e=l(d);d=e.next().value;e=e.next().value;e=$n(e);return[d,e.estimatedComponentCount]}))}))};
WI.prototype.updateTeam=function(a){var b=new RI,c=new qF,d,e,f=c.setId(Number(a.teamId)).setName(a.name).setDescription(a.description).setPathNamesList(a.pathNames).setPathIdsList(null==(d=a.pathIds)?void 0:d.map(fl).filter(jl));d=pj(f,5,a.collapsedPathNames).setMembersList(null==(e=a.members)?void 0:e.map(Lxa));yl(d,9,a.deleted);e=new Zn;d=e.setVersion(a.version);Gl(d,3,a.estimatedComponentCount).setSlo(Mxa(a.slo));a.sloLead&&(d=Zk(a.sloLead),ej(e,Yk,4,d));a.defaultSloLead&&(d=Zk(a.defaultSloLead),
ej(e,Yk,5,d));ej(c,Zn,7,e);b.setIt(c);return this.executor.post({url:"action/teams/"+a.teamId,body:b,responseConstructor:RI}).pipe(D($n))};WI.\u0275fac=function(a){return new (a||WI)(p(SD),p(ZI),p(dF))};WI.\u0275prov=Dc({token:WI,factory:WI.\u0275fac,providedIn:"root"});var ZI=function(a){this.executor=a};ZI.prototype.call=function(a){return this.executor.get({url:"action/teams",options:{params:{teamIds:[].concat(u(a)).join(",")}},responseConstructor:TI}).pipe(Le(function(){return(0,E.of)(new TI)}))};
ZI.prototype.split=function(a,b){return(a=Mb(b,1,RI,wb).get(a))?$n(a):void 0};ZI.\u0275fac=function(a){return new (a||ZI)(p(SD))};ZI.\u0275prov=Dc({token:ZI,factory:ZI.\u0275fac,providedIn:"root"});var $I=function(a){OG.call(this);this.teamsApi=a;this.defaultQuery={};this.recordType="TeamDigest";this.idForRecord=function(b){var c;return null!=(c=b.teamId)?c:"NO_ID"}};Y($I,OG);$I.prototype.fetchAll=function(a){if(a.myTeams)return YI(this.teamsApi,"").pipe(D(function(b){b=void 0===b?[]:b;return{results:b}}));throw Error("Sc");};$I.\u0275fac=function(a){return new (a||$I)(p(WI))};$I.\u0275prov=Dc({token:$I,factory:$I.\u0275fac,providedIn:"root"});var aJ=function(a){QG.call(this);this.teamsApi=a;this.recordType="team";this.idForRecord=function(b){return b.teamId}};Y(aJ,QG);aJ.prototype.fetchOne=function(a){return"0"===a?(0,E.of)(void 0):this.teamsApi.getTeam(a).pipe(Le(function(){return(0,E.of)(void 0)}))};aJ.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(jl)}))};aJ.\u0275fac=function(a){return new (a||aJ)(p(WI))};
aJ.\u0275prov=Dc({token:aJ,factory:aJ.\u0275fac,providedIn:"root"});var bJ=function(a,b){Z.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}),Pe())};Y(bJ,Z);bJ.\u0275dir=Z.\u0275dir;
var G4b=function(a){a.activatedRoute.queryParams.pipe(bf(a.destroyed$)).subscribe(function(b){F4b(a,a.routeParams$.value,b)});a.router.events.pipe(He(function(b){return b instanceof Sua}),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);F4b(a,c,b.queryParams)})},H4b=function(a,b){return a.routeParams$.pipe(D(function(c){return c[b]}))},F4b=function(a,b,c){for(var d=l(Object.keys(a.params)),
e=d.next();!e.done;e=d.next())delete a.params[hDa(e.value)];a.routeParams$.next(b);c=l(Object.entries(c));for(d=c.next();!d.done;d=c.next())e=l(d.value),d=e.next().value,e=e.next().value,a.params[hDa(d)]=e;b=l(Object.entries(b));for(c=b.next();!c.done;c=b.next())d=l(c.value),c=d.next().value,d=d.next().value,a.params[hDa(c)]=d};bJ.\u0275fac=function(a){return new (a||bJ)(p(yE),p(ik))};bJ.\u0275prov=Dc({token:bJ,factory:bJ.\u0275fac,providedIn:"root"});var cJ=function(a){QG.call(this);this.accessPolicyApi=a;this.recordType="componentAccessPolicy";this.isEqual=$h};Y(cJ,QG);cJ.prototype.fetchOne=function(a){return this.accessPolicyApi.get("COMPONENT",a).pipe(D(function(b){return Object.assign({},{id:a},b)}))};cJ.prototype.doSave=function(a){var b=a.id;return this.accessPolicyApi.update("COMPONENT",b,a).pipe(D(function(c){return Object.assign({},{id:b},c)}))};cJ.\u0275fac=function(a){return new (a||cJ)(p(JH))};
cJ.\u0275prov=Dc({token:cJ,factory:cJ.\u0275fac,providedIn:"root"});var dJ={type:"no_indicator"},I4b={type:"visible_to_listed_partners",displayText:"Visible to listed partners",explanation:"This issue is not visible to all partners, but it is visible to partners listed on the issue."},lDa={type:"visible_to_listed_public_users",displayText:"Visible to listed users",explanation:"This issue is not visible to all public, but it is visible to public users listed on the issue."},J4b={type:"visible_to_partners",displayText:"Visible to partners",explanation:"This issue is visible to partner users."},
iDa={type:"visible_to_public",displayText:"Visible to public",explanation:"This issue is visible to the public."},eJ=function(a,b,c,d){this.issueFridge=a;this.componentFridge=b;this.componentAccessPolicyFridge=c;this.activeSession=d},M4b=function(a,b,c){var d=a.issueFridge.watch(b),e=(0,E.defer)(function(){return c?(0,E.of)(c):d.pipe(D(function(f){return null==f?void 0:f.snapshot[0].componentId}))});b=e.pipe(af(function(f){return a.componentAccessPolicyFridge.watch(f)}));e=e.pipe(af(function(f){return a.componentFridge.watch(f)}));
return(0,E.combineLatest)([d,e,b]).pipe(D(function(f){var h=l(f),k=h.next().value;f=h.next().value;h=h.next().value;var q,t;k=null!=(t=null==k?void 0:k.snapshot[0].issueAccessLimitLevel)?t:void 0;t=null==f?void 0:null==(q=f.accessLimit)?void 0:q.accessLevel;if(xD(a.activeSession))q=dJ;else if(wD(a.activeSession))q=K4b(k,t,h);else if(a.activeSession.isInternalSession())q=L4b(k,t,h);else throw Error("Tc");return q}))},K4b=function(a,b,c){switch(b){case "INTERNAL":return dJ;case "EXTERNAL_PARTNER":return dJ;
case "EXTERNAL_PUBLIC":return mDa(a,c);case "ACCESS_LEVEL_UNSPECIFIED":return dJ;default:return dJ}},L4b=function(a,b,c){switch(b){case "INTERNAL":return dJ;case "EXTERNAL_PARTNER":return a&&kDa(a)?I4b:J4b;case "EXTERNAL_PUBLIC":return mDa(a,c);case "ACCESS_LEVEL_UNSPECIFIED":return dJ;default:return dJ}};eJ.\u0275fac=function(a){return new (a||eJ)(p(iI),p(mH),p(cJ),p(nt))};eJ.\u0275prov=Dc({token:eJ,factory:eJ.\u0275fac,providedIn:"root"});var fJ=function(a,b,c,d){Z.call(this);var e=this;this.paramsService=a;this.issueFetchResponseFridge=b;this.pageTitle=c;this.accessIndicatorService=d;this.handlers$=this.paramsService.routeParams$.pipe(Pe($h),af(function(f){return e.onRouteParamsChanged(f)}));this.init=function(){e.subscriptions.add(e.handlers$.subscribe(function(){}))};this.initOnce=JCa(this.init)};Y(fJ,Z);fJ.\u0275dir=Z.\u0275dir;fJ.prototype.onRouteParamsChanged=function(a){return a.issueId?N4b(this,a.issueId):(0,E.of)()};
var N4b=function(a,b){return(0,E.combineLatest)([nI(a.issueFetchResponseFridge,b),M4b(a.accessIndicatorService,b)]).pipe($e([]),D(function(c){c=l(c);var d=c.next().value;c=c.next().value;var e;(d=null==(e=null==d?void 0:d.issue)?void 0:e.snapshot[0].title)?(e=d+" ["+b+"]",c.displayText&&(e=e+" - "+c.displayText),a.pageTitle.setTitle(e)):a.pageTitle.setTitle("View issue")}))};fJ.\u0275fac=function(a){return new (a||fJ)(p(bJ),p(mI),p(UG),p(eJ))};fJ.\u0275prov=Dc({token:fJ,factory:fJ.\u0275fac,providedIn:"root"});var gJ=function(a){this.internalArray_=m(a)};Y(gJ,n);g=gJ.prototype;g.getIssueId=function(){return Ui(this,1)};g.setIssueId=function(a){return Gl(this,1,a)};g.getComment=function(){return vi(this,bn,2)};g.setComment=function(a){return ej(this,bn,2,a)};g.setSignificanceOverride=function(a){return Cl(this,3,a)};g.getContentJudgement=function(){return vi(this,Nl,4)};g.setContentJudgement=function(a){return ej(this,Nl,4,a)};var hJ=function(a){this.internalArray_=m(a)};Y(hJ,n);g=hJ.prototype;g.getIssueId=function(){return Ui(this,1)};g.setIssueId=function(a){return Gl(this,1,a)};g.getCommentNumber=function(){return Xh(this,2)};g.setCommentNumber=function(a){return Tk(this,2,a)};g.getComment=function(){return vi(this,bn,3)};g.setComment=function(a){return ej(this,bn,3,a)};var iJ=function(a){this.internalArray_=m(a)};Y(iJ,n);g=iJ.prototype;g.getIssueId=function(){return Ui(this,1)};g.setIssueId=function(a){return Gl(this,1,a)};g.getCommentNumber=function(){return Xh(this,2)};g.setCommentNumber=function(a){return Tk(this,2,a)};g.getRestrictedRetention=function(){return Li(this,3,0)};g.setRestrictedRetention=function(a){return Cl(this,3,a)};var jJ=function(a){this.internalArray_=m(a,0,jJ.messageId)};Y(jJ,n);g=jJ.prototype;g.getHasReacted=function(){return Hi(this,1)};g.setHasReacted=function(a){return cj(this,1,a)};g.getCount=function(){return Ui(this,2)};g.setCount=function(a){return nj(this,2,a)};g.getRecentRespondersList=function(){return zi(this,ri,3)};g.getType=function(){return Li(this,4,0)};g.setType=function(a){return hj(this,4,a)};g.hasType=function(){return Ji(this,4)};jJ.repeatedFields_=[3];jJ.messageId="b.ReactionState";var kJ=function(a){this.internalArray_=m(a,0,kJ.messageId)};Y(kJ,n);g=kJ.prototype;g.getReactionStatesList=function(){return zi(this,jJ,1)};g.addReactionStates=function(a){return mq(this,1,jJ,a)};g.getIt=function(){return vi(this,Pl,2)};g.setIt=function(a){return ej(this,Pl,2,a)};g.hasIt=function(){return Pi(this,Pl,2)};kJ.repeatedFields_=[1];kJ.messageId="b.CommentReaction";var O4b=function(a){this.internalArray_=m(a)};Y(O4b,n);g=O4b.prototype;g.getIssueId=function(){return Oi(this,1)};g.setIssueId=function(a){return mj(this,1,a)};g.getComment=function(){return xi(this,2)};g.setComment=function(a){return gj(this,2,a)};g.getFormattingMode=function(){return Li(this,3,0)};g.setFormattingMode=function(a){return hj(this,3,a)};g.getContentJudgement=function(){return vi(this,jm,4)};g.setContentJudgement=function(a){return ej(this,jm,4,a)};
g.getIt=function(){return vi(this,gJ,5)};g.setIt=function(a){return ej(this,gJ,5,a)};g.hasIt=function(){return Pi(this,gJ,5)};var lJ=function(a){this.internalArray_=m(a,0,lJ.messageId)};Y(lJ,n);lJ.prototype.getIssueCommentsList=function(){return zi(this,BF,1)};lJ.repeatedFields_=[1];lJ.messageId="b.ListIssueCommentHistoryResponse";var P4b=function(a){this.internalArray_=m(a)};Y(P4b,n);g=P4b.prototype;g.getIssueId=function(){return Oi(this,1)};g.setIssueId=function(a){return mj(this,1,a)};g.getCommentNumber=function(){return Xh(this,2)};g.setCommentNumber=function(a){return dj(this,2,a)};g.getComment=function(){return xi(this,3)};g.setComment=function(a){return gj(this,3,a)};g.getFormattingMode=function(){return Li(this,4,0)};g.setFormattingMode=function(a){return hj(this,4,a)};g.getIt=function(){return vi(this,hJ,5)};
g.setIt=function(a){return ej(this,hJ,5,a)};g.hasIt=function(){return Pi(this,hJ,5)};var Q4b=function(a){this.internalArray_=m(a)};Y(Q4b,n);g=Q4b.prototype;g.getIssueId=function(){return Oi(this,1)};g.setIssueId=function(a){return mj(this,1,a)};g.getCommentNumber=function(){return Xh(this,2)};g.setCommentNumber=function(a){return dj(this,2,a)};g.getIt=function(){return vi(this,iJ,4)};g.setIt=function(a){return ej(this,iJ,4,a)};g.hasIt=function(){return Pi(this,iJ,4)};var mJ=function(a,b){this.executor=a;this.activeSession=b};g=mJ.prototype;g.get=function(a,b,c){var d={};c&&(d["X-Restricted-Content-Limit"]=String(Tya(c)));return this.executor.get({url:"action/issues/"+a+"/comment/"+b,options:{headers:d},responseConstructor:BF}).pipe(D(nn))};
g.create=function(a,b,c,d,e){var f={};e&&(f["G-Recaptcha-Response-Token"]=e);e=new O4b;yD(this.activeSession,"enableLeanFeD")?(b=(new gJ).setIssueId(a).setComment((new bn).setComment(b).setFormattingMode(Ql(c))),d&&b.setContentJudgement(Xxa(d)),e.setIt(b)):(e.setIssueId(a).setComment(b).setFormattingMode(Ql(c)),d&&e.setContentJudgement(Wya(d)));return this.executor.post({url:"action/issues/"+a+"/comment",body:e,responseConstructor:null,options:{headers:f}})};
g.update=function(a,b,c,d,e){var f={};e&&(f["G-Recaptcha-Response-Token"]=e);e=new P4b;yD(this.activeSession,"enableLeanFeD")?e.setIt((new hJ).setIssueId(a).setCommentNumber(b).setComment((new bn).setComment(c).setFormattingMode(Ql(d)))):(e.setIssueId(a),e.setCommentNumber(b),e.setComment(c),e.setFormattingMode(Ql(d)));return this.executor.post({url:"action/issues/"+a+"/updateComment",body:e,options:{headers:f},responseConstructor:null})};
g.delete=function(a,b,c,d){return this.executor.delete({url:"action/issues/"+a+"/comment/"+b,options:{params:{reason:c},headers:{"If-Match":d}},responseConstructor:null})};g.undelete=function(a,b,c){var d={};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:BF}).pipe(D(nn))};g.listHistory=function(a,b){return this.executor.get({url:"action/issues/"+a+"/comment/"+b+"/history",responseConstructor:lJ}).pipe(D(CAa))};
g.updateCommentReaction=function(a){var b=a.issueId,c=a.commentId,d=a.reactionType;a=a.hasReacted;var e=new kJ;if(yD(this.activeSession,"enableLeanFeD")){var f;e.setIt((new Pl).addReactionStates((new bD).setType(null!=(f=EZb[d])?f:0).setHasReacted(a)))}else{var h;e.addReactionStates((new jJ).setType(null!=(h=EZb[d])?h:0).setHasReacted(a))}return this.executor.post({url:"action/issues/"+b+"/comment/"+c+"/updateReaction",body:e,responseConstructor:kJ}).pipe(D(EAa))};
g.updateRetention=function(a,b,c){var d=new Q4b;if(yD(this.activeSession,"enableLeanFeD"))d.setIt((new iJ).setIssueId(a).setCommentNumber(b).setRestrictedRetention(gAa[c]));else{var e=d.setIssueId(a).setCommentNumber(b);hj(e,3,gAa[c])}return this.executor.post({url:"action/issues/"+a+"/comment/"+b+"/update_retention",body:d,responseConstructor:BF}).pipe(D(nn))};mJ.\u0275fac=function(a){return new (a||mJ)(p(SD),p(nt))};mJ.\u0275prov=Dc({token:mJ,factory:mJ.\u0275fac,providedIn:"root"});
var nJ=function(a){this.observableApi=a};g=nJ.prototype;g.get=function(a,b,c){return(0,E.firstValueFrom)(this.observableApi.get(a,b,c))};g.create=function(a,b,c,d,e){return(0,E.firstValueFrom)(this.observableApi.create(a,b,c,d,e))};g.update=function(a,b,c,d,e){return(0,E.firstValueFrom)(this.observableApi.update(a,b,c,d,e))};g.delete=function(a,b,c,d){return(0,E.firstValueFrom)(this.observableApi.delete(a,b,c,d))};
g.undelete=function(a,b,c){return(0,E.firstValueFrom)(this.observableApi.undelete(a,b,c))};g.listHistory=function(a,b){return(0,E.firstValueFrom)(this.observableApi.listHistory(a,b))};g.updateCommentReaction=function(a){return(0,E.firstValueFrom)(this.observableApi.updateCommentReaction(a))};g.updateRetention=function(a,b,c){return(0,E.firstValueFrom)(this.observableApi.updateRetention(a,b,c))};nJ.\u0275fac=function(a){return new (a||nJ)(p(mJ))};nJ.\u0275prov=Dc({token:nJ,factory:nJ.\u0275fac,providedIn:"root"});var oJ=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(R4b(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(),
S4b(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);R4b(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();S4b(this);T4b(this)};oJ.prototype.start=function(){this.parentElement.appendChild(this.element);requestAnimationFrame(this.animate)};
oJ.prototype.stop=function(){this.state=2;S4b(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 T4b=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)}};
oJ.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 S4b=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"},R4b=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};oJ.prototype.transform=function(){this.element.style.transform="translate("+this.x+"px,"+this.y+"px) rotate("+(this.direction+90)%360+"deg) scaleX("+this.flip};var U4b=function(a){this.element=a;this.bugs=[]};U4b.prototype.start=function(){for(var a=this,b=0;3>b;b++)V4b(this);this.intervalSubscription=(0,E.interval)(1E4).subscribe(function(){V4b(a);10<=a.bugs.length&&a.intervalSubscription&&a.intervalSubscription.unsubscribe()})};U4b.prototype.stop=function(){this.intervalSubscription&&this.intervalSubscription.unsubscribe();for(var a=l(this.bugs),b=a.next();!b.done;b=a.next())b.value.stop();this.bugs=[]};
var V4b=function(a){var b=new oJ(a.element);b.start();a.bugs.push(b)};var pJ=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 U4b(d.nativeElement);this.active$.pipe(bf(this.destroyed$),Pe()).subscribe(function(f){f?W4b(e):X4b(e)})};pJ.prototype.ngOnInit=function(){"visible"===document.visibilityState&&Y4b(this)};pJ.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var Y4b=function(a){a.timeoutId=setTimeout(function(){a.active$.next(!1)},18E4)};pJ.prototype.onUserEvent=function(){var a=Date.now();a<this.lastTimeoutResetTimestamp+1E4||(this.lastTimeoutResetTimestamp=a,this.active$.next(!0),clearTimeout(this.timeoutId),Y4b(this))};pJ.prototype.onVisibilityChange=function(){this.onUserEvent();switch(document.visibilityState){case "hidden":clearTimeout(this.timeoutId),this.lastTimeoutResetTimestamp=Number.NEGATIVE_INFINITY}};
var X4b=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()})},W4b=function(a){a.ngZone.runOutsideAngular(function(){a.bugAnimation.stop()})};
pJ.\u0275fac=function(a){return new (a||pJ)(B(ef),B(LE),B(BG),B(Hd))};
pJ.\u0275cmp=r({type:pJ,selectors:[["bug-screensaver"]],hostBindings:function(a,b){a&1&&Q("click",function(){return b.onUserEvent()},!1,Nd)("keydown",function(){return b.onUserEvent()},!1,Nd)("mousemove",function(){return b.onUserEvent()},!1,Nd)("wheel",function(){return b.onUserEvent()},!1,Nd)("touchstart",function(){return b.onUserEvent()},!1,Nd)("focus",function(){return b.onUserEvent()},!1,Nd)("visibilitychange",function(){return b.onVisibilityChange()},!1,Rga)},decls:0,vars:0,template:function(){},
encapsulation:2});var qJ=function(a,b){var c=b.isInternalSession();this.isEnabled$=a.bugScreensaverSubject$.pipe(D(function(d){return(d.enableBugScreensaver||!1)&&c}))};qJ.\u0275fac=function(a){return new (a||qJ)(B(LE),B(nt))};qJ.\u0275cmp=r({type:qJ,selectors:[["bug-screensaver-manager"]],decls:2,vars:3,consts:[[4,"ngIf"]],template:function(a,b){a&1&&(F(0,nDa,1,0,"bug-screensaver",0),W(1,"async"));a&2&&G("ngIf",X(1,1,b.isEnabled$))},dependencies:[Uv,pJ,$v],encapsulation:2});var Z4b=["button"],rJ=function(){this.color="primary";this.format="hairline";this.disabled=!1;this.size="medium";this.onAction=new mv};rJ.prototype.onClick=function(a){this.onAction.emit(a)};rJ.prototype.focus=function(){this.nativeButton.focus()};rJ.\u0275fac=function(a){return new (a||rJ)};
rJ.\u0275cmp=r({type:rJ,selectors:[["b-button"]],viewQuery:function(a,b){a&1&&og(Z4b,5);if(a&2){var c;ng(c=qg())&&(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&&(Vf(),F(0,oDa,1,0,"ng-template",null,0,tg),M(2,1),F(3,qDa,3,7,"button",2)(4,sDa,3,7,"button",3)(5,uDa,3,7,"button",4)(6,wDa,3,7,"button",5)(7,yDa,3,7,"button",6),N());a&2&&(A(2),G("ngSwitch",b.format),A(1),G("ngSwitchCase","hairline"),A(1),G("ngSwitchCase","flat"),A(1),G("ngSwitchCase","fill"),A(1),G("ngSwitchCase","icon"))},dependencies:[eA,dC,Sv,Zv,Vv,Wv,Xv],encapsulation:2,changeDetection:0});var sJ=function(){};sJ.\u0275fac=function(a){return new (a||sJ)};sJ.\u0275mod=Tc({type:sJ});sJ.\u0275inj=Ec({imports:[kC,QC,zD]});var tJ=function(){};tJ.\u0275fac=function(a){return new (a||tJ)};tJ.\u0275mod=Tc({type:tJ});tJ.\u0275inj=Ec({imports:[zD]});var uJ=function(){};uJ.\u0275fac=function(a){return new (a||uJ)};uJ.\u0275mod=Tc({type:uJ});uJ.\u0275inj=Ec({imports:[zD,AG,sJ,tJ]});var vJ=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:""}))};
vJ.\u0275fac=function(a){return new (a||vJ)(B(SG))};
vJ.\u0275cmp=r({type:vJ,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&&(F(0,ADa,17,9,"footer",0),W(1,"async"));a&2&&G("ngIf",X(1,1,b.currentTracker.inTracker$))},dependencies:[Uv,$v],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 wJ=function(){};wJ.\u0275fac=function(a){return new (a||wJ)};wJ.\u0275mod=Tc({type:wJ});wJ.\u0275inj=Ec({imports:[zD]});var xJ=function(a,b,c){Z.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(CDa),Ye({refCount:!0,bufferSize:1}));this.routeComponentId$=H4b(this.paramsService,"componentId").pipe(Pe());this.routeHotlistId$=H4b(this.paramsService,"hotlistId").pipe(Pe());this.issueId$=
(0,E.combineLatest)([this.issueIdOverride$,this.routeIssueId$]).pipe(D(function(e){var f=l(e);e=f.next().value;f=f.next().value;return e||f}),D(CDa),Pe(),Ye({refCount:!0,bufferSize:1}));this.componentIdFromIssueId$=this.issueId$.pipe(af(function(e){return e?nI(d.issueFetchResponseFridge,e):(0,E.of)(void 0)}),D(function(e){var f;return null==e?void 0:null==(f=e.issue)?void 0:f.snapshot[0].componentId}));this.componentId$=(0,E.combineLatest)([this.componentIdOverride$,this.routeComponentId$,this.componentIdFromIssueId$]).pipe(D(function(e){var f=
l(e);e=f.next().value;var h=f.next().value;f=f.next().value;return e||h||f}),D(BDa),Pe(),Ye({refCount:!0,bufferSize:1}));this.hotlistId$=(0,E.combineLatest)([this.hotlistIdOverride$,this.routeHotlistId$]).pipe(D(function(e){var f=l(e);e=f.next().value;f=f.next().value;return e||f}),D(BDa),Pe(),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){Ik("dimension4",
e)}))};Y(xJ,Z);xJ.\u0275dir=Z.\u0275dir;xJ.prototype.getComponentId=function(){return this.componentId$};xJ.prototype.getIssueId=function(){return this.issueId$};xJ.prototype.getHotlistId=function(){return this.hotlistId$};xJ.\u0275fac=function(a){return new (a||xJ)(p(JE),p(bJ),p(mI))};xJ.\u0275prov=Dc({token:xJ,factory:xJ.\u0275fac,providedIn:"root"});var yJ=function(){this.transform=DDa};yJ.\u0275fac=function(a){return new (a||yJ)};yJ.\u0275pipe=Wc({name:"toNewEmailPreference",type:yJ,pure:!0});var zJ=function(){this.transform=EDa};zJ.\u0275fac=function(a){return new (a||zJ)};zJ.\u0275pipe=Wc({name:"enumToHuman",type:zJ,pure:!0});var AJ=function(){this.transform=FDa};AJ.\u0275fac=function(a){return new (a||AJ)};AJ.\u0275pipe=Wc({name:"arrayToHuman",type:AJ,pure:!0});var BJ=function(){};BJ.prototype.transform=function(a,b){return dh(GDa(a,b)).toString()};
BJ.\u0275fac=function(a){return new (a||BJ)};BJ.\u0275pipe=Wc({name:"boldPrefixMatches",type:BJ,pure:!0});var CJ=function(){this.transform=HDa};CJ.\u0275fac=function(a){return new (a||CJ)};CJ.\u0275pipe=Wc({name:"yesNo",type:CJ,pure:!0});var DJ=function(){this.transform=IDa};DJ.\u0275fac=function(a){return new (a||DJ)};DJ.\u0275pipe=Wc({name:"teamPath",type:DJ,pure:!0});var EJ=function(){this.transform=JDa};EJ.\u0275fac=function(a){return new (a||EJ)};
EJ.\u0275pipe=Wc({name:"humanFileSize",type:EJ,pure:!0});var FJ=function(){this.transform=LDa};FJ.\u0275fac=function(a){return new (a||FJ)};FJ.\u0275pipe=Wc({name:"omitObfuscatedEmail",type:FJ,pure:!0});var GJ=function(){this.transform=bo};GJ.\u0275fac=function(a){return new (a||GJ)};GJ.\u0275pipe=Wc({name:"toString",type:GJ,pure:!0});var HJ=function(){this.transform=MDa};HJ.\u0275fac=function(a){return new (a||HJ)};HJ.\u0275pipe=Wc({name:"csv",type:HJ,pure:!0});
var $4b=new Map([["(",")"],[")","("],["{","}"],["}","{"],["[","]"],["]","["],["<",">"],[">","<"]]),IJ=function(){};IJ.prototype.transform=function(a){return null==a?void 0:a.split("").reverse().map(function(b){var c;return null!=(c=$4b.get(b))?c:b}).join("")};IJ.\u0275fac=function(a){return new (a||IJ)};IJ.\u0275pipe=Wc({name:"reverse",type:IJ,pure:!0});var JJ=function(){};JJ.prototype.transform=function(a,b,c){a=b.indexOf(a);if(0>a)return!0;c=a+c;return!(0<=c&&c<b.length)};
JJ.\u0275fac=function(a){return new (a||JJ)};JJ.\u0275pipe=Wc({name:"isOutOfBounds",type:JJ,pure:!0});var KJ=function(){};KJ.\u0275fac=function(a){return new (a||KJ)};KJ.\u0275mod=Tc({type:KJ});KJ.\u0275inj=Ec({});var LJ=function(){this.segments=[];this.clickMain=new mv;this.clickSegment=new mv};LJ.prototype.ngOnInit=function(){};Gh.Object.defineProperties(LJ.prototype,{showMoreButton:{configurable:!0,enumerable:!0,get:function(){return 0<this.segments.length}}});LJ.\u0275fac=function(a){return new (a||LJ)};
LJ.\u0275cmp=r({type:LJ,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),Q("click",function(){return b.clickMain.emit(b.label)}),L(2,"mat-icon",2),T(3),K(),F(4,ODa,6,2,"ng-container",3),K());a&2&&(A(1),Jf("square-right",b.showMoreButton),Af("href",b.href||void 0,Wd),A(1),G("svgIcon",b.icon),A(1),V(" ",b.label," "),A(1),G("ngIf",b.showMoreButton))},dependencies:[Tv,Uv,MA,eA,fA,ZB,XB,YB],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 MJ=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(f){return f?e.componentFridge.watch(f):(0,E.of)(void 0)}),D(function(f){return f&&!f.archived?f:void 0}));this.visibleOptions$=(0,E.combineLatest)([this.currentTracker.tracker$,this.component$,this.context.getIssueId(),this.context.getHotlistId()]).pipe(Oe(0),D(function(f){var h=l(f);
f=h.next().value;var k=h.next().value,q=h.next().value;h=h.next().value;return a5b(e,null!=f?f:void 0,k,q,h)}));this.buttonLabel$=this.visibleOptions$.pipe(D(function(f){return f.length?"Create":"Create Issue"}));this.buttonIcon$=this.currentTracker.tracker$.pipe(D(function(f){var h;return"OPEN_SOURCE"===(null==f?void 0:null==(h=f.branding)?void 0:h.theme)?"create-open-source-36px":"create-color-36px"}))};MJ.prototype.ngOnInit=function(){};MJ.prototype.trackClick=function(a){Hk("create","click",a)};
var a5b=function(a,b,c,d,e){var f=new Map;b=b&&c&&!yn(b.trackerId)&&b.trackerId!==c.trackerId;c=(null==c?0:c.componentId)?String(c.componentId):void 0;if(null!==e){var h={};f.set("in_same_hotlist",a.paths.createIssue((h.hotlistIds=String(e),h)))}b||void 0===c||(e={},f.set("in_same_component",a.paths.createIssue((e.component=c,e))));b||null===d||(e={},f.set("similar_to_current_issue",a.paths.createIssue((e.template_issue=d,e))),e={},f.set("blocked_by_current_issue",a.paths.createIssue((e.blockedByIssueIds=
d,e.component=c,e))),e={},f.set("blocking_current_issue",a.paths.createIssue((e.blockingIssueIds=d,e.component=c,e))),e={},f.set("parent_of_current_issue",a.paths.createIssue((e.childrenIssueIds=d,e.component=c,e))),e={},f.set("child_of_current_issue",a.paths.createIssue((e.parentIssueId=d,e.component=c,e))));return[].concat(u(f.entries())).map(function(k){var q=l(k);k=q.next().value;q=q.next().value;return{name:EDa(k),path:q}})};MJ.\u0275fac=function(a){return new (a||MJ)(B(cF),B(xJ),B(SG),B(mH))};
MJ.\u0275cmp=r({type:MJ,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&&(F(0,RDa,3,3,"ng-container",0),W(1,"async"));a&2&&G("ngIf",X(1,1,b.visibleOptions$))},dependencies:[Uv,LJ,$v],encapsulation:2,changeDetection:0});var pFa=["assigned-to-me","recent-stuff-i-follow"],b5b=["BUGANIZER","CRITIQUE","DRIVE"],c5b=["NON_WTDM","WTDM","CRITIQUE","DRIVE"],d5b={displayName:"Bugs",filterType:"NON_WTDM",tooltipText:"Issue types including bug, feature request, customer issue, internal cleanup, process, vulnerability, and privacy issue"},e5b={BUGANIZER:d5b,NON_WTDM:d5b,WTDM:{displayName:"Tasks",filterType:"WTDM",tooltipText:"Work tracking issue types including project, milestone, feature, epic, story, and task"},CRITIQUE:{displayName:"Critique",
filterType:"CRITIQUE",tooltipText:"CLs from Critique"},DRIVE:{displayName:"Drive",filterType:"DRIVE",tooltipText:"Drive files including Google Docs, Sheets, Slides"},ARIANE:{displayName:"Launch",filterType:"ARIANE",tooltipText:"Launches and related action items"}},f5b={filter:"(assignee:me OR reporter:me OR modifier:me OR commenter:me OR collaborator:me OR star:true) (parentid:any OR descendantcount>0) modified:90d",pageSize:250,sort:"modified_time:desc"};var g5b=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"],["READY_TO_SUBMIT","Ready to submit"],["REPLIED_TO_MENTION","Replied to me"],["REQUIRES_APPROVAL","Added as approver"],["TAGGED_IN_COMMENT","Mentioned me"],["THREAD_MENTIONS_ME","Mentioned me"],["UNBLOCKED","Blockers closed"]]),h5b=new Map([["ASSIGNED","This issue was recently assigned to you"],
["MENTIONED","You were mentioned on this issue"],["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"],["READY_TO_SUBMIT","This CL is ready to submit"],["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"],["THREAD_MENTIONS_ME","You were mentioned on this CL recently"],["UNBLOCKED","The last blocking issue was closed recently"]]),i5b=new Map([["NEEDS_ATTENTION","Review CL"],["READY_TO_SUBMIT","Submit CL"],["TAGGED_IN_COMMENT","Reply to comment"],["THREAD_MENTIONS_ME","Reply to comment"],["REQUIRES_APPROVAL","Review"],["NEAR_SLO","View issue"],["MENTIONED","Reply to comment"],["REPLIED_TO_MENTION","Reply to comment"],["NEWLY_BLOCKING","View blocker issue"],
["UNBLOCKED","View issue"],["ASSIGNED","Start work"],["NEEDS_REPORTER_INPUT","Reply to comment"]]);var fo=function(a){this.internalArray_=m(a)};Y(fo,n);fo.prototype.getHotlistId=function(){return Ui(this,1)};fo.prototype.setHotlistId=function(a){return Gl(this,1,a)};fo.prototype.getHotlist=function(){return vi(this,bl,2)};fo.prototype.setHotlist=function(a){return ej(this,bl,2,a)};var go=function(a){this.internalArray_=m(a)};Y(go,n);go.prototype.getSavedSearchId=function(){return Ui(this,1)};go.prototype.setSavedSearchId=function(a){return Gl(this,1,a)};go.prototype.getSavedSearch=function(){return vi(this,ho,2)};go.prototype.setSavedSearch=function(a){return ej(this,ho,2,a)};var eo=function(a){this.internalArray_=m(a)};Y(eo,n);eo.prototype.getHotlist=function(){return ql(this,fo,1,co)};eo.prototype.setHotlist=function(a){return wl(this,1,co,a)};eo.prototype.getSavedSearch=function(){return ql(this,go,2,co)};eo.prototype.setSavedSearch=function(a){return wl(this,2,co,a)};var io=function(a){this.internalArray_=m(a)};Y(io,n);g=io.prototype;g.getBookmarkGroupId=function(){return Ui(this,1)};g.setBookmarkGroupId=function(a){return Gl(this,1,a)};
g.getName=function(){return xi(this,2)};g.setName=function(a){return Ol(this,2,a)};g.getDescription=function(){return xi(this,3)};g.setDescription=function(a){return Ol(this,3,a)};g.getArchived=function(){return Hi(this,4)};g.setArchived=function(a){return yl(this,4,a)};g.addItems=function(a,b){return mq(this,5,eo,a,b)};g.getOwnersList=function(){return zi(this,Yk,6)};g.setOwnersList=function(a){return Zl(this,6,a)};var co=[1,2,3];io.repeatedFields_=[5,6];var NJ=function(a){this.internalArray_=m(a,0,NJ.messageId)};Y(NJ,n);NJ.prototype.getIt=function(){return vi(this,io,10)};NJ.prototype.setIt=function(a){return ej(this,io,10,a)};NJ.prototype.hasIt=function(){return Pi(this,io,10)};NJ.messageId="b.BookmarkGroup";var OJ=function(a){this.internalArray_=m(a,0,OJ.messageId)};Y(OJ,n);OJ.repeatedFields_=[2];OJ.messageId="b.BookmarkGroupListResponse";var PJ=function(a){this.executor=a};PJ.prototype.get=function(a){return this.executor.get({url:"action/bookmark_groups/"+a,responseConstructor:NJ}).then(cEa)};PJ.prototype.query=function(a){return this.executor.get({url:"action/bookmark_groups",options:{params:{q:a}},responseConstructor:OJ}).then(dEa)};PJ.prototype.create=function(a){a=(new NJ).setIt((new io).setName(a.name).setDescription(a.description));return this.executor.post({url:"action/bookmark_groups",body:a,responseConstructor:NJ}).then(cEa)};
PJ.prototype.update=function(a){var b=new NJ;var c=b.setIt,d,e,f=(new io).setBookmarkGroupId(a.bookmarkGroupId).setName(a.name).setDescription(a.description).setArchived(a.archived),h=null!=(e=null==(d=a.item)?void 0:d.map(aEa))?e:[];d=Zl(f,5,h).setOwnersList(a.adminUsers.map(Zk));b=c.call(b,d);return this.executor.post({url:"action/bookmark_groups/"+a.bookmarkGroupId,body:b,responseConstructor:NJ}).then(cEa)};PJ.\u0275fac=function(a){return new (a||PJ)(p(TD))};
PJ.\u0275prov=Dc({token:PJ,factory:PJ.\u0275fac,providedIn:"root"});var QJ=function(a,b){this.router=a;this.location=b},zlb=function(a){var b=a.location.getUrl();Ns(a.router,"/",{skipLocationChange:!0}).then(function(){return Ns(a.router,b,{skipLocationChange:!0})})};QJ.\u0275fac=function(a){return new (a||QJ)(p(yE),p(bF))};QJ.\u0275prov=Dc({token:QJ,factory:QJ.\u0275fac,providedIn:"root"});var hEa={"\u2705":"good","\u26a0\ufe0f":"warn","\u26a0":"warn","\u26d4":"bad","\u274c":"bad","\ud83d\uded1":"bad","\ud83d\udeab":"bad"};var RJ=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};RJ.\u0275fac=function(a){return new (a||RJ)(B(sA),B(uA))};
RJ.\u0275cmp=r({type:RJ,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),T(1),K(),L(2,"div",1),H(3,"div",2),F(4,kEa,2,1,"button",3),H(5,"button",4),Q("click",
function(){return b.dialogRef.close(!0)}),T(6),K()());a&2&&(A(1),$f(b.data.title),A(1),G("innerHTML",b.data.content,Vd),A(2),G("ngIf",b.showCancelButton),A(1),G("color",b.confirmButtonTheme),A(1),V(" ",b.confirmButtonText," "))},dependencies:[Uv,eA,xA,yA,zA],encapsulation:2});var SJ=function(a){this.dialog=a},TJ=function(a,b){return new Promise(function(c){a.open(Object.assign({},b,{onConfirm:function(){c(!0)},onDismiss:function(){c(!1)}}))})};
SJ.prototype.open=function(a){var b=a.onConfirm,c=a.onDismiss;this.dialog.open(RJ,{data:{title:a.title,content:a.content,isDestructive:a.isDestructive,cancelButtonText:a.cancelButtonText,confirmButtonText:a.confirmButtonText,showCancelButton:a.showCancelButton},maxWidth:"500px"}).afterClosed().subscribe(function(d){d?null==b||b():null==c||c()})};SJ.\u0275fac=function(a){return new (a||SJ)(p(vA))};SJ.\u0275prov=Dc({token:SJ,factory:SJ.\u0275fac,providedIn:"root"});var UJ=function(a,b,c,d,e,f,h,k,q,t){Z.call(this);var w=this;this.reloadService=a;this.activeSession=b;this.userApi=c;this.errorHandler=d;this.bLocation=e;this.paths=f;this.issuePagination=h;this.sidebarItemFactory=k;this.appEvents=q;this.analytics=t;this.sidebarData={hotlists:[],bookmarkGroups:[],archivedHotlists:[],archivedBookmarkGroups:[],userSearches:[]};this.userSavedSearches=[];this.userHotlists=[];j5b(this);k5b(this);this.fetchUserHotlists();a=function(){j5b(w)};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(){k5b(w)}));a=function(){w.fetchUserHotlists()};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(a));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(a))};Y(UJ,Z);UJ.\u0275dir=Z.\u0275dir;
var j5b=function(a){a.userApi.getUserSidebar().then(function(b){a.sidebarData.hotlists=l5b(a,b.hotlists);a.sidebarData.bookmarkGroups=m5b(a,b.bookmarkGroups);a.sidebarData.archivedHotlists=l5b(a,b.archivedHotlists);a.sidebarData.archivedBookmarkGroups=m5b(a,b.archivedBookmarkGroups);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})},k5b=function(a){a.userApi.getUserSavedSearches().then(function(b){b=n5b(a,b);a.sidebarData.userSearches=b;raa(a.userSavedSearches);
saa(a.userSavedSearches,b);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};UJ.prototype.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){o5b(a,b);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var l5b=function(a,b){return(b||[]).map(function(c){return p5b(a.sidebarItemFactory,c)}).sort(function(c,d){return c.name.localeCompare(d.name)})},m5b=function(a,b){return(b||[]).map(function(c){var d=a.sidebarItemFactory;return new q5b(c,d.activeSession,d.analytics,d.userApi,d.bookmarkGroupsApi,d.butterBar,d.paths,d.userPreferencesManager,d.errorHandler,d,d.confirmationDialogService,d.appEvents)})},n5b=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 r5b(a.sidebarItemFactory,c)})},o5b=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 p5b(a.sidebarItemFactory,c)});raa(a.userHotlists);saa(a.userHotlists,b)};
UJ.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||(uG(this.issuePagination),a2b(this.paths,a)&&zlb(this.reloadService),this.bLocation.setUrl(a),b.preventDefault(),b.stopPropagation())};UJ.\u0275fac=function(a){return new (a||UJ)(p(QJ),p(nt),p(SH),p(FG),p(bF),p(cF),p(sG),p(VJ),p(lG),p(aI))};
UJ.\u0275prov=Dc({token:UJ,factory:UJ.\u0275fac,providedIn:"root"});var WJ=function(a,b,c,d,e,f,h,k){this.item=a;this.analytics=c;this.userApi=d;this.bookmarkGroupsApi=e;this.butterBar=f;this.paths=h;this.userPreferencesManager=k;this.id=a.id;this.name=a.name;this.description=a.description;this.adminUsers=a.adminUsers;this.starred=a.starred;this.userEmail=b.getUserEmail()};
WJ.prototype.getDisplayName=function(){return this.item.name?this.item.name:"resourceType"in this.item?li(this.item.resourceType.toLowerCase())+" "+this.item.id:this.item.id};WJ.prototype.isEditable=function(){return s5b(this)};WJ.prototype.isSelected=function(){var a=this.href;a="/"!==a.charAt(0)?"/"+a:a;return this.paths.bLocation.path()===a};WJ.prototype.isUnstarable=function(){return!s5b(this)&&this.starred};
var s5b=function(a){return a.adminUsers.some(function(b){return b.emailAddress===a.userEmail})},t5b=function(a,b){var c=ME(a.userPreferencesManager).homepagePreferences;return(null==c?void 0:c.resourceId)===a.id&&c.resourceType===b},u5b=function(a,b){Fs(a.butterBar,"Updating homepage...",0);v1b(a.userPreferencesManager,{resourceType:b,resourceId:a.id}).pipe(Qe()).subscribe(function(){Fs(a.butterBar,"Homepage updated")})},v5b=function(a,b,c,d,e,f,h,k,q,t,w,y){WJ.call(this,a,b,c,d,e,h,k,q);this.hotlistApi=
f;this.errorHandler=t;this.confirmationDialogService=w;this.appEvents=y;this.href=k.viewHotlist(a.id);this.type="HOTLIST"};Y(v5b,WJ);g=v5b.prototype;g.isPreferredHomepage=function(){return t5b(this,"HOTLIST")};g.setAsPreferredHomepage=function(){u5b(this,"HOTLIST")};
g.archive=function(){var a=this;Fs(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});Fs(a.butterBar,'Archived hotlist "'+a.name+'".');a.analytics.trackEvent("sidebarItem","archived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.unarchive=function(){var a=this;Fs(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});Fs(a.butterBar,'Unarchived hotlist "'+a.name+'".');a.analytics.trackEvent("sidebarItem","unarchived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.unstar=function(){var a=this;this.confirmationDialogService.open({title:"Unstar hotlist: "+this.name,content:ch("Unstarring a hotlist will remove it from your sidebar. You can restore the hotlist at any time from the hotlist's page."),onConfirm:function(){a.doUnstar()}})};
g.doUnstar=function(){var a=this;Fs(this.butterBar,"Unstarring hotlist ID "+this.id+"...");this.userApi.deleteFavorite({resourceType:"HOTLIST",resourceId:this.id}).then(function(){Fs(a.butterBar,"Unstarred hotlist ID "+a.id);a.appEvents.hotlistChanged.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};var XJ=function(a,b,c,d,e,f,h,k){WJ.call(this,a,b,c,d,e,f,h,k);this.href=h.viewSavedSearch(a.id);this.type="SAVED_SEARCH"};Y(XJ,WJ);XJ.prototype.isUnstarable=function(){return!1};
XJ.prototype.unstar=function(){};XJ.prototype.isPreferredHomepage=function(){return t5b(this,"SAVED_SEARCH")};XJ.prototype.setAsPreferredHomepage=function(){u5b(this,"SAVED_SEARCH")};
var q5b=function(a,b,c,d,e,f,h,k,q,t,w,y){WJ.call(this,a,b,c,d,e,f,h,k);this.errorHandler=q;this.sidebarItemFactory=t;this.confirmationDialogService=w;this.appEvents=y;this.items=[];a=l(a.sublinks||[]);for(b=a.next();!b.done;b=a.next())switch(b=b.value,b.resourceType){case "HOTLIST":this.items.push(p5b(this.sidebarItemFactory,b));break;case "SAVED_SEARCH":this.items.push(r5b(this.sidebarItemFactory,b))}this.items.sort(function(C,J){return C.name.localeCompare(J.name)})};Y(q5b,WJ);g=q5b.prototype;
g.isPreferredHomepage=function(){return t5b(this,"BOOKMARK_GROUP")};g.setAsPreferredHomepage=function(){u5b(this,"BOOKMARK_GROUP")};
g.archive=function(){var a=this;Fs(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});Fs(a.butterBar,'Archived bookmark group "'+a.name+'".');a.analytics.trackEvent("sidebarItem","archived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.unarchive=function(){var a=this;Fs(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});Fs(a.butterBar,'Unarchived bookmark group "'+a.name+'".');a.analytics.trackEvent("sidebarItem","unarchived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.unstar=function(){var a=this;this.confirmationDialogService.open({title:"Unstar bookmark group: "+this.name,content:ch("Unstarring a bookmark group will remove it from your sidebar. You can restore it at any time from the bookmark group's page."),onConfirm:function(){a.doUnstar()}})};
g.doUnstar=function(){var a=this;Fs(this.butterBar,"Unstarring bookmark group ID "+this.id+"...");this.userApi.deleteFavorite({resourceType:"BOOKMARK_GROUP",resourceId:this.id}).then(function(){Fs(a.butterBar,"Unstarred bookmark group ID "+a.id);a.appEvents.bookmarkGroupModified.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var VJ=function(a,b,c,d,e,f,h,k,q,t,w){this.activeSession=a;this.userApi=b;this.bookmarkGroupsApi=c;this.hotlistApi=d;this.errorHandler=e;this.paths=f;this.analytics=h;this.butterBar=k;this.userPreferencesManager=q;this.confirmationDialogService=t;this.appEvents=w},p5b=function(a,b){return new v5b(b,a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.hotlistApi,a.butterBar,a.paths,a.userPreferencesManager,a.errorHandler,a.confirmationDialogService,a.appEvents)},r5b=function(a,b){return new XJ(b,
a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.butterBar,a.paths,a.userPreferencesManager)};VJ.\u0275fac=function(a){return new (a||VJ)(p(nt),p(SH),p(PJ),p(PF),p(FG),p(cF),p(aI),p(EG),p(LE),p(SJ),p(lG))};VJ.\u0275prov=Dc({token:VJ,factory:VJ.\u0275fac,providedIn:"root"});var YJ=function(a){this.prefs=a;this.expanded=!0;this.content=this.header=null};YJ.prototype.ngOnInit=function(){this.prefKey&&(this.expanded=!x1b(this.prefs,this.prefKey))};YJ.prototype.onClick=function(){var a=this,b,c;return qe(function(d){b=!a.expanded;a.expanded=b;if(!a.prefKey)return d.jumpTo(0);c={};return d.yield((0,E.firstValueFrom)(w1b(a.prefs,(c[a.prefKey]=!b,c))),0)})};YJ.\u0275fac=function(a){return new (a||YJ)(B(LE))};
YJ.\u0275cmp=r({type:YJ,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),Q("click",function(){return b.onClick()})("keydown.enter",function(c){b.onClick();return c.stopPropagation()})("keydown.space",function(c){b.onClick();return c.preventDefault()}),
F(1,lEa,1,0,"ng-container",1),K(),F(2,nEa,2,1,"ng-container",2));a&2&&(Jf("opened",b.expanded)("closed",!b.expanded),Af("aria-expanded",b.expanded),A(1),G("ngTemplateOutlet",b.header),A(1),G("ngIf",b.expanded))},dependencies:[Uv,Zv],encapsulation:2});var ZJ=function(a,b,c,d){this.location=a;this.analytics=b;this.paths=c;this.sidebar=d;this.bookmarkGroups=[];this.hotlists=[]};g=ZJ.prototype;g.handleBookmarkGroupOpen=function(a){this.analytics.trackEvent("sidebarArchived","open");this.location.setUrl(this.paths.viewBookmarkGroup(a))};g.handleBookmarkGroupDashboard=function(a){this.analytics.trackEvent("sidebarArchived","dashboard");this.location.setUrl(this.paths.dashboard(a))};g.openEditHotlist=function(a){this.location.setUrl(this.paths.editHotlist(a))};
g.openEditBookmarkGroup=function(a){this.location.setUrl(this.paths.editBookmarkGroup(a))};g.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};ZJ.\u0275fac=function(a){return new (a||ZJ)(B(bF),B(aI),B(cF),B(UJ))};
ZJ.\u0275cmp=r({type:ZJ,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&&F(0,DEa,7,2,"div",0);a&2&&G("ngIf",b.hotlists.length||b.bookmarkGroups.length)},dependencies:[Tv,Uv,MA,eA,ZB,XB,YB,WB,YJ],encapsulation:2,changeDetection:0});var $J=function(){this.admins=[]};$J.prototype.ngOnInit=function(){this.url="bookmark-groups/"+this.bookmarkGroup.bookmarkGroupId;this.admins=ni(this.bookmarkGroup.adminUsers)};$J.\u0275fac=function(a){return new (a||$J)};
$J.\u0275cmp=r({type:$J,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),T(5),K()(),H(6,"ul")(7,"li"),T(8),K(),H(9,"li"),T(10),K()(),H(11,"div")(12,"p"),T(13),K()()()()());a&2&&(A(4),G("href",b.url,
Wd),A(1),$f(b.bookmarkGroup.name),A(3),V("ID: ",b.bookmarkGroup.bookmarkGroupId,""),A(2),ag("",1===b.admins.length?"Admin":"Admins",": ",b.admins.join(", "),""),A(3),$f(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 aK=function(){this.admins=[]};aK.prototype.ngOnInit=function(){this.url="hotlists/"+this.hotlist.hotlistId;this.admins=ni(this.hotlist.adminUsers)};aK.\u0275fac=function(a){return new (a||aK)};
aK.\u0275cmp=r({type:aK,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),T(5),K()(),H(6,"ul")(7,"li"),T(8),K(),H(9,"li"),T(10),K()(),H(11,"div")(12,"p"),T(13),K()()()()());a&2&&(A(4),G("href",b.url,Wd),A(1),$f(b.hotlist.name),A(3),V("ID: ",b.hotlist.hotlistId,""),A(2),ag("",1===
b.admins.length?"Admin":"Admins",": ",b.admins.join(", "),""),A(3),$f(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 bK=function(a){this.buttonRef=a;this.toRefocus=!1};bK.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}))};bK.\u0275fac=function(a){return new (a||bK)(B(Hd))};
bK.\u0275dir=Vc({type:bK,selectors:[["button","disabled","","focusBack",""]],inputs:{disabled:"disabled"},features:[ld]});var cK=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 mv;this.isAnonymous=this.activeSession.isAnonymous()};g=cK.prototype;g.onClick=function(a){a.stopPropagation();this.acceptInput&&(this.starClicked.emit(!!this.starred),this.cdr.detectChanges())};g.onEnter=function(a){this.onClick(a)};g.isDisabled=function(){return this.isAnonymous||this.disabled};
g.getLabel=function(){return this.isAnonymous?"Sign in to use full features.":this.starred?this.unStarMessage:this.starMessage};g.getAriaLabel=function(){return this.isAnonymous?"Sign in to use full features.":this.starMessage};cK.\u0275fac=function(a){return new (a||cK)(B(nt),B(XD))};
cK.\u0275cmp=r({type:cK,selectors:[["b-star-toggle"]],inputs:{starred:"starred",disabled:"disabled",acceptInput:"acceptInput",starMessage:"starMessage",unStarMessage:"unStarMessage"},outputs:{starClicked:"starClicked"},features:[bg([XD])],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=
v();H(0,"div",0,1)(2,"button",2);Q("keydown.enter",function(d){return b.onEnter(d)})("click",function(d){return b.onClick(d)})("focus",function(){x(c);var d=S(1);return z(d.show())})("blur",function(){x(c);var d=S(1);return z(d.hide())});L(3,"mat-icon",3);K()()}a&2&&(G("matTooltip",b.getLabel()),A(2),Jf("starred",b.starred),G("disabled",b.isDisabled()),Af("aria-label",b.getAriaLabel())("aria-checked",b.starred),A(1),G("svgIcon",b.starred?"star-filled":"star-empty"))},dependencies:[MA,eA,dC,bK],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});Hh(function(a){this._elementRef=a},"primary");var w5b=new bd("mat-progress-spinner-default-options",{providedIn:"root",factory:EEa});var x5b=Hh(function(a){this._elementRef=a},"primary"),dK=function(a,b,c,d,e,f,h,k,q){var t=x5b.call(this,a)||this;t._document=c;t._nonce=q;t._diameter=100;t._value=0;t._resizeSubscription=E.Subscription.EMPTY;t.mode="determinate";t._spinnerAnimationLabel=t._getSpinnerAnimationLabel();y5b.has(c.head)||y5b.set(c.head,new Set([100]));t._noopAnimations="NoopAnimations"===d&&!!e&&!e._forceAnimations;"mat-spinner"===a.nativeElement.nodeName.toLowerCase()&&(t.mode="indeterminate");e&&(e.color&&(t.color=
t.defaultColor=e.color),e.diameter&&(t.diameter=e.diameter),e.strokeWidth&&(t.strokeWidth=e.strokeWidth));b.isBrowser&&b.SAFARI&&h&&f&&k&&(t._resizeSubscription=h.change(150).subscribe(function(){"indeterminate"===t.mode&&k.run(function(){return f.markForCheck()})}));return t};Y(dK,x5b);g=dK.prototype;g.ngOnInit=function(){var a=this._elementRef.nativeElement;this._styleRoot=Rna(a)||this._document.head;this._attachStyleNode();a.classList.add("mat-progress-spinner-indeterminate-animation")};
g.ngOnDestroy=function(){this._resizeSubscription.unsubscribe()};g._getCircleRadius=function(){return(this.diameter-10)/2};g._getViewBox=function(){var a=2*this._getCircleRadius()+this.strokeWidth;return"0 0 "+a+" "+a};g._getStrokeCircumference=function(){return 2*Math.PI*this._getCircleRadius()};g._getStrokeDashOffset=function(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null};g._getCircleStrokeWidth=function(){return this.strokeWidth/this.diameter*100};
g._getCircleTransformOrigin=function(a){var b;a=50*(null!=(b=a.currentScale)?b:1);return a+"% "+a+"%"};g._attachStyleNode=function(){var a=this._styleRoot,b=this._diameter,c=y5b.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,y5b.set(a,c));c.add(b)}};
g._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)};g._getSpinnerAnimationLabel=function(){return this.diameter.toString().replace(".","_")};
Gh.Object.defineProperties(dK.prototype,{diameter:{configurable:!0,enumerable:!0,get:function(){return this._diameter},set:function(a){this._diameter=Vg(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=Vg(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,Vg(a)))}}});var y5b=new WeakMap;dK.\u0275fac=function(a){return new (a||dK)(B(Hd),B(Vw),B(Xg,8),B(Du,8),B(w5b),B(Fu),B(Sx),B(ef),B(hNb,8))};
dK.\u0275cmp=r({type:dK,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:11,hostBindings:function(a,b){a&2&&(Af("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)("mat-id-collision",null),If("width",b.diameter,"px")("height",b.diameter,"px"),Jf("_mat-animation-noopable",b._noopAnimations))},
inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[yf],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&&(yd(),H(0,"svg",0,1),F(2,FEa,1,11,"circle",2)(3,GEa,1,9,"circle",3),K());a&2&&(If("width",b.diameter,"px")("height",b.diameter,"px"),G("ngSwitch","indeterminate"===b.mode),Af("viewBox",b._getViewBox()),A(2),G("ngSwitchCase",!0),A(1),G("ngSwitchCase",!1))},dependencies:[Vv,Wv],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 eK=function(){this.ariaLabel="loading"};eK.\u0275fac=function(a){return new (a||eK)};
eK.\u0275cmp=r({type:eK,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&&F(0,HEa,1,2,"mat-spinner",0)(1,IEa,1,3,"mat-spinner",1);a&2&&(G("ngIf",b.large),A(1),G("ngIf",!b.large))},dependencies:[Uv,dK],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 JEa;var fK=function(a){var b=this;this.elementRef=a;this.eventType="click";this.clickOutside=new mv;this.clickHandler=function(c){if(c instanceof MouseEvent){var d=c.target;d&&(b.elementRef.nativeElement.contains(d)||b.clickOutside.emit(c))}}};fK.prototype.ngOnInit=function(){this.getRoot().addEventListener(this.eventType,this.clickHandler,!0)};fK.prototype.ngOnDestroy=function(){this.getRoot().removeEventListener(this.eventType,this.clickHandler,!0)};
fK.prototype.getRoot=function(){var a;return null!=(a=KEa(this.elementRef.nativeElement))?a:document};fK.\u0275fac=function(a){return new (a||fK)(B(Hd))};fK.\u0275dir=Vc({type:fK,selectors:[["","clickOutside",""]],inputs:{eventType:["clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"}});var gK=function(){};gK.\u0275fac=function(a){return new (a||gK)};gK.\u0275mod=Tc({type:gK});gK.\u0275inj=Ec({});var z5b=Symbol("Vc"),A5b=Symbol("Wc"),hK=function(a){this.viewContainerRef=a;this.className="onedev-hovercard";this.onHide=new mv;this[z5b]=new E.ReplaySubject(1);this.wasTriggeredByKeyboard=!1;this.isOnHover$=new E.BehaviorSubject(!1);this.closeHovercard$=new E.Subject};hK.prototype.ngOnInit=function(){};var B5b=function(a){var b=a[A5b];return b?(b.loaded||(b.viewContainerRef.createEmbeddedView(b.templateRef),b.cdr.detectChanges(),b.loaded=!0),a[z5b].pipe(Oe(0))):(0,E.of)(void 0)};
hK.\u0275fac=function(a){return new (a||hK)(B(lg))};
hK.\u0275cmp=r({type:hK,selectors:[["onedev-hovercard"]],viewQuery:function(a,b){a&1&&og(kg,7);if(a&2){var c;ng(c=qg())&&(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&&(Vf(),F(0,LEa,2,3,"ng-template"))},dependencies:[fx,fK],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 iK=function(a,b,c,d){this.templateRef=a;this.viewContainerRef=b;this.cdr=c;this.loaded=!1;d[A5b]=this};iK.\u0275fac=function(a){return new (a||iK)(B(kg),B(lg),B(Fu),B(hK))};iK.\u0275dir=Vc({type:iK,selectors:[["","onedevHovercardLazyBody",""]]});var jK=function(a){this.hovercard=a;this.destroyed$=new E.ReplaySubject(1)};jK.prototype.ngOnDestroy=function(){this.destroyed$.next()};jK.prototype.ngOnInit=function(){this.isHovercardReady$.pipe(bf(this.destroyed$)).subscribe(this.hovercard[z5b])};
jK.\u0275fac=function(a){return new (a||jK)(B(hK))};jK.\u0275dir=Vc({type:jK,selectors:[["","onedevIsHovercardReady",""]],inputs:{isHovercardReady$:["onedevIsHovercardReady","isHovercardReady$"]}});var C5b={originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-10},D5b={originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",offsetY:-10},E5b=[{originX:"end",originY:"center",overlayX:"start",overlayY:"center",offsetX:10},{originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",offsetY:10},D5b,{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 kK=function(){this.delay=600;this.position=E5b;this.triggerKey=[]},lK=function(a,b){var c=this;this.overlay=a;this.origin=b;this.waitFor$=void 0;this.enabled=!0;this.config=new kK;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&&(F5b(c),
d.stopPropagation(),d.preventDefault())};G5b(this);this.handleClose()},G5b=function(a){H5b(a).pipe(bf(a.destroyed$)).subscribe(function(b){(a.active=b)?a.show():a.hide()})};lK.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(){F5b(a)})};lK.prototype.dispose=function(){I5b(this);var a;null==(a=this.overlayRef)||a.dispose();this.destroyed$.next();this.destroyed$.complete()};
lK.prototype.isExpanded=function(){return this.hovercard$.getValue()?this.active:void 0};lK.prototype.toggle=function(a){this.isHovered$.next(a)};var F5b=function(a){a.isKeyboardActivated$.next(!1);a.isHovered$.next(!1);var b;null==(b=a.hovercard$.getValue())||b.isOnHover$.next(!1)};
lK.prototype.show=function(){var a=this;this.enabled&&this.overlayRef&&!this.overlayRef.hasAttached()&&this.hovercard$.getValue()&&(this.hovercard$.getValue().wasTriggeredByKeyboard=this.isKeyboardActivated$.value,B5b(this.hovercard$.getValue()).pipe(Qe(),bf(this.destroyed$)).subscribe(function(){a.overlayRef&&a.templatePortal&&a.overlayRef.attach(a.templatePortal);document.addEventListener("keydown",a.onDocumentKeyDown);a.hovercardShown$.next()}))};lK.prototype.hide=function(){I5b(this);this.hide$.next()};
var I5b=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()}};lK.prototype.getPositionStrategy=function(){return Zx(ay(by(fy(this.overlay.position(),this.origin)),8),this.config.position)};
var H5b=function(a){return(0,E.combineLatest)([J5b(a).pipe($e(!1)),a.isKeyboardActivated$]).pipe(Ze(1),D(function(b){var c=l(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(Ue(b)))||(0,E.of)(b)}))},J5b=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=l(c);c=d.next().value;d=d.next().value;return c||d}),Ne(a.config.delay),
bf(a.destroyed$))}))};var K5b=new bd("onedevHovercardLoggingOn"),mK=function(a,b,c,d,e){var f=this;this.viewContainerRef=c;this.injector=e;this.config=new kK;this.destroyed$=new E.ReplaySubject(1);this.triggerControl=new lK(a,b);this.triggerControl.hovercardShown$.pipe(df(d||(0,E.of)(!1)),bf(this.destroyed$)).subscribe(function(h){h=l(h);h.next();h.next().value&&(f.clientStreamzService||(f.clientStreamzService=f.injector.get(QB)),KXb(f.clientStreamzService,"hovercardShown",!0))})};g=mK.prototype;
g.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 iy(a.templateRef,c);b.hovercard$.next(a)}}};g.ngOnDestroy=function(){this.triggerControl.dispose();this.destroyed$.next();this.destroyed$.complete()};
g.isExpanded=function(){return this.triggerControl.isExpanded()};g.onKeyDown=function(a){if(this.config.triggerKey.includes(a.key)){var b=this.triggerControl;a.stopPropagation();a.preventDefault();b.isKeyboardActivated$.next(!0)}};g.toggle=function(a){this.triggerControl.toggle(a)};g.hide=function(){this.triggerControl.hide()};Gh.Object.defineProperties(mK.prototype,{enabled:{configurable:!0,enumerable:!0,set:function(a){this.triggerControl.enabled=a}}});
mK.\u0275fac=function(a){return new (a||mK)(B(oy),B(Hd),B(lg),B(K5b,8),B(ff))};
mK.\u0275dir=Vc({type:mK,selectors:[["","onedevHovercardTrigger",""]],hostVars:2,hostBindings:function(a,b){a&1&&Q("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&&Af("aria-haspopup",b.hovercard?"true":void 0)("aria-expanded",b.isExpanded())},inputs:{hovercard:["onedevHovercardTrigger",
"hovercard"],enabled:["onedevHovercardActive","enabled"],config:["onedevHovercardConfig","config"]},features:[ld]});var L5b=new bd("mat-autocomplete-default-options",{providedIn:"root",factory:MEa});var M5b=new bd("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:function(){var a=Nc(oy);return function(){return a.scrollStrategies.reposition()}}}),N5b={provide:M5b,deps:[oy],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}};var O5b=["panel"],P5b=0,Q5b=function(a,b){this.source=a;this.option=b},R5b=tqa(function(){}),nK=function(a,b,c,d){var e=R5b.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 mv;e.opened=new mv;e.closed=new mv;e.optionActivated=new mv;e._classList={};e.id="mat-autocomplete-"+P5b++;e.inertGroups=(null==d?void 0:d.SAFARI)||!1;e._autoActiveFirstOption=!!c.autoActiveFirstOption;
e._autoSelectActiveOption=!!c.autoSelectActiveOption;e._requireSelection=!!c.requireSelection;return e};Y(nK,R5b);g=nK.prototype;g._setColor=function(a){this._color=a;this._setThemeClasses(this._classList)};g.ngAfterContentInit=function(){var a=this;this._keyManager=wx(xx(new Cx(this.options)),this._skipPredicate);this._activeOptionChanges=this._keyManager.change.subscribe(function(b){a.isOpen&&a.optionActivated.emit({source:a,option:a.options.toArray()[b]||null})});this._setVisibility()};
g.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._activeOptionChanges.unsubscribe()};g._setScrollTop=function(a){this.panel&&(this.panel.nativeElement.scrollTop=a)};g._getScrollTop=function(){return this.panel?this.panel.nativeElement.scrollTop:0};g._setVisibility=function(){this.showPanel=!!this.options.length;this._setVisibilityClasses(this._classList);this._changeDetectorRef.markForCheck()};g._emitSelectEvent=function(a){this.optionSelected.emit(new Q5b(this,a))};
g._getPanelAriaLabelledby=function(a){return this.ariaLabel?null:this.ariaLabelledby?(a?a+" ":"")+this.ariaLabelledby:a};g._setVisibilityClasses=function(a){a[this._visibleClass]=this.showPanel;a[this._hiddenClass]=!this.showPanel};g._setThemeClasses=function(a){a["mat-primary"]="primary"===this._color;a["mat-warn"]="warn"===this._color;a["mat-accent"]="accent"===this._color};g._skipPredicate=function(a){return a.disabled};
Gh.Object.defineProperties(nK.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=Sg(a)}},autoSelectActiveOption:{configurable:!0,enumerable:!0,get:function(){return this._autoSelectActiveOption},set:function(a){this._autoSelectActiveOption=Sg(a)}},requireSelection:{configurable:!0,enumerable:!0,get:function(){return this._requireSelection},
set:function(a){this._requireSelection=Sg(a)}},classList:{configurable:!0,enumerable:!0,set:function(a){a&&a.length?this._classList=Una(a).reduce(function(b,c){b[c]=!0;return b},{}):this._classList={};this._setVisibilityClasses(this._classList);this._setThemeClasses(this._classList);this._elementRef.nativeElement.className=""}}});nK.\u0275fac=function(a){return new (a||nK)(B(Fu),B(Hd),B(L5b),B(Vw))};
nK.\u0275dir=Vc({type:nK,viewQuery:function(a,b){a&1&&(og(kg,7),og(O5b,5));if(a&2){var c;ng(c=qg())&&(b.template=c.first);ng(c=qg())&&(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:[yf]});var oK=function(a,b,c,d,e,f,h,k,q,t,w){var y=this;this._element=a;this._overlay=b;this._viewContainerRef=c;this._zone=d;this._changeDetectorRef=e;this._dir=h;this._formField=k;this._document=q;this._viewportRuler=t;this._defaults=w;this._manuallyFloatingLabel=this._autocompleteDisabled=this._componentDestroyed=!1;this._viewportSubscription=E.Subscription.EMPTY;this._canOpenOnNextFocus=!0;this._closeKeyEventStream=new E.Subject;this._windowBlurHandler=function(){y._canOpenOnNextFocus=y._document.activeElement!==
y._element.nativeElement||y.panelOpen};this._onChange=function(){};this._onTouched=function(){};this.position="auto";this.autocompleteAttribute="off";this._overlayAttached=!1;this.optionSelections=(0,E.defer)(function(){var C=y.autocomplete?y.autocomplete.options:null;return C?C.changes.pipe($e(C),af(function(){return E.merge.apply(null,u(C.map(function(J){return J.onSelectionChange})))})):y._zone.onStable.pipe(Qe(),af(function(){return y.optionSelections}))});this._handlePanelKeydown=function(C){if(27===
C.keyCode&&!Mg(C)||38===C.keyCode&&Mg(C,"altKey")){if(y._pendingAutoselectedOption){var J;y._updateNativeInputValue(null!=(J=y._valueBeforeAutoSelection)?J:"");y._pendingAutoselectedOption=null}y._closeKeyEventStream.next();y._resetActiveItem();C.stopPropagation();C.preventDefault()}};this._trackedModal=null;this._scrollStrategy=f};
oK.prototype.ngAfterViewInit=function(){var a=this,b=this._getWindow();"undefined"!==typeof b&&this._zone.runOutsideAngular(function(){return b.addEventListener("blur",a._windowBlurHandler)})};oK.prototype.ngOnChanges=function(a){a.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())};
oK.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 qdb=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())};g=oK.prototype;g.updatePosition=function(){this._overlayAttached&&this._overlayRef.updatePosition()};
g._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(He(function(b){b=Rg(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)}))};g.writeValue=function(a){var b=this;Promise.resolve(null).then(function(){return b._assignOptionValue(a)})};g.registerOnChange=function(a){this._onChange=a};g.registerOnTouched=function(a){this._onTouched=a};g.setDisabledState=function(a){this._element.nativeElement.disabled=a};
g._handleKeydown=function(a){var b=a.keyCode,c=Mg(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))}};
g._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()))};
g._handleFocus=function(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0};g._handleClick=function(){this._canOpen()&&!this.panelOpen&&(this._attachOverlay(),this._floatLabel())};
g._floatLabel=function(a){this._formField&&"auto"===this._formField.floatLabel&&((void 0===a?0:a)?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)};g._resetLabel=function(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)};
g._subscribeToClosingActions=function(){var a=this,b=this._zone.onStable.pipe(Qe()),c=this.autocomplete.options.changes.pipe(cf(function(){return DQb(a._positionStrategy)}),Oe(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}),Qe()).subscribe(function(d){return a._setValueAndClose(d)})};
g._emitOpened=function(){this._valueOnOpen=this._element.nativeElement.value;this.autocomplete.opened.emit()};g._destroyPanel=function(){this._overlayRef&&(qdb(this),this._overlayRef.dispose(),this._overlayRef=null)};g._assignOptionValue=function(a){a=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(a):a;this._updateNativeInputValue(null!=a?a:"")};
g._updateNativeInputValue=function(a){this._formField?this._formField._control.value=a:this._element.nativeElement.value=a;this._previousValue=a};
g._setValueAndClose=function(a){var b=this,c=this.autocomplete;(a=a?a.source:this._pendingAutoselectedOption)?(this._clearPreviousSelectedOption(a),this._assignOptionValue(a.value),this._onChange(a.value),c._emitSelectEvent(a),this._element.nativeElement.focus()):c.requireSelection&&this._element.nativeElement.value!==this._valueOnOpen&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),c._animationDone?c._animationDone.pipe(Qe()).subscribe(function(){return b._onChange(null)}):
this._onChange(null));qdb(this)};g._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)})};
g._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 iy(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()};
g._updatePanelState=function(){this.autocomplete._setVisibility();if(this.panelOpen){var a=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=a.keydownEvents().subscribe(this._handlePanelKeydown));this._outsideClickSubscription||(this._outsideClickSubscription=a.outsidePointerEvents().subscribe())}else{null==(a=this._keydownSubscription)||a.unsubscribe();var b;null==(b=this._outsideClickSubscription)||b.unsubscribe();this._keydownSubscription=this._outsideClickSubscription=null}};
g._getOverlayConfig=function(){var a,b;return new Wx({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})};g._getOverlayPosition=function(){var a=GQb(by(fy(this._overlay.position(),this._getConnectedElement()),!1),!1);this._setStrategyPositions(a);return this._positionStrategy=a};
g._setStrategyPositions=function(a){var b=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],c=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(u(b),u(c));Zx(a,b)};
g._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};g._getPanelWidth=function(){return this.autocomplete.panelWidth||this._getHostWidth()};g._getHostWidth=function(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width};
g._resetActiveItem=function(){var a=this.autocomplete;if(a.autoActiveFirstOption){for(var b=-1,c=0;c<a.options.length;c++)if(!a.options.get(c).disabled){b=c;break}a._keyManager.setActiveItem(b)}else a._keyManager.setActiveItem(-1)};g._canOpen=function(){var a=this._element.nativeElement;return!a.readOnly&&!a.disabled&&!this._autocompleteDisabled};g._getWindow=function(){var a;return(null==(a=this._document)?void 0:a.defaultView)||window};
g._scrollToOption=function(a){var b=this.autocomplete,c=uqa(a,b.options,b.optionGroups);0===a&&1===c?b._setScrollTop(0):b.panel&&(a=b.options.toArray()[a])&&(a=a._getHostElement(),b._setScrollTop(vqa(a.offsetTop,a.offsetHeight,b._getScrollTop(),b.panel.nativeElement.offsetHeight)))};
g._applyModalPanelOwnership=function(){var a=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(a){var b=this.autocomplete.id;this._trackedModal&&Wg(this._trackedModal,"aria-owns",b);aoa(a,"aria-owns",b);this._trackedModal=a}};g._clearFromModal=function(){this._trackedModal&&(Wg(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)};
Gh.Object.defineProperties(oK.prototype,{autocompleteDisabled:{configurable:!0,enumerable:!0,get:function(){return this._autocompleteDisabled},set:function(a){this._autocompleteDisabled=Sg(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(He(function(){return a._overlayAttached})),
this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef._detachments.pipe(He(function(){return a._overlayAttached})):(0,E.of)()).pipe(D(function(b){return b instanceof ZTb?b:null}))}},activeOption:{configurable:!0,enumerable:!0,get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}}});oK.\u0275fac=function(a){return new (a||oK)(B(Hd),B(oy),B(lg),B(ef),B(Fu),B(M5b),B(Nx,8),B(Qz,9),B(Xg,8),B(Sx),B(L5b,8))};
oK.\u0275dir=Vc({type:oK,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[ld]});var S5b={provide:jw,useExisting:Jc(function(){return pK}),multi:!0},pK=function(){oK.apply(this,arguments);this._aboveClass="mat-autocomplete-panel-above"};Y(pK,oK);pK.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(pK)))(b||pK)}}();
pK.\u0275dir=Vc({type:pK,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(a,b){a&1&&Q("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&&Af("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:[bg([S5b]),yf]});var qK=function(){var a=nK.apply(this,arguments)||this;a._visibleClass="mat-autocomplete-visible";a._hiddenClass="mat-autocomplete-hidden";a._animationDone=null;return a};Y(qK,nK);qK.\u0275dir=nK.\u0275dir;qK.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(qK)))(b||qK)}}();
qK.\u0275cmp=r({type:qK,selectors:[["mat-autocomplete"]],contentQueries:function(a,b,c){a&1&&(pg(c,MSb,5),pg(c,hA,5));if(a&2){var d;ng(d=qg())&&(b.optionGroups=d);ng(d=qg())&&(b.options=d)}},hostAttrs:["ngSkipHydration","",1,"mat-autocomplete"],hostVars:1,hostBindings:function(a){a&2&&Af("mat-id-collision",null)},inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[bg([{provide:LSb,useExisting:qK}]),yf],ngContentSelectors:["*"],decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",
3,"id","ngClass"],["panel",""]],template:function(a){a&1&&(Vf(),F(0,NEa,3,4,"ng-template"))},dependencies:[Sv],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 rK=function(){};rK.\u0275fac=function(a){return new (a||rK)};rK.\u0275mod=Tc({type:rK});rK.\u0275inj=Ec({providers:[N5b],imports:[ry,iA,jz,hw,Tx,iA,jz]});var T5b=["searchBox"],sK=function(a,b,c,d,e,f,h,k,q){this.cdr=a;this.userApi=c;this.bookmarkGroupsApi=d;this.hotlistApi=e;this.paths=f;this.analytics=h;this.errorHandler=k;this.appEvents=q;this.allowStarring=this.showHotlists=this.showGroups=!0;this.focusOnInit=!1;this.itemSelect=new mv;this.lastProcessedIndex=-1;this.nextRequestIndex=0;this.favoriteBookmarkGroups=new Set;this.favoriteHotlists=new Set;this.query="";this.matches=[];this.currentUserEmail=b.getUserEmail()};
sK.prototype.ngOnInit=function(){this.allowStarring&&U5b(this)};
var U5b=function(a){a.favoriteBookmarkGroups.clear();a.favoriteHotlists.clear();a.userApi.getUserSidebar().then(function(b){if(a.showGroups){var c,d=l(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=l(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 f;b=l(null!=(f=b.hotlists)?f:[]);for(e=b.next();!e.done;e=b.next())f=e.value,
f.starred&&a.favoriteHotlists.add(f.id)}a.cdr.detectChanges()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};g=sK.prototype;g.reset=function(){this.query="";this.matches=[]};g.isLoading=function(){return this.lastProcessedIndex+1!==this.nextRequestIndex};g.onQueryChange=function(){this.matches=[];this.query&&"string"!==typeof this.query&&(this.query="");this.search()};
g.search=function(){var a=this,b=this.nextRequestIndex++;if(this.query){var c=this.showGroups?this.bookmarkGroupsApi.query(this.query):Promise.resolve([]);var d=this.showHotlists?this.hotlistApi.queryHotlists(this.query):Promise.resolve([]);Promise.all([c,d]).then(function(e){var f=l(e);e=f.next().value;f=f.next().value;if(b===a.nextRequestIndex-1){for(var h=l(e),k=h.next();!k.done;k=h.next()){k=k.value;var q=k.bookmarkGroupId;k.href=a.paths.viewBookmarkGroup(q);k.isGroup=!0;k.isStarred=a.favoriteBookmarkGroups.has(q)}h=
l(f);for(k=h.next();!k.done;k=h.next())k=k.value,q=k.hotlistId,k.href=a.paths.viewHotlist(q),k.isGroup=!1,k.isStarred=a.favoriteHotlists.has(q);a.matches=[].concat(u(e),u(f));a.lastProcessedIndex=b;a.cdr.detectChanges()}})}else this.lastProcessedIndex=b};g.shouldShowStar=function(a){return this.allowStarring&&!ni(a.adminUsers).includes(this.currentUserEmail)};
g.toggleStar=function(a){var b=this;if(a.isGroup){var c=a.bookmarkGroupId;var d="BOOKMARK_GROUP"}else c=a.hotlistId,d="HOTLIST";a.isStarred=!a.isStarred;var e=function(){b.appEvents.hotlistChanged.next();b.appEvents.favoritesModified.next();U5b(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))};
sK.\u0275fac=function(a){return new (a||sK)(B(XD,2),B(nt),B(SH),B(PJ),B(PF),B(cF),B(aI),B(FG),B(lG))};
sK.\u0275cmp=r({type:sK,selectors:[["b-hotlist-search"]],viewQuery:function(a,b){a&1&&(og(T5b,5),og(pK,5));if(a&2){var c;ng(c=qg())&&(b.searchBoxEl=c.first);ng(c=qg())&&(b.autocomplete=c.first)}},hostAttrs:[1,"'bv2-hotlist-search'"],inputs:{showGroups:"showGroups",showHotlists:"showHotlists",allowStarring:"allowStarring",focusOnInit:"focusOnInit"},outputs:{itemSelect:"itemSelect"},features:[bg([XD])],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),Q("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()}),K(),F(3,OEa,1,0,"b-spinner",3),H(4,"mat-autocomplete",4,5),Q("optionSelected",function(d){b.itemSelect.emit(d.option.value)}),F(6,SEa,9,8,"mat-option",6),K(),H(7,"div",7),T(8,' e.g., "foo bar admin:user@google.com" '),L(9,"br"),T(10,' or "foo bar admin:group@google.com" '),L(11,"br"),T(12," Only identities directly listed as Admins can be searched. "),K()());if(a&2){var c=S(5);A(1);G("ngModel",b.query)("matAutocomplete",c);Af("autofocus",b.focusOnInit)("aria-label","Add query for searching "+
(b.showGroups?"bookmark groups":"hotlists"));A(2);G("ngIf",b.isLoading());A(3);G("ngForOf",b.matches)}},dependencies:[Tv,Uv,$J,aK,hK,mK,eK,cK,Jg,ww,Dw,qK,pK,hA],encapsulation:2});var V5b=[[["xap-dialog-layout-title"]],[["xap-dialog-layout-subtitle"]],[["xap-dialog-layout-content"]],[["xap-dialog-layout-actions"]]],tK=function(){};tK.\u0275fac=function(a){return new (a||tK)};tK.\u0275dir=Vc({type:tK,selectors:[["xap-dialog-layout-subtitle"]]});var uK=function(a,b,c){this.el=a;this.cdRef=b;this.ngZone=c;this.destroyed=new E.ReplaySubject;this.internalScrollable=!1;this.internalScrollPosition="bottom"};
uK.prototype.ngOnInit=function(){var a=this;this.internalScrollPosition=this.getScrollPosition(this.el.nativeElement);this.ngZone.runOutsideAngular(function(){W5b(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollable=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})});X5b(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollPosition=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})})})};uK.prototype.ngOnDestroy=function(){this.destroyed.next();this.destroyed.complete()};
var W5b=function(a){if(!window.ResizeObserver)return(0,E.of)(Y5b(a.el.nativeElement));var b;return(0,E.fromEventPattern)(function(c){b=new ResizeObserver(function(){c(Y5b(a.el.nativeElement))});b.observe(a.el.nativeElement)},function(){b.disconnect()}).pipe(Pe(),bf(a.destroyed))},X5b=function(a){return(0,E.fromEvent)(a.el.nativeElement,"scroll").pipe(TEa(),D(function(){return a.getScrollPosition(a.el.nativeElement)}),Pe(),bf(a.destroyed))},Y5b=function(a){return a.offsetHeight+a.scrollTop<=a.scrollHeight};
uK.prototype.getScrollPosition=function(a){return 0===a.scrollTop?"top":a.offsetHeight+a.scrollTop>=a.scrollHeight?"bottom":"center"};Gh.Object.defineProperties(uK.prototype,{scrollable:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollable}},scrollPosition:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollPosition}}});uK.\u0275fac=function(a){return new (a||uK)(B(Hd),B(Fu),B(ef))};
uK.\u0275dir=Vc({type:uK,selectors:[["xap-dialog-layout-content"]],hostAttrs:[1,"xap-dialog-layout-content"],hostVars:6,hostBindings:function(a,b){a&2&&Jf("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 vK=function(){};vK.\u0275fac=function(a){return new (a||vK)};
vK.\u0275cmp=r({type:vK,selectors:[["xap-dialog-layout"]],contentQueries:function(a,b,c){a&1&&pg(c,tK,4);if(a&2){var d;ng(d=qg())&&(b.subtitle=d)}},hostAttrs:[1,"xap-dialog-layout"],hostVars:2,hostBindings:function(a,b){a&2&&Jf("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&&(Vf(V5b),
H(0,"header",0),Wf(1),Wf(2,1),K(),Wf(3,2),Wf(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 Z5b=kh({opacity:0}),$5b=kh({opacity:1}),a6b=ih("dialogContainer",[lh("void, hidden",Z5b),lh("visible",$5b),nh("void => *, * => visible",jh("200ms cubic-bezier(0.0,0.0,0.2,1)",$5b)),nh("* => void, * => hidden",jh("200ms cubic-bezier(0.4,0.0,0.2,1)",Z5b))]);var b6b=new bd("XAP_IDCO"),wK=function(){jy.apply(this,arguments);this.animationState="hidden";this.options=Nc(b6b);this.changeDetector=Nc(Fu)};Y(wK,jy);wK.prototype.ngAfterViewInit=function(){};wK.prototype.attachComponentPortal=function(a){return this.portalOutlet.attachComponentPortal(a)};wK.prototype.attachTemplatePortal=function(a){return this.portalOutlet.attachTemplatePortal(a)};var c6b=function(a,b){a.animationState=b?"visible":"hidden";a.changeDetector.markForCheck()};
wK.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(wK)))(b||wK)}}();
wK.\u0275cmp=r({type:wK,selectors:[["xap-inline-dialog-container"]],viewQuery:function(a,b){a&1&&og(my,7);if(a&2){var c;ng(c=qg())&&(b.portalOutlet=c.first)}},hostAttrs:["role","dialog",1,"xap-inline-dialog-container","gmat-body-2"],hostVars:3,hostBindings:function(a,b){a&2&&(Af("aria-label",b.options.dialogLabel)("tabindex",b.options.dialogTabIndex),Tf("@dialogContainer",b.animationState))},features:[yf],decls:2,vars:0,consts:[["cdkPortalOutlet",""],["cdkFocusInitial","","tabindex","0"]],template:function(a){a&
1&&(H(0,"div"),F(1,UEa,1,0,"ng-template",0),K())},dependencies:[my],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:[a6b]},changeDetection:0});var d6b=[{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}],e6b={minWidth:220,maxWidth:420,minHeight:64,maxHeight:420},xK=function(a,b,c,d,e,f,h,k){var q=this;this.ngZone=a;this.overlay=b;this.elementRef=c;this.viewContainerRef=d;this.document=e;this.focusTrapFactory=
f;this.ariaDescriber=h;this.injector=k;this.disabledInternal=!1;this.dialogLabel=null;this.dialogTabIndex=-1;this.overlayDimensions=e6b;this.triggerDescription="Press space for more information.";this.forceTrapFocus=this.disableAutoFocusInternal=!1;this.scrollStrategy="close";this.stackLocation=0;this.beforeOpened=new mv;this.opened=new mv;this.closed=new mv;this.destroyed=new E.ReplaySubject;this.openStatusChange=new E.BehaviorSubject(!1);this.openings=this.openStatusChange.pipe(He(function(t){return t&&
!q.disabled}));this.elementFocusedBeforeDialogWasOpened=void 0;f6b(this,c.nativeElement);this.attachKeyboardCloseEventListeners(c.nativeElement);g6b(this,c.nativeElement)};xK.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)};
xK.prototype.ngOnDestroy=function(){this.closeDialog();this.openStatusChange.complete();this.destroyed.next();this.destroyed.complete();this.overlayRef&&this.overlayRef.dispose()};
var f6b=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()}})})},g6b=function(a,b){a.ngZone.runOutsideAngular(function(){(0,E.fromEvent)(b,"focus").pipe(He(function(){return 0<a.beforeOpened.observers.length}),bf(a.destroyed)).subscribe(function(){a.ngZone.run(function(){a.beforeOpened.emit()})})})};
g=xK.prototype;
g.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=h6b(a);a.dialogContainerRef.instance.attach(c);var d=a.dialogContainerRef.location.nativeElement;a.attachMouseEventListeners(d);a.attachKeyboardCloseEventListeners(d);a.trapFocus(d);c6b(a.dialogContainerRef.instance,!0);a.opened.observers.length&&setTimeout(function(){a.opened.emit()},
200)}))}}};g.closeDialog=function(){var a=this,b;null==(b=this.overlayRef)||!b.hasAttached()||this.stackManager&&!this.stackManager.tryUnregister(this.stackLocation)||(c6b(this.dialogContainerRef.instance,!1),setTimeout(function(){a.ngZone.run(function(){a.overlayRef&&a.overlayRef.detach();a.focusTrap&&(a.focusTrap.destroy(),a.focusTrap=void 0);a.restoreFocus();a.dialogContainerRef&&(a.dialogContainerRef.destroy(),a.dialogContainerRef=void 0);a.closed.emit()})},200))};
g.trapFocus=function(a){var b=this.document.activeElement,c=this.elementRef.nativeElement;if(this.forceTrapFocus||b&&b===c)this.document&&(this.elementFocusedBeforeDialogWasOpened=this.document.activeElement),this.focusTrap=this.focusTrapFactory.create(a),cx(this.focusTrap),this.disableAutoFocus||this.focusInitialElement()};g.focusInitialElement=function(){this.focusTrap&&dQb(this.focusTrap)};
g.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)}};g.createPositionStrategy=function(a){var b,c;return Zx(fy(this.overlay.position(),null!=(b=this.attachedTo)?b:this.elementRef),a).setOrigin(null!=(c=this.attachedTo)?c:this.elementRef)};
var i6b=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()}},h6b=function(a){var b=qf({parent:a.injector,providers:[{provide:b6b,useValue:{dialogLabel:a.dialogLabel,dialogTabIndex:a.dialogTabIndex}}]});b=new hy(wK,null,b);null==a.overlayRef&&(a.overlayRef=a.overlay.create(a.createOverlayConfig(d6b)));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)};
Gh.Object.defineProperties(xK.prototype,{dialog:{configurable:!0,enumerable:!0,set:function(a){a&&(this.portal=a instanceof kg?new iy(a,this.viewContainerRef):new hy(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=Sg(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}}}});xK.\u0275fac=function(a){return new (a||xK)(B(ef),B(oy),B(Hd),B(lg),B(Document),B(ux),B(qx),B(ff))};
xK.\u0275dir=Vc({type:xK,hostVars:1,hostBindings:function(a,b){a&2&&Af("data-disabled",b.disabled)},inputs:{attachedTo:"attachedTo",dialogLabel:"dialogLabel",dialogTabIndex:"dialogTabIndex",overlaySize:"overlaySize",overlayPositions:"overlayPositions",overlayDimensions:"overlayDimensions",triggerDescription:"triggerDescription",disableAutoFocus:"disableAutoFocus",forceTrapFocus:"forceTrapFocus",panelClass:"panelClass",scrollStrategy:"scrollStrategy",stackManager:"stackManager"},outputs:{beforeOpened:"beforeOpened",
opened:"opened",closed:"closed"}});var yK=function(a,b,c,d,e,f,h,k){xK.call(this,a,b,c,d,e,f,h,k);this.attachMouseEventListeners(c.nativeElement)};Y(yK,xK);g=yK.prototype;g.ngOnInit=function(){xK.prototype.ngOnInit.call(this);this.listenForOpenEvents()};g.listenForOpenEvents=function(){var a=this;this.openStatusChange.pipe(bf(this.destroyed)).subscribe(function(b){b?a.openDialog():a.closeDialog()});this.openings.pipe(He(function(b){return b&&0<a.beforeOpened.observers.length}),cka(function(){return a.openStatusChange.pipe(He(function(b){return!b}))}))};
g.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()})})};
g.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()}})})};
g.openingDialog=function(){this.disabled||this.openStatusChange.next(!0)};g.closingDialog=function(){this.openStatusChange.next(!1)};g.createOverlayConfig=function(a){return new Wx(Object.assign({},this.overlayDimensions,{positionStrategy:xK.prototype.createPositionStrategy.call(this,a),scrollStrategy:i6b(this),hasBackdrop:!0,backdropClass:"cdk-overlay-transparent-backdrop",panelClass:this.panelClassInternal}))};
yK.\u0275fac=function(a){return new (a||yK)(B(ef),B(oy),B(Hd),B(lg),B(Xg),B(ux),B(qx),B(ff))};yK.\u0275dir=Vc({type:yK,selectors:[["","xapInlineDialogClick",""]],hostAttrs:[1,"xap-inline-dialog-click"],inputs:{dialog:["xapInlineDialogClick","dialog"],disabled:["xapInlineDialogDisabled","disabled"]},exportAs:["xapInlineDialogClick"],features:[yf]});var j6b=["*"],k6b=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}"},zK=function(){this.disabled=!1};zK.\u0275fac=function(a){return new (a||zK)};
zK.\u0275cmp=r({type:zK,selectors:[["xap-text-trigger"]],hostAttrs:["role","button"],hostVars:3,hostBindings:function(a,b){a&2&&(Af("tabindex",b.disabled?-1:0),Jf("xap-text-trigger",!b.disabled))},inputs:{disabled:["xapInlineDialogDisabled","disabled"]},ngContentSelectors:j6b,decls:1,vars:0,template:function(a){a&1&&(Vf(),Wf(0))},styles:[k6b()],encapsulation:2});var AK=function(){this.disabled=!1};AK.\u0275fac=function(a){return new (a||AK)};
AK.\u0275cmp=r({type:AK,selectors:[["xap-icon-trigger"]],hostAttrs:["role","button","tabindex","0",1,"xap-icon-trigger"],inputs:{disabled:["xapInlineDialogDisabled","disabled"]},ngContentSelectors:j6b,decls:1,vars:0,template:function(a){a&1&&(Vf(),Wf(0))},styles:[k6b()],encapsulation:2});var BK=function(){this.allowStarring=this.showHotlists=this.showGroups=!0;this.ariaLabel="";this.itemSelect=new mv};BK.\u0275fac=function(a){return new (a||BK)};
BK.\u0275cmp=r({type:BK,selectors:[["b-hotlist-search-popup"]],viewQuery:function(a,b){a&1&&og(yK,5);if(a&2){var c;ng(c=qg())&&(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),L(1,"mat-icon",1),K(),F(2,VEa,3,4,"ng-template",null,2,tg));if(a&2){var c=S(3);G("xapInlineDialogClick",c);Af("aria-label",b.ariaLabel)}},dependencies:[MA,vK,uK,dC,yK,AK,sK],styles:["xap-dialog-layout[_ngcontent-%COMP%] { padding: 16px; }","xap-dialog-layout-content[_ngcontent-%COMP%] { padding: 0; }"]});var CK=function(a,b,c,d){this.location=a;this.analytics=b;this.paths=c;this.sidebar=d;this.bookmarkGroups=[]};CK.prototype.handleBookmarkGroupOpen=function(a){this.analytics.trackEvent("sidebarBookmarkGroups","open");this.location.setUrl(this.paths.viewBookmarkGroup(a))};CK.prototype.handleBookmarkGroupDashboard=function(a){this.analytics.trackEvent("sidebarBookmarkGroups","dashboard");this.location.setUrl(this.paths.dashboard(a))};CK.prototype.editBookmarkGroup=function(a){this.location.setUrl(this.paths.editBookmarkGroup(a))};
CK.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};CK.\u0275fac=function(a){return new (a||CK)(B(bF),B(aI),B(cF),B(UJ))};
CK.\u0275cmp=r({type:CK,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),L(1,"hr"),H(2,"sidebar-zippy",1),F(3,WEa,3,1,"ng-template",null,2,tg)(5,kFa,1,1,"ng-template",null,3,tg),K()());if(a&2){var b=S(4),c=S(6);A(2);G("header",b)("content",c)}},dependencies:[Tv,Uv,MA,BK,eA,ZB,XB,YB,WB,YJ],encapsulation:2,changeDetection:0});var l6b=(new JJ).transform,DK=function(a){this.kansasPrefsManager=a;this.destroyed$=new E.ReplaySubject(1);this.prefs$=this.kansasPrefsManager.preferences$.pipe(D(function(b){var c;return null!=(c=null==b?void 0:b.missionControlPreferences)?c:{}}));this.prefsSubject$=Ck(this.prefs$.pipe(bf(this.destroyed$)),{});this.myTasksSources$=this.prefs$.pipe(D(function(b){var c,d=null!=(c=null==b?void 0:b.myTasksSources)?c:[];b=null==b?void 0:b.isMyTasksSourcesConfigured;return 0!==d.length||b?d.map(vFa):[].concat(u(c5b))}));
this.needsAttentionSources$=this.prefs$.pipe(D(function(b){var c,d=null!=(c=null==b?void 0:b.needsAttentionSources)?c:[];b=null==b?void 0:b.isNeedsAttentionSourcesConfigured;return 0!==d.length||b?d.map(vFa):[].concat(u(b5b))}))};DK.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};
var gt=function(a,b){a.kansasPrefsManager.save({missionControlPreferences:Object.assign({},a.prefs,b)}).subscribe()},zFb=function(a,b,c){switch(b){case "mc-my-tasks":a.prefs.myTasksTab=c;gt(a,{myTasksTab:c});break;case "work-areas-wrapper-card":a.prefs.workAreaTab=c;gt(a,{workAreaTab:c});break;default:console.error("unhandled tab key, cannot save preference")}};
DK.prototype.toggleCollapsed=function(a){var b;this.prefs.collapsed=null!=(b=this.prefs.collapsed)?b:{};this.prefs.collapsed[a]=!this.prefs.collapsed[a];gt(this,{collapsed:this.prefs.collapsed})};DK.prototype.isCollapsed=function(a){var b;return!(null==(b=this.prefs.collapsed)||!b[a])};
var m6b=function(a,b){switch(b){case "mc-my-tasks":return a.prefs.myTasksTab;case "work-areas-wrapper-card":return a.prefs.workAreaTab;default:console.error("unhandled tab key, cannot get preference")}},YFb=function(a,b){var c;if(a=null==(c=a.prefs.workAreaQuickFilters)?void 0:c[b]){if("UNKNOWN_KEY"===a)throw Error("Xc");b=[a]}else b=[];return b};DK.prototype.addHotlist=function(a){jt(this,nFa(a))};
var jt=function(a,b){"string"===typeof b&&(b=[b]);if(null!=b&&0!==b.length){var c,d=null!=(c=a.prefs.workAreaUrls)?c:[];d=uta(b,d);gt(a,{workAreaUrls:d})}},nGb=function(a,b,c){var d,e=(null!=(d=a.prefs.workAreaUrls)?d:[]).slice();l6b(b,e,c)?console.info('Cannot move "'+b+'" by '+c+". peers: ["+e+"]"):(d=e.indexOf(b),e[d]=e[d+c],e[d+c]=b,gt(a,{workAreaUrls:e}))};Gh.Object.defineProperties(DK.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.prefsSubject$.value}}});
DK.\u0275fac=function(a){return new (a||DK)(p(LE))};DK.\u0275prov=Dc({token:DK,factory:DK.\u0275fac,providedIn:"root"});var EK=function(a,b,c,d,e,f,h,k){Z.call(this);this.location=a;this.analytics=c;this.sidebar=d;this.paths=e;this.mcPrefs=k;this.ENABLE_MISSION_CONTROL=Cm("enableHomepageVariantA")&&"INTERNAL"===Tsa(Kj());this.userEmail=b.getUserEmail();this.subscriptions.add(h.routeChangeSuccess.subscribe(function(){f.detectChanges()}))};Y(EK,Z);EK.\u0275dir=Z.\u0275dir;EK.prototype.getUserEmail=function(){return this.userEmail};EK.prototype.openEditHotlist=function(a){this.location.setUrl(this.paths.editHotlist(a))};
EK.prototype.addToMissionControl=function(a){this.mcPrefs.addHotlist(a);this.location.setUrl("home")};EK.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};EK.\u0275fac=function(a){return new (a||EK)(B(bF),B(nt),B(aI),B(UJ),B(cF),B(Fu),B(JE),B(DK))};
EK.\u0275cmp=r({type:EK,selectors:[["sidebar-hotlists"]],inputs:{hotlists:"hotlists"},features:[yf],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","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"],
["svgIcon","settings",1,"icon-s"],["svgIcon","home",1,"icon-s"],["svgIcon","save",1,"icon-s"],["svgIcon","star-empty",1,"icon-s"]],template:function(a){a&1&&(H(0,"div",0),L(1,"hr"),H(2,"sidebar-zippy",1),F(3,wFa,3,1,"ng-template",null,2,tg)(5,EFa,1,1,"ng-template",null,3,tg),K()());if(a&2){var b=S(4),c=S(6);A(2);G("header",b)("content",c)}},dependencies:[Tv,Uv,MA,BK,eA,ZB,XB,YB,WB,YJ],encapsulation:2,changeDetection:0});var FK=function(a,b,c,d,e,f,h,k,q,t,w,y){Z.call(this);var C=this;this.cdr=a;this.location=b;this.savedSearchApi=c;this.paths=d;this.butterBar=e;this.analytics=f;this.sidebar=h;this.errorHandler=k;this.confirmationDialogService=q;this.appEvents=t;this.mcPrefs=y;this.ENABLE_MISSION_CONTROL=Cm("enableHomepageVariantA")&&"INTERNAL"===Tsa(Kj());this.searches=[];this.subscriptions.add(w.routeChangeSuccess.subscribe(function(){C.cdr.detectChanges()}))};Y(FK,Z);FK.\u0275dir=Z.\u0275dir;
FK.prototype.openEditSavedSearch=function(a){this.location.setUrl(this.paths.editSavedSearch(a))};FK.prototype.addToMissionControl=function(a){jt(this.mcPrefs,oFa(a));this.location.setUrl("home")};
var IFa=function(a,b){a.confirmationDialogService.open({title:"Deleting saved search: "+b.name,content:ch("Are you sure you want to delete this search?"),onConfirm:function(){n6b(a,b)}})},n6b=function(a,b){var c=b.id;Fs(a.butterBar,'Deleting saved search "'+b.name+'"...');a.savedSearchApi.delete(c).then(function(){a.appEvents.savedSearchModified.next({savedSearchId:c,action:"delete"});Fs(a.butterBar,'Deleted saved search "'+b.name+'".');a.analytics.trackEvent("sidebarSavedSearches","deleted");a.cdr.detectChanges()}).catch(function(d){a.errorHandler.errorHandler(null,
d)})};FK.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};FK.\u0275fac=function(a){return new (a||FK)(B(XD,2),B(bF),B(LI),B(cF),B(EG),B(aI),B(UJ),B(FG),B(SJ),B(lG),B(JE),B(DK))};
FK.\u0275cmp=r({type:FK,selectors:[["sidebar-saved-searches"]],inputs:{searches:"searches"},features:[bg([XD]),yf],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","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"],["svgIcon","settings",1,"icon-s"],["svgIcon","delete",1,"icon-s"],["svgIcon","home",1,"icon-s"],["svgIcon","save",1,"icon-s"]],template:function(a){a&1&&(H(0,"div",0),L(1,"hr"),H(2,"sidebar-zippy",1),F(3,FFa,2,0,"ng-template",null,2,tg)(5,MFa,1,1,
"ng-template",null,3,tg),K()());if(a&2){var b=S(4),c=S(6);A(2);G("header",b)("content",c)}},dependencies:[Tv,Uv,MA,eA,ZB,XB,YB,WB,YJ],encapsulation:2,changeDetection:0});var o6b=/^\s*hotlistid:(\d+)\s*$/i,p6b=/(?:\s|^)componentid:(\d+)\s*/i,q6b=/^\s*savedsearchid:(\d+)\s*$/i,GK=function(a,b,c,d){Z.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(f){return f?[f]:[]}));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(f){e.currentQuery=f.query;(f=e.currentQuery.match(p6b))?e.contextSensitiveRegistry.componentIdOverride$.next(Number(f[1])):e.contextSensitiveRegistry.componentIdOverride$.next(null);(f=e.currentQuery.match(o6b))?e.contextSensitiveRegistry.hotlistIdOverride$.next(Number(f[1])):
e.contextSensitiveRegistry.hotlistIdOverride$.next(null)}));this.subscriptions.add(this.trackerScope$.pipe(bf(this.destroyed$)).subscribe(function(f){e.currentTrackerScope=f}))};Y(GK,Z);GK.\u0275dir=Z.\u0275dir;GK.prototype.clear=function(){HK(this,"")};var HK=function(a,b){a.queryState$.next({query:b,cursorPosition:void 0,setViaInteraction:!1})},IK=function(a){return"assignee:"+a+" status:open"},r6b=function(a,b){return a.currentQuery===IK("me")||a.currentQuery===IK(void 0===b?"":b)};
GK.prototype.getStarred=function(){return"star:true"};GK.prototype.isStarred=function(){return this.currentQuery===this.getStarred()};GK.prototype.getVoted=function(){return"vote:true"};
var hGa=function(a){return a.currentQuery===a.getVoted()},s6b=function(a){return"verifier:"+a+" status:open | status:fixed"},t6b=function(a){return(a=a.currentQuery.match(o6b))?Number(a[1]):0},u6b=function(a){return(a=a.currentQuery.match(q6b))?Number(a[1]):0},v6b=function(a){return(a=a.currentQuery.match(p6b))?Number(a[1]):0};GK.prototype.track=function(a,b,c){this.analytics.trackEvent("global-search",a,b,c)};
var w6b=function(a,b){a.searchHandlerStack.push(b);return function(){va(a.searchHandlerStack,b)}};GK.\u0275fac=function(a){return new (a||GK)(p(GE),p(SG),p(xJ),p(aI))};GK.\u0275prov=Dc({token:GK,factory:GK.\u0275fac,providedIn:"root"});var x6b=$Zb("edited-ids"),y6b=Hsa("edited-ids"),z6b=$Zb("viewed-ids"),A6b=Hsa("viewed-ids"),JK=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){RFa(b.viewed,c);z6b(Array.from(b.viewed.keys()).join(","))};this.addEdited=function(c){RFa(b.edited,c);x6b(Array.from(b.edited.keys()).join(","))}};JK.\u0275fac=function(a){return new (a||JK)(p(lG))};JK.\u0275prov=Dc({token:JK,factory:JK.\u0275fac,providedIn:"root"});var B6b=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"}]]),tGb=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 C6b=0,KK=function(a,b,c,d,e){this._ngZone=a;this._elementRef=b;this._ariaDescriber=c;this._renderer=d;this._animationMode=e;this._color="primary";this.overlap=!0;this.position="above after";this.size="medium";this._id=C6b++;this._isInitialized=!1;this._interactivityChecker=Nc(ax);this._document=Nc(Xg)};g=KK.prototype;
g.ngOnInit=function(){this._clearExistingBadges();this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content));this._isInitialized=!0};g.ngOnDestroy=function(){if(this._renderer.destroyNode){this._renderer.destroyNode(this._badgeElement);var a;null==(a=this._inlineBadgeDescription)||a.remove()}rx(this._ariaDescriber,this._elementRef.nativeElement,this.description)};
g._isHostInteractive=function(){return this._interactivityChecker.isFocusable(this._elementRef.nativeElement,{ignoreVisibility:!0})};
g._createBadgeElement=function(){var a=this._renderer.createElement("span");a.setAttribute("id","mat-badge-content-"+this._id);a.setAttribute("aria-hidden","true");a.classList.add("mat-badge-content");"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};g._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};
g._updateDescription=function(a){rx(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()};
g._updateInlineDescription=function(){this._inlineBadgeDescription||(this._inlineBadgeDescription=this._document.createElement("span"),this._inlineBadgeDescription.classList.add("cdk-visually-hidden"));this._inlineBadgeDescription.textContent=this.description;var a;null==(a=this._badgeElement)||a.appendChild(this._inlineBadgeDescription)};g._removeInlineDescription=function(){var a;null==(a=this._inlineBadgeDescription)||a.remove();this._inlineBadgeDescription=void 0};
g._setColor=function(a){var b=this._elementRef.nativeElement.classList;b.remove("mat-badge-"+this._color);a&&b.add("mat-badge-"+a)};g._clearExistingBadges=function(){for(var a=l(Array.from(this._elementRef.nativeElement.querySelectorAll(":scope > .mat-badge-content"))),b=a.next();!b.done;b=a.next())b=b.value,b!==this._badgeElement&&b.remove()};
Gh.Object.defineProperties(KK.prototype,{color:{configurable:!0,enumerable:!0,get:function(){return this._color},set:function(a){this._setColor(a);this._color=a}},content:{configurable:!0,enumerable:!0,get:function(){return this._content},set:function(a){this._updateRenderedContent(a)}},description:{configurable:!0,enumerable:!0,get:function(){return this._description},set:function(a){this._updateDescription(a)}}});KK.\u0275fac=function(a){return new (a||KK)(B(ef),B(Hd),B(qx),B(Eu),B(Du,8))};
KK.\u0275dir=Vc({type:KK,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(a,b){a&2&&Jf("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:{color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap",ug],disabled:["matBadgeDisabled","disabled",ug],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden",ug]},standalone:!0,features:[zf]});var LK=function(){};LK.\u0275fac=function(a){return new (a||LK)};LK.\u0275mod=Tc({type:LK});LK.\u0275inj=Ec({imports:[px,jz,jz]});var MK=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J){var I=this;this.cdr=a;this.activeSession=b;this.butterBar=c;this.appSearchState=d;this.paths=e;this.userPreferencesManager=f;this.sidebar=h;this.location=k;this.issueLru=q;this.appEvents=t;this.needsAttentionApi=w;this.currentTracker=y;this.taskFridge=C;this.missionControlPrefs=J;this.needsAttentionIssueCount$=new E.Subject;this.missionControlTaskCount$=new E.Subject;this.enableHomepageVariantA=yD(this.activeSession,"enableHomepageVariantA")&&this.activeSession.isInternalSession();
this.enabledVotedNav=yD(this.activeSession,"enableUpvotedInNav")&&this.activeSession.isInternalSession();this.votedPath=this.paths.listIssues({q:this.appSearchState.getVoted()});this.recentlyViewedPath=D6b(this)?"recent":void 0;this.showNeedsAttentionUI=yD(this.activeSession,"showNeedsAttentionUI")&&this.activeSession.isInternalSession()&&!this.currentTracker.inTracker;this.homepagePreferences$=this.userPreferencesManager.preferences$.pipe(D(function(U){return(U||uD).homepagePreferences}));this.hasPreferredHomepage$=
this.homepagePreferences$.pipe(D(function(U){return!(!U||!U.resourceType)}),Pe());this.isHomepageNeedsAttention$=this.homepagePreferences$.pipe(D(function(U){return"NEEDS_ATTENTION"===U.resourceType}),Pe());this.isHomepageMissionControl$=this.homepagePreferences$.pipe(D(function(U){return"MISSION_CONTROL"===U.resourceType}),Pe());this.isHomepageAssignedToMe$=this.homepagePreferences$.pipe(D(function(U){return!I.enableHomepageVariantA&&!U.resourceType||"ASSIGNED_TO_ME"===U.resourceType}),Pe());this.hideBadgeInNav$=
this.userPreferencesManager.preferences$.pipe(D(function(U){var aa;return null==U?void 0:null==(aa=U.missionControlPreferences)?void 0:aa.hideBadgeInNav}),D(Boolean));this.destroyed$=new mv;this.appName=b.getAppName();this.userEmail=b.getUserEmail();this.environmentType=b.getEnvironmentType();this.missionControlPath=e.home();this.needsAttentionPath=e.needsAttention();this.assignedPath=e.listIssues({q:IK(this.userEmail)});this.starredPath=e.listIssues({q:d.getStarred()});this.ccdPath=e.listIssues({q:"cc:"+
this.userEmail});this.verifiedPath=e.listIssues({q:s6b(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 P,O=!!this.location.path().match(/^\/home\b/)&&
!(null==(P=this.missionControlPrefs.prefs.collapsed)?0:P["needs-attention-wrapper"]);yD(b,"runQueryForSidebarIssueCount")&&setTimeout(function(){I.enableHomepageVariantA&&!O?(0,E.combineLatest)([I.missionControlPrefs.needsAttentionSources$,I.taskFridge.watchMany({}).pipe(D(YDa)),(0,E.defer)(function(){return I.needsAttentionApi.listIssues(void 0,void 0,mo())}).pipe(D(ZDa))]).pipe(bf(I.destroyed$),D(function(U){var aa=l(U);U=aa.next().value;var na=aa.next().value;aa=aa.next().value;return XDa(na,aa,
U,I.missionControlPrefs.prefs.needsAttentionDaysOld)}),D(function(U){return U.length})).subscribe(function(U){I.appEvents.missionControlTaskCount.next(U)}):I.userPreferencesManager.needsAttentionPreferences$.pipe(bf(I.destroyed$)).subscribe(function(U){var aa=q3b(I.currentTracker),na;I.needsAttentionApi.listIssues(null,aa,null!=(na=U.selectedSignals)?na:[])})},1E3)};MK.prototype.ngOnInit=function(){var a=this;this.hasPreferredHomepage$.pipe(bf(this.destroyed$)).subscribe(function(){setTimeout(function(){a.cdr.detectChanges()})})};
MK.prototype.ngOnDestroy=function(){this.destroyed$.next()};var YFa=function(a,b){Fs(a.butterBar,"Updating homepage...",0);v1b(a.userPreferencesManager,{resourceType:b}).subscribe(function(){Fs(a.butterBar,"Homepage updated")})};MK.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};var D6b=function(a){var b=yD(a.activeSession,"enableRecentlyViewedInNav");a=0<Array.from(a.issueLru.viewed.keys()).length;return b&&a};
MK.\u0275fac=function(a){return new (a||MK)(B(XD,2),B(nt),B(EG),B(GK),B(cF),B(LE),B(UJ),B(pw),B(JK),B(lG),B(pG),B(SG),B(QI),B(DK))};
MK.\u0275cmp=r({type:MK,selectors:[["b-sidebar"]],features:[bg([XD])],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","assigned-to-me-sidebar-link",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"],["id","mission-control-sidebar-link",1,"bv2-nav-item"],["class","canned-search-icon","svgIcon","home","matBadgeColor","warn","matBadgeSize","small",3,"matBadge","matBadgeHidden",
"matBadgeDescription",4,"ngIf","ngIfElse"],["noBadge",""],["mat-icon-button","","disableRipple","true","aria-label","More settings","class","bv2-nav-item-menubutton",3,"matMenuTriggerFor",4,"ngIf"],["homepageMenu",""],["svgIcon","home","matBadgeColor","warn","matBadgeSize","small",1,"canned-search-icon",3,"matBadge","matBadgeHidden","matBadgeDescription"],["svgIcon","home",1,"canned-search-icon"],["mat-icon-button","","disableRipple","true","aria-label","More settings",1,"bv2-nav-item-menubutton",
3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem",3,"click"],["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),L(1,"b-create-issue-button"),
K(),H(2,"div",1)(3,"div",2)(4,"ul",3),F(5,$Fa,14,12,"ng-container",4)(6,eGa,12,10,"li",5),H(7,"li",6)(8,"a",7),Q("click",function(c){return b.onAnchorClick(b.assignedPath,c)}),L(9,"mat-icon",8),T(10," Assigned to me "),K(),F(11,fGa,3,1,"ng-container",4),W(12,"async"),H(13,"mat-menu",null,9),F(15,gGa,2,0,"ng-template",10),K()(),H(16,"li")(17,"a",7),Q("click",function(c){return b.onAnchorClick(b.starredPath,c)}),L(18,"mat-icon",11),T(19," Starred by me "),K()(),H(20,"li")(21,"a",7),Q("click",function(c){return b.onAnchorClick(b.ccdPath,
c)}),L(22,"mat-icon",12),T(23," CC'd to me "),K()(),H(24,"li")(25,"a",7),Q("click",function(c){return b.onAnchorClick(b.reportedPath,c)}),L(26,"mat-icon",13),T(27," Reported by me "),K()(),F(28,iGa,4,3,"li",14),H(29,"li")(30,"a",7),Q("click",function(c){return b.onAnchorClick(b.verifiedPath,c)}),L(31,"mat-icon",15),T(32," To be verified "),K()(),F(33,jGa,4,3,"li",14),K(),L(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),T(41," Create hotlist "),K()(),H(42,"div",20)(43,"a",21),T(44," Create bookmark group "),K()(),H(45,"div",20)(46,"a",21),T(47," Browse components "),K()()()());a&2&&(A(5),G("ngIf",b.enableHomepageVariantA&&!b.currentTracker.inTracker),A(1),G("ngIf",b.showNeedsAttentionUI&&!b.enableHomepageVariantA),A(1),Jf("selected",r6b(b.appSearchState,b.userEmail)),A(1),G("href",b.assignedPath,Wd),A(3),G("ngIf",!X(12,28,b.isHomepageAssignedToMe$)),A(5),Jf("selected",b.appSearchState.isStarred()),
A(1),G("href",b.starredPath,Wd),A(3),Jf("selected",b.appSearchState.currentQuery==="cc:"+b.userEmail),A(1),G("href",b.ccdPath,Wd),A(3),Jf("selected",b.appSearchState.currentQuery==="reporter:"+b.userEmail),A(1),G("href",b.reportedPath,Wd),A(3),G("ngIf",b.enabledVotedNav),A(1),Jf("selected",b.appSearchState.currentQuery===s6b(b.userEmail)),A(1),G("href",b.verifiedPath,Wd),A(3),G("ngIf",b.recentlyViewedPath),A(1),G("bookmarkGroups",b.sidebarData.bookmarkGroups),A(1),G("searches",b.sidebarData.userSearches),
A(1),G("hotlists",b.sidebarData.hotlists),A(1),G("hotlists",b.sidebarData.archivedHotlists)("bookmarkGroups",b.sidebarData.archivedBookmarkGroups),A(3),G("href",b.createHotlistPath,Wd),A(3),G("href",b.createBookmarkGroupPath,Wd),A(3),G("href",b.componentsPath,Wd))},dependencies:[MJ,Uv,MA,eA,ZB,XB,YB,WB,KK,ZJ,CK,EK,FK,$v],encapsulation:2});var NK=function(){};NK.\u0275fac=function(a){return new (a||NK)};NK.\u0275mod=Tc({type:NK});NK.\u0275inj=Ec({imports:[zD]});var OK=function(){};OK.\u0275fac=function(a){return new (a||OK)};OK.\u0275mod=Tc({type:OK});OK.\u0275inj=Ec({imports:[zD]});var PK=function(){};PK.\u0275fac=function(a){return new (a||PK)};PK.\u0275mod=Tc({type:PK});PK.\u0275inj=Ec({});var QK=function(){};QK.\u0275fac=function(a){return new (a||QK)};QK.\u0275mod=Tc({type:QK});QK.\u0275inj=Ec({imports:[zD,HD,kC,QC,PK]});new bd("mat-progress-spinner-default-options",{providedIn:"root",factory:kGa});var RK=function(){};RK.\u0275fac=function(a){return new (a||RK)};RK.\u0275mod=Tc({type:RK});RK.\u0275inj=Ec({imports:[jz,hw,jz]});var SK=function(){};SK.\u0275fac=function(a){return new (a||SK)};SK.\u0275mod=Tc({type:SK});SK.\u0275inj=Ec({imports:[zD,RK]});var TK=function(){this.onAction=new mv;this.disabled=!1};TK.prototype.handleClick=function(){this.onAction.emit()};TK.\u0275fac=function(a){return new (a||TK)};
TK.\u0275cmp=r({type:TK,selectors:[["onedev-hovercard-action"]],inputs:{disabled:"disabled"},outputs:{onAction:"onAction"},ngContentSelectors:["*"],decls:2,vars:1,consts:[["mat-button","","color","primary",1,"onedev-hovercard-action",3,"disabled","click"]],template:function(a,b){a&1&&(Vf(),H(0,"button",0),Q("click",function(){return b.handleClick()}),Wf(1),K());a&2&&G("disabled",b.disabled)},dependencies:[eA],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 UK=function(){};UK.\u0275fac=function(a){return new (a||UK)};UK.\u0275mod=Tc({type:UK});UK.\u0275inj=Ec({imports:[px,gK,hw,kC,ry]});var VK=function(){};VK.\u0275fac=function(a){return new (a||VK)};VK.\u0275mod=Tc({type:VK});VK.\u0275inj=Ec({imports:[hw]});var WK=function(a,b,c,d,e,f,h,k){xK.call(this,a,b,c,d,e,f,h,k);this.hoverDelayMs=500;this.activity=new E.Subject;this.attachMouseEventListeners(c.nativeElement)};Y(WK,xK);g=WK.prototype;g.ngOnInit=function(){xK.prototype.ngOnInit.call(this);this.listenForOpenEvents(this.hoverDelayMs)};
g.listenForOpenEvents=function(a){var b=this,c=this.openStatusChange.pipe(mja(function(){return b.activity.pipe(Ne(a))}));c.pipe(bf(this.destroyed)).subscribe(function(d){d?b.openDialog():b.closeDialog()});this.openings.pipe(He(function(d){return d&&0<b.beforeOpened.observers.length}),cka(function(){return c.pipe(He(function(d){return!d}))}),bf(this.destroyed)).subscribe(function(){b.ngZone.run(function(){b.beforeOpened.emit()})})};
g.attachMouseEventListeners=function(a){var b=this;this.stackManager&&this.stackManager.unregisterEvent().pipe(Ne(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()})})};
g.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()}})})};g.openingDialog=function(){this.disabled||(this.openStatusChange.next(!0),this.activity.next())};g.closingDialog=function(){this.openStatusChange.next(!1);this.activity.next()};
g.createOverlayConfig=function(a){return new Wx(Object.assign({},this.overlayDimensions,{positionStrategy:xK.prototype.createPositionStrategy.call(this,a),scrollStrategy:i6b(this),panelClass:this.panelClassInternal}))};WK.\u0275fac=function(a){return new (a||WK)(B(ef),B(oy),B(Hd),B(lg),B(Xg),B(ux),B(qx),B(ff))};
WK.\u0275dir=Vc({type:WK,selectors:[["","xapInlineDialog",""]],hostAttrs:[1,"xap-inline-dialog"],inputs:{dialog:["xapInlineDialog","dialog"],disabled:["xapInlineDialogDisabled","disabled"],hoverDelayMs:"hoverDelayMs"},exportAs:["xapInlineDialog"],features:[yf]});[].concat(u([WK,yK,AK,zK]),[wK]);var XK=function(){};XK.\u0275fac=function(a){return new (a||XK)};XK.\u0275mod=Tc({type:XK});XK.\u0275inj=Ec({imports:[px,hw,ry,ny]});var YK=function(){};YK.\u0275fac=function(a){return new (a||YK)};YK.\u0275mod=Tc({type:YK});YK.\u0275inj=Ec({imports:[zD,NK,OK,UK,SK,QK,VK,QC,Tw,XK,rK]});var E6b=[LJ],ZK=function(){};ZK.\u0275fac=function(a){return new (a||ZK)};ZK.\u0275mod=Tc({type:ZK});ZK.\u0275inj=Ec({imports:[zD,kC,$B,QC]});var $K=function(){};$K.\u0275fac=function(a){return new (a||$K)};$K.\u0275mod=Tc({type:$K});$K.\u0275inj=Ec({imports:[zD,ZK]});var aL=function(){};aL.\u0275fac=function(a){return new (a||aL)};aL.\u0275mod=Tc({type:aL});aL.\u0275inj=Ec({imports:[$K,zD,YK,kC,$B,LK,lC]});var bL=function(a){this.executor=a};bL.\u0275fac=function(a){return new (a||bL)(p(SD))};bL.\u0275prov=Dc({token:bL,factory:bL.\u0275fac,providedIn:"root"});var F6b=new bd("mat-checkbox-default-options",{providedIn:"root",factory:lGa});var G6b=["input"],H6b=["label"],I6b=0,J6b={color:"accent",clickAction:"check-indeterminate"},K6b=Wpa(Hh(Ih(Jh(function(a){this._elementRef=a})))),cL=function(a,b,c,d,e,f,h){b=K6b.call(this,b)||this;b._changeDetectorRef=c;b._ngZone=d;b._animationMode=f;b._options=h;b.ariaLabel="";b.ariaLabelledby=null;b.labelPosition="after";b.name=null;b.change=new mv;b.indeterminateChange=new mv;b._onTouched=function(){};b._currentAnimationClass="";b._currentCheckState=0;b._controlValueAccessorChangeFn=function(){};
b._checked=!1;b._disabled=!1;b._indeterminate=!1;b._options=b._options||J6b;b.color=b.defaultColor=b._options.color||J6b.color;b.tabIndex=parseInt(e)||0;b.id=b._uniqueId=a+ ++I6b;return b};Y(cL,K6b);g=cL.prototype;g.ngAfterViewInit=function(){this._syncIndeterminate(this._indeterminate)};g._isRippleDisabled=function(){return this.disableRipple||this.disabled};g._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()};g.writeValue=function(a){this.checked=!!a};
g.registerOnChange=function(a){this._controlValueAccessorChangeFn=a};g.registerOnTouched=function(a){this._onTouched=a};g.setDisabledState=function(a){this.disabled=a};
g._transitionCheckState=function(a){var b=this._currentCheckState,c=this._elementRef.nativeElement;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)})}};g._emitChangeEvent=function(){this._controlValueAccessorChangeFn(this.checked);this.change.emit(this._createChangeEvent(this.checked));this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)};g.toggle=function(){this.checked=!this.checked;this._controlValueAccessorChangeFn(this.checked)};
g._handleInputClick=function(){var a=this,b,c=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())};
g._onInteractionEvent=function(a){a.stopPropagation()};g._onBlur=function(){var a=this;Promise.resolve().then(function(){a._onTouched();a._changeDetectorRef.markForCheck()})};
g._getAnimationClassForCheckStateTransition=function(a,b){if("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""};g._syncIndeterminate=function(a){var b=this._inputElement;b&&(b.nativeElement.indeterminate=a)};
Gh.Object.defineProperties(cL.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=Sg(a)}},checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){a=Sg(a);a!=this.checked&&(this._checked=a,this._changeDetectorRef.markForCheck())}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},
set:function(a){a=Sg(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=Sg(a);b&&(this._indeterminate?this._transitionCheckState(3):this._transitionCheckState(this.checked?1:2),this.indeterminateChange.emit(this._indeterminate));this._syncIndeterminate(this._indeterminate)}}});cL.\u0275fac=function(){Od()};
cL.\u0275dir=Vc({type:cL,viewQuery:function(a,b){a&1&&(og(G6b,5),og(H6b,5),og(sz,5));if(a&2){var c;ng(c=qg())&&(b._inputElement=c.first);ng(c=qg())&&(b._labelElement=c.first);ng(c=qg())&&(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:[yf]});var dL=function(){};dL.\u0275fac=function(a){return new (a||dL)};dL.\u0275mod=Tc({type:dL});dL.\u0275inj=Ec({});var L6b=function(a){return{enterDuration:a}},M6b=function(){},N6b={provide:jw,useExisting:Jc(function(){return eL}),multi:!0},eL=function(a,b,c,d,e,f,h){a=cL.call(this,"mat-checkbox-",a,b,d,e,f,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};Y(eL,cL);eL.\u0275dir=cL.\u0275dir;g=eL.prototype;g._createChangeEvent=function(a){var b=new M6b;b.source=this;b.checked=a;return b};g._getAnimationTargetElement=function(){return this._elementRef.nativeElement};g.ngAfterViewInit=function(){var a=this;cL.prototype.ngAfterViewInit.call(this);this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){b||a._onBlur()})};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};
g._onInputClick=function(a){a.stopPropagation();cL.prototype._handleInputClick.call(this)};g.focus=function(a,b){a?Zw(this._focusMonitor,this._inputElement,a,b):this._inputElement.nativeElement.focus(b)};eL.\u0275fac=function(a){return new (a||eL)(B(Hd),B(Fu),B(Yw),B(ef),Bd("tabindex"),B(Du,8),B(F6b,8))};
eL.\u0275cmp=r({type:eL,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:15,hostBindings:function(a,b){a&2&&(Sf("id",b.id),Af("tabindex",null)("aria-label",null)("aria-labelledby",null)("mat-id-collision",null),Jf("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:[bg([N6b]),yf],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&&(Vf(),H(0,"label",0,1)(2,"span",2)(3,
"input",3,4),Q("change",function(e){return b._onInteractionEvent(e)})("click",function(e){return b._onInputClick(e)}),K(),H(5,"span",5),L(6,"span",6),K(),L(7,"span",7),H(8,"span",8),yd(),H(9,"svg",9),L(10,"path",10),K(),rd.currentNamespace=null,L(11,"span",11),K()(),H(12,"span",12,13),Q("cdkObserveContent",function(){return b._onLabelTextChange()}),H(14,"span",14),T(15,"\u00a0"),K(),Wf(16),K()());if(a&2){var c=S(1),d=S(13);Af("for",b.inputId);A(2);Jf("mat-checkbox-inner-container-no-side-margin",
!d.textContent||!d.textContent.trim());A(1);G("id",b.inputId)("required",b.required)("checked",b.checked)("disabled",b.disabled)("tabIndex",b.tabIndex);Af("value",b.value)("name",b.name)("aria-label",b.ariaLabel||null)("aria-labelledby",b.ariaLabelledby)("aria-describedby",b.ariaDescribedby);A(2);G("matRippleTrigger",c)("matRippleDisabled",b._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",fg(18,L6b,"NoopAnimations"===b._animationMode?0:150))}},dependencies:[sz,
mx],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 fL=function(a,b){Z.call(this);this.dialogRef=a;this.tosApi=b;this.ackChecked=!1};Y(fL,Z);fL.\u0275dir=Z.\u0275dir;fL.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()})};fL.\u0275fac=function(a){return new (a||fL)(B(sA),B(bL))};
fL.\u0275cmp=r({type:fL,selectors:[["b-terms-of-service-dialog"]],features:[yf],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),T(1,"Google IssueTracker Terms of Service"),K(),H(2,"mat-dialog-content")(3,"div",1)(4,"mat-checkbox",
2),Q("ngModelChange",function(c){return b.ackChecked=c}),K(),H(5,"span"),T(6," I acknowledge and agree to the "),H(7,"a",3),T(8,"Google Terms of Service"),K(),T(9," and the "),H(10,"a",4),T(11,"Google IssueTracker Conduct Policy"),K(),T(12,". "),K()()(),H(13,"mat-dialog-actions")(14,"button",5),Q("click",function(){return b.accept()}),T(15," OK "),K()());a&2&&(A(4),G("ngModel",b.ackChecked),A(10),G("disabled",!b.ackChecked))},dependencies:[ww,Dw,eA,eL,xA,yA,zA],styles:[".b-tos-content[_ngcontent-%COMP%]{padding-top:1em}.b-tos-content[_ngcontent-%COMP%]   mat-checkbox[_ngcontent-%COMP%]{padding-right:8px}"]});var gL=function(a,b){Z.call(this);this.activeSession=a;this.matDialogService=b};Y(gL,Z);gL.\u0275dir=Z.\u0275dir;gL.prototype.ngOnInit=function(){this.activeSession.getMustAcknowledgeTerms()&&this.matDialogService.open(fL,{width:"400px",disableClose:!0}).afterClosed().pipe(bf(this.destroyed$))};gL.\u0275fac=function(a){return new (a||gL)(B(nt),B(vA))};gL.\u0275cmp=r({type:gL,selectors:[["b-terms-of-service"]],features:[yf],decls:0,vars:0,template:function(){},encapsulation:2});var hL=function(){};hL.\u0275fac=function(a){return new (a||hL)};hL.\u0275mod=Tc({type:hL});hL.\u0275inj=Ec({imports:[uz,jz,nx,dL,jz,dL]});var iL=function(){};iL.\u0275fac=function(a){return new (a||iL)};iL.\u0275mod=Tc({type:iL});iL.\u0275inj=Ec({imports:[Tw,zD,kC,hL,AA]});var jL=function(){};jL.\u0275fac=function(a){return new (a||jL)};jL.\u0275mod=Tc({type:jL});jL.\u0275inj=Ec({imports:[zD,iL]});var O6b={QA:124156,NIGHTLY:190923,PROD:190923};new Promise(function(){});var kL=function(a,b,c,d,e,f){Z.call(this);var h=this;this.componentApi=b;this.appEvents=e;this.activeSession=f;this.components=a.get("components-second-level-cache")||a.create("components-second-level-cache",{capacity:25});this.subscriptions.add(this.appEvents.componentModified.subscribe(function(k){h.components.removeAll();d.invalidate(k)}));this.componentGetter=c.adapt(function(k){var q=ya(k);vaa(q);return h.componentApi.query({id:q}).then(function(t){var w={};t=l(t);for(var y=t.next();!y.done;y=
t.next())(y=y.value)&&(w[y.componentId]=y);return k.map(function(C){return w[C]||null})})})};Y(kL,Z);kL.\u0275dir=Z.\u0275dir;g=kL.prototype;g.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)};
g.create=function(a){var b=this;return this.componentApi.create(a).then(function(c){b.appEvents.componentModified.next(c.componentId);return c})};g.update=function(a){var b=this;return this.componentApi.update(a).then(function(c){b.appEvents.componentModified.next(c.componentId);return c})};g.move=function(a,b){var c=this;return this.componentApi.move(a,b).then(function(d){c.appEvents.componentModified.next(d.componentId);return d})};
g.updateSlo=function(a,b){var c=this;return this.componentApi.updateSlo(a,b).then(function(d){c.appEvents.componentModified.next(d.componentId);return d})};g.updateTeam=function(a,b){var c=this;return this.componentApi.updateTeam(a,b).then(function(d){c.appEvents.componentModified.next(d.componentId);return d})};g.getChildren=function(a,b){return this.componentApi.getChildren(a,void 0===b?!1:b)};g.getDescendants=function(a){return this.componentApi.getDescendants(a)};
g.getUncached=function(a){this.components.remove(String(a));return this.componentApi.fetchComponent(a)};g.search=function(a,b){var c={query:a};if(void 0===b?0:b)c.includearchived=!0;return P6b(this,a,this.componentApi.query(c))};
var P6b=function(a,b,c){if(b.match(/^\s*android\s*$/i)){var d=O6b[a.activeSession.getEnvironmentType()];if(d)return no({publicComponent:a.get(d),rest:c}).then(function(e){var f=[e.publicComponent];e=l(e.rest);for(var h=e.next();!h.done;h=e.next())h=h.value,h.componentId!==d&&f.push(h);return f})}return c};
kL.prototype.bulkLoad=function(a){var b=this,c=a.filter(function(f){return!b.components.get(String(f))});vaa(c);if(c.length){a=this.componentApi.query({id:c}).then(function(f){var h={};f=l(f);for(var k=f.next();!k.done;k=f.next())(k=k.value)&&(h[k.componentId]=k);return h});c=l(c);for(var d=c.next(),e={};!d.done;e={id$jscomp$273:e.id$jscomp$273},d=c.next())e.id$jscomp$273=d.value,this.components.put(String(e.id$jscomp$273),a.then(function(f){return function(h){return h[f.id$jscomp$273]?h[f.id$jscomp$273]:
Promise.reject({data:{message:"Could not load details for component "+f.id$jscomp$273}})}}(e)))}};kL.\u0275fac=function(a){return new (a||kL)(p(mF),p(lH),p(RD),p(mH),p(lG),p(nt))};kL.\u0275prov=Dc({token:kL,factory:kL.\u0275fac,providedIn:"root"});var lL=function(a){this.session=a;this.baseDocumentationUrl=a.getDocumentationBaseUrl()},po=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/access-control":a.baseDocumentationUrl+"/concepts/access-control"},Q6b=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"};
lL.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 R6b=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/automation-access":po(a)},S6b=function(a){return a.session.isExternalSession()?a.baseDocumentationUrl+"/concepts/public-access":"http://go/buganizer-public-access"},T6b=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"},ojb=function(){return"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/guides/manage-component#enabling-comment-editing"},
U6b=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#moving-issues-to-a-new-component"},dt=function(){return"http://go/buganizer-retention"};lL.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 JCb=function(){return"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/custom-fields"};lL.prototype.getDisablingFieldsHelpLink=function(){return JCb()+"#hiding-inherited-fields"};var V6b=function(a){return a.session.isInternalSession()?"http://go/delete-comments-attachments":""};lL.\u0275fac=function(a){return new (a||lL)(p(nt))};lL.\u0275prov=Dc({token:lL,factory:lL.\u0275fac,providedIn:"root"});var W6b=kh({opacity:"0"}),X6b=He(function(a){return a}),Y6b=(0,E.pipe)(Pe(),X6b,Ue()),Z6b=new bd("xap-bubble UX style"),mL=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 mv;this.onOpened=new mv;this.bubbleStyle=a||"xap-bubble-md1";this.opened=this.openedSubject.pipe(mja(function(){return b.activity.pipe(Ne(b.hoverDelayMs))}));
a=bf(this.destroy);this.opened.pipe(Y6b,a).subscribe(this.onOpened);this.openedSubject.pipe(X6b,cka(function(){return b.opened.pipe(He(function(c){return!c}))}),a).subscribe(function(){b.beforeOpened.emit()})};mL.prototype.ngOnDestroy=function(){this.destroy.next();this.destroy.complete()};mL.prototype.toggle=function(a){this.openedSubject.next(a);this.activity.next()};mL.\u0275fac=function(a){return new (a||mL)(B(Z6b,8))};
mL.\u0275cmp=r({type:mL,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&&(Vf(),H(0,"span",0,1),Q("mouseenter",function(){return b.toggle(!0)})("mouseleave",function(){return b.toggle(!1)})("mousemove",function(){b.activity.next()}),Wf(2),K(),F(3,nGa,2,3,"ng-template",2),W(4,"async"));if(a&2){var c=S(1);G("ngClass",b.bubbleStyle);
A(3);G("cdkConnectedOverlayPanelClass",b.overlayPanelClass)("cdkConnectedOverlayPositions",b.overlayPositions)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",X(4,5,b.opened))}},dependencies:[Sv,Zv,qy,py,$v],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:[ih("fade",[nh(":enter",[W6b,jh("225ms")]),nh(":leave",[jh("195ms",W6b)])])]}});var nL=function(a,b){this.activeSession=a;this.documentationLinks=b;this.labelOnlyMode=this.compactMode=!1;this.chipText=this.bubbleText=this.chipClass=""};
nL.prototype.ngOnChanges=function(){if(this.accessLevel)switch(this.accessLevel){case "EXTERNAL_PARTNER":this.chipClass="partner";this.chipText=this.compactMode?"Partners":"Visible to Partners";this.bubbleText=' Components and issues designated as "Visible to Partners" can be shared with specific external partners listed in the component\'s access control settings.';break;case "EXTERNAL_PUBLIC":this.chipClass="public";this.chipText=this.compactMode?"Public":"Visible to Public";this.bubbleText='Components and issues designated as "Visible to Public" can be\n                shared with any external user.';
break;default:this.chipText=this.bubbleText=this.chipClass=""}};nL.\u0275fac=function(a){return new (a||nL)(B(nt),B(lL))};
nL.\u0275cmp=r({type:nL,selectors:[["b-component-access-level-indicator"]],inputs:{accessLevel:"accessLevel",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode"},features:[ld],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&&F(0,rGa,4,2,"ng-container",0);if(a&2){if(a=b.accessLevel)a=b.activeSession.isInternalSession()?
"EXTERNAL_PARTNER"===b.accessLevel||"EXTERNAL_PUBLIC"===b.accessLevel:wD(b.activeSession)?"EXTERNAL_PUBLIC"===b.accessLevel:!1;G("ngIf",a)}},dependencies:[Sv,Uv,mL],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 $6b=qt(["https://www.gstatic.com/buganizer/gfx/","/",""]),oL=qt(["https://www.gstatic.com/buganizer/img/v2/",""]),a7b=hh($6b,"2023-11-13-ed4232c6","all-icons.svg"),b7b=hh(oL,"empty_blocker_light.png"),c7b=hh(oL,"empty_blocker_dark.png"),d7b=hh(oL,"empty_child_light.png"),e7b=hh(oL,"empty_child_dark.png"),f7b=hh(oL,"robot_sleeping.png"),g7b=hh(oL,"tea_light.png"),h7b=hh(oL,"tea_dark.png"),i7b=hh(oL,"space_empty_state.png"),j7b=hh(oL,"eg_work_area.png");var pL=function(a,b,c){this.activeSession=a;this.documentationLinks=b;this.currentTracker=c;this.compactMode=!1;this.showHovercard=!0;this.isGlobalBuganizer=!1;this.logoDark=this.logoLight=this.extendedName=this.name=this.redirectUrl=""};
pL.prototype.ngOnChanges=function(a){if(a.tracker||a.isGlobalBuganizer){this.redirectUrl=TG(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,f;a=null!=(f=null==(d=this.tracker)?void 0:null==(e=d.branding)?void 0:e.logoUrl)?f:""}else a="https://www.gstatic.com/buganizer/img/v3/logo_light.svg"}this.logoLight=
a;if(this.isGlobalBuganizer)d="https://www.gstatic.com/buganizer/img/v3/logo_dark.svg";else{var h;d=null!=(h=this.logoLight)?h:""}this.logoDark=d}};pL.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:""};pL.\u0275fac=function(a){return new (a||pL)(B(nt),B(lL),B(SG))};
pL.\u0275cmp=r({type:pL,selectors:[["b-tracker-chip"]],inputs:{tracker:"tracker",compactMode:"compactMode",showHovercard:"showHovercard",isGlobalBuganizer:"isGlobalBuganizer"},features:[ld],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","target","_blank",3,"href",4,"ngIf"]],template:function(a,b){a&1&&F(0,uGa,17,12,"ng-container",0);a&2&&G("ngIf",b.tracker||b.isGlobalBuganizer)},dependencies:[Uv,hK,mK,fA],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 qL=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(Be(function(d){return yn(d)?(0,E.of)(void 0):c.trackerFridge.watch(d).pipe(Le(function(){return(0,E.of)(void 0)}))}));this.isCurrentTracker$=(0,E.combineLatest)([this.currentTracker.trackerId$,this.trackerId$]).pipe(D(function(d){var e=l(d);d=e.next().value;e=e.next().value;return yn(d)?yn(e):d===e}))};
qL.prototype.ngOnChanges=function(a){a.trackerId&&this.trackerId$.next(this.trackerId||"")};Gh.Object.defineProperties(qL.prototype,{isGlobalBuganizer:{configurable:!0,enumerable:!0,get:function(){return yn(this.trackerId)}}});qL.\u0275fac=function(a){return new (a||qL)(B(SG),B(RG))};
qL.\u0275cmp=r({type:qL,selectors:[["b-tracker-chip-smart"]],inputs:{trackerId:"trackerId",compactMode:"compactMode",showHovercard:"showHovercard"},features:[ld],decls:2,vars:3,consts:[[3,"tracker","compactMode","showHovercard","isGlobalBuganizer",4,"ngIf"],[3,"tracker","compactMode","showHovercard","isGlobalBuganizer"]],template:function(a,b){a&1&&(F(0,vGa,2,6,"b-tracker-chip",0),W(1,"async"));a&2&&G("ngIf",!1===X(1,1,b.isCurrentTracker$))},dependencies:[Uv,pL,$v],encapsulation:2,changeDetection:0});var rL=function(){this.showFolderSpecialIcon=!1;this.mode="default";this.query="";this.selectComponentId=new mv;this.expandComponent=new mv;this.goBack=new mv};rL.prototype.ngOnInit=function(){};rL.prototype.expand=function(a,b){b.preventDefault();b.stopPropagation();this.expandComponent.emit(a)};rL.prototype.back=function(a){a.preventDefault();a.stopPropagation();this.goBack.emit()};rL.\u0275fac=function(a){return new (a||rL)};
rL.\u0275cmp=r({type:rL,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),M(1,1),F(2,wGa,2,0,"ng-container",
2)(3,xGa,3,0,"ng-container",2)(4,yGa,3,3,"ng-container",3),N(),H(5,"div",4)(6,"span",5),F(7,DGa,2,1,"ng-container",6)(8,FGa,1,1,"ng-template",null,7,tg)(10,GGa,2,0,"span",8),K(),L(11,"b-component-access-level-indicator",9)(12,"b-tracker-chip-smart",10),K()());if(a&2){var c=S(9);A(1);G("ngSwitch",b.mode);A(1);G("ngSwitchCase","recent");A(1);G("ngSwitchCase","tree");A(4);G("ngIf","leaf"!==b.mode)("ngIfElse",c);A(3);G("ngIf",b.componentOption.archived);A(1);G("accessLevel",null==b.componentOption.accessLimit?
null:b.componentOption.accessLimit.accessLevel)("labelOnlyMode",!0);A(1);G("trackerId",b.componentOption.trackerId)("showHovercard",!1)}},dependencies:[Tv,Uv,Vv,Wv,Xv,MA,eA,dC,qL,nL,BJ,GJ],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 sL=function(a,b,c,d,e,f,h){var k=this;this.userApi=a;this.componentActions=b;this.teamsService=c;this.analytics=d;this.destroyed$=e;this.config=f;this.currentTracker=h;this.includeArchived=!1;this.searchQuery$=new E.BehaviorSubject("");this.debouncedSearchQuery$=this.searchQuery$.pipe(Ne(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(Pe());this.teamOptions$=new E.BehaviorSubject([]);this.filteredTeamOptions$=(0,E.combineLatest)([this.teamOptions$,this.showAllTeamsDistinct$]).pipe(D(function(q){q=l(q);var t=q.next().value;return q.next().value?t:t.slice(0,5)}));this.hasHiddenTeams$=(0,E.combineLatest)([this.teamOptions$,this.showAllTeamsDistinct$]).pipe(D(function(q){var t=
l(q);q=t.next().value;t=t.next().value;return 5<q.length&&!t}));this.newChildTeams$=new E.BehaviorSubject([]);this.teamsDisplayed$=(0,E.merge)(this.myTeams$,this.teamOptions$,this.newChildTeams$,this.teamScope$.pipe(D(function(q){return q?[q]:[]}))).pipe(D(function(q){return q.map(function(t){return t.id})}));this.unseenTeamChildTeamsMap$=this.teamsDisplayed$.pipe(D(function(q){return q.filter(function(t){return!k.childTeamsMap.has(t)})}),He(function(q){return 0<q.length}),af(function(q){return k.teamsService.getChildTeams(q)}),
D(KGa));this.unseenTeamComponentCountMap$=this.teamsDisplayed$.pipe(D(function(q){return q.filter(function(t){return!k.componentCountMap.has(t)})}),He(function(q){return 0<q.length}),af(function(q){return E4b(k.teamsService,q)}));this.componentIdSelected$=new E.ReplaySubject(1);this.lastProcessedIndex=-1;this.requestIndex=0};
sL.prototype.init=function(a){var b=this;a=void 0===a?!1:a;k7b(this);(0,E.combineLatest)([this.debouncedSearchQuery$.pipe(Ze(a?1:0)),this.state$]).pipe(bf(this.destroyed$)).subscribe(function(c){var d=l(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()&&l7b(b,c),m7b(b,c)):b.state$.next("default"):"team_scope"===d?b.teamScope$.value&&(b.teamOptions$.next([]),
m7b(b,"teamid:"+b.teamScope$.value.id+" "+c)):"component_scope"===d&&b.componentScope&&n7b(b,b.componentScope.id)});this.debouncedSearchQuery$.pipe(df(this.state$),bf(this.destroyed$)).subscribe(function(c){c=l(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=l(c.entries());for(var d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;b.childTeamsMap.set(d,
e)}});this.unseenTeamComponentCountMap$.pipe(bf(this.destroyed$)).subscribe(function(c){c=l(c.entries());for(var d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;b.componentCountMap.set(d,e)}})};sL.prototype.getTrackerId=function(){return this.currentTracker.getTrackerId()};sL.prototype.includeTeamData=function(){return this.config.includeTeamData&&!this.currentTracker.inTracker};
var k7b=function(a){a.componentsLoading=!0;a.userApi.getRecentComponents().then(function(b){b=b.filter(function(c){return a.filterTrackerComponents(c)});b=o7b(a,b);a.recentComponents=b;a.listUpdated$.next()}).finally(function(){a.componentsLoading=!1});a.includeTeamData()&&(a.teamsLoading=!0,YI(a.teamsService,"").pipe(bf(a.destroyed$)).subscribe(function(b){a.myTeams$.next(b.map(HGa));a.listUpdated$.next();a.teamsLoading=!1},function(){a.teamsLoading=!1}))};
sL.prototype.filterTrackerComponents=function(a){return!this.currentTracker.inTracker||a.trackerId===this.getTrackerId()};sL.prototype.selectOption=function(a){"component"===a.type?XHa(this,a.id):"team"===a.type?dHa(this,a):console.warn("invalid option selected")};
var XHa=function(a,b){var c=p7b(a);a.analytics.trackEvent(Kp.COMPONENT_PICKER,"autocomplete-select",c);a.componentIdSelected$.next(b);a.state$.next("global")},p7b=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""};
sL.prototype.expandComponent=function(a){this.componentScope=a;this.state$.next("component_scope")};
var KHa=function(a,b){a.componentActions.get(b).then(function(c){var d=Ds(a.currentTracker,c.componentPathInfo);a.componentScope=JGa(c,d);a.state$.next("component_scope")})},JHa=function(a){a.componentScope=void 0;a.searchQuery$.value?a.state$.next("global"):a.state$.next("default")},dHa=function(a,b){a.teamScope$.next(Object.assign({},b,{expanded:!1}));a.state$.next("team_scope");a.searchQuery$.next("");b.pathNames||ro(a,b.id)},ro=function(a,b){a.teamsLoading=!0;YI(a.teamsService,b).pipe(bf(a.destroyed$)).subscribe(function(c){c=
c.map(HGa);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})},q7b=function(a){if(a.teamScope$.value&&a.teamScope$.value.pathIds&&!(2>a.teamScope$.value.pathIds.length)){var b=a.teamScope$.value.pathIds;ro(a,b[b.length-2])}};sL.prototype.getChildTeams=function(a){var b;return null!=(b=this.childTeamsMap.get(a))?b:[]};
sL.prototype.hasNoComponent=function(a){return this.componentCountMap.has(a)?0===this.componentCountMap.get(a):!1};
var zHa=function(a,b){b.expanded=!1;a.listUpdated$.next()},AHa=function(a,b){b.expanded=!0;a.listUpdated$.next();a.newChildTeams$.next(a.getChildTeams(b.id))},DHa=function(a){a.teamScope$.next(void 0);a.searchQuery$.next("");a.state$.next("default")},l7b=function(a,b){1<b.length&&(a.teamsLoading=!0,YI(a.teamsService,b).pipe(bf(a.destroyed$)).subscribe(function(c){a.teamOptions$.next(c.map(HGa));a.teamsLoading=!1;a.listUpdated$.next()},function(){a.teamsLoading=!1}))},m7b=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=o7b(a,d));a.listUpdated$.next()}).finally(function(){a.componentsLoading=!1})}},n7b=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=o7b(a,d),a.listUpdated$.next())}).finally(function(){a.componentsLoading=!1})},o7b=
function(a,b){return b.map(function(c){var d=Ds(a.currentTracker,c.componentPathInfo);return JGa(c,d)})};var r7b=0,tL=function(a,b){this.changeDetectorRef=a;this.elementRef=b;this.active=!1;this.id="b-component-picker-option-"+r7b;r7b+=1};tL.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};tL.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};tL.\u0275fac=function(a){return new (a||tL)(B(Fu),B(Hd))};
tL.\u0275dir=Vc({type:tL,selectors:[["","listOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(Sf("id",b.id),Jf("active",b.active))},inputs:{data:"data",listOrder:"listOrder"}});var uL=function(){this.query="";this.hasNoComponent=this.compact=this.allowSegmentSelection=!1;this.selectTeamId=new mv};uL.prototype.getLogoUrl=function(){return"https://moma-teams-photos.corp.google.com/logo/"+this.teamOption.id};uL.prototype.ngOnInit=function(){};uL.\u0275fac=function(a){return new (a||uL)};
uL.\u0275cmp=r({type:uL,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),F(1,LGa,1,1,"img",1),H(2,"div",2),F(3,NGa,4,5,"div",3)(4,VGa,2,1,"div",4),K()());a&2&&(Jf("no-component",b.hasNoComponent)("compact",b.compact),A(1),G("ngIf",!b.compact),A(2),G("ngIf",!b.compact),A(1),G("ngIf",b.teamOption.pathNames&&b.teamOption.pathNames.length))},dependencies:[Tv,Uv,BJ],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 s7b=new bd("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),t7b=new bd("mat-progress-bar-location",{providedIn:"root",factory:WGa});Hh(function(a){this._elementRef=a},"primary");var u7b=["primaryValueBar"],v7b=Hh(function(a){this._elementRef=a},"primary"),w7b=0,vL=function(a,b,c,d,e,f){a=v7b.call(this,a)||this;a._ngZone=b;a._animationMode=c;a._changeDetectorRef=f;a._isNoopAnimation=!1;a._value=0;a._bufferValue=0;a.animationEnd=new mv;a._animationEndSubscription=E.Subscription.EMPTY;a.mode="determinate";a.progressbarId="mat-progress-bar-"+w7b++;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};Y(vL,v7b);vL.prototype._primaryTransform=function(){return{transform:"scale3d("+this.value/100+", 1, 1)"}};vL.prototype._bufferTransform=function(){return"buffer"===this.mode?{transform:"scale3d("+this.bufferValue/100+", 1, 1)"}:null};
vL.prototype.ngAfterViewInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){var b=a._primaryValueBar.nativeElement;a._animationEndSubscription=(0,E.fromEvent)(b,"transitionend").pipe(He(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})}))})})};vL.prototype.ngOnDestroy=function(){this._animationEndSubscription.unsubscribe()};
Gh.Object.defineProperties(vL.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this._value},set:function(a){this._value=Math.max(0,Math.min(100,Vg(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()}}});
vL.\u0275fac=function(a){return new (a||vL)(B(Hd),B(ef),B(Du,8),B(t7b,8),B(s7b,8),B(Fu))};
vL.\u0275cmp=r({type:vL,selectors:[["mat-progress-bar"]],viewQuery:function(a,b){a&1&&og(u7b,5);if(a&2){var c;ng(c=qg())&&(b._primaryValueBar=c.first)}},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-progress-bar"],hostVars:5,hostBindings:function(a,b){a&2&&(Af("aria-valuenow","indeterminate"===b.mode||"query"===b.mode?null:b.value)("mode",b.mode)("mat-id-collision",null),Jf("_mat-animation-noopable",b._isNoopAnimation))},inputs:{color:"color",value:"value",
bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[yf],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),yd(),H(1,"svg",1)(2,"defs")(3,"pattern",2),L(4,"circle",3),K()(),L(5,"rect",4),K(),rd.currentNamespace=null,L(6,"div",5)(7,"div",6,7)(9,"div",8),K());a&2&&(A(3),G("id",b.progressbarId),A(2),Af("fill",b._rectangleFillValue),A(1),G("ngStyle",b._bufferTransform()),A(1),G("ngStyle",b._primaryTransform()))},
dependencies:[Yv],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 x7b=["container"],y7b=["inputBox"],z7b=["dropdownTemplate"],A7b=["dropdown"],iHa=function(a){return{mode:"recent",$implicit:a}},nHa=function(a){return[a]},mHa=function(a,b){return{team:a,level:0,order:b}},tHa=function(a){return{mode:"default",$implicit:a}},wHa=function(a){return[0,a]},EHa=function(){return[0]},HHa=function(a,b){return{mode:"default",$implicit:a,teamScope:b}},NHa=function(a){return{mode:"leaf",$implicit:a}},SHa=function(a,b,c){return{team:a,level:b,order:c}},B7b=[{originX:"start",
originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],wL=function(a,b,c,d,e,f,h,k,q,t,w){Z.call(this);this.overlay=a;this.viewContainerRef=b;this.userApi=c;this.componentActions=d;this.teamsService=e;this.userAccess=f;this.paths=h;this.analytics=k;this.activeSession=q;this.currentTracker=t;this.cdr=w;this.placeholder="";this.isRequired=!1;this.ariaLabel="";this.checkAdminAccess=!1;this.accessCheckComplete=new mv;this.shouldFocus=!1;this.touched=
new mv;this.selectedComponentChange=new mv;this.dropdownClosed=new mv;this.checkingAccess=this.hasAccess=!1;this.isExternal=this.activeSession.isExternalSession();this.searchState=new sL(this.userApi,this.componentActions,this.teamsService,this.analytics,this.destroyed$,{includeTeamData:!this.isExternal},this.currentTracker);this.componentLoading=this.isDropdownOpen=!1};Y(wL,Z);wL.\u0275dir=Z.\u0275dir;
wL.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;C7b(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()})};
wL.prototype.isLoading=function(){return this.componentLoading||this.searchState.componentsLoading||this.searchState.teamsLoading};
var C7b=function(a){if(a.selectedComponent){var b=Ds(a.currentTracker,a.selectedComponent.componentPathInfo);b=JGa(a.selectedComponent,b);a.searchState.searchQuery$.next(b.componentPath.length?b.componentPath[b.componentPath.length-1].pathText:"")}else a.searchState.searchQuery$.next("")},D7b=function(a){if(a.dropdown&&a.keyManager&&a.keyManager.activeItem){var b=a.keyManager.activeItem.elementRef.nativeElement,c=b.offsetTop;b=b.offsetHeight;var d=a.dropdown.nativeElement.scrollTop,e=a.dropdown.nativeElement.offsetHeight;
a.dropdown.nativeElement.scrollTop=c<d?c:c+b>d+e?Math.max(0,c-e+b):d}};g=wL.prototype;g.ngOnChanges=function(a){a.selectedComponent&&(C7b(this),this.checkAdminAccess&&this.selectedComponent&&E7b(this,this.selectedComponent))};g.ngOnDestroy=function(){this.close();Z.prototype.ngOnDestroy.call(this)};
g.ngAfterViewInit=function(){var a=this;this.keyManager=xx(yx(new Cx(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(gIa);b=[].concat(u(c),u(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()})};g.open=function(){this.isDropdownOpen||(this.isDropdownOpen=!0,this.dropdownOverlayRef=this.createOverlay(),this.attach())};
g.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&&DHa(this.searchState),this.isDropdownOpen=!1,this.dropdownOverlayRef.dispose(),this.dropdownOverlayRef=void 0,this.clearActiveItem(),this.dropdownClosed.emit(),this.analytics.trackEvent(Kp.COMPONENT_PICKER,"close",a?"with-selection":"without-selection"))};
g.clearQuery=function(){this.searchState.searchQuery$.next("");this.isDropdownOpen||this.inputBox.nativeElement.focus()};var F7b=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};
wL.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),D7b(this)):(this.open(),setTimeout(function(){var d;null==(d=b.keyManager)||qQb(d);D7b(b)}));break;case "ArrowDown":this.isDropdownOpen?(this.keyManager.onKeydown(a),D7b(this)):(this.open(),setTimeout(function(){var d;null!=(d=b.keyManager)&&d._setActiveItemByIndex(0,1);D7b(b)}));break;case "Enter":this.keyManager.activeItem&&
(this.searchState.teamScope$.value===this.keyManager.activeItem.data?DHa(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(),AHa(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?zHa(this.searchState,this.keyManager.activeItem.data):q7b(this.searchState));"component_scope"===this.searchState.state$.value&&(a.preventDefault(),JHa(this.searchState));break;case "Backspace":case "Delete":this.keyManager.activeItem&&this.searchState.teamScope$.value===this.keyManager.activeItem.data&&(DHa(this.searchState),a.preventDefault());break;default:this.touched.emit(),
this.isDropdownOpen||this.open()}};var qo=function(a){a.preventDefault();a.stopPropagation()},E7b=function(a,b){a.checkingAccess=!0;a.hasAccess=!1;XF(a.userAccess,"admin","components/"+b.componentId).then(function(c){a.checkingAccess=!1;a.accessCheckComplete.emit(c);a.hasAccess=c})};g=wL.prototype;
g.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy(),c;return this.overlay.create(new Wx({positionStrategy:a,scrollStrategy:b,panelClass:["b-team-component-picker-dropdown","gmat-elevation-z3"],width:null==(c=this.container.nativeElement)?void 0:c.offsetWidth}))};g.attach=function(){var a=new iy(this.dropdownTemplateRef,this.viewContainerRef),b;null==(b=this.dropdownOverlayRef)||b.attach(a);var c;null==(c=this.dropdownOverlayRef)||c.updatePosition()};
g.getPositionStrategy=function(){return Zx(GQb(by(fy(this.overlay.position(),this.container),!1),!1),B7b)};g.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};g.clearActiveItem=function(){this.keyManager&&this.keyManager.activeItem&&(this.keyManager.setActiveItem(-1),this.dropdown&&(this.dropdown.nativeElement.scrollTop=0))};Gh.Object.defineProperties(wL.prototype,{includeArchived:{configurable:!0,enumerable:!0,set:function(a){this.searchState.includeArchived=a}}});
wL.\u0275fac=function(a){return new (a||wL)(B(oy),B(lg),B(SH),B(kL),B(WI),B(VF),B(cF),B(aI),B(nt),B(SG),B(Fu))};
wL.\u0275cmp=r({type:wL,selectors:[["b-team-component-picker"]],viewQuery:function(a,b){a&1&&(og(x7b,7),og(y7b,7),og(z7b,7),og(A7b,5),og(tL,5));if(a&2){var c;ng(c=qg())&&(b.container=c.first);ng(c=qg())&&(b.inputBox=c.first);ng(c=qg())&&(b.dropdownTemplateRef=c.first);ng(c=qg())&&(b.dropdown=c.first);ng(c=qg())&&(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:[yf,ld],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),Q("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()}),W(4,"async"),K(),F(5,XGa,2,0,"button",4),K(),F(6,aHa,4,2,"div",5)(7,PHa,11,8,"ng-template",null,6,tg)(9,VHa,5,11,"ng-template",null,7,tg)(11,
fIa,3,2,"ng-template",null,8,tg));if(a&2){var c=S(3);A(2);G("ngModel",X(4,8,b.searchState.searchQuery$))("placeholder",b.placeholder)("required",b.isRequired);Af("aria-label",b.ariaLabel+(b.selectedComponent?" Component selected. Change.":" Choose component"))("aria-expanded",b.isDropdownOpen)("aria-activedescendant",F7b(b));A(3);G("ngIf",c.value);A(1);G("ngIf",b.checkAdminAccess)}},dependencies:[Tv,Uv,Zv,Vv,Wv,Xv,MA,Jg,ww,Ow,Dw,eA,CD,dC,vL,uL,rL,tL,$v],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 xL=function(a){Z.call(this);this.dialogRef=a};Y(xL,Z);xL.\u0275dir=Z.\u0275dir;xL.prototype.onSave=function(){this.dialogRef.close(this.selectedId)};xL.prototype.onCancel=function(){this.dialogRef.close()};xL.prototype.onSelect=function(a){this.selectedId=null==a?void 0:a.componentId};xL.\u0275fac=function(a){return new (a||xL)(B(sA))};
xL.\u0275cmp=r({type:xL,selectors:[["component_picker_dialog"]],features:[yf],decls:9,vars:1,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"selectedComponentChange"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","cancel",3,"click"],["mat-flat-button","","color","primary","data-test","save",1,"gmat-button","medium",3,"disabled","click"]],template:function(a,b){a&1&&(H(0,"header",0),T(1," Choose a Component\n"),K(),H(2,"div",1)(3,"b-team-component-picker",2),Q("selectedComponentChange",
function(c){return b.onSelect(c)}),K()(),H(4,"div",3)(5,"button",4),Q("click",function(){return b.onCancel()}),T(6," Cancel "),K(),H(7,"button",5),Q("click",function(){return b.onSave()}),T(8," Save "),K()());a&2&&(A(7),G("disabled",null==b.selectedId))},dependencies:[eA,xA,yA,zA,wL],styles:["[_nghost-%COMP%]     b-team-component-picker .pseudo-input{margin:1px}[_nghost-%COMP%]     b-team-component-picker .pseudo-input:focus-within{margin:0}\n/*# sourceMappingURL=component_picker_dialog.css.map */"]});
var yL=function(a){this.dialog=a};yL.prototype.open=function(a){var b=this,c={panelClass:"no-jitter"};return new Promise(function(d){b.dialog.open(xL,c).afterClosed().subscribe(function(e){null==a||a(e);d(e)})})};yL.\u0275fac=function(a){return new (a||yL)(p(vA))};yL.\u0275prov=Dc({token:yL,factory:yL.\u0275fac,providedIn:"root"});var zL=function(){};zL.prototype.transform=function(a){return so(a)};zL.\u0275fac=function(a){return new (a||zL)};zL.\u0275pipe=Wc({name:"appendDomain",type:zL,pure:!0});var G7b={TYPE_UNSPECIFIED:"Unknown",TEXT:"Text",DATE:"Date",ENUM:"Enum",NUMERIC:"Numeric",REPEATED_TEXT:"Repeated Text",REPEATED_DATE:"Repeated Date",REPEATED_ENUM:"Repeated Enum",REPEATED_NUMERIC:"Repeated Numeric"},AL=function(){};AL.prototype.transform=function(a){return G7b[a]};AL.\u0275fac=function(a){return new (a||AL)};AL.\u0275pipe=Wc({name:"toCustomFieldTypeDisplayValue",type:AL,pure:!0});var hIa=[["year",31536E3],["month",2592E3],["week",604800],["day",86400],["hour",3600],["minute",60],["second",1]],iIa={year:"yr",month:"mo",week:"w",day:"d",hour:"h",minute:"m",second:"s"};var BL=function(){};BL.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+"@"};BL.\u0275fac=function(a){return new (a||BL)};BL.\u0275pipe=Wc({name:"shortenEmail",type:BL,pure:!0});var CL=function(){};CL.\u0275fac=function(a){return new (a||CL)};CL.\u0275mod=Tc({type:CL});CL.\u0275inj=Ec({imports:[zD]});var DL=function(){};DL.\u0275fac=function(a){return new (a||DL)};DL.\u0275mod=Tc({type:DL});DL.\u0275inj=Ec({imports:[hw,ry]});var EL=function(){};EL.\u0275fac=function(a){return new (a||EL)};EL.\u0275mod=Tc({type:EL});EL.\u0275inj=Ec({imports:[zD,CL,DL]});var FL=function(){};FL.\u0275fac=function(a){return new (a||FL)};FL.\u0275mod=Tc({type:FL});FL.\u0275inj=Ec({imports:[zD,UK,kC]});var GL=function(){};GL.\u0275fac=function(a){return new (a||GL)};GL.\u0275mod=Tc({type:GL});GL.\u0275inj=Ec({imports:[hw,jz,jz]});var HL=function(){};HL.\u0275fac=function(a){return new (a||HL)};HL.\u0275mod=Tc({type:HL});HL.\u0275inj=Ec({imports:[zD,Tw,kC,DD,QC,GL,AA,ry,ny,FL,px,KJ,EL]});var mIa=0;var H7b=Dsa("blinkers-activated"),I7b=Aj("blinkers-activated"),J7b=nIa("debug-dom-mutation","var(--c400)"),K7b=nIa("debug-ng-zone","var(--red-400)"),L7b=nIa("debug-xhr","var(--green-500)",1200),M7b=function(a,b,c){b=void 0===b?"#ccc":b;c=void 0===c?400:c;mIa++;var d=156;d+=12*(mIa-1);return function(e,f){f=void 0===f?b:f;var h,k=null!=(h=document.getElementById(a))?h:kIa(a,d);k.style.transition="opacity "+c+"ms";k.style.backgroundColor=f;k.style.opacity=e?"1":"0"}}("active-user","var(--yellow-500)"),
N7b={clear:function(){},getItem:function(){return""},removeItem:function(){},setItem:function(){}},O7b=window.localStorage||N7b,IL=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=!O7b.getItem("log-xhrs-to-console"),O7b.setItem("log-xhrs-to-console",d?"on":""),d?P7b(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()&&Q7b(this)};IL.prototype.ngOnDestroy=function(){R7b(this)};IL.prototype.isEnabled=function(){return I7b()};IL.prototype.enable=function(){this.isEnabled()||(H7b(!0),Q7b(this))};IL.prototype.disable=function(){H7b(!1);R7b(this)};
var Q7b=function(a){a.activityMonitor.dom$.pipe(bf(a.destroyed$)).subscribe(function(){return void J7b()});p1b(a.activityMonitor);a.activityMonitor.cdr$.pipe(bf(a.destroyed$)).subscribe(function(){return void K7b()});a.activityMonitor.xhr$.pipe(bf(a.destroyed$)).subscribe(function(){L7b();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 M7b(b)});
document.addEventListener("click",a.onAnyClick);O7b.getItem("log-xhrs-to-console")&&P7b(a)},R7b=function(a){a.destroyed$.next();a.activityMonitor.domObserver.disconnect();document.removeEventListener("click",a.onAnyClick)},P7b=function(a){clearInterval(a.loggingInterval);a.loggingInterval=setInterval(a.printXhrLog,1E3)};IL.\u0275fac=function(a){return new (a||IL)(p(FE),p(HE))};IL.\u0275prov=Dc({token:IL,factory:IL.\u0275fac,providedIn:"root"});var JL=function(a,b){this.teamDigestFridge=a;this.activeSession=b;this.destroyed$=new E.Subject;this.email=this.activeSession.getUserEmail();this.user=ti(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(u(new Set(c))).filter(jl)}));Ck(this.allTeamIds$.pipe(bf(this.destroyed$)),[])};JL.prototype.ngOnDestroy=function(){this.destroyed$.next()};JL.\u0275fac=function(a){return new (a||JL)(p($I),p(nt))};JL.\u0275prov=Dc({token:JL,factory:JL.\u0275fac,providedIn:"root"});var KL=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I,P,O){var U=this;this.activeSession=a;this.appEvents=b;this.ngZone=c;this.window=d;this.buganizerBlinkers=e;this.currentUser=f;this.routeParamsService=h;this.issueFridge=k;this.eventsForIssueFridge=q;this.customFieldFridge=t;this.changelistFridge=w;this.aggregatedIssueMetadataFridge=y;this.taskFridge=C;this.userPreferencesManager=J;this.savedSearchFridge=I;this.recentEventsForIssuesFridge=P;this.componentPicker=O;this.getCurrentIssueId=function(){var aa;
return null==(aa=U.routeParamsService.routeParams$.value)?void 0:aa.issueId};this.getCurrentIssue=function(){var aa=U.getCurrentIssueId();if(null!=aa)return U.issueFridge.memory.getData(aa)};this.getCurrentIssueEvents=function(){var aa=U.getCurrentIssueId();if(null!=aa)return U.eventsForIssueFridge.memory.getData(aa)}};
KL.prototype.install=function(){if(this.activeSession.isInternalSession()){var a=this;this.window.bedbug={ngZone:this.ngZone,appEvents:this.appEvents,requestKeeper:C_b,activeSession:this.activeSession,blinkers:this.buganizerBlinkers.publicApi,toggleDebugLogging:a_b("debug-logging"),toggleLeanFeMigrationDebugLogging:a_b("lean-fe-debug-logging"),toggleOptOutExperiments:a_b("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,recentEventsForIssuesFridge:this.recentEventsForIssuesFridge},modals:{componentPicker:this.componentPicker},setFlagOverrideForOneDay:Msa,clearFlagOverride:Nsa,clearAllFlagOverrides:Jsa,get initialSession(){return Kj()},get initialPrefs(){return Kj().userPreferences},
get currentPrefs(){return ME(a.userPreferencesManager)},get currentIssue(){return a.getCurrentIssue()},get currentIssueEvents(){return a.getCurrentIssueEvents()},get flags(){return Object.fromEntries(Kj().config.enabledFlags)}}}};KL.\u0275fac=function(a){return new (a||KL)(p(nt),p(lG),p(ef),p(ZF),p(IL),p(JL),p(bJ),p(iI),p(AH),p(zH),p(hH),p($G),p(QI),p(LE),p(MI),p(HI),p(yL))};KL.\u0275prov=Dc({token:KL,factory:KL.\u0275fac,providedIn:"root"});var LL=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");S7b(b,b.localDarkmode);b.clientStreamzService&&KXb(b.clientStreamzService,"loadDarkmode",b.clientDarkmodeSubject.getValue())};this.setLocalDarkmode=function(c){b.localDarkmode=c;b.localDarkmode?window.localStorage.setItem("onedev-darkmode",
b.localDarkmode.toString()):window.localStorage.removeItem("onedev-darkmode")}};LL.prototype.enableUsageTracking=function(){this.clientStreamzService=this.injector.get(QB)};var S7b=function(a,b){a.clientDarkmodeSubject.next(b);document.body.classList.toggle("dark-mode",b)};LL.\u0275fac=function(a){return new (a||LL)(p(ff))};LL.\u0275prov=Dc({token:LL,factory:LL.\u0275fac});var T7b=qt(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/homepage-feedback-dark-mode.md"]),U7b=qt(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/homepage-feedback.md"]),V7b=qt(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback-dark-mode.md"]),W7b=qt(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback.md"]),ML=function(a,b,c){var d=this;this.dialogRef=a;this.darkmodeService=b;this.data=c;this.contentLoaded=
!1;this.docUrl$=this.darkmodeService.clientDarkmode$.pipe(D(function(e){switch(d.data.type){case "HOMEPAGE":return e?hh(T7b):hh(U7b);default:return e?hh(V7b):hh(W7b)}}))};ML.\u0275fac=function(a){return new (a||ML)(B(sA),B(LL),B(uA))};
ML.\u0275cmp=r({type:ML,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),F(1,oIa,2,3,"ng-container",1),W(2,"async"),F(3,pIa,1,0,
"mat-spinner",2),K(),H(4,"div",3)(5,"button",4),Q("click",function(){return b.dialogRef.close(!1)}),T(6," Cancel "),K(),H(7,"button",5),Q("click",function(){return b.dialogRef.close(!0)}),T(8," File a new issue "),K()());a&2&&(A(1),G("ngIf",X(2,2,b.docUrl$)),A(2),G("ngIf",!b.contentLoaded))},dependencies:[Uv,yA,zA,eA,dK,$v],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 uo=function(a){this.internalArray_=m(a)};Y(uo,n);g=uo.prototype;g.getEnableSsEngine=function(){return Hi(this,2)};g.getEnableAwr=function(){return Hi(this,3)};g.getAlohaAutoGaRollout=function(){return Hi(this,5)};g.getEnableConfigurator=function(){return Hi(this,6)};g.getEnableMweb=function(){return Hi(this,7)};g.getEnableCtlConsentCheckbox=function(){return Hi(this,8)};g.getEnableIframe=function(){return Hi(this,9)};
var HIa=function(){var a=new uo;a=yl(a,5,!0);a=yl(a,2,!0);a=yl(a,4,!1);a=yl(a,8,!0);return yl(a,9,!0)};g=uo.prototype;g.getEnableScreenshotNudge=function(){return Hi(this,10)};g.getEnableWebStartupConfigEndpoint=function(){return Hi(this,11)};g.getEnableJunkNudge=function(){return Hi(this,12)};g.getEnableConfiguratorLocale=function(){return Hi(this,13)};g.getEnableTinyNoPointer=function(){return Hi(this,14)};g.getEnableSupportSessionLogging=function(){return Hi(this,15)};
g.getEnableFileUploadForScreenshot=function(){return Hi(this,16)};g.getEnableDirectDeflectionForSingleCategory=function(){return Hi(this,17)};g.getEnableImageSanitization=function(){return Hi(this,18)};g.getEnableAlohaBinarySplit=function(){return Hi(this,19)};g.getEnableDbFeedbackIntents=function(){return Hi(this,20)};g.getEnableMarkMandatoryFieldsWithRequired=function(){return Hi(this,21)};g.getEnableFeedbackCategoryCustomUi=function(){return Hi(this,22)};
g.getEnableRealtimeCtl=function(){return Hi(this,23)};var GIa=function(a){this.internalArray_=m(a)};Y(GIa,n);var qIa=[/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 tIa="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 uIa=qt(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_light_binary.js"]),vIa=qt(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_binary__",".js"]);var xIa,zIa;var X7b=function(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||da,e=d.document,f=a.nonce||EMb(d);f&&!a.nonce&&(a.nonce=f);if("help"==a.flow){var h=Vo("document.location.href",d);!a.helpCenterContext&&h&&(a.helpCenterContext=h.substring(0,1200));h=!0;if(b&&JSON&&JSON.stringify){var k=JSON.stringify(b);(h=1200>=k.length)&&(a.psdJson=k)}h||(b={invalidPsd:!0})}b=[a,b,c];d.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.feedbackServerUri||"//www.google.com/tools/feedback";if(h=d.GOOGLE_FEEDBACK_START)h.apply(d,
b);else{d=c+"/load.js?";for(var q in a)b=a[q],null==b||Aa(b)||(d+=encodeURIComponent(q)+"="+encodeURIComponent(b)+"&");a=ep(e).createElement("SCRIPT");f&&a.setAttribute("nonce",f);Th(a,gh(d));e.body.appendChild(a)}},Y7b=function(a,b,c,d){var e,f;qe(function(h){e=c||da;var k="DEV"===a.serverEnvironment,q=c||da;q=a.nonce||EMb(q);k={integrationKeys:{productId:a.productId,feedbackBucket:a.bucket,triggerId:a.triggerId},callbacks:{onClose:a.callback,onLoad:a.onLoadCallback},formContent:{locale:a.locale,
disableScreenshot:a.disableScreenshotting,productDisplayName:void 0,announcement:void 0,issueCategories:void 0,includeSeveritySelection:void 0,customImageSrc:void 0,thankYouMessage:void 0,userEmail:void 0,defaultFormInputValues:void 0,defaultFormInputValuesString:void 0,abuseLink:a.abuseLink,additionalDataConsent:a.additionalDataConsent},initializationData:{isLocalServer:k,nonce:q,useNightlyRelease:k,feedbackJsUrl:void 0,feedbackCssUrl:void 0,feedbackJsUrlSerialized:void 0,feedbackCssUrlSerialized:void 0,
submissionServerUri:a.feedbackServerUri,colorScheme:a.colorScheme},extraData:{productVersion:a.productVersion,authUser:a.authuser,configuratorId:a.configuratorId,customZIndex:a.customZIndex,tinyNoPointer:a.tinyNoPointer,allowNonLoggedInFeedback:a.allowNonLoggedInFeedback,enableAnonymousFeedback:a.enableAnonymousFeedback}};b&&(q=new Map(Object.entries(b)),k.extraData.productSpecificData=q);f=k;return h.yield(EIa(f,d,e),0)})},Z7b=function(a,b,c){try{if("help"===a.flow){var d=a.helpCenterPath.replace(/^\//,
"");era(c||window,ah("https://support.google.com/"+d))}else"submit"===a.flow?X7b(a,b,c):IIa(a.productId,a.feedbackServerUri).then(function(e){e=vi(e,uo,1);var f=!EKb||(null==e?void 0:e.getEnableMweb()),h=!a.tinyNoPointer||(null==e?void 0:e.getEnableTinyNoPointer());!e||e.getAlohaAutoGaRollout()&&f&&h?Y7b(a,b,c,e):X7b(a,b,c)},function(e){e&&"DuplicateFormError"!==e.name&&X7b(a,b,c)})}catch(e){Y7b(a,b,c,null)}};aKb("userfeedback.api.startFeedback",Z7b);var $7b={width:"500px",maxHeight:"80vh",autoFocus:!1},NL=function(a,b,c){this.activeSession=a;this.matDialog=b;this.currentTracker=c};NL.prototype.startFeedback=function(){var a=this;this.activeSession.isInternalSession()?this.matDialog.open(ML,Object.assign({},$7b,{height:"640px",data:{type:"DEFAULT"}})).afterClosed().subscribe(function(b){b&&a8b(a)}):a8b(this)};
var b8b=function(a){a.activeSession.isInternalSession()?a.matDialog.open(ML,Object.assign({},$7b,{height:"400px",data:{type:"HOMEPAGE"}})).afterClosed().subscribe(function(b){b&&a8b(a)}):a8b(a)},a8b=function(a){var b={productId:92912,nonce:a.activeSession.getCspNonce(),productVersion:"buganizer.frontend_20231128.07_p0"};b.bucket=a.currentTracker.inTracker?"buganizer-trackers-feedback":"buganizer3-feedback";for(var c=[],d=c.concat,e=u([]),f=[],h=l(a.activeSession.session.config.enabledFlags),k=h.next();!k.done;k=
h.next()){var q=l(k.value);k=q.next().value;(q=q.next().value)&&f.push(k)}c=d.call(c,e,u(f)).join(", ");c={userType:a.activeSession.getUserTypeLabel(),flags:c};a.currentTracker.inTracker&&(c.trackerId=a.currentTracker.getTrackerId());Z7b(b,c)};NL.\u0275fac=function(a){return new (a||NL)(p(nt),p(vA),p(SG))};NL.\u0275prov=Dc({token:NL,factory:NL.\u0275fac,providedIn:"root"});var OL=function(a){this.delegate_=a};OL.prototype.getDelegate=function(){return this.delegate_};var c8b=function(a,b){this.delegate_=a;this.currentTarget_=b;this.target_=null};Y(c8b,OL);c8b.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=d8b(b,a.pop());return this.target_=b};c8b.prototype.getType=function(){return this.getDelegate().xa};var e8b=function(a){this.delegate_=a};Y(e8b,OL);g=e8b.prototype;g.listen=function(a,b,c,d){var e=this;return this.getDelegate().za(a,function(f){return b.call(d||da,new c8b(f,e))},c)};g.listenOnce=function(){throw Error("Zc");};g.unlisten=function(){throw Error("Zc");};g.unlistenByKey=function(){throw Error("Zc");};g.dispatchEvent=function(){throw Error("Zc");};g.removeAllListeners=function(){throw Error("Zc");};g.getParentEventTarget=function(){throw Error("Zc");};
g.fireListeners=function(){throw Error("Zc");};g.getListener=function(){throw Error("Zc");};g.hasListener=function(){throw Error("Zc");};e8b.prototype[WUb]=!0;var PL=function(a){this.delegate_=a};Y(PL,e8b);PL.prototype.getHeight=function(){return this.getDelegate().pa()};PL.prototype.setPageTitle=function(){this.getDelegate().pb(void 0)};PL.prototype.setBackgroundColor=function(a){this.getDelegate().pd(a)};PL.prototype.getBackgroundColor=function(){return this.getDelegate().pn()};var f8b=function(a,b){this.delegate_=a;this.wrapperConstructor_=b||null};Y(f8b,OL);f8b.prototype.then=function(a,b,c){var d;a&&(d=g8b(this,a));this.getDelegate().aa(d,b,c)};var g8b=function(a,b){var c=a.wrapperConstructor_;return c?function(d){b.call(this,new c(d))}:b};var QL=function(a){this.delegate_=a||gbar.a;this.gapiPromise_=this.barPromise_=null};Y(QL,OL);QL.prototype.getGapi=function(){this.gapiPromise_||(this.gapiPromise_=new f8b(this.getDelegate().bh()));return this.gapiPromise_};QL.getInstance=function(){if(QL.instance_&&QL.hasOwnProperty("instance_"))var a=QL.instance_;else a=new QL,QL.instance_=a;return a};var RL=function(a,b){Z.call(this);this.router=a;this.window=b};Y(RL,Z);RL.\u0275dir=Z.\u0275dir;RL.prototype.start=function(){var a=this;return(new Promise(function(b,c){var d=QL.getInstance();d.barPromise_||(d.barPromise_=new f8b(d.getDelegate().bf(),PL));d.barPromise_.then(b,c)})).then(function(b){h8b(a,b)})};var h8b=function(a,b){a.router.events.pipe(He(Cva),bf(a.destroyed$)).subscribe(function(){b.getDelegate().pl(a.window.location.href)})};RL.\u0275fac=function(a){return new (a||RL)(p(yE),p(ZF))};
RL.\u0275prov=Dc({token:RL,factory:RL.\u0275fac,providedIn:"root"});var SL=function(a,b,c){Z.call(this);var d=this;this.paramsService=a;this.issueFetchResponseFridge=b;this.eventsForIssueFridge=c;this.handlers$=this.paramsService.routeParams$.pipe(Pe($h),af(function(e){return d.onRouteParamsChanged(e)}));this.init=function(){d.subscriptions.add(d.handlers$.subscribe(function(){}))};this.initOnce=JCa(this.init)};Y(SL,Z);SL.\u0275dir=Z.\u0275dir;
SL.prototype.onRouteParamsChanged=function(a){var b=this,c,d;return qe(function(e){if(1==e.nextAddress){c={trustUncertainMemory:!0};if(!a.issueId)return e.jumpTo(2);d=a.issueId;return e.yield(Promise.all([oI(b.issueFetchResponseFridge,d,c),b.eventsForIssueFridge.poke(d,c)]),3)}return e.return()})};SL.\u0275fac=function(a){return new (a||SL)(p(bJ),p(mI),p(AH))};SL.\u0275prov=Dc({token:SL,factory:SL.\u0275fac,providedIn:"root"});var TL=function(a){Z.call(this);var b=this;this.scrollTimingMap=new Map;a.routeChangeSuccess.pipe(bf(this.destroyed$)).subscribe(function(){b.scrollTimingMap.clear()})};Y(TL,Z);TL.\u0275dir=Z.\u0275dir;TL.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)};TL.\u0275fac=function(a){return new (a||TL)(p(JE))};
TL.\u0275prov=Dc({token:TL,factory:TL.\u0275fac,providedIn:"root"});var UL=function(){};UL.prototype.onPressBack=function(){var a;null==(a=window.history)||a.back()};UL.\u0275fac=function(a){return new (a||UL)};
UL.\u0275cmp=r({type:UL,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),Q("click",function(){return b.onPressBack()}),L(2,"mat-icon",2),K()())},dependencies:[MA,eA,dC],styles:[".button-bar[_ngcontent-%COMP%] {\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var VL=function(){};VL.\u0275fac=function(a){return new (a||VL)};VL.\u0275cmp=r({type:VL,selectors:[["b-glue"]],ngContentSelectors:["*"],decls:2,vars:0,consts:[[1,"no-wrapping"]],template:function(a){a&1&&(Vf(),H(0,"span",0),Wf(1),K())},styles:['.no-wrapping[_ngcontent-%COMP%] {\n  white-space: nowrap;\n}\n\n.no-wrapping[_ngcontent-%COMP%]::after {\n  content: "\\002060"\n}'],changeDetection:0});var WL=function(a,b,c){Z.call(this);this.templateRef=a;this.viewContainer=b;this.cdr=c;this.viewContainer.createEmbeddedView(this.templateRef)};Y(WL,Z);Gh.Object.defineProperties(WL.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()})}}});WL.\u0275fac=function(a){return new (a||WL)(B(kg),B(lg),B(Fu))};
WL.\u0275dir=Vc({type:WL,selectors:[["","refreshable",""]],inputs:{refreshable:"refreshable"},features:[yf]});var XL=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 mv;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=ru(function(e){d.widthChanged.emit(e);d.events.sidebarWidthChanged.next(e)},400);this.trackKeyboardResizing=ru(function(){Hk(Kp.SIDEBAR,"resizeKeyboard")},2E3)};XL.prototype.ngOnInit=function(){var a=this;this.ngZone.runOutsideAngular(function(){document.addEventListener("mousemove",a.onMousemove)});document.addEventListener("mouseup",this.onMouseup,!0)};
XL.prototype.ngOnDestroy=function(){document.removeEventListener("mousemove",this.onMousemove);document.removeEventListener("mouseup",this.onMouseup,!0)};var i8b=function(a,b){var c=a.width+b;c<a.minSnapWidth&&(c=0>b?0:a.minSnapWidth);a.setWidth(c);a.trackKeyboardResizing()};XL.prototype.toggle=function(){this.setWidth(this.isClosed?this.lastOpenPosition:0)};
XL.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)};
Gh.Object.defineProperties(XL.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}}});XL.\u0275fac=function(a){return new (a||XL)(B(XD,2),B(lG),B(ef))};
XL.\u0275cmp=r({type:XL,selectors:[["b-resizable-sidebar"]],hostVars:2,hostBindings:function(a,b){a&2&&Kf(b.direction)},inputs:{minWidth:"minWidth",disableToggleBtn:"disableToggleBtn",hideToggleBtnOnOpen:"hideToggleBtnOnOpen",direction:"direction",size:"size"},outputs:{widthChanged:"widthChanged"},features:[bg([XD])],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&&(Vf(),H(0,"div",0)(1,"div",1),Wf(2),K(),H(3,"div",2),Q("mousedown",function(c){return b.startDragging(c.pageX)})("keyup.arrowleft",
function(){return i8b(b,-10)})("keyup.arrowright",function(){return i8b(b,10)})("keyup.space",function(){return b.toggle()})("keyup.enter",function(){return b.toggle()})("dblclick",function(){return b.toggle()}),K()(),F(4,JIa,2,6,"button",3));a&2&&(If("width",b.width+"px"),Jf("isDragging",b.isDragging)("isClosed",b.isClosed),G("ngClass",b.direction),A(1),If("width",b.lastOpenPosition+"px"),A(2),Af("aria-valuenow",b.width)("aria-valuetext",b.width+" pixels"),A(1),G("ngIf",!b.disableToggleBtn&&!(b.hideToggleBtnOnOpen&&
!b.isClosed)))},dependencies:[Sv,Uv,MA,eA,dC,Px],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 j8b=new bd("intersectionObserverFactory",{factory:function(){return function(a,b){return new IntersectionObserver(a,b)}}}),k8b=new bd("isScrolledOnScreen",{factory:function(){return{fully:KIa,partially:LIa}}}),YL=function(a,b){this.intersectionObserverBuilder=a;this.isScrolledOnScreen=b};YL.prototype.getObservable=function(a,b){b=void 0===b?!1:b;return null!=window.IntersectionObserver?MIa(a,this.intersectionObserverBuilder,this.isScrolledOnScreen,b):NIa(a,this.isScrolledOnScreen,b)};
var l8b=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(Oja(function(f,h){return{cumulativeTime:f.cumulativeTime+(f.wasPreviouslyOnScreen?Date.now()-f.lastTimestamp:0),wasPreviouslyOnScreen:h,lastTimestamp:Date.now()}},d),af(function(f){if(0===e&&f.wasPreviouslyOnScreen)return(0,E.of)(void 0);
var h=e-f.cumulativeTime;return 0>h?(0,E.of)(void 0):f.wasPreviouslyOnScreen?(0,E.of)(void 0).pipe(Oe(h)):E.NEVER}),D(function(){}),Qe())};YL.\u0275fac=function(a){return new (a||YL)(p(j8b),p(k8b))};YL.\u0275prov=Dc({token:YL,factory:YL.\u0275fac,providedIn:"root"});var ZL=function(a){this.internalArray_=m(a,0,ZL.messageId)};Y(ZL,n);ZL.prototype.getUrl=function(){return xi(this,1)};ZL.prototype.setUrl=function(a){return gj(this,1,a)};ZL.prototype.hasUrl=function(){return yi(this,1)};ZL.messageId="b.ImageRedirectRequest";var $L=function(a){this.internalArray_=m(a,0,$L.messageId)};Y($L,n);$L.prototype.getUrl=function(){return xi(this,1)};$L.prototype.setUrl=function(a){return gj(this,1,a)};$L.prototype.hasUrl=function(){return yi(this,1)};$L.messageId="b.ImageRedirectResponse";var aM=function(a){this.executor=a},m8b=function(a,b){var c=new ZL;c.setUrl(b);return a.executor.post({url:"action/imageRedirect",body:c,responseConstructor:$L}).pipe(D(function(d){return d.getUrl()}))};aM.\u0275fac=function(a){return new (a||aM)(p(SD))};aM.\u0275prov=Dc({token:aM,factory:aM.\u0275fac,providedIn:"root"});var OIa=RegExp("^https?:\\/\\/((?:screenshot.googleplex.com|screenshot.corp.google.com|screen.corp.google.com|screenshot|screen)\\/([\\w-]+)(?:\\.png)?$)"),RIa=RegExp("^(https?:\\/\\/)(www\\.)?(go|goto|goto\\.google\\.com)\\/([A-Za-z0-9-]+$)");var bM=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(u(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(He(function(c){c=l(c);c.next();return c.next().value}),af(function(c){var d=l(c).next().value;return(c=TIa(d))?(0,E.of)(c):m8b(b.imageRedirector,d).pipe(Le(function(){b.error$.next(!0);return d}))}))};bM.prototype.trigger=function(a){a.preventDefault();a.stopPropagation();this.showImage$.next(!0)};
Gh.Object.defineProperties(bM.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}}});bM.\u0275fac=function(a){return new (a||bM)(B(aM))};
bM.\u0275cmp=r({type:bM,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&&(F(0,XIa,3,4,"ng-container",0),W(1,"async"),F(2,YIa,8,9,"ng-template",null,1,tg)(4,ZIa,2,3,"ng-template",null,2,
tg));if(a&2){var c=S(5);G("ngIf",!1===X(1,2,b.error$))("ngIfElse",c)}},dependencies:[Uv,MA,dC,VL,$v],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 cM=function(){};cM.prototype.onClick=function(a,b){n8b(b)&&a.preventDefault()};var n8b=function(a){if(window.getSelection){var b=window.getSelection();if(b&&!b.isCollapsed&&a.contains(b.focusNode))return!0}return!1};cM.\u0275fac=function(a){return new (a||cM)};cM.\u0275dir=Vc({type:cM,selectors:[["","selectionPreventsClick",""]],hostBindings:function(a,b){a&1&&Q("click",function(c){return b.onClick(c,c.target)})}});var o8b={HIDE:"HIDE",COLLAPSE:"COLLAPSE",SHOW:"SHOW"},dM=function(a,b){var c=this;this.activeSession=a;this.userPreferencesManager=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.DisplayMode=o8b;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=l(d);d=e.next().value;var f=e.next().value;e=e.next().value;return d&&
yD(c.activeSession,"enableImageSummary")&&c.activeSession.isInternalSession()?!f&&e?"COLLAPSE":f?"SHOW":"HIDE":"HIDE"}),$e("HIDE"))};Gh.Object.defineProperties(dM.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}}});dM.\u0275fac=function(a){return new (a||dM)(B(nt),B(LE))};
dM.\u0275cmp=r({type:dM,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&&(F(0,bJa,5,5,"ng-container",0),W(1,"async"));a&2&&G("ngIf",X(1,1,b.src$))},dependencies:[Uv,Vv,Wv,bM,$v],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});[].concat(u(E6b),[XL,VL]);var eM=function(){};eM.\u0275fac=function(a){return new (a||eM)};eM.\u0275mod=Tc({type:eM});eM.\u0275inj=Ec({imports:[zD,kC,QC,Tx,ZK]});var gM=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I,P,O,U,aa,na,sa,Ba,Pa){Z.call(this);var Ja=this;this.bLocation=a;this.reloadService=b;this.timeout=c;this.activeSession=d;this.hotkeys=e;this.paths=f;this.userPrefs=h;this.issuePagination=k;this.userFeedback=y;this.ngZone=C;this.matDialogService=J;this.renderer=O;this.announcement=this.dismissedMessageId=null;this.matSidebarWidth=220;this.isAnonymous=this.activeSession.isAnonymous();this.sidebarDragSaver=this.sidebarDragOffset=null;Ba.install();Pa.install();
M3b(w);this.subscriptions.add(t.onClickAppMenuIcon.subscribe(function(){Ja.matSidebarWidth=185>Ja.matSidebarWidth?"open":0}));this.densityClass="d-comfort";this.renderer.addClass(document.body,this.densityClass);this.userPrefs.themePreferences$.pipe(bf(this.destroyed$)).subscribe(function(Va){Va=hJa(Va.density);Va!==Ja.densityClass&&(Ja.renderer.addClass(document.body,Va),Ja.renderer.removeClass(document.body,Ja.densityClass),Ja.densityClass=Va)});this.subscriptions.add(w6b(q,function(Va){Ja.doSearch(Va)}));
b=[{keys:["/","F3"],displayAs:"/ or F3",description:"Search",onPress:function(){var Va=document.querySelector(".search-box-container .search-box");null==Va||Va.focus();null==Va||Va.select()}},{keys:[Sj("2"),Dta()],displayAs:"@ or Alt+Shift+f",description:"Send feedback",onPress:function(){Ja.startFeedback()}},{keys:["c"],displayAs:"c",description:"Create issue",onPress:function(){a.setUrl(cb)}}];this.activeSession.isInternalSession()&&b.push({keys:[Tj("g","p")],displayAs:"g then p",description:"Go to your preferred homepage",
onPress:function(){a.setUrl("/")}},{keys:[Tj("g","h")],displayAs:"g then h",description:'Go to "Home"',onPress:function(){a.setUrl(f.home())}},{keys:[Tj("g","n")],displayAs:"g then n",description:'Go to "Needs attention"',onPress:function(){a.setUrl(f.needsAttention())}});var cb=f.createIssue(),qb=f.listIssues({q:IK(d.getUserEmail())}),Ra=f.listIssues({q:"cc:"+d.getUserEmail()}),fa=f.listIssues({q:s6b(d.getUserEmail())}),wa=f.listIssues({q:"reporter:"+d.getUserEmail()}),Ca=f.listIssues({q:q.getStarred()}),
Wa=f.listIssues({q:q.getVoted()});b.push({keys:[Tj("g","a")],displayAs:"g then a",description:'Go to "Assigned to me"',onPress:function(){a.setUrl(qb)}},{keys:[Tj("g","c")],displayAs:"g then c",description:'Go to "CC\'d to me"',onPress:function(){a.setUrl(Ra)}},{keys:[Tj("g","r")],displayAs:"g then r",description:'Go to "Reported by me"',onPress:function(){a.setUrl(wa)}},{keys:[Tj("g","s")],displayAs:"g then s",description:'Go to "Starred by me"',onPress:function(){a.setUrl(Ca)}},{keys:[Tj("g","1")],
displayAs:"g then 1",description:'Go to "Upvoted by me"',onPress:function(){a.setUrl(Wa)}},{keys:[Tj("g","v")],displayAs:"g then v",description:'Go to "To be verified"',onPress:function(){a.setUrl(fa)}},{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(Va){if(0===
Va&&20<Ja.sidebarDragPosition||1===Va&&!(20<Ja.sidebarDragPosition))20<Ja.sidebarDragPosition?fM(Ja,20,1):fM(Ja,Ja.lastOpenPosition,1);Ja.matSidebarWidth=0===Va?0:"open"}},{keys:["?",Cta("F1")],displayAs:"? or Ctrl+F1",description:"Display the keyboard shortcuts pop-up",onPress:function(){Ja.matDialogService.open(XE,{minWidth:512})}});this.subscriptions.add(UE(this.hotkeys,{title:"General",hotkeys:b}));this.lastOpenPosition=this.sidebarDragPosition=220;this.announcement=this.activeSession.getAnnouncement();
this.userPrefs.preferences$.pipe(Qe(),bf(this.destroyed$)).subscribe(function(Va){Ja.dismissedMessageId=Va.bannerMessageId||"";Va=(Va.layoutPreferences||{}).leftSidebarWidth;Ja.matSidebarWidth=Va||220;if(void 0===Va)Ja.sidebarDragPosition=220;else if(90>Va)Ja.sidebarDragPosition=20;else{if(220<Va){var qd=p8b();Va>qd&&(Va=qd)}185>Va&&(Va=185);Ja.sidebarDragPosition=Va}});(0,E.fromEvent)(document,"mouseup",{capture:!0}).pipe(bf(this.destroyed$)).subscribe(function(){Ja.sidebarDragOffset&&(Ja.sidebarDragOffset=
null,fM(Ja,Ja.sidebarDragPosition,1))});(0,E.fromEvent)(I,"resize").pipe(bf(this.destroyed$)).subscribe(function(){if(220<Ja.sidebarDragPosition){var Va=p8b();Ja.sidebarDragPosition>Va&&fM(Ja,Va,3E3)}});this.ngZone.runOutsideAngular(function(){(0,E.fromEvent)(document,"mousemove").pipe(bf(Ja.destroyed$)).subscribe(function(Va){if(Ja.sidebarDragOffset){Va=Va.pageX-Ja.sidebarDragOffset;if(90>Va)Va=20;else if(185>Va)Va=185;else{var qd=p8b();Va>qd&&(Va=qd)}fM(Ja,Va,0)}})});U.start();Fk()&&(null!=P1b&&
P1b.disconnect(),P1b=new Gk.PerformanceObserver(Zva),P1b.observe({entryTypes:["measure"]}));setTimeout(dwa,6E4);aa.start();na.initOnce();sa.initOnce();I.emergencyBugjugglerWorkaround={session:d,issueComments:P}};Y(gM,Z);gM.\u0275dir=Z.\u0275dir;gM.prototype.startDragging=function(a){this.sidebarDragOffset=a.pageX-this.sidebarDragPosition;a.preventDefault()};gM.prototype.isDragging=function(){return null!==this.sidebarDragOffset};
var p8b=function(){var a=window.innerWidth;return 1075<=a?a-855:220},fJa=function(a,b){a.userPrefs.layoutPreferences$.pipe(af(function(c){return a.userPrefs.save({layoutPreferences:Object.assign({},c,{leftSidebarWidth:b})})})).pipe(Qe(),bf(a.destroyed$)).subscribe()},fM=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(){fJa(a,20===a.sidebarDragPosition?
0:a.sidebarDragPosition);a.sidebarDragSaver=null},c).catch(function(){}))};gM.prototype.doSearch=function(a){a=this.paths.listIssues({q:a});var b=a2b(this.paths,a);uG(this.issuePagination);b&&zlb(this.reloadService);this.bLocation.setUrl(a)};var cJa=function(a){null!==a.announcement&&(a.dismissedMessageId=a.announcement.messageId,a.userPrefs.save({bannerMessageId:a.dismissedMessageId}).pipe(Qe(),bf(a.destroyed$)).subscribe())};gM.prototype.startFeedback=function(){this.userFeedback.startFeedback()};
gM.\u0275fac=function(a){return new (a||gM)(B(bF),B(QJ),B(QD),B(nt),B(TE),B(cF),B(LE),B(sG),B(GK),B(lG),B($H),B(NL),B(ef),B(vA),B(ZF),B(nJ),B(Eu),B(RL),B(TL),B(fJ),B(SL),B(KL),B(HE))};
gM.\u0275cmp=r({type:gM,selectors:[["app-root"]],features:[yf],decls:10,vars:2,consts:[["class","bv2-announce-bar",4,"ngIf"],[1,"bv2-content","flex-kids-x","border-top"],["id","main-app-nav",3,"size","disableToggleBtn","widthChanged",4,"ngIf"],["id","skiplink-navigation-target","role","main",1,"flex","pos-rel"],[1,"bv2-announce-bar"],"aria-live polite role status aria-atomic true".split(" "),[3,"innerHtml"],["class","announce-dismiss","role","button","tabindex","0",3,"keydown.enter","keydown.space",
"click",4,"ngIf"],["role","button","tabindex","0",1,"announce-dismiss",3,"keydown.enter","keydown.space","click"],["id","main-app-nav",3,"size","disableToggleBtn","widthChanged"]],template:function(a,b){a&1&&(L(0,"b-hiring-banner")(1,"b-terms-of-service"),F(2,eJa,4,2,"div",0),L(3,"b-sso-expired-callout-outlet"),H(4,"div",1),F(5,gJa,2,2,"b-resizable-sidebar",2),H(6,"div",3),L(7,"router-outlet"),K()(),L(8,"b-footer")(9,"bug-screensaver-manager"));if(a&2){A(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)||!yD(b.activeSession,"canSeeAnnouncementBanner")?!1:a.dismissible?null==b.dismissedMessageId?!1:a.messageId!==b.dismissedMessageId:!0}else c=!1;G("ngIf",c);A(3);G("ngIf",!b.isAnonymous)}},dependencies:function(){return[Uv,jE,XL,MK,gL,YD,qJ,vJ,OD]},encapsulation:2});var hM=function(){};hM.\u0275fac=function(a){return new (a||hM)};hM.\u0275mod=Tc({type:hM});hM.\u0275inj=Ec({imports:[zD,EE,eM,aL,jL,ZD,uJ,wJ,tJ,kC,YE]});var iM=function(a){this.internalArray_=m(a,0,iM.messageId)};Y(iM,n);iM.prototype.getUrl=function(){return xi(this,1)};iM.prototype.setUrl=function(a){return gj(this,1,a)};iM.prototype.hasUrl=function(){return yi(this,1)};iM.messageId="b.AttachmentUrlResponse";var jM=function(a){this.executor=a};jM.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(Tya(d)));return this.executor.get({url:"action/issues/"+a+"/attachments/"+b+"/url",options:{headers:e,params:{download:String(c)}},responseConstructor:iM}).then(function(f){return f.getUrl()})};jM.\u0275fac=function(a){return new (a||jM)(p(TD))};jM.\u0275prov=Dc({token:jM,factory:jM.\u0275fac,providedIn:"root"});var kM=function(a,b,c){this.templateRef=b;this.viewContainer=c;this.isInternal=!1;this.isInternal=a.isInternalSession()};kM.prototype.ngOnInit=function(){this.isInternal&&this.viewContainer.createEmbeddedView(this.templateRef)};kM.\u0275fac=function(a){return new (a||kM)(B(nt),B(kg),B(lg))};kM.\u0275dir=Vc({type:kM,selectors:[["","internalOnly",""]]});var lM=function(a){this.window=a};lM.prototype.openInNewTab=function(a){a=ah(a);era(this.window,a,"_blank")};var Ap=function(a,b){b=ah(b);era(a.window,b)},mM=function(a,b){a=a.window.location;b=ah(b);b=Ioa(b);void 0!==b&&(a.href=b)};lM.\u0275fac=function(a){return new (a||lM)(p(ZF))};lM.\u0275prov=Dc({token:lM,factory:lM.\u0275fac,providedIn:"root"});var nM=function(a,b,c,d,e,f,h,k){this.dialogRef=b;this.userAccess=c;this.attachmentsUrl=d;this.butterBar=e;this.domSafe=f;this.documentationLinks=h;this.changeDetectorRef=k;this.isLoading=!0;this.download=this.hasViewAccess=!1;this.attachment=a.attachment;this.issueId=a.issueId;this.download=a.download};nM.prototype.ngOnInit=function(){this.changeDetectorRef.detectChanges();this.setHasViewAccess()};
nM.prototype.setHasViewAccess=function(){var a=this;this.isLoading=!0;jJa(this)?(this.hasViewAccess=!1,XF(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)};nM.prototype.getRestrictionSeverity=function(){var a=this.attachment.contentVerdict;if(a&&(a=a.piiVerdict))return a.severity};
var jJa=function(a){return(a=a.getRestrictionSeverity())?"NONE_DETECTED"!==a:!1},q8b=function(a){var b=a.download&&yra(a.attachment.contentType);a.attachmentsUrl.get(a.issueId,a.attachment.attachmentId,b,a.getRestrictionSeverity()).then(function(c){b?mM(a.domSafe,c):a.domSafe.openInNewTab(c);a.close()},function(){a.butterBar.showWarning("Failed to load attachment. Please refresh and try again.");a.close()})};nM.prototype.close=function(){this.dialogRef.close();this.changeDetectorRef.detectChanges()};
nM.prototype.getRestrictedAccessHelpLink=function(){return this.documentationLinks.getRestrictedAccessHelpLink()};nM.\u0275fac=function(a){return new (a||nM)(B(uA),B(sA),B(VF),B(jM),B(EG),B(lM),B(lL),B(XD,2))};
nM.\u0275cmp=r({type:nM,selectors:[["b-attachment-download-dialog"]],features:[bg([XD])],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),T(1,"Access Attachment"),K(),H(2,"div",1)(3,"div",2),T(4," Are you sure you would like to access the following attachment? "),K(),L(5,"br"),H(6,"div",3)(7,"div",4),L(8,"mat-icon",5),K(),H(9,"div",6),T(10),K()(),L(11,"br"),F(12,kJa,2,1,"ng-container",
7)(13,lJa,3,0,"div",8),K(),F(14,mJa,1,0,"mat-spinner",9),H(15,"div",10)(16,"button",11),Q("click",function(){return b.close()}),T(17," Cancel "),K(),H(18,"button",12),Q("click",function(){return q8b(b)}),T(19," Continue "),K()());a&2&&(A(10),V(" ",b.attachment.filename," "),A(3),G("ngIf",!b.isLoading&&!b.hasViewAccess),A(1),G("ngIf",b.isLoading),A(4),G("disabled",!b.hasViewAccess))},dependencies:[Uv,MA,xA,yA,zA,eA,dK,kM],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 oM=function(){};oM.\u0275fac=function(a){return new (a||oM)};oM.\u0275mod=Tc({type:oM});oM.\u0275inj=Ec({imports:[zD]});var r8b=Object.assign({},new oUb,{backdropClass:"gmat-dialog-backdrop",panelClass:"gmat-dialog-panel",hasBackdrop:!0}),pM=function(){};pM.\u0275fac=function(a){return new (a||pM)};pM.\u0275mod=Tc({type:pM});pM.\u0275inj=Ec({providers:[{provide:pUb,useValue:r8b}],imports:[AA,AA]});var qM=function(){};qM.\u0275fac=function(a){return new (a||qM)};qM.\u0275mod=Tc({type:qM});qM.\u0275inj=Ec({imports:[zD,pM,kC,AA,RK,sJ,GD,oM]});var rM=function(a){this.internalArray_=m(a,0,rM.messageId)};Y(rM,n);rM.repeatedFields_=[1];rM.messageId="b.TimeZoneDataList";var sM=function(a,b){var c=this;this.executor=a;this.activeSession=b;this.memoized=new u4b(function(d){a:{var e=l(c.activeSession.session.preload.timezones);for(var f=e.next();!f.done;f=e.next())if(f=f.value,d===f.timeZoneId_){e=f;break a}e=void 0}return e?(0,E.of)(e):c.executor.get({url:"action/timezone/"+encodeURIComponent(d),responseConstructor:Hj}).pipe(D(hra))},10)};sM.prototype.get=function(a){return this.memoized.get(a)};
var s8b=function(a){return a.executor.get({url:"action/timezone",responseConstructor:rM}).pipe(D(function(b){return null==b?void 0:zi(b,Hj,1).map(function(c){c=hra(c);var d=LTb(c.getOffset(new Date));return{id:c.timeZoneId_,displayName:"("+d+") - "+c.timeZoneId_,gmt:d}})}))};sM.\u0275fac=function(a){return new (a||sM)(p(SD),p(nt))};sM.\u0275prov=Dc({token:sM,factory:sM.\u0275fac,providedIn:"root"});var tM=function(a,b,c,d){Z.call(this);var e=this;this.errorHandler=d;this.cachedFormatters=new Map;this.formatPrefChange$=new E.Subject;this.userTimeZone=null;this.timeZones={};this.userPrefs=uD.dateTimePreferences;Promise.all(c.supportedTimeZones.map(function(f){if(""===f.id)return Promise.resolve({name:"",timeZone:null});var h=b.get(f.id).pipe(bf(e.destroyed$));return(0,E.firstValueFrom)(h).then(function(k){return{name:f.name,timeZone:k}})})).then(function(f){f=l(f);for(var h=f.next();!h.done;h=
f.next())h=h.value,e.timeZones[h.name]=h.timeZone;a.preferences$.pipe(bf(e.destroyed$)).subscribe(function(k){k.dateTimePreferences&&(k=k.dateTimePreferences,e.userPrefs=k,e.userTimeZone=e.timeZones[k.timeZone],e.formatPrefChange$.next())})}).catch(function(f){e.errorHandler.errorHandler(null,f)})};Y(tM,Z);tM.\u0275dir=Z.\u0275dir;tM.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);d||(d=new aA(a),this.cachedFormatters.set(a,d));return b?d.format(c,b):d.format(c)};
var t8b=function(a,b){return a.formatPrefChange$.subscribe(b)};tM.prototype.formatUserCalendar=function(a){return this.format(this.userPrefs.calendarFormat,this.userTimeZone,a)};tM.prototype.formatUserTime=function(a){return this.format(this.userPrefs.timeFormat,this.userTimeZone,a)};tM.\u0275fac=function(a){return new (a||tM)(p(LE),p(sM),p(BD),p(FG))};tM.\u0275prov=Dc({token:tM,factory:tM.\u0275fac,providedIn:"root"});var u8b={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"}}},uM=u8b;uM=u8b;var v8b={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 w8b={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"},vM=w8b;vM=w8b;var wM=function(){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_=vM.MINUS_SIGN;this.negativeSuffix_="";this.multiplier_=1;this.negativePercentSignExpected_=!1;this.groupingArray_=[];this.useExponentialNotation_=this.decimalSeparatorAlwaysShown_=!1;this.compactStyle_=0;this.pattern_=
"";this.applyStandardPattern_(1)};
wM.prototype.applyPattern_=function(a){this.pattern_=a.replace(/ /g,"\u00a0");var b=[0];this.positivePrefix_=x8b(this,a,b);for(var c=b[0],d=-1,e=0,f=0,h=0,k=-1,q=a.length,t=!0;b[0]<q&&t;b[0]++)switch(a.charAt(b[0])){case "#":0<f?h++:e++;0<=k&&0>d&&k++;break;case "0":if(0<h)throw Error("id`"+a);f++;0<=k&&0>d&&k++;break;case ",":0<k&&this.groupingArray_.push(k);k=0;break;case ".":if(0<=d)throw Error("jd`"+a);d=e+f+h;break;case "E":if(this.useExponentialNotation_)throw Error("kd`"+a);this.useExponentialNotation_=
!0;this.minExponentDigits_=0;b[0]+1<q&&"+"==a.charAt(b[0]+1)&&(b[0]++,this.useSignForPositiveExponent_=!0);for(;b[0]+1<q&&"0"==a.charAt(b[0]+1);)b[0]++,this.minExponentDigits_++;if(1>e+f||1>this.minExponentDigits_)throw Error("ld`"+a);t=!1;break;default:b[0]--,t=!1}0==f&&0<e&&0<=d&&(f=d,0==f&&f++,h=e-f,e=f-1,f=1);if(0>d&&0<h||0<=d&&(d<e||d>e+f)||0==k)throw Error("md`"+a);h=e+f+h;this.maximumFractionDigits_=0<=d?h-d:0;0<=d&&(this.minimumFractionDigits_=e+f-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,k));this.decimalSeparatorAlwaysShown_=0==d||d==h;c=b[0]-c;this.positiveSuffix_=x8b(this,a,b);b[0]<a.length&&";"==a.charAt(b[0])?(b[0]++,1!=this.multiplier_&&(this.negativePercentSignExpected_=!0),this.negativePrefix_=x8b(this,a,b),b[0]+=c,
this.negativeSuffix_=x8b(this,a,b)):(this.negativePrefix_+=this.positivePrefix_,this.negativeSuffix_+=this.positiveSuffix_)};
wM.prototype.applyStandardPattern_=function(a){switch(a){case 1:this.applyPattern_(vM.DECIMAL_PATTERN);break;case 2:this.applyPattern_(vM.SCIENTIFIC_PATTERN);break;case 3:this.applyPattern_(vM.PERCENT_PATTERN);break;case 4:a=this.applyPattern_;var b=vM.CURRENCY_PATTERN;var c=["0"],d=v8b[vM.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:y8b(this,1);break;case 6:y8b(this,2);break;default:throw Error("cd");
}};var y8b=function(a,b){a.compactStyle_=b;a.applyPattern_(vM.DECIMAL_PATTERN);a.minimumFractionDigits_=0;a.maximumFractionDigits_=2;if(0<a.minimumFractionDigits_)throw Error("ad");a.significantDigits_=2};
wM.prototype.parse=function(a,b){b=b||[0];if(0!==this.compactStyle_)throw Error("dd");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(vM.INFINITY,b[0])==b[0]){b[0]+=vM.INFINITY.length;var e=Infinity}else{e=
a;var f=!1,h=!1,k=!1,q=-1,t=1,w=vM.DECIMAL_SEP,y=vM.GROUP_SEP,C=vM.EXP_SYMBOL;if(0!=this.compactStyle_)throw Error("ed");y=y.replace(/\u202f/g,"\u00a0");for(var J="";b[0]<e.length;b[0]++){var I=e.charAt(b[0]),P=z8b(I);if(0<=P&&9>=P)J+=P,k=!0;else if(I==w.charAt(0)){if(f||h)break;J+=".";f=!0}else if(I==y.charAt(0)&&("\u00a0"!=y.charAt(0)||b[0]+1<e.length&&0<=z8b(e.charAt(b[0]+1)))){if(f||h)break}else if(I==C.charAt(0)){if(h)break;J+="E";h=!0;q=b[0]}else if("+"==I||"-"==I){if(k&&q!=b[0]-1)break;J+=
I}else if(1==this.multiplier_&&I==vM.PERCENT.charAt(0)){if(1!=t)break;t=100;if(k){b[0]++;break}}else if(1==this.multiplier_&&I==vM.PERMILL.charAt(0)){if(1!=t)break;t=1E3;if(k){b[0]++;break}}else break}1!=this.multiplier_&&(t=this.multiplier_);e=parseFloat(J)/t}if(c){if(a.indexOf(this.positiveSuffix_,b[0])!=b[0])return NaN;b[0]+=this.positiveSuffix_.length}else if(d){if(a.indexOf(this.negativeSuffix_,b[0])!=b[0])return NaN;b[0]+=this.negativeSuffix_.length}return d?-e:e};
wM.prototype.format=function(a){if(this.minimumFractionDigits_>this.maximumFractionDigits_)throw Error("fd");if(isNaN(a))return vM.NAN;var b=[];var c=a;if(0==this.compactStyle_)c=xM;else{c=Math.abs(c);var d=A8b(this,1>=c?0:B8b(c)).divisorBase;c=A8b(this,d+B8b(C8b(this,yM(c,-d)).intValue))}a=yM(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)D8b(this,e,this.minimumIntegerDigits_,b),E8b(this,0,b);else{var f=Math.floor(Math.log(e)/Math.log(10)+2E-15);e=yM(e,-f);var h=this.minimumIntegerDigits_;1<this.maximumIntegerDigits_&&this.maximumIntegerDigits_>this.minimumIntegerDigits_?(h=f%this.maximumIntegerDigits_,0>h&&(h=this.maximumIntegerDigits_+h),e=yM(e,h),f-=h,h=1):1>this.minimumIntegerDigits_?(f++,e=yM(e,-1)):(f-=this.minimumIntegerDigits_-1,e=yM(e,this.minimumIntegerDigits_-
1));D8b(this,e,h,b);E8b(this,f,b)}}else D8b(this,a,this.minimumIntegerDigits_,b);else b.push(vM.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 C8b=function(a,b){var c=yM(b,a.maximumFractionDigits_);0<a.significantDigits_&&(c=F8b(c,a.significantDigits_,a.maximumFractionDigits_));c=Math.round(c);isFinite(c)?(b=Math.floor(yM(c,-a.maximumFractionDigits_)),a=Math.floor(c-yM(b,a.maximumFractionDigits_))):a=0;return{intValue:b,fracValue:a}},D8b=function(a,b,c,d){if(a.minimumFractionDigits_>a.maximumFractionDigits_)throw Error("fd");d||(d=[]);b=C8b(a,b);var e=b.intValue,f=b.fracValue,h=0<a.minimumFractionDigits_||0<f||!1;b=a.minimumFractionDigits_;
h&&(b=a.minimumFractionDigits_);for(var k="",q=e;1E20<q;)k="0"+k,q=Math.round(yM(q,-1));k=q+k;var t=vM.DECIMAL_SEP;q=vM.ZERO_DIGIT.charCodeAt(0);var w=k.length,y=0;if(0<e||0<c){for(e=w;e<c;e++)d.push(String.fromCharCode(q));if(2<=a.groupingArray_.length)for(c=1;c<a.groupingArray_.length;c++)y+=a.groupingArray_[c];c=w-y;if(0<c){e=a.groupingArray_;y=w=0;for(var C,J=vM.GROUP_SEP,I=k.length,P=0;P<I;P++)if(d.push(String.fromCharCode(q+Number(k.charAt(P)))),1<I-P)if(C=e[y],P<c){var O=c-P;(1===C||0<C&&1===
O%C)&&d.push(J)}else y<e.length&&(P===c?y+=1:C===P-c-w+1&&(d.push(J),w+=C,y+=1))}else{c=k;k=a.groupingArray_;e=vM.GROUP_SEP;C=c.length;J=[];for(w=k.length-1;0<=w&&0<C;w--){y=k[w];for(I=0;I<y&&0<=C-I-1;I++)J.push(String.fromCharCode(q+Number(c.charAt(C-I-1))));C-=y;0<C&&J.push(e)}d.push.apply(d,J.reverse())}}else h||d.push(String.fromCharCode(q));(a.decimalSeparatorAlwaysShown_||h)&&d.push(t);f=String(f);h=f.split("e+");2==h.length&&(f=String(F8b(parseFloat(h[0]),a.significantDigits_,1)),f=f.replace(".",
""),f+=KMb("0",parseInt(h[1],10)-f.length+1));a.maximumFractionDigits_+1>f.length&&(f="1"+KMb("0",a.maximumFractionDigits_-f.length)+f);for(a=f.length;"0"==f.charAt(a-1)&&a>b+1;)a--;for(b=1;b<a;b++)d.push(String.fromCharCode(q+Number(f.charAt(b))))},E8b=function(a,b,c){c.push(vM.EXP_SYMBOL);0>b?(b=-b,c.push(vM.MINUS_SIGN)):a.useSignForPositiveExponent_&&c.push(vM.PLUS_SIGN);b=""+b;for(var d=vM.ZERO_DIGIT,e=b.length;e<a.minExponentDigits_;e++)c.push(d);c.push(b)},z8b=function(a){a=a.charCodeAt(0);
if(48<=a&&58>a)return a-48;var b=vM.ZERO_DIGIT.charCodeAt(0);return b<=a&&a<b+10?a-b:-1},x8b=function(a,b,c){for(var d="",e=!1,f=b.length;c[0]<f;c[0]++){var h=b.charAt(c[0]);if("'"==h)c[0]+1<f&&"'"==b.charAt(c[0]+1)?(c[0]++,d+="'"):e=!e;else if(e)d+=h;else switch(h){case "#":case "0":case ",":case ".":case ";":return d;case "\u00a4":c[0]+1<f&&"\u00a4"==b.charAt(c[0]+1)?(c[0]++,d+=vM.DEF_CURRENCY_CODE):(h=vM.DEF_CURRENCY_CODE,d+=h in v8b?v8b[h][1]:h);break;case "%":if(!a.negativePercentSignExpected_&&
1!=a.multiplier_)throw Error("gd");if(a.negativePercentSignExpected_&&100!=a.multiplier_)throw Error("hd");a.multiplier_=100;a.negativePercentSignExpected_=!1;d+=vM.PERCENT;break;case "\u2030":if(!a.negativePercentSignExpected_&&1!=a.multiplier_)throw Error("gd");if(a.negativePercentSignExpected_&&1E3!=a.multiplier_)throw Error("hd");a.multiplier_=1E3;a.negativePercentSignExpected_=!1;d+=vM.PERMILL;break;default:d+=h}}return d},xM={divisorBase:0,negative_prefix:"",negative_suffix:"",prefix:"",suffix:""},
A8b=function(a,b){a=1==a.compactStyle_?uM.COMPACT_DECIMAL_SHORT_PATTERN:uM.COMPACT_DECIMAL_LONG_PATTERN;null==a&&(a=uM.COMPACT_DECIMAL_SHORT_PATTERN);if(3>b)return xM;b=Math.min(14,b);var c=a[yM(1,b)];for(--b;!c&&3<=b;)c=a[yM(1,b)],b--;if(!c)return xM;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]}:xM:xM},B8b=function(a){if(!isFinite(a))return 0<a?a:0;for(var b=0;1<=(a/=10);)b++;return b},yM=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))},G8b=function(a,b){return a&&isFinite(a)?yM(Math.round(yM(a,b)),-b):a},F8b=function(a,b,c){if(!a)return a;b=b-B8b(a)-1;return b<-c?G8b(a,-c):G8b(a,b)};var H8b=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"},I8b=H8b;I8b=H8b;var J8b=function(a,b){var c=a|0;if(void 0===b){b=Math;var d=b.min,e=a+"",f=e.indexOf(".");b=d.call(b,-1===f?0:e.length-f-1,3)}d=Math.pow(10,b);a={v:b,f:(a*d|0)%d};return 1==c&&0==a.v?"one":"other"},K8b=J8b;K8b=J8b;var zM=function(a){this.pattern_=a;this.parsedPattern_=this.literals_=this.initialLiterals_=null;a=vM;var b=uM;if(L8b!==a||M8b!==b)L8b=a,M8b=b,N8b=new wM;this.numberFormatter_=N8b},L8b=null,M8b=null,N8b=null,O8b=RegExp("'([{}#].*?)'","g"),P8b=RegExp("''","g");zM.prototype.format=function(a){return this.format_(a,!1)};
zM.prototype.format_=function(a,b){if(this.pattern_){this.initialLiterals_=[];var c=Q8b(this,this.pattern_);this.parsedPattern_=R8b(this,c);this.pattern_=null}if(!this.parsedPattern_||0==this.parsedPattern_.length)return"";this.literals_=ya(this.initialLiterals_);c=[];S8b(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 S8b=function(a,b,c,d,e){for(var f=0;f<b.length;f++)switch(b[f].type){case 4:e.push(b[f].value);break;case 3:var h=b[f].value,k=a,q=e,t=c[h];void 0===t?q.push("Undefined parameter - "+h):(k.literals_.push(t),q.push(k.buildPlaceholder_(k.literals_)));break;case 2:h=b[f].value;k=a;q=c;t=d;var w=e,y=h.argumentIndex;void 0===q[y]?w.push("Undefined parameter - "+y):(y=h[q[y]],void 0===y&&(y=h.other),S8b(k,y,q,t,w));break;case 0:h=b[f].value;T8b(a,h,c,K8b,d,e);break;case 1:h=b[f].value,T8b(a,h,c,I8b,
d,e)}},T8b=function(a,b,c,d,e,f){var h=b.argumentIndex,k=b.argumentOffset,q=+c[h];isNaN(q)?f.push("Undefined or invalid parameter - "+h):(k=q-k,h=b[c[h]],void 0===h&&(d=d(Math.abs(k)),h=b[d],void 0===h&&(h=b.other)),b=[],S8b(a,h,c,e,b),c=b.join(""),e?f.push(c):(a=a.numberFormatter_.format(k),f.push(c.replace(/#/g,a))))},Q8b=function(a,b){var c=a.initialLiterals_,d=yt(a.buildPlaceholder_,a);b=b.replace(P8b,function(){c.push("'");return d(c)});return b=b.replace(O8b,function(e,f){c.push(f);return d(c)})},
U8b=function(a){var b=0,c=[],d=[],e=/[{}]/g;e.lastIndex=0;for(var f;f=e.exec(a);){var h=f.index;"}"==f[0]?(c.pop(),0==c.length&&(f={type:1},f.value=a.substring(b,h),d.push(f),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},V8b=/^\s*(\w+)\s*,\s*plural\s*,(?:\s*offset:(\d+))?/,W8b=/^\s*(\w+)\s*,\s*selectordinal\s*,/,X8b=/^\s*(\w+)\s*,\s*select\s*,/,R8b=function(a,b){var c=[];b=U8b(b);for(var d=0;d<
b.length;d++){var e={};if(0==b[d].type)e.type=4,e.value=b[d].value;else if(1==b[d].type){var f=b[d].value;switch(V8b.test(f)?0:W8b.test(f)?1:X8b.test(f)?2:/^\s*\w+\s*/.test(f)?3:5){case 2:e.type=2;e.value=Y8b(a,b[d].value);break;case 0:e.type=0;e.value=Z8b(a,b[d].value);break;case 1:e.type=1;e.value=$8b(a,b[d].value);break;case 3:e.type=3,e.value=b[d].value}}c.push(e)}return c},Y8b=function(a,b){var c="";b=b.replace(X8b,function(k,q){c=q;return""});var d={};d.argumentIndex=c;b=U8b(b);for(var e=0;e<
b.length;){var f=b[e].value;e++;var h;1==b[e].type&&(h=R8b(a,b[e].value));d[f.replace(/\s/g,"")]=h;e++}return d},Z8b=function(a,b){var c="",d=0;b=b.replace(V8b,function(q,t,w){c=t;w&&(d=parseInt(w,10));return""});var e={};e.argumentIndex=c;e.argumentOffset=d;b=U8b(b);for(var f=0;f<b.length;){var h=b[f].value;f++;var k;1==b[f].type&&(k=R8b(a,b[f].value));e[h.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=k;f++}return e},$8b=function(a,b){var c="";b=b.replace(W8b,function(k,q){c=q;return""});var d={};d.argumentIndex=
c;d.argumentOffset=0;b=U8b(b);for(var e=0;e<b.length;){var f=b[e].value;e++;if(1==b[e].type)var h=R8b(a,b[e].value);d[f.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=h;e++}return d};zM.prototype.buildPlaceholder_=function(a){return"\ufddf_"+(a.length-1).toString(10)+"_"};var b9b=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=QTb(b),f=QTb(c),h=QTb(d);a=b*(c+d)?" ":"";var k=c*d?" ":"";b=a9b("{COUNT, plural, =0 {}=1 {{TEXT} day}other {{TEXT} days}}",b,e);c=a9b("{COUNT, plural, =0 {}=1 {{TEXT} hour}other {{TEXT} hours}}",c,f);d=a9b("{COUNT, plural, =0 {}=1 {{TEXT} minute}other {{TEXT} minutes}}",d,h);return b+a+c+k+d},a9b=function(a,b,c){return(new zM(a)).format({COUNT:b,TEXT:c})};var AM=function(a,b){var c=this;this.userPreferencesManager=a;this.timeZonesApi=b;this.cachedFormatters=new lF(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)}))};
AM.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);void 0===d&&(d=new aA(a),this.cachedFormatters.set(a,d));return b?d.format(c,b):d.format(c)};AM.prototype.formatUserCalendar=function(a){var b=this;return(0,E.combineLatest)([this.userCalendarFormat$,this.userTimeZone$]).pipe(D(function(c){var d=l(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
AM.prototype.formatUserTime=function(a){var b=this;return(0,E.combineLatest)([this.userTimeFormat$,this.userTimeZone$]).pipe(D(function(c){var d=l(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
var BM=function(a,b){return(0,E.combineLatest)([a.userCalendarFormat$,a.userTimeFormat$,a.userTimeZone$]).pipe(D(function(c){var d=l(c);c=d.next().value;var e=d.next().value;d=d.next().value;return a.format(c+" "+e,d,b)}))},c9b=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))},Nhb=function(a,b){var c=void 0;c=void 0===c?0:c;b=void 0===b?!1:b;var d=new ei;c&&d.setTime(c);c=new ei;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 $z("m",a)),e=Math.floor((c.getTime()-d.getTime())/864E5));d=new $z(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"};AM.\u0275fac=function(a){return new (a||AM)(p(LE),p(sM))};AM.\u0275prov=Dc({token:AM,factory:AM.\u0275fac,providedIn:"root"});var d9b=[{name:"local",id:""},{name:"UTC",id:"UTC"},{name:"MTV",id:"America/Los_Angeles"}],e9b=Symbol("nd"),f9b=Symbol("nd"),CM=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[e9b]=this.timestampDate$.pipe(af(function(c){if(void 0===c)return(0,E.of)("");
var d=c.getTime()/1E3;switch(b.mode){case "date":return b.dateFormatter.formatUserCalendar(c);case "time":return b.dateFormatter.formatUserTime(c);case "datetime":return BM(b.dateFormatter,c);case "relativepast":return c=jIa(d),(0,E.of)(c);case "relativepastshort":var e;return(0,E.of)(null!=(e=jIa(d,!0))?e:"");default:return Oh(b.mode)}}));this[f9b]=this.timestampDate$.pipe(af(function(c){return void 0===c?(0,E.of)(""):(0,E.combineLatest)(d9b.map(function(d){return c9b(b.dateFormatter,c,d.id).pipe(D(function(e){return{formatted:e,
tzName:d.name}}))})).pipe(g9b)}));this.vars$=(0,E.combineLatest)([this[e9b],this[f9b]]).pipe(D(function(c){var d=l(c);c=d.next().value;d=d.next().value;return{formatted:c,title:d}}))};CM.prototype.ngOnInit=function(){};
Gh.Object.defineProperties(CM.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):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())}}});CM.\u0275fac=function(a){return new (a||CM)(B(AM))};
CM.\u0275cmp=r({type:CM,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&&(F(0,nJa,4,8,"ng-container",0),W(1,"async"));a&2&&G("ngIf",X(1,1,b.vars$))},dependencies:[Uv,$v],encapsulation:2,changeDetection:0});
var g9b=(0,E.pipe)(D(function(a){var b=new Map;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=b.get(c.formatted);d?d.tzNames.push(c.tzName):(d={formatted:c.formatted,tzNames:[c.tzName]},b.set(c.formatted,d))}return Array.from(b.values()).map(function(e){return e.formatted+" ("+e.tzNames.join("/")+")"}).join("\n")}));var h9b=function(a,b,c,d){dx.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};cx(this)};Y(h9b,dx);var DM=function(a,b,c){this.checker=a;this.ngZone=b;this.document=c};DM.prototype.create=function(a){return new h9b(a,this.checker,this.ngZone,this.document)};DM.\u0275fac=function(a){return new (a||DM)(p(ax),p(ef),p(Xg))};
DM.\u0275prov=Dc({token:DM,factory:DM.\u0275fac,providedIn:"root"});var i9b=["content"],EM=function(a){Z.call(this);this.focusEscapeNotifierFactory=a;this.trapFocus=this.required=!1;this.renderPanel=this.noneButtonEnabled=this.todayButtonEnabled=!0;this.dateChange=new mv;this.cancelClicked=new mv;this.saveClicked=new mv;this.dateSelectionChange=new mv;this.focusEscaped=new mv};Y(EM,Z);EM.\u0275dir=Z.\u0275dir;
EM.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){oJa(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)||cQb(c)}else{var d;null==(d=a.focusEscapeNotifier)||bx(d)}else a.focusEscaped.emit(b)})};
var oJa=function(a,b){if(b=b instanceof Cn?b:FBa(b))a.calendar.activeDate=b};EM.\u0275fac=function(a){return new (a||EM)(B(DM))};
EM.\u0275cmp=r({type:EM,selectors:[["b-date-time-picker-content"]],viewQuery:function(a,b){a&1&&(og(Oz,7),og(i9b,7));if(a&2){var c;ng(c=qg())&&(b.calendar=c.first);ng(c=qg())&&(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:[yf],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&&(Vf(),H(0,"div",null,0)(2,"div",1),Wf(3),K(),H(4,"mat-calendar",2),Q("selectedChange",function(c){b.date=c;b.dateSelectionChange.emit(c)}),W(5,"toDateTime"),W(6,"toDateTime"),K(),H(7,"div",3),F(8,rJa,4,2,"div",4),H(9,"div",5)(10,"button",6),Q("click",function(){return b.cancelClicked.emit()}),T(11,"Cancel"),K(),H(12,"button",7),Q("click",function(){b.dateChange.emit(b.date);return b.saveClicked.emit()}),T(13,"Save"),K()()()());a&2&&(Jf("container",b.renderPanel),A(4),G("selected",
X(5,5,b.date))("startAt",X(6,7,b.date)),A(4),G("ngIf",b.todayButtonEnabled||b.noneButtonEnabled))},dependencies:function(){return[Uv,eA,Oz,CD,FM]},styles:[".b-optional-calendar-button-row[_ngcontent-%COMP%]{margin:0 1rem}.actions[_ngcontent-%COMP%]{text-align:end}.actions[_ngcontent-%COMP%]   div.b-optional-calendar-button-row[_ngcontent-%COMP%]{width:fit-content;margin:auto;align-content:center}.container[_ngcontent-%COMP%]{box-shadow:0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);padding:4px;border-radius:8px;background-color:#fff;background-color:var(--surface-default)}mat-calendar[_ngcontent-%COMP%]{width:288px;height:342px}/*# sourceMappingURL=date_time_picker_content.css.map */"]});
var FM=function(){};FM.prototype.transform=function(a){var b;return null!=(b=FBa(a))?b:void 0};FM.\u0275fac=function(a){return new (a||FM)};FM.\u0275pipe=Wc({name:"toDateTime",type:FM,pure:!0});var j9b=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}],GM=function(a,b,c){Z.call(this);var d=this;this.overlay=a;this.element=b;this.hostEl=c;this.openOnEnter=this.openOnClick=!0;this.required=this.focusTrapHost=!1;this.selectedChange=new mv;this.dateSelectionChange=new mv;this.onClose=
new mv;this.opened=!1;this.destroyed$.subscribe(function(){var e;null==(e=d.overlayRef)||e.dispose()})};Y(GM,Z);g=GM.prototype;g.open=function(){this.opened||(this.overlayRef=this.createOverlay(),this.attach(),this.opened=!0)};g.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()}};
g.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy();a=this.overlay.create({positionStrategy:a,scrollStrategy:b,hasBackdrop:!0,backdropClass:"b-date-time-picker-backdrop",panelClass:"b-date-time-picker-popup"});a.overlayElement.setAttribute("role","dialog");return a};g.attach=function(){var a=this,b=new hy(EM),c;this.pickerContent=null==(c=this.overlayRef)?void 0:c.attach(b).instance;var d;null==(d=this.overlayRef)||d.updatePosition();setTimeout(function(){k9b(a)})};
g.getPositionStrategy=function(){return Zx(ay(by(fy(this.overlay.position(),this.element)),8),j9b)};g.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
var k9b=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(He(function(c){return"Escape"===c.code}))).pipe(bf(b)).subscribe(function(){a.close()})}};GM.\u0275fac=function(a){return new (a||GM)(B(oy),B(Hd),B(Hd))};
GM.\u0275dir=Vc({type:GM,selectors:[["","bDateTimePickerToggle",""]],hostAttrs:["aria-haspopup","true"],hostVars:1,hostBindings:function(a,b){a&1&&Q("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&&(bx(b.pickerContent.focusEscapeNotifier),c.preventDefault())})("keydown.shift.tab",
function(c){b.focusTrapHost&&b.pickerContent&&b.pickerContent.focusEscapeNotifier&&(cQb(b.pickerContent.focusEscapeNotifier),c.preventDefault())});a&2&&Af("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:[yf]});var l9b=["pickerToggle"],HM=function(){this.customAriaLabelledBy=this.customFormId=void 0;this.required=!1;this.valueChange=new mv};HM.\u0275fac=function(a){return new (a||HM)};
HM.\u0275cmp=r({type:HM,selectors:[["b-date-time-input"]],viewQuery:function(a,b){a&1&&og(l9b,7);if(a&2){var c;ng(c=qg())&&(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),Q("bDateTimePickerToggleSelectedChange",function(c){b.value=c;b.valueChange.emit(c)}),F(2,sJa,1,1,"b-formatted-date-time",2)(3,tJa,2,0,"ng-container",3),K());a&2&&(G("id",b.customFormId)("bDateTimePickerToggleRequired",b.required)("bDateTimePickerToggleSelected",b.value)("bDateTimePickerToggleFocusTrapHost",
!1),Af("aria-labelledby",b.customAriaLabelledBy),A(2),G("ngIf",b.value),A(1),G("ngIf",!b.value))},dependencies:[GM,CM,eA,Uv],styles:["/*# sourceMappingURL=date_time_input.css.map */"]});new bd("ListOption");new bd("ListOption");new bd("MAT_LIST_CONFIG");new bd("SelectionList");new bd("MatList");new bd("MatNavList");Jh(Ih(function(){}));Ih(function(){});var IM=function(){};IM.\u0275fac=function(a){return new (a||IM)};IM.\u0275dir=Vc({type:IM,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]});var JM=function(){};JM.\u0275fac=function(a){return new (a||JM)};JM.\u0275dir=Vc({type:JM,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]});var m9b=["text"],n9b=["*",[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]]],o9b=Ih(function(){}),p9b=Ih(function(){}),q9b={provide:jw,useExisting:Jc(function(){return KM}),multi:!0},r9b=function(a,b){this.source=a;this.options=b},LM=function(a,b,c){var d=p9b.call(this)||this;d._element=a;d._changeDetector=b;d.selectionList=c;d._selected=!1;d._disabled=!1;d._hasFocus=!1;d.selectedChange=new mv;d.checkboxPosition="after";d._inputsInitialized=!1;return d};
Y(LM,p9b);g=LM.prototype;g.ngOnInit=function(){var a=this,b=this.selectionList;b._value&&b._value.some(function(d){return b.compareWith(a._value,d)})&&this._setSelected(!0);var c=this._selected;Promise.resolve().then(function(){if(a._selected||c)a.selected=!0,a._changeDetector.markForCheck()});this._inputsInitialized=!0};g.ngAfterContentInit=function(){Ypa(this._lines,this._element)};
g.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()};g.toggle=function(){this.selected=!this.selected};g.focus=function(){this._element.nativeElement.focus()};g.getLabel=function(){return this._text?this._text.nativeElement.textContent||"":""};g._isRippleDisabled=function(){return this.disabled||this.disableRipple||this.selectionList.disableRipple};
g._handleClick=function(){this.disabled||!this.selectionList.multiple&&this.selected||(this.toggle(),this.selectionList._emitChangeEvent([this]))};g._handleFocus=function(){this.selectionList._setFocusedOption(this);this._hasFocus=!0};g._handleBlur=function(){this.selectionList._onTouched();this._hasFocus=!1};g._getHostElement=function(){return this._element.nativeElement};
g._setSelected=function(a){if(a===this._selected)return!1;(this._selected=a)?this.selectionList.selectedOptions.select(this):this.selectionList.selectedOptions.deselect(this);this.selectedChange.emit(a);this._changeDetector.markForCheck();return!0};g._markForCheck=function(){this._changeDetector.markForCheck()};
Gh.Object.defineProperties(LM.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=Sg(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=Sg(a);a!==this._selected&&(this._setSelected(a),(a||this.selectionList.multiple)&&this.selectionList._reportValueChange())}}});LM.\u0275fac=function(a){return new (a||LM)(B(Hd),B(Fu),B(Jc(function(){return KM})))};
LM.\u0275cmp=r({type:LM,selectors:[["mat-list-option"]],contentQueries:function(a,b,c){a&1&&(pg(c,IM,5),pg(c,JM,5),pg(c,pz,5));if(a&2){var d;ng(d=qg())&&(b._avatar=d.first);ng(d=qg())&&(b._icon=d.first);ng(d=qg())&&(b._lines=d)}},viewQuery:function(a,b){a&1&&og(m9b,5);if(a&2){var c;ng(c=qg())&&(b._text=c.first)}},hostAttrs:["role","option",1,"mat-list-item","mat-list-option","mat-focus-indicator"],hostVars:16,hostBindings:function(a,b){a&1&&Q("focus",function(){return b._handleFocus()})("blur",function(){return b._handleBlur()})("click",
function(){return b._handleClick()});a&2&&(Af("aria-selected",b.selected)("aria-disabled",b.disabled)("tabindex",-1)("mat-id-collision",null),Jf("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:[yf],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&&(Vf(n9b),H(0,"div",
0),L(1,"div",1),F(2,uJa,1,2,"mat-pseudo-checkbox",2),H(3,"div",3,4),Wf(5),K(),Wf(6,1),K());a&2&&(Jf("mat-list-item-content-reverse","after"==b.checkboxPosition),A(1),G("matRippleTrigger",b._getHostElement())("matRippleDisabled",b._isRippleDisabled()),A(1),G("ngIf",b.selectionList.multiple))},dependencies:[sz,tz,Uv],encapsulation:2,changeDetection:0});
var KM=function(a,b,c){var d=o9b.call(this)||this;d._element=a;d._changeDetector=b;d._focusMonitor=c;d._multiple=!0;d._contentInitialized=!1;d.selectionChange=new mv;d.color="accent";d.compareWith=function(e,f){return e===f};d._disabled=!1;d.selectedOptions=new Qx(d._multiple);d._tabIndex=-1;d._onChange=function(){};d._destroyed=new E.Subject;d._onTouched=function(){};return d};Y(KM,o9b);g=KM.prototype;
g.ngAfterContentInit=function(){var a=this;this._contentInitialized=!0;this._keyManager=nQb(wx(Ax(oQb(xx(new Dx(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=l(b.added),d=c.next();!d.done;d=
c.next())d.value.selected=!0;if(b.removed)for(b=l(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)}})};g.ngOnChanges=function(a){var b=a.disableRipple;a=a.color;(b&&!b.firstChange||a&&!a.firstChange)&&this._markOptionsForCheck()};
g.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._focusMonitor.stopMonitoring(this._element);this._destroyed.next();this._destroyed.complete();this._isDestroyed=!0};g.focus=function(a){this._element.nativeElement.focus(a)};g.selectAll=function(){this._setAllOptionsSelected(!0)};g.deselectAll=function(){return this._setAllOptionsSelected(!1)};g._setFocusedOption=function(a){Bx(this._keyManager,a)};
g._removeOptionFromList=function(a){a=this._getOptionIndex(a);-1<a&&this._keyManager.activeItemIndex===a&&(0<a?Bx(this._keyManager,a-1):0===a&&1<this.options.length&&Bx(this._keyManager,Math.min(a+1,this.options.length-1)));return this._keyManager.activeItem};
g._keydown=function(a){var b=a.keyCode,c=this._keyManager,d=c.activeItemIndex,e=Mg(a);switch(b){case 32:case 13:e||0<c._pressedLetters.length||(this._toggleFocusedOption(),a.preventDefault());break;default:if(65!==b||!this.multiple||!Mg(a,"ctrlKey")||0<c._pressedLetters.length)c.onKeydown(a);else e=this.options.some(function(f){return!f.disabled&&!f.selected}),this._setAllOptionsSelected(e,!0,!0),a.preventDefault()}this.multiple&&(38===b||40===b)&&a.shiftKey&&c.activeItemIndex!==d&&this._toggleFocusedOption()};
g._reportValueChange=function(){if(this.options&&!this._isDestroyed){var a=this._getSelectedOptionValues();this._onChange(a);this._value=a}};g._emitChangeEvent=function(a){this.selectionChange.emit(new r9b(this,a))};g.writeValue=function(a){this._value=a;this.options&&this._setOptionsFromValues(a||[])};g.setDisabledState=function(a){this.disabled=a};g.registerOnChange=function(a){this._onChange=a};g.registerOnTouched=function(a){this._onTouched=a};
g._setOptionsFromValues=function(a){var b=this;this.options.forEach(function(c){return c._setSelected(!1)});a.forEach(function(c){var d=b.options.find(function(e){return e.selected?!1:b.compareWith(e.value,c)});d&&d._setSelected(!0)})};g._getSelectedOptionValues=function(){return this.options.filter(function(a){return a.selected}).map(function(a){return a.value})};
g._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])))};g._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};g._isValidIndex=function(a){return 0<=a&&a<this.options.length};
g._getOptionIndex=function(a){return this.options.toArray().indexOf(a)};g._markOptionsForCheck=function(){this.options&&this.options.forEach(function(a){return a._markForCheck()})};g._allowFocusEscape=function(){var a=this;this._tabIndex=-1;setTimeout(function(){a._tabIndex=0;a._changeDetector.markForCheck()})};g._updateTabIndex=function(){this._tabIndex=0===this.options.length?-1:0};
Gh.Object.defineProperties(KM.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=Sg(a);this._markOptionsForCheck()}},multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){a=Sg(a);a!==this._multiple&&(this._multiple=a,this.selectedOptions=new Qx(this._multiple,this.selectedOptions.selected))}}});KM.\u0275fac=function(a){return new (a||KM)(B(Hd),B(Fu),B(Yw))};
KM.\u0275cmp=r({type:KM,selectors:[["mat-selection-list"]],contentQueries:function(a,b,c){a&1&&pg(c,LM,5);if(a&2){var d;ng(d=qg())&&(b.options=d)}},hostAttrs:["role","listbox",1,"mat-selection-list","mat-list-base"],hostVars:4,hostBindings:function(a,b){a&1&&Q("keydown",function(c){return b._keydown(c)});a&2&&Af("aria-multiselectable",b.multiple)("aria-disabled",b.disabled.toString())("tabindex",b._tabIndex)("mat-id-collision",null)},inputs:{disableRipple:"disableRipple",color:"color",compareWith:"compareWith",
disabled:"disabled",multiple:"multiple"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[bg([q9b]),yf,ld],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Vf(),Wf(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 MM=function(){};MM.\u0275fac=function(a){return new (a||MM)};MM.\u0275mod=Tc({type:MM});MM.\u0275inj=Ec({imports:[qz,uz,jz,vz,hw,qz,jz,vz,DD]});var s9b=["filterInput"],NM=function(a){Z.call(this);this.dateFormatter=a;this.enumChoices=[];this.onSave=new mv;this.valueMap=new Map;this.sortedValues=[];this.filterValue=null;this.currentSelectedDate=void 0};Y(NM,Z);NM.\u0275dir=Z.\u0275dir;g=NM.prototype;g.ngOnInit=function(){this.initValues()};g.ngOnChanges=function(a){a.originalValueMap&&this.initValues()};g.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()})};
g.showMenu=function(){this.trigger.openMenu()};g.closeMenu=function(){this.trigger.closeMenu()};g.focusFilterBox=function(){var a;null==(a=this.filterElement)||a.nativeElement.focus()};var t9b=function(a){return a.filterValue&&"REPEATED_DATE"!==a.type?a.sortedValues.filter(function(b){return a.getDisplayString(b).includes(String(a.filterValue))}):a.sortedValues};
NM.prototype.addValue=function(){var a=this.filterValue;this.filterValue=null;a&&!this.valueMap.get(a)&&(this.valueMap.set(a,!0),u9b(this),this.onSave.emit({valueMap:this.valueMap,valueChanged:this.valueChanged()}))};NM.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})};
NM.prototype.initValues=function(){this.valueMap=new Map(this.originalValueMap||[]);this.enumChoices=this.enumChoices||[];for(var a=l(this.enumChoices),b=a.next();!b.done;b=a.next())b=b.value,this.valueMap.has(b)||this.valueMap.set(b,!1);u9b(this)};
var u9b=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)})},wJa=function(a){return!!a.filterValue&&"REPEATED_ENUM"!==a.type&&"REPEATED_DATE"!==a.type};NM.prototype.getDisplayString=function(a){return"REPEATED_DATE"===this.type?this.dateFormatter.formatUserCalendar(gi(a)):a};NM.prototype.getLabel=function(){return this.valueChanged()?"Changed":"Unchanged"};
NM.\u0275fac=function(a){return new (a||NM)(B(tM))};
NM.\u0275cmp=r({type:NM,selectors:[["b-bulk-repeated-field-picker"]],viewQuery:function(a,b){a&1&&(og(YB,5),og(s9b,5));if(a&2){var c;ng(c=qg())&&(b.trigger=c.first);ng(c=qg())&&(b.filterElement=c.first)}},inputs:{type:"type",originalValueMap:"originalValueMap",enumChoices:"enumChoices"},outputs:{onSave:"onSave"},features:[yf,ld],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"),T(2),K(),L(3,"b-icon",1),K(),H(4,"mat-menu",null,2),F(6,vJa,3,4,"div",3),L(7,"mat-divider"),H(8,"div",4),F(9,xJa,2,3,"input",5),K(),F(10,yJa,1,0,"mat-divider",6)(11,zJa,2,0,"div",7)(12,AJa,4,1,"div",6),K());if(a&2){var c=S(5);G("matMenuTriggerFor",c);A(2);$f(b.getLabel());A(4);G("ngForOf",t9b(b));A(3);G("ngIf","REPEATED_DATE"!==
b.type);A(1);G("ngIf",wJa(b));A(1);G("ngIf",wJa(b));A(1);G("ngIf","REPEATED_DATE"===b.type)}},dependencies:[Tv,Uv,ZB,XB,YB,CD,AD,eA,eL,Jg,ww,Dw,HM],styles:[".multi-edit-menuitem[_ngcontent-%COMP%]{padding:0 5px}.filter[_ngcontent-%COMP%]{padding:0 5px}/*# sourceMappingURL=bulk_repeated_field_picker.css.map */"]});var OM=function(){this.relayOnly=!1;this.keydown$=new E.Subject};OM.prototype.onKeydown=function(a){this.relayOnly||this.keydown$.next(a)};Gh.Object.defineProperties(OM.prototype,{tabindex:{configurable:!0,enumerable:!0,get:function(){return this.relayOnly?null:"0"}}});OM.\u0275fac=function(a){return new (a||OM)};
OM.\u0275dir=Vc({type:OM,selectors:[["","onedevKeyEventReceiver",""]],hostVars:1,hostBindings:function(a,b){a&1&&Q("keydown",function(c){return b.onKeydown(c)});a&2&&Af("tabindex",b.tabindex)},inputs:{relayOnly:"relayOnly"}});var v9b=0,PM=function(a){this.keyEventReceiver=a;this.id="onedev-popup-panel-"+v9b;this.closePanel$=new E.ReplaySubject(1);v9b++};PM.prototype.processKeydown=function(a){this.keyEventReceiver&&this.keyEventReceiver.keydown$.next(a);var b=a.code;("Escape"===b||a.altKey&&"ArrowUp"===b)&&this.closePanel$.next()};PM.\u0275fac=function(a){return new (a||PM)(B(OM,8))};
PM.\u0275cmp=r({type:PM,selectors:[["onedev-popup-panel"]],viewQuery:function(a,b){a&1&&og(kg,7);if(a&2){var c;ng(c=qg())&&(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&&(Vf(),F(0,EJa,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 QM=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 mv;this.closed=new mv;this.isOpen=!1;this.destroyed$=new E.ReplaySubject(1);this.closingActionsSubscription=E.Subscription.EMPTY};QM.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
QM.prototype.open=function(){var a=this;this.disabled||this.isOpen||(this.overlayRef=this.createOverlay(),this.templatePortal=new iy(this.popupPanel.templateRef,this.viewContainerRef),this.overlayRef.attach(this.templatePortal),this.closingActionsSubscription=w9b(this).pipe(bf(this.destroyed$)).subscribe(function(){a.close()}),this.trapFocus(),this.isOpen=!0,this.opened.emit())};
QM.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()}};
QM.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 w9b=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)};
QM.prototype.trapFocus=function(){this.overlayRef&&(this.focusTrap=this.focusTrapFactory.create(this.overlayRef.hostElement),this.focusTrap.focusInitialElement())};
QM.prototype.getPositionStrategy=function(){return Zx(ay(by(fy(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"}])};QM.prototype.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
Gh.Object.defineProperties(QM.prototype,{onedevPopupPanelTriggerFor:{configurable:!0,enumerable:!0,get:function(){return this.popupPanel},set:function(a){this.popupPanel=a}}});QM.\u0275fac=function(a){return new (a||QM)(B(oy),B(Hd),B(lg),B(ux),B(Fu))};
QM.\u0275dir=Vc({type:QM,selectors:[["","onedevPopupPanelTrigger",""]],hostAttrs:["aria-haspopup","true"],hostVars:3,hostBindings:function(a,b){a&2&&Af("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 RM=function(){};RM.\u0275fac=function(a){return new (a||RM)};RM.\u0275mod=Tc({type:RM});RM.\u0275inj=Ec({imports:[hw,ry,ny,kC,QC,px,gK]});var x9b=0,SM=function(a){this.changeDetectorRef=a;this.active=!1;this.id="b-list-option-"+x9b;x9b+=1};SM.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};SM.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};SM.\u0275fac=function(a){return new (a||SM)(B(Fu))};
SM.\u0275dir=Vc({type:SM,selectors:[["","onedevListOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(Sf("id",b.id),Jf("active",b.active))},inputs:{option:"option"},exportAs:["onedevListOption"]});var TM=function(){};TM.\u0275fac=function(a){return new (a||TM)};TM.\u0275mod=Tc({type:TM});TM.\u0275inj=Ec({});var GJa=function(){return{$implicit:void 0}},JJa=function(a){return{$implicit:a}},UM=function(a){this.includeEmptyOption=this.disabled=!1;this.valueChange=new mv;this.selected=new mv;this.destroyed$=new E.ReplaySubject(1);a&&this.handleKeydown(a.keydown$)};g=UM.prototype;g.ngOnInit=function(){};g.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};g.ngAfterViewInit=function(){this.keyManager=yx(xx(new Cx(this.viewOptions)))};g.ngOnChanges=function(a){a.value&&y9b(this)};
g.isSelected=function(a){return this.value===a};g.select=function(a){this.disabled||(this.isSelected(a)||this.valueChange.emit(a),this.selected.emit())};var y9b=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),z9b(a))}};UM.prototype.clearActiveItem=function(){this.keyManager&&this.keyManager.activeItem&&this.keyManager.setActiveItem(-1)};
UM.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),z9b(b)):"Home"===d||"End"===d?(c.preventDefault(),"Home"===d?b.keyManager._setActiveItemByIndex(0,1):qQb(b.keyManager),z9b(b)):"Enter"!==d&&"Space"!==d||!b.keyManager.activeItem||(c.preventDefault(),b.select(b.keyManager.activeItem.option))}})};
var z9b=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"})}};UM.\u0275fac=function(a){return new (a||UM)(B(OM,8))};
UM.\u0275cmp=r({type:UM,selectors:[["onedev-selectable-list"]],viewQuery:function(a,b){a&1&&og(SM,5);if(a&2){var c;ng(c=qg())&&(b.viewOptions=c)}},hostAttrs:["role","listbox"],hostVars:3,hostBindings:function(a,b){a&1&&Q("focus",function(){return y9b(b)})("blur",function(){return b.clearActiveItem()});a&2&&(a=b.keyManager&&b.keyManager.activeItem?b.keyManager.activeItem.id:void 0,Af("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:[ld],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&&F(0,HJa,2,5,"div",0)(1,LJa,2,1,"ng-container",1)(2,RJa,3,2,"ng-template",null,2,tg);a&2&&(G("ngIf",b.includeEmptyOption),A(1),G("ngForOf",b.options))},dependencies:[Tv,Uv,Zv,SM],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 VM=function(){};var A9b=["trigger"],TJa=function(a){return{$implicit:a}},B9b=0,WM=function(a){this.includeEmptyOption=this.disabled=!1;this.label="";this.valueChange=new mv;this.displayArrowIcon=!0;this.focused=this.required=this.openPopupOnInit=!1;this.contentId="onedev-single-select-"+B9b;this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=!0;B9b++};Y(WM,VM);g=WM.prototype;g.ngOnInit=function(){};
g.ngAfterViewInit=function(){this.openPopupOnInit&&(this.popupTrigger.open(),this.focused=!0)};g.writeValue=function(a){this.val=a};g.onSelectionChange=function(a){a!==this.val&&(this.onChange(a),this.value=a,this.valueChange.emit(a))};g.isActive=function(){return this.popupTrigger.isOpen||this.focused};g.contentAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.contentId};g.registerOnChange=function(a){this.onChange=a};
g.registerOnTouched=function(a){this.onTouched=a};var C9b=function(a){var b="";a.label&&(b+=a.label+", ");a.required&&(b+="required, ");return b};WM.prototype.setDisabledState=function(a){this.disabled=a};Gh.Object.defineProperties(WM.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});WM.\u0275fac=function(a){return new (a||WM)(Bd("required"))};
WM.\u0275cmp=r({type:WM,selectors:[["onedev-single-select"]],viewQuery:function(a,b){a&1&&og(A9b,7);if(a&2){var c;ng(c=qg())&&(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:[bg([{provide:jw,useExisting:Jc(function(){return WM}),
multi:!0},{provide:VM,useExisting:Jc(function(){return WM}),multi:!0}]),yf],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=v();H(0,"button",0,1);Q("focus",function(){return b.focused=!0})("blur",function(){return b.focused=!1})("click",
function(){x(c);var f=S(1);return z(f.open())})("closed",function(){b.onTouched()});H(2,"span",2);T(3);K();F(4,UJa,2,4,"ng-container",3)(5,XJa,1,2,"ng-template",null,4,tg)(7,$Ja,3,2,"ng-template",null,5,tg)(9,aKa,2,0,"svg",6);K();H(10,"onedev-popup-panel",7,8)(12,"onedev-selectable-list",9);Q("valueChange",function(f){return b.onSelectionChange(f)})("selected",function(){x(c);var f=S(1);return z(f.close())});K()()}if(a&2){var d=S(6),e=S(11);Jf("active",b.isActive());G("onedevPopupPanelTriggerDisabled",
b.disabled)("disabled",b.disabled)("onedevPopupPanelTriggerFor",e);Af("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy());A(3);$f(C9b(b));A(1);G("ngIf",b.valueTemplate)("ngIfElse",d);A(5);G("ngIf",b.displayArrowIcon);A(1);G("relayOnly",!0);A(2);G("value",b.value)("includeEmptyOption",b.includeEmptyOption)("options",b.options)("optionTemplate",b.optionTemplate)("label",b.label)}},dependencies:[Uv,Zv,OM,UM,PM,QM],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 hKa=function(){return[]},XM=function(a,b){this.data=a;this.dialogRef=b;this.customFields=[];this.originalCustomFields=new Map;this.repeatedCustomFieldsMap=new Map;this.issues=[];this.bulkEditOps=[];this.issues=a};g=XM.prototype;
g.ngOnInit=function(){for(var a=new Map,b=null,c=l(this.issues),d=c.next();!d.done;d=c.next()){var e=d.value;d=e.customFieldMap;e=e.customFieldValueMap;if(!b){b=new Map;for(var f=l(Object.keys(d)),h=f.next();!h.done;h=f.next())h=h.value,b.set(fi(h),e[h]||void 0)}f=l(b);for(h=f.next();!h.done;h=f.next()){var k=l(h.value);h=k.next().value;k=k.next().value;var q=d[h],t=e[h],w=void 0,y=null==(w=q)?void 0:w.type;if(q)if("REPEATED_DATE"===y||"REPEATED_ENUM"===y||"REPEATED_NUMERIC"===y||"REPEATED_TEXT"===
y){k=this.repeatedCustomFieldsMap.get(h)||new Map;q=0===k.size;t=D9b(t);w=Array.from(k.keys()).concat(t);w=l(w);for(y=w.next();!y.done;y=w.next())y=y.value,t.includes(y)?k.has(y)||k.set(y,q||null):k.set(y,null);this.repeatedCustomFieldsMap.set(h,k)}else(!t&&void 0!==k||t&&!$h(t,k))&&b.set(h,null);else b.delete(h)}d=l(Object.entries(d));for(e=d.next();!e.done;e=d.next())f=l(e.value),e=f.next().value,f=f.next().value,a.set(Number(e),ai(f))}this.customFields=Array.from(b.keys()).map(function(C){return a.get(C)}).filter(function(C){return C});
this.customFields=this.customFields.map(function(C){var J=b.get(C.customFieldId);C.hasMultipleValues=null===J;J?C=Object.assign(J,C):C.hasMultipleValues||"ENUM"!==C.type||(C.enumValue="");return C});c=l(this.customFields);for(d=c.next();!d.done;d=c.next())d=d.value,this.originalCustomFields.set(d.customFieldId,ai(d))};
g.clearCustomFieldValue=function(a){a.hasMultipleValues=!1;switch(a.type){case "TEXT":a.textValue="";break;case "DATE":a.dateValue=null;break;case "ENUM":a.enumValue="";break;case "NUMERIC":a.numericValue=null}};g.getCustomFieldName=function(a){return a.name};g.isCustomFieldRequired=function(a){return a.required};g.getCustomFieldAllowedValues=function(a){return a.allowedValue};g.getCustomFieldType=function(a){return a.type};
var Ao=function(a){return"bv2-custom-field-"+a.customFieldId+"-label"},D9b=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()}):[]},fKa=function(a){return a?wo(a):null},jKa=function(a,b,c){for(var d=l(a.bulkEditOps),e=d.next();!e.done;e=d.next())e=e.value,e.actions=e.actions.filter(function(w){return w.customFieldValue.customFieldId!==
b});a.bulkEditOps=a.bulkEditOps.filter(function(w){return w.actions.length});if(c.valueChanged){d=l(a.issues);var f=d.next();for(e={};!f.done;e={issueValues$jscomp$1:e.issueValues$jscomp$1,action$jscomp$42:e.action$jscomp$42},f=d.next()){f=f.value;var h=Ada(f.customFieldValueMap,function(w){return w.customFieldId===b});e.issueValues$jscomp$1=D9b(h);c.valueMap.forEach(function(w){return function(y,C){y&&!w.issueValues$jscomp$1.includes(C)?w.issueValues$jscomp$1.push(C):!1===y&&(w.issueValues$jscomp$1=
w.issueValues$jscomp$1.filter(function(J){return J!==C}))}}(e));h=a.originalCustomFields.get(b).type;var k=[],q=[];"REPEATED_DATE"==h?k=e.issueValues$jscomp$1.map(function(w){return xo(gi(w))}):"REPEATED_NUMERIC"==h&&(q=e.issueValues$jscomp$1.map(function(w){return Number(w)}));var t={customFieldId:b};switch(h){case "REPEATED_TEXT":t.repeatedTextValue={values:e.issueValues$jscomp$1};break;case "REPEATED_DATE":t.repeatedDateValue={values:k};break;case "REPEATED_ENUM":t.repeatedEnumValue={values:e.issueValues$jscomp$1};
break;case "REPEATED_NUMERIC":t.repeatedNumericValue={values:q}}e.action$jscomp$42={fieldName:"customField",customFieldValue:t,actionType:zo(t)?"REMOVE":"ADD"};h=a.bulkEditOps.findIndex(function(w){return function(y){return y.actions.some(function(C){return $h(w.action$jscomp$42,C)})}}(e));-1!==h?a.bulkEditOps[h].issueIds.push(f.issueId):a.bulkEditOps.push({actions:[e.action$jscomp$42],issueIds:[f.issueId]})}}},E9b=function(a){var b=a.customFields.filter(function(k){return!k.type.includes("REPEATED")&&
!$h(k,a.originalCustomFields.get(k.customFieldId))}),c=[];b=l(b);for(var d=b.next();!d.done;d=b.next()){var e=d.value;d={customFieldId:e.customFieldId};switch(e.type){case "TEXT":d.textValue=e.textValue;break;case "DATE":d.dateValue=e.dateValue||void 0;break;case "ENUM":d.enumValue=e.enumValue;break;case "NUMERIC":var f=void 0;d.numericValue=null!=(f=e.numericValue)?f:void 0}if(e=zo(d))d.textValue="";c.push({fieldName:"customField",customFieldValue:d,actionType:e?"REMOVE":"ADD"})}if(c.length){var h=
a.issues.map(function(k){return k.issueId});b=a.bulkEditOps.findIndex(function(k){a:if(k=k.issueIds,za(h)&&za(k)&&h.length==k.length){for(var q=h.length,t=0;t<q;t++)if(h[t]!==k[t]){k=!1;break a}k=!0}else k=!1;return k});-1!==b?a.bulkEditOps[b].actions=a.bulkEditOps[b].actions.concat(c):a.bulkEditOps.push({actions:c,issueIds:h})}};XM.\u0275fac=function(a){return new (a||XM)(B(uA),B(sA))};
XM.\u0275cmp=r({type:XM,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),T(1,"Update custom fields"),K(),H(2,"mat-dialog-content"),F(3,bKa,2,0,"div",1)(4,nKa,8,6,"div",2),K(),H(5,"mat-dialog-actions")(6,"button",3),Q("class",function(){return b.dialogRef.close()}),T(7,"Cancel"),K(),H(8,"button",4),Q("click",
function(){E9b(b);b.bulkEditOps.length?b.dialogRef.close(b.bulkEditOps):b.dialogRef.close()}),T(9," Save "),K()());a&2&&(A(3),G("ngIf",0===b.customFields.length),A(1),G("ngForOf",b.customFields))},dependencies:[Tv,Uv,Vv,Wv,Xv,wA,xA,yA,zA,WM,NM,Jg,Fw,ww,Dw,HM,eA,dC],encapsulation:2});var YM=function(){};YM.\u0275fac=function(a){return new (a||YM)};YM.\u0275mod=Tc({type:YM});YM.\u0275inj=Ec({imports:[zD]});var F9b=/^[ \t\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]/,G9b=/^[\s\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]+/,H9b=function(a){this.patternParts_=[];this.dateTimeSymbols_=Zz;"number"==typeof a?this.applyStandardPattern_(a):this.applyPattern_(a)};
H9b.prototype.applyPattern_=function(a){for(var b=!1,c="",d=0;d<a.length;d++){var e=a.charAt(d);if(F9b.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 f=a.charAt(d),h=d+1;h<a.length&&a.charAt(h)==f;)h++;f=h-d;0>=f?h=!1:(h="MydhHmsSDkK".indexOf(e),h=0<h||0==h&&3>f);this.patternParts_.push({text:e,count:f,abutStart:!1,numeric:h});d+=f-1}else"'"==e?d+1<a.length&&"'"==a.charAt(d+1)?(c+="'",d++):b=!0:c+=e}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};H9b.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)};
H9b.prototype.parse=function(a,b,c){var d=!1,e=!1;c&&(d=c.predictive||!1,e=c.validate||!1);if(d)for(c=0;c<this.patternParts_.length;c++){var f=this.patternParts_[c];if(0<f.count&&(0>"abBhHkKm".indexOf(f.text.charAt(0))||2<f.count||f.abutStart))throw Error("od`"+f.text.charAt(0));}f=new I9b;c=[0];f.dayPeriodIndex=-1;for(var h=0;h<this.patternParts_.length&&!(d&&c[0]>=a.length);h++){if(0==this.patternParts_[h].count){a:{var k=a;var q=this.patternParts_[h],t=d;if(null!=q.text.match(F9b)){if(q=c[0],J9b(k,
c),c[0]>q){k=!0;break a}}else{if(k.indexOf(q.text,c[0])==c[0]){c[0]+=q.text.length;k=!0;break a}if(t&&0==q.text.indexOf(k.substring(c[0]))){c[0]+=k.length-c[0];k=!0;break a}}k=!1}if(k)continue;return 0}if(this.patternParts_[h].abutStart){a:{q=a;t=h;var w=c[0],y=0;for(k=t;k<this.patternParts_.length;k++){var C=this.patternParts_[k],J=C.count;if(0===J)break;if(k==t&&(J-=y,y++,0==J)){k=0;break a}var I=k>t&&C.numeric,P=c[0];if(!K9b(this,q,c,C,J,f,!1)||I&&c[0]-P<J)k=t-1,c[0]=w}k-=t}if(0>=k)return 0;h+=
k-1}else if(!K9b(this,a,c,this.patternParts_[h],0,f,d))return 0}a:{a=e;if(null==b)throw Error("pd");void 0!=f.era&&void 0!=f.year&&0==f.era&&0<f.year&&(f.year=-(f.year-1));void 0!=f.year&&b.setFullYear(f.year);d=b.getDate();b.setDate(1);void 0!=f.month&&b.setMonth(f.month);void 0!=f.day?b.setDate(f.day):(e=GTb(b.getFullYear(),b.getMonth()),b.setDate(d>e?e:d));"function"===typeof b.setHours&&(void 0==f.hours&&(f.hours=b.getHours()),12>f.hours&&(void 0!=f.ampm&&0<f.ampm?f.hours+=12:void 0!==f.dayPeriodName&&
("isPm noon afternoon1 afternoon2 evening1 evening2".split(" ").includes(f.dayPeriodName)||["night1","night2"].includes(f.dayPeriodName)&&6<=f.hours)&&(f.hours+=12)),b.setHours(f.hours));"function"===typeof b.setMinutes&&void 0!=f.minutes&&b.setMinutes(f.minutes);"function"===typeof b.setSeconds&&void 0!=f.seconds&&b.setSeconds(f.seconds);"function"===typeof b.setMilliseconds&&void 0!=f.milliseconds&&b.setMilliseconds(f.milliseconds);if(a&&(f.year&&f.year!=b.getFullYear()||f.month&&f.month!=b.getMonth()||
f.day&&f.day!=b.getDate()||f.hours&&24<=f.hours||f.minutes&&60<=f.minutes||f.seconds&&60<=f.seconds||f.milliseconds&&1E3<=f.milliseconds))b=!1;else{void 0!=f.tzOffset&&b.setTime(b.getTime()+6E4*(f.tzOffset-b.getTimezoneOffset()));f.ambiguousYear&&(a=new Date,a.setFullYear(a.getFullYear()-80),b.getTime()<a.getTime()&&b.setFullYear(a.getFullYear()+100));if(void 0!=f.dayOfWeek)if(void 0==f.day)f=(7+f.dayOfWeek-b.getDay())%7,3<f&&(f-=7),a=b.getMonth(),b.setDate(b.getDate()+f),b.getMonth()!=a&&b.setDate(b.getDate()+
(0<f?-7:7));else if(f.dayOfWeek!=b.getDay()){b=!1;break a}b=!0}}return b?c[0]:0};
var K9b=function(a,b,c,d,e,f,h){J9b(b,c);if(d.numeric&&0<e&&c[0]+e>b.length)return!1;switch(d.text.charAt(0)){case "G":return ZM(b,c,[a.dateTimeSymbols_.ERAS],function(k){return f.era=k}),!0;case "M":case "L":return L9b(a,b,c,e,d,f);case "E":return ZM(b,c,[a.dateTimeSymbols_.WEEKDAYS,a.dateTimeSymbols_.SHORTWEEKDAYS],function(k){return f.dayOfWeek=k});case "B":case "b":return e=[],a=[[].concat(a.dateTimeSymbols_.AMPMS)],e.push("isAm"),e.push("isPm"),b=ZM(b,c,a,function(k){return f.dayPeriodIndex=
k},h),f.dayPeriodName=e[f.dayPeriodIndex],h?b:!0;case "a":return b=ZM(b,c,[a.dateTimeSymbols_.AMPMS],function(k){return f.ampm=k},h),h?b:!0;case "y":return M9b(a,b,c,d,e,f);case "Q":return ZM(b,c,[a.dateTimeSymbols_.QUARTERS,a.dateTimeSymbols_.SHORTQUARTERS],function(k){f.month=3*k;f.day=1});case "d":return $M(a,b,c,d,e,function(k){f.day=k}),!0;case "S":return N9b(a,b,c,e,f);case "h":case "K":case "H":case "k":return b=$M(a,b,c,d,e,function(k){f.hours="h"===d.text.charAt(0)&&12===k?0:k},h),h?b:!0;
case "m":return b=$M(a,b,c,d,e,function(k){f.minutes=k},h),h?b:!0;case "s":return $M(a,b,c,d,e,function(k){f.seconds=k}),!0;case "z":case "Z":case "v":return O9b(a,b,c,f);default:return!1}},M9b=function(a,b,c,d,e,f){var h=c[0];e=aN(a,b,c,e);null===e&&(e=aN(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,f.ambiguousYear=a==c,a+=100*Math.floor(b/100)+(a<c?100:0),f.year=a):f.year=e;return!0},L9b=function(a,b,c,d,e,f){return e.numeric&&$M(a,b,c,
e,d,function(h){f.month=h-1})?!0:ZM(b,c,[a.dateTimeSymbols_.MONTHS,a.dateTimeSymbols_.STANDALONEMONTHS,a.dateTimeSymbols_.SHORTMONTHS,a.dateTimeSymbols_.STANDALONESHORTMONTHS],function(h){f.month=h})},N9b=function(a,b,c,d,e){var f=c[0];a=aN(a,b,c,d);if(null===a)return!1;c=c[0]-f;e.milliseconds=3>c?a*Math.pow(10,3-c):Math.round(a/Math.pow(10,c-3));return!0},O9b=function(a,b,c,d){b.indexOf("GMT",c[0])==c[0]&&(c[0]+=3);if(c[0]>=b.length)return d.tzOffset=0,!0;var e=c[0],f=aN(a,b,c,0,!0);if(null===f)return!1;
if(c[0]<b.length&&":"==b.charAt(c[0])){var h=60*f;c[0]++;f=aN(a,b,c,0);if(null===f)return!1;h+=f}else h=f,h=24>h&&3>=c[0]-e?60*h:h%100+h/100*60;d.tzOffset=-h;return!0},$M=function(a,b,c,d,e,f,h){h=h||!1;var k=c[0];a=aN(a,b,c,e);if(null===a)return!1;if(h&&c[0]-k<d.count){if(c[0]<b.length)return!1;a*=Math.pow(10,d.count-(c[0]-k))}f(a);return!0},ZM=function(a,b,c,d,e){e=e||!1;for(var f,h=0;h<c.length;h++){f=b;for(var k=c[h],q=e,t=0,w=null,y=a.substring(f[0]).toLowerCase(),C=0;C<k.length;C++){var J=k[C].toLowerCase();
if(q&&0==J.indexOf(y)){t=y.length;w=C;break}k[C].length>t&&0==y.indexOf(J)&&(t=k[C].length,w=C)}null!==w&&(f[0]+=t);f=w;if(null!==f)return d(f),!0}return!1},J9b=function(a,b){(a=a.substring(b[0]).match(G9b))&&(b[0]+=a[0].length)},aN=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 f=c[0];f<b.length;f++){var h=b.charCodeAt(f)-a.dateTimeSymbols_.ZERODIGIT;d.push(0<=h&&9>=h?String.fromCharCode(h+48):b.charAt(f))}b=d.join("")}else b=b.substring(c[0]);
a=b.match(new RegExp("^"+(e?"[+-]?":"")+"\\d+"));if(!a)return null;c[0]+=a[0].length;return parseInt(a[0],10)},I9b=function(){};I9b.prototype.ambiguousYear=!1;var pTb=Array(31).fill(0).map(function(a,b){return""+(b+1)}),bN=function(){var a=kz.apply(this,arguments)||this;a.locale=Zz;return a};Y(bN,kz);bN.prototype.setLocale=function(){throw Error("qd");};bN.prototype.getYear=function(a){return a.getYear()};bN.prototype.getMonth=function(a){return a.getMonth()};bN.prototype.getDate=function(a){return a.getDate()};var oTb=function(a,b){switch(b){case "long":return a.locale.WEEKDAYS;case "narrow":return a.locale.NARROWWEEKDAYS;default:return a.locale.SHORTWEEKDAYS}};
bN.prototype.getFirstDayOfWeek=function(){return(this.locale.FIRSTDAYOFWEEK+1)%7};bN.prototype.clone=function(a){return a.clone()};var Kz=function(a,b,c){return new Cn(a,b,c)};bN.prototype.parse=function(a,b){if(""===a)return null;b=new H9b(a.match(/\d{3,}/)?b:b.replace("yyyy","yy"));var c=new Cn(new Date(a));b.parse(a,c);return c};bN.prototype.format=function(a,b){if(!this.isValid(a))throw Error("rd");return(new aA(b)).format(a)};
var Iz=function(a,b){a=a.clone();a.add(new $z(b));return a},Jz=function(a,b){a=a.clone();a.add(new $z(0,b));return a},Hz=function(a,b){a=a.clone();a.add(new $z(0,0,b));return a};bN.prototype.isValid=function(a){return!isNaN(a.getTime())};bN.prototype.invalid=function(){return new Cn(NaN)};bN.prototype.sameDate=function(a,b){return a&&b?(new ei(a)).equals(b):!1};bN.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(bN)))(b||bN)}}();bN.\u0275prov=Dc({token:bN,factory:bN.\u0275fac});var P9b={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"},cN=P9b;cN=P9b;var dN=Zz.DATEFORMATS[3];dN=dN.replace(/yyyy/,"yy").replace(/yy/,"yyyy");"M/d/yyyy"===dN&&(dN="MM/dd/yyyy");var Q9b={parse:{dateInput:dN},display:{dateInput:dN,monthYearLabel:cN.YEAR_MONTH_ABBR,dateA11yLabel:cN.MONTH_DAY_YEAR_MEDIUM,monthYearA11yLabel:cN.YEAR_MONTH_FULL}};var eN=function(){};eN.\u0275fac=function(a){return new (a||eN)};eN.\u0275mod=Tc({type:eN});eN.\u0275inj=Ec({providers:[{provide:kz,useClass:bN},{provide:nz,useValue:Q9b}],imports:[zD,kC,Yz,DD,px]});var fN=function(){};fN.\u0275fac=function(a){return new (a||fN)};fN.\u0275mod=Tc({type:fN});fN.\u0275inj=Ec({imports:[eN,YM,kC,zD]});var gN=function(){};gN.\u0275fac=function(a){return new (a||gN)};gN.\u0275mod=Tc({type:gN});gN.\u0275inj=Ec({imports:[zD,$B,DD,MM,HD,kC,KA,hL,Tw,fN]});var hN=function(){};hN.\u0275fac=function(a){return new (a||hN)};hN.\u0275mod=Tc({type:hN});hN.\u0275inj=Ec({imports:[hw]});var iN=function(){};iN.\u0275fac=function(a){return new (a||iN)};iN.\u0275mod=Tc({type:iN});iN.\u0275inj=Ec({imports:[hw,kC,TM]});var jN=function(){};jN.\u0275fac=function(a){return new (a||jN)};jN.\u0275mod=Tc({type:jN});jN.\u0275inj=Ec({imports:[hw,NA,kC,Tw,hN,iN,RM]});var kN=function(){};kN.\u0275fac=function(a){return new (a||kN)};kN.\u0275mod=Tc({type:kN});kN.\u0275inj=Ec({imports:[zD,AA,jN,gN,Tw,fN,kC,QC]});var lN=function(a){var b=this;this.elementRef=a;this.eventType="click";this.clickOutside=new mv;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))}};lN.prototype.ngOnInit=function(){document.addEventListener(this.eventType,this.clickHandler,!0)};
lN.prototype.ngOnDestroy=function(){document.removeEventListener(this.eventType,this.clickHandler,!0)};lN.\u0275fac=function(a){return new (a||lN)(B(Hd))};lN.\u0275dir=Vc({type:lN,selectors:[["","clickOutside",""]],inputs:{eventType:["clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"}});var mN=function(){};mN.\u0275fac=function(a){return new (a||mN)};mN.\u0275mod=Tc({type:mN});mN.\u0275inj=Ec({});var nN=function(a){this.codefont$=a.codeFont$};nN.\u0275fac=function(a){return new (a||nN)(p(LE))};nN.\u0275prov=Dc({token:nN,factory:nN.\u0275fac,providedIn:"root"});var R9b=function(a){return["chip","gmat-caption",a]},oN=function(){this.variant="grey";this.isTall=!1};oN.\u0275fac=function(a){return new (a||oN)};
oN.\u0275cmp=r({type:oN,selectors:[["onedev-chip"]],hostVars:2,hostBindings:function(a,b){a&2&&Jf("tall",b.isTall)},inputs:{variant:"variant",isTall:"isTall"},ngContentSelectors:["*"],decls:3,vars:3,consts:[[3,"ngClass"],[1,"centering"]],template:function(a,b){a&1&&(Vf(),H(0,"div",0)(1,"div",1),Wf(2),K()());a&2&&G("ngClass",fg(1,R9b,b.variant))},dependencies:[Sv],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 pN=function(a){this.chip=a};pN.\u0275fac=function(a){return new (a||pN)(B(oN))};pN.\u0275dir=Vc({type:pN,selectors:[["","onedevChipIcon",""]],hostVars:10,hostBindings:function(a,b){a&2&&If("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 qN=function(){};qN.\u0275fac=function(a){return new (a||qN)};qN.\u0275mod=Tc({type:qN});qN.\u0275inj=Ec({imports:[hw]});var rN=function(){};rN.\u0275fac=function(a){return new (a||rN)};rN.\u0275cmp=r({type:rN,selectors:[["","onedevDot",""]],hostVars:1,hostBindings:function(a){a&2&&Af("aria-hidden",!0)},attrs:["onedevDot",""],decls:1,vars:0,template:function(a){a&1&&T(0,"\u00a0\u00b7\u00a0")},encapsulation:2});var sN=function(){};sN.\u0275fac=function(a){return new (a||sN)};sN.\u0275mod=Tc({type:sN});sN.\u0275inj=Ec({});var S9b=[[["","onedev-additional-content",""]],[["onedev-hovercard-action"]]],T9b=function(a){return{"with-avatar":a}},tN=function(){};tN.prototype.ngOnInit=function(){};tN.\u0275fac=function(a){return new (a||tN)};
tN.\u0275cmp=r({type:tN,selectors:[["onedev-person-hovercard-body"]],inputs:{person:"person",outOfOfficeDescription:"outOfOfficeDescription"},standalone:!0,features:[dg],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&&(Vf(S9b),H(0,"div",0)(1,"div",1)(2,"div",2),F(3,oKa,1,2,"img",3),H(4,"div",4),T(5),K(),F(6,pKa,2,1,"div",5),K(),F(7,qKa,4,1,"div",6),H(8,"div",7),F(9,uKa,7,3,"ng-container",8)(10,vKa,4,1,"ng-container",8)(11,wKa,19,4,"ng-container",8),Wf(12),K()(),Wf(13,1),K());a&2&&(A(2),G("ngClass",fg(8,T9b,b.person.imageUrl)),A(1),G("ngIf",b.person.imageUrl),A(2),V(" ",b.person.name||b.person.email," "),A(1),G("ngIf",b.person.name),A(1),G("ngIf",b.outOfOfficeDescription),
A(2),G("ngIf",b.person.title||b.person.department),A(1),G("ngIf",b.person.location),A(1),G("ngIf",b.person.ldap))},dependencies:[qN,oN,pN,hw,Sv,Uv,sN,rN,NA,MA],styles:[".onedev-hovercard-content{--onedev-card-background:var(--surface-default,#fff);--onedev-card-title-text:var(--text-default,#202124);--onedev-card-icon:var(--icon,#5f6368);--onedev-card-secondary-text:var(--text-secondary,#5f6368);--onedev-card-link-color:var(--primary-default,#1a73e8)}.onedev-hovercard-content{background-color:var(--onedev-card-background);width:356px}.onedev-hovercard-content .onedev-hovercard-body{padding:20px}.onedev-hovercard-content .onedev-hovercard-body a{color:var(--onedev-card-link-color)}.onedev-hovercard-content .onedev-hovercard-body .contact-info.with-avatar{display:grid;grid-template-columns:48px auto;-webkit-column-gap:20px;-moz-column-gap:20px;column-gap:20px}.onedev-hovercard-content .onedev-hovercard-body .contact-info.with-avatar .avatar{grid-row:1/span 2}.onedev-hovercard-content .onedev-hovercard-body .contact-info .name{grid-row:1;grid-column:2;line-clamp:2;overflow:hidden;text-overflow:ellipsis}.onedev-hovercard-content .onedev-hovercard-body .contact-info .email{grid-row:2;grid-column:2}.onedev-hovercard-content .onedev-hovercard-body .title{color:var(--onedev-card-title-text);margin:0 0 12px;max-height:48px;overflow:hidden}.onedev-hovercard-content .onedev-hovercard-body .chips{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-top:12px}.onedev-hovercard-content .onedev-hovercard-body mat-icon{color:var(--onedev-card-icon);font-size:18px;height:18px;width:18px}.onedev-hovercard-content .onedev-hovercard-body .content{display:grid;grid-template-columns:18px auto;grid-gap:12px 20px;margin:0;margin-top:12px}.onedev-hovercard-content .onedev-hovercard-body .content .detail{margin-top:2px}.onedev-hovercard-content .onedev-hovercard-body .content:empty{margin-top:0}.onedev-hovercard-content .onedev-hovercard-body .subcontent:not(:last-child){margin-bottom:8px}.onedev-hovercard-content .onedev-hovercard-body .label{color:var(--onedev-card-secondary-text);padding:0 8px 0 0}.onedev-hovercard-content .onedev-hovercard-body .dot-separated-list{display:inline;list-style-type:none;margin:0;padding:0}.onedev-hovercard-content .onedev-hovercard-body .dot-separated-list li{display:inline}.onedev-hovercard-content .avatar{border-radius:50%;object-fit:cover;height:48px;width:48px}"],
encapsulation:2,changeDetection:0});var U9b=function(){};var Co=function(){this.Serializable$values={}},Bo=function(a,b){return a.Serializable$values.hasOwnProperty(b)?a.Serializable$values[b]:null},uN=function(a,b){return null!=a.Serializable$values[b]};var V9b=function(){};var W9b=function(a,b){this.requestService=a;this.hookFactory=void 0===b?null:b};Y(W9b,V9b);
var X9b=function(a,b,c){var d=xKa(a.hookFactory,b);return null==d?c:E.EMPTY.pipe(cf({complete:function(){d.onBeforeSend()}}),rja(c.pipe(cf(function(e){d.onSuccess(e)},function(e){d.onError(e)}))))},Y9b=function(a,b){var c=b.responseCtor||void 0,d=a.requestService,e=d.send,f=b.body instanceof Co?EKa(b.body,BKa,CKa,DKa):b.body;return X9b(a,b,e.call(d,{path:b.path,httpMethod:b.httpMethod,methodId:b.methodId,body:f,queryParams:b.queryParams,streamingType:b.streamingType&&b.streamingType},c))};var Z9b=function(){};Z9b.prototype.send=function(a,b){yKa(a);return this.makeRequest(a).pipe(D(function(c){return b?IKa(b,c):c}))};var $9b=new bd("API_VERSION"),a$b=new bd("REQUEST_SERVICE"),vN=function(){};vN.\u0275fac=function(a){return new (a||vN)};vN.\u0275mod=Tc({type:vN});vN.\u0275inj=Ec({});
var b$b={$Xgafv:"$.xgafv",access_token:"access_token",affinityType:"affinityType",alt:"alt",authDelegationContextContactsEncryptedOwnerId:"authDelegationContext.contacts.encryptedOwnerId",authDelegationContextDelegationType:"authDelegationContext.delegationType",authDelegationContextMadisonMadisonGaiaId:"authDelegationContext.madison.madisonGaiaId",authDelegationContextObfuscatedOwnerId:"authDelegationContext.obfuscatedOwnerId",authDelegationContextUnicornObfuscatedOwnerId:"authDelegationContext.unicorn.obfuscatedOwnerId",
blockDirection:"blockDirection",callback:"callback",client:"client",clientId:"client.id",clientVersionClientAgent:"clientVersion.clientAgent",clientVersionClientType:"clientVersion.clientType",clientVersionClientVersion:"clientVersion.clientVersion",clientVersionGmsCoreContextAppManagementContext:"clientVersion.gmsCoreContext.appManagementContext",clientVersionGmsCoreContextIsFirstParty:"clientVersion.gmsCoreContext.isFirstParty",clientVersionGmsCoreContextPackageName:"clientVersion.gmsCoreContext.packageName",
clientVersionGmsCoreContextPackageSignature:"clientVersion.gmsCoreContext.packageSignature",consentOptionsStrategy:"consentOptions.strategy",consistencyOptionsConsistentReadOverrideType:"consistencyOptions.consistentReadOverrideType",consistencyOptionsLevel:"consistencyOptions.level",consistencyOptionsLevelOptionsBoundedConsistencyMaxAllowedStaleness:"consistencyOptions.levelOptions.boundedConsistency.maxAllowedStaleness",consistencyOptionsLevelOptionsExactTimestamp:"consistencyOptions.levelOptions.exactTimestamp",
consistencyOptionsLevelOptionsStaleConsistencyConsistencyRequirement:"consistencyOptions.levelOptions.staleConsistency.consistencyRequirement",contactId:"contactId",contactListType:"contactListType",contactLookupOptionsEmailLookupType:"contactLookupOptions.emailLookupType",container:"container",containerId:"containerId",containerIds:"containerIds",contextAllowedRequesterState:"context.allowedRequesterState",contextAuthDelegationContextContactsEncryptedOwnerId:"context.authDelegationContext.contacts.encryptedOwnerId",
contextAuthDelegationContextDelegationType:"context.authDelegationContext.delegationType",contextAuthDelegationContextMadisonMadisonGaiaId:"context.authDelegationContext.madison.madisonGaiaId",contextAuthDelegationContextObfuscatedOwnerId:"context.authDelegationContext.obfuscatedOwnerId",contextAuthDelegationContextUnicornObfuscatedOwnerId:"context.authDelegationContext.unicorn.obfuscatedOwnerId",contextClientType:"context.clientType",contextClientVersionClientAgent:"context.clientVersion.clientAgent",
contextClientVersionClientType:"context.clientVersion.clientType",contextClientVersionClientVersion:"context.clientVersion.clientVersion",contextClientVersionGmsCoreContextAppManagementContext:"context.clientVersion.gmsCoreContext.appManagementContext",contextClientVersionGmsCoreContextIsFirstParty:"context.clientVersion.gmsCoreContext.isFirstParty",contextClientVersionGmsCoreContextPackageName:"context.clientVersion.gmsCoreContext.packageName",contextClientVersionGmsCoreContextPackageSignature:"context.clientVersion.gmsCoreContext.packageSignature",
contextConsistencyContextBase64EncodedZookie:"context.consistencyContext.base64EncodedZookie",contextConsistencyContextDirectoryVersionToken:"context.consistencyContext.directoryVersionToken",contextConsistencyContextFbsRequireAllImportantWritesUpToTime:"context.consistencyContext.fbsRequireAllImportantWritesUpToTime",contextConsistencyContextFbsVersionInfo:"context.consistencyContext.fbsVersionInfo",contextConsistencyOptionsConsistentReadOverrideType:"context.consistencyOptions.consistentReadOverrideType",
contextConsistencyOptionsLevel:"context.consistencyOptions.level",contextConsistencyOptionsLevelOptionsBoundedConsistencyMaxAllowedStaleness:"context.consistencyOptions.levelOptions.boundedConsistency.maxAllowedStaleness",contextConsistencyOptionsLevelOptionsExactTimestamp:"context.consistencyOptions.levelOptions.exactTimestamp",contextConsistencyOptionsLevelOptionsStaleConsistencyConsistencyRequirement:"context.consistencyOptions.levelOptions.staleConsistency.consistencyRequirement",contextMigrationOptionsUseClusterBased:"context.migrationOptions.useClusterBased",
contextMigrationOptionsUseLegacyRequestMaskBehavior:"context.migrationOptions.useLegacyRequestMaskBehavior",contextMigrationOptionsUseNewRequestMaskBehavior:"context.migrationOptions.useNewRequestMaskBehavior",contextRequestGroupLoggingId:"context.requestGroupLoggingId",contextRightOfPublicityContext:"context.rightOfPublicityContext",coreIdParamsCheckIdentityAcl:"coreIdParams.checkIdentityAcl",coreIdParamsEnablePrivateAccountEmails:"coreIdParams.enablePrivateAccountEmails",coreIdParamsEnablePrivateNames:"coreIdParams.enablePrivateNames",
coreIdParamsEnforceEdsConditionEnforceEdsType:"coreIdParams.enforceEdsCondition.enforceEdsType",coreIdParamsIdentityAclOptionsContextConfigName:"coreIdParams.identityAclOptions.context.configName",coreIdParamsIdentityAclOptionsContextObjectId:"coreIdParams.identityAclOptions.context.objectId",coreIdParamsIdentityAclOptionsContextObjectPart:"coreIdParams.identityAclOptions.context.objectPart",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",getPeopleRequestContextAuthDelegationContextMadisonMadisonGaiaId:"getPeopleRequest.context.authDelegationContext.madison.madisonGaiaId",getPeopleRequestContextAuthDelegationContextObfuscatedOwnerId:"getPeopleRequest.context.authDelegationContext.obfuscatedOwnerId",getPeopleRequestContextAuthDelegationContextUnicornObfuscatedOwnerId:"getPeopleRequest.context.authDelegationContext.unicorn.obfuscatedOwnerId",
getPeopleRequestContextClientType:"getPeopleRequest.context.clientType",getPeopleRequestContextClientVersionClientAgent:"getPeopleRequest.context.clientVersion.clientAgent",getPeopleRequestContextClientVersionClientType:"getPeopleRequest.context.clientVersion.clientType",getPeopleRequestContextClientVersionClientVersion:"getPeopleRequest.context.clientVersion.clientVersion",getPeopleRequestContextClientVersionGmsCoreContextAppManagementContext:"getPeopleRequest.context.clientVersion.gmsCoreContext.appManagementContext",
getPeopleRequestContextClientVersionGmsCoreContextIsFirstParty:"getPeopleRequest.context.clientVersion.gmsCoreContext.isFirstParty",getPeopleRequestContextClientVersionGmsCoreContextPackageName:"getPeopleRequest.context.clientVersion.gmsCoreContext.packageName",getPeopleRequestContextClientVersionGmsCoreContextPackageSignature:"getPeopleRequest.context.clientVersion.gmsCoreContext.packageSignature",getPeopleRequestContextConsistencyContextDirectoryVersionToken:"getPeopleRequest.context.consistencyContext.directoryVersionToken",
getPeopleRequestContextConsistencyOptionsConsistentReadOverrideType:"getPeopleRequest.context.consistencyOptions.consistentReadOverrideType",getPeopleRequestContextConsistencyOptionsLevel:"getPeopleRequest.context.consistencyOptions.level",getPeopleRequestContextConsistencyOptionsLevelOptionsBoundedConsistencyMaxAllowedStaleness:"getPeopleRequest.context.consistencyOptions.levelOptions.boundedConsistency.maxAllowedStaleness",getPeopleRequestContextConsistencyOptionsLevelOptionsExactTimestamp:"getPeopleRequest.context.consistencyOptions.levelOptions.exactTimestamp",
getPeopleRequestContextConsistencyOptionsLevelOptionsStaleConsistencyConsistencyRequirement:"getPeopleRequest.context.consistencyOptions.levelOptions.staleConsistency.consistencyRequirement",getPeopleRequestContextMigrationOptionsUseClusterBased:"getPeopleRequest.context.migrationOptions.useClusterBased",getPeopleRequestContextMigrationOptionsUseLegacyRequestMaskBehavior:"getPeopleRequest.context.migrationOptions.useLegacyRequestMaskBehavior",getPeopleRequestContextMigrationOptionsUseNewRequestMaskBehavior:"getPeopleRequest.context.migrationOptions.useNewRequestMaskBehavior",
getPeopleRequestContextRequestGroupLoggingId:"getPeopleRequest.context.requestGroupLoggingId",getPeopleRequestContextRightOfPublicityContext:"getPeopleRequest.context.rightOfPublicityContext",getPeopleRequestCoreIdParamsCheckIdentityAcl:"getPeopleRequest.coreIdParams.checkIdentityAcl",getPeopleRequestCoreIdParamsEnablePrivateAccountEmails:"getPeopleRequest.coreIdParams.enablePrivateAccountEmails",getPeopleRequestCoreIdParamsEnablePrivateNames:"getPeopleRequest.coreIdParams.enablePrivateNames",getPeopleRequestCoreIdParamsEnforceEdsConditionEnforceEdsType:"getPeopleRequest.coreIdParams.enforceEdsCondition.enforceEdsType",
getPeopleRequestCoreIdParamsIdentityAclOptionsContextConfigName:"getPeopleRequest.coreIdParams.identityAclOptions.context.configName",getPeopleRequestCoreIdParamsIdentityAclOptionsContextObjectId:"getPeopleRequest.coreIdParams.identityAclOptions.context.objectId",getPeopleRequestCoreIdParamsIdentityAclOptionsContextObjectPart:"getPeopleRequest.coreIdParams.identityAclOptions.context.objectPart",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",getPeopleRequestMergedPersonSourceOptionsDataJoinParamsProfileJoinType:"getPeopleRequest.mergedPersonSourceOptions.dataJoinParams.profileJoinType",getPeopleRequestMergedPersonSourceOptionsDeviceContactFilterDeviceIdentifierClientInstanceId:"getPeopleRequest.mergedPersonSourceOptions.deviceContactFilter.deviceIdentifier.clientInstanceId",
getPeopleRequestMergedPersonSourceOptionsDeviceContactFilterFilterType:"getPeopleRequest.mergedPersonSourceOptions.deviceContactFilter.filterType",getPeopleRequestMergedPersonSourceOptionsIncludeAccountLocale:"getPeopleRequest.mergedPersonSourceOptions.includeAccountLocale",getPeopleRequestMergedPersonSourceOptionsIncludeAffinity:"getPeopleRequest.mergedPersonSourceOptions.includeAffinity",getPeopleRequestMergedPersonSourceOptionsIncludedContactDeletionStates:"getPeopleRequest.mergedPersonSourceOptions.includedContactDeletionStates",
getPeopleRequestMergedPersonSourceOptionsIncludedProfileStates:"getPeopleRequest.mergedPersonSourceOptions.includedProfileStates",getPeopleRequestMergedPersonSourceOptionsPersonModelParamsPersonModel:"getPeopleRequest.mergedPersonSourceOptions.personModelParams.personModel",getPeopleRequestMergedPersonSourceOptionsPlaceParamsRequestPhotoTypes:"getPeopleRequest.mergedPersonSourceOptions.placeParams.requestPhotoTypes",getPeopleRequestMergedPersonSourceOptionsPlaceParamsRequestPlaces:"getPeopleRequest.mergedPersonSourceOptions.placeParams.requestPlaces",
getPeopleRequestMergedPersonSourceOptionsReplaceIantWithGiant:"getPeopleRequest.mergedPersonSourceOptions.replaceIantWithGiant",getPeopleRequestPersonId:"getPeopleRequest.personId",getPeopleRequestRequestConfigContextConfigKey:"getPeopleRequest.requestConfigContext.configKey",getPeopleRequestRequestConfigContextVersion:"getPeopleRequest.requestConfigContext.version",getPeopleRequestRequestMaskCustomRequestMask:"getPeopleRequest.requestMask.customRequestMask",getPeopleRequestRequestMaskImageUrlType:"getPeopleRequest.requestMask.imageUrlType",
getPeopleRequestRequestMaskIncludeContainer:"getPeopleRequest.requestMask.includeContainer",getPeopleRequestRequestMaskIncludeField:"getPeopleRequest.requestMask.includeField",getPeopleRequestRequestMaskIncludePeopleInCommon:"getPeopleRequest.requestMask.includePeopleInCommon",getPeopleRequestRequestMaskPersonAttribute:"getPeopleRequest.requestMask.personAttribute",getPeopleRequestRequestMaskPhotoOptionsPrivateUrlFormat:"getPeopleRequest.requestMask.photoOptions.privateUrlFormat",graphRestricts:"graphRestricts",
groupExtensionSetExtensionNames:"groupExtensionSet.extensionNames",groupId:"groupId",id:"id",includeAllAvailableSources:"includeAllAvailableSources",includeAllReachablePeople:"includeAllReachablePeople",includeBlocks:"includeBlocks",includeContent:"includeContent",includeFieldAcl:"includeFieldAcl",includeLinkedPeople:"includeLinkedPeople",includeOthers:"includeOthers",includedProfileStates:"includedProfileStates",key:"key",listFilterParamsContainer:"listFilterParams.container",listFilterParamsExcludeUnreachablePeople:"listFilterParams.excludeUnreachablePeople",
matchType:"matchType",maxContacts:"maxContacts",mergedPersonSourceOptionsCertificateParamsRequestCertificates:"mergedPersonSourceOptions.certificateParams.requestCertificates",mergedPersonSourceOptionsDataJoinParamsProfileJoinType:"mergedPersonSourceOptions.dataJoinParams.profileJoinType",mergedPersonSourceOptionsDeviceContactFilterDeviceIdentifierClientInstanceId:"mergedPersonSourceOptions.deviceContactFilter.deviceIdentifier.clientInstanceId",mergedPersonSourceOptionsDeviceContactFilterFilterType:"mergedPersonSourceOptions.deviceContactFilter.filterType",
mergedPersonSourceOptionsIncludeAccountLocale:"mergedPersonSourceOptions.includeAccountLocale",mergedPersonSourceOptionsIncludeAffinity:"mergedPersonSourceOptions.includeAffinity",mergedPersonSourceOptionsIncludedContactDeletionStates:"mergedPersonSourceOptions.includedContactDeletionStates",mergedPersonSourceOptionsIncludedProfileStates:"mergedPersonSourceOptions.includedProfileStates",mergedPersonSourceOptionsPersonModelParamsPersonModel:"mergedPersonSourceOptions.personModelParams.personModel",
mergedPersonSourceOptionsPlaceParamsRequestPhotoTypes:"mergedPersonSourceOptions.placeParams.requestPhotoTypes",mergedPersonSourceOptionsPlaceParamsRequestPlaces:"mergedPersonSourceOptions.placeParams.requestPlaces",mergedPersonSourceOptionsReplaceIantWithGiant:"mergedPersonSourceOptions.replaceIantWithGiant",oauth_token:"oauth_token",objectTypesRestricts:"objectTypesRestricts",options:"options",orderBy:"orderBy",pageSize:"pageSize",pageToken:"pageToken",pagingOptionsPageSize:"pagingOptions.pageSize",
pagingOptionsPageToken:"pagingOptions.pageToken",peopleType:"peopleType",personAttribute:"personAttribute",personExpansion:"personExpansion",personId:"personId",phoneLookupQuotaOptionsQuotaBypassTokenOptions:"phoneLookupQuotaOptions.quotaBypassTokenOptions",phoneLookupQuotaOptionsQuotaBypassTokens:"phoneLookupQuotaOptions.quotaBypassTokens",phoneLookupQuotaOptionsQuotaLimitBehavior:"phoneLookupQuotaOptions.quotaLimitBehavior",phones:"phones",photoOptionsMaxHeight:"photoOptions.maxHeight",photoOptionsMaxWidth:"photoOptions.maxWidth",
placeParamsRequestPlaces:"placeParams.requestPlaces",postPhotoMutateReadOption:"postPhotoMutateReadOption",prefixQuery:"prefixQuery",prettyPrint:"prettyPrint",profileId:"profileId",profileLookupOptionsEmailLookupOption:"profileLookupOptions.emailLookupOption",profileLookupOptionsExcludeGaiaAccountTypes:"profileLookupOptions.excludeGaiaAccountTypes",profileLookupOptionsUseTrustedClientPhoneLookupQuota:"profileLookupOptions.useTrustedClientPhoneLookupQuota",query:"query",quotaFilterType:"quotaFilterType",
quotaUser:"quotaUser",requestConfigContextConfigKey:"requestConfigContext.configKey",requestConfigContextVersion:"requestConfigContext.version",requestMask:"requestMask",requestMaskCustomRequestMask:"requestMask.customRequestMask",requestMaskImageUrlType:"requestMask.imageUrlType",requestMaskIncludeContainer:"requestMask.includeContainer",requestMaskIncludeField:"requestMask.includeField",requestMaskIncludePeopleInCommon:"requestMask.includePeopleInCommon",requestMaskPersonAttribute:"requestMask.personAttribute",
requestMaskPhotoOptionsPrivateUrlFormat:"requestMask.photoOptions.privateUrlFormat",requestOptionsRequireConsistency:"requestOptions.requireConsistency",requestOptionsTreatRestrictsAsFilter:"requestOptions.treatRestrictsAsFilter",requireCompleteResults:"requireCompleteResults",returnedFieldAcl:"returnedFieldAcl",searchSettingsMinTotalItemsAccuracy:"searchSettings.minTotalItemsAccuracy",searchSettingsNumToScore:"searchSettings.numToScore",searchSettingsScoringType:"searchSettings.scoringType",skipPostMutateGet:"skipPostMutateGet",
sortOptionsSortField:"sortOptions.sortField",sortOptionsSortOrder:"sortOptions.sortOrder",source:"source",sources:"sources",squery:"squery",stFieldSpecExpressionsExpressionNames:"stFieldSpecExpressions.expressionNames",stFieldSpecExpressionsExpressions:"stFieldSpecExpressions.expressions",startIndex:"startIndex",stquery:"stquery",syncParametersFullSyncOption:"syncParameters.fullSyncOption",syncParametersSyncToken:"syncParameters.syncToken",syncToken:"syncToken",type:"type",uploadType:"uploadType",
upload_protocol:"upload_protocol",useBytes:"useBytes"},wN=function(a,b,c){this.gapiVersion=a;this.gapiVersion=null==a?"v2":a;this.$apiClient=new W9b(b,c)};wN.prototype.list=function(a,b){a=void 0===a?{}:a;b=void 0===b?{}:b;return Y9b(this.$apiClient,{body:null,httpMethod:"GET",methodId:"people_pa.people.lookup.list",path:"/"+this.gapiVersion+"/people/lookup",queryParams:zKa(a,b$b,b)})};wN.\u0275fac=function(a){return new (a||wN)(p($9b,8),p(a$b),p(U9b,8))};wN.\u0275prov=Dc({token:wN,factory:wN.\u0275fac});
var xN=function(){};xN.\u0275fac=function(a){return new (a||xN)};xN.\u0275prov=Dc({token:xN,factory:function(a){return wN.\u0275fac(a)},providedIn:vN});var yN=function(a,b,c){this.gapiVersion=a;this.gapiVersion=null==a?"v2":a;this.$apiClient=new W9b(b,c)};yN.\u0275fac=function(a){return new (a||yN)(p($9b,8),p(a$b),p(U9b,8))};yN.\u0275prov=Dc({token:yN,factory:yN.\u0275fac});var zN=function(){};zN.\u0275fac=function(a){return new (a||zN)};
zN.\u0275prov=Dc({token:zN,factory:function(a){return yN.\u0275fac(a)},providedIn:vN});var MKa=/.*@google.com/,c$b=new bd("onedevPeopleServiceConfig"),d$b={},AN=function(){},f$b=function(a,b){return e$b(a,[b]).pipe(D(function(c){return c[0]}))};AN.\u0275fac=function(a){return new (a||AN)};AN.\u0275prov=Dc({token:AN,factory:AN.\u0275fac});
var BN=function(a,b,c){var d=this;this.lookupApiClient=a;this.destroy$=new E.Subject;this.config=d$b;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}})};Y(BN,AN);
var e$b=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 QKa(b,c)}))};BN.prototype.ngOnDestroy=function(){this.destroy$.next()};BN.\u0275fac=function(a){return new (a||BN)(p(xN),p(zN),p(c$b,8))};
BN.\u0275prov=Dc({token:BN,factory:BN.\u0275fac});var CN=function(){};CN.\u0275fac=function(a){return new (a||CN)};CN.\u0275mod=Tc({type:CN});CN.\u0275inj=Ec({providers:[BN,{provide:AN,useExisting:BN}],imports:[vN]});var g$b=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};Y(g$b,Co);g$b.prototype.getPartialClassMetadata=function(){return{keys:["dayOfWeek","periodEndMinutes","periodStartMinutes"]}};
Gh.Object.defineProperties(g$b.prototype,{dayOfWeek:{configurable:!0,enumerable:!0,get:function(){return uN(this,"dayOfWeek")?Bo(this,"dayOfWeek"):0},set:function(a){this.Serializable$values.dayOfWeek=a}},periodEndMinutes:{configurable:!0,enumerable:!0,get:function(){return uN(this,"periodEndMinutes")?Bo(this,"periodEndMinutes"):0},set:function(a){this.Serializable$values.periodEndMinutes=a}},periodStartMinutes:{configurable:!0,enumerable:!0,get:function(){return uN(this,"periodStartMinutes")?Bo(this,
"periodStartMinutes"):0},set:function(a){this.Serializable$values.periodStartMinutes=a}}});var h$b=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};Y(h$b,Co);h$b.prototype.getPartialClassMetadata=function(){return{arrays:{userIds:DN},keys:["debugOptions","userIds"],objects:{debugOptions:EN}}};
Gh.Object.defineProperties(h$b.prototype,{debugOptions:{configurable:!0,enumerable:!0,get:function(){return uN(this,"debugOptions")?Bo(this,"debugOptions"):this.debugOptions=new EN},set:function(a){this.Serializable$values.debugOptions=a}},userIds:{configurable:!0,enumerable:!0,get:function(){return uN(this,"userIds")?Bo(this,"userIds"):this.userIds=[]},set:function(a){this.Serializable$values.userIds=a}}});
var i$b=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.results=null==a.results?null:a.results};Y(i$b,Co);i$b.prototype.getPartialClassMetadata=function(){return{arrays:{results:j$b},keys:["results"]}};
Gh.Object.defineProperties(i$b.prototype,{hasResults:{configurable:!0,enumerable:!0,get:function(){return null!==Bo(this,"results")}},results:{configurable:!0,enumerable:!0,get:function(){return uN(this,"results")?Bo(this,"results"):this.results=[]},set:function(a){this.Serializable$values.results=a}}});
var FN=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};Y(FN,Co);
FN.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","eventSummary","nextAvailable","occupiedUntil"]}};
Gh.Object.defineProperties(FN.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return uN(this,"committedUntil")?Bo(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return uN(this,"eventSummary")?Bo(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return uN(this,"nextAvailable")?Bo(this,
"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return uN(this,"occupiedUntil")?Bo(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});
var GN=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};Y(GN,Co);GN.prototype.getPartialClassMetadata=function(){return{keys:["geoCoordinates","label","location"],objects:{geoCoordinates:HN}}};
Gh.Object.defineProperties(GN.prototype,{geoCoordinates:{configurable:!0,enumerable:!0,get:function(){return uN(this,"geoCoordinates")?Bo(this,"geoCoordinates"):this.geoCoordinates=new HN},set:function(a){this.Serializable$values.geoCoordinates=a}},label:{configurable:!0,enumerable:!0,get:function(){return uN(this,"label")?Bo(this,"label"):""},set:function(a){this.Serializable$values.label=a}},location:{configurable:!0,enumerable:!0,get:function(){return uN(this,"location")?Bo(this,"location"):""},
set:function(a){this.Serializable$values.location=a}}});var IN=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};Y(IN,Co);IN.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","nextAvailable","occupiedUntil"]}};
Gh.Object.defineProperties(IN.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return uN(this,"committedUntil")?Bo(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return uN(this,"nextAvailable")?Bo(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return uN(this,"occupiedUntil")?Bo(this,
"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var k$b=function(){this.Serializable$values={}};Y(k$b,Co);k$b.prototype.getPartialClassMetadata=function(){return{keys:[]}};
var JN=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};Y(JN,Co);
JN.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","eventSummary","inMeetingsUntil","nextAvailable","occupiedUntil"]}};
Gh.Object.defineProperties(JN.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return uN(this,"committedUntil")?Bo(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return uN(this,"eventSummary")?Bo(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},inMeetingsUntil:{configurable:!0,enumerable:!0,get:function(){return uN(this,"inMeetingsUntil")?Bo(this,
"inMeetingsUntil"):""},set:function(a){this.Serializable$values.inMeetingsUntil=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return uN(this,"nextAvailable")?Bo(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return uN(this,"occupiedUntil")?Bo(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var l$b=function(){this.Serializable$values={}};Y(l$b,Co);
l$b.prototype.getPartialClassMetadata=function(){return{keys:[]}};var HN=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};Y(HN,Co);HN.prototype.getPartialClassMetadata=function(){return{keys:["latitude","longitude"]}};
Gh.Object.defineProperties(HN.prototype,{latitude:{configurable:!0,enumerable:!0,get:function(){return uN(this,"latitude")?Bo(this,"latitude"):0},set:function(a){this.Serializable$values.latitude=a}},longitude:{configurable:!0,enumerable:!0,get:function(){return uN(this,"longitude")?Bo(this,"longitude"):0},set:function(a){this.Serializable$values.longitude=a}}});var KN=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.timeZone=null==a.timeZone?null:a.timeZone};
Y(KN,Co);KN.prototype.getPartialClassMetadata=function(){return{keys:["timeZone"]}};Gh.Object.defineProperties(KN.prototype,{timeZone:{configurable:!0,enumerable:!0,get:function(){return uN(this,"timeZone")?Bo(this,"timeZone"):""},set:function(a){this.Serializable$values.timeZone=a}}});
var LN=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};Y(LN,Co);
LN.prototype.getPartialClassMetadata=function(){return{keys:["experimentalBuildingId","experimentalDeskId","experimentalFloorId","label"]}};
Gh.Object.defineProperties(LN.prototype,{experimentalBuildingId:{configurable:!0,enumerable:!0,get:function(){return uN(this,"experimentalBuildingId")?Bo(this,"experimentalBuildingId"):""},set:function(a){this.Serializable$values.experimentalBuildingId=a}},experimentalDeskId:{configurable:!0,enumerable:!0,get:function(){return uN(this,"experimentalDeskId")?Bo(this,"experimentalDeskId"):""},set:function(a){this.Serializable$values.experimentalDeskId=a}},experimentalFloorId:{configurable:!0,enumerable:!0,
get:function(){return uN(this,"experimentalFloorId")?Bo(this,"experimentalFloorId"):""},set:function(a){this.Serializable$values.experimentalFloorId=a}},label:{configurable:!0,enumerable:!0,get:function(){return uN(this,"label")?Bo(this,"label"):""},set:function(a){this.Serializable$values.label=a}}});
var MN=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};Y(MN,Co);MN.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime","committedUntil","eventSummary"]}};
Gh.Object.defineProperties(MN.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return uN(this,"comeBackTime")?Bo(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}},committedUntil:{configurable:!0,enumerable:!0,get:function(){return uN(this,"committedUntil")?Bo(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return uN(this,"eventSummary")?Bo(this,"eventSummary"):
""},set:function(a){this.Serializable$values.eventSummary=a}}});var NN=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.comeBackTime=null==a.comeBackTime?null:a.comeBackTime};Y(NN,Co);NN.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime"]}};
Gh.Object.defineProperties(NN.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return uN(this,"comeBackTime")?Bo(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}}});var ON=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};Y(ON,Co);
ON.prototype.getPartialClassMetadata=function(){return{keys:["code","details","message"],objectMaps:{details:{ctor:null,isPropertyArray:!0,isSerializable:!1,isValueArray:!1}}}};
Gh.Object.defineProperties(ON.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return uN(this,"code")?Bo(this,"code"):0},set:function(a){this.Serializable$values.code=a}},details:{configurable:!0,enumerable:!0,get:function(){return uN(this,"details")?Bo(this,"details"):this.details=[]},set:function(a){this.Serializable$values.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return uN(this,"message")?Bo(this,"message"):""},set:function(a){this.Serializable$values.message=
a}}});var PN=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};Y(PN,Co);PN.prototype.getPartialClassMetadata=function(){return{keys:["endTime","startTime"]}};
Gh.Object.defineProperties(PN.prototype,{endTime:{configurable:!0,enumerable:!0,get:function(){return uN(this,"endTime")?Bo(this,"endTime"):""},set:function(a){this.Serializable$values.endTime=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return uN(this,"startTime")?Bo(this,"startTime"):""},set:function(a){this.Serializable$values.startTime=a}}});
var QN=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};Y(QN,Co);QN.prototype.getPartialClassMetadata=function(){return{keys:["computationDuration","overrideCurrentTime"]}};
Gh.Object.defineProperties(QN.prototype,{computationDuration:{configurable:!0,enumerable:!0,get:function(){return uN(this,"computationDuration")?Bo(this,"computationDuration"):""},set:function(a){this.Serializable$values.computationDuration=a}},overrideCurrentTime:{configurable:!0,enumerable:!0,get:function(){return uN(this,"overrideCurrentTime")?Bo(this,"overrideCurrentTime"):""},set:function(a){this.Serializable$values.overrideCurrentTime=a}}});
var RN=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};Y(RN,Co);RN.prototype.getPartialClassMetadata=function(){return{keys:["nextCommitmentStatus","nextCommitmentTime"],objects:{nextCommitmentStatus:SN}}};
Gh.Object.defineProperties(RN.prototype,{nextCommitmentStatus:{configurable:!0,enumerable:!0,get:function(){return uN(this,"nextCommitmentStatus")?Bo(this,"nextCommitmentStatus"):this.nextCommitmentStatus=new SN},set:function(a){this.Serializable$values.nextCommitmentStatus=a}},nextCommitmentTime:{configurable:!0,enumerable:!0,get:function(){return uN(this,"nextCommitmentTime")?Bo(this,"nextCommitmentTime"):""},set:function(a){this.Serializable$values.nextCommitmentTime=a}}});
var TN=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.timeRange=null==a.timeRange?null:a.timeRange};Y(TN,Co);TN.prototype.getPartialClassMetadata=function(){return{keys:["timeRange"],objects:{timeRange:PN}}};Gh.Object.defineProperties(TN.prototype,{timeRange:{configurable:!0,enumerable:!0,get:function(){return uN(this,"timeRange")?Bo(this,"timeRange"):this.timeRange=new PN},set:function(a){this.Serializable$values.timeRange=a}}});
var UN=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};Y(UN,Co);UN.prototype.getPartialClassMetadata=function(){return{arrays:{availabilities:m$b},keys:["availabilities","nextPollTime","workingHours"],objects:{workingHours:VN}}};
Gh.Object.defineProperties(UN.prototype,{availabilities:{configurable:!0,enumerable:!0,get:function(){return uN(this,"availabilities")?Bo(this,"availabilities"):this.availabilities=[]},set:function(a){this.Serializable$values.availabilities=a}},nextPollTime:{configurable:!0,enumerable:!0,get:function(){return uN(this,"nextPollTime")?Bo(this,"nextPollTime"):""},set:function(a){this.Serializable$values.nextPollTime=a}},workingHours:{configurable:!0,enumerable:!0,get:function(){return uN(this,"workingHours")?
Bo(this,"workingHours"):this.workingHours=new VN},set:function(a){this.Serializable$values.workingHours=a}}});var EN=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};Y(EN,Co);EN.prototype.getPartialClassMetadata=function(){return{keys:["forceEnableUserStatusCache","timeSettings"],objects:{timeSettings:QN}}};
Gh.Object.defineProperties(EN.prototype,{forceEnableUserStatusCache:{configurable:!0,enumerable:!0,get:function(){return uN(this,"forceEnableUserStatusCache")?Bo(this,"forceEnableUserStatusCache"):!1},set:function(a){this.Serializable$values.forceEnableUserStatusCache=a}},timeSettings:{configurable:!0,enumerable:!0,get:function(){return uN(this,"timeSettings")?Bo(this,"timeSettings"):this.timeSettings=new QN},set:function(a){this.Serializable$values.timeSettings=a}}});
var j$b=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};Y(j$b,Co);j$b.prototype.getPartialClassMetadata=function(){return{keys:["status","userAvailabilities","userId"],objects:{status:ON,userAvailabilities:UN,userId:DN}}};
Gh.Object.defineProperties(j$b.prototype,{hasStatus:{configurable:!0,enumerable:!0,get:function(){return null!==Bo(this,"status")}},status:{configurable:!0,enumerable:!0,get:function(){return uN(this,"status")?Bo(this,"status"):this.status=new ON},set:function(a){this.Serializable$values.status=a}},hasUserAvailabilities:{configurable:!0,enumerable:!0,get:function(){return null!==Bo(this,"userAvailabilities")}},userAvailabilities:{configurable:!0,enumerable:!0,get:function(){return uN(this,"userAvailabilities")?
Bo(this,"userAvailabilities"):this.userAvailabilities=new UN},set:function(a){this.Serializable$values.userAvailabilities=a}},hasUserId:{configurable:!0,enumerable:!0,get:function(){return null!==Bo(this,"userId")}},userId:{configurable:!0,enumerable:!0,get:function(){return uN(this,"userId")?Bo(this,"userId"):this.userId=new DN},set:function(a){this.Serializable$values.userId=a}}});
var m$b=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};Y(m$b,Co);m$b.prototype.getPartialClassMetadata=function(){return{keys:["contexts","status","timeRange"],objects:{contexts:WN,status:SN,timeRange:PN}}};
Gh.Object.defineProperties(m$b.prototype,{contexts:{configurable:!0,enumerable:!0,get:function(){return uN(this,"contexts")?Bo(this,"contexts"):this.contexts=new WN},set:function(a){this.Serializable$values.contexts=a}},hasStatus:{configurable:!0,enumerable:!0,get:function(){return null!==Bo(this,"status")}},status:{configurable:!0,enumerable:!0,get:function(){return uN(this,"status")?Bo(this,"status"):this.status=new SN},set:function(a){this.Serializable$values.status=a}},timeRange:{configurable:!0,
enumerable:!0,get:function(){return uN(this,"timeRange")?Bo(this,"timeRange"):this.timeRange=new PN},set:function(a){this.Serializable$values.timeRange=a}}});
var WN=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};Y(WN,Co);
WN.prototype.getPartialClassMetadata=function(){return{keys:["localTime","upcomingCommitmentContext","upcomingOoo","workingElsewhere"],objects:{localTime:KN,upcomingCommitmentContext:RN,upcomingOoo:TN,workingElsewhere:XN}}};
Gh.Object.defineProperties(WN.prototype,{localTime:{configurable:!0,enumerable:!0,get:function(){return uN(this,"localTime")?Bo(this,"localTime"):this.localTime=new KN},set:function(a){this.Serializable$values.localTime=a}},upcomingCommitmentContext:{configurable:!0,enumerable:!0,get:function(){return uN(this,"upcomingCommitmentContext")?Bo(this,"upcomingCommitmentContext"):this.upcomingCommitmentContext=new RN},set:function(a){this.Serializable$values.upcomingCommitmentContext=a}},upcomingOoo:{configurable:!0,
enumerable:!0,get:function(){return uN(this,"upcomingOoo")?Bo(this,"upcomingOoo"):this.upcomingOoo=new TN},set:function(a){this.Serializable$values.upcomingOoo=a}},workingElsewhere:{configurable:!0,enumerable:!0,get:function(){return uN(this,"workingElsewhere")?Bo(this,"workingElsewhere"):this.workingElsewhere=new XN},set:function(a){this.Serializable$values.workingElsewhere=a}}});
var DN=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};Y(DN,Co);DN.prototype.getPartialClassMetadata=function(){return{keys:["email","obfuscatedGaiaId"]}};
Gh.Object.defineProperties(DN.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return uN(this,"email")?Bo(this,"email"):""},set:function(a){this.Serializable$values.email=a}},obfuscatedGaiaId:{configurable:!0,enumerable:!0,get:function(){return uN(this,"obfuscatedGaiaId")?Bo(this,"obfuscatedGaiaId"):""},set:function(a){this.Serializable$values.obfuscatedGaiaId=a}}});
var YN=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};Y(YN,Co);YN.prototype.getPartialClassMetadata=function(){return{keys:["customLocation","homeLocation","officeLocation"],objects:{customLocation:GN,homeLocation:k$b,officeLocation:LN}}};
Gh.Object.defineProperties(YN.prototype,{customLocation:{configurable:!0,enumerable:!0,get:function(){return uN(this,"customLocation")?Bo(this,"customLocation"):this.customLocation=new GN},set:function(a){this.Serializable$values.customLocation=a}},homeLocation:{configurable:!0,enumerable:!0,get:function(){return uN(this,"homeLocation")?Bo(this,"homeLocation"):this.homeLocation=new k$b},set:function(a){this.Serializable$values.homeLocation=a}},officeLocation:{configurable:!0,enumerable:!0,get:function(){return uN(this,
"officeLocation")?Bo(this,"officeLocation"):this.officeLocation=new LN},set:function(a){this.Serializable$values.officeLocation=a}}});
var SN=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};Y(SN,Co);SN.prototype.getPartialClassMetadata=function(){return{keys:"calendarBusy doNotDisturb inMeeting inactive outOfOffice outsideWorkingHours".split(" "),objects:{calendarBusy:FN,doNotDisturb:IN,inMeeting:JN,inactive:l$b,outOfOffice:MN,outsideWorkingHours:NN}}};
Gh.Object.defineProperties(SN.prototype,{calendarBusy:{configurable:!0,enumerable:!0,get:function(){return uN(this,"calendarBusy")?Bo(this,"calendarBusy"):this.calendarBusy=new FN},set:function(a){this.Serializable$values.calendarBusy=a}},doNotDisturb:{configurable:!0,enumerable:!0,get:function(){return uN(this,"doNotDisturb")?Bo(this,"doNotDisturb"):this.doNotDisturb=new IN},set:function(a){this.Serializable$values.doNotDisturb=a}},inMeeting:{configurable:!0,enumerable:!0,get:function(){return uN(this,
"inMeeting")?Bo(this,"inMeeting"):this.inMeeting=new JN},set:function(a){this.Serializable$values.inMeeting=a}},inactive:{configurable:!0,enumerable:!0,get:function(){return uN(this,"inactive")?Bo(this,"inactive"):this.inactive=new l$b},set:function(a){this.Serializable$values.inactive=a}},hasOutOfOffice:{configurable:!0,enumerable:!0,get:function(){return null!==Bo(this,"outOfOffice")}},outOfOffice:{configurable:!0,enumerable:!0,get:function(){return uN(this,"outOfOffice")?Bo(this,"outOfOffice"):
this.outOfOffice=new MN},set:function(a){this.Serializable$values.outOfOffice=a}},outsideWorkingHours:{configurable:!0,enumerable:!0,get:function(){return uN(this,"outsideWorkingHours")?Bo(this,"outsideWorkingHours"):this.outsideWorkingHours=new NN},set:function(a){this.Serializable$values.outsideWorkingHours=a}}});var XN=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.location=null==a.location?null:a.location};Y(XN,Co);
XN.prototype.getPartialClassMetadata=function(){return{keys:["location"],objects:{location:YN}}};Gh.Object.defineProperties(XN.prototype,{location:{configurable:!0,enumerable:!0,get:function(){return uN(this,"location")?Bo(this,"location"):this.location=new YN},set:function(a){this.Serializable$values.location=a}}});var VN=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.availableTime=null==a.availableTime?null:a.availableTime};Y(VN,Co);
VN.prototype.getPartialClassMetadata=function(){return{arrays:{availableTime:g$b},keys:["availableTime"]}};Gh.Object.defineProperties(VN.prototype,{availableTime:{configurable:!0,enumerable:!0,get:function(){return uN(this,"availableTime")?Bo(this,"availableTime"):this.availableTime=[]},set:function(a){this.Serializable$values.availableTime=a}}});var n$b=new bd("API_VERSION"),o$b=new bd("REQUEST_SERVICE"),ZN=function(){};ZN.\u0275fac=function(a){return new (a||ZN)};ZN.\u0275mod=Tc({type:ZN});
ZN.\u0275inj=Ec({});var p$b={$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"},$N=function(a,b,c){this.gapiVersion=a;this.gapiVersion=null==a?"v1alpha":a;this.$apiClient=new W9b(b,c)};$N.\u0275fac=function(a){return new (a||$N)(p(n$b,8),p(o$b),p(U9b,8))};$N.\u0275prov=Dc({token:$N,factory:$N.\u0275fac});var aO=function(){};
aO.\u0275fac=function(a){return new (a||aO)};aO.\u0275prov=Dc({token:aO,factory:function(a){return $N.\u0275fac(a)},providedIn:ZN});/*

 Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: MIT
*/
var bO=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};At(bO,RKa);
bO.prototype.cancel=function(a){if(this.fired_)this.result_ instanceof bO&&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_||(a=new cO(this),dO(this),eO(this,!1,a))}};bO.prototype.continue_=function(a,b){this.blocked_=!1;eO(this,a,b)};
var eO=function(a,b,c){a.fired_=!0;a.result_=c;a.hadError_=!b;q$b(a)},dO=function(a){if(a.fired_){if(!a.silentlyCanceled_)throw new r$b(a);a.silentlyCanceled_=!1}};bO.prototype.callback=function(a){dO(this);eO(this,!0,a)};bO.prototype.addCallback=function(a,b){return s$b(this,a,null,b)};var s$b=function(a,b,c,d){a.sequence_.push([b,c,d]);a.fired_&&q$b(a);return a};
bO.prototype.then=function(a,b,c){var d,e,f=new sB(function(h,k){e=h;d=k});s$b(this,e,function(h){h instanceof cO?f.cancel():d(h);return t$b},this);return f.then(a,b,c)};bO.prototype.$goog_Thenable=!0;bO.prototype.isError=function(a){return a instanceof Error};
var u$b=function(a){return AKb(a.sequence_,function(b){return"function"===typeof b[1]})},t$b={},q$b=function(a){if(a.unhandledErrorId_&&a.fired_&&u$b(a)){var b=a.unhandledErrorId_,c=v$b[b];c&&(da.clearTimeout(c.id_),delete v$b[b]);a.unhandledErrorId_=0}a.parent_&&(a.parent_.branches_--,delete a.parent_);b=a.result_;for(var d=c=!1;a.sequence_.length&&!a.blocked_;){var e=a.sequence_.shift(),f=e[0],h=e[1];e=e[2];if(f=a.hadError_?h:f)try{var k=f.call(e||a.defaultScope_,b);k===t$b&&(k=void 0);void 0!==
k&&(a.hadError_=a.hadError_&&(k==b||a.isError(k)),a.result_=b=k);if(MVb(b)||"function"===typeof da.Promise&&b instanceof da.Promise)d=!0,a.blocked_=!0}catch(q){b=q,a.hadError_=!0,u$b(a)||(c=!0)}}a.result_=b;d&&(k=yt(a.continue_,a,!0),d=yt(a.continue_,a,!1),b instanceof bO?(s$b(b,k,d),b.blocking_=!0):b.then(k,d));c&&(b=new w$b(b),v$b[b.id_]=b,a.unhandledErrorId_=b.id_)},r$b=function(){ba.call(this)};At(r$b,ba);r$b.prototype.message="Deferred has already fired";r$b.prototype.name="AlreadyCalledError";
var cO=function(){ba.call(this)};At(cO,ba);cO.prototype.message="Deferred was canceled";cO.prototype.name="CanceledError";var w$b=function(a){this.id_=da.setTimeout(yt(this.throwError,this),0);this.error_=a};w$b.prototype.throwError=function(){delete v$b[this.id_];throw this.error_;};var v$b={};var WKa=function(a,b){var c=b||{};b=c.document||document;var d=Sh(a).toString(),e=(new fB(b)).createElement("SCRIPT"),f={script_:e,timeout_:void 0},h=new bO(x$b,f),k=null,q=null!=c.timeout?c.timeout:5E3;0<q&&(k=window.setTimeout(function(){y$b(e,!0);var t=new z$b(1,"Timeout reached for loading script "+d);dO(h);eO(h,!1,t)},q),f.timeout_=k);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(y$b(e,c.cleanupWhenDone||!1,k),h.callback(null))};e.onerror=
function(){y$b(e,!0,k);var t=new z$b(0,"Error while loading script "+d);dO(h);eO(h,!1,t)};f=c.attributes||{};Eda(f,{type:"text/javascript",charset:"UTF-8"});oVb(e,f);FMb(e,a);A$b(b).appendChild(e);return h},A$b=function(a){var b=iB("HEAD",a);return b&&0!==b.length?b[0]:a.documentElement},x$b=function(){if(this&&this.script_){var a=this.script_;a&&"SCRIPT"==a.tagName&&y$b(a,!0,this.timeout_)}},y$b=function(a,b,c){null!=c&&da.clearTimeout(c);a.onload=function(){};a.onerror=function(){};a.onreadystatechange=
function(){};b&&window.setTimeout(function(){nB(a)},0)},z$b=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);ba.call(this,c);this.code=a};At(z$b,ba);var XKa=qt(["https://apis.google.com/js/api.js"]),SKa=null,ZKa=new WeakMap;var fO=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 UKa().then(function(f){f=f||window.gapi;e.setGapiConfig(f);return aLa(f,{apiKey:e.gapiKey,clientId:e.gapiAuthParams.clientId,scope:e.gapiAuthParams.scope}).then(function(){return f})})})};Y(fO,Z9b);
fO.prototype.makeRequest=function(a){var b=this;return this.gapi.pipe(Be(function(c){var d=(0,E.of)(void 0);void 0!==b.gapiAuthParams.minAuthTokenTimeRemaining&&(d=(0,E.from)($Ka(c,b.gapiAuthParams.minAuthTokenTimeRemaining)));return d.pipe(Be(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}))}))}))};
fO.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)})})};fO.prototype.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&YKa(a,b,this.gapiConfigUpdates[b])};var B$b=function(a,b,c,d,e){d=void 0===d?{}:d;e=void 0===e?{}:e;fO.call(this,a,c,d,e);this.waldoApiKey=b};Y(B$b,fO);B$b.prototype.makeRequest=function(a){var b=fO.prototype.makeRequest,c=b.call;(a.queryParams||(a.queryParams={})).key=this.waldoApiKey;return c.call(b,this,a)};var gO=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(oja(this.trigger.pipe(Ke(200))));this.responseHandler=function(c){if(c.hasResults){c=l(c.results);for(var d=c.next();!d.done;d=c.next()){var e=d.value;d="";e.hasUserId&&e.userId.email&&(d=e.userId.email);if(d)if(e.hasUserAvailabilities){e=e.userAvailabilities.availabilities[0];if(e.hasStatus&&e.status.hasOutOfOffice){e=e.status.outOfOffice;
if(e.comeBackTime){var f=e=new Date(e.comeBackTime),h=new Date;e=h.getFullYear()===f.getFullYear()&&h.getMonth()===f.getMonth()&&h.getDate()===f.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(u(new Set(c)));var d=c.slice(0,100);C$b(b,d);c=l(c.slice(100));for(d=c.next();!d.done;d=c.next())b.trigger.next(d.value)})},C$b=function(a,b){var c,d;qe(function(e){for(var f=new h$b,h=[],k=l(b),q=k.next();!q.done;q=k.next()){q=q.value;var t=new DN;t.email=q;h.push(t)}f.userIds=h;c=f;f=a.apiStub;var w=void 0===w?{}:w;var y=void 0===y?{}:y;d=Y9b(f.$apiClient,
{body:c,httpMethod:"POST",methodId:"waldo_service_api_from_stubby_sandbox.useravailabilities.batchget",path:"/"+f.gapiVersion+"/useravailabilities:batchget",queryParams:zKa(w,p$b,y),responseCtor:i$b});d.pipe(bf(a.destroyed)).subscribe(a.responseHandler);we(e)})},D$b=function(a,b){if(!b)return(0,E.of)("");a.trigger.next(b);return a.result.pipe(He(function(c){return c.emailAddress===b})).pipe(D(function(c){return c.availability}))};gO.prototype.ngOnDestroy=function(){this.destroyed.next()};
gO.\u0275fac=function(a){return new (a||gO)(p(aO))};gO.\u0275prov=Dc({token:gO,factory:gO.\u0275fac});var hO=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 D$b(b.waldoAvailabilityService,c)}))};hO.prototype.ngOnChanges=function(){this.userSubject.next(this.user)};hO.\u0275fac=function(a){return new (a||hO)(B(gO))};
hO.\u0275cmp=r({type:hO,selectors:[["waldo-availability-chip"]],inputs:{user:"user"},features:[ld],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&&(F(0,bLa,6,3,"div",0),W(1,"async"));a&2&&G("ngIf",X(1,1,b.availability))},dependencies:[Uv,$v],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 vJb=function(a){this.proxiedService=a};Y(vJb,Z9b);vJb.prototype.makeRequest=function(a){var b=this;return(0,E.defer)(function(){return b.proxiedService.makeRequest(a)})};var E$b=new bd("environment"),F$b={"client/cors":!0,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0},iO=function(){};iO.\u0275fac=function(a){return new (a||iO)};iO.\u0275mod=Tc({type:iO});iO.\u0275inj=Ec({imports:[hw,ZN]});var G$b=RegExp("^((http(s)?):)?\\/\\/((((lh[3-6](-tt|-d[a-g,y,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"),H$b=/^(https?:)?\/\/sp[1-4]\.((ggpht)|(googleusercontent))\.com\//i,I$b=/^(https?:)?\/\/(qa(-red|-blue)?|dev2?|image-dev)(-|\.)lighthouse(-auth)?\.sandbox\.google\.com\//i,J$b=/^(https?:)?\/\/lighthouse-(qa(-red|-blue)?|dev2)\.corp\.google\.com\//i,K$b=function(a){return G$b.test(a)||H$b.test(a)||I$b.test(a)||J$b.test(a)};var L$b=function(a){this.internalArray_=m(a)};Y(L$b,n);g=L$b.prototype;g.getSize=function(){return Tt(this,1)};g.setSize=function(a){return dj(this,1,a)};g.getWidth=function(){return Tt(this,12)};g.setWidth=function(a){return dj(this,12,a)};g.getHeight=function(){return Tt(this,13)};g.setHeight=function(a){return dj(this,13,a)};g.setStretch=function(a){return cj(this,33,a)};g.setCrop=function(a){return cj(this,2,a)};g.setCircleCrop=function(a){return cj(this,51,a)};
g.setImageCrop=function(a){return cj(this,32,a)};g.setSmartCrop=function(a){return cj(this,19,a)};g.setSmartCropNoClip=function(a){return cj(this,52,a)};g.setSmartCropUseFace=function(a){return cj(this,67,a)};g.setDetectFaces=function(a){cj(this,80,a)};g.setCenterCrop=function(a){return cj(this,20,a)};g.setPad=function(a){return cj(this,60,a)};g.setDownload=function(a){cj(this,3,a)};g.setHtml=function(a){cj(this,4,a)};g.setObjectId=function(a){lm(this,7,null==a?a:Fba(a))};
g.setLooseFaceCrop=function(a){return cj(this,65,a)};g.setFaceCropVersion=function(a){dj(this,94,a)};g.setFrameId=function(a){lm(this,29,null==a?a:Fba(a))};g.setTileX=function(a){dj(this,9,a)};g.setTileY=function(a){dj(this,10,a)};g.setTileZoom=function(a){dj(this,11,a)};g.setTileGeneration=function(a){cj(this,14,a)};g.setForceTileGeneration=function(a){cj(this,34,a)};g.setTilePyramidAsProto=function(a){cj(this,72,a)};g.setExpirationTime=function(a){dj(this,15,a)};
g.setExpirationTimeInMinutes=function(a){dj(this,107,a)};g.setImageFilter=function(a){return gj(this,16,a)};g.setKillAnimation=function(a){return cj(this,17,a)};g.setUnfiltered=function(a){cj(this,18,a)};g.setUnfilteredWithTransforms=function(a){cj(this,45,a)};g.setIncludeMetadata=function(a){cj(this,22,a)};g.setIncludePublicMetadata=function(a){cj(this,54,a)};g.setStripGoogleData=function(a){cj(this,82,a)};g.setPreserveGoogleData=function(a){cj(this,83,a)};
g.setStripMetadata=function(a){cj(this,93,a)};g.setStripGeoinfo=function(a){cj(this,95,a)};g.setEsPortraitApprovedOnly=function(a){return cj(this,21,a)};g.setBypassTakedown=function(a){cj(this,23,a)};g.getToken=function(){return wj(this,24)};g.setToken=function(a){return gj(this,24,a)};g.setVersionedToken=function(a){gj(this,36,a)};g.setSkipRefererCheck=function(a){cj(this,6,a)};g.setRotate=function(a){return dj(this,26,a)};g.setHorizontalFlip=function(a){cj(this,30,a)};
g.setVerticalFlip=function(a){cj(this,31,a)};g.getOverlay=function(){return Vr(this,27)};g.setOverlay=function(a){return cj(this,27,a)};g.setQueryString=function(a){gj(this,28,a)};g.setRequestJpeg=function(a){return cj(this,57,a)};g.setRequestPng=function(a){return cj(this,58,a)};g.setRequestGif=function(a){cj(this,59,a)};g.setRequestAvif=function(a){cj(this,103,a)};g.setRequestWebp=function(a){return cj(this,35,a)};g.setRequestWebpUnlessMaybeTransparent=function(a){cj(this,41,a)};
g.setRequestAnimatedWebp=function(a){cj(this,64,a)};g.setNoWebp=function(a){cj(this,48,a)};g.setRequestH264=function(a){return cj(this,49,a)};g.setLossy=function(a){cj(this,97,a)};g.setNoOverlay=function(a){return cj(this,37,a)};g.setBorderSize=function(a){dj(this,38,a)};g.setBorderRadius=function(a){dj(this,86,a)};g.setBorderColor=function(a){dj(this,39,a)};g.getBackgroundColor=function(){return Tt(this,87)};g.setBackgroundColor=function(a){dj(this,87,a)};g.setPadColor=function(a){dj(this,88,a)};
g.setSubstitutionColor=function(a){dj(this,89,a)};g.setNoSilhouette=function(a){cj(this,40,a)};g.setFocusBlur=function(a){dj(this,42,a)};g.setFocalPlane=function(a){dj(this,43,a)};g.setQualityLevel=function(a){return dj(this,44,a)};g.setQualityBucket=function(a){return dj(this,62,a)};g.setNoUpscale=function(a){cj(this,46,a)};g.setPreserveAspectRatio=function(a){cj(this,61,a)};g.setForceTransformation=function(a){cj(this,50,a)};g.setNoDefaultImage=function(a){cj(this,53,a)};
g.setNoCorrectExifOrientation=function(a){cj(this,55,a)};g.setSelectFrameNumber=function(a){dj(this,56,a)};g.setVideoFormat=function(a){dj(this,63,a)};g.setVideoMultiFormat=function(a){gj(this,81,a)};g.setVideoManifest=function(a){cj(this,98,a)};g.setDownloadVideo=function(a){cj(this,90,a)};g.setVideoBegin=function(a){nj(this,68,a)};g.setVideoLength=function(a){nj(this,69,a)};g.setMatchVersion=function(a){cj(this,66,a)};g.setImageDigest=function(a){cj(this,70,a)};
g.setInternalClient=function(a){dj(this,71,a)};g.setMonogram=function(a){cj(this,73,a)};g.setForceMonogram=function(a){return cj(this,84,a)};g.setMonogramDogfood=function(a){cj(this,91,a)};g.setIgnoreLowResProfilePhoto=function(a){cj(this,96,a)};g.setAutoloop=function(a){cj(this,74,a)};g.getImageVersion=function(){return Ut(this,75)};g.setImageVersion=function(a){nj(this,75,a)};g.setPitchDegrees=function(a){lm(this,76,kb(a))};g.setYawDegrees=function(a){lm(this,77,kb(a))};
g.setRollDegrees=function(a){lm(this,78,kb(a))};g.setFovDegrees=function(a){lm(this,79,kb(a))};g.setBadge=function(a){dj(this,85,a)};g.setColorProfile=function(a){dj(this,92,a)};g.setDeepCrop=function(a){gj(this,99,a)};g.setRequestVideoFast=function(a){cj(this,100,a)};g.setVideoFormatFilters=function(a){gj(this,102,a)};g.setDummyCacheKeyModifier=function(a){cj(this,104,a)};g.setGainMap=function(a){cj(this,105,a)};g.setNoGainMap=function(a){cj(this,106,a)};
g.setForceCookieRedirect=function(a){cj(this,108,a)};var jO=function(a){this.value_=void 0;this.childNodes_={};a&&this.setAll(a)};jO.prototype.set=function(a,b){M$b(this,a,b,!1)};jO.prototype.add=function(a,b){M$b(this,a,b,!0)};var M$b=function(a,b,c,d){for(var e=0;e<b.length;e++){var f=b.charAt(e);a.childNodes_[f]||(a.childNodes_[f]=new jO);a=a.childNodes_[f]}if(d&&void 0!==a.value_)throw Error("wd`"+b);a.value_=c};jO.prototype.setAll=function(a){var b=yYb(a);a=wC(a);for(var c=0;c<b.length;c++)this.set(b[c],a[c])};
var N$b=function(a,b){for(var c=0;c<b.length;c++)if(a=a.childNodes_[b.charAt(c)],!a)return;return a};jO.prototype.get=function(a){return(a=N$b(this,a))?a.value_:void 0};jO.prototype.getValues=function(){var a=[];O$b(this,a);return a};var O$b=function(a,b){void 0!==a.value_&&b.push(a.value_);for(var c in a.childNodes_)O$b(a.childNodes_[c],b)};
jO.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]}P$b(c,a,b)}else P$b(this,"",b);return b};var P$b=function(a,b,c){void 0!==a.value_&&c.push(b);for(var d in a.childNodes_)P$b(a.childNodes_[d],b+d,c)};g=jO.prototype;g.containsKey=function(a){return void 0!==this.get(a)};
g.containsValue=function(a){if(this.value_===a)return!0;for(var b in this.childNodes_)if(this.childNodes_[b].containsValue(a))return!0;return!1};g.clear=function(){this.childNodes_={};this.value_=void 0};g.remove=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var e=a.charAt(d);if(!b.childNodes_[e])throw Error("xd`"+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};
g.clone=function(){return new jO(this)};g.getCount=function(){return xYb(this.getValues())};g.isEmpty=function(){return void 0===this.value_&&dc(this.childNodes_)};var S$b=function(){if(!Q$b){var a=Q$b=new jO,b;for(b in R$b)a.add(b,R$b[b])}},Q$b,kO=function(a,b){this.types=a;this.setters=b},R$b={a:new kO([3,0],[function(a,b){a.setEsPortraitApprovedOnly(b)},function(a,b){a.setSelectFrameNumber(b)}]),al:new kO([3],[function(a,b){a.setAutoloop(b)}]),b:new kO([3,0],[function(a,b){a.setBypassTakedown(b)},function(a,b){a.setBorderSize(b)}]),ba:new kO([0],[function(a,b){a.setBadge(b)}]),bc:new kO([0],[function(a,b){a.setBackgroundColor(b)}]),br:new kO([0],[function(a,
b){a.setBorderRadius(b)}]),c:new kO([3,0],[function(a,b){a.setCrop(b)},function(a,b){a.setBorderColor(b)}]),cc:new kO([3],[function(a,b){a.setCircleCrop(b)}]),ci:new kO([3],[function(a,b){a.setImageCrop(b)}]),ckm:new kO([3],[function(a,b){a.setDummyCacheKeyModifier(b)}]),cp:new kO([0],[function(a,b){a.setColorProfile(b)}]),cr:new kO([3],[function(a,b){a.setForceCookieRedirect(b)}]),cv:new kO([0],[function(a,b){a.setFaceCropVersion(b)}]),d:new kO([3],[function(a,b){a.setDownload(b)}]),dc:new kO([5],
[function(a,b){a.setDeepCrop(b)}]),df:new kO([3],[function(a,b){a.setDetectFaces(b)}]),dv:new kO([3],[function(a,b){a.setDownloadVideo(b)}]),e:new kO([0],[function(a,b){a.setExpirationTime(b)}]),em:new kO([0],[function(a,b){a.setExpirationTimeInMinutes(b)}]),f:new kO([4],[function(a,b){a.setImageFilter(b)}]),fg:new kO([3],[function(a,b){a.setForceTileGeneration(b)}]),fh:new kO([3],[function(a,b){a.setHorizontalFlip(b)}]),fm:new kO([3],[function(a,b){a.setForceMonogram(b)}]),fo:new kO([2],[function(a,
b){a.setFovDegrees(b)}]),ft:new kO([3],[function(a,b){a.setForceTransformation(b)}]),fv:new kO([3],[function(a,b){a.setVerticalFlip(b)}]),g:new kO([3],[function(a,b){a.setTileGeneration(b)}]),gd:new kO([3],[function(a,b){a.setPreserveGoogleData(b)}]),gm:new kO([3],[function(a,b){a.setGainMap(b)}]),h:new kO([3,0],[function(a,b){a.setHtml(b)},function(a,b){a.setHeight(b)}]),i:new kO([3],[function(a,b){a.setIncludeMetadata(b)}]),ic:new kO([0],[function(a,b){a.setInternalClient(b)}]),id:new kO([3],[function(a,
b){a.setImageDigest(b)}]),il:new kO([3],[function(a,b){a.setIgnoreLowResProfilePhoto(b)}]),ip:new kO([3],[function(a,b){a.setIncludePublicMetadata(b)}]),iv:new kO([0],[function(a,b){a.setImageVersion(b)}]),j:new kO([1],[function(a,b){a.setFrameId(b)}]),k:new kO([3,0],[function(a,b){a.setKillAnimation(b)},function(a,b){a.setFocusBlur(b)}]),l:new kO([0],[function(a,b){a.setQualityLevel(b)}]),lf:new kO([3],[function(a,b){a.setLooseFaceCrop(b)}]),lo:new kO([3],[function(a,b){a.setLossy(b)}]),m:new kO([0],
[function(a,b){a.setVideoFormat(b)}]),md:new kO([3],[function(a,b){a.setMonogramDogfood(b)}]),mm:new kO([4],[function(a,b){a.setVideoMultiFormat(b)}]),mo:new kO([3],[function(a,b){a.setMonogram(b)}]),mv:new kO([3],[function(a,b){a.setMatchVersion(b)}]),n:new kO([3],[function(a,b){a.setCenterCrop(b)}]),nc:new kO([3],[function(a,b){a.setNoCorrectExifOrientation(b)}]),nd:new kO([3],[function(a,b){a.setNoDefaultImage(b)}]),ng:new kO([3],[function(a,b){a.setStripGeoinfo(b)}]),ngm:new kO([3],[function(a,
b){a.setNoGainMap(b)}]),no:new kO([3],[function(a,b){a.setNoOverlay(b)}]),ns:new kO([3],[function(a,b){a.setNoSilhouette(b)}]),nt0:new kO([4],[function(a,b){a.setVersionedToken(b)}]),nu:new kO([3],[function(a,b){a.setNoUpscale(b)}]),nw:new kO([3],[function(a,b){a.setNoWebp(b)}]),o:new kO([1,3],[function(a,b){a.setObjectId(b)},function(a,b){a.setOverlay(b)}]),p:new kO([3,0],[function(a,b){a.setSmartCrop(b)},function(a,b){a.setFocalPlane(b)}]),pa:new kO([3],[function(a,b){a.setPreserveAspectRatio(b)}]),
pc:new kO([0],[function(a,b){a.setPadColor(b)}]),pd:new kO([3],[function(a,b){a.setPad(b)}]),pf:new kO([3],[function(a,b){a.setSmartCropUseFace(b)}]),pg:new kO([3],[function(a,b){a.setTilePyramidAsProto(b)}]),pi:new kO([2],[function(a,b){a.setPitchDegrees(b)}]),pp:new kO([3],[function(a,b){a.setSmartCropNoClip(b)}]),q:new kO([4],[function(a,b){a.setQueryString(b)}]),r:new kO([3,0],[function(a,b){a.setSkipRefererCheck(b)},function(a,b){a.setRotate(b)}]),ra:new kO([3],[function(a,b){a.setRequestAvif(b)}]),
rf:new kO([3],[function(a,b){a.setRequestVideoFast(b)}]),rg:new kO([3],[function(a,b){a.setRequestGif(b)}]),rh:new kO([3],[function(a,b){a.setRequestH264(b)}]),rj:new kO([3],[function(a,b){a.setRequestJpeg(b)}]),ro:new kO([2],[function(a,b){a.setRollDegrees(b)}]),rp:new kO([3],[function(a,b){a.setRequestPng(b)}]),rw:new kO([3],[function(a,b){a.setRequestWebp(b)}]),rwa:new kO([3],[function(a,b){a.setRequestAnimatedWebp(b)}]),rwu:new kO([3],[function(a,b){a.setRequestWebpUnlessMaybeTransparent(b)}]),
s:new kO([3,0],[function(a,b){a.setStretch(b)},function(a,b){a.setSize(b)}]),sc:new kO([0],[function(a,b){a.setSubstitutionColor(b)}]),sg:new kO([3],[function(a,b){a.setStripGoogleData(b)}]),sm:new kO([3],[function(a,b){a.setStripMetadata(b)}]),t:new kO([4],[function(a,b){a.setToken(b)}]),u:new kO([3],[function(a,b){a.setUnfiltered(b)}]),ut:new kO([3],[function(a,b){a.setUnfilteredWithTransforms(b)}]),v:new kO([0],[function(a,b){a.setQualityBucket(b)}]),vb:new kO([0],[function(a,b){a.setVideoBegin(b)}]),
vf:new kO([4],[function(a,b){a.setVideoFormatFilters(b)}]),vl:new kO([0],[function(a,b){a.setVideoLength(b)}]),vm:new kO([3],[function(a,b){a.setVideoManifest(b)}]),w:new kO([0],[function(a,b){a.setWidth(b)}]),x:new kO([0],[function(a,b){a.setTileX(b)}]),y:new kO([0],[function(a,b){a.setTileY(b)}]),ya:new kO([2],[function(a,b){a.setYawDegrees(b)}]),z:new kO([0],[function(a,b){a.setTileZoom(b)}])};
S$b.prototype.parse=function(a){var b=new L$b,c=new L$b;if(""==a)a=!0;else{a=a.split("-");for(var d=!0,e=0;e<a.length;e++){var f=a[e];if(0==f.length)d=!1;else{var h=f,k=!1;var q=h;var t=h.charAt(0);t!=t.toLowerCase()&&(k=!0,q=h.charAt(0).toLowerCase()+h.substring(1));var w=Q$b;for(t=1;t<=q.length;++t){var y=w,C=q.substring(0,t);if(0==C.length?y.isEmpty():!N$b(y,C))break}q=1==t?null:(q=w.get(q.substring(0,t-1)))?{option:h.substring(0,t-1),value:h.substring(t-1),signed:k,attributes:q}:null;if(q){h=
[];k=[];t=!1;for(w=0;w<q.attributes.types.length;w++){y=q.attributes.types[w];var J=q.value;C=e;if(q.signed&&1==y)for(var I=J.length;12>I&&C<a.length-1;)J+="-"+a[C+1],I=J.length,++C;else if(2==y)for(;C<a.length-1&&a[C+1].match(/^[\d\.]/);)J+="-"+a[C+1],++C;I=q.attributes.setters[w];J=T$b(this,y)(q.option,J,b,c,I);if(null===J){t=!0;e=C;break}else h.push(y),k.push(J)}if(!t)for(q=0;q<k.length;q++)w=h[q],J=k[q],U$b(this,w)(f,J);d=d&&t}else d=!1}}a=d}return new V$b(b,c,a)};
var lO=function(a,b,c,d,e,f){e(c,b);a=a.charAt(0);f=f(a==a.toUpperCase());e(d,f)};g=S$b.prototype;g.parseAndSetIntOption_=function(a,b,c,d,e){if(""==b)return 0;b=fi(b);if(isNaN(b))return 1;lO(a,b,c,d,e,Number);return null};g.logIntParseError_=function(){};g.parseAndSetFloatOption_=function(a,b,c,d,e){if(""==b)return 0;b=Xk(b);if(isNaN(b))return 1;lO(a,b,c,d,e,Number);return null};g.logFloatParseError_=function(){};
g.parseAndSetBoolOption_=function(a,b,c,d,e){if(""!=b)return 2;lO(a,!0,c,d,e,Boolean);return null};g.logBoolParseError_=function(){};g.parseAndSetStringOption_=function(a,b,c,d,e){if(""==b)return 0;lO(a,b,c,d,e,function(f){return f?"1":""});return null};g.logStringParseError_=function(){};g.parseAndSetUint64Base64Option_=function(a,b,c,d,e){if(""==b)return 0;lO(a,b,c,d,e,function(f){return f?1:0});return null};
var T$b=function(a,b){switch(b){case 0:return yt(a.parseAndSetIntOption_,a);case 2:return yt(a.parseAndSetFloatOption_,a);case 3:return yt(a.parseAndSetBoolOption_,a);case 4:return yt(a.parseAndSetStringOption_,a);case 1:return yt(a.parseAndSetUint64Base64Option_,a);default:return function(){}}},U$b=function(a,b){switch(b){case 0:return yt(a.logIntParseError_,a);case 2:return yt(a.logFloatParseError_,a);case 3:return yt(a.logBoolParseError_,a);case 4:case 1:return yt(a.logStringParseError_,a);default:return function(){}}},
V$b=function(a,b,c){this.valueProto_=a;this.signatureFlagProto_=b;this.valid_=c};V$b.prototype.isValid=function(){return this.valid_};var W$b=function(a,b){null!=a&&this.append.apply(this,arguments)};g=W$b.prototype;g.buffer_="";g.set=function(a){this.buffer_=""+a};g.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};g.clear=function(){this.buffer_=""};g.getLength=function(){return this.buffer_.length};g.toString=function(){return this.buffer_};var mO=function(a){this.parser_=null;this.components_=[];this.parsedOptions_=null;X$b(this,a)};mO.prototype.getParsedOptions=function(){return this.parsedOptions_};var Y$b=function(a){null==a.parser_&&(a.parser_=new S$b);return a.parser_},X$b=function(a,b){a.parsedOptions_=b?"string"===typeof b?Y$b(a).parse(b):b:Y$b(a).parse("")},nO=function(a,b){return a==b?!1:!0};g=mO.prototype;
g.setEsPortraitApprovedOnly=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,21)&&b.setEsPortraitApprovedOnly(a);return this};g.setSelectFrameNumber=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,Tt(c,56),Tt(b.signatureFlagProto_,56))&&c.setSelectFrameNumber(a)};g.setAutoloop=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,74)&&b.setAutoloop(a)};
g.setBypassTakedown=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Hi(b,23,!1)&&b.setBypassTakedown(a)};g.setBorderSize=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,Tt(c,38),Tt(b.signatureFlagProto_,38))&&c.setBorderSize(a)};g.setBadge=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,Tt(c,85),Tt(b.signatureFlagProto_,85))&&c.setBadge(a)};
g.setBackgroundColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,c.getBackgroundColor(),b.signatureFlagProto_.getBackgroundColor())&&c.setBackgroundColor(a)};g.setBorderRadius=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,Tt(c,86),Tt(b.signatureFlagProto_,86))&&c.setBorderRadius(a)};g.setCrop=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Hi(b,2,!1)&&b.setCrop(a);return this};
g.setBorderColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,Tt(c,39),Tt(b.signatureFlagProto_,39))&&c.setBorderColor(a)};g.setCircleCrop=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,51)&&b.setCircleCrop(a);return this};g.setImageCrop=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,32)&&b.setImageCrop(a);return this};g.setDummyCacheKeyModifier=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,104)&&b.setDummyCacheKeyModifier(a)};
g.setColorProfile=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,Tt(c,92),Tt(b.signatureFlagProto_,92))&&c.setColorProfile(a)};g.setForceCookieRedirect=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,108)&&b.setForceCookieRedirect(a)};g.setFaceCropVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,Tt(c,94),Tt(b.signatureFlagProto_,94))&&c.setFaceCropVersion(a)};
g.setDownload=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Hi(b,3,!1)&&b.setDownload(a)};g.setDeepCrop=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=wj(b,99)&&b.setDeepCrop(a)};g.setDetectFaces=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,80)&&b.setDetectFaces(a)};g.setDownloadVideo=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,90)&&b.setDownloadVideo(a)};
g.setExpirationTime=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,Tt(c,15),Tt(b.signatureFlagProto_,15))&&c.setExpirationTime(a)};g.setExpirationTimeInMinutes=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,Tt(c,107),Tt(b.signatureFlagProto_,107))&&c.setExpirationTimeInMinutes(a)};g.setImageFilter=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=wj(b,16)&&b.setImageFilter(a);return this};
g.setForceTileGeneration=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Hi(b,34,!1)&&b.setForceTileGeneration(a)};g.setHorizontalFlip=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,30)&&b.setHorizontalFlip(a)};g.setForceMonogram=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,84)&&b.setForceMonogram(a);return this};g.setFovDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,pq(c,79),pq(b.signatureFlagProto_,79))&&c.setFovDegrees(a)};
g.setForceTransformation=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,50)&&b.setForceTransformation(a)};g.setVerticalFlip=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,31)&&b.setVerticalFlip(a)};g.setTileGeneration=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Hi(b,14,!1)&&b.setTileGeneration(a)};g.setPreserveGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,83)&&b.setPreserveGoogleData(a)};
g.setGainMap=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,105)&&b.setGainMap(a)};g.setHtml=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Hi(b,4,!1)&&b.setHtml(a)};g.setHeight=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,c.getHeight(),b.signatureFlagProto_.getHeight())&&c.setHeight(a);return this};g.setIncludeMetadata=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,22)&&b.setIncludeMetadata(a)};
g.setInternalClient=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,Tt(c,71),Tt(b.signatureFlagProto_,71))&&c.setInternalClient(a)};g.setImageDigest=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,70)&&b.setImageDigest(a)};g.setIgnoreLowResProfilePhoto=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,96)&&b.setIgnoreLowResProfilePhoto(a)};g.setIncludePublicMetadata=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,54)&&b.setIncludePublicMetadata(a)};
g.setImageVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,c.getImageVersion(),b.signatureFlagProto_.getImageVersion())&&c.setImageVersion(a)};g.setFrameId=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;nO(a,Vt(c,29),Vt(b.signatureFlagProto_,29))&&c.setFrameId(a)};g.setKillAnimation=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,17)&&b.setKillAnimation(a);return this};
g.setFocusBlur=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,Tt(c,42),Tt(b.signatureFlagProto_,42))&&c.setFocusBlur(a)};g.setQualityLevel=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,Tt(c,44),Tt(b.signatureFlagProto_,44))&&c.setQualityLevel(a);return this};g.setLooseFaceCrop=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,65)&&b.setLooseFaceCrop(a);return this};g.setLossy=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,97)&&b.setLossy(a)};
g.setVideoFormat=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,Tt(c,63),Tt(b.signatureFlagProto_,63))&&c.setVideoFormat(a)};g.setMonogramDogfood=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,91)&&b.setMonogramDogfood(a)};g.setVideoMultiFormat=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=wj(b,81)&&b.setVideoMultiFormat(a)};g.setMonogram=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,73)&&b.setMonogram(a)};
g.setMatchVersion=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,66)&&b.setMatchVersion(a)};g.setCenterCrop=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Hi(b,20,!1)&&b.setCenterCrop(a);return this};g.setNoCorrectExifOrientation=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,55)&&b.setNoCorrectExifOrientation(a)};g.setNoDefaultImage=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,53)&&b.setNoDefaultImage(a)};
g.setStripGeoinfo=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,95)&&b.setStripGeoinfo(a)};g.setNoGainMap=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,106)&&b.setNoGainMap(a)};g.setNoOverlay=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Hi(b,37,!1)&&b.setNoOverlay(a);return this};g.setNoSilhouette=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,40)&&b.setNoSilhouette(a)};
g.setVersionedToken=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=wj(b,36)&&b.setVersionedToken(a)};g.setNoUpscale=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,46)&&b.setNoUpscale(a)};g.setNoWebp=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Hi(b,48,!1)&&b.setNoWebp(a)};g.setObjectId=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;nO(a,Vt(c,7),Vt(b.signatureFlagProto_,7))&&c.setObjectId(a)};
g.setOverlay=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;nO(a,c.getOverlay(),b.signatureFlagProto_.getOverlay())&&c.setOverlay(a);return this};g.setSmartCrop=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Hi(b,19,!1)&&b.setSmartCrop(a);return this};g.setFocalPlane=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,Tt(c,43),Tt(b.signatureFlagProto_,43))&&c.setFocalPlane(a)};
g.setPreserveAspectRatio=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,61)&&b.setPreserveAspectRatio(a)};g.setPadColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,Tt(c,88),Tt(b.signatureFlagProto_,88))&&c.setPadColor(a)};g.setPad=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,60)&&b.setPad(a);return this};g.setSmartCropUseFace=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Hi(b,67,!1)&&b.setSmartCropUseFace(a);return this};
g.setTilePyramidAsProto=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Hi(b,72,!1)&&b.setTilePyramidAsProto(a)};g.setPitchDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,pq(c,76),pq(b.signatureFlagProto_,76))&&c.setPitchDegrees(a)};g.setSmartCropNoClip=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Hi(b,52,!1)&&b.setSmartCropNoClip(a);return this};g.setQueryString=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=wj(b,28)&&b.setQueryString(a)};
g.setSkipRefererCheck=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Hi(b,6,!1)&&b.setSkipRefererCheck(a)};g.setRotate=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,Tt(c,26),Tt(b.signatureFlagProto_,26))&&c.setRotate(a);return this};g.setRequestAvif=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Hi(b,103,!1)&&b.setRequestAvif(a)};g.setRequestVideoFast=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,100)&&b.setRequestVideoFast(a)};
g.setRequestGif=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,59)&&b.setRequestGif(a)};g.setRequestH264=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Hi(b,49,!1)&&b.setRequestH264(a);return this};g.setRequestJpeg=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,57)&&b.setRequestJpeg(a);return this};g.setRollDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,pq(c,78),pq(b.signatureFlagProto_,78))&&c.setRollDegrees(a)};
g.setRequestPng=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,58)&&b.setRequestPng(a);return this};g.setRequestWebp=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Hi(b,35,!1)&&b.setRequestWebp(a);return this};g.setRequestAnimatedWebp=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Hi(b,64,!1)&&b.setRequestAnimatedWebp(a)};g.setRequestWebpUnlessMaybeTransparent=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Hi(b,41,!1)&&b.setRequestWebpUnlessMaybeTransparent(a)};
g.setStretch=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,33)&&b.setStretch(a);return this};g.setSize=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,c.getSize(),b.signatureFlagProto_.getSize())&&c.setSize(a);return this};g.setSubstitutionColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,Tt(c,89),Tt(b.signatureFlagProto_,89))&&c.setSubstitutionColor(a)};
g.setStripGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,82)&&b.setStripGoogleData(a)};g.setStripMetadata=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,93)&&b.setStripMetadata(a)};g.setToken=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;nO(a,c.getToken(),b.signatureFlagProto_.getToken())&&c.setToken(a);return this};g.setUnfiltered=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,18)&&b.setUnfiltered(a)};
g.setUnfilteredWithTransforms=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,45)&&b.setUnfilteredWithTransforms(a)};g.setQualityBucket=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,Tt(c,62),Tt(b.signatureFlagProto_,62))&&c.setQualityBucket(a);return this};g.setVideoBegin=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,Ut(c,68),Ut(b.signatureFlagProto_,68))&&c.setVideoBegin(a)};
g.setVideoFormatFilters=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=wj(b,102)&&b.setVideoFormatFilters(a)};g.setVideoLength=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,Ut(c,69),Ut(b.signatureFlagProto_,69))&&c.setVideoLength(a)};g.setVideoManifest=function(a){a=a||void 0;var b=this.parsedOptions_.valueProto_;a!=Vr(b,98)&&b.setVideoManifest(a)};
g.setWidth=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,c.getWidth(),b.signatureFlagProto_.getWidth())&&c.setWidth(a);return this};g.setTileX=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,Tt(c,9),Tt(b.signatureFlagProto_,9))&&c.setTileX(a)};g.setTileY=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,Tt(c,10),Tt(b.signatureFlagProto_,10))&&c.setTileY(a)};
g.setYawDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,pq(c,77),pq(b.signatureFlagProto_,77))&&c.setYawDegrees(a)};g.setTileZoom=function(a){var b=this.parsedOptions_,c=b.valueProto_;nO(a,Tt(c,11),Tt(b.signatureFlagProto_,11))&&c.setTileZoom(a)};g.setOptions=function(a){X$b(this,a)};
g.build=function(){this.components_.length=0;var a=this.parsedOptions_,b=a.valueProto_;a=a.signatureFlagProto_;oO(this,"s",b.getSize(),a.getSize());oO(this,"w",b.getWidth(),a.getWidth());pO(this,"c",Hi(b,2,!1),Hi(a,2,!1));pO(this,"d",Hi(b,3,!1),Hi(a,3,!1));oO(this,"h",b.getHeight(),a.getHeight());pO(this,"s",Vr(b,33),Vr(a,33));pO(this,"h",Hi(b,4,!1),Hi(a,4,!1));pO(this,"p",Hi(b,19,!1),Hi(a,19,!1));pO(this,"pp",Hi(b,52,!1),Hi(a,52,!1));pO(this,"pf",Hi(b,67,!1),Hi(a,67,!1));pO(this,"n",Hi(b,20,!1),
Hi(a,20,!1));oO(this,"r",Tt(b,26),Tt(a,26));pO(this,"r",Hi(b,6,!1),Hi(a,6,!1));pO(this,"o",b.getOverlay(),a.getOverlay());var c=Vt(b,7);qO(this,"o",c,Vt(a,7));c=Vt(b,29);qO(this,"j",c,Vt(a,29));oO(this,"x",Tt(b,9),Tt(a,9));oO(this,"y",Tt(b,10),Tt(a,10));oO(this,"z",Tt(b,11),Tt(a,11));pO(this,"g",Hi(b,14,!1),Hi(a,14,!1));oO(this,"e",Tt(b,15),Tt(a,15));qO(this,"f",wj(b,16),wj(a,16));pO(this,"k",Vr(b,17),Vr(a,17));pO(this,"u",Vr(b,18),!0);pO(this,"ut",Vr(b,45),!0);pO(this,"i",Vr(b,22),!0);pO(this,"a",
Vr(b,21),Vr(a,21));pO(this,"b",Hi(b,23,!1),Hi(a,23,!1));oO(this,"b",Tt(b,38),Tt(a,38));oO(this,"c",Tt(b,39),Tt(a,39),16,8);qO(this,"q",wj(b,28),wj(a,28));pO(this,"fh",Vr(b,30),Vr(a,30));pO(this,"fv",Vr(b,31),Vr(a,31));pO(this,"fg",Hi(b,34,!1),Hi(a,34,!1));pO(this,"ci",Vr(b,32),Vr(a,32));qO(this,"t",b.getToken(),a.getToken());qO(this,"nt0",wj(b,36),wj(a,36));pO(this,"rw",Hi(b,35,!1),Hi(a,35,!1));pO(this,"rwu",Hi(b,41,!1),Hi(a,41,!1));pO(this,"rwa",Hi(b,64,!1),Hi(a,64,!1));pO(this,"nw",Hi(b,48,!1),
Hi(a,48,!1));pO(this,"rh",Hi(b,49,!1),Hi(a,49,!1));pO(this,"no",Hi(b,37,!1),Hi(a,37,!1));pO(this,"ns",Vr(b,40),Vr(a,40));oO(this,"k",Tt(b,42),Tt(a,42));oO(this,"p",Tt(b,43),Tt(a,43));oO(this,"l",Tt(b,44),Tt(a,44));oO(this,"v",Tt(b,62),Tt(a,62));pO(this,"nu",Vr(b,46),Vr(a,46));pO(this,"ft",Vr(b,50),Vr(a,50));pO(this,"cc",Vr(b,51),Vr(a,51));pO(this,"nd",Vr(b,53),Vr(a,53));pO(this,"ip",Vr(b,54),Vr(a,54));pO(this,"nc",Vr(b,55),Vr(a,55));oO(this,"a",Tt(b,56),Tt(a,56));pO(this,"rj",Vr(b,57),Vr(a,57));pO(this,
"rp",Vr(b,58),Vr(a,58));pO(this,"rg",Vr(b,59),Vr(a,59));pO(this,"pd",Vr(b,60),Vr(a,60));pO(this,"pa",Vr(b,61),Vr(a,61));oO(this,"m",Tt(b,63),Tt(a,63));oO(this,"vb",Ut(b,68),Ut(a,68));oO(this,"vl",Ut(b,69),Ut(a,69));pO(this,"lf",Vr(b,65),Vr(a,65));pO(this,"mv",Vr(b,66),Vr(a,66));pO(this,"id",Vr(b,70),Vr(a,70));oO(this,"ic",Tt(b,71),!0);pO(this,"pg",Hi(b,72,!1),Hi(a,72,!1));pO(this,"mo",Vr(b,73),Vr(a,73));pO(this,"al",Vr(b,74),Vr(a,74));oO(this,"iv",b.getImageVersion(),a.getImageVersion());oO(this,
"pi",pq(b,76),pq(a,76));oO(this,"ya",pq(b,77),pq(a,77));oO(this,"ro",pq(b,78),pq(a,78));oO(this,"fo",pq(b,79),pq(a,79));pO(this,"df",Vr(b,80),Vr(a,80));qO(this,"mm",wj(b,81),wj(a,81));pO(this,"sg",Vr(b,82),Vr(a,82));pO(this,"gd",Vr(b,83),Vr(a,83));pO(this,"fm",Vr(b,84),Vr(a,84));oO(this,"ba",Tt(b,85),Tt(a,85));oO(this,"br",Tt(b,86),Tt(a,86));oO(this,"bc",b.getBackgroundColor(),a.getBackgroundColor(),16,8);oO(this,"pc",Tt(b,88),Tt(a,88),16,8);oO(this,"sc",Tt(b,89),Tt(a,89),16,8);pO(this,"dv",Vr(b,
90),Vr(a,90));pO(this,"md",Vr(b,91),Vr(a,91));oO(this,"cp",Tt(b,92),Tt(a,92));pO(this,"sm",Vr(b,93),Vr(a,93));oO(this,"cv",Tt(b,94),Tt(a,94));pO(this,"ng",Vr(b,95),Vr(a,95));pO(this,"il",Vr(b,96),Vr(a,96));pO(this,"lo",Vr(b,97),Vr(a,97));pO(this,"vm",Vr(b,98),Vr(a,98));qO(this,"dc",wj(b,99),wj(a,99));pO(this,"rf",Vr(b,100),Vr(a,100));qO(this,"vf",wj(b,102),wj(a,102));pO(this,"ra",Hi(b,103,!1),Hi(a,103,!1));pO(this,"ckm",Vr(b,104),Vr(a,104));pO(this,"gm",Vr(b,105),Vr(a,105));pO(this,"ngm",Vr(b,106),
Vr(a,106));oO(this,"em",Tt(b,107),Tt(a,107));pO(this,"cr",Vr(b,108),Vr(a,108));return this.components_.join("-")};
var oO=function(a,b,c,d,e,f){if(null!=c){var h=void 0==e||10!=e&&16!=e?10:e;c=c.toString(h);e=new W$b;e.append(16==h?"0x":"");h=e.append;void 0==f?f="":(f-=c.length,f=0>=f?"":KMb("0",f));h.call(e,f);e.append(c);Z$b(a,b,e.toString(),!!d)}},pO=function(a,b,c,d){c&&Z$b(a,b,"",!!d)},qO=function(a,b,c,d){c&&Z$b(a,b,c,!!d)},Z$b=function(a,b,c,d){d&&(b=b.charAt(0).toUpperCase()+b.substring(1));a.components_.push(b+c)};var rO=function(a){mO.call(this,a)};At(rO,mO);g=rO.prototype;g.setCrop=function(a){a&&sO(this);return rO.superClass_.setCrop.call(this,a)};g.setHeight=function(a){a=null==a||0>a?void 0:a;null!=a&&this.setSize();return rO.superClass_.setHeight.call(this,a)};g.setStretch=function(a){a&&sO(this);return rO.superClass_.setStretch.call(this,a)};g.setQualityLevel=function(a){return rO.superClass_.setQualityLevel.call(this,a)};
g.setImageFilter=function(a){a&&(a=a.replace(";",":"));return rO.superClass_.setImageFilter.call(this,a)};g.setImageCrop=function(a){a&&sO(this);return rO.superClass_.setImageCrop.call(this,a)};g.setCircleCrop=function(a){a&&sO(this);return rO.superClass_.setCircleCrop.call(this,a)};g.setSize=function(a){Aa(a)&&(a=Math.max(a.width,a.height));a=null==a||0>a?void 0:a;null!=a&&(this.setWidth(),this.setHeight());return rO.superClass_.setSize.call(this,a)};
g.setSmartCrop=function(a){a&&sO(this);return rO.superClass_.setSmartCrop.call(this,a)};g.setSmartCropNoClip=function(a){a&&sO(this);return rO.superClass_.setSmartCropNoClip.call(this,a)};g.setSmartCropUseFace=function(a){a&&sO(this);return rO.superClass_.setSmartCropUseFace.call(this,a)};g.setCenterCrop=function(a){a&&sO(this);return rO.superClass_.setCenterCrop.call(this,a)};g.setPad=function(a){a&&sO(this);return rO.superClass_.setPad.call(this,a)};
g.setWidth=function(a){a=null==a||0>a?void 0:a;null!=a&&this.setSize();return rO.superClass_.setWidth.call(this,a)};var sO=function(a){a.setCenterCrop();a.setCircleCrop();a.setCrop();a.setImageCrop();a.setPad();a.setSmartCrop();a.setSmartCropNoClip();a.setSmartCropUseFace()};
rO.prototype.build=function(){var a=this.getParsedOptions().valueProto_;Vr(a,18)||Vr(a,45)?a.getSize()||this.setSize(0):(a=this.getParsedOptions().valueProto_,a.getSize()||a.getWidth()||a.getHeight()||(this.setSize(),this.setHeight(),this.setWidth(),sO(this)));return rO.superClass_.build.call(this)};var $$b=/^[^\/]*\/\//,tO=function(a,b){b=void 0===b?!1:b;this.original_=a;this.originalPrefix_="";(a=this.original_.match($$b))&&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_=HC(a,!0);this.isFreeformUrl_=b;this.valid_=!0;this.obfuscated_=!1},aac=function(a,b){a.pathPrefix_=a.pathPrefix_?a.pathPrefix_+("/"+b):b},uO=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]&&(aac(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)aac(a,
a.components_[0]);else if("image"==a.components_[0])aac(a,a.components_[0]);else if(7==b||3==b)return a.valid_=!1,a.components_;if(3>=b){a.obfuscated_=!0;3==b&&(aac(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_};tO.prototype.isValid=function(){uO(this);return this.valid_};var bac=function(a){uO(a);return a.obfuscated_},cac=function(a){uO(a);return a.isFreeformUrl_};
tO.prototype.getDomain=function(){var a=this.uri_.getPort();return this.uri_.getDomain()+(a?":"+a:"")};tO.prototype.getQuery=function(){return this.uri_.queryData_.toString()};var vO=function(a){uO(a);void 0==a.pathPrefix_&&(a.pathPrefix_=null);return a.pathPrefix_};tO.prototype.hasOptions=function(){switch(uO(this).length){case 7:return!0;case 6:return null==vO(this);case 5:return!1;case 3:return!0;case 2:return null==vO(this);case 1:return!1;default:return!1}};
var wO=function(a,b){if(cac(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=uO(a)[b]}else if(bac(a))a:{var c=null!=vO(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=uO(a)[b]}else a:{c=null!=vO(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=uO(a)[b]}return a};g=tO.prototype;g.getObfuscatedGaiaId=function(){void 0==this.obfuscatedGaiaId_&&(this.obfuscatedGaiaId_=wO(this,0));return this.obfuscatedGaiaId_};g.getPhotoId=function(){void 0==this.photoId_&&(this.photoId_=wO(this,1));return this.photoId_};g.getImageVersion=function(){void 0==this.imageVersion_&&(this.imageVersion_=wO(this,2));return this.imageVersion_};g.getOptions=function(){void 0==this.options_&&(this.options_=wO(this,4));return this.options_};
g.getFilename=function(){void 0==this.filename_&&(this.filename_=wO(this,5));return this.filename_};var dac=function(){};dac.prototype.parse=function(a,b){return new eac(a,void 0===b?!1:b)};var eac=function(a,b){tO.call(this,a,void 0===b?!1:b)};Y(eac,tO);eac.prototype.getParsedOptions=function(){if(void 0==this.parsedOptions_){var a=this.getOptions();a||(a="");this.parsedOptions_=(new S$b).parse(a)}return this.parsedOptions_};var xO=function(a,b){b=void 0===b?!1:b;this.parsedImageUrl_=null;a instanceof eac||(void 0==fac&&(fac=new dac),a=fac.parse(a.toString(),b));this.parsedImageUrl_=a;a=this.parsedImageUrl_.getParsedOptions();mO.call(this,a);this.protocolPrefix_=this.parsedImageUrl_.originalPrefix_;this.domain_=this.parsedImageUrl_.getDomain();this.query_=this.parsedImageUrl_.getQuery()},fac;At(xO,rO);xO.prototype.isValid=function(){return this.parsedImageUrl_.isValid()};
xO.prototype.build=function(){if(!this.parsedImageUrl_.isValid())return this.parsedImageUrl_.original_;var a=xO.superClass_.build.call(this),b=[];null!=vO(this.parsedImageUrl_)&&b.push(vO(this.parsedImageUrl_));var c=cac(this.parsedImageUrl_);if(bac(this.parsedImageUrl_)){var d=this.parsedImageUrl_;void 0==d.obfuscatedData_&&(d.obfuscatedData_=wO(d,6));b.push(d.obfuscatedData_+(a?"="+a:""))}else if(c){d=b.push;var e=this.parsedImageUrl_;void 0===e.freeformUrlPath_&&(e.freeformUrlPath_=wO(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_=wO(e,3)),d.call(b,e.signature_),a&&b.push(a),b.push(this.parsedImageUrl_.getFilename());a=c?b.join("="):b.join("/");a=HC(this.protocolPrefix_+this.domain_+"/"+a+(this.query_?"?"+this.query_:"")).toString();a.startsWith("%3a//")&&(a=a.replace("%3a//","://"));
return a};var gac=/\/\/lh[3-6]\./,hac=function(a,b,c,d){if(!a||!K$b(String(a)))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(gac,"//lh3.");return(new xO(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 iac=[[["onedev-hovercard-action"]],[["","onedev-additional-content",""]]],yO=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 f$b(c.peopleService,d)}),D(function(d){if(d){var e=Object,f=e.assign;if(d.imageUrl){var h=d.imageUrl;if(K$b(h)){var k=new xO(h);k.setSize(48);h=k.build()||h}}else h=d.imageUrl;d=f.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)};yO.prototype.ngOnInit=function(){var a=this;this.person$.pipe(Qe(),bf(this.destroyed$)).subscribe(function(){a.init.next()});this.enableWaldo&&jac(this)};var jac=function(a){a.waldoService&&a.person$.pipe(af(function(b){return b?D$b(a.waldoService,b.email):(0,E.of)("")}),bf(a.destroyed$)).subscribe(function(b){a.outOfOfficeDescription$.next(b)})};
Gh.Object.defineProperties(yO.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return this.emailInternal},set:function(a){this.emailInternal=a;this.providedEmail$.next(a)}}});yO.\u0275fac=function(a){return new (a||yO)(B(AN),B(gO,8))};
yO.\u0275cmp=r({type:yO,selectors:[["onedev-person-hovercard"]],inputs:{email:"email",enableWaldo:"enableWaldo"},outputs:{init:"init"},standalone:!0,features:[dg],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&&(Vf(iac),F(0,cLa,4,4,"onedev-person-hovercard-body",0),W(1,"async"));a&2&&G("ngIf",X(1,1,b.person$))},dependencies:[hw,Uv,$v,
CN,tN,iO],encapsulation:2,changeDetection:0});var kac=[[["onedev-hovercard-action"],["",8,"actions"]]],zO=function(){};zO.prototype.ngOnInit=function(){};zO.\u0275fac=function(a){return new (a||zO)};
zO.\u0275cmp=r({type:zO,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&&(Vf(kac),F(0,dLa,3,3,"onedev-person-hovercard",0))},dependencies:[yO,iK,jK],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 AO=function(){this.isNonObfuscatedEmail=zn};AO.\u0275fac=function(a){return new (a||AO)};
AO.\u0275cmp=r({type:AO,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&&(Vf(),F(0,fLa,6,4,"ng-container",0)(1,gLa,1,0,"ng-template",null,1,tg));if(a&2){var c=S(2);G("ngIf",!!b.email&&b.isNonObfuscatedEmail(b.email))("ngIfElse",
c)}},dependencies:[Uv,Zv,hK,mK,zO],encapsulation:2,changeDetection:0});var BO=function(){};BO.prototype.transform=function(a){if(zn(a))return a};BO.\u0275fac=function(a){return new (a||BO)};BO.\u0275pipe=Wc({name:"omitObfuscatedEmail",type:BO,pure:!0});var CO=function(a){this.internalArray_=m(a)};Y(CO,n);CO.prototype.getDisplayName=function(){return xi(this,1)};CO.prototype.setDisplayName=function(a){return gj(this,1,a)};CO.prototype.getPhotoUrl=function(){return xi(this,2)};var DO=function(a){this.internalArray_=m(a,0,DO.messageId)};Y(DO,n);DO.messageId="b.UserProfileBatchResponse";var EO=function(a,b){var c=this;this.userProfilesBatchApiConfig=a;this.batchApiAdapter=b;this.batchAdaptedGet=this.batchApiAdapter.adapt(this.userProfilesBatchApiConfig);this.memoizingUserProfileMap=new u4b(function(d){return c.batchAdaptedGet(d)},100)};EO.prototype.get=function(a){return this.memoizingUserProfileMap.get(a)};EO.\u0275fac=function(a){return new (a||EO)(p(FO),p(dF))};EO.\u0275prov=Dc({token:EO,factory:EO.\u0275fac,providedIn:"root"});var FO=function(a){this.executor=a};
FO.prototype.call=function(a){return this.executor.get({url:"action/user_profiles",options:{params:{usernames:[].concat(u(a)).join(",")}},responseConstructor:DO}).pipe(Le(function(){return(0,E.of)(new DO)}))};FO.prototype.split=function(a,b){return(a=Mb(b,1,CO,wb).get(a))?{photoUrl:a.getPhotoUrl(),highResolutionPhotoUrl:xi(a,3),displayName:a.getDisplayName()}:void 0};FO.\u0275fac=function(a){return new (a||FO)(p(SD))};FO.\u0275prov=Dc({token:FO,factory:FO.\u0275fac,providedIn:"root"});var GO=function(a){this.refreshMonitor=a;this.user="";this.coinonly=null};GO.\u0275fac=function(a){return new (a||GO)(B(gI))};GO.\u0275cmp=r({type:GO,selectors:[["b-availability-chip"]],inputs:{user:"user",coinonly:"coinonly"},decls:1,vars:1,consts:[[3,"refreshable"],[3,"user"]],template:function(a,b){a&1&&F(0,hLa,1,2,"ng-template",0);a&2&&G("refreshable",b.refreshMonitor.getObservable())},dependencies:[hO,WL],styles:["waldo-availability-chip[_ngcontent-%COMP%] { margin-left: 5px; }"],changeDetection:0});var lac=function(){this.issueId="";this.customFieldMap={};this.currentUserEmail="";this.user=this.originalModelData=null;this.componentId=0;this.severity=this.priority=this.type=null;this.title="";this.verifierUser=this.verifier=this.assigneeUser=this.assignee=this.reporterUser=this.reporter=null;this.cc=[];this.ccUsers=[];this.collaborators=[];this.collaboratorsUsers=[];this.hotlistId=this.verifiedInVersion=this.targetedToVersion=this.foundInVersion=this.postmortems=this.changelist=this.blockingIssueId=
this.blockedByIssueId=this.duplicateOfIssueId=null;this.customField=[];this.duplicateIssueId=this.deletionReason=this.isDeleted=null;this.isArchived=this.inProd=!1;this.effortEstimate=this.sloSnoozeType=this.sloEndTime=this.sloStartTime=null;this.status="NEW"};
lac.prototype.setData=function(a,b,c){this.issueId=b;a=ai(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=ai(a);this.assignee=mi(a.assigneeUser);this.assigneeUser=a.assigneeUser;this.blockedByIssueId=a.blockedByIssueId;this.blockingIssueId=a.blockingIssueId;this.cc=oi(a.ccUsers)||[];this.ccUsers=a.ccUsers||[];this.collaborators=oi(a.collaboratorsUsers)||[];this.collaboratorsUsers=a.collaboratorsUsers||[];this.changelist=a.changelist;this.componentId=a.componentId||0;this.deletionReason=a.deletionReason;this.duplicateIssueId=
a.duplicateIssueId;this.duplicateOfIssueId=a.duplicateOfIssueId;this.foundInVersion=a.foundInVersion;this.hotlistId=a.hotlistId;this.inProd=a.inProd;this.isArchived=a.isArchived;this.isDeleted=a.isDeleted;this.postmortems=a.postmortems;this.priority=a.priority;this.reporter=mi(a.reporterUser);this.reporterUser=a.reporterUser;this.severity=a.severity;this.status=a.status||"NEW";this.targetedToVersion=a.targetedToVersion;this.title=a.title;this.type=a.type;this.verifiedInVersion=a.verifiedInVersion;
this.verifier=mi(a.verifierUser);this.verifierUser=a.verifierUser;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(f){return f}).map(function(f){return new mac(f)}));c=l(c);e=c.next();for(d={};!e.done;d={fieldResource:d.fieldResource},e=c.next())d.fieldResource=e.value,e=d.fieldResource.allowedValue?
d.fieldResource.allowedValue.map(function(f){return{value:f,displayText:f}}):null,(a=this.customField.find(function(f){return function(h){return h.customFieldId===f.fieldResource.customFieldId}}(d)))?(a.type=d.fieldResource.type,a.customFieldName=d.fieldResource.name,a.choices=e,this.customFieldMap[String(d.fieldResource.customFieldId)]=a):(a=new mac({customFieldId:d.fieldResource.customFieldId}),a.type=d.fieldResource.type,a.customFieldName=d.fieldResource.name,a.choices=e,this.customFieldMap[String(d.fieldResource.customFieldId)]=
a)};
var oac=function(a){for(var b=[],c=l(Object.values(a.customFieldMap)),d=c.next();!d.done;d=c.next()){d=d.value;var e=nac(a,d.customFieldId);if(!$h(e?yo(e):null,yo(d))){if(e=zo(d))d.textValue="";b.push({fieldName:"customField",customFieldValue:d,actionType:e?"REMOVE":"ADD"})}}if(a.originalModelData){HO(mi(a.originalModelData.assigneeUser),a.assignee,"assignee",b);HO(a.originalModelData.componentId,a.componentId,"componentId",b,!0);HO(a.originalModelData.deletionReason,a.deletionReason,"deletionReason",b);
HO(a.originalModelData.duplicateOfIssueId,a.duplicateOfIssueId,"duplicateOfIssueId",b);HO(a.originalModelData.inProd,a.inProd,"inProd",b);HO(a.originalModelData.isArchived,a.isArchived,"isArchived",b);HO(a.originalModelData.isDeleted,a.isDeleted,"isDeleted",b);HO(a.originalModelData.priority,a.priority,"priority",b);HO(mi(a.originalModelData.reporterUser),a.reporter,"reporter",b);HO(a.originalModelData.severity,a.severity,"severity",b);HO(a.originalModelData.status,a.status,"status",b);HO(a.originalModelData.title,
a.title,"title",b);HO(a.originalModelData.type,a.type,"type",b);HO(mi(a.originalModelData.verifierUser),a.verifier,"verifier",b);var f,h,k,q;HO(null!=(k=null==(f=a.originalModelData.sloStartTime)?void 0:f.seconds)?k:null,null!=(q=null==(h=a.sloStartTime)?void 0:h.seconds)?q:null,"sloStartTime",b);var t,w,y,C;HO(null!=(y=null==(t=a.originalModelData.sloEndTime)?void 0:t.seconds)?y:null,null!=(C=null==(w=a.sloEndTime)?void 0:w.seconds)?C:null,"sloEndTime",b);HO(a.originalModelData.sloSnoozeType,a.sloSnoozeType,
"sloSnoozeType",b);var J,I;HO(null!=(I=null==(J=a.originalModelData.effort)?void 0:J.estimate)?I:null,a.effortEstimate,"effortEstimate",b);IO(oi(a.originalModelData.ccUsers),a.cc,"ccs",b);IO(oi(a.originalModelData.collaboratorsUsers),a.collaborators,"collaborators",b);IO(a.originalModelData.changelist,a.changelist,"changelists",b);IO(a.originalModelData.blockedByIssueId,a.blockedByIssueId,"blockedByIssueId",b);IO(a.originalModelData.blockingIssueId,a.blockingIssueId,"blockingIssueId",b);IO(a.originalModelData.foundInVersion,
a.foundInVersion,"foundInVersion",b);IO(a.originalModelData.targetedToVersion,a.targetedToVersion,"targetedToVersion",b);IO(a.originalModelData.verifiedInVersion,a.verifiedInVersion,"verifiedInVersion",b);IO(a.originalModelData.hotlistId,a.hotlistId,"hotlists",b)}return b.length?{issueId:a.issueId,actions:b}:null},HO=function(a,b,c,d,e){a!==b&&(a={fieldName:c,value:null!=b?String(b):void 0},e&&(a.ignoreOnIssueEditRequest=!0),d.push(a))},IO=function(a,b,c,d){var e=Ara(b||[],new Set(a));a=Ara(a||[],
new Set(b));e.length&&d.push({fieldName:c,value:e.join(","),actionType:"ADD"});a.length&&d.push({fieldName:c,value:a.join(","),actionType:"REMOVE"})};g=lac.prototype;
g.setCustomField=function(a,b){a=String(a);if(this.customFieldMap[a]){var c=this.customFieldMap[a].type;if(c)switch(c){case "TYPE_UNSPECIFIED":break;case "TEXT":this.customFieldMap[a].textValue=b||"";break;case "DATE":this.customFieldMap[a].dateValue=b||void 0;break;case "ENUM":this.customFieldMap[a].enumValue=b||"";break;case "NUMERIC":this.customFieldMap[a].numericValue=b;break;case "REPEATED_TEXT":this.customFieldMap[a].repeatedTextValue={values:b};break;case "REPEATED_DATE":this.customFieldMap[a].repeatedDateValue=
{values:b};break;case "REPEATED_ENUM":this.customFieldMap[a].repeatedEnumValue={values:b};break;case "REPEATED_NUMERIC":this.customFieldMap[a].repeatedNumericValue={values:b};break;default:Oh(c,"Unexpected custom field type: "+c)}}};g.setIsDeleted=function(a){this.isDeleted=a};g.setIsArchived=function(a){this.isArchived=a};g.setDeletionReason=function(a){this.deletionReason=a};g.setReporter=function(a){this.reporter=a};g.setType=function(a){this.type=a};g.setPriority=function(a){this.priority=a};
g.setSeverity=function(a){this.severity=a};g.setAssignee=function(a){this.assignee=a;a=Mk[this.status];!this.assignee&&this.originalModelData&&mi(this.originalModelData.assigneeUser)&&"REQUIRED"===(null==a?void 0:a.assigneeRequirement)?this.status="NEW":this.assignee&&"FIXED"!==this.status&&"VERIFIED"!==this.status&&(this.status="ASSIGNED")};
g.setVerifier=function(a){this.verifier=a;!this.verifier&&this.originalModelData&&mi(this.originalModelData.verifierUser)&&"VERIFIED"===this.originalModelData.status&&(this.status="FIXED")};
g.setStatus=function(a){this.status=a;a=Mk[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)};g.setInProd=function(a){this.inProd=a};g.setCollaborators=function(a){this.collaborators=a};g.setSloEndTime=function(a){this.sloEndTime=a};
g.setSloSnoozeType=function(a){this.sloSnoozeType=a};
var nac=function(a,b){return a.originalModelData?(a=(a.originalModelData.customField||[]).find(function(c){return c.customFieldId===b}))?a:null:null},mac=function(a){this.choices=this.customFieldName=this.type=null;this.customFieldId=a.customFieldId;this.displayValues=a.displayValues;this.textValue=a.textValue;this.dateValue=a.dateValue;this.enumValue=a.enumValue;this.numericValue=a.numericValue;this.repeatedTextValue=a.repeatedTextValue;this.repeatedDateValue=a.repeatedDateValue;this.repeatedEnumValue=
a.repeatedEnumValue;this.repeatedNumericValue=a.repeatedNumericValue};mac.prototype.isRepeated=function(){return null==this.type?!1:["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};var pac=new Map([["assignee",function(a,b){a.assigneeUser=ti(b.assignee)}],["ccs",function(a,b){a.ccUsers=b.cc.map(ti).filter(jl)}],["changelists",function(a,b){a.changelist=b.changelist}],["hotlists",function(a,b){a.hotlistId=b.hotlistId}],["reporter",function(a,b){a.reporterUser=ti(b.reporter)}],["verifier",function(a,b){a.verifierUser=ti(b.verifier)}],["componentId",function(a,b){a.componentId=b.componentId}],["deletionReason",function(a,b){a.deletionReason=b.deletionReason}],["duplicateOfIssueId",
function(a,b){a.duplicateOfIssueId=b.duplicateOfIssueId}],["inProd",function(a,b){a.inProd=b.inProd}],["isArchived",function(a,b){a.isArchived=b.isArchived}],["isDeleted",function(a,b){a.isDeleted=b.isDeleted}],["priority",function(a,b){a.priority=b.priority}],["severity",function(a,b){a.severity=b.severity}],["status",function(a,b){a.status=b.status}],["title",function(a,b){a.title=b.title}],["type",function(a,b){a.type=b.type}],["blockedByIssueId",function(a,b){a.blockedByIssueId=b.blockedByIssueId}],
["blockingIssueId",function(a,b){a.blockingIssueId=b.blockingIssueId}],["foundInVersion",function(a,b){a.foundInVersion=b.foundInVersion}],["targetedToVersion",function(a,b){a.targetedToVersion=b.targetedToVersion}],["verifiedInVersion",function(a,b){a.verifiedInVersion=b.verifiedInVersion}]]);var JO=function(a){this.$window=a};JO.prototype.setDraft=function(a,b){this.$window.sessionStorage.setItem(Do(a),b)};JO.\u0275fac=function(a){return new (a||JO)(p(ZF))};JO.\u0275prov=Dc({token:JO,factory:JO.\u0275fac,providedIn:"root"});var KO=function(a,b,c){this.activeSession=a;this.documentationLinks=b;this.confirmationDialogService=c},qac=function(a,b){return new Promise(function(c){LO(a,b,function(){c(!0)},function(){c(!1)})})},LO=function(a,b,c,d){if(a.activeSession.isExternalSession())c&&c();else{var e="",f=ch("");if("VULNERABILITY"===b)e="Set the issue type to \u201cVulnerability\u201d?",b={},f=eh([ch('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}),fh("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={};f={};var h={};f=eh([ch('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}),fh("a",(b.href="http://goto.google.com/pib-slo",b.target=
"_blank",b),"Learn more"),ch(".\n\nDO NOT use this type to file ",{preserveNewlines:!0}),fh("a",(f.href="http://goto.google.com/incident-response-policy",f.target="_blank",f),"privacy incidents"),ch(". Incidents should be filed at ",{preserveNewlines:!0}),fh("a",(h.href="http://goto.google.com/privacy-incidents",h.target="_blank",h),"go/privacy-incidents"),ch(".\n\nDO NOT use this type unless you are on one of the following teams or have been specifically requested by one of these teams to file a Privacy Issue bug: Privacy Incident Management, Privacy Investigations, Privacy Remediation.",
{preserveNewlines:!0})])}a.confirmationDialogService.open({title:e,content:f,onConfirm:null!=c?c:function(){},onDismiss:null!=d?d:function(){}})}};KO.\u0275fac=function(a){return new (a||KO)(p(nt),p(lL),p(SJ))};KO.\u0275prov=Dc({token:KO,factory:KO.\u0275fac,providedIn:"root"});var MO=function(a){this.dateFormatter=a};
MO.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(wo(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(wo(c))}).join(", ");if(a.repeatedEnumValue)return a.repeatedEnumValue.values.join(", ");
if(a.repeatedNumericValue)return a.repeatedNumericValue.values.join(", ")}return""};MO.\u0275fac=function(a){return new (a||MO)(p(tM))};MO.\u0275prov=Dc({token:MO,factory:MO.\u0275fac,providedIn:"root"});var NO=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"]},tac=function(a,b,c,d){c=void 0===c?null:c;d=void 0===d?"":d;var e;b.bulkEditOps&&(e=jLa(b.bulkEditOps));var f=b.actions||[];!f.length&&b.bulkEditOps&&(f=iLa(b.bulkEditOps));b=rac(f).map(function(h){return sac(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+"."},rac=function(a){var b=
[],c=[];a=l(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)},sac=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,f=b.value||"<none>";b.customFieldValue?(d=b.customFieldValue,e=c[d.customFieldId].name||c[d.customFieldId].customFieldName,f=a.customFieldFormatter.format(d)||"<none>"):e="effortEstimate"===b.fieldName&&d?d:a.FIELD_TEXT_MAP[b.fieldName]||b.fieldName;"hotlists"===b.fieldName?
f=b.value.split(",").map(function(h){var k,q;return(k=null==(q=Dk(a.hotlistFridge.watch(String(h),{trustUncertainMemory:!0})))?void 0:q.name)?"'"+k+"'":h}).join(","):a.ENUM_FIELDS.includes(b.fieldName)&&(f=f?li(f.replace(/_/g," ").toLowerCase()):"");return"ADD"===b.actionType&&"hotlists"===b.fieldName?(f=f.replace(/,/g,", "),"Added issue to Hotlist ["+f+"]"):"REMOVE"===b.actionType&&"hotlists"===b.fieldName?(f=f.replace(/,/g,", "),"Removed issue from Hotlist ["+f+"]"):"ADD"===b.actionType&&"parentId"===
b.fieldName?"Added child issue(s) to parent ["+f+"]":"REMOVE"===b.actionType&&"parentId"===b.fieldName?"Unlinked child issue(s) from parent ["+f+"]":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 "'+f+'"':(f=f.replace(/,/g,", "),'"'+f+'" removed from '+e):(f=f.replace(/,/g,", "),'"'+f+'" added to '+e):b.value?"SLO End Time Set":"SLO End Time Unset":b.value?"SLO Start Time Set":"SLO Start Time Unset":"":"Comment added":'Status set to "'+Mk[b.value].displayValue+'"'};NO.\u0275fac=function(a){return new (a||NO)(p(MO),p(TH))};NO.\u0275prov=Dc({token:NO,factory:NO.\u0275fac,providedIn:"root"});var OO=function(a){this.internalArray_=m(a,0,OO.messageId)};Y(OO,n);OO.prototype.getAttachmentsList=function(){return zi(this,IF,1)};OO.prototype.setAttachmentsList=function(a){return Zl(this,1,a)};OO.prototype.addAllAttachments=function(a){St(this,1,IF,a)};OO.repeatedFields_=[1];OO.messageId="b.CreateAttachmentsResponse";var PO=function(a){this.internalArray_=m(a,0,PO.messageId)};Y(PO,n);PO.prototype.getErrorMessage=function(){return xi(this,2)};PO.prototype.setErrorMessage=function(a){gj(this,2,a)};PO.messageId="b.EncryptedMediaResponse";var QO=function(a){this.executor=a},uac=function(a,b){var c=new p2b;c.setFilename(b.filename);c.setMimeType(b.mimeType);null!=b.encryptedBlobId&&gj(c,3,b.encryptedBlobId);gj(c,4,b.docId);null!=b.size&&c.setSize(b.size);return a.executor.post({url:"action/issues/drive_attachment",body:c,responseConstructor:PO}).then(Xya)};QO.\u0275fac=function(a){return new (a||QO)(p(TD))};QO.\u0275prov=Dc({token:QO,factory:QO.\u0275fac,providedIn:"root"});var RO=function(a){this.executor=a};RO.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})};RO.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:IF}).then(mm)};
RO.\u0275fac=function(a){return new (a||RO)(p(TD))};RO.\u0275prov=Dc({token:RO,factory:RO.\u0275fac,providedIn:"root"});var SO=function(a,b,c){this.dialogRef=a;this.data=c;this.readMoreLink=b.baseDocumentationUrl+"/concepts/access-control#explicit_access_warnings";this.userEmails=c.userEmails};SO.prototype.close=function(a){this.dialogRef.close(a)};SO.\u0275fac=function(a){return new (a||SO)(B(sA),B(lL),B(uA))};
SO.\u0275cmp=r({type:SO,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),T(2,"User may not have access"),K(),H(3,"section",2)(4,"p"),T(5," The following user(s) may not be able to edit, interact with, or get notifications about this issue: "),
K(),H(6,"ul"),F(7,kLa,2,1,"li",3),K(),H(8,"section"),T(9,"Continue anyway?"),K()(),H(10,"footer",4)(11,"div",5)(12,"a",6),T(13,"Learn more"),K()(),H(14,"button",7),Q("click",function(){return b.close(!0)}),T(15,"Continue"),K(),H(16,"button",8),Q("click",function(){return b.close(!1)}),T(17,"Cancel"),K()()());a&2&&(A(7),G("ngForOf",b.userEmails),A(5),G("href",b.readMoreLink,Wd))},dependencies:[Tv,eA,xA,yA,zA],styles:["ul[_ngcontent-%COMP%]{list-style:disc;margin-bottom:10px}"]});var TO=function(a,b,c,d,e){this.matDialogService=a;this.analytics=b;this.butterBar=c;this.logger=d;this.accessPolicy=e},UO=function(a,b){var c=b.componentId,d=b.userEmails,e=b.relation,f=b.analyticsEventLabel,h,k,q;return qe(function(t){switch(t.nextAddress){case 1:if(d.every(function(w){return 0===w.length}))return t.return(!0);re(t,2);return t.yield(vac(a,c,d,e),4);case 4:h=t.yieldResult;if(0===h.length)return t.return(!0);a.analytics.trackEvent(Kp.ADD_USER_WITHOUT_ACCESS,"warn",f);return t.yield(a.confirm(h,
e),5);case 5:k=t.yieldResult;if(!k)return Fs(a.butterBar,"Save cancelled.",4E3),a.analytics.trackEvent(Kp.ADD_USER_WITHOUT_ACCESS,"cancel",f),t.return(!1);a.analytics.trackEvent(Kp.ADD_USER_WITHOUT_ACCESS,"proceed",f);return t.return(!0);case 2:return q=ve(t),a.logger.error(q),t.return(!1)}})},vac=function(a,b,c,d){var e;return qe(function(f){if(1==f.nextAddress)return f.yield(a.accessPolicy.checkPermission(c,d,"ISSUE_DEFAULTS",b),2);e=f.yieldResult;return f.return([].concat(u(e.noAccessEmails||[]),
u(e.unknownEmails||[])))})};TO.prototype.confirm=function(a,b){var c=this,d,e,f;return qe(function(h){if(1==h.nextAddress)return d={userEmails:a,relation:b},e=c.matDialogService.open(SO,{width:"400px",data:d}),h.yield((0,E.firstValueFrom)(e.afterClosed()),2);f=h.yieldResult;return h.return(!!f)})};TO.\u0275fac=function(a){return new (a||TO)(p(vA),p(aI),p(EG),p(GE),p(KH))};TO.\u0275prov=Dc({token:TO,factory:TO.\u0275fac,providedIn:"root"});var VO=function(a,b){this.size=a;this.name=b;this.transferredBytes=0;this.errorMessage="";this.blobRef=null;this.state=1};VO.prototype.cancel=function(){this.state=4};var wac={UPLOADING:1,COMPLETE:2,ERROR:3,CANCELLED:4,1:"UPLOADING",2:"COMPLETE",3:"ERROR",4:"CANCELLED"};var WO=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};WO.prototype.reset=function(){this.value="";xac(this)};var xac=function(a){for(var b=l(a.uploads),c=b.next();!c.done;c=b.next())c.value.cancel();a.uploads=[]},yac=function(a){return a.fromTemplate&&a.initialComment===a.value};
WO.prototype.getAttachments=function(){for(var a=[],b=l(this.uploads),c=b.next();!c.done;c=b.next())c=c.value,2===c.state&&c.blobRef&&a.push(ai(c.blobRef));return a};WO.prototype.hasContent=function(){return!(!this.value&&!this.uploads.length)};var zac=function(a){return!a.isEmpty()&&!Akb(a)};WO.prototype.isEmpty=function(){return!this.value&&!Aac(this)};
var Akb=function(a){return a.uploads.some(function(b){return 1===b.state||3===b.state})},Aac=function(a){return a.uploads.some(function(b){return 2===b.state})};var XO=new bd("routeParams",{factory:function(){return Nc(bJ).params}});var YO=function(a,b,c,d){this.routeParams=a;this.issueComments=b;this.draftStore=c;this.errorHandler=d};YO.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=fi(this.routeParams.template_comment)||1;return(0,E.defer)(function(){return Bac(b,c,d,b.routeParams.do_attribution)})}return a?(0,E.of)(this.draftStore.$window.sessionStorage.getItem(Do(a))||""):(0,E.of)("")};
var Bac=function(a,b,c,d){var e,f,h,k,q;return qe(function(t){if(1==t.nextAddress)return re(t,2),t.yield(a.issueComments.get(b,c),4);if(2!=t.nextAddress)return e=t.yieldResult,f=e.unlinkifiedComment,h=(new Date(Number(e.lastModified)/1E3)).toLocaleDateString(),d?(k="> From issue "+b+" on "+h+":",t.return(k+"\n\n"+f)):t.return(f);q=ve(t);HG(a.errorHandler,q);return t.return("")})};YO.\u0275fac=function(a){return new (a||YO)(p(XO),p(nJ),p(JO),p(FG))};
YO.\u0275prov=Dc({token:YO,factory:YO.\u0275fac,providedIn:"root"});var Cac=function(a,b,c,d,e){var f=this;this.issueId=a;this.defaultCommentSource=b;this.issueFetchResponseFridge=c;this.activeSession=d;this.userPreferencesManager=e;this.issueFr$=nI(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}),Pe());this.comment$=this.defaultCommentSource.get(this.issueId).pipe($e(""),Pe(),df(this.userPreferencesManager.lastPublishModeProto$),
D(function(h){var k=l(h);h=k.next().value;k=k.next().value;h=new WO(h);h.formattingMode=k;return h}),Ye({bufferSize:1,refCount:!0}));this.comment=function(){return Dk(f.comment$)};this.createRestrictedResourcesComponentIds=this.activeSession.getCreateRestrictedSubresourcesComponentIds();this.componentJudgementForNewContent$=this.componentId$.pipe(D(function(h){if(h&&f.createRestrictedResourcesComponentIds.includes(h))return{severity:"RESTRICTED",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 k=l(h);h=k.next().value;k=k.next().value;return null!=k?k:h}),Ye({bufferSize:1,refCount:!1}));this.judgementForNewContent=function(){return Dk(f.judgementForNewContent$)}};Cac.prototype.setJudgementForNewContent=function(a){this.userDefinedJudgementForNewContent$.next(a)};
var Dac=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=l(b.uploads);for(var f=b.next();!f.done;f=b.next())f=f.value,2===f.state&&f.blobRef&&(f=ai({attachment:f.blobRef}),d&&(f.contentJudgement={severity:d.severity,judgementReason:d.judgementReason}),e.push(f));return{judgementForNewContent:d,commentText:a,formattingMode:c,attachmentsWithJudgements:e}},Eac=function(a){var b=
Dac(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},ZO=function(a,b,c,d){this.defaultCommentSource=a;this.issueFetchResponseFridge=b;this.activeSession=c;this.userPreferencesManager=d};ZO.prototype.create=function(a){return new Cac(a,this.defaultCommentSource,this.issueFetchResponseFridge,this.activeSession,this.userPreferencesManager)};
ZO.\u0275fac=function(a){return new (a||ZO)(p(YO),p(mI),p(nt),p(LE))};ZO.\u0275prov=Dc({token:ZO,factory:ZO.\u0275fac,providedIn:"root"});var $O=function(){};$O.prototype.isSloStartTimeApplied=function(a){return!!a&&a.seconds>Date.now()/1E3};
var aP=function(a){return!!a&&!!a.targetTime&&0!==a.targetTime.seconds},Fac=function(a){return aP(a.assignmentBounds)||aP(a.responseBounds)||aP(a.closureBounds)},Gac=function(a,b){switch(b){case "ASSIGNMENT":return aP(a.assignmentBounds);case "RESPONSE":return aP(a.responseBounds);case "CLOSURE":return aP(a.closureBounds);default:return Fac(a)}},Hac=function(a){if(!a)return null;var b=[],c=[];a.assignmentBounds&&lLa(b,c,a.assignmentBounds,"ASSIGNMENT");a.responseBounds&&lLa(b,c,a.responseBounds,"RESPONSE");
a.closureBounds&&lLa(b,c,a.closureBounds,"CLOSURE");return 0<b.length?(b.sort(mLa),b[0]):0<c.length?(c.sort(mLa),{sloBounds:c[0].sloBounds,sloMetric:""}):null};$O.\u0275fac=function(a){return new (a||$O)};$O.\u0275prov=Dc({token:$O,factory:$O.\u0275fac,providedIn:"root"});var Iac=function(a,b,c,d,e){var f=this;this.issueId=a;this.issueFetchResponseFridge=b;this.constants=c;this.activeSession=d;this.sloStatusHelpersService=e;this.enableNonWtdmFieldPerTypeVisibility=yD(this.activeSession,"enableNonWtdmFieldPerTypeVisibility")||!1;this.showSloStatus=this.activeSession.isInternalSession();this.showChangelists=!this.activeSession.isExternalSession();this.issueFetchResponse$=nI(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 k;return null==h?void 0:null==(k=h.aggregatedData)?void 0:k.sloStatus}),D(function(h){return!!h&&Fac(h)}));this.isWtdmType$=this.issueSnapshot$.pipe(D(function(h){return null!=(null==h?void 0:h.type)&&j_b.has(h.type)}));this.isForgottenFourPrimary$=this.isWtdmType$.pipe(D(function(h){return!h&&!f.enableNonWtdmFieldPerTypeVisibility}));
this.isSloStatusPrimary$=(0,E.combineLatest)([this.hasSloDefined$,this.isWtdmType$]).pipe(D(function(h){var k=l(h);h=k.next().value;k=k.next().value;return h||!k}));this.isSeverityPrimary$=this.isWtdmType$.pipe(D(function(h){return!h}));this.isChangelistPrimary$=(0,E.combineLatest)([this.isWtdmType$,this.issueSnapshot$]).pipe(D(function(h){var k=l(h);h=k.next().value;k=k.next().value;return!h||"STORY"===(null==k?void 0:k.type)||"TASK"===(null==k?void 0:k.type)}));this.customFields$=this.issueFetchResponse$.pipe(D(function(h){var k;
return null!=(k=null==h?void 0:h.issue.customFields)?k:[]}));this.visibleFields$=this.issue$.pipe(D(function(h){var k;return null!=(k=null==h?void 0:h.visibleFields)?k:[]}));this.visibleFieldIds$=this.visibleFields$.pipe(D(function(h){return h.map(function(k){return k.customFieldId}).filter(jl)}),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=l(h);var k=h.next().value;
return h.next().value.filter(function(q){return k.has(q.customFieldId)})}),Ye({refCount:!0,bufferSize:1}));this.hiddenCustomFields$=(0,E.combineLatest)([this.visibleFieldIds$,this.customFields$]).pipe(D(function(h){h=l(h);var k=h.next().value;return h.next().value.filter(function(q){return!k.has(q.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 k=
l(h);h=k.next().value;var q=k.next().value,t=k.next().value,w=k.next().value;k=k.next().value;return(h?0:4)+(q?0:1)+(!f.showSloStatus||t?0:1)+(!f.showChangelists||w?0:2)+k.length}),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"}))},bP=function(a,b,c,d){this.issueFetchResponseFridge=a;this.constants=
b;this.activeSession=c;this.sloStatusHelpersService=d};bP.prototype.create=function(a){return new Iac(a,this.issueFetchResponseFridge,this.constants,this.activeSession,this.sloStatusHelpersService)};bP.\u0275fac=function(a){return new (a||bP)(p(mI),p(BD),p(nt),p($O))};bP.\u0275prov=Dc({token:bP,factory:bP.\u0275fac,providedIn:"root"});var P3b=Kp.EDIT_ISSUE,cP=function(a,b){Z.call(this);this.analytics=a;this.clearcut=b;this.issueToTrackingState=new Map;this.getState=Eo(this.issueToTrackingState,pLa);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")};Y(cP,Z);cP.\u0275dir=Z.\u0275dir;
var dP=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),Jac(a,c,"idp-time-to-action",b.variations),d.firstActionSeen=!0)},Vs=function(a,b,c){a.getState(b).variations.add(c)},Jac=function(a,b,c,d){WH(a.clearcut,b,c);d=l(d);for(var e=d.next();!e.done;e=d.next())WH(a.clearcut,b,c+"-"+e.value)};cP.prototype.resetState=function(a){this.issueToTrackingState.delete(a)};
cP.\u0275fac=function(a){return new (a||cP)(p(aI),p(VH))};cP.\u0275prov=Dc({token:cP,factory:cP.\u0275fac,providedIn:"root"});var eP=function(a,b,c,d,e,f,h){var k=this;this.issueFetchResponseFridge=a;this.issueFridge=b;this.teamFridge=c;this.componentFridge=d;this.eventsForIssue=e;this.activatedRoute=f;this.contextSensitiveRegistry=h;this.id$=this.contextSensitiveRegistry.getIssueId().pipe(D(function(q){return q||void 0}));this.urlComment$=this.activatedRoute.fragment.pipe(D($La),Ye({refCount:!0,bufferSize:1}));this.issueJs$=this.id$.pipe(af(function(q){return q?nI(k.issueFetchResponseFridge,q):(0,E.of)(void 0)}),Ye({refCount:!0,
bufferSize:1}));this.issueJs$.pipe(D(function(q){return null==q?void 0:q.firstEvent}));this.eventsJs$=this.id$.pipe(af(this.eventsForIssue.watch),D(function(q){var t;return null!=(t=null==q?void 0:q.events)?t:[]}));this.starred$=this.issueJs$.pipe(D(qLa));this.lastViewedTimeMicros$=this.issueJs$.pipe(D(rLa));this.lastViewedTimeMicros$.pipe(D(function(q){return!q}));this.issueJs$.pipe(D(sLa));this.issueJs$.pipe(D(JLa));this.accessLimitLevel$=this.issueJs$.pipe(D(ALa));this.voted$=this.issueJs$.pipe(D(KLa));
this.status$=this.issueJs$.pipe(D(tLa));this.priority$=this.issueJs$.pipe(D(uLa));this.assignee$=this.issueJs$.pipe(D(vLa));this.issueJs$.pipe(D(wLa));this.teamId$=this.issueJs$.pipe(D(xLa));this.team$=this.teamId$.pipe(af(this.teamFridge.watch),Ye({refCount:!0,bufferSize:1}));this.ccUsers$=this.issueJs$.pipe(D(zLa));this.collaboratorsUsers$=this.issueJs$.pipe(D(BLa));this.issueJs$.pipe(D(function(q){var t,w;return null!=(w=null==(t=Jn(q))?void 0:t.severity)?w:void 0}));this.type$=this.issueJs$.pipe(D(CLa));
this.issueJs$.pipe(D(DLa));this.issueJs$.pipe(D(ELa));this.issueJs$.pipe(D(FLa));this.postmortems$=this.issueJs$.pipe(D(GLa));this.postmortems$.pipe(D(function(q){return 0<q.length}));this.issueJs$.pipe(D(HLa));this.effort$=this.issueJs$.pipe(D(ILa));this.isDeleted$=this.issueJs$.pipe(D(MLa));this.accessLevel$=this.issueJs$.pipe(D(OLa));this.modifiedTime$=this.issueJs$.pipe(D(PLa));this.retention$=this.issueJs$.pipe(D(RLa));this.retention=function(){return Dk(k.retention$)};this.retentionState$=this.issueJs$.pipe(D(ULa));
this.retentionState=function(){return Dk(k.retentionState$)};this.canonicalIssueId$=this.issueJs$.pipe(D(SLa));this.canonicalIssue$=this.canonicalIssueId$.pipe(af(this.issueFridge.watch));this.sloStatus$=this.issueJs$.pipe(D(function(q){var t;return null==q?void 0:null==(t=q.issue.aggregatedData)?void 0:t.sloStatus}));this.sloId$=this.issueJs$.pipe(D(VLa));this.createdTimeMicros$=this.issueJs$.pipe(D(WLa));this.componentId$=this.issueJs$.pipe(D(yLa));this.component$=this.componentId$.pipe(af(this.componentFridge.watch));
this.teamSuggestions$=this.component$.pipe(D(function(q){var t;return null!=(t=null==q?void 0:q.teamSuggestions)?t:[]}));this.effortSpec$=this.component$.pipe(D(XLa));this.isEffortEnabled$=this.component$.pipe(D(YLa));this.component$.pipe(D(ZLa));this.thinking$=this.issueFetchResponseFridge.thinking$};eP.\u0275fac=function(a){return new (a||eP)(p(mI),p(iI),p(aJ),p(mH),p(AH),p(ik),p(xJ))};eP.\u0275prov=Dc({token:eP,factory:eP.\u0275fac,providedIn:"root"});var Kac={admin:!1,writer:!0,appender:!0,reader:!0},gP=function(a,b,c,d,e,f){var h=this;this.issueDetailsBrain=a;this.permissionsFridge=b;this.activeSession=c;this.accessPolicyApi=d;this.errorHandler=e;this.userAccess=f;this.currentUserEmail=this.activeSession.getUserEmail();this.currentUserEmailPattern=new RegExp("^"+ao(this.currentUserEmail).replace("@","(\\+.*)?@")+"$");this.issueId$=this.issueDetailsBrain.id$;this.issuePermissions$=this.issueId$.pipe(af(function(k){return k?h.permissionsFridge.watchOne("issues/"+
k):(0,E.of)(void 0)}),D(function(k){return null!=k?k:Kac}),$e(Kac),Ye({bufferSize:1,refCount:!1}));this.hasAclToEdit$=this.issuePermissions$.pipe(D(function(k){return!!k.writer}));this.hasAclToEdit=function(){return!!Dk(h.hasAclToEdit$)};this.hasAclToComment$=this.issuePermissions$.pipe(D(function(k){return!!k.appender}));this.hasAclToComment=function(){return!!Dk(h.hasAclToComment$)};this.hasAclToAdmin$=this.issuePermissions$.pipe(D(function(k){return!!k.admin}));this.hasAclToAdmin=function(){return!!Dk(h.hasAclToAdmin$)};
this.isCurrentUserCCd$=this.issueDetailsBrain.ccUsers$.pipe(D(function(k){return k.some(function(q){return fP(h,q.emailAddress)})}));this.isCurrentUserCCd=function(){return!!Dk(h.isCurrentUserCCd$)};this.isCurrentUserCollaborator$=this.issueDetailsBrain.collaboratorsUsers$.pipe(D(function(k){return k.some(function(q){return fP(h,q.emailAddress)})}));this.isCurrentUserCollaborator=function(){return!!Dk(h.isCurrentUserCollaborator$)};this.isAllowedToEditCC$=this.hasAclToEdit$;(0,E.combineLatest)([this.hasAclToEdit$,
this.isCurrentUserCCd$]).pipe(D(function(k){var q=l(k);k=q.next().value;q=q.next().value;return k?q?"Un-CC yourself in order to change this setting.":"":"Edit issue permission is required to modify the CC list."}));this.isImplicitAccessEnabled$=this.issueDetailsBrain.componentId$.pipe(Pe(),af(function(k){return k?h.accessPolicyApi.checkComponentImplicitAccessEnabled(Number(k)):(0,E.of)(!1)}),Le(function(k){if(403===k.status)return(0,E.of)(!0);h.errorHandler.errorHandler(null,k);return(0,E.of)(!1)}),
Ye({bufferSize:1,refCount:!1}));this.isImplicitAccessEnabled=function(){return!!Dk(h.isImplicitAccessEnabled$)};this.canDeleteIssue$=this.hasAclToAdmin$;this.canUndeleteIssue$=(0,E.combineLatest)([this.issueDetailsBrain.isDeleted$,this.canDeleteIssue$]).pipe(D(function(k){var q=l(k);k=q.next().value;q=q.next().value;return k&&q}));this.userIsComponentAdmin$=this.issueDetailsBrain.componentId$.pipe(Pe(),af(function(k){return k?XF(h.userAccess,"admin","components/"+k):(0,E.of)(!1)}),Le(function(k){h.errorHandler.errorHandler(null,
k);return(0,E.of)(!1)}),Ye({bufferSize:1,refCount:!1}));this.accessLevel$=this.issueDetailsBrain.accessLevel$;this.accessLevel=function(){return Dk(h.accessLevel$)};this.accessLimitLevel$=this.issueDetailsBrain.accessLimitLevel$;this.isWithinExternalComponent$=this.accessLevel$.pipe(D(function(k){return!(!k||"INTERNAL"===k)}));this.audience$=this.isWithinExternalComponent$.pipe(D(function(k){return k?"EXTERNAL_AUDIENCE":"INTERNAL_AUDIENCE"}));this.audience=function(){return Dk(h.audience$)};this.canChangeCommentRetention$=
this.hasAclToEdit$;this.canChangeCommentRetention=function(){return Dk(h.canChangeCommentRetention$)}},fP=function(a,b){return 0===(null==b?void 0:b.search(a.currentUserEmailPattern))},Lac=function(a,b){return Dn(b)&&"DELETED"===b.commentDeletionStatus?a.hasAclToAdmin()||mi(b.lastCommentEditorUser)===a.activeSession.getUserEmail()&&a.hasAclToComment()?!0:!1:!1},Mac=function(a,b){return Dn(b)&&"ACTIVE"===b.commentDeletionStatus?qi(b.userPerformingActionUser)===a.activeSession.getUserEmail()?!0:a.hasAclToAdmin():
!1};gP.prototype.canEditComment$=function(a){var b=this;return(0,E.combineLatest)([this.issueDetailsBrain.component$,this.hasAclToEdit$,this.hasAclToComment$]).pipe(D(function(c){var d=l(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&&qi(a.userPerformingActionUser)===b.activeSession.getUserEmail():!1}))};
gP.\u0275fac=function(a){return new (a||gP)(p(eP),p(GI),p(nt),p(KH),p(FG),p(VF))};gP.\u0275prov=Dc({token:gP,factory:gP.\u0275fac,providedIn:"root"});var Nac={type:"TAKE",displayText:"Assign to me",description:"Assign issue to yourself"},Oac={type:"DEFAULT_ASSIGNEE",displayText:"Assign to default",description:"Use the component's default assignee"},Pac={type:"START",displayText:"Start work",description:"Change issue status to '"+Kk.ACCEPTED+"'"},Qac={type:"FIX",displayText:"Mark fixed",description:"Change issue status to '"+Kk.FIXED+"'"},Rac={type:"VERIFY",displayText:"Verify",description:"Change issue status to '"+Kk.VERIFIED+"'"},Sac={type:"REOPEN",
displayText:"Re-open",description:"Change issue status back to '"+Kk.ASSIGNED+"'"};var Uac=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(f){return null==f?void 0:f.snapshot[0]}));this.currentAssignee$=this.issueSnapshot$.pipe(D(function(f){return(null==f?void 0:f.assigneeUser)&&qi(f.assigneeUser)}),D(gl));
this.defaultAssigneeForComponent$=this.issueSnapshot$.pipe(D(function(f){return null==f?void 0:f.componentId}),Pe(),af(function(f){return f?e.componentTemplatesFridge.defaultTemplate$(String(f)):(0,E.of)(void 0)}),D(function(f){return f&&qi(f.snapshot.assigneeUser)}),Ye({bufferSize:1,refCount:!0}));this.defaultAssigneeForComponent=function(){return Dk(e.defaultAssigneeForComponent$)};this.issueAssigneeQuickAction$=(0,E.combineLatest)([this.currentAssignee$,this.defaultAssigneeForComponent$]).pipe(D(function(f){var h=
l(f);f=h.next().value;h=h.next().value;return e.defaultAssigneeQuickActionEnabled&&h&&f!==h?Oac:void 0}));this.issueStatusQuickAction$=this.issueSnapshot$.pipe(D(function(f){return f&&Tac(e,f)}))},Tac=function(a,b){var c=a.activeSession.getUserEmail();a=qi(b.assigneeUser)===c;c=qi(b.verifierUser)===c;b=b.status;if(c&&"FIXED"===b)return Rac;if(a)switch(b){case "ASSIGNED":return Pac;case "ACCEPTED":return Qac;default:return Sac}switch(b){case "NEW":return Nac;case "ASSIGNED":return Nac;case "ACCEPTED":return Nac;
default:return Sac}},hP=function(a,b,c){this.activeSession=a;this.issueFridge=b;this.componentTemplatesFridge=c};hP.prototype.create=function(a){return new Uac(a,this.activeSession,this.issueFridge,this.componentTemplatesFridge)};hP.\u0275fac=function(a){return new (a||hP)(p(nt),p(iI),p(tH))};hP.\u0275prov=Dc({token:hP,factory:hP.\u0275fac,providedIn:"root"});var iP=function(a){a=void 0===a?[]:a;this.internalValue$=new E.BehaviorSubject(new Set);this.value$=Gs(this.internalValue$).pipe(D(function(b){return new Set(b)}),Pe($h),Ye({refCount:!0,bufferSize:1}));this.reset(a)};g=iP.prototype;g.reset=function(a){this.value.clear();a=l(a);for(var b=a.next();!b.done;b=a.next())this.value.add(b.value);this.internalValue$.next(this.value)};
g.add=function(){for(var a=l($c.apply(0,arguments)),b=a.next();!b.done;b=a.next())this.value.add(b.value);this.internalValue$.next(this.value);return this};g.clear=function(){this.value.clear();this.internalValue$.next(this.value)};g.delete=function(a){a=this.value.delete(a);this.internalValue$.next(this.value);return a};g.has=function(a){return this.value.has(a)};var Lp=function(a,b){return a.internalValue$.pipe(D(function(c){return c.has(b)}),Pe())};iP.prototype[Symbol.iterator]=function(){return this.value.values()};
iP.prototype.toString=function(){return"[ReactiveSet](["+[].concat(u(this.value.values())).join(", ")+"])"};iP.prototype.indexOf=function(a){return[].concat(u(this.value.values())).indexOf(a)};
Gh.Object.defineProperties(iP.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}),Pe())}}});var Vac=function(){this.propertiesBeingSaved=new iP};Vac.prototype.get=function(a){return this.propertiesBeingSaved.has(bo(a))};var jP=function(a,b){a.propertiesBeingSaved.add(bo(b))},kP=function(a,b){a.propertiesBeingSaved.delete(bo(b))};Vac.prototype.properties=function(){return[].concat(u(this.propertiesBeingSaved))};var aMa={QA:{157:[{emailAddress:"security@chromium.org"}]},PROD:{157:[{emailAddress:"security@chromium.org"}]}};var lP=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I,P,O,U,aa,na,sa,Ba,Pa,Ja,cb,qb,Ra){var fa=this;this.issueFetchResponseFridge=a;this.activeSession=b;this.butterBar=c;this.issueInteractionsTracking=d;this.issueApi=e;this.componentFridge=f;this.permissionsFridge=h;this.eventsForIssueFridge=k;this.statusMessages=q;this.errorHandler=t;this.confirmationDialogService=w;this.principalTypes=y;this.issuePermissionService=C;this.accessPolicy=J;this.issueTypeDialog=I;this.logger=P;this.issueFridge=O;this.confirmNoAccessService=
U;this.issueService=aa;this.attachmentsMember=na;this.userPreferencesManager=sa;this.issueComments=Ba;this.draftStore=Pa;this.attachmentApi=Ja;this.issueFieldsFactory=cb;this.issueQuickActionsFactory=qb;this.issueCommentDraftFactory=Ra;this.isSavingMap=new Map;this.savingState=Eo(this.isSavingMap,function(){return new Vac});this.issueFieldsMap=new Map;this.issueFields=Eo(this.issueFieldsMap,function(wa){return fa.issueFieldsFactory.create(wa)});this.issueQuickActionsMap=new Map;this.issueQuickActions=
Eo(this.issueQuickActionsMap,function(wa){return fa.issueQuickActionsFactory.create(wa)});this.editableIssueMap=new Map;this.editableIssue$=Eo(this.editableIssueMap,function(wa){return Wac(fa,wa)});this.editableIssue=function(wa){return fa.editableIssue$(wa).value};this.subscriptions=new Map;this.getSubscription=Eo(this.subscriptions,function(){return new E.Subscription});this.issueCommentDraftMap=new Map;this.issueCommentDraft=Eo(this.issueCommentDraftMap,function(wa){return fa.issueCommentDraftFactory.create(wa)});
this.FOR_ISSUE_COMMENT_DIALOGS_SERVICE_ONLY={saveCommentDraft:this.saveCommentDraft.bind(this)}};lP.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()};
lP.prototype.updateComponent=function(a,b,c){var d=this,e,f,h,k,q;return qe(function(t){if(1==t.nextAddress)return e=d.editableIssue(a),e.componentId=b,(f=mP(d,e))&&f.actions&&f.actions.length?t.yield(d.getRetentionState(a),2):t.return();h=t.yieldResult;nP(d,f);k={issueId:a,componentId:b};q=c?d.issueApi.moveIssueExternal(a,k):d.issueApi.moveIssue(a,k);return t.return(oP(d,q,f,{originalRetentionState:h}))})};
var f0a=function(a,b,c){var d;return qe(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())})},Xac=function(a,b,c,d){var e,f,h,k,q,t;return qe(function(w){switch(w.nextAddress){case 1:e=fra(c);if(!e)return a.logger.warn("unknown issue type: "+c),w.return();f=a.editableIssue(b);if("VULNERABILITY"!==e&&"PRIVACY_ISSUE"!==e){w.jumpTo(2);break}return w.yield(qac(a.issueTypeDialog,
e),3);case 3:if(h=w.yieldResult,!h)return w.return();case 2:if(!d||"VULNERABILITY"!==e){w.jumpTo(4);break}k=bMa(a.activeSession.getEnvironmentType(),d);if(void 0===k){w.jumpTo(4);break}re(w,6);return w.yield(a.issueApi.markAsVulnerability(b,k),8);case 8:a.permissionsFridge.poke("issues/"+b);oI(a.issueFetchResponseFridge,b);tt(w,7);break;case 6:q=ve(w),HG(a.errorHandler,q);case 7:return w.return(Promise.resolve());case 4:return f.setType(e),w.return(null!=(t=a.updateIssue(b))?t:Promise.resolve())}})},
C1a=function(a,b,c){var d,e,f;return qe(function(h){d=Uh(c);if(!d)return a.logger.warn("unknown priority: "+c),h.return();e=a.editableIssue(b);e.setPriority(d);return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},Zac=function(a,b,c){var d,e,f;return qe(function(h){d=a.editableIssue(b);d.duplicateOfIssueId=c;d.status="DUPLICATE";e=mP(a,d);return e?(f=e.actions.find(function(k){return"duplicateOfIssueId"===k.fieldName&&!Ei(k.value||"")}))&&f.value?h.return(Yac(a,b,{actionIssueId:f.value,
implicitAppenders:d.cc,implicitEditors:[],isDeduping:!0,isRemovingSelfFromCc:!1,requestData:e})):h.return():h.return()})},$ac=function(a,b,c){var d,e;return qe(function(f){d=a.editableIssue(b);d.setStatus(c);return f.return(null!=(e=a.updateIssue(b))?e:Promise.resolve())})},abc=function(a,b,c){var d,e,f;return qe(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 k=e.defaultAssigneeForComponent();k&&("NEW"===d.status&&(d.status="ASSIGNED"),d.assignee=k);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:Oh(c.type)}return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},m0a=function(a,b,c){var d,e;return qe(function(f){d=a.editableIssue(b);var h;d.effortEstimate=null!=(h=null==c?void 0:
c.estimate)?h:null;return f.return(null!=(e=a.updateIssue(b))?e:Promise.resolve())})},m1a=function(a,b,c){var d,e,f;return qe(function(h){d=a.editableIssue(b);e=Cra(c,!1);d.foundInVersion=e;return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},q1a=function(a,b,c){var d,e,f;return qe(function(h){d=a.editableIssue(b);e=Cra(c,!1);d.verifiedInVersion=e;return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},o1a=function(a,b,c){var d,e,f;return qe(function(h){d=a.editableIssue(b);
e=Cra(c,!1);d.targetedToVersion=e;return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},s1a=function(a,b,c){var d,e;return qe(function(f){d=a.editableIssue(b);d.setInProd(c);return f.return(null!=(e=a.updateIssue(b))?e:Promise.resolve())})},h1a=function(a,b,c){var d,e,f;return qe(function(h){d=gra(c);if(!d)return a.logger.warn("unknown severity: "+c),h.return();e=a.editableIssue(b);e.setSeverity(d);return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})};
lP.prototype.updateSloStartTime=function(a,b){var c=this,d,e;return qe(function(f){d=c.editableIssue(a);d.sloStartTime=b;return f.return(null!=(e=c.updateIssue(a))?e:Promise.resolve())})};lP.prototype.updateSloEndTime=function(a,b){var c=this,d,e;return qe(function(f){d=c.editableIssue(a);d.setSloEndTime(b);return f.return(null!=(e=c.updateIssue(a))?e:Promise.resolve())})};
var k1a=function(a,b,c){var d,e,f;return qe(function(h){d=a.editableIssue(b);d.changelist=null!=(e=c)?e:[];return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},z1a=function(a,b,c,d){var e,f;return qe(function(h){e=a.editableIssue(b);e.setCustomField(c,d);return h.return(null!=(f=a.updateIssue(b))?f:Promise.resolve())})},C0a=function(a,b,c){var d,e,f,h;return qe(function(k){switch(k.nextAddress){case 1:return d=a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?k.yield(bbc(a,
b,"verifier",[c]),5):k.yield(UO(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:[c],relation:"writer",analyticsEventLabel:"verifier"}),4);case 4:e=k.yieldResult;if(!e)return k.return();k.jumpTo(3);break;case 5:if(f=k.yieldResult,!f)return k.return();case 3:return d.setVerifier(c),k.return(null!=(h=a.updateIssue(b))?h:Promise.resolve())}})},v0a=function(a,b,c){var d,e,f,h;return qe(function(k){switch(k.nextAddress){case 1:return d=a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?
k.yield(bbc(a,b,"assignee",[c]),5):k.yield(UO(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:[c],relation:"writer",analyticsEventLabel:"assignee"}),4);case 4:e=k.yieldResult;if(!e)return k.return();k.jumpTo(3);break;case 5:if(f=k.yieldResult,!f)return k.return();case 3:return d.setAssignee(c),k.return(null!=(h=a.updateIssue(b))?h:Promise.resolve())}})},cbc=function(a,b,c){var d,e,f,h,k,q;return qe(function(t){switch(t.nextAddress){case 1:d=a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return t.yield(bbc(a,
b,"CC",c),5);e=vta(d.cc,c);f=e.added;return t.yield(UO(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:f,relation:"reader",analyticsEventLabel:"cc"}),4);case 4:h=t.yieldResult;if(!h)return t.return();t.jumpTo(3);break;case 5:if(k=t.yieldResult,!k)return t.return();case 3:return d.cc=c,t.return(null!=(q=a.updateIssue(b))?q:Promise.resolve())}})},dbc=function(a,b,c){var d,e,f,h,k,q;return qe(function(t){switch(t.nextAddress){case 1:d=a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return t.yield(bbc(a,
b,"collaborators",c),5);e=vta(d.collaborators,c);f=e.added;return t.yield(UO(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:f,relation:"reader",analyticsEventLabel:"collaborators"}),4);case 4:h=t.yieldResult;if(!h)return t.return();t.jumpTo(3);break;case 5:if(k=t.yieldResult,!k)return t.return();case 3:return d.setCollaborators(c),t.return(null!=(q=a.updateIssue(b))?q:Promise.resolve())}})};
lP.prototype.unarchive=function(a){var b=this,c,d;return qe(function(e){c=b.editableIssue(a);c.setIsArchived(!1);return e.return(null!=(d=b.updateIssue(a))?d:Promise.resolve())})};
lP.prototype.updateIssueRetention=function(a,b){var c=this,d,e,f;return qe(function(h){switch(h.nextAddress){case 1:return d={issueId:a,retention:b},e=c.savingState(a),jP(e,"retention"),re(h,2,3),h.yield(c.issueApi.updateIssueRetention(a,d),5);case 5:return h.yield(c.issueFridge.poke(a),6);case 6:Fs(c.butterBar,"Issue retention updated to "+b+".",4E3);case 3:te(h);kP(e,"retention");ue(h,0);break;case 2:f=ve(h),HG(c.errorHandler,f),h.jumpTo(3)}})};
var ebc=function(a,b){var c,d,e;return qe(function(f){c=a.editableIssue(b);c.setIsDeleted(!0);c.setDeletionReason("ABUSE");d=mP(a,c);if(!d||!d.actions)return f.jumpTo(0);nP(a,d);e=a.issueService.delete(b,"ABUSE");return f.yield(oP(a,e,d),0)})},hsb=function(a,b){var c,d,e;return qe(function(f){c=a.editableIssue(b);c.setIsDeleted(!1);c.setDeletionReason(null);d=mP(a,c);if(!d||!d.actions)return f.jumpTo(0);nP(a,d);e=a.issueService.undelete(b);return f.yield(oP(a,e,d),0)})};
lP.prototype.updateSubscription=function(a,b){var c=this,d,e,f,h,k;return qe(function(q){switch(q.nextAddress){case 1:return d=c.savingState(a),q.yield((0,E.firstValueFrom)(c.issueFridge.watch(a,{trustUncertainMemory:!0})),2);case 2:e=q.yieldResult;h=null==(f=e)?void 0:f.userData;if(null==h||d.get("subscribe"))return q.return();re(q,3,4);jP(d,"subscribe");return q.yield(c.issueFridge.setNotificationSubscription(a,b),4);case 4:te(q);kP(d,"subscribe");ue(q,0);break;case 3:k=ve(q),HG(c.errorHandler,
k),q.jumpTo(4)}})};
var fbc=function(a,b,c){var d,e;qe(function(f){switch(f.nextAddress){case 1:d=a.savingState(b);if(!c.attachmentId||d.get("undeleteAttachment"))return f.return();re(f,2,3);Fs(a.butterBar,"Restoring attachment...");jP(d,"undeleteAttachment");return f.yield(a.attachmentsMember.undelete(b.toString(),c),5);case 5:Fs(a.butterBar,"Attachment restored."),oI(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b);case 3:te(f);kP(d,"undeleteAttachment");ue(f,0);break;case 2:e=ve(f),HG(a.errorHandler,e),
f.jumpTo(3)}})},gbc=function(a,b,c,d){var e,f;return qe(function(h){switch(h.nextAddress){case 1:e=a.savingState(b);if(!c.attachmentId||e.get("deleteAttachment"))return h.return();re(h,2,3);Fs(a.butterBar,"Deleting attachment...");jP(e,"deleteAttachment");return h.yield(a.attachmentsMember.delete(b,c,d),5);case 5:Fs(a.butterBar,"Attachment deleted."),oI(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b);case 3:te(h);kP(e,"deleteAttachment");ue(h,0);break;case 2:f=ve(h),HG(a.errorHandler,
f),h.jumpTo(3)}})};
lP.prototype.saveCommentDraft=function(a,b){var c=this,d=this.issueCommentDraft(a),e=d.comment(),f=Dac(d);if(!f.commentText&&!f.attachmentsWithJudgements.length)return Promise.resolve();var h=Eac(d);nP(this,h);return oP(this,function(){return qe(function(k){switch(k.nextAddress){case 1:return k.yield(hbc(c,a),2);case 2:if(!f.commentText){k.jumpTo(3);break}return k.yield(c.issueComments.create(String(a),f.commentText,f.formattingMode,f.judgementForNewContent,b),4);case 4:e.reset(),c.draftStore.$window.sessionStorage.removeItem(Do(a));
case 3:if(!f.attachmentsWithJudgements.length){k.jumpTo(5);break}var q=k.yield;var t=c.attachmentApi;var w=f.attachmentsWithJudgements,y=new tF;y.setIssueId(String(a));void 0!==w&&(w=w.map(Zya),Zl(y,3,w));t=t.executor.post({url:"action/issues/"+a+"/attachments",body:y,responseConstructor:OO}).then($ya);return q.call(k,t,6);case 6:e.reset();case 5:return d.setJudgementForNewContent(),k.return(oI(c.issueFetchResponseFridge,a))}})}(),h)};
var hbc=function(a,b){var c,d;return qe(function(e){if(!ME(a.userPreferencesManager).autoCcOnComment||!a.issuePermissionService.hasAclToEdit()||a.issuePermissionService.isCurrentUserCCd())return e.return();c=a.editableIssue(b);var f=[].concat(u(c.cc),[a.activeSession.getUserEmail()]);c.cc=f;d={issueId:b,actions:[{fieldName:"ccs",value:a.activeSession.getUserEmail(),actionType:"ADD"}]};return e.yield(a.issueApi.updateIssue(b,d),0)})},Wac=function(a,b){var c=nI(a.issueFetchResponseFridge,b).pipe(D(function(e){var f=
new lac;if(e){var h=ibc(a,b,ai(qa(e.issue.snapshot)));f.currentUserEmail=a.activeSession.getUserEmail();f.setData(h,b,e.issue.customFields)}return f})),d=new E.BehaviorSubject(new lac);a.getSubscription(b).add(c.subscribe(d));return d};
lP.prototype.updateIssue=function(a){var b=this.editableIssue(a),c=mP(this,b);if(!c)return null;for(var d=!1,e=[],f=[],h=a,k=l(c.actions),q=k.next();!q.done;q=k.next()){q=q.value;var t=q.value||"";if("REMOVE"!==q.actionType)switch(q.fieldName){case "ccs":e=t.split(",").filter(Boolean);break;case "verifier":case "assignee":case "collaborators":f=t.split(",").filter(Boolean);break;case "duplicateOfIssueId":Ei(t)||(e=b.cc,h=String(t),d=!0)}}return Yac(this,a,{actionIssueId:h,implicitAppenders:e,implicitEditors:f,
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 Yac=function(a,b,c){var d=c.actionIssueId,e=c.implicitAppenders,f=c.implicitEditors,h=c.isDeduping,k=c.isRemovingSelfFromCc,q=c.requestData,t,w,y,C,J,I,P,O,U,aa,na,sa,Ba,Pa;return qe(function(Ja){switch(Ja.nextAddress){case 1:return Ja.yield(Promise.all([jbc(a,e,"appender",d),jbc(a,f,"writer",d)]),2);case 2:t=Ja.yieldResult;w=l(t);y=w.next().value;C=w.next().value;J=y;I=C;P=J.noAccessEmails||[];O=I.noAccessEmails||[];U=[].concat(u(P),u(O));if(0===U.length)return Ja.return(kbc(a,q,h,k));re(Ja,
3);return Ja.yield(Promise.all(U.map(function(cb){return lbc(a,cb)})),5);case 5:return aa=Ja.yieldResult,na=jCa({userPrincipals:aa,newEditors:O,newImplicitUsers:U,isExternalSession:a.activeSession.isExternalSession(),issueId:b,actionIssueId:d}),sa=na.title,Ba=na.content,Ja.yield(TJ(a.confirmationDialogService,{title:sa,content:ch(Ba),confirmButtonText:"Allow"}),6);case 6:if(Pa=Ja.yieldResult)return Ja.return(kbc(a,q,h,k));a.permissionsFridge.poke("issues/"+b);oI(a.issueFetchResponseFridge,b);tt(Ja,
0);break;case 3:ve(Ja),a.butterBar.showWarning("Could not determine email type."),we(Ja)}})},kbc=function(a,b,c,d){nP(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 oP(a,e,b)},jbc=function(a,b,c,d,e,f){e=void 0===e?!1:e;f=void 0===f?null:f;if(e&&!f)throw Error("yd");var h=e?"ISSUE_DEFAULTS":"ISSUE";d=e?f:d;e={noAccessEmails:[]};
return 0!==b.length&&a.issuePermissionService.isImplicitAccessEnabled()?a.accessPolicy.checkPermission(b.map(so),c,h,d):Promise.resolve(e)},ibc=function(a,b,c){var d=a.isSavingMap.get(b);a=(a=a.editableIssueMap.get(b))&&Dk(a);if(!a||!d)return c;d=d.properties();d=l(d);var e=d.next();for(b={};!e.done;b={customFieldId$jscomp$16:b.customFieldId$jscomp$16},e=d.next())if(e=e.value,e.match(/^\d+$/)){b.customFieldId$jscomp$16=fi(e);var f=(c.customField||[]).find(function(h){return function(k){return k.customFieldId===
h.customFieldId$jscomp$16}}(b));e=a.customFieldMap[e];f&&e&&(f.textValue=e.textValue,f.dateValue=e.dateValue,f.enumValue=e.enumValue,f.numericValue=e.numericValue)}else f=void 0,null==(f=pac.get(e))||f(c,a);return c},mP=function(a,b){var c=oac(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(cMa(e)))});return c.actions.length?c:null},nP=function(a,b){var c=String(b.issueId);Fs(a.butterBar,"Saving...",0);var d=b.actions.map(function(e){return e.fieldName}).join(",");
dP(a.issueInteractionsTracking,c,{label:d});a=a.savingState(c);b=l(b.actions);for(c=b.next();!c.done;c=b.next())jP(a,cMa(c.value))},oP=function(a,b,c,d){var e,f;return qe(function(h){switch(h.nextAddress){case 1:return re(h,2),h.yield(b,4);case 4:return e=h.yieldResult,lI(a.issueFridge,[c.issueId],{eagerUpdate:!1,userActivityType:"EDIT"}).then(function(){var k=String(c.issueId);oI(a.issueFetchResponseFridge,k);a.eventsForIssueFridge.poke(k)}),h.yield(mbc(a,c,e,d),5);case 5:tt(h,0);break;case 2:f=
ve(h),nbc(a,c,f),we(h)}})},mbc=function(a,b,c,d){var e=(void 0===d?{}:d).originalRetentionState,f,h,k,q;return qe(function(t){f=a.savingState(String(b.issueId));h=l(b.actions);for(k=h.next();!k.done;k=h.next())q=k.value,kP(f,cMa(q));return c?t.yield(obc(a,b,e),0):t.jumpTo(0)})},nbc=function(a,b,c){var d=String(b.issueId),e=a.savingState(d);b=l(b.actions);for(var f=b.next();!f.done;f=b.next())kP(e,cMa(f.value));a.permissionsFridge.poke("issues/"+d);oI(a.issueFetchResponseFridge,d);wn(c)&&403===c.status&&
xn(c)?GG(a.errorHandler,xn(c)):HG(a.errorHandler,c)},obc=function(a,b,c){var d,e,f,h,k,q,t,w,y,C,J;return qe(function(I){switch(I.nextAddress){case 1:return I.yield(a.getEffortSpec(String(b.issueId)),2);case 2:d=I.yieldResult;e=a.editableIssue(String(b.issueId));k=tac(a.statusMessages,b,e.customFieldMap,null!=(h=null==(f=d)?void 0:f.name)?h:"");if(!c){I.jumpTo(3);break}return I.yield(Promise.all([a.getRetentionState(String(b.issueId)),a.getRetention(String(b.issueId))]),4);case 4:q=I.yieldResult;
t=l(q);w=t.next().value;y=t.next().value;C=w;J=y;if("INDEFINITE"!==J&&c&&C){var P=c.retentionPeriod?Bn(Math.floor(1E3*c.retentionPeriod.seconds/864E5)):"indefinite";var O=C.retentionPeriod?Bn(Math.floor(1E3*C.retentionPeriod.seconds/864E5)):"indefinite";P=P===O?"":" Issue retention period changed from "+P+" to "+O+"."}else P="";k+=P;case 3:Fs(a.butterBar,k),we(I)}})},bbc=function(a,b,c,d){return qe(function(e){if(1==e.nextAddress){var f=a.editableIssue(b);var h=a.activeSession.getUserEmail();f=new Map([["CC",
f.cc],["collaborators",f.collaborators],["assignee",f.assignee?[f.assignee]:[]],["verifier",f.verifier?[f.verifier]:[]]]);(new Set([].concat(u(f.values())).flat())).has(h)?(f.set(c,d),h=!(new Set([].concat(u(f.values())).flat())).has(h)):h=!1;e=h?e.yield(pbc(a,b,a.editableIssue(b).componentId,c),2):e.return(!0)}else e=e.return(e.yieldResult);return e})},pbc=function(a,b,c,d){var e;return qe(function(f){if(1==f.nextAddress)return f.yield(jbc(a,[a.activeSession.getUserEmail()],"reader",b,!0,c),2);e=
f.yieldResult;return e.noAccessEmails&&0!==e.noAccessEmails.length?f.return(TJ(a.confirmationDialogService,{title:"Removing yourself from "+d+" may revoke your access to the issue",content:ch("This issue is in a component with Expanded Access enabled, and you do not have access to view this issue by default. Removing yourself from "+d+" may also remove your ability to view the issue. Are you sure you would like to do this?")})):f.return(!0)})};
lP.prototype.getRetentionState=function(a){return(0,E.firstValueFrom)(nI(this.issueFetchResponseFridge,a).pipe(D(ULa)))};lP.prototype.getRetention=function(a){return(0,E.firstValueFrom)(nI(this.issueFetchResponseFridge,a).pipe(D(RLa)))};lP.prototype.getEffortSpec=function(a){return(0,E.firstValueFrom)(nI(this.issueFetchResponseFridge,a).pipe(D(yLa),af(this.componentFridge.watch),D(XLa)))};
var lbc=function(a,b){return qe(function(c){return a.activeSession.isExternalSession()?c.return({principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}):c.return(VD(a.principalTypes,b,!0))})};lP.prototype.ngOnDestroy=function(){this.isSavingMap.clear();this.issueFieldsMap.clear();this.issueQuickActionsMap.clear();this.editableIssueMap.clear();for(var a=l(this.subscriptions.values()),b=a.next();!b.done;b=a.next())b.value.unsubscribe();this.subscriptions.clear()};
lP.\u0275fac=function(a){return new (a||lP)(p(mI),p(nt),p(EG),p(cP),p(kG),p(mH),p(GI),p(AH),p(NO),p(FG),p(SJ),p(UD),p(gP),p(KH),p(KO),p(GE),p(iI),p(TO),p(fI),p(RO),p(LE),p(nJ),p(JO),p(QO),p(bP),p(hP),p(ZO))};lP.\u0275prov=Dc({token:lP,factory:lP.\u0275fac,providedIn:"root"});var pP=function(a,b,c){Z.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 mi(null==(e=KBa(d))?void 0:e.assigneeUser)||""}));this.ccUpdate$=this.issueDetailsBrain.issueJs$.pipe(D(function(d){var e;return ni(null==(e=KBa(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$};Y(pP,Z);pP.\u0275dir=Z.\u0275dir;
var qbc=function(a,b){var c,d,e;return qe(function(f){switch(f.nextAddress){case 1:c=Dk(a.id$);if(!c)return f.return();a.assigneeInProgress$.next(!0);d="remove_user"===b.action?"":b.email;re(f,2,3);return f.yield(v0a(a.editIssueService,c,d),5);case 5:return f.yield((0,E.firstValueFrom)(a.assigneeUpdate$.pipe(He(function(h){h=b.email===h;return"set_user"===b.action?h:!h}),Je(6E4))),3);case 3:te(f);a.assigneeInProgress$.next(!1);ue(f,0);break;case 2:throw e=ve(f),e;}})},rbc=function(a,b){var c,d,e,
f,h;return qe(function(k){switch(k.nextAddress){case 1:c=Dk(a.id$);if(!c)return k.return();d=a.editIssueService.editableIssue(c);e=d.cc.includes(b.email);f=void 0;"set_user"!==b.action||e?"remove_user"===b.action&&e&&(f=cbc(a.editIssueService,c,d.cc.filter(function(q){return q!==b.email}))):f=cbc(a.editIssueService,c,[].concat(u(d.cc),[b.email]));if(!f)return k.return();re(k,2,3);a.ccInProgress$.next(!0);return k.yield(f,5);case 5:return k.yield((0,E.firstValueFrom)(a.ccUpdate$.pipe(He(function(q){q=
q.includes(b.email);return"set_user"===b.action?q:!q}),Je(6E4))),3);case 3:te(k);a.ccInProgress$.next(!1);ue(k,0);break;case 2:throw h=ve(k),h;}})};pP.\u0275fac=function(a){return new (a||pP)(p(eP),p(gP),p(lP))};pP.\u0275prov=Dc({token:pP,factory:pP.\u0275fac});var qP=function(a,b,c){Z.call(this);this.domSafe=a;this.cdr=b;this.actionService=c;this.currentAssignee="";this.currentCc=[];this.ccActionDisabled=this.assigneeActionDisabled=!1};Y(qP,Z);qP.\u0275dir=Z.\u0275dir;
qP.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 dMa=function(a){if(a.actionService&&!a.assigneeActionDisabled){a.assigneeActionDisabled=!0;var b=a.email===a.currentAssignee?"remove_user":"set_user";Hk(Kp.PERSON_CARD,"assigneeAction",b);qbc(a.actionService,{email:a.email,action:b}).finally(function(){a.assigneeActionDisabled=!1})}},eMa=function(a){if(a.actionService&&!a.ccActionDisabled){a.ccActionDisabled=!0;var b=a.currentCc.includes(a.email)?"remove_user":"set_user";Hk(Kp.PERSON_CARD,"ccAction",b);rbc(a.actionService,{email:a.email,action:b}).finally(function(){a.ccActionDisabled=
!1})}};qP.\u0275fac=function(a){return new (a||qP)(B(lM),B(XD,2),B(pP,8))};
qP.\u0275cmp=r({type:qP,selectors:[["b-issue-person-card"]],inputs:{email:"email"},features:[bg([XD]),yf],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),F(1,fMa,9,8,"ng-container",1),W(2,"async"),H(3,"onedev-hovercard-action",2),Q("click",function(c){Hk(Kp.PERSON_CARD,"showAssignedIssuesAction");var d=Qk({q:"assignee:"+b.email+" status:open"});c.ctrlKey||c.metaKey?b.domSafe.openInNewTab(d):
mM(b.domSafe,d)}),H(4,"span"),T(5,"Show assigned issues"),K()()());a&2&&(G("email",b.email),A(1),G("ngIf",b.actionService&&X(2,2,b.actionService.editAccess$)))},dependencies:[Uv,TK,zO,$v],encapsulation:2,changeDetection:0});var rP=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=zn;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=l(d);d=e.next().value;var f=e.next().value;
e=e.next().value;return(f=null==f?void 0:f.displayName)?e?d+" ("+f+")":f:d}));this.vars$=(0,E.combineLatest)([this.email$,this.content$]).pipe(D(function(d){var e=l(d);d=e.next().value;e=e.next().value;return{email:d,content:e}}));this.enableWaldoAvailability=yD(this.session,"enableWaldoAvailability")&&this.session.isInternalSession()};Gh.Object.defineProperties(rP.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)}}});
rP.\u0275fac=function(a){return new (a||rP)(B(nt),B(EO))};
rP.\u0275cmp=r({type:rP,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&&(F(0,kMa,4,2,"ng-container",
0),W(1,"async"));a&2&&G("ngIf",X(1,1,b.vars$))},dependencies:[Uv,Zv,GO,qP,hK,mK,$v],encapsulation:2,changeDetection:0});var sP=function(){this.model={};this.hovercardEnabled=this.availabilityChipEnabled=!0;this.hovercardFocusEnabled=!1};sP.prototype.getDisplayString=function(){return mi(this.model)};var sbc=function(a){var b=a.model;return(b&&b.getUserGaiaStatus?Fra(pi(b)):Fra(b))&&!!a.getEmailAddress()};sP.prototype.getEmailAddress=function(){return qi(this.model)||""};sP.\u0275fac=function(a){return new (a||sP)};
sP.\u0275cmp=r({type:sP,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&&(M(0),F(1,lMa,1,4,"b-user-display-name",0)(2,mMa,2,1,"span",
1),N());a&2&&(A(1),G("ngIf",sbc(b)),A(1),G("ngIf",!sbc(b)))},dependencies:[Uv,rP],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 pMa={"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/octave/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","prefilter-fetcher-jobs-dev@prod.google.com":"https://static.corp.google.com/modem-tools/riemann/logo/riemann_logo.svg","pte-pqm-bugbot-dev-jobs@prod.google.com":"https://g3doc.corp.google.com/wireless/android/pixel/testing/bugbot/g3doc/bugbot_logo.png?cl=head","pte-pqm-bugbot@prod.google.com":"https://g3doc.corp.google.com/wireless/android/pixel/testing/bugbot/g3doc/bugbot_logo.png?cl=head","spur-workflows@prod.google.com":"https://g3doc.corp.google.com/security/spur/g3doc/spur_logo.jpg?cl=head"};var tP=function(a,b){var c=this;this.userProfiles=a;this.activeSession=b;this.email$=new E.ReplaySubject(1);this.isNonObfuscatedEmail=zn;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=l(d);d=e.next().value;e=e.next().value;if(!e)return{email:d,showImage:!1,src:void 0,srcset:void 0};var f=!e.photoUrl,h=f?void 0:e.photoUrl,k;f?k=void 0:k=e.highResolutionPhotoUrl?
e.highResolutionPhotoUrl+" 2x":e.photoUrl+" 1x";return{email:d,showImage:!f,src:h,srcset:k}}))},tMa=function(a,b){return!b||a.activeSession.isExternalSession()?!1:void 0!==pMa[b]};
Gh.Object.defineProperties(tP.prototype,{email:{configurable:!0,enumerable:!0,set:function(a){zn(a)?this.email$.next(a):this.email$.next(void 0)}},tiny:{configurable:!0,enumerable:!0,get:function(){return"tiny"===this.size}},small:{configurable:!0,enumerable:!0,get:function(){return"small"===this.size}},medium:{configurable:!0,enumerable:!0,get:function(){return"medium"===this.size}}});tP.\u0275fac=function(a){return new (a||tP)(B(EO),B(nt))};
tP.\u0275cmp=r({type:tP,selectors:[["b-user-image"]],hostVars:6,hostBindings:function(a,b){a&2&&Jf("tiny",b.tiny)("small",b.small)("medium",b.medium)},inputs:{email:"email",size:"size"},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&&(F(0,vMa,4,2,"ng-container",0),W(1,"async"));a&2&&G("ngIf",X(1,1,b.vars$))},dependencies:[Uv,Zv,qP,hK,mK,$v],styles:['.material.user-avatar.anonymous[_ngcontent-%COMP%]{border:1px solid;border-color:#bdc1c6;border-color:var(--c400);border-radius:50%;background-image:url("https://www.gstatic.com/buganizer/img/v0/logo_avatar_anonymous.svg");background-repeat:no-repeat;background-position:center;background-size:cover}img[_ngcontent-%COMP%]{border-radius:50%;vertical-align:middle}.material.user-avatar.robo-avatar[_ngcontent-%COMP%]{border-radius:0;object-fit:contain}[_nghost-%COMP%]{display:inline-flex;vertical-align:middle}.tiny[_nghost-%COMP%]   img[_ngcontent-%COMP%]{width:12px;max-height:12px}.tiny[_nghost-%COMP%]   .user-avatar.anonymous[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;width:12px;height:12px;border:none;box-shadow:inset 0 0 0 1px #dadce0;box-shadow:inset 0 0 0 1px var(--divider)}.small[_nghost-%COMP%]   img[_ngcontent-%COMP%]{max-width:18px;max-height:18px}.small[_nghost-%COMP%]   .user-avatar.anonymous[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;width:18px;height:18px;border:none;box-shadow:inset 0 0 0 1px #dadce0;box-shadow:inset 0 0 0 1px var(--divider)}.medium[_nghost-%COMP%]   img[_ngcontent-%COMP%]{max-width:24px;max-height:24px}.medium[_nghost-%COMP%]   .user-avatar.anonymous[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;width:24px;height:24px;border:none;box-shadow:inset 0 0 0 1px #dadce0;box-shadow:inset 0 0 0 1px var(--divider)}'],
changeDetection:0});var uP=function(a,b,c,d,e,f,h){var k=this;this.cdr=a;this.codefont=b;this.location=e;this.paths=f;this.userFeedback=h;this.commentVersion=-1;this.history=[];this.diffView=this.isLoading=!0;this.issueId=c.issueId;this.commentNumber=c.commentNumber;this.commentVersion=c.commentVersion;c.commentHistory.then(function(q){k.history=q}).catch(function(q){d.errorHandler(null,q)}).finally(function(){k.isLoading=!1;k.cdr.detectChanges()})};uP.prototype.trackByIndex=function(a){return a};
uP.prototype.startFeedback=function(){this.userFeedback.startFeedback()};uP.\u0275fac=function(a){return new (a||uP)(B(XD,2),B(nN),B(uA),B(FG),B(pw),B(cF),B(NL))};
uP.\u0275cmp=r({type:uP,selectors:[["comment-history-dialog"]],features:[bg([XD])],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),T(1),K(),H(2,"mat-dialog-content")(3,"div",1)(4,"mat-checkbox",
2),Q("change",function(c){return b.diffView=c.checked}),T(5," Show Diff "),K()(),H(6,"a",3),Q("click",function(){return b.startFeedback()}),T(7,"Feedback"),K(),L(8,"br",4),F(9,wMa,2,0,"div",5)(10,LMa,2,2,"ul",6),K(),H(11,"mat-dialog-actions")(12,"button",7),T(13,"Close"),K()());a&2&&(A(1),V("History for Comment #",b.commentNumber,""),A(3),G("checked",b.diffView),A(5),G("ngIf",b.isLoading),A(1),G("ngIf",!b.isLoading))},dependencies:[Tv,Uv,CM,eL,eA,wA,xA,yA,zA,AO,eK,tP,sP,$v,zL,BO],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 vP=function(){};vP.\u0275fac=function(a){return new (a||vP)};vP.\u0275mod=Tc({type:vP});vP.\u0275inj=Ec({imports:[zD,yO,UK]});var wP=function(){};wP.\u0275fac=function(a){return new (a||wP)};wP.\u0275mod=Tc({type:wP});wP.\u0275inj=Ec({imports:[iO,zD,eM]});var xP=function(){};xP.\u0275fac=function(a){return new (a||xP)};xP.\u0275mod=Tc({type:xP});xP.\u0275inj=Ec({imports:[zD,UK,vP]});var yP=function(a){this.session=a;this.isNonObfuscatedEmail=zn;this.email="";this.withProfile=!0;this.enableWaldoAvailability=yD(this.session,"enableWaldoAvailability")&&this.session.isInternalSession()};yP.\u0275fac=function(a){return new (a||yP)(B(nt))};
yP.\u0275cmp=r({type:yP,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),F(1,MMa,1,1,"b-user-image",1)(2,OMa,6,3,"ng-container",2)(3,PMa,2,1,"ng-template",null,3,tg)(5,QMa,2,1,"span",4),K());if(a&2){var c=S(4);A(1);G("ngIf",b.withProfile);A(1);G("ngIf",b.isNonObfuscatedEmail(b.email))("ngIfElse",c);A(3);G("ngIf",b.enableWaldoAvailability)}},dependencies:[Uv,Zv,GO,qP,hK,mK,tP],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 zP=function(a,b,c){Z.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=zn;this.isGroup=!1;this.fetchedTeam$=this.providedTeamId$.pipe(af(function(e){return XI(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 f=l(e);e=f.next().value;f=f.next().value;return D4b(d.teamsService,
e,f)}),$e(!1),Le(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 f=l(e);e=f.next().value;f=f.next().value;return"PUBLIC"===e?"PUBLIC_USER":"EXTERNAL"===e?"PARTNER_USER":f?"INTERNAL_TEAM_MEMBER":"INTERNAL_NON_TEAM_MEMBER"}));this.enableWaldoAvailability=yD(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 f=l(e);e=f.next().value;f=f.next().value;if(e&&"INTERNAL_NON_TEAM_MEMBER"!==e){if("INTERNAL_TEAM_MEMBER"===e)return f;if("PARTNER_USER"===e)return"Partner user";
if("PUBLIC_USER"===e)return"Public user"}return""}))};Y(zP,Z);zP.\u0275dir=Z.\u0275dir;zP.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.providedEmail$.subscribe(function(){a.enableGroupIcon&&VD(a.principalTypes,a.email,!1).then(function(b){a.isGroup="GROUP"===b.principalType})}))};zP.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)};
zP.\u0275fac=function(a){return new (a||zP)(B(WI),B(nt),B(UD))};
zP.\u0275cmp=r({type:zP,selectors:[["b-user-membership-chip"]],inputs:{user:"user",email:"email",teamId:"teamId",enableSmallChip:"enableSmallChip",enableGroupIcon:"enableGroupIcon"},features:[yf,ld],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"],
["size","tiny",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),W(1,"async"),H(2,"span",0),W(3,"async"),F(4,TMa,4,2,"ng-container",1)(5,UMa,1,3,"b-user-display-name",2)(6,YMa,3,2,"ng-template",
null,3,tg)(8,ZMa,3,6,"mat-icon",4),W(9,"async"),K()(),F(10,$Ma,2,1,"ng-container",1));if(a&2){var c=S(7),d,e;G("ngClass",null!==(d=X(1,7,b.userTypeClass$))&&void 0!==d?d:"");A(2);G("ngClass",null!==(e=X(3,9,b.userChipType$))&&void 0!==e?e:"");A(2);G("ngIf",b.enableSmallChip);A(1);G("ngIf",!b.enableSmallChip)("ngIfElse",c);A(3);G("ngIf",X(9,11,b.shouldShowIcon$));A(2);G("ngIf",b.enableWaldoAvailability&&!b.enableSmallChip)}},dependencies:[Sv,Uv,Zv,MA,GO,AD,dC,qP,hK,mK,tP,rP,$v],styles:[".user-chip-without-icon[_ngcontent-%COMP%]{display:inline-block;height:1.75em;white-space:nowrap}.user-chip-without-icon[_ngcontent-%COMP%]   b-user-display-name[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;color:#202124;color:var(--text-high-contrast);font-style:normal;font-weight:bold;height:20px;letter-spacing:.2px;line-height:20px}.user-chip-without-icon[_ngcontent-%COMP%]   .internal-non-team-member-chip[_ngcontent-%COMP%]{align-items:center;display:flex;height:1.75em;line-height:1.75em;padding:0 8px}.user-chip[_ngcontent-%COMP%]{display:inline-block;height:1.75em;white-space:nowrap}.user-chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{flex-shrink:0;height:16px;margin-left:3%;padding:0 14px 0 0;position:relative;width:16px}.user-chip[_ngcontent-%COMP%]   b-user-display-name[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;color:#202124;color:var(--text-high-contrast);font-style:normal;font-weight:bold;height:20px;letter-spacing:.2px;line-height:20px;padding:0 0 0 8px}.team-member-chip[_ngcontent-%COMP%]{background-color:#e8f0fe;background-color:var(--team-member-bg);min-width:0;align-items:center;border-radius:24px;display:flex;height:1.75em;line-height:1.75em;padding:0 0px 0 0px}.team-member-chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#1967d2;color:var(--team-member-gfx)}.partner-chip[_ngcontent-%COMP%]{background-color:#ffdeb5;background-color:var(--partner-bg);min-width:0;align-items:center;border-radius:24px;display:flex;height:1.75em;line-height:1.75em;padding:0 0px 0 0px}.partner-chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#202124;color:var(--partner-text)}.partner-chip[_ngcontent-%COMP%]   b-user-display-name[_ngcontent-%COMP%], .partner-chip[_ngcontent-%COMP%]   .user-chip-name[_ngcontent-%COMP%]{color:#202124;color:var(--partner-text)}.public-chip[_ngcontent-%COMP%]{background-color:#fbe983;background-color:var(--public-bg);min-width:0;align-items:center;border-radius:24px;display:flex;height:1.75em;line-height:1.75em;padding:0 0px 0 0px}.public-chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#202124;color:var(--public-text)}.public-chip[_ngcontent-%COMP%]   b-user-display-name[_ngcontent-%COMP%], .public-chip[_ngcontent-%COMP%]   .user-chip-name[_ngcontent-%COMP%]{color:#202124;color:var(--public-text)}.user-chip-small[_ngcontent-%COMP%]{display:flex;height:1.25em;line-height:1.25em}.user-chip-small[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{flex-shrink:0;height:11px;padding:0 0 1px 2px;width:11px}.user-chip-small[_ngcontent-%COMP%]   .internal-non-team-member-chip[_ngcontent-%COMP%]{align-items:center;border-radius:24px;display:flex;height:1.25em;line-height:1.25em;padding:0 6px 0 1px;min-width:0}.user-chip-small[_ngcontent-%COMP%]   .internal-non-team-member-chip[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.12);background-color:var(--user-bg-focus)}.user-chip-small[_ngcontent-%COMP%]   .team-member-chip[_ngcontent-%COMP%]{align-items:center;border-radius:24px;display:flex;height:1.25em;line-height:1.25em;padding:0 6px 0 1px}.user-chip-small[_ngcontent-%COMP%]   .partner-chip[_ngcontent-%COMP%]{align-items:center;border-radius:24px;display:flex;height:1.25em;line-height:1.25em;padding:0 6px 0 1px}.user-chip-small[_ngcontent-%COMP%]   .public-chip[_ngcontent-%COMP%]{align-items:center;border-radius:24px;display:flex;height:1.25em;line-height:1.25em;padding:0 6px 0 1px}.user-chip-name[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast);font-style:normal;font-weight:normal;height:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;letter-spacing:.3px;line-height:16px;padding:0 0 0 2px}[_nghost-%COMP%]{min-width:0}[_nghost-%COMP%]     b-icon{width:12px}[_nghost-%COMP%]     b-icon mat-icon{width:inherit}[_nghost-%COMP%]     b-icon mat-icon svg{width:12px;height:16px}"],
changeDetection:0});var AP=function(){};AP.\u0275fac=function(a){return new (a||AP)};AP.\u0275mod=Tc({type:AP});AP.\u0275inj=Ec({imports:[zD,wP,HD,QC,vP,xP,UK]});var BP=function(){};BP.\u0275fac=function(a){return new (a||BP)};BP.\u0275mod=Tc({type:BP});BP.\u0275inj=Ec({imports:[zD,YM,hL,kC,AA,vP,CL,SK,AP]});var aNa=function(){},Go=function(a,b,c,d,e){"undefined"==typeof e&&(e=(new Date).getTime()+1E3);if(null==b||null==c)throw Error("zd");if(b==c)return b?[[0,b]]:[];"undefined"==typeof d&&(d=!0);var f=tbc(b,c),h=b.substring(0,f);b=b.substring(f);c=c.substring(f);f=ubc(b,c);var k=b.substring(b.length-f);b=b.substring(0,b.length-f);c=c.substring(0,c.length-f);b=vbc(a,b,c,d,e);h&&b.unshift([0,h]);k&&b.push([0,k]);wbc(a,b);return b},vbc=function(a,b,c,d,e){if(!b)return[[1,c]];if(!c)return[[-1,b]];var f=
b.length>c.length?b:c,h=b.length>c.length?c:b,k=f.indexOf(h);if(-1!=k)return a=[[1,f.substring(0,k)],[0,h],[1,f.substring(k+h.length)]],b.length>c.length&&(a[0][0]=a[2][0]=-1),a;if(1==h.length)return[[-1,b],[1,c]];if(f=xbc(b,c))return c=f[1],h=f[3],b=f[4],f=Go(a,f[0],f[2],d,e),a=Go(a,c,h,d,e),f.concat([[0,b]],a);if(d&&100<b.length&&100<c.length){b=ybc(b,c);c=b.lineArray;b=Go(a,b.chars1,b.chars2,!1,e);for(d=0;d<b.length;d++){f=b[d][1];h=[];for(k=0;k<f.length;k++)h[k]=c[f.charCodeAt(k)];b[d][1]=h.join("")}bNa(a,
b);b.push([0,""]);f=d=c=0;for(k=h="";c<b.length;){switch(b[c][0]){case 1:f++;k+=b[c][1];break;case -1:d++;h+=b[c][1];break;case 0:if(1<=d&&1<=f){b.splice(c-d-f,d+f);c=c-d-f;d=Go(a,h,k,!1,e);for(f=d.length-1;0<=f;f--)b.splice(c,0,d[f]);c+=d.length}d=f=0;k=h=""}c++}b.pop();a=b}else a:{d=b.length;f=c.length;h=Math.ceil((d+f)/2);k=2*h;for(var q=Array(k),t=Array(k),w=0;w<k;w++)q[w]=-1,t[w]=-1;q[h+1]=0;t[h+1]=0;w=d-f;for(var y=0!=w%2,C=0,J=0,I=0,P=0,O=0;O<h&&!((new Date).getTime()>e);O++){for(var U=-O+
C;U<=O-J;U+=2){var aa=h+U;var na=U==-O||U!=O&&q[aa-1]<q[aa+1]?q[aa+1]:q[aa-1]+1;for(var sa=na-U;na<d&&sa<f&&b.charAt(na)==c.charAt(sa);)na++,sa++;q[aa]=na;if(na>d)J+=2;else if(sa>f)C+=2;else if(y&&(aa=h+w-U,0<=aa&&aa<k&&-1!=t[aa])){var Ba=d-t[aa];if(na>=Ba){a=zbc(a,b,c,na,sa,e);break a}}}for(U=-O+I;U<=O-P;U+=2){aa=h+U;Ba=U==-O||U!=O&&t[aa-1]<t[aa+1]?t[aa+1]:t[aa-1]+1;for(na=Ba-U;Ba<d&&na<f&&b.charAt(d-Ba-1)==c.charAt(f-na-1);)Ba++,na++;t[aa]=Ba;if(Ba>d)P+=2;else if(na>f)I+=2;else if(!y&&(aa=h+w-U,
0<=aa&&aa<k&&-1!=q[aa]&&(na=q[aa],sa=h+na-aa,Ba=d-Ba,na>=Ba))){a=zbc(a,b,c,na,sa,e);break a}}}a=[[-1,b],[1,c]]}return a},zbc=function(a,b,c,d,e,f){var h=b.substring(d),k=c.substring(e);b=Go(a,b.substring(0,d),c.substring(0,e),!1,f);a=Go(a,h,k,!1,f);return b.concat(a)},ybc=function(a,b){function c(h){for(var k="",q=0,t=-1,w=d.length;t<h.length-1;){t=h.indexOf("\n",q);-1==t&&(t=h.length-1);var y=h.substring(q,t+1);(e.hasOwnProperty?e.hasOwnProperty(y):void 0!==e[y])?k+=String.fromCharCode(e[y]):(w==
f&&(y=h.substring(q),t=h.length),k+=String.fromCharCode(w),e[y]=w,d[w++]=y);q=t+1}return k}var d=[],e={};d[0]="";var f=4E4;a=c(a);f=65535;b=c(b);return{chars1:a,chars2:b,lineArray:d}},tbc=function(a,b){if(!a||!b||a.charAt(0)!=b.charAt(0))return 0;for(var c=0,d=Math.min(a.length,b.length),e=d,f=0;c<e;)a.substring(f,e)==b.substring(f,e)?f=c=e:d=e,e=Math.floor((d-c)/2+c);return e},ubc=function(a,b){if(!a||!b||a.charAt(a.length-1)!=b.charAt(b.length-1))return 0;for(var c=0,d=Math.min(a.length,b.length),
e=d,f=0;c<e;)a.substring(a.length-e,a.length-f)==b.substring(b.length-e,b.length-f)?f=c=e:d=e,e=Math.floor((d-c)/2+c);return e},Abc=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 f=b.indexOf(a.substring(c-e));if(-1==f)return d;e+=f;if(0==f||a.substring(c-e)==b.substring(0,e))d=e,e++}},xbc=function(a,b){function c(k,q,t){for(var w=k.substring(t,t+Math.floor(k.length/4)),y=-1,C="",
J,I,P,O;-1!=(y=q.indexOf(w,y+1));){var U=tbc(k.substring(t),q.substring(y)),aa=ubc(k.substring(0,t),q.substring(0,y));C.length<aa+U&&(C=q.substring(y-aa,y)+q.substring(y,y+U),J=k.substring(0,t-aa),I=k.substring(t+U),P=q.substring(0,y-aa),O=q.substring(y+U))}return 2*C.length>=k.length?[J,I,P,O,C]: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 f=c(d,e,Math.ceil(d.length/4));d=c(d,e,Math.ceil(d.length/2));var h;if(f||d)d?h=f?f[4].length>d[4].length?
f:d:d:h=f;else return null;a.length>b.length?(a=h[0],b=h[1],f=h[2],d=h[3]):(f=h[0],d=h[1],a=h[2],b=h[3]);return[a,b,f,d,h[4]]},bNa=function(a,b){for(var c=!1,d=[],e=0,f=null,h=0,k=0,q=0,t=0,w=0;h<b.length;)0==b[h][0]?(d[e++]=h,k=t,q=w,w=t=0,f=b[h][1]):(1==b[h][0]?t+=b[h][1].length:w+=b[h][1].length,f&&f.length<=Math.max(k,q)&&f.length<=Math.max(t,w)&&(b.splice(d[e-1],0,[-1,f]),b[d[e-1]+1][0]=1,e--,e--,h=0<e?d[e-1]:-1,w=t=q=k=0,f=null,c=!0)),h++;c&&wbc(a,b);Bbc(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=Abc(a,c);e=Abc(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++}},Bbc=function(a){function b(y,C){if(!y||!C)return 6;var J=y.charAt(y.length-1),I=C.charAt(0),P=J.match(Cbc),O=I.match(Cbc),U=P&&J.match(Dbc),
aa=O&&I.match(Dbc);J=U&&J.match(Ebc);I=aa&&I.match(Ebc);y=J&&y.match(Fbc);C=I&&C.match(Gbc);return y||C?5:J||I?4:P&&!U&&aa?3:U||aa?2:P||O?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],f=a[c+1][1],h=ubc(d,e);if(h){var k=e.substring(e.length-h);d=d.substring(0,d.length-h);e=k+e.substring(0,e.length-h);f=k+f}h=d;k=e;for(var q=f,t=b(d,e)+b(e,f);e.charAt(0)===f.charAt(0);){d+=e.charAt(0);e=e.substring(1)+f.charAt(0);f=f.substring(1);var w=b(d,e)+b(e,f);w>=t&&(t=
w,h=d,k=e,q=f)}a[c-1][1]!=h&&(h?a[c-1][1]=h:(a.splice(c-1,1),c--),a[c][1]=k,q?a[c+1][1]=q:(a.splice(c+1,1),c--))}c++}},Cbc=/[^a-zA-Z0-9]/,Dbc=/\s/,Ebc=/[\r\n]/,Fbc=/\n\r?\n$/,Gbc=/^\r?\n\r?\n/,wbc=function(a,b){b.push([0,""]);for(var c=0,d=0,e=0,f="",h="",k;c<b.length;)switch(b[c][0]){case 1:e++;h+=b[c][1];c++;break;case -1:d++;f+=b[c][1];c++;break;case 0:1<d+e?(0!==d&&0!==e&&(k=tbc(h,f),0!==k&&(0<c-d-e&&0==b[c-d-e-1][0]?b[c-d-e-1][1]+=h.substring(0,k):(b.splice(0,0,[0,h.substring(0,k)]),c++),h=h.substring(k),
f=f.substring(k)),k=ubc(h,f),0!==k&&(b[c][1]=h.substring(h.length-k)+b[c][1],h=h.substring(0,h.length-k),f=f.substring(0,f.length-k))),0===d?b.splice(c-e,d+e,[1,h]):0===e?b.splice(c-d,d+e,[-1,f]):b.splice(c-d-e,d+e,[-1,f],[1,h]),c=c-d-e+(d?1:0)+(e?1:0)+1):0!==c&&0==b[c-1][0]?(b[c-1][1]+=b[c][1],b.splice(c,1)):c++,d=e=0,h=f=""}""===b[b.length-1][1]&&b.pop();d=!1;for(c=1;c<b.length-1;)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&&wbc(a,b)};var CP=function(a,b,c){this.analytics=a;this.issueComments=b;this.dialogManager=c};CP.prototype.show=function(a,b,c){var d=this,e;return qe(function(f){if(d.dialog&&2!==d.dialog.getState())return f.return();d.analytics.trackEvent("commentHistoryModal","open");e={issueId:a,commentNumber:b,commentVersion:c,commentHistory:Hbc(d,a,b,c)};d.dialog=d.dialogManager.open(uP,{data:e,width:"50vw"});return f.return((0,E.firstValueFrom)(d.dialog.afterClosed()))})};
var Hbc=function(a,b,c,d){return a.issueComments.listHistory(b,c).then(function(e){var f=0<e.length?e[0].unlinkifiedComment:"",h=0<e.length?e[0].formattingMode:"",k=!1,q=[];e=l(e);for(var t=e.next();!t.done;t=e.next()){t=t.value;var w=dNa(t);w||k?(f=DP(t.unlinkifiedComment),h=DP(t.formattingMode)):(f=cNa(f,t.unlinkifiedComment),k=t.formattingMode,h=h===k?DP(k):Io(DP(h,"diff-removed"),DP(k,"diff-added")));k=void 0===t.unlinkifiedComment?"":t.unlinkifiedComment;var y=t.version,C=t.commentContentVerdict;
q.push({unlinkifiedComment:k,lastEditorUser:t.lastEditorUser,version:y,formattingMode:t.formattingMode,formattingModeDiff:h,lastModified:Number(t.lastModified)/1E3,open:25>y,preview:48>=k.length?k:k.substring(0,45)+"...",diff:f,restricted:C&&C.piiVerdict&&"NONE_DETECTED"!==C.piiVerdict.severity||!1,deleted:dNa(t)});f=t.unlinkifiedComment;h=t.formattingMode;k=w}-1<d?q[d].open=!0:q[0].open=!0;return q})},DP=function(a,b){return Ho("SPAN",b?{"class":b}:null,a)};
CP.\u0275fac=function(a){return new (a||CP)(p(aI),p(nJ),p(vA))};CP.\u0275prov=Dc({token:CP,factory:CP.\u0275fac,providedIn:"root"});var Ibc=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"]]),Jbc=new Map([["ENABLED","Enabled"],["DISABLED","Disabled"]]),gNa=new Map([["BUGANIZER_DEFAULT","Default (10 years)"],["CUSTOM_PERIOD","Custom Period"],["INDEFINITE_RETENTION","Indefinite"]]),hNa=new Map([["BUGANIZER_DEFAULT",
"Default (60 days)"],["CUSTOM_PERIOD","Custom Period"],["INDEFINITE_RETENTION","Match Issue Retention"]]),EP=function(a,b){this.$log=a;this.sessionIsInternal=b.isInternalSession()};EP.\u0275fac=function(a){return new (a||EP)(p(GE),p(nt))};EP.\u0275prov=Dc({token:EP,factory:EP.\u0275fac,providedIn:"root"});var jNa=new Map([["SLO_SOURCE_UNSPECIFIED","--"],["USER","User"],["BUGSCOPE","Bugscope"]]);var FP=function(a,b){Z.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()};Y(FP,Z);FP.\u0275dir=Z.\u0275dir;
FP.prototype.ngOnInit=function(){var a=this;this.providedComponentId$.next(this.componentId);this.recentIssuesUrl=Qk({q:"status:open componentid:"+this.componentId,s:"created_time:desc"});this.createIssueUrl=Pk("issues/new",{params:void 0})+"?component="+this.componentId;this.viewComponentUrl=kwa(this.componentId,"basic");this.component$.pipe(Qe(),bf(this.destroyed$)).subscribe(function(){a.init.next()})};FP.\u0275fac=function(a){return new (a||FP)(B(mH),B(nt))};
FP.\u0275cmp=r({type:FP,selectors:[["b-component-card"]],inputs:{componentId:"componentId"},outputs:{init:"init"},features:[yf],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),F(2,nNa,16,8,"ng-container",2),W(3,"async"),K()());a&2&&(A(2),G("ngIf",X(3,1,b.component$)))},dependencies:[Uv,
nL,$v],styles:["[_nghost-%COMP%]{max-width:400px}ul[_ngcontent-%COMP%]{list-style-type:none;padding:0}"]});var GP=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}};GP.\u0275fac=function(a){return new (a||GP)};GP.\u0275prov=Dc({token:GP,factory:GP.\u0275fac,providedIn:"root"});new zu;new Au;var Kbc=new bd("mat-select-scroll-strategy",{providedIn:"root",factory:function(){var a=Nc(oy);return function(){return a.scrollStrategies.reposition()}}}),Lbc=new bd("MAT_SELECT_CONFIG"),Mbc=new bd("MatSelectTrigger");new bd("MAT_PAGINATOR_DEFAULT_OPTIONS");Vpa(function(){});var Nbc=ih("transformPanelWrap",[nh("* => void",ph("@transformPanel",[oh()]))]),Obc=ih("transformPanel",[lh("void",kh({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),lh("showing",kh({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),lh("showing-multiple",kh({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),nh("void => *",jh("120ms cubic-bezier(0, 0, 0.2, 1)")),nh("* => void",jh("100ms 25ms linear",kh({opacity:0})))]);var Pbc=["trigger"],Qbc=["panel"],Rbc=Number.MAX_SAFE_INTEGER,Sbc={provide:Kbc,deps:[oy],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},Tbc=tqa(function(a,b){b=void 0===b?0:b;var c=function(){var d=a.apply(this,[].concat(u($c.apply(0,arguments))))||this;d._tabIndex=b;d.defaultTabIndex=b;return d};Y(c,a);Gh.Object.defineProperties(c.prototype,{tabIndex:{configurable:!0,enumerable:!0,get:function(){return this.disabled?-1:this._tabIndex},set:function(d){this._tabIndex=
null!=d?Vg(d):this.defaultTabIndex}}});return c}(function(a){var b=function(){var c=a.apply(this,[].concat(u($c.apply(0,arguments))))||this;c._disabled=!1;return c};Y(b,a);Gh.Object.defineProperties(b.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(c){this._disabled=Sg(c)}}});return b}(Upa(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})))),
HP=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J){var I=Tbc.call(this,e,d,h,k,t)||this;I._viewportRuler=a;I._changeDetectorRef=b;I._ngZone=c;I._dir=f;I._parentFormField=q;I._liveAnnouncer=C;I._defaultOptions=J;I._panelOpen=!1;I._compareWith=function(aa,na){return aa===na};I._uid="mat-select-"+Rbc--;I._triggerAriaLabelledBy=null;I._destroy=new E.Subject;I._onChange=function(){};I._onTouched=function(){};I._valueId="mat-select-value-"+Rbc--;I._panelDoneAnimatingStream=new E.Subject;var P;I._overlayPanelClass=
(null==(P=I._defaultOptions)?void 0:P.overlayPanelClass)||"";I._focused=!1;I.controlType="mat-select";I._multiple=!1;var O,U;I._disableOptionCentering=null!=(U=null==(O=I._defaultOptions)?void 0:O.disableOptionCentering)?U:!1;I.ariaLabel="";I.optionSelectionChanges=(0,E.defer)(function(){var aa=I.options;return aa?aa.changes.pipe($e(aa),af(function(){return E.merge.apply(null,u(aa.map(function(na){return na.onSelectionChange})))})):I._ngZone.onStable.pipe(Qe(),af(function(){return I.optionSelectionChanges}))});
I.openedChange=new mv;I._openedStream=I.openedChange.pipe(He(function(aa){return aa}),D(function(){}));I._closedStream=I.openedChange.pipe(He(function(aa){return!aa}),D(function(){}));I.selectionChange=new mv;I.valueChange=new mv;I._trackedModal=null;I.ngControl&&(I.ngControl.valueAccessor=I);null!=(null==J?void 0:J.typeaheadDebounceInterval)&&(I._typeaheadDebounceInterval=J.typeaheadDebounceInterval);I._scrollStrategyFactory=y;I._scrollStrategy=I._scrollStrategyFactory();I.tabIndex=parseInt(w)||
0;I.id=I.id;return I};Y(HP,Tbc);g=HP.prototype;g.ngOnInit=function(){var a=this;this._selectionModel=new Qx(this.multiple);this.stateChanges.next();this._panelDoneAnimatingStream.pipe(Pe(),bf(this._destroy)).subscribe(function(){return a._panelDoneAnimating(a.panelOpen)})};
g.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()})};
g.ngDoCheck=function(){var a=this._getTriggerAriaLabelledby(),b=this.ngControl;if(a!==this._triggerAriaLabelledBy){var c=this._elementRef.nativeElement;(this._triggerAriaLabelledBy=a)?c.setAttribute("aria-labelledby",a):c.removeAttribute("aria-labelledby")}b&&(this._previousControl!==b.control&&(void 0!==this._previousControl&&null!==b.disabled&&b.disabled!==this.disabled&&(this.disabled=b.disabled),this._previousControl=b.control),this.updateErrorState())};
g.ngOnChanges=function(a){(a.disabled||a.userAriaDescribedBy)&&this.stateChanges.next();a.typeaheadDebounceInterval&&this._keyManager&&oQb(this._keyManager,this._typeaheadDebounceInterval)};g.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._destroy.next();this._destroy.complete();this.stateChanges.complete();this._clearFromModal()};g.toggle=function(){this.panelOpen?this.close():this.open()};
g.open=function(){this._canOpen()&&(this._applyModalPanelOwnership(),this._panelOpen=!0,zx(this._keyManager,null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())};g._applyModalPanelOwnership=function(){var a=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(a){var b=this.id+"-panel";this._trackedModal&&Wg(this._trackedModal,"aria-owns",b);aoa(a,"aria-owns",b);this._trackedModal=a}};
g._clearFromModal=function(){this._trackedModal&&(Wg(this._trackedModal,"aria-owns",this.id+"-panel"),this._trackedModal=null)};g.close=function(){this._panelOpen&&(this._panelOpen=!1,zx(this._keyManager,this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())};g.writeValue=function(a){this._assignValue(a)};g.registerOnChange=function(a){this._onChange=a};g.registerOnTouched=function(a){this._onTouched=a};
g.setDisabledState=function(a){this.disabled=a;this._changeDetectorRef.markForCheck();this.stateChanges.next()};g._isRtl=function(){return this._dir?"rtl"===this._dir.value:!1};g._handleKeydown=function(a){this.disabled||(this.panelOpen?this._handleOpenKeydown(a):this._handleClosedKeydown(a))};
g._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||Mg(a))||(this.multiple||a.altKey)&&c?(a.preventDefault(),this.open()):this.multiple||(b=this.selected,d.onKeydown(a),(a=this.selected)&&b!==a&&this._liveAnnouncer.announce(a.viewValue,1E4))};
g._handleOpenKeydown=function(a){var b=this._keyManager,c=a.keyCode,d=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||Mg(a))if(!e&&this._multiple&&65===c&&a.ctrlKey){a.preventDefault();var f=this.options.some(function(h){return!h.disabled&&!h.selected});this.options.forEach(function(h){h.disabled||(f?h.select():h.deselect())})}else c=b.activeItemIndex,b.onKeydown(a),this._multiple&&d&&a.shiftKey&&b.activeItem&&b.activeItemIndex!==
c&&b.activeItem._selectViaInteraction();else a.preventDefault(),b.activeItem._selectViaInteraction()};g._onFocus=function(){this.disabled||(this._focused=!0,this.stateChanges.next())};g._onBlur=function(){this._focused=!1;var a;null!=(a=this._keyManager)&&(a._pressedLetters=[]);this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())};
g._onAttached=function(){var a=this;this._overlayDir.positionChange.pipe(Qe()).subscribe(function(){a._changeDetectorRef.detectChanges();a._positioningSettled()})};g._getPanelTheme=function(){return this._parentFormField?"mat-"+this._parentFormField.color:""};g._initializeSelection=function(){var a=this;Promise.resolve().then(function(){a.ngControl&&(a._value=a.ngControl.value);a._setSelectionByValue(a._value);a.stateChanges.next()})};
g._setSelectionByValue=function(a){var b=this;this.options.forEach(function(c){return c.setInactiveStyles()});this._selectionModel.clear();this.multiple&&a?(Array.isArray(a),a.forEach(function(c){return b._selectOptionByValue(c)}),this._sortValues()):(a=this._selectOptionByValue(a))?Bx(this._keyManager,a):this.panelOpen||Bx(this._keyManager,-1);this._changeDetectorRef.markForCheck()};
g._selectOptionByValue=function(a){var b=this,c=this.options.find(function(d){if(b._selectionModel.isSelected(d))return!1;try{return null!=d.value&&b._compareWith(d.value,a)}catch(e){return!1}});c&&this._selectionModel.select(c);return c};g._assignValue=function(a){return a!==this._value||this._multiple&&Array.isArray(a)?(this.options&&this._setSelectionByValue(a),this._value=a,!0):!1};g._skipPredicate=function(a){return a.disabled};
g._initKeyManager=function(){var a=this;this._keyManager=wx(nQb(pQb(Ax(zx(yx(oQb(new Cx(this.options),this._typeaheadDebounceInterval)),this._isRtl()?"rtl":"ltr")))),this._skipPredicate);this._keyManager.tabOut.subscribe(function(){a.panelOpen&&(!a.multiple&&a._keyManager.activeItem&&a._keyManager.activeItem._selectViaInteraction(),a.focus(),a.close())});this._keyManager.change.subscribe(function(){a._panelOpen&&a.panel?a._scrollOptionIntoView(a._keyManager.activeItemIndex||0):a._panelOpen||a.multiple||
!a._keyManager.activeItem||a._keyManager.activeItem._selectViaInteraction()})};g._resetOptions=function(){var a=this,b=(0,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,u(this.options.map(function(c){return c._stateChanges}))).pipe(bf(b)).subscribe(function(){a._changeDetectorRef.detectChanges();a.stateChanges.next()})};
g._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()};
g._sortValues=function(){var a=this;if(this.multiple){var b=this.options.toArray();this._selectionModel.sort(function(c,d){return a.sortComparator?a.sortComparator(c,d,b):b.indexOf(c)-b.indexOf(d)});this.stateChanges.next()}};g._propagateChanges=function(a){var b=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()};
g._highlightCorrectOption=function(){if(this._keyManager)if(this.empty){for(var a=-1,b=0;b<this.options.length;b++)if(!this.options.get(b).disabled){a=b;break}this._keyManager.setActiveItem(a)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])};g._canOpen=function(){var a;return!this._panelOpen&&!this.disabled&&0<(null==(a=this.options)?void 0:a.length)};g.focus=function(a){this._elementRef.nativeElement.focus(a)};
g._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};g._getAriaActiveDescendant=function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null};
g._getTriggerAriaLabelledby=function(){if(this.ariaLabel)return null;var a,b=null==(a=this._parentFormField)?void 0:a.getLabelId();a=(b?b+" ":"")+this._valueId;this.ariaLabelledby&&(a+=" "+this.ariaLabelledby);return a};g._panelDoneAnimating=function(a){this.openedChange.emit(a)};g.setDescribedByIds=function(a){a.length?this._elementRef.nativeElement.setAttribute("aria-describedby",a.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")};
g.onContainerClick=function(){this.focus();this.open()};
Gh.Object.defineProperties(HP.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:FPb(b))?d:!1},set:function(a){this._required=Sg(a);
this.stateChanges.next()}},multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){this._multiple=Sg(a)}},disableOptionCentering:{configurable:!0,enumerable:!0,get:function(){return this._disableOptionCentering},set:function(a){this._disableOptionCentering=Sg(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=Vg(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}}});HP.\u0275fac=function(a){return new (a||HP)(B(Sx),B(Fu),B(ef),B(oz),B(Hd),B(Nx,8),B(Bw,8),B(Kw,8),B(Qz,8),B(uw,10),Bd("tabindex"),B(Kbc),B(ox),B(Lbc,8))};
HP.\u0275dir=Vc({type:HP,viewQuery:function(a,b){a&1&&(og(Pbc,5),og(Qbc,5),og(qy,5));if(a&2){var c;ng(c=qg())&&(b.trigger=c.first);ng(c=qg())&&(b.panel=c.first);ng(c=qg())&&(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:[yf,ld]});var Ubc=[[["mat-select-trigger"]],"*"],Vbc=function(a,b){this.source=a;this.value=b},IP=function(){};IP.\u0275fac=function(a){return new (a||IP)};IP.\u0275dir=Vc({type:IP,selectors:[["mat-select-trigger"]],features:[bg([{provide:Mbc,useExisting:IP}])]});
var JP=function(){var a=HP.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};Y(JP,HP);JP.\u0275dir=HP.\u0275dir;g=JP.prototype;g._calculateOverlayScroll=function(a,b,c){var d=this._getItemHeight();return Math.min(Math.max(0,d*a-b+d/2),c)};
g.ngOnInit=function(){var a=this;HP.prototype.ngOnInit.call(this);this._viewportRuler.change().pipe(bf(this._destroy)).subscribe(function(){a.panelOpen&&(a._triggerRect=a.trigger.nativeElement.getBoundingClientRect(),a._changeDetectorRef.markForCheck())})};
g.open=function(){var a=this;HP.prototype._canOpen.call(this)&&(HP.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(Qe()).subscribe(function(){a._triggerFontSize&&a._overlayDir.overlayRef&&a._overlayDir.overlayRef.overlayElement&&(a._overlayDir.overlayRef.overlayElement.style.fontSize=a._triggerFontSize+
"px")}))};g._scrollOptionIntoView=function(a){var b=uqa(a,this.options,this.optionGroups),c=this._getItemHeight();this.panel.nativeElement.scrollTop=0===a&&1===b?0:vqa((a+b)*c,c,this.panel.nativeElement.scrollTop,256)};g._positioningSettled=function(){this._calculateOverlayOffsetX();this.panel.nativeElement.scrollTop=this._scrollTop};
g._panelDoneAnimating=function(a){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck());HP.prototype._panelDoneAnimating.call(this,a)};g._getChangeEvent=function(a){return new Vbc(this,a)};g._getOverlayMinWidth=function(){var a;return null==(a=this._triggerRect)?void 0:a.width};
g._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 f=-(a.left+e-(c?d:0));a=a.right+e-b.width+(c?0:d);0<f?e+=f+8:0<a&&(e-=a+8);this._overlayDir.offsetX=Math.round(e);this._overlayDir.overlayRef.updatePosition()};
g._calculateOverlayOffsetY=function(a,b,c){var d=this._getItemHeight(),e=(d-this._triggerRect.height)/2,f=Math.floor(256/d);return this.disableOptionCentering?0:Math.round(-1*(0===this._scrollTop?a*d:this._scrollTop===c?(a-(this._getItemCount()-f))*d+(d-(this._getItemCount()*d-256)%d):b-d/2)-e)};
g._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()};
g._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")};g._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")};
g._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+=uqa(b,this.options,this.optionGroups);c/=2;this._scrollTop=this._calculateOverlayScroll(b,c,a);this._offsetY=this._calculateOverlayOffsetY(b,c,a);this._checkOverlayWithinViewport(a)};
g._getOriginBasedOnOption=function(){var a=this._getItemHeight();return"50% "+(Math.abs(this._offsetY)-(a-this._triggerRect.height)/2+a/2)+"px 0px"};g._getItemHeight=function(){return 3*this._triggerFontSize};g._getItemCount=function(){return this.options.length+this.optionGroups.length};JP.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(JP)))(b||JP)}}();
JP.\u0275cmp=r({type:JP,selectors:[["mat-select"]],contentQueries:function(a,b,c){a&1&&(pg(c,Mbc,5),pg(c,hA,5),pg(c,MSb,5));if(a&2){var d;ng(d=qg())&&(b.customTrigger=d.first);ng(d=qg())&&(b.options=d);ng(d=qg())&&(b.optionGroups=d)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true","ngSkipHydration","",1,"mat-select"],hostVars:20,hostBindings:function(a,b){a&1&&Q("keydown",function(c){return b._handleKeydown(c)})("focus",function(){return b._onFocus()})("blur",function(){return b._onBlur()});
a&2&&(Af("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())("mat-id-collision",null),Jf("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:[bg([{provide:Pz,useExisting:JP},{provide:LSb,useExisting:JP}]),yf],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&&(Vf(Ubc),H(0,"div",0,1),Q("click",function(){return b.toggle()}),H(3,"div",2),F(4,oNa,2,1,"span",3)(5,rNa,3,2,"span",4),K(),H(6,"div",5),L(7,"div",6),K()(),F(8,sNa,4,14,"ng-template",7),Q("backdropClick",function(){return b.close()})("attach",
function(){return b._onAttached()})("detach",function(){return b.close()}));if(a&2){var c=S(1);Af("aria-owns",b.panelOpen?b.id+"-panel":null);A(3);G("ngSwitch",b.empty);Af("id",b._valueId);A(1);G("ngSwitchCase",!0);A(1);G("ngSwitchCase",!1);A(3);G("cdkConnectedOverlayPanelClass",b._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",b._scrollStrategy)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.panelOpen)("cdkConnectedOverlayPositions",b._positions)("cdkConnectedOverlayMinWidth",
b._getOverlayMinWidth())("cdkConnectedOverlayOffsetY",b._offsetY)}},dependencies:[Sv,Vv,Wv,Xv,qy,py],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:[Nbc,Obc]},changeDetection:0});var KP=function(){};KP.\u0275fac=function(a){return new (a||KP)};KP.\u0275mod=Tc({type:KP});KP.\u0275inj=Ec({providers:[Sbc],imports:[hw,ry,iA,jz,Tx,GA,iA,jz]});var LP=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}};LP.\u0275fac=function(a){return new (a||LP)};LP.\u0275prov=Dc({token:LP,factory:LP.\u0275fac,providedIn:"root"});
var Wbc={provide:LP,deps:[[new zu,new Au,LP]],useFactory:function(a){return a||new LP}};var Xbc=Jh(Vpa(function(){})),MP=function(a,b,c){var d=Xbc.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 mv;d._intlChanges=a.changes.subscribe(function(){return d._changeDetectorRef.markForCheck()});if(c){var e=c.pageSize,f=c.pageSizeOptions,h=c.hidePageSize;c=c.showFirstLastButtons;null!=e&&(d._pageSize=e);null!=f&&(d._pageSizeOptions=f);null!=h&&(d._hidePageSize=h);null!=
c&&(d._showFirstLastButtons=c)}return d};Y(MP,Xbc);g=MP.prototype;g.ngOnInit=function(){this._initialized=!0;this._updateDisplayedPageSizeOptions();this._markInitialized()};g.ngOnDestroy=function(){this._intlChanges.unsubscribe()};g.nextPage=function(){if(this.hasNextPage()){var a=this.pageIndex;this.pageIndex+=1;this._emitPageEvent(a)}};g.hasPreviousPage=function(){return 1<=this.pageIndex&&0!=this.pageSize};
g.hasNextPage=function(){return this.pageIndex<(this.pageSize?Math.ceil(this.length/this.pageSize):0)-1&&0!=this.pageSize};g._changePageSize=function(a){var b=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/a)||0;this.pageSize=a;this._emitPageEvent(b)};g._nextButtonsDisabled=function(){return this.disabled||!this.hasNextPage()};g._previousButtonsDisabled=function(){return this.disabled||!this.hasPreviousPage()};
g._updateDisplayedPageSizeOptions=function(){this._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())};
g._emitPageEvent=function(a){this.page.emit({previousPageIndex:a,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})};
Gh.Object.defineProperties(MP.prototype,{pageIndex:{configurable:!0,enumerable:!0,get:function(){return this._pageIndex},set:function(a){this._pageIndex=Math.max(Vg(a),0);this._changeDetectorRef.markForCheck()}},length:{configurable:!0,enumerable:!0,get:function(){return this._length},set:function(a){this._length=Vg(a);this._changeDetectorRef.markForCheck()}},pageSize:{configurable:!0,enumerable:!0,get:function(){return this._pageSize},set:function(a){this._pageSize=Math.max(Vg(a),0);this._updateDisplayedPageSizeOptions()}},
pageSizeOptions:{configurable:!0,enumerable:!0,get:function(){return this._pageSizeOptions},set:function(a){this._pageSizeOptions=(a||[]).map(function(b){return Vg(b)});this._updateDisplayedPageSizeOptions()}},hidePageSize:{configurable:!0,enumerable:!0,get:function(){return this._hidePageSize},set:function(a){this._hidePageSize=Sg(a)}},showFirstLastButtons:{configurable:!0,enumerable:!0,get:function(){return this._showFirstLastButtons},set:function(a){this._showFirstLastButtons=Sg(a)}}});
MP.\u0275fac=function(){Od()};MP.\u0275dir=Vc({type:MP,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[yf]});var Ybc=new bd("MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS"),NP=function(a,b,c){a=MP.call(this,a,b,c)||this;c&&null!=c.formFieldAppearance&&(a._formFieldAppearance=c.formFieldAppearance);return a};Y(NP,MP);NP.\u0275dir=MP.\u0275dir;NP.\u0275fac=function(a){return new (a||NP)(B(GP),B(Fu),B(Ybc,8))};
NP.\u0275cmp=r({type:NP,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],hostVars:1,hostBindings:function(a){a&2&&Af("mat-id-collision",null)},inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[yf],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),F(2,wNa,5,3,"div",2),H(3,"div",3)(4,"div",4),T(5),K(),F(6,xNa,3,5,"button",5),H(7,"button",6),Q("click",function(){if(b.hasPreviousPage()){var c=b.pageIndex;--b.pageIndex;b._emitPageEvent(c)}}),yd(),H(8,"svg",7),L(9,"path",8),K()(),rd.currentNamespace=null,H(10,"button",9),Q("click",function(){return b.nextPage()}),yd(),H(11,"svg",7),L(12,"path",10),K()(),F(13,
yNa,3,5,"button",11),K()()());a&2&&(A(2),G("ngIf",!b.hidePageSize),A(3),V(" ",b._intl.getRangeLabel(b.pageIndex,b.pageSize,b.length)," "),A(1),G("ngIf",b.showFirstLastButtons),A(1),G("matTooltip",b._intl.previousPageLabel)("matTooltipDisabled",b._previousButtonsDisabled())("matTooltipPosition","above")("disabled",b._previousButtonsDisabled()),Af("aria-label",b._intl.previousPageLabel),A(3),G("matTooltip",b._intl.nextPageLabel)("matTooltipDisabled",b._nextButtonsDisabled())("matTooltipPosition","above")("disabled",
b._nextButtonsDisabled()),Af("aria-label",b._intl.nextPageLabel),A(3),G("ngIf",b.showFirstLastButtons))},dependencies:[Tv,Uv,eA,FA,JP,hA,dC],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 OP=function(a){this.paths=a;this.children=[];this.onVisit=new mv;this.pageSize=25;this.pageSizeOptions=[10,25,100];this.childrenOnPage=[]};OP.prototype.ngOnInit=function(){this.childrenOnPage=this.children.slice(0,this.pageSize)};OP.\u0275fac=function(a){return new (a||OP)(B(cF))};
OP.\u0275cmp=r({type:OP,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&&(F(0,zNa,1,3,"mat-paginator",0),H(1,"ul",1),F(2,
ANa,6,4,"li",2),K());a&2&&(G("ngIf",b.children.length>b.pageSize),A(2),G("ngForOf",b.childrenOnPage))},dependencies:[Tv,Uv,hK,mK,FP,NP],encapsulation:2});var PP=function(){};PP.\u0275fac=function(a){return new (a||PP)};PP.\u0275mod=Tc({type:PP});PP.\u0275inj=Ec({imports:[zD,EL]});var QP=function(){};QP.\u0275fac=function(a){return new (a||QP)};QP.\u0275mod=Tc({type:QP});QP.\u0275inj=Ec({providers:[Wbc],imports:[hw,kC,KP,QC,jz]});var RP=function(){};RP.\u0275fac=function(a){return new (a||RP)};RP.\u0275mod=Tc({type:RP});RP.\u0275inj=Ec({imports:[zD,UK,PP,QP]});var SP=function(){this.shouldShowCopyIssueShortLinks=!1;this.shortLinkPrefix="b/";this.onClickCopyIssueIds=new mv;this.onClickCopyIssueShortLinks=new mv;this.onClickCopyAsIssueSearch=new mv};SP.\u0275fac=function(a){return new (a||SP)};
SP.\u0275cmp=r({type:SP,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),Q("click",function(){return b.onClickCopyIssueIds.emit()}),L(2,"b-icon",1),K(),H(3,"button",2),L(4,"b-icon",3),K(),H(5,"mat-menu",null,4),F(7,BNa,2,1,"button",5),H(8,"button",6),Q("click",function(){return b.onClickCopyAsIssueSearch.emit()}),
T(9," Copy as issue search "),K()()());if(a&2){var c=S(6);A(3);G("matMenuTriggerFor",c);A(4);G("ngIf",b.shouldShowCopyIssueShortLinks)}},dependencies:[Uv,ZB,XB,YB,eA,YC,AD],encapsulation:2,changeDetection:0});var Zbc=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)};Zbc.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};
Zbc.prototype.destroy=function(){var a=this._textarea;a&&(a.remove(),this._textarea=void 0)};var TP=function(a){this._document=a};TP.prototype.copy=function(a){a=new Zbc(a,this._document);var b=a.copy();a.destroy();return b};TP.\u0275fac=function(a){return new (a||TP)(p(Xg))};TP.\u0275prov=Dc({token:TP,factory:TP.\u0275fac,providedIn:"root"});new bd("CDK_COPY_TO_CLIPBOARD_CONFIG");new bd("xap-clipboard-snackbar-options");var UP=function(){};UP.\u0275fac=function(a){return new (a||UP)};UP.\u0275mod=Tc({type:UP});UP.\u0275inj=Ec({imports:[hw,kC,NA,AG]});var VP=function(){};VP.\u0275fac=function(a){return new (a||VP)};VP.\u0275mod=Tc({type:VP});VP.\u0275inj=Ec({imports:[zD,$B,kC,GD,HD,UP]});var WP=function(a,b,c,d,e){this.clipboard=a;this.analytics=c;this.butterBar=d;this.window=e;this.shortLinkPrefix=nUa(b)?"b/":"b-qa/"},qWa=function(a,b){a.clipboard.copy(b.join(", "));Fs(a.butterBar,"Issue IDs copied.",2E3);a.analytics.trackEvent(Kp.LIST_ISSUES,"copyIssueId","IDs")},rWa=function(a,b){a.clipboard.copy(b.map(function(c){return a.shortLinkPrefix+c}).join(", "));Fs(a.butterBar,"'"+a.shortLinkPrefix+"' links copied.",2E3);a.analytics.trackEvent(Kp.LIST_ISSUES,"copyIssueId","b/ links")},
sWa=function(a,b){b=Qk({q:"id:("+b.join("|")+")"});a.clipboard.copy(a.window.location.origin+"/"+b);Fs(a.butterBar,"Issue search link copied.",2E3);a.analytics.trackEvent(Kp.LIST_ISSUES,"copyIssueId","Issue search link")};WP.\u0275fac=function(a){return new (a||WP)(p(TP),p(nt),p(aI),p(EG),p(ZF))};WP.\u0275prov=Dc({token:WP,factory:WP.\u0275fac,providedIn:"root"});var XP=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)};XP.prototype.onInput=function(){this.resize(this.el.nativeElement.value)};
XP.prototype.ngOnDestroy=function(){document.body.removeChild(this.shadowInput)};XP.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"};XP.\u0275fac=function(a){return new (a||XP)(B(Hd))};
XP.\u0275dir=Vc({type:XP,selectors:[["","b-adaptive-width-input",""]],hostBindings:function(a,b){a&1&&Q("input",function(){return b.onInput()})},inputs:{minWidth:"minWidth",maxWidth:"maxWidth"}});var YP=function(){};YP.\u0275fac=function(a){return new (a||YP)};YP.\u0275mod=Tc({type:YP});YP.\u0275inj=Ec({});var ZP=function(){AE.apply(this,arguments)};Y(ZP,AE);Gh.Object.defineProperties(ZP.prototype,{routerLinkObj:{configurable:!0,enumerable:!0,set:function(a){this.queryParams=a.queryParams;this.routerLink=a.path;this.fragment=a.fragment}}});ZP.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(ZP)))(b||ZP)}}();ZP.\u0275dir=Vc({type:ZP,selectors:[["a","routerLinkObj",""],["area","routerLinkObj",""]],inputs:{routerLinkObj:"routerLinkObj"},features:[yf]});var $P=function(){};
$P.\u0275fac=function(a){return new (a||$P)};$P.\u0275mod=Tc({type:$P});$P.\u0275inj=Ec({imports:[zD,EE]});var aQ=function(a){this.currentTracker=a;this.componentPath=[];this.isArchived=!1;this.label="Component";this.openTab=""};Gh.Object.defineProperties(aQ.prototype,{componentPathInfo:{configurable:!0,enumerable:!0,set:function(a){a=Ds(this.currentTracker,a);this.componentPath="settings"===this.componentPathsLinkTo?Lo(a,pwa):Lo(a)}}});aQ.\u0275fac=function(a){return new (a||aQ)(B(SG))};
aQ.\u0275cmp=r({type:aQ,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),T(2),K(),H(3,"span",2),F(4,CNa,6,4,"span",3)(5,DNa,2,0,"span",4),K()());a&2&&(A(2),V("",b.label,":"),A(2),G("ngForOf",b.componentPath),A(1),G("ngIf",b.isArchived))},dependencies:[Tv,Uv,hK,mK,FP,ZP],encapsulation:2});var bQ=function(){};bQ.\u0275fac=function(a){return new (a||bQ)};bQ.\u0275mod=Tc({type:bQ});bQ.\u0275inj=Ec({imports:[zD,UK,PP,$P]});var cQ=function(){this.warningChunks=[]};cQ.prototype.ngOnInit=function(){var a=this.warningText,b=INa(a,"EXTERNAL_PUBLIC")||INa(a,"EXTERNAL_PARTNER");this.warningChunks=b?[{text:a.substring(0,b.startOfMatch)},{accessLevel:b.accessLevel},{text:a.substring(b.endOfMatch)}]:[{text:a}]};cQ.\u0275fac=function(a){return new (a||cQ)};
cQ.\u0275cmp=r({type:cQ,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"),F(1,GNa,3,2,"span",0),K());a&2&&(A(1),G("ngForOf",b.warningChunks))},dependencies:[Tv,Uv,nL],encapsulation:2});var HNa=new Map([["EXTERNAL_PUBLIC","visible to public users"],["EXTERNAL_PARTNER","visible to external partners"]]);var dQ=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=U6b(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};
dQ.prototype.allow=function(){var a;null==(a=this.dialogRef)||a.close();this.isAllowed&&this.acknowledged&&this.callbacks.allow()};dQ.prototype.cancel=function(){var a;null==(a=this.dialogRef)||a.close();this.callbacks.cancel()};dQ.\u0275fac=function(a){return new (a||dQ)(B(uA),B(lL),B(sA))};
dQ.\u0275cmp=r({type:dQ,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),T(1),K(),H(2,"div",1)(3,"div",2),L(4,"b-component-move-warning-content",3),K(),L(5,"br"),H(6,"a",4),T(7,"Learn more"),K(),F(8,JNa,5,1,"div",5),K(),H(9,"mat-dialog-actions")(10,"button",6),Q("click",function(){return b.cancel()}),T(11," Cancel "),K(),F(12,KNa,2,1,"button",7),K());a&2&&(A(1),$f(b.header),A(3),G("warningText",b.warning),A(2),Af("href",b.learnMore,Wd),A(2),G("ngIf",b.isExternalMove&&b.isAllowed),A(4),G("ngIf",b.isAllowed))},
dependencies:[Uv,ww,Dw,eA,eL,wA,xA,yA,zA,cQ],styles:["mat-checkbox[_ngcontent-%COMP%] {\n      margin-right: 8px;\n    }"],changeDetection:0});var eQ=function(){};eQ.\u0275fac=function(a){return new (a||eQ)};eQ.\u0275mod=Tc({type:eQ});eQ.\u0275inj=Ec({imports:[zD,Tw,kC,hL,AA,EL]});var fQ=function(a,b,c){this.componentActions=a;this.errorHandler=b;this.cdr=c};fQ.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 gQ=function(a,b){a.selectedId&&$bc(a,a.selectedId);a.selectedId=b;if(a=acc(a.selectedId))a.focus(),a.setAttribute("aria-selected","true")},hQ=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},bcc=function(a){return!a.selectedId||1>a.selectedId?-1:a.components.findIndex(function(b){return b.componentId==a.selectedId})},$bc=function(a,b){b&&(a=acc(a.selectedId))&&a.setAttribute("aria-selected",
"false")},acc=function(a){return a?document.getElementById("component-"+a):null},ccc=function(a){for(a=a.target;;){if(!a)return!1;if("A"===a.tagName)return!0;a=a.parentNode}};var NNa=function(a){return{q:a}},iQ=function(a,b,c,d){fQ.call(this,a,c,d);this.paths=b;this.includeArchived=!1;this.childClosed=new mv;this.selectedId=null};Y(iQ,fQ);iQ.prototype.ngOnInit=function(){};iQ.prototype.ngOnDestroy=function(){this.parentComponent.focusOnChildren=void 0};iQ.prototype.ngOnChanges=function(a){a.components&&dcc(this)};iQ.prototype.onSubtreeChildClosed=function(a){this.selectedId=a;gQ(this,a);this.rootController.selectionChanged(this,a)};
var dcc=function(a){a.parentComponent.focusOnChildren||(a.parentComponent.focusOnChildren=function(){a.selectNext()})};g=iQ.prototype;
g.selectNext=function(){if(this.components)if(this.selectedId){var a=bcc(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?($bc(this,this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(gQ(this,this.components[a+1].componentId),this.rootController.selectionChanged(this,this.selectedId))}else gQ(this,this.components[0].componentId),this.rootController.selectionChanged(this,this.selectedId)};
g.selectPrevious=function(){var a=bcc(this);0==a?(this.selectedId=null,this.childClosed.emit(this.parentComponent.componentId)):(gQ(this,this.components[a-1].componentId),this.rootController.selectionChanged(this,this.selectedId))};g.closeSubtree=function(){if(this.selectedId){var a=hQ(this);a.showChildren?a.showChildren=!1:(this.selectedId=null,this.parentComponent.showChildren=!1,this.childClosed.emit(this.parentComponent.componentId));this.cdr.detectChanges()}};
g.showChildrenForSelectedId=function(){var a=hQ(this);a&&this.showChildren(a)};g.setSelected=function(a,b){ccc(b)||(gQ(this,a),this.rootController.selectionChanged(this,a),b.preventDefault(),b.stopPropagation())};g.toggleChildrenForSelectedId=function(){var a=hQ(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};iQ.\u0275fac=function(a){return new (a||iQ)(B(kL),B(cF),B(FG),B(XD,2))};
iQ.\u0275cmp=r({type:iQ,selectors:[["component-subtree-list"]],inputs:{parentComponent:"parentComponent",rootController:"rootController",components:"components",includeArchived:"includeArchived"},outputs:{childClosed:"childClosed"},features:[bg([XD]),yf,ld],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),F(1,VNa,19,12,"li",1),K());a&2&&(A(1),G("ngForOf",b.components))},dependencies:[Tv,Uv,MA,dC,fA,eK,nL,qL,iQ],encapsulation:2});var YNa=function(a){return{q:a}},jQ=function(a,b,c,d,e,f){fQ.call(this,a,d,f);this.paths=b;this.selectedId=null;this.includeArchived=!1;this.init=new mv;this.subscriptions=new E.Subscription;this.destroyed$=new E.ReplaySubject(1);this.scrollArea=e.nativeElement.parentElement;this.registerKeys(c)};Y(jQ,fQ);g=jQ.prototype;
g.ngOnInit=function(){var a=this;this.rootController=this;(0,E.timer)(0).pipe(bf(this.destroyed$)).subscribe(function(){ecc(a)&&!a.selectedId&&gQ(a,a.components[0].componentId)});this.init.emit(this)};g.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.subscriptions.unsubscribe()};g.ngOnChanges=function(a){a.components&&fcc(this)};g.onSubtreeChildClosed=function(a){var b=this;gQ(this,a);this.focusedController=void 0;(0,E.timer)(0).pipe(bf(this.destroyed$)).subscribe(function(){kQ(b)})};
g.fireSelectionEvent=function(a){var b=acc(a);b&&b.click();kQ(this,a)};var fcc=function(a){(0,E.timer)(0).pipe(bf(a.destroyed$)).subscribe(function(){ecc(a)&&!a.selectedId&&gQ(a,a.components[0].componentId)})};g=jQ.prototype;g.selectionChanged=function(a,b){b&&kQ(this,b);a!==this.focusedController&&(this.focusedController&&(b=this.focusedController,b.selectedId&&$bc(b,b.selectedId),b.selectedId=null),this.focusedController=a||void 0)};
g.setSelected=function(a,b){ccc(b)||(gQ(this,a),this.selectionChanged(null),kQ(this),b.preventDefault(),b.stopPropagation())};
g.registerKeys=function(a){var b=this;this.subscriptions.add(UE(a,{title:"Browse Controls",hotkeys:[{keys:["j","DOWN"],displayAs:"j / Down",description:"Move to the next component",onPress:function(){b.selectNext()}},{keys:["k","UP"],displayAs:"k / Up",description:"Move to the previous component",onPress:function(){b.selectPrevious()}},{keys:["RIGHT"],displayAs:"Right",description:"View the components children",onPress:function(){b.showChildrenForSelectedId()}},{keys:["LEFT"],displayAs:"Left",description:"Close the components children",
onPress:function(){b.closeSubtree()}},{keys:["SPACE","ENTER"],displayAs:"Space / Enter",description:"Toggle component children display",onPress:function(){b.toggleChildrenForSelectedId()}}]}))};g.showChildrenForSelectedId=function(){if(this.focusedController)this.focusedController.showChildrenForSelectedId();else{var a=hQ(this);a&&this.showChildren(a)}};
g.toggleChildrenForSelectedId=function(){this.focusedController&&this.focusedController.toggleChildrenForSelectedId();var a=hQ(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};g.closeSubtree=function(){this.focusedController?this.focusedController.closeSubtree():this.selectedId&&(hQ(this).showChildren=!1,this.cdr.detectChanges())};
g.selectPrevious=function(){if(this.focusedController)this.focusedController.selectPrevious();else{var a=bcc(this);ecc(this)&&1<=a&&(gQ(this,this.components[a-1].componentId),kQ(this))}};
g.selectNext=function(){if(ecc(this))if(this.focusedController)this.focusedController.selectNext();else if(this.selectedId){var a=bcc(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?($bc(this,this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(gQ(this,this.components[a+1].componentId),kQ(this))}else gQ(this,this.components[0].componentId),kQ(this)};
var kQ=function(a,b){var c=gcc(a.scrollArea),d=c+a.scrollArea.offsetHeight;if(a=acc(b||a.selectedId)){b=gcc(a);var e=b+a.offsetHeight;b<c?a.scrollIntoView(!1):e>d&&a.scrollIntoView(!0)}},gcc=function(a){for(var b=0;a&&a instanceof HTMLElement;)b+=a.offsetTop,a=a.offsetParent;return b},ecc=function(a){return!!(a.components&&0<a.components.length)};jQ.\u0275fac=function(a){return new (a||jQ)(B(kL),B(cF),B(TE),B(FG),B(Hd),B(XD,2))};
jQ.\u0275cmp=r({type:jQ,selectors:[["component-tree-list"]],inputs:{components:"components",includeArchived:"includeArchived"},outputs:{init:"init"},features:[bg([XD]),yf,ld],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),F(1,fOa,19,12,"li",1),K());a&2&&(A(1),G("ngForOf",b.components))},dependencies:[Tv,Uv,MA,dC,fA,eK,nL,qL,iQ],encapsulation:2});var lQ=function(){};lQ.\u0275fac=function(a){return new (a||lQ)};lQ.\u0275mod=Tc({type:lQ});lQ.\u0275inj=Ec({imports:[zD,QC,kC,SK,EL,FL]});new bd("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1,hideIcon:!1}}});var hcc=new bd("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1}}});var icc=0,jcc=Wpa(Hh(Ih(Jh(function(a){this._elementRef=a})))),mQ=function(a,b,c,d,e,f,h){a=jcc.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 mv;a.toggleChange=new mv;a.tabIndex=parseInt(d)||0;a.color=a.defaultColor=e.color||"accent";a._noopAnimations="NoopAnimations"===f;a.id=a._uniqueId=h+
++icc;var k;a._hideIcon=null!=(k=e.hideIcon)?k:!1;return a};Y(mQ,jcc);g=mQ.prototype;g.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()})})};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};
g.writeValue=function(a){this.checked=!!a};g.registerOnChange=function(a){this._onChange=a};g.registerOnTouched=function(a){this._onTouched=a};g.setDisabledState=function(a){this.disabled=a;this._changeDetectorRef.markForCheck()};g.toggle=function(){this.checked=!this.checked;this._onChange(this.checked)};g._emitChangeEvent=function(){this._onChange(this.checked);this.change.emit(this._createChangeEvent(this.checked))};
Gh.Object.defineProperties(mQ.prototype,{required:{configurable:!0,enumerable:!0,get:function(){return this._required},set:function(a){this._required=Sg(a)}},checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){this._checked=Sg(a);this._changeDetectorRef.markForCheck()}},hideIcon:{configurable:!0,enumerable:!0,get:function(){return this._hideIcon},set:function(a){this._hideIcon=Sg(a)}},inputId:{configurable:!0,enumerable:!0,get:function(){return(this.id||this._uniqueId)+
"-input"}}});mQ.\u0275fac=function(){Od()};mQ.\u0275dir=Vc({type:mQ,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:[yf]});var nQ=function(){};nQ.\u0275fac=function(a){return new (a||nQ)};nQ.\u0275mod=Tc({type:nQ});nQ.\u0275inj=Ec({});var kcc=["input"],lcc=function(a){return{enterDuration:a}},mcc={provide:jw,useExisting:Jc(function(){return oQ}),multi:!0},ncc=function(a,b){this.source=a;this.checked=b},oQ=function(a,b,c,d,e,f){return mQ.call(this,a,b,c,d,e,f,"mat-slide-toggle-")||this};Y(oQ,mQ);oQ.\u0275dir=mQ.\u0275dir;g=oQ.prototype;g._createChangeEvent=function(a){return new ncc(this,a)};
g._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())};g._onInputClick=function(a){a.stopPropagation()};g.focus=function(a,b){b?Zw(this._focusMonitor,this._inputElement,b,a):this._inputElement.nativeElement.focus(a)};g._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()};
oQ.\u0275fac=function(a){return new (a||oQ)(B(Hd),B(Yw),B(Fu),Bd("tabindex"),B(hcc),B(Du,8))};
oQ.\u0275cmp=r({type:oQ,selectors:[["mat-slide-toggle"]],viewQuery:function(a,b){a&1&&og(kcc,5);if(a&2){var c;ng(c=qg())&&(b._inputElement=c.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:14,hostBindings:function(a,b){a&2&&(Sf("id",b.id),Af("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null)("mat-id-collision",null),Jf("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:[bg([mcc]),yf],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&&(Vf(),H(0,"label",0,1)(2,"span",2)(3,"input",3,4),Q("change",function(e){return b._onChangeEvent(e)})("click",function(e){return b._onInputClick(e)}),K(),H(5,"span",
5),L(6,"span",6),H(7,"span",7),L(8,"span",8),K()()(),H(9,"span",9,10),Q("cdkObserveContent",function(){return b._onLabelTextChange()}),H(11,"span",11),T(12,"\u00a0"),K(),Wf(13),K()());if(a&2){var c=S(1),d=S(10);Af("for",b.inputId);A(2);Jf("mat-slide-toggle-bar-no-side-margin",!d.textContent||!d.textContent.trim());A(1);G("id",b.inputId)("required",b.required)("tabIndex",b.tabIndex)("checked",b.checked)("disabled",b.disabled);Af("name",b.name)("aria-checked",b.checked)("aria-label",b.ariaLabel)("aria-labelledby",
b.ariaLabelledby)("aria-describedby",b.ariaDescribedby);A(4);G("matRippleTrigger",c)("matRippleDisabled",b.disableRipple||b.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",fg(18,lcc,b._noopAnimations?0:150))}},dependencies:[sz,mx],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 pQ=function(){};pQ.\u0275fac=function(a){return new (a||pQ)};pQ.\u0275mod=Tc({type:pQ});pQ.\u0275inj=Ec({imports:[nQ,uz,jz,nx,nQ,jz]});var occ=0,qQ=function(){this.id="b-slide-toggle-"+ ++occ;this.ariaLabel=this.label="";this.labelPosition="before";this.model=!1;this.tooltip=void 0;this.disabled=!1;this.modelChange=new mv};qQ.\u0275fac=function(a){return new (a||qQ)};
qQ.\u0275cmp=r({type:qQ,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),Q("change",function(d){b.model=d.checked;b.modelChange.emit(d.checked)}),
T(1),K());if(a&2){var c;G("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");A(1);$f(b.label)}},dependencies:[oQ,dC],styles:["mat-slide-toggle[_ngcontent-%COMP%] { vertical-align: middle; }"],changeDetection:0});var rQ=function(){};rQ.\u0275fac=function(a){return new (a||rQ)};rQ.\u0275mod=Tc({type:rQ});rQ.\u0275inj=Ec({imports:[pQ,QC]});var pcc=new RegExp("ALIAS:("+Object.values({GOOGLERS_UNRESTRICTED:"googlers_unrestricted",GOOGLE_DOMAIN:"google_domain",PUBLIC_NON_GOOGLE:"public_non_google",PUBLIC:"public"}).join("|")+")");var sQ=function(a){this.activeSession=a;this.createIframe=iMb(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})},qcc=function(a){var b,c;qe(function(d){if(1==d.nextAddress){if(a.activeSession.isAnonymous()||!a.activeSession.getPassiveLoginIframeUrl())return d.return();re(d,2);b=a.createIframe();return d.yield(new Promise(function(e,
f){var h=function(){try{var q,t,w;if(null==(q=b.contentWindow)?0:null==(t=q.location)?0:null==(w=t.href)?0:w.includes("/action/yes"))b.removeEventListener("load",h),clearTimeout(k),e()}catch(y){}},k=setTimeout(function(){b.removeEventListener("load",h);f(Error("Ed"))},5E3);b.addEventListener("load",h);dra(b,a.activeSession.getPassiveLoginIframeUrl())}),4)}if(2!=d.nextAddress)return tt(d,0);c=ve(d);console.log("first party auth passive login "+c);we(d)})};sQ.\u0275fac=function(a){return new (a||sQ)(p(nt))};
sQ.\u0275prov=Dc({token:sQ,factory:sQ.\u0275fac,providedIn:"root"});var tQ=function(a){this.internalArray_=m(a)};Y(tQ,n);tQ.prototype.getSocialApplication=function(){return Li(this,3,0)};tQ.prototype.getSocialApplicationOrUndefined=function(){return ss(this,3)};tQ.prototype.getAffinityType=function(){return xi(this,12,"CONTACT_STORE_DEFAULT_AFFINITY")};tQ.prototype.setAffinityType=function(a){return gj(this,12,a)};var uQ=function(a){this.internalArray_=m(a)};Y(uQ,n);uQ.prototype.getExperimentIdsList=function(){return Zh(this,4)};uQ.prototype.setExperimentIdsList=function(a){return ap(this,4,a)};uQ.prototype.getExperimentIds=function(){return Wt(this,4)};uQ.prototype.setExperimentIds=function(a){au(this,4,a)};uQ.repeatedFields_=[4];var rcc=function(a){this.internalArray_=m(a)};Y(rcc,n);g=rcc.prototype;g.getClientInfo=function(){return vi(this,tQ,1)};g.getMutableClientInfo=function(){return FLb(this,tQ,1)};g.setClientInfo=function(a){ej(this,tQ,1,a)};g.getExperiments=function(){return vi(this,uQ,2)};g.setExperiments=function(a){ej(this,uQ,2,a)};g.hasExperiments=function(){return Pi(this,uQ,2)};var scc=tda(rcc);var tcc;var ucc=function(a){this.internalArray_=m(a)};Y(ucc,n);g=ucc.prototype;g.getDelegatorId=function(){return xi(this,2)};g.getEnvType=function(){return Li(this,5,0)};g.getEnvType_legacyNullable=function(){return ds(this,5)};g.setEnvType=function(a){hj(this,5,a)};g.getCacheSize=function(){return Xh(this,7)};g.setCacheSize=function(a){dj(this,7,a)};g.hasCacheSize=function(){return Ii(this,7)};var jOa=/^https?:\/\/(?:\w|[\-\.])+\.google\.(?:\w|[\-:\.])+(?:\/[^\?#]*)?\/u\/(\d)\//,hOa=/([#].*?&|[#])authuser=([^&#]*)\b/,iOa=/([?][^#]*?&|[?])authuser=([^&#]*)\b/;var vQ=function(){this.config_=Bb(tcc||(tcc=scc('[["AIzaSyBuUpn1wi2-0JpM3S-tq2csYx0z2_m_pqc","ANVavNLWozk6oXyP9qguyx4QAuef5j_qQw4Y3Rw",740,"MINIMAL_DOMAIN","BUGANIZER",null,null,null,null,true,true],[]]')));this.userInfo_=new ucc;this.onAuthError_=this.gapiClientThenable_=null};vQ.prototype.getClientInfo=function(){return this.config_.getClientInfo()};vQ.prototype.getExperiments=function(){return this.config_.getExperiments()};vQ.prototype.getUserInfo=function(){return this.userInfo_};
var vcc=function(a){a.gapiClientThenable_||(a.gapiClientThenable_=oOa(10,5E3).then(function(b){return b.client}));return a.gapiClientThenable_};vQ.prototype.getAuthErrorHandler=function(){return this.onAuthError_};vQ.prototype.setAuthErrorHandler=function(a){this.onAuthError_=a};var wcc=function(){};var wQ=[];wQ.push=function(){throw Error("Fd");};var xQ={cancel:function(){},isPending:function(){return!1}};var yQ=function(a){this.response_=a||function(){};this.timer_=cq(this.onTimer_,0,this);this.addressBookId_=""};g=yQ.prototype;g.setResponse=function(a){this.response_=a};g.setAddressBookId=function(a){this.addressBookId_=a};g.getAddressBookId=function(){return this.addressBookId_};g.cancel=function(){dq(this.timer_);this.timer_=null};g.isPending=function(){return!!this.timer_};g.onTimer_=function(){this.timer_=null;this.response_()};g.setQuery=function(a){this.query_=a};g.getQuery=function(){return this.query_};var xcc=new Map([["personal",2],["domain",4],["pcab",3]]);var Xo=function(a){this.internalArray_=m(a)};Y(Xo,n);g=Xo.prototype;g.getEventType=function(){return Li(this,1,0)};g.setEventType=function(a){return hj(this,1,a)};g.getApiType=function(){return Li(this,2,0)};g.setApiType=function(a){return hj(this,2,a)};g.getCacheStatus=function(){return Li(this,3,0)};g.setCacheStatus=function(a){return hj(this,3,a)};g.getAddressBook=function(){return Li(this,4,0)};g.setAddressBook=function(a){return hj(this,4,a)};g.getRpcType=function(){return Li(this,5,0)};
g.setRpcType=function(a){return hj(this,5,a)};g.getLookupType=function(){return Li(this,6,0)};g.setLookupType=function(a){return hj(this,6,a)};g.getToken=function(){return xi(this,7,"")};g.setToken=function(a){return gj(this,7,a)};var zQ=function(a){this.internalArray_=m(a)};Y(zQ,n);zQ.prototype.setDevice=function(a){return hj(this,1,a)};zQ.prototype.getApplication=function(){return Li(this,2,0)};zQ.prototype.setApplication=function(a){return hj(this,2,a)};zQ.prototype.getApplicationOrUndefined=function(){return ss(this,2)};var AQ=function(a){this.internalArray_=m(a)};Y(AQ,n);g=AQ.prototype;g.setEventSource=function(a){hj(this,2,a)};g.getEventSourceOrUndefined=function(){return ss(this,2)};g.getSocialClient=function(){return vi(this,zQ,3)};g.setSocialClient=function(a){return ej(this,zQ,3,a)};g.setVersionName=function(a){return gj(this,5,a)};g.getBaselineCl=function(){return Ut(this,7)};g.setBaselineCl=function(a){return nj(this,7,a)};g.hasBaselineCl=function(){return Ti(this,7)};
g.getBaselineClOrUndefined=function(){return Zt(this,7)};g.setClientAgent=function(a){return hj(this,9,a)};g.getClientAgentOrUndefined=function(){return ss(this,9)};g.getPeoplekitEntryPoint=function(){return ds(this,11)};g.setPeoplekitEntryPoint=function(a){return hj(this,11,a)};g.getPeoplekitEntryPointOrUndefined=function(){return ss(this,11)};g.setEnvironment=function(a){return hj(this,13,a)};g.getEnvironmentOrUndefined=function(){return ss(this,13)};
g.setSharekitEntryPoint=function(a){hj(this,14,a)};g.getSharekitEntryPointOrUndefined=function(){return ss(this,14)};AQ.repeatedFields_=[6];var ycc=function(a){this.internalArray_=m(a)};Y(ycc,n);g=ycc.prototype;g.getApiType=function(){return Li(this,1,0)};g.setApiType=function(a){return hj(this,1,a)};g.getItemCount=function(){return Xh(this,2)};g.setItemCount=function(a){return dj(this,2,a)};g.hasItemCount=function(){return Ii(this,2)};var zcc=function(a){this.internalArray_=m(a)};Y(zcc,n);g=zcc.prototype;g.getApiType=function(){return Li(this,1,0)};g.setApiType=function(a){return hj(this,1,a)};g.getItemCount=function(){return Xh(this,2)};g.setItemCount=function(a){return dj(this,2,a)};g.hasItemCount=function(){return Ii(this,2)};g.getStatus=function(){return Li(this,4,2)};g.setStatus=function(a){return hj(this,4,a)};g.hasStatus=function(){return Ji(this,4)};g.setTotalUsec=function(a){return nj(this,5,a)};
g.setBlockedUsec=function(a){return nj(this,6,a)};g.setNetworkUsec=function(a){nj(this,7,a)};g.getCacheStatus=function(){return Li(this,8,0)};g.setCacheStatus=function(a){return hj(this,8,a)};g.getAddressBook=function(){return Li(this,9,0)};g.setAddressBook=function(a){return hj(this,9,a)};var BQ=function(a){this.internalArray_=m(a)};Y(BQ,n);BQ.prototype.getStatus=function(){return Li(this,1,2)};BQ.prototype.setStatus=function(a){return hj(this,1,a)};BQ.prototype.hasStatus=function(){return Ji(this,1)};BQ.prototype.setTotalUsec=function(a){return nj(this,2,a)};var CQ=function(a){this.internalArray_=m(a)};Y(CQ,n);CQ.prototype.getRpcType=function(){return Li(this,1,0)};CQ.prototype.setRpcType=function(a){return hj(this,1,a)};CQ.prototype.getLookupType=function(){return Li(this,2,0)};CQ.prototype.setLookupType=function(a){return hj(this,2,a)};var Acc=function(a){this.internalArray_=m(a)};Y(Acc,n);g=Acc.prototype;g.getRpcType=function(){return Li(this,1,0)};g.setRpcType=function(a){return hj(this,1,a)};g.getLookupType=function(){return Li(this,2,0)};g.setLookupType=function(a){return hj(this,2,a)};g.getStatus=function(){return Li(this,3,2)};g.setStatus=function(a){return hj(this,3,a)};g.hasStatus=function(){return Ji(this,3)};g.setTotalUsec=function(a){return nj(this,4,a)};g.setBlockedUsec=function(a){return nj(this,5,a)};
g.setNetworkUsec=function(a){nj(this,6,a)};var DQ=function(a){this.internalArray_=m(a)};Y(DQ,n);g=DQ.prototype;g.getEnvType=function(){return Li(this,1,0)};g.getEnvType_legacyNullable=function(){return ds(this,1)};g.setEnvType=function(a){hj(this,1,a)};g.getCacheSize=function(){return Xh(this,2)};g.setCacheSize=function(a){dj(this,2,a)};g.hasCacheSize=function(){return Ii(this,2)};var EQ=function(a){this.internalArray_=m(a)};Y(EQ,n);g=EQ.prototype;g.getClientInterface=function(){return vi(this,AQ,1)};g.setClientInterface=function(a){return ej(this,AQ,1,a)};g.getSource=function(){return Li(this,2,0)};g.setSource=function(a){return hj(this,2,a)};g.hasSource=function(){return Ji(this,2)};g.getSourceOrUndefined=function(){return ss(this,2)};g.getEventType=function(){return Li(this,3,0)};g.getEventType_legacyNullable=function(){return ds(this,3)};
g.setEventType=function(a){return hj(this,3,a)};g.setRpcRequest=function(a){return wl(this,5,FQ,a)};g.setRpcResponse=function(a){return wl(this,6,FQ,a)};g.setApiCall=function(a){return wl(this,7,FQ,a)};g.setApiResult=function(a){return wl(this,8,FQ,a)};g.getUserInfo=function(){return vi(this,DQ,9)};g.setUserInfo=function(a){return ej(this,DQ,9,a)};g.hasUserInfo=function(){return Pi(this,DQ,9)};var FQ=[4,5,6,7,8];var Bcc=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]]),Ccc=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]]),Dcc=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]]),Ecc=function(a){return Ccc.has(a)?Ccc.get(a):1},Fcc=function(a){return Dcc.has(a)?Dcc.get(a):2};var Gcc=function(a){this.request_=a;this.errorCode_=0},Hcc=function(a,b){b=new Gcc(b);b.errorCode_=a;b.errorMessage_="A server error has occurred.";return b};g=Gcc.prototype;g.hasChanges=function(){return this.mutateResponse_&&Li(this.mutateResponse_,2,0)?Li(this.mutateResponse_,2,0).hasChanges():!1};g.getError=function(){return this.errorCode_};g.getErrorCode=function(){return this.errorCode_};g.getQuery=function(){return this.request_.getQuery()};g.getConfiguration=function(){return this.queryResponse_.getConfiguration()};
g.getUserData=function(){return this.queryResponse_?this.queryResponse_.getUserData():null};var GQ=function(a){this.map_=new iF;this.size=0;a&&this.addAll(a)},Icc=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+Da(a):b.charAt(0)+a};g=GQ.prototype;g.getCount=function(){return this.map_.size};g.add=function(a){this.map_.set(Icc(a),a);this.setSizeInternal_(this.map_.size)};g.addAll=function(a){a=wC(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c]);this.setSizeInternal_(this.map_.size)};g.removeAll=function(a){a=wC(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c]);this.setSizeInternal_(this.map_.size)};
g.delete=function(a){a=this.map_.remove(Icc(a));this.setSizeInternal_(this.map_.size);return a};g.remove=function(a){return this.delete(a)};g.clear=function(){this.map_.clear();this.setSizeInternal_(0)};g.isEmpty=function(){return 0===this.map_.size};g.has=function(a){return this.map_.containsKey(Icc(a))};g.contains=function(a){return this.map_.containsKey(Icc(a))};g.intersection=function(a){var b=new GQ;a=wC(a);for(var c=0;c<a.length;c++){var d=a[c];this.contains(d)&&b.add(d)}return b};
g.getValues=function(){return this.map_.getValues()};g.values=function(){return this.map_.values()};g.clone=function(){return new GQ(this)};g.equals=function(a){return this.getCount()==xYb(a)&&Jcc(this,a)};
var Jcc=function(a,b){var c=xYb(b);if(a.getCount()>c)return!1;!(b instanceof GQ)&&5<c&&(b=new GQ(b));return AYb(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(za(e)||"string"===typeof e)d=ta(e,d);else a:{for(var f in e)if(e[f]==d){d=!0;break a}d=!1}return d})};GQ.prototype.__iterator__=function(){return this.map_.__iterator__(!1)};GQ.prototype[Symbol.iterator]=function(){return this.values()};
GQ.prototype.setSizeInternal_=function(a){this.size=a};var HQ=function(a,b,c){this.fields_=a;this.name_=b;this.contains_=new GQ(c);this.extraFields_=[]};HQ.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 Kcc=function(a){a.fieldSet_||(a.fieldSet_=new GQ(a.fields_));return a.fieldSet_};
HQ.prototype.contains=function(a){if(this.contains_.contains(a))return!0;this.doesntContain_||(this.doesntContain_=new GQ);if(this.doesntContain_.has(a))return!1;var b=Kcc(this),c=Kcc(a);if(AYb(c,b.contains,b))return this.contains_.add(a),!0;this.doesntContain_.add(a);return!1};var Lcc=new HQ(["6","12"],"1"),Mcc=new HQ("2 1f 1c 12 16 13 14 1d 22 1b 20".split(" "),"4",[Lcc]);new HQ("6 12 16 17 18 1a".split(" "),"3",[Lcc]);
new HQ("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",[Lcc,Mcc]);new HQ([]);var Ncc={token:"",addressBookId:"personal",matchType:1,includeContacts:!0,includeGroups:!0,isAutoCompleteMode:!0,delayMillis:5E3,maxMatches:-1,maxTries:10,name:"Load All Contacts"};var Occ=function(a,b,c){VA.call(this);this.scheduler=a;this.runFunction_=b;this.group=c||a.createGroup()};Y(Occ,VA);g=Occ.prototype;g.getGroup=function(){return this.group};g.setGroup=function(a){this.group=a};g.isSuccess=function(){return this.getState().isSuccess()};g.setSuccess=function(a){this.getState().setSuccess(a)};g.getMaxNumRetries=function(){this.getState().getMaxNumRetries()};g.setMaxNumRetries=function(a){this.getState().setMaxNumRetries(a)};g.reset=function(){this.getState().reset()};
g.getNumTriesLeft=function(){return this.getState().getNumTriesLeft()};g.setRunState=function(a){this.getState().setRunState(a)};g.setRunTime=function(a){this.getState().setRunTime(a)};g.setRunTimerId=function(a){this.getState().setRunTimerId(a)};g.incNumSuccesses=function(){this.getState().incNumSuccesses()};g.incNumFailures=function(){this.getState().incNumFailures()};g.incNumExecutions=function(){this.getState().incNumExecutions()};g.decNumTriesLeft=function(){this.getState().decNumTriesLeft()};
g.isPending=function(){return this.getState().isPending()};g.cancel=function(){this.scheduler.cancel(this.getState())};g.getState=function(){return this.scheduler.getState(this.group)};g.run=function(){this.incNumExecutions();this.runFunction_(this)};g.isDone=function(a){return this.scheduler.isDone(this,a)};var Pcc=function(a){VA.call(this);this.scheduler=a;this.maxNumRetries_=0;this.reset()};Y(Pcc,VA);g=Pcc.prototype;g.reset=function(){this.numTriesLeft=this.maxNumRetries_;this.success=!1;this.runState=1;this.runTimerId=this.runTime=-1};g.isSuccess=function(){return this.success};g.setSuccess=function(a){this.success=a};g.getMaxNumRetries=function(){return this.maxNumRetries_};g.setRunState=function(a){this.runState=a};g.setRunTime=function(a){this.runTime=a};
g.setRunTimerId=function(a){this.runTimerId=a};g.setMaxNumRetries=function(a){this.maxNumRetries_=a};g.getNumTriesLeft=function(){return this.numTriesLeft};g.decNumTriesLeft=function(){--this.numTriesLeft};g.incNumSuccesses=function(){};g.incNumFailures=function(){};g.incNumExecutions=function(){};g.isPending=function(){return!(4==this.runState||5==this.runState)};g.disposeInternal=function(){VA.prototype.disposeInternal.call(this);this.scheduler=null};var Qcc=function(){VA.call(this);this.states={};this.currentGroup=1};Y(Qcc,VA);Qcc.prototype.schedule=function(a,b,c,d){b=b||0;var e=Date.now()+b,f=this.states[a.getGroup()];f||(f=new Pcc(this),this.states[a.getGroup()]=f);f.setMaxNumRetries(Math.max(c||1,f.getMaxNumRetries()));switch(f.runState){case 1:case 5:f.reset();Rcc(a,b,e);break;case 6:Rcc(a,b,e);break;case 4:d&&(f.reset(),Rcc(a,b,e));break;case 2:e<f.runTime?(this.cancel(f),f.reset(),Rcc(a,b,e)):f.numTriesLeft=f.maxNumRetries_}};
var Rcc=function(a,b,c){0==b?(a.setRunState(3),a.run()):(a.setRunState(2),a.setRunTime(c),a.setRunTimerId(cq(a.run,b,a)))};g=Qcc.prototype;g.getState=function(a){return this.states[a]};g.createGroup=function(){return""+this.currentGroup++};g.disposeInternal=function(){VA.prototype.disposeInternal.call(this);for(var a in this.states){var b=this.states[a];this.cancel(b);Nh(b)}this.states={}};g.cancel=function(a){2==a.runState&&dq(a.runTimerId)};
g.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 Scc={SOMETHING_CHANGED:"a",ERROR:"b"},IQ=function(a,b){XA.call(this,a&&a[0].getError()?"b":"a");this.responses_=a;this.source_=b||"d"};Y(IQ,XA);IQ.prototype.getChanges=function(){if(!this.changes_){if(!this.responses_)return null;var a=[];ra(this.responses_,function(b){b=Li(b,2,0).getChanges();a&&b?a=a.concat(b):a=null});this.changes_=a}return this.changes_};IQ.prototype.getSource=function(){return this.source_};var Tcc=function(a,b){this.fn_=a;this.handler_=b};Tcc.prototype.execute=function(a){this.fn_&&(this.fn_.call(this.handler_||null,a),this.fn_=this.handler_=null)};Tcc.prototype.abort=function(){this.handler_=this.fn_=null};TUb(function(a){Tcc.prototype.execute=a(Tcc.prototype.execute)});var Ucc=[];var JQ=function(a,b){var c=c||[];this.serviceId_=a;this.moduleId_=b||null;this.dependencies_=[];Vcc(this,c)};JQ.prototype.toString=function(){return this.serviceId_};JQ.prototype.getModuleId=function(){return this.moduleId_};var Vcc=function(a,b){var c=!1;c=void 0===c?!1:c;a.dependencies_=a.dependencies_.concat(b);if(c){if(!a.moduleId_)throw Error("Gd`"+a.serviceId_);b.map(function(d){return d.getModuleId()}).forEach(function(d){Ucc.push(function(e){e.addExtraEdge(a.moduleId_,d)})})}};new JQ("z72MOc","z72MOc");new JQ("ZtVrH");new JQ("rJmJrc","rJmJrc");new JQ("fJuxOc");new JQ("NGntwf");new JQ("ofuapc");new JQ("BWETze");new JQ("ZmXAm");new JQ("n73qwf","n73qwf");new JQ("Bgf0ib");new JQ("MpJwZc","MpJwZc");new JQ("UUJqVe","UUJqVe");new JQ("GHAeAc","GHAeAc");new JQ("Wt6vjf","Wt6vjf");new JQ("byfTOb","byfTOb");new JQ("LEikZe","LEikZe");new JQ("lsjVmc","lsjVmc");new JQ("pVbxBc");new JQ("klpyYe");new JQ("OPbIxb");new JQ("pg9hFd");new JQ("IaqD3e");new JQ("Xpw1of");new JQ("v5BQle");new JQ("tdUkaf");new JQ("WSziFf");new JQ("UBSgGf");new JQ("zZa4xc");new JQ("o1bZcd");new JQ("WwG67d");new JQ("JccZRe");new JQ("amY3Td");new JQ("ABma3e");new JQ("gSshPb");new JQ("yu4DA");new JQ("vk3Wc");new JQ("IykvEf");new JQ("J5K1Ad");new JQ("IW8Usd");new JQ("jbDgG");new JQ("b8xKu");new JQ("d0RAGb");new JQ("AzG0ke");new JQ("J4QWB");new JQ("TuDsZ");new JQ("hdXIif");new JQ("mITR5c");new JQ("DFElXb");new JQ("FENZqe");new JQ("tLnxq");var KQ=function(){VA.call(this);this.eventTarget_=new bp;this.updateCacheEventTarget_=new bp;this.mutationIdMap_=new lF};Y(KQ,VA);KQ.prototype.dispatchEvent=function(a){this.updateCacheEventTarget_.dispatchEvent(a);this.eventTarget_.dispatchEvent(a)};KQ.prototype.getEventTarget=function(){return this.eventTarget_};
KQ.prototype.disposeInternal=function(){VA.prototype.disposeInternal.call(this);this.eventTarget_.dispose();this.eventTarget_=null;this.updateCacheEventTarget_.dispose();this.updateCacheEventTarget_=null};var ps=function(a){this.internalArray_=m(a)};Y(ps,n);var ns=function(a,b){return gj(a,1,b)};g=ps.prototype;g.getLogSource=function(){return Li(this,2,-1)};g.setLogSource=function(a){return hj(this,2,a)};g.getApplication=function(){return Li(this,3,0)};g.setApplication=function(a){return hj(this,3,a)};g.getApplicationOrUndefined=function(){return ss(this,3)};g.getVersion=function(){return xi(this,4)};g.getVersion_legacyNullable=function(){return wj(this,4)};
g.setVersion=function(a){return gj(this,4,a)};g.getVersionOrUndefined=function(){return $t(this,4)};g.getBaselineCl=function(){return Xh(this,5)};g.setBaselineCl=function(a){return dj(this,5,a)};g.hasBaselineCl=function(){return Ii(this,5)};g.getBaselineClOrUndefined=function(){return Yt(this,5)};g.getEnableClearcut=function(){return Hi(this,6)};g.setEnableClearcut=function(a){return cj(this,6,a)};var Lcb=function(a,b){return ap(a,7,b)};g=ps.prototype;g.getExperimentId=function(){return Wt(this,7)};
g.setClientAgent=function(a){return hj(this,8,a)};g.getClientAgentOrUndefined=function(){return ss(this,8)};g.setEventSource=function(a){hj(this,9,a)};g.getEventSourceOrUndefined=function(){return ss(this,9)};g.getClearcutUrl=function(){return xi(this,10)};g.setClearcutUrl=function(a){gj(this,10,a)};g.setEnvironment=function(a){return hj(this,11,a)};g.getEnvironmentOrUndefined=function(){return ss(this,11)};g.getPeoplekitEntryPoint=function(){return Li(this,12,0)};
g.setPeoplekitEntryPoint=function(a){return hj(this,12,a)};g.getPeoplekitEntryPointOrUndefined=function(){return ss(this,12)};g.setSharekitEntryPoint=function(a){hj(this,13,a)};g.getSharekitEntryPointOrUndefined=function(){return ss(this,13)};ps.repeatedFields_=[7];var Wcc=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 Xcc=function(a){this.start_=a;this.end_=NaN};Xcc.prototype.duration=function(){return this.end_-this.start_};Xcc.prototype.stop=function(a){this.end_=a;return this.duration()};var LQ=function(a){var b=void 0===b?Wcc:b;this.source_=a;this.nowFn_=b;this.durations_=new Map;this.lastLabel_="_"};LQ.prototype.source=function(){return this.source_};var Ycc=function(a,b){b&&(a.lastLabel_=b);return a.lastLabel_};
LQ.prototype.duration=function(a){a=Ycc(this,void 0===a?"":a);return this.durations_.has(a)?this.durations_.get(a).duration():NaN};var MQ=function(a,b){return sOa(a.duration(void 0===b?"":b))};LQ.prototype.toString=function(a,b){b=void 0===b?1:b;return this.duration(void 0===a?"":a).toFixed(b)};LQ.prototype.start=function(a){a=void 0===a?"":a;var b=this.nowFn_();a=Ycc(this,a);this.durations_.set(a,new Xcc(b));return this};
LQ.prototype.stop=function(a){a=void 0===a?"":a;var b=this.nowFn_();a=Ycc(this,a);this.durations_.has(a)&&this.durations_.get(a).stop(b);return this};LQ.prototype.clear=function(){this.durations_.clear();return this};var Zcc=function(a){this.internalArray_=m(a)};Y(Zcc,n);var $cc=function(a){this.internalArray_=m(a)};Y($cc,n);g=$cc.prototype;g.getQueryId=function(){return Ut(this,1)};g.setQueryId=function(a){nj(this,1,a)};g.setSelectionId=function(a){nj(this,2,a)};g.getInstanceId=function(){return wj(this,4)};g.setInstanceId=function(a){return gj(this,4,a)};g.clearInstanceId=function(){lm(this,4)};g.hasInstanceId=function(){return yi(this,4)};g.getInstanceIdOrUndefined=function(){return $t(this,4)};g.getAffinityVersion=function(){return Tt(this,5)};
g.setAffinityVersion=function(a){dj(this,5,a)};g.getAffinityVersionOrUndefined=function(){return Yt(this,5)};var adc=function(a){this.internalArray_=m(a)};Y(adc,n);g=adc.prototype;g.getQueryLength=function(){return Tt(this,1)};g.setQueryLength=function(a){return dj(this,1,a)};g.hasQueryLength=function(){return Ii(this,1)};g.getQuery=function(){return wj(this,2)};g.setQuery=function(a){return gj(this,2,a)};g.clearQuery=function(){lm(this,2)};g.hasQuery=function(){return yi(this,2)};var bdc=function(a){this.internalArray_=m(a)};Y(bdc,n);bdc.prototype.setLatencyUsec=function(a){dj(this,1,a)};var NQ=function(a){this.internalArray_=m(a)};Y(NQ,n);g=NQ.prototype;g.getColumn=function(){return Tt(this,2)};g.setColumn=function(a){return dj(this,2,a)};g.getType=function(){return ds(this,3)};g.setType=function(a){return hj(this,3,a)};g.hasType=function(){return Ji(this,3)};var OQ=function(a){this.internalArray_=m(a)};Y(OQ,n);OQ.prototype.getExistingSelectionsCount=function(){return Tt(this,1)};OQ.prototype.setExistingSelectionsCount=function(a){dj(this,1,a)};OQ.prototype.getPosition=function(){return vi(this,NQ,2)};OQ.prototype.setPosition=function(a){return ej(this,NQ,2,a)};var PQ=function(a){this.internalArray_=m(a)};Y(PQ,n);g=PQ.prototype;g.getType=function(){return ds(this,5)};g.setType=function(a){return hj(this,5,a)};g.hasType=function(){return Ji(this,5)};g.getEmail=function(){return wj(this,1)};g.getEmail_legacyNullable=function(){return wj(this,1)};g.setEmail=function(a){return gj(this,1,a)};g.hasEmail=function(){return yi(this,1)};g.getPhone=function(){return wj(this,2)};g.getPhone_legacyNullable=function(){return wj(this,2)};
g.setPhone=function(a){return gj(this,2,a)};g.hasPhone=function(){return yi(this,2)};g.getObfuscatedGaiaId=function(){return wj(this,3)};g.getObfuscatedGaiaId_legacyNullable=function(){return wj(this,3)};g.setObfuscatedGaiaId=function(a){gj(this,3,a)};g.getContactId=function(){return Ut(this,4)};g.setContactId=function(a){nj(this,4,a)};g.getGroupId=function(){return wj(this,6)};g.setGroupId=function(a){gj(this,6,a)};g.hasGroupId=function(){return yi(this,6)};var QQ=function(a){this.internalArray_=m(a)};Y(QQ,n);QQ.prototype.getName=function(){return wj(this,1)};QQ.prototype.setName=function(a){return gj(this,1,a)};QQ.prototype.hasName=function(){return yi(this,1)};QQ.prototype.getNameOrUndefined=function(){return $t(this,1)};var RQ=function(a){this.internalArray_=m(a)};Y(RQ,n);g=RQ.prototype;g.getPosition=function(){return vi(this,NQ,1)};g.setPosition=function(a){return ej(this,NQ,1,a)};g.getProvenance=function(){return JLb(this,3)};g.setProvenance=function(a){return Qb(this,3,pba,a,void 0,aj)};g.getIsPlaceholder=function(){return Vr(this,7)};g.setIsPlaceholder=function(a){cj(this,7,a)};g.getIsSelf=function(){return Vr(this,11)};g.getQueryId=function(){return Ut(this,15)};g.setQueryId=function(a){nj(this,15,a)};
g.setSelectionId=function(a){nj(this,16,a)};RQ.repeatedFields_=[4,3];var SQ=function(a){this.internalArray_=m(a)};Y(SQ,n);SQ.prototype.getLoggingId=function(){return wj(this,1)};SQ.prototype.setLoggingId=function(a){gj(this,1,a)};SQ.prototype.getMetadata=function(){return vi(this,RQ,3)};SQ.prototype.setMetadata=function(a){ej(this,RQ,3,a)};var TQ=function(a){this.internalArray_=m(a)};Y(TQ,n);TQ.prototype.getAffinityVersion=function(){return Tt(this,2)};TQ.prototype.setAffinityVersion=function(a){dj(this,2,a)};TQ.prototype.getAffinityVersionOrUndefined=function(){return Yt(this,2)};var cdc=function(a){this.internalArray_=m(a)};Y(cdc,n);g=cdc.prototype;g.getEventType=function(){return ds(this,1)};g.getEventType_legacyNullable=function(){return ds(this,1)};g.setEventType=function(a){return hj(this,1,a)};g.getMetadata=function(){return vi(this,TQ,4)};g.setMetadata=function(a){ej(this,TQ,4,a)};g.getClientInterface=function(){return vi(this,AQ,5)};g.setClientInterface=function(a){return ej(this,AQ,5,a)};cdc.repeatedFields_=[2];var ddc=new Map([[1,4],[2,2],[3,1],[4,7]]),edc=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=Hi(a.getExperiments(),1,!0);break;case 2:b="ppl.store.ppl.store.ozcontactstore";c=Hi(a.getExperiments(),2,!0);break;default:b="ppl.store",c=!1}var d=ddc.get(a.getUserInfo().getEnvType_legacyNullable())||0;this.logContext_=Pb(Lcb(ns(new ps,b).setLogSource(932).setApplication(a.getClientInfo().getSocialApplicationOrUndefined()).setEnvironment(d).setVersion("1013").setBaselineCl(336195648).setClientAgent(3).setEnableClearcut(c),
a.getExperiments().getExperimentIdsList()),7,ob,20090307)};g=edc.prototype;g.getLogContext=function(){return this.logContext_};
g.createCountMetric=function(a,b){b=b.source();var c=fdc(this);switch(b.getEventType()){case 2:case 3:return(new EQ).setClientInterface(a).setUserInfo(c).setSource(2).setEventType(2).setRpcRequest((new CQ).setRpcType(b.getRpcType()).setLookupType(b.getLookupType()));case 4:case 5:return(new EQ).setClientInterface(a).setUserInfo(c).setEventType(4).setApiCall((new ycc).setApiType(b.getApiType()));default:return null}};
g.createStatusMetric=function(a,b,c){var d=b.source(),e=fdc(this);switch(d.getEventType()){case 1:d=(new EQ).setClientInterface(a).setUserInfo(e).setSource(1).setEventType(1);a=this.transportType_;e=(new BQ).setStatus(c);if(0==c||4==c)c=e.setTotalUsec(MQ(b,"total")),b=MQ(b,"blocked"),b=nj(c,3,b),hj(b,5,a);return wl(d,4,FQ,e);case 2:case 3:return a=(new EQ).setClientInterface(a).setUserInfo(e).setSource(2).setEventType(3),e=a.setRpcResponse,d=(new Acc).setRpcType(d.getRpcType()).setLookupType(d.getLookupType()).setStatus(c),
0!=c&&4!=c||d.setTotalUsec(MQ(b,"total")).setBlockedUsec(MQ(b,"blocked")).setNetworkUsec(MQ(b,"network")),e.call(a,d);case 4:case 5:a=(new EQ).setClientInterface(a).setUserInfo(e).setEventType(5);e=a.setApiResult;var f=new zcc;f.setApiType(d.getApiType()).setCacheStatus(d.getCacheStatus()).setAddressBook(d.getAddressBook()).setStatus(c);0!==c&&4!==c||f.setTotalUsec(MQ(b,"total"));return e.call(a,f);default:return null}};g.createErrorMetric=function(){return null};g.createLatencyMetric=function(){return null};
var fdc=function(a){a=a.clientConfig_.getUserInfo();var b=new DQ;b=cj(b,4,!!a.getDelegatorId());a.hasCacheSize()&&b.setCacheSize(a.getCacheSize());b.setEnvType(Li(a,6,0)||0);return b};var vOa=function(a){this.internalArray_=m(a)};Y(vOa,n);vOa.repeatedFields_=[1,2,3,4];var UQ=function(a,b){this.name_=b||"";this.address=a||""},gdc=/"/g,hdc=/\\"/g,idc=/\\/g,jdc=/\\\\/g,kdc=RegExp("^[+a-zA-Z0-9_.!#$%&'*\\/=?^`{|}~-]+@([a-zA-Z0-9-]+\\.)+[a-zA-Z0-9]{2,63}$"),ldc=new RegExp("["+xda({LRE:"\u202a",RLE:"\u202b",PDF:"\u202c",LRM:"\u200e",RLM:"\u200f"}).join("")+"]","g");UQ.prototype.getName=function(){return this.name_};UQ.prototype.getAddress=function(){return this.address};UQ.prototype.setName=function(a){this.name_=a};UQ.prototype.toString=function(){return mdc(this,'()<>@:\\".[],;')};
var mdc=function(a,b){var c=a.getName();c=c.replace(gdc,"");a:{for(var d=c,e=0;e<b.length;e++)if(ka(d,b[e])){b=!0;break a}b=!1}b&&(c='"'+c.replace(idc,"\\\\")+'"');return""==c?a.address:""==a.address?c:c+" <"+a.address+">"};UQ.prototype.isValid=function(){return kdc.test(this.address)};
var pdc=function(a){var b=ndc;a=a.replace(ldc,"");for(var c="",d="",e=0;e<a.length;){var f=a;var h=e,k=f.charAt(h),q='"<(['.indexOf(k);if(-1==q||odc(f,h))f=k;else{q='">)]'.charAt(q);for(var t=f.indexOf(q,h+1);0<=t&&odc(f,t);)t=f.indexOf(q,t+1);f=0<=t?f.substring(h,t+1):k}"<"==f.charAt(0)&&-1!=f.indexOf(">")?(d=f.indexOf(">"),d=f.substring(1,d)):""==d&&(c+=f);e+=f.length}""==d&&-1!=c.indexOf("@")&&(d=c,c="");c=IMb(c);c=JMb(c,"'");c=JMb(c,'"');c=c.replace(hdc,'"');c=c.replace(jdc,"\\");d=IMb(d);return new b(d,
c)},odc=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 ndc=function(a,b){UQ.call(this,a,b)};At(ndc,UQ);var qdc=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}$");ndc.prototype.isValid=function(){return rdc(this.address)};var rdc=function(a){return null==a?!1:qdc.test(a)};ndc.prototype.toString=function(){return mdc(this,'()<>@:\\".[],;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a')};var sdc=/[^a-z0-9]+/ig,tdc=[9,11,10,12,13,14,15,16,19],udc=[9,19,11],vdc=[1,6],wdc=[2,7],xdc=[3,8],ydc=[1,2,6,7,8,9,11,10,12,13,14,15,16,18,19],rbb=[3,4,5,17,20],Rr=function(a,b,c){this.type_=a;this.normalizedValue_=Yo(b);this.originalValue_=Yo(void 0===c?b:c)};Rr.prototype.getType=function(){return this.type_};Rr.prototype.getValue=function(){return this.normalizedValue_};Rr.prototype.getOriginalValue=function(){return this.originalValue_};
var ur=function(a){return tdc.includes(a.getType())},vr=function(a){return udc.includes(a.getType())},Lr=function(a,b){switch(a){case 1:return Or(b);case 6:return new Rr(6,Yo(b).toLowerCase(),b);case 2:return Dbb(b);case 7:return Ebb(b);case 3:return obb(b);case 8:return new Rr(8,Yo(b).toLowerCase(),b);case 5:return new Rr(5,Yo(b).toLowerCase(),b);case 4:return pbb(b);case 9:return zdc(b);case 12:return new Rr(12,Yo(b),b);case 13:return new Rr(13,Yo(b),b);case 14:return new Rr(14,Yo(b),b);case 15:return new Rr(15,
Yo(b),b);case 16:return new Rr(16,Yo(b),b);case 10:return new Rr(10,Yo(b),b);case 11:return new Rr(11,Yo(b),b);case 18:return qbb(b);case 19:return new Rr(19,Yo(b),b);case 20:return new Rr(20,Yo(b),b);case 17:return Adc;default:return new Rr(0,b)}},Or=function(a){return new Rr(1,Yo(a).toLowerCase(),a)},Dbb=function(a){var b=Yo(a).toLowerCase().replace(sdc,"");return new Rr(2,b,a)},obb=function(a){var b=Yo(a).toLowerCase();return"me"===b?Adc:new Rr(3,b,a)},pbb=function(a){return new Rr(4,Yo(a).toLowerCase(),
a)},Ebb=function(a){var b=Yo(a).toLowerCase().replace(sdc,"");return new Rr(7,b,a)},zdc=function(a){return new Rr(9,Yo(a).toLowerCase(),a)},qbb=function(a){return new Rr(18,Yo(a),a)},Bdc=function(a){var b=a.indexOf(":");return Lr(0<b?parseInt(a.substring(0,b),10):0,a.substring(b+1))};Rr.prototype.toString=function(){return this.type_+":"+this.normalizedValue_};Rr.prototype.serialize=function(){return this.type_+":"+this.originalValue_};
Rr.prototype.equals=function(a){return a?this===a?!0:this.type_===a.type_&&this.normalizedValue_===a.normalizedValue_:!1};var Cdc=function(a){switch(a.getType()){case 1:case 6:return rdc(a.originalValue_);case 2:case 7:return a=a.originalValue_.replace(sdc,""),3<=a.length&&"0"<=a[0]&&"9">=a[0];case 3:case 8:return!!Yo(a.originalValue_);default:return!0}},Tr=Lr(0,""),Adc=new Rr(17,"me");var Ddc=function(a,b){this.apiEnv_=a;this.experimentsConfig_=b};var Edc=function(a){this.profileId_=a};Edc.prototype.getProfileId=function(){return this.profileId_};var VQ=Object.freeze({userProfileId:"",apiEnv:4,userEmail:""});var Fdc=function(){return ia&&ja?!ja.mobile&&(la("iPad")||la("Android")||la("Silk")):la("iPad")||la("Android")&&!la("Mobile")||la("Silk")};var uOa=new WeakMap,tOa=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")};var Gdc=function(a,b){this.clearcut_=a;this.logContextFactory_=b;this.device_=maa()||la("iPod")?4:la("iPad")?5:laa()?Fdc()?3:2:(ia&&ja?ja.mobile:!Fdc()&&(la("iPod")||la("iPhone")||la("Android")||la("IEMobile")))||Fdc()?0:1},Idc=function(a){var b=a.getLogContext(),c=null;b.getEnableClearcut()&&(c=Hdc(b.getLogSource(),kOa(),Zh(b,7),b.getClearcutUrl()));return new Gdc(c,a)},WQ=function(a){var b=a.logContextFactory_.getLogContext(),c=new zQ;c.setApplication(b.getApplicationOrUndefined());c.setDevice(a.device_);
a=new AQ;a.setSocialClient(c);a.setVersionName(b.getVersionOrUndefined());a.setClientAgent(b.getClientAgentOrUndefined());a.setEventSource(b.getEventSourceOrUndefined());a.setEnvironment(b.getEnvironmentOrUndefined());a.setPeoplekitEntryPoint(b.getPeoplekitEntryPointOrUndefined());a.setSharekitEntryPoint(b.getSharekitEntryPointOrUndefined());b.hasBaselineCl()&&(b=Math.round(b.getBaselineCl()),isFinite(b)&&a.setBaselineCl(b));return a},XQ=function(a,b){var c=new HB;YWb(c,b.serialize());a.clearcut_&&
NB(a.clearcut_,c)},Hdc=Zo(wOa);var Jdc=function(a,b){this.clearcut_=a;this.logEventFactory_=b};Jdc.prototype.logError=function(a){var b=WQ(this.clearcut_);(a=this.logEventFactory_.createErrorMetric(b,a))&&XQ(this.clearcut_,a)};var Kdc=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 Ldc=function(){this.logContext_=ns(new ps,"ppl.store")};g=Ldc.prototype;g.getLogContext=function(){return this.logContext_};g.createCountMetric=function(){return null};g.createStatusMetric=function(){return null};g.createErrorMetric=function(){return null};g.createLatencyMetric=function(){return null};var Mdc=function(a){this.clearcut_=a},Gr=function(a){a=new Jdc(Idc(a),a);return new Mdc(a)};g=Mdc.prototype;g.start=function(a,b){a.start(b);return this};g.stop=function(a,b){a.stop(b);return this};
g.count=function(a,b){var c=this.clearcut_;b=void 0===b?1:b;var d=WQ(c.clearcut_);(a=c.logEventFactory_.createCountMetric(d,a,b))&&XQ(c.clearcut_,a);return this};g.status=function(a,b){var c=this.clearcut_,d=WQ(c.clearcut_);(a=c.logEventFactory_.createStatusMetric(d,a,b))&&XQ(c.clearcut_,a);return this};g.latency=function(a){var b=this.clearcut_,c=WQ(b.clearcut_);(a=b.logEventFactory_.createLatencyMetric(c,a))&&XQ(b.clearcut_,a);return this};g.error=function(a){this.clearcut_.logError(a);return this};
g.logError=function(){};g.logInfo=function(){return this};var YQ=function(a,b){this.addressBookMap_={};this.addressBooks=[];this.ownedAddressBooks_=[];this.scheduler_=new Qcc;this.eventHandler_=new Kq(this);this.ownsContactNotificationService_=!a;this.queryFilters_=[];this.contactNotificationService_=a||new KQ;(a=b)||(a=Gr(new Ldc));this.metrics=a;this.queryFilters_.push(this.contactNotificationService_)};At(YQ,VA);g=YQ.prototype;
g.addAddressBook=function(a,b){this.addressBooks.push(a);b&&this.ownedAddressBooks_.push(a);this.addressBookMap_[a.getId()]=a;this.eventHandler_.listen(a,xda(Scc),yt(this.forwardEvent_,this))};g.forwardEvent_=function(a){this.contactNotificationService_.dispatchEvent(a)};g.getEventTarget=function(){return this.contactNotificationService_.getEventTarget()};g.invalidate=function(){this.contactNotificationService_.dispatchEvent(new IQ(null,"c"))};
g.loadContactRows=function(a,b){var c=this,d=(new Xo).setEventType(4).setApiType(2),e=new LQ(d);this.metrics.count(e);this.metrics.start(e,"total");return Ndc(this,a,function(f){return f.loadContactRows},function(f,h,k,q,t){Odc(function(w,y,C,J){var I=y===xQ||y instanceof yQ?2:1;e.source().setCacheStatus(I);e.source().setAddressBook(C?xcc.get(C)||1:1);c.metrics.stop(e,"total");c.metrics.status(e,Fcc(t||0));b&&b(w,y,C,J,t)},f,h,k,q)})};
var Ndc=function(a,b,c,d){var e=new Pdc(d,a.metrics),f;if(b.addressBookId){var h=a.addressBookMap_[b.addressBookId];0<b.delayMillis||1<b.maxTries?f=Qdc(a,h,c(h),b,d):f=c(h).call(h,b,d);f&&e.add(f)}else for(var k=0;k<a.addressBooks.length;k++)h=a.addressBooks[k],0<b.delayMillis||1<b.maxTries?f=Qdc(a,h,c(h),b,d):f=c(h).call(h,b,d),f&&e.add(f);return e};
YQ.prototype.execute=function(a){var b=this,c=(new Xo).setEventType(4).setApiType(1),d=new LQ(c);this.metrics.count(d);this.metrics.start(d,"total");Rdc(this,a);a.addSuccessOrFailureCallback(function(e){var f=e?Fcc(e.getErrorCode()):2;e=(e=e?e.request_:null)?e.getAddressBookId():"";d.source().setCacheStatus(e?1:2);d.source().setAddressBook(e?e?xcc.get(e)||1:1:0);b.metrics.stop(d,"total");b.metrics.status(d,f)});return this.cache_&&(c=a.executeFromCache(this.cache_,function(e){return Sdc(b,e,d)}))?
c:Sdc(this,a,d)};
var Rdc=function(a,b){ra(a.queryFilters_,function(){});b.isMutate()&&(b=Li(b,2,0))&&(b=b.getQueryAfterMutate())&&Rdc(a,b)},Sdc=function(a,b,c){if(b.isMutate()){var d=Li(b,2,0);d&&(d=d.getMutationId())&&a.contactNotificationService_.mutationIdMap_.set(d,Date.now())}if(d=b.getAddressBookId())if(d=a.addressBookMap_[d])return d.execute(b);c=new Pdc(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},Qdc=function(a,b,c,
d,e){b=yt(a.runScheduledQuery_,a,b,c,d,e);b=new Occ(a.scheduler_,b,d.name);a.scheduler_.schedule(b,d.delayMillis,d.maxTries,d.force);return new Tdc(b)};YQ.prototype.runScheduledQuery_=function(a,b,c,d,e){e.request=b.call(a,c,function(f,h,k,q,t){e.isDone(!t)&&d&&d(f,h,k,q,t)})};var Odc=function(a,b,c,d,e){a&&(b&&(e.filter&&(b=e.filter(b,e.token)),Udc(b)),a(b||[],c,d,e))},Udc=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)}};
YQ.prototype.disposeInternal=function(){YQ.superClass_.disposeInternal.call(this);Nh(this.scheduler_);this.scheduler_=null;ra(this.ownedAddressBooks_,Nh);this.ownedAddressBooks_=this.addressBookMap_=this.addressBooks=null;Nh(this.eventHandler_);this.eventHandler_=null;ra(this.queryFilters_,function(a){a!=this.contactNotificationService_&&Nh(a)},this);this.queryFilters_=null;this.ownsContactNotificationService_&&(Nh(this.contactNotificationService_),this.contactNotificationService_=null)};
var Vdc=function(a){var b=new edc(a,0);ns(b.getLogContext(),"ppl.store");b.getLogContext().setEnableClearcut(Hi(a.getExperiments(),3,!0));return Gr(b)},Pdc=function(a,b,c){this.requests_=[];this.handler=a;this.metrics_=b;this.state_=c;this.addressBookId_=""};g=Pdc.prototype;g.setAddressBookId=function(a){this.addressBookId_=a};g.getAddressBookId=function(){return this.addressBookId_};g.add=function(a){this.requests_.push(a)};g.isEmpty=function(){return 0==this.requests_.length};
g.cancel=function(){this.isPending()&&this.metrics_&&this.state_&&this.metrics_.status(this.state_,1);for(var a=0;a<this.requests_.length;a++)this.requests_[a].cancel()};g.isPending=function(){for(var a=0;a<this.requests_.length;a++)if(this.requests_[a].isPending())return!0;return!1};g.getQuery=function(){return this.query_};g.setQuery=function(a){this.query_=a};var Tdc=function(a){this.op=a;this.request=null};Tdc.prototype.cancel=function(){this.op.cancel();this.request&&this.request.cancel()};
Tdc.prototype.isPending=function(){return this.op.isPending()||this.op.request&&this.op.request.isPending()};var Wdc=function(a,b){this.text=a;this.specialRowHandler=b};At(Wdc,wcc);g=Wdc.prototype;g.getName=function(){return null};g.getEmail=function(){return null};g.getPhoneNumber=function(){return null};g.getType=function(){return"sr"};g.getPriority=function(){return 0};g.getLoggingId=function(){return"sr"};var Xdc=function(a,b){YQ.call(this,a,b)};Y(Xdc,YQ);Xdc.prototype.addAddressBook=function(a,b){1==this.addressBooks.length&&(this.combiner_=new Ydc(this.metrics),this.combiner_.addAddressBook(this.addressBooks[0]));YQ.prototype.addAddressBook.call(this,a,b);this.combiner_&&this.combiner_.addAddressBook(a)};Xdc.prototype.loadContactRows=function(a,b){return this.combiner_&&a.isAutoCompleteMode&&!a.addressBookId?this.combiner_.loadContactRows(a,b):YQ.prototype.loadContactRows.call(this,a,b)};
var Ydc=function(a){this.addrBooks_=[];this.rowSets_=null;this.metrics_=a};Ydc.prototype.addAddressBook=function(a){this.addrBooks_.push(new Zdc(this,this.addrBooks_.length,a))};Ydc.prototype.loadContactRows=function(a,b){a=new $dc(a,this.metrics_,b);aec(this,a);return a};
var aec=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 f=[];e=!1;for(var h,k=0;k<d.length&&f.length<c.maxMatches;k++)if(d[k]){h=f.length;e=!0;var q=d[k],t=c.maxMatches,w=f.length;if(0==w)f=q.length>t?q.slice(0,t):q;else for(var y=0;y<q.length;y++){for(var C=null,J=0;J<w&&!(C=bec(f[J],q[y]));J++);if(C)C===q[y]&&(f[J]=C);else if(f.length==
w?f=f.concat(q[y]):f.push(q[y]),f.length==t)break}0<h&&f.length>h&&(f[h].flags|=1)}e?(Udc(f),c=f):c=null;c&&b.handler&&a.addrBooks_[0]&&a.addrBooks_[0].madeCallback_&&b.handler(c,b,null,b.query);a.rowSets_=null},bec=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},cec=function(a,b,c,d){a.rowSets_?a.rowSets_[c]=d:aec(a,b,c,d)};
Ydc.prototype.handleSpecialRow=function(){};var Zdc=function(a,b,c){this.combiner_=a;this.id_=b;this.addrBook_=c;this.lastAsyncLatency_=0;this.isSynchronous_=!1};
Zdc.prototype.loadContactRows=function(a){var b=this,c=a.storedResults_[this.id_];if(!c){this.isSynchronous_=!0;this.madeCallback_=!1;var d=Date.now(),e=this.addrBook_.loadContactRows(a.query,function(f,h,k,q,t){b.matchListener_(a,d,f,t)});a.addRequest(this.id_,e);this.isSynchronous_=!1;this.madeCallback_||a.query.isAutoCompleteMode&&300<this.lastAsyncLatency_&&(c=[dec(this)])}c&&cec(this.combiner_,a,this.id_,c)};
var dec=function(a){var b=a.addrBook_.title_;return new Wdc(b?"Searching for matches from "+b:"Searching for more matches.",a.combiner_.handleSpecialRow)};
Zdc.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;cec(this.combiner_,a,this.id_,c)};Zdc.prototype.dispose=function(){this.combiner_=this.matcher_=null};
var $dc=function(a,b,c){var d=this;this.query=a;this.activeRequests_={};this.storedResults_={};this.addressBooksToReport_=[];this.storedErrorCodes_=[];var e=new LQ((new Xo).setEventType(4).setApiType(2));b.count(e);b.start(e,"total");this.handler=function(f,h,k,q){d.addressBooksToReport_.forEach(function(t,w){var y=d.activeRequests_[w];y=y===xQ||y instanceof yQ?2:1;e.source().setCacheStatus(y);e.source().setAddressBook(t?xcc.get(t)||1:1);b.stop(e,"total");b.status(e,Fcc(d.storedErrorCodes_[w]))});
d.addressBooksToReport_=[];c&&c(f,h,k,q)}};$dc.prototype.cancel=function(){for(var a in this.activeRequests_)this.activeRequests_[a].cancel();this.activeRequests_={}};$dc.prototype.isPending=function(){for(var a in this.activeRequests_)if(this.activeRequests_[a].isPending())return!0;return!1};$dc.prototype.addRequest=function(a,b){this.activeRequests_[a]=b};var eec={198:"AE",230:"ae",306:"IJ",307:"ij",338:"AE",339:"ae"},Kr=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 f=eec[e];f?e=f:(f="AAAAAA*CEEEEIIIIDNOOOOOx0UUUUYpBaaaaaa*ceeeeiiiionooooo^ouuuuypyAaAaAaCcCcCcCcDdDdEeEeEeEeEeGgGgGgGgHhHhIiIiIiIiIi**JjKkkLlLlLLLlllNnNnNnnNnOoOoOo**RrRrRrSsSsSsSsTtTtttUuUuUuUuUuUuWwYyYZzZzZz"[e-192],e="^"==f?null:f)}e&&(c!=d&&b.push(a.substr(c,d-c)),c=d+1,b.push(e))}return 0<b.length?(b.push(a.substr(c)),b.join("")):
a};var ZQ=function(a,b,c,d,e,f){bp.call(this);this.cacheMaxSize_=e||0;this.rowMatchingFunction_=f||fec;this.cache_=new lF(this.cacheMaxSize_,!0);this.cacheSize_=a||0;this.cacheMinExpiryAge_=b||0;this.cacheMaxExpiryAge_=c||0;this.cacheByType_=!!d};At(ZQ,bp);ZQ.prototype.disposeInternal=function(){ZQ.superClass_.disposeInternal.call(this);this.cache_=null};ZQ.prototype.clear=function(){this.cache_.clear()};
var fec=function(a){var b=ao(Kr(a.token));return function(c){var d=new RegExp("(^|\\W+)"+b,"i");(d=null!=Kr(String(c[1])).match(d))||(d=c[0],d=null!=c[2].match(new RegExp("^"+b,"i"))&&"cl"!=String(d));return d}},gec=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},hec=function(a,b,c){a.cache_.set(gec(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_)}},iec=function(a,b,c){c=c?a.cache_.get(b):k2b(a.cache_,b);return a.isStale(c)?(a.cache_.remove(b),null):c},jec=function(a,b,c){c=b.length-c.length;for(var d=b.length;d>=c;d--){var e=iec(a,b,!1);if(e)return e;b=b.substr(0,d-1)}return null},kec=function(a,b){if(b.isContactAutoComplete)return null;var c=gec(b,a.cacheByType_),
d=jec(a,c,b.token);return d?d:a.cacheByType_&&0!=c.lastIndexOf("^",0)?(c=gec(b,!1),jec(a,c,b.token)):null};ZQ.prototype.isStale=function(a){return!!a&&!!this.cacheMaxExpiryAge_&&a.created+this.cacheMaxExpiryAge_<Date.now()};ZQ.prototype.invalidateCache=function(a){for(var b=this.cache_.getKeys(),c=0;c<b.length;c++){var d=b[c],e={token:k2b(this.cache_,d).token};this.rowMatchingFunction_(e)(a)&&this.cache_.remove(d)}};
var $Q=function(a,b,c){this.token=a;this.matches_=b;this.partialResult_=!!c;this.count=1;this.created=Date.now()};$Q.prototype.getMatches=function(a){a&&this.count++;return this.matches_};$Q.prototype.isComplete=function(a){return!this.partialResult_||0<=a&&a<=this.matches_.length};At(dp,bp);g=dp.prototype;g.configure=function(a,b){this.title_=b;this.initialized_||(this.initialized_=!0)};g.getId=function(){return this.id_};
g.loadContactRows=function(a,b){if(this.initialized_){var c=this.cache_;if(Ei(a.token)&&!c.allowEmptyQueries_)var d=wQ;else{d=a.maxMatches;var e=iec(c,gec(a,c.cacheByType_),!0);(d=e&&d&&!e.isComplete(d)?null:e)?d=d.getMatches():(d=kec(c,a))&&0==d.getMatches().length?(hec(c,a,new $Q(a.token,wQ)),d=wQ):d&&!d.partialResult_&&c.clientFilteringOk_?(d=d.getMatches(),d=yKb(d,c.rowMatchingFunction_(a),c),hec(c,a,new $Q(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,xQ,this.getId(),a),xQ):this.transport_.loadContactRows(a,this.getId(),yt(this.cacheContactRowsAndInvokeHandler_,this,b))}b&&b(wQ,xQ,this.getId(),a,4);return xQ};g.cacheContactRowsAndInvokeHandler_=function(a,b,c,d,e,f){f||hec(this.cache_,e,new $Q(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,f))};g.onContactsChange_=function(){this.cache_.clear()};
g.disposeInternal=function(){dp.superClass_.disposeInternal.call(this);this.cache_.dispose();this.cache_=null;lec(this.transport_,this.id_);this.transport_=null};var nec=function(a,b,c){ZQ.call(this,100,18E5,432E5,!0,0,c||mec);this.clientFilteringOk_=a;this.allowEmptyQueries_=b};Y(nec,ZQ);var mec=function(a){return function(b){var c=b.getType(),d;if(d=oec(a,c)){d=new RegExp("(^|\\W+)"+ao(Kr(a.token)),"i");var e=Kr(b.getName()||"");(d=d.test(e))||(d=a.token,d=((b=b.getEmail())?(new RegExp("^"+ao(Kr(d)),"i")).test(b):!1)&&"cl"!=c)}return d}},oec=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 aR=function(a,b,c){this.includeDomainGroups_=!!c;b=b||new nec(!0,!1,pec);dp.call(this,a,b,"domain")};At(aR,dp);aR.prototype.loadContactRows=function(a,b){a.includeGroups&&!this.includeDomainGroups_&&(a=fc(a),a.includeGroups=!1);return aR.superClass_.loadContactRows.call(this,a,b)};
var pec=function(a){for(var b=IMb(a.token).toLowerCase().split(/\s+/),c=[],d=[],e=0;e<b.length;e++){var f=ao(b[e]),h=new RegExp("^"+f,"i");c.push(new RegExp("(^|\\W+)"+f,"i"));d.push(h)}return function(k){if(oec(a,k.getType())){for(var q=0;q<c.length;q++)if(!k.getName().match(c[q])&&!k.getEmail().match(d[q]))return!1;return!0}return!1}};aR.prototype.execute=function(a){a=this.transport_.execute(a);a.setAddressBookId(this.getId());return a};var qec=function(a,b){this.personId=a;this.contactId=b.CONTACT||"";this.syntheticId=b.DOMAIN_CONTACT||"";this.profileId=b.PROFILE||b.DOMAIN_PROFILE||"";this.loggingId=""},sec=function(a){if(!a)return rec;var b=yOa(Vo("metadata.identityInfo.sourceIds",a)),c=Vo("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 qec(a.personId||"",b)},rec=new qec("",{});var tec=function(a,b){this.isLocal_=a;this.edgeIndex_=b};tec.prototype.toString=function(){return""};var bR=function(a,b){this.metadata_=a||{};this.edgeCollection_=b};bR.prototype.toString=function(){return""};var vec=function(a){return uec(a).some(function(b){return!b.isLocal_})};bR.prototype.getSource=function(a){return uec(this)[a]};bR.prototype.hasSource=function(){return void 0<uec(this).length};var uec=function(a){return a.edgeCollection_?a.edgeCollection_.getSources(a.metadata_.encodedContainerId,a.metadata_.containerType):[]};bR.prototype.getCause=function(a){return wec(this)[a]};
var wec=function(a){return a.edgeCollection_?xec(a.edgeCollection_,a.metadata_.edgeKeyInfo):[]};bR.prototype.getContainerType=function(){return this.metadata_.containerType};var yec=new bR({},null);var zec=function(a,b){this.email_=a;this.edgeCollection_=b;this.metadata_=null};g=zec.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new bR(this.email_.metadata,this.edgeCollection_):yec);return this.metadata_};g.hasMetaData=function(){return"metadata"in this.email_};g.getValue=function(){return this.email_.value||""};g.hasValue=function(){return!!this.getValue()};
g.getPrimary=function(){var a=this.email_.metadata;return!(!a||!a.primary)};g.getDisplayName=function(){return""};var Aec=new zec({},null);var Bec=function(a,b){this.emails_=[];a=l(a);for(var c=a.next();!c.done;c=a.next())this.emails_.push(new zec(c.value,b))};g=Bec.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.emails_[a]||Aec};g.getFieldLength=function(){return this.emails_.length};var Cec=new Bec([],null);var Dec=function(a,b){this.name_=a||{};this.edgeCollection_=b;this.metadata_=null};g=Dec.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=new bR(this.name_.metadata,this.edgeCollection_));return this.metadata_};g.hasMetaData=function(){return!!this.getMetaData()};g.getValue=function(){return this.name_.displayName||this.name_.formattedName||this.name_.formattedValue||this.name_.value||""};g.hasValue=function(){return!!this.getValue()};
g.getFamilyName=function(){return this.name_.familyName||""};g.hasFamilyName=function(){return!!this.getFamilyName()};g.getGivenName=function(){return this.name_.givenName||""};g.hasGivenName=function(){return!!this.getGivenName()};var Eec=new Dec({},null);var Fec=function(a){this.field_=a};g=Fec.prototype;g.toString=function(){return""};g.getField=function(){return this.field_};g.getMetaData=function(){return this.field_.getMetaData()};g.hasMetaData=function(){return this.field_.hasMetaData()};g.getValue=function(){return this.field_.getValue()};g.hasValue=function(){return this.field_.hasValue()};g.getFamilyName=function(){return this.field_.getFamilyName()};g.hasFamilyName=function(){return this.field_.hasFamilyName()};g.getGivenName=function(){return this.field_.getGivenName()};
g.hasGivenName=function(){return this.field_.hasGivenName()};var Gec=new Fec(Eec);var Hec=["CONTACT","PROFILE","DOMAIN_PROFILE"],Iec=function(a,b){this.names_=[];a=l(a);for(var c=a.next();!c.done;c=a.next())this.names_.push(new Dec(c.value,b))};g=Iec.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.names_[a]||Eec};g.getFieldLength=function(){return this.names_.length};var Jec=new Iec([],null);var Kec=function(a,b){this.phone_=a;this.edgeCollection_=b;this.metadata_=null};g=Kec.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new bR(this.phone_.metadata,this.edgeCollection_):yec);return this.metadata_};g.hasMetaData=function(){return"metadata"in this.phone_};g.getValue=function(){return this.phone_.value||""};g.hasValue=function(){return!!this.getValue()};
g.getPrimary=function(){var a=this.phone_.metadata;return!(!a||!a.primary)};var Lec=new Kec({},null);var Mec=function(a,b){this.phones_=[];a=l(a);for(var c=a.next();!c.done;c=a.next())this.phones_.push(new Kec(c.value,b))};g=Mec.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.phones_[a]||Lec};g.getFieldLength=function(){return this.phones_.length};var Nec=new Mec([],null);var Oec=function(a,b){this.photo_=a;this.edgeCollection_=b;this.metadata_=null};g=Oec.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new bR(this.photo_.metadata,this.edgeCollection_):yec);return this.metadata_};g.hasMetaData=function(){return"metadata"in this.photo_};g.getUrl=function(){return this.photo_.url||""};g.hasUrl=function(){return!!this.getUrl()};var Pec=new Oec({},null);var Qec=function(a,b){this.photos_=[];a=l(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c.isMonogram||c.isDefault||this.photos_.push(new Oec(c,b))};g=Qec.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.photos_[a]||Pec};g.getFieldLength=function(){return this.photos_.length};var Rec=new Qec([],null);var cR=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};
cR.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_?zOa(this.getName().getValue(),this.getEmail().getField(this.emailIndex_).getValue()):"";this.text_=a}return this.text_};cR.prototype.hasName=function(){return!!this.getName()};
cR.prototype.getName=function(){if(!this.name_){a:{var a=EOa(this);if(a.names_.length){for(var b=l(Hec),c=b.next();!c.done;c=b.next()){c=c.value;for(var d=l(a.names_),e=d.next();!e.done;e=d.next())if(e=e.value,e.getMetaData().getContainerType()===c){a=new Fec(e);break a}}a=new Fec(a.names_[0])}else a=Gec}this.name_=a}return this.name_};
var EOa=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 Iec(b,a.edgeCollection_):Jec}return a.nameRepeated_};g=cR.prototype;g.hasEmail=function(){return!!this.getEmail().getField(0).getValue()};
g.getEmail=function(){if(!this.email_){var a=null;this.person_?a=this.person_.email:this.googleGroup_?a=this.googleGroup_.emails:this.contactLabel_&&(a=[{value:AOa(this.contactLabel_)}]);this.email_=a?new Bec(a,this.edgeCollection_):Cec}return this.email_};g.hasPhone=function(){return!!this.getPhone().getField(0).getValue()};g.getPhone=function(){if(!this.phone_){var a;this.person_?a=this.person_.phone:this.googleGroup_&&(a=this.googleGroup_.phones);this.phone_=a?new Mec(a,this.edgeCollection_):Nec}return this.phone_};
g.hasPhoto=function(){return!!this.getPhoto().getField(0).getUrl()};g.getPhoto=function(){if(!this.photo_){var a;this.person_&&(a=this.person_.photo);this.photo_=a?new Qec(a,this.edgeCollection_):Rec}return this.photo_};g.getAddress=function(){return null};g.getStatus=function(){return null};g.hasStatus=function(){return!!this.getStatus()};g.hasAttribute=function(a){return!!this.getAttribute(a)};g.getAttribute=function(){return null};g.getDisplayName=function(){return null};g.getRelation=function(){return null};
g.getEvent=function(){return null};var zOa=function(a,b){return a?b&&a!=b?'"'+a.replace(/[\\"]/g,"\\$&")+'" <'+b+">":a:b||""},Sec=new cR(null,null,null,null);var Tec=function(){this.keyToIndex_=new Map},Uec=function(a,b,c){return c.map(function(d){return a.get(b,d)}).filter(function(d){return null!=d})};Tec.prototype.get=function(a,b){"DOMAIN_PROFILE"===b&&(b="PROFILE");return this.contains(a,b)?this.keyToIndex_.get(a+"="+b):null};Tec.prototype.set=function(a,b,c){"DOMAIN_PROFILE"===b&&(b="PROFILE");this.keyToIndex_.set(a+"="+b,c)};Tec.prototype.contains=function(a,b){"DOMAIN_PROFILE"===b&&(b="PROFILE");return this.keyToIndex_.has(a+"="+b)};var COa=function(a){this.evergreenProfile_=a?new cR(a,null,null,null):Sec};COa.prototype.toString=function(){return""};var Vec=new COa(null);var Wec=new tec(!0,null),dR=function(a){this.edgeIndexResolver_=new Tec;this.sourcesCache_=new Map;this.encodedContainerIds_=[];this.readonlyOutgoingEdges_=DOa(a,this.edgeIndexResolver_,this.encodedContainerIds_)};dR.prototype.get=function(a){return this.readonlyOutgoingEdges_[a]||Vec};var xec=function(a,b){return b?b.map(function(c){return a.edgeIndexResolver_.get(c.containerId,c.containerType)}).filter(function(c){return null!=c}):[]};dR.prototype.getSize=function(){return this.readonlyOutgoingEdges_.length};
dR.prototype.getSources=function(a,b){if(!a||!b)return[];if("CONTACT"===b)return[Wec];var c=a+"="+b;this.sourcesCache_.has(c)||this.sourcesCache_.set(c,Uec(this.edgeIndexResolver_,a,[b]).map(function(d){return new tec(!1,d)}));return this.sourcesCache_.get(c)};var Xec=new dR(null);var eR=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 dR(this.person_);this.emailIndex_=b;this.profile_=new cR(this.person_,this.googleGroup_,this.contactLabel_,this.edgeCollection_,this.emailIndex_);this.photoUrl_=this.phone_=this.name_=this.allIds_=null;this.text=c?this.getName()||"":this.profile_.toString()};Y(eR,wcc);g=eR.prototype;
g.toString=function(){return"cl"===this.getType()?this.getEmail()||"":this.text};g.getAllIds_=function(){if(!this.allIds_){if(this.person_)var a=sec(this.person_);else if(this.googleGroup_)if(a=this.googleGroup_){var b=yOa(a.sourceIds);a=new qec(a.personId||"",b)}else a=rec;else this.contactLabel_?(a=this.contactLabel_)?(b={},b.CONTACT=Vo("id.id",a)||"",a=new qec("",b)):a=rec:a=rec;this.allIds_=a}return this.allIds_};g.getId=function(){return this.getAllIds_().contactId};
g.getName=function(){null===this.name_&&(this.name_=FOa(this.profile_,function(a){return!!a&&!vec(a)}),null===this.name_&&(this.name_=Yec(this,FOa)));return this.name_};g.getEmail=function(){return this.profile_.getEmail().getField(this.emailIndex_).getValue()};g.getPhoneNumber=function(){null===this.phone_&&(this.phone_=GOa(this.profile_,function(a){return!!a&&!vec(a)}),null===this.phone_&&(this.phone_=Yec(this,GOa)));return this.phone_};
g.getType=function(){var a=this.profile_;return a.contactLabel_?"cl":a.googleGroup_?"li":!a.hasEmail()&&a.hasPhone()?"pt":"ct"};g.getPriority=function(){return 0};g.getPhotoUrl=function(){null===this.photoUrl_&&(this.photoUrl_=HOa(this.profile_,function(a){return!!a&&!vec(a)}),null===this.photoUrl_&&(this.photoUrl_=Yec(this,HOa)));return this.photoUrl_};
g.getEncryptionSupport=function(){var a=1,b=Zec(this);if(b){(b=b.extendedData)&&b.smtpServerSupportsTls&&(a=2);b=0;var c=Zec(this);if(c&&(c=c.certificate)){c=l(c);for(var d=c.next();!d.done;d=c.next())if(d=Vo("status.statusCode",d.value),1===d){b=1;break}else d&&(b=d)}1===b&&(a=2===a?3:4)}return a};g.getLoggingId=function(){return this.getAllIds_().loggingId};
var Zec=function(a){var b=Vo("email",a.person_)||Vo("emails",a.googleGroup_);return b?b[a.emailIndex_]||null:null},Yec=function(a,b){for(var c=a.profile_.getEmail().getField(a.emailIndex_).getMetaData(),d=0;d<wec(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<uec(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""},$ec=function(a,
b,c){c=void 0===c?!1:c;if(void 0===b?0:b)return a.map(function(q){return new eR(q,void 0,!0)});b=new Set;var d=[];a=l(a);for(var e=a.next();!e.done;e=a.next()){e=e.value;var f=Vo("person.email",e)||Vo("googleGroup.emails",e)||[];if(c||f&&f.length)for(var h=0;h<f.length;h++){var k=(Vo("value",f[h])||"").trim().toLowerCase();if(c){if(b.has(k))continue;b.add(k)}d.push(new eR(e,h))}else d.push(new eR(e))}return d};var afc=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I,P){I=void 0===I?new uQ:I;P=void 0===P?!1:P;this.metrics=a;this.peopleRoot=b;this.gapiApiKey=c;this.clientId=d;this.clientName=e;this.clientVersion=f||"contact_store_336195648";this.affinityType=h;this.delegatorId=k;this.timeoutMs=q;this.onAuthError=t?t:function(){};this.autocompletePageSize=w;this.rankedTargetsPageSize=y;this.peopleContainerMask=C.split(/[\s,]+/).filter(function(O){return!!O});this.peopleFieldMask=J;this.experiments=I;this.includeOnlyNames=
P};afc.prototype.setTimeout=function(a){var b=this.timeoutMs;0<a&&(this.timeoutMs=a);return b};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.code=a};Y(fR,Error);var gR=function(a,b,c){this.config=a;this.onAuthError_=a.onAuthError;this.timeoutMs_=a.timeoutMs;this.metrics_=a.metrics;this.metric_=new LQ(b);this.handler_=c;this.promise_=this.query_=null;this.state_=0;this.addressBookId_="";this.metrics_.start(this.metric_,"total");this.metrics_.start(this.metric_,"blocked")};g=gR.prototype;g.setAddressBookId=function(a){this.addressBookId_=a};g.getAddressBookId=function(){return this.addressBookId_};g.isPending=function(){return 1==this.state_};g.getQuery=function(){return this.query_};
g.setQuery=function(a){this.query_=a};g.cancel=function(){switch(this.state_){case 1:this.promise_.cancel();break;case 0:this.state_=2,this.promise_=QVb(new uB),bfc(this,null,11)}};
g.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&&!lOa()&&(c.params=c.params||{},c.params.key=d);c.headers=mOa(d);c.root=this.config.peopleRoot;c.authType="auto";a=a.request(c)}else a=Promise.resolve({result:{}});return this.promise_=$Vb(TVb([a,iWb(this.timeoutMs_,"TIMEOUT")]),
function(){b.state_=2;b.metrics_.stop(b.metric_,"network")}).then(function(e){return b.onResponse_(e)},function(e){return b.onError_(e)})};g.onResponse_=function(a){if("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{bfc(this,c,0)}finally{this.metrics_.stop(this.metric_,"total"),this.metrics_.status(this.metric_,0)}}}};
g.onError_=function(a){var b=!1,c=2,d=1;try{if("TIMEOUT"===a)c=4,d=10;else if(a instanceof uB)c=1,d=11;else if(a instanceof fR)c=a.code,d=Ecc(c);else if(a&&"object"===typeof a){var e=Vo("result.error.code",a)||a.status,f=e;f=Number(f);c=Bcc.has(f)?Bcc.get(f):200<=f&&300>f?0:400<=f&&500>f?9:500<=f&&600>f?13:2;d=Ecc(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),bfc(this,null,d,b)}};
var bfc=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 cfc=function(a,b,c){var d=(new Xo).setEventType(2).setRpcType(1).setToken(b);gR.call(this,a,d,c);this.clientId_=a.clientId;this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.token_=b;this.pageSize_=a.autocompletePageSize};Y(cfc,gR);
cfc.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}};
cfc.prototype.processResponse=function(a){var b=a.status;if(b){if(b.personalResultsNotReady)throw new fR(14,"PersonalResultsNotReady");if(b.requestThrottled)throw new fR(8,"RequestThrottled");if(b.containsPartialResults)throw new fR(8,"ContainsPartialResults");}return $ec(a.results||[],this.config.includeOnlyNames)};var dfc=function(a,b){this.person_=a;this.allIds_=null;this.edgeCollection_=b;this.profile_=this.person_?new cR(this.person_,null,null,this.edgeCollection_):Sec};g=dfc.prototype;g.toString=function(){return""};g.getAllIds_=function(){this.allIds_||(this.allIds_=sec(this.person_));return this.allIds_};g.getId=function(){return this.getAllIds_().contactId||this.getAllIds_().profileId||this.getAllIds_().syntheticId};g.hasAttribute=function(a){return!!this.getAttribute(a)};g.getAttribute=function(){return null};
g.getAffinity=function(){return null};g.hasAffinity=function(){return!!this.getAffinity()};g.getDeleted=function(){return!1};var efc=new dfc(null,Xec);var ffc=function(a){a=void 0===a?null:a;this.edgeCollection_=new dR(a);this.contact_=a?new dfc(a,this.edgeCollection_):efc};g=ffc.prototype;g.toString=function(){return""};g.getId=function(){return this.contact_.getId()};g.getAttribute=function(a){return this.contact_.getAttribute(a)};g.hasAttribute=function(a){return this.contact_.hasAttribute(a)};g.getAffinity=function(){return this.contact_.getAffinity()};g.hasAffinity=function(){return this.contact_.hasAffinity()};g.getDeleted=function(){return this.contact_.getDeleted()};var gfc=function(a,b,c){gR.call(this,a,(new Xo).setEventType(2).setRpcType(3).setLookupType(4),c);this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.personIds_=b.filter(function(d){return!!d});this.peopleContainerMask_=a.peopleContainerMask;this.peopleFieldMask_=a.peopleFieldMask};Y(gfc,gR);
gfc.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}};gfc.prototype.processResponse=function(a){return(a.personResponse||[]).filter(function(b){return"SUCCESS"==b.status}).map(function(b){return new ffc(b.person)})};var hR=function(a,b,c,d){gR.call(this,a,rOa(b),d);this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.lookupType_=hfc(b);this.knownIds_=c.filter(function(e){return!!e});this.peopleContainerMask_=a.peopleContainerMask;this.peopleFieldMask_=a.peopleFieldMask};Y(hR,gR);
hR.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}};
hR.prototype.processResponse=function(a){var b=a.matches,c=a.people,d=[];b&&c&&b.forEach(function(e){e=l(e.personId);for(var f=e.next();!f.done;f=e.next())(f=c[f.value])&&d.push(new ffc(f))});return d};var hfc=function(a){switch(a){case 1:return"EMAIL";case 2:return"PHONE";case 3:return"CONTACT";case 5:return"SYNTHETIC";default:return""}};var ifc=function(a,b){gR.call(this,a,(new Xo).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_=[];Hi(a.experiments,6,!0)&&this.peopleExtensionNames_.push("FILTER_TO_PRIMARY")};Y(ifc,gR);
ifc.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}};ifc.prototype.processResponse=function(a){return $ec(a.rankedTarget||[],this.config.includeOnlyNames,!0)};g=IOa.prototype;g.getQuery=function(){return this.query_};g.setQuery=function(a){this.query_=a};g.getError=function(){return this.error_};g.setError=function(a){this.error_=a};g.getConfiguration=function(){return this.config_};g.setConfiguration=function(a){this.config_=a};g.getUserData=function(){return this.userData_};g.setUserData=function(a){this.userData_=a};var jfc=new Map([[1,4],[2,2],[3,1],[4,7]]),iR=function(a,b){VA.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 LQ((new Xo).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?kfc(c,d):lfc(c,5)},function(d){c.metrics_.logError("gapi.client failed to load: "+d,d);lfc(c,5)})};
Y(iR,VA);var kfc=function(a,b){b&&b.request?(qOa(),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 mfc(a,d,e)})})):lfc(a,9)};iR.prototype.disposeInternal=function(){for(var a=l(this.queuedRequests_.keys()),b=a.next();!b.done;b=a.next())lec(this,b.value)};
var lfc=function(a,b){a.metrics_.status(a.gapiMetric_,b);a.gapiFailed_=!0;a.disposeInternal()},lec=function(a,b){b=b||"";a.queuedRequests_.has(b)&&(nfc(a.queuedRequests_.get(b)),a.queuedRequests_.delete(b))},ofc=function(a,b,c){a.gapiFailed_?c.cancel():(xOa(a,b).push(c),mfc(a,b,c))},mfc=function(a,b,c){a.gapiClient_&&$Vb(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)}})},xOa=function(a,b){b=b||"";if(a.queuedRequests_.has(b))return a.queuedRequests_.get(b);
var c=[];a.queuedRequests_.set(b,c);return c},nfc=function(a){a&&a.length&&(a.forEach(function(b){return b.cancel()}),a.length=0)};iR.prototype.loadContactRows=function(a,b,c){var d=a&&a.token||"",e=function(h,k){return c(h,f,b,a,k)},f=d?new cfc(this.config_,d,e):new ifc(this.config_,e);ofc(this,b,f);return f};
iR.prototype.execute=function(a){if(a.isMutate())return this.metrics_.status(new LQ((new Xo).setEventType(2).setRpcType(4)),12),pfc(a);var b=a.getQueryParameters&&a.getQueryParameters()||{},c=b.addressBookId,d=function(w,y){if(y)a.setResponse(Hcc(y,h));else{w=a.setResponse;y=new IOa(b);var C=new Gcc(h);C.queryResponse_=y;C.errorCode_=y.getError();w.call(a,C)}},e=this.config_.setTimeout(qfc(a));try{var f=b.emailAddresses||[];if(f.length)var h=new hR(this.config_,1,f,d);else{var k=b.contactIds||[];
if(k.length)h=new hR(this.config_,3,k,d);else{var q=b.profileIds||[];if(q.length)h=new gfc(this.config_,q,d);else{var t=b.syntheticIds||[];if(t.length)h=new hR(this.config_,5,t,d);else return this.metrics_.status(new LQ((new Xo).setEventType(2)),12),pfc(a)}}}}finally{this.config_.setTimeout(e)}h.setQuery(a);ofc(this,c,h);return h};var pfc=function(a){var b=new yQ(function(){return a.setResponse(Hcc(5,b))});b.setQuery(a);return b};var jR=function(a,b,c,d){dp.call(this,a,b,c,d)};Y(jR,dp);jR.prototype.execute=function(a){a.isMutate()&&a.addSuccessCallback(yt(this.handleExecuteResponse_,this,a));a=this.transport_.execute(a);a.setAddressBookId(this.getId());return a};jR.prototype.handleExecuteResponse_=function(a,b){if(b.hasChanges()){var c=b.mutateResponse_;if(a.getNotifyOnChange()||c&&c.getError())a=new IQ([b.mutateResponse_],"c"),this.dispatchEvent(a)}};var rfc=function(a,b,c){b=b||new nec(!0,!0);dp.call(this,a,b,"personal",c)};Y(rfc,jR);rfc.prototype.configure=function(a,b){jR.prototype.configure.call(this,a,b)};var sfc=function(){throw Error("Hd");};var kR={},tfc={},ufc={},vfc={},wfc={},mR=function(){throw Error("Jd");};mR.prototype.contentDir=null;mR.prototype.getContent=function(){return this.content};mR.prototype.toString=function(){return this.content};mR.prototype.toSafeHtml=function(){if(this.contentKind!==kR)throw Error("Kd");return bh(this.toString())};var xfc=function(){mR.call(this)};At(xfc,mR);xfc.prototype.contentKind=kR;var yfc=function(){mR.call(this)};At(yfc,mR);yfc.prototype.contentKind=tfc;yfc.prototype.contentDir=1;var nR=function(a,b){return null!=a&&a.contentKind===b};var zfc=function(a){if(null!=a)switch(a.contentDir){case 1:return 1;case -1:return-1;case 0:return 0}return null},cr=function(a){return nR(a,kR)?a:a instanceof lc?Zq(dh(a).toString()):Zq(String(String(a)).replace(Afc,Bfc),zfc(a))},Zq=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}}(xfc),oR=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}}(xfc),Cfc=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c){return(c=String(c))?new b(c):""}}(yfc),dr=function(a){return nR(a,kR)?a:Zq(Dfc(a,Efc),zfc(a))},Ffc=RegExp("^<(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\\b"),Dfc=function(a,b){if(!b)return String(a).replace(Gfc,"").replace(Hfc,"&lt;");a=String(a).replace(/\[/g,"&#91;");var c=[],d=[];a=a.replace(Gfc,function(f,h){if(h&&
(h=h.toLowerCase(),b.hasOwnProperty(h)&&b[h])){var k=c.length,q="</",t="";if("/"!=f.charAt(1)){q="<";for(var w;w=Ifc.exec(f);)if(w[1]&&"dir"==w[1].toLowerCase()){if(f=w[2]){if("'"==f.charAt(0)||'"'==f.charAt(0))f=f.substr(1,f.length-2);f=f.toLowerCase();if("ltr"==f||"rtl"==f||"auto"==f)t=' dir="'+f+'"'}break}Ifc.lastIndex=0}c[k]=q+h+">";d[k]=t;return"["+k+"]"}return""});a=String(a).replace(Jfc,Bfc);var e=Kfc(c);a=a.replace(/\[(\d+)\]/g,function(f,h){return d[h]&&c[h]?c[h].substr(0,c[h].length-1)+
d[h]+">":c[h]});return a+e},Lfc=function(a){return a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\>")},Kfc=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]="":Ffc.test(e)||b.push("</"+e.substring(1))}return b.reverse().join("")},br=function(a){return nR(a,kR)?String(Dfc(a.getContent())).replace(Jfc,Bfc):String(a).replace(Afc,
Bfc)},qR=function(a){nR(a,tfc)||nR(a,ufc)?a=pR(a):a instanceof hc?a=pR(ic(a)):a instanceof tu?a=pR(Sh(a).toString()):(a=String(a),a=Mfc.test(a)?a.replace(Nfc,Ofc):"about:invalid#zSoyz");return a},Qfc=function(a){nR(a,tfc)||nR(a,ufc)?a=pR(a):a instanceof hc?a=pR(ic(a)):a instanceof tu?a=pR(Sh(a).toString()):(a=String(a),a=Pfc.test(a)?a.replace(Nfc,Ofc):"about:invalid#zSoyz");return a},rR=function(a){nR(a,wfc)?a=Lfc(a.getContent()):null==a?a="":a instanceof uu?a=Lfc(vMb(a)):a instanceof vu?(a instanceof
vu&&a.constructor===vu?a=a.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_:(lb(a),a="type_error:SafeStyleSheet"),a=Lfc(a)):(a=String(a),a=Rfc.test(a)?a:"zSoyz");return a},Sfc={"\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;"},Bfc=function(a){return Sfc[a]},Tfc={"\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"},
Ofc=function(a){return Tfc[a]},Afc=/[\x00\x22\x26\x27\x3c\x3e]/g,Jfc=/[\x00\x22\x27\x3c\x3e]/g,Nfc=/[\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,Rfc=/^(?!-*(?:expression|(?:moz-)?binding))(?:(?:[.#]?-?(?:[_a-z0-9-]+)(?:-[_a-z0-9-]+)*-?|(?:calc|cubic-bezier|drop-shadow|hsl|hsla|hue-rotate|invert|linear-gradient|max|min|rgb|rgba|rotate|rotateZ|translate|translate3d|translateX|translateY|var)\((?:[-\u0020\t,+.!#%_0-9a-zA-Z]|(?:calc|cubic-bezier|drop-shadow|hsl|hsla|hue-rotate|invert|linear-gradient|max|min|rgb|rgba|rotate|rotateZ|translate|translate3d|translateX|translateY|var)\([-\u0020\t,+.!#%_0-9a-zA-Z]+\))+\)|[-+]?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:e-?[0-9]+)?(?:[a-z]{1,4}|%)?|!important)(?:\s*[,\u0020]\s*|$))*$/i,
Mfc=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,Pfc=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^ftp:|^data:image\/[a-z0-9+-]+;base64,[a-z0-9+\/]+=*$|^blob:/i,Ufc=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,pR=function(a){return String(a).replace(Nfc,Ofc)},Gfc=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,Hfc=/</g,Efc={b:!0,br:!0,em:!0,i:!0,s:!0,strong:!0,sub:!0,sup:!0,
u:!0},Ifc=/([a-zA-Z][a-zA-Z0-9:\-]*)[\t\n\r\u0020]*=[\t\n\r\u0020]*("[^"]*"|'[^']*')/g;var JOa={};var sR=function(a,b,c){bp.call(this);this.matcher_=a;this.selectionHandler_=c;this.renderer_=b;cp(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_={}};At(sR,bp);g=sR.prototype;g.maxMatches_=10;g.getMatcher=function(){return this.matcher_};g.setMatcher=function(a){this.matcher_=a};g.getToken=function(){return this.token_};
g.handleEvent=function(a){var b=this.matcher_;if(a.target==this.renderer_)switch(a.type){case "hilite":this.hiliteId(a.row);break;case "select":var c=!1;if("number"===typeof a.row){a=a.row;var d=this.rows_[tR(this,a)];c=!!d&&b.isRowDisabled&&b.isRowDisabled(d);d&&!c&&this.hiliteId_!=a&&this.hiliteId(a)}c||this.selectHilited();break;case "canceldismiss":Vfc(this);break;case "dismiss":Wfc(this)}};
g.setToken=function(a){this.token_!=a&&(this.token_=a,this.matcher_.requestMatchingRows(this.token_,this.maxMatches_,yt(this.matchListener_,this)),Vfc(this))};g.getTarget=function(){return this.target_};g.setTarget=function(a){this.target_=a};g.isOpen=function(){return this.renderer_.isVisible()};var Xfc=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}};
sR.prototype.hiliteId=function(a){var b=tR(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)};
sR.prototype.selectHilited=function(){var a=tR(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=Yfc(c,c.getValue(),c.getCursorPosition()),f=Zfc(c,c.getValue());c.separatorCheck_&&!c.separatorCheck_.test(d)&&(d=d.replace(/[\s\xa0]+$/,"")+c.defaultSeparator_);0==e||Ei(f[e-1])||(d=" "+d);e==f.length-1&&(d+=" ");if(d!=f[e]){f[e]=d;d=c.activeElement_;(Dt||Hq)&&d.blur();d.value=f.join("");for(var h=0,k=0;k<=e;k++)h+=f[k].length;
d.focus();e=h;f=c.activeElement_;$fc(f)&&(f.selectionStart=e);f=c.activeElement_;$fc(f)&&(f.selectionEnd=e)}}else c.setValue(d);c.rowJustSelected_=!0}this.dismiss();this.dispatchEvent({type:"update",row:b,index:a});return!0}this.dismiss();this.dispatchEvent({type:"update",row:null,index:null});return!1};
sR.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 Wfc=function(a){a.dismissTimer_||(a.dismissTimer_=window.setTimeout(yt(a.dismiss,a),100))};
sR.prototype.immediatelyCancelDelayedDismiss_=function(){return this.dismissTimer_?(window.clearTimeout(this.dismissTimer_),this.dismissTimer_=null,!0):!1};var Vfc=function(a){a.immediatelyCancelDelayedDismiss_()||window.setTimeout(yt(a.immediatelyCancelDelayedDismiss_,a),10)};sR.prototype.disposeInternal=function(){sR.superClass_.disposeInternal.call(this);delete this.inputToAnchorMap_;this.renderer_.dispose();this.selectionHandler_.dispose();this.matcher_=null};
sR.prototype.matchListener_=function(a,b,c){this.token_==a&&this.renderRows(b,c)};
sR.prototype.renderRows=function(a,b){var c="object"==lb(b)&&b;b=(c?c.getPreserveHilited():b)?tR(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_[Da(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):Xfc(this));this.dispatchEvent("suggestionsupdate")};var tR=function(a,b){b-=a.firstRowId_;return 0>b||b>=a.rows_.length?-1:b};sR.prototype.attachInputs=function(a){var b=this.selectionHandler_;b.attachInputs.apply(b,arguments)};sR.prototype.detachInputs=function(a){var b=this.selectionHandler_;b.detachInputs.apply(b,arguments);Array.prototype.forEach.call(arguments,function(c){ec(this.inputToAnchorMap_,Da(c))},this)};sR.prototype.update=function(a){this.selectionHandler_.update(a)};var agc=function(a,b){var c=0,d=0;$fc(a)&&(c=a.selectionStart,d=b?-1:a.selectionEnd);return[c,d]},$fc=function(a){try{return"number"==typeof a.selectionStart}catch(b){return!1}};var dgc=function(a,b,c,d,e,f){if(Nq&&e)return bgc(a);if(e&&!d)return!1;if(!Dt){"number"===typeof b&&(b=cgc(b));var h=17==b||18==b||Nq&&91==b;if((!c||Nq)&&h||Nq&&16==b&&(d||f))return!1}if((Et||Ct)&&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(Hq&&d&&b==a)return!1;switch(a){case 13:return Dt?f||e?!1:!(c&&d):!0;case 27:return!(Et||Ct||Dt)}return Dt&&(d||e||f)?!1:bgc(a)},bgc=function(a){if(48<=a&&57>=a||96<=a&&106>=
a||65<=a&&90>=a||(Et||Ct)&&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:case 171:return Dt;default:return!1}},cgc=function(a){if(Dt)a=egc(a);else if(Nq&&Et)switch(a){case 93:a=91}return a},egc=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 fgc=function(a,b,c,d){YA.call(this,d);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c};At(fgc,YA);var uR=function(a,b){bp.call(this);a&&this.attach(a,b)};At(uR,bp);g=uR.prototype;g.element_=null;g.keyPressKey_=null;g.keyDownKey_=null;g.keyUpKey_=null;g.lastKey_=-1;g.keyCode_=-1;g.altKey_=!1;
var ggc={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},hgc={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},igc=Nq&&Dt;g=uR.prototype;
g.handleKeyDown_=function(a){(Et||Ct)&&(17==this.lastKey_&&!a.ctrlKey||18==this.lastKey_&&!a.altKey||Nq&&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));dgc(a.keyCode,this.lastKey_,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?(this.keyCode_=cgc(a.keyCode),igc&&(this.altKey_=a.altKey)):this.handleEvent(a)};
g.resetState=function(){this.keyCode_=this.lastKey_=-1};g.handleKeyup_=function(a){this.resetState();this.altKey_=a.altKey};
g.handleEvent=function(a){var b=a.event_,c=b.altKey;if(Hq&&"keypress"==a.type){var d=this.keyCode_;var e=13!=d&&27!=d?b.keyCode:0}else(Et||Ct)&&"keypress"==a.type?(d=this.keyCode_,e=0<=b.charCode&&63232>b.charCode&&bgc(d)?b.charCode:0):("keypress"==a.type?(igc&&(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),Nq&&63==e&&224==d&&(d=191));var f=d=cgc(d);d?63232<=
d&&d in ggc?f=ggc[d]:25==d&&a.shiftKey&&(f=9):b.keyIdentifier&&b.keyIdentifier in hgc&&(f=hgc[b.keyIdentifier]);if(!Dt||"keypress"!=a.type||dgc(f,this.lastKey_,a.shiftKey,a.ctrlKey,c,a.metaKey))a=f==this.lastKey_,this.lastKey_=f,b=new fgc(f,e,a,b),b.altKey=c,this.dispatchEvent(b)};g.getElement=function(){return this.element_};
g.attach=function(a,b){this.keyUpKey_&&this.detach();this.element_=a;this.keyPressKey_=cp(this.element_,"keypress",this,b);this.keyDownKey_=cp(this.element_,"keydown",this.handleKeyDown_,b,this);this.keyUpKey_=cp(this.element_,"keyup",this.handleKeyup_,b,this)};g.detach=function(){this.keyPressKey_&&(dB(this.keyPressKey_),dB(this.keyDownKey_),dB(this.keyUpKey_),this.keyUpKey_=this.keyDownKey_=this.keyPressKey_=null);this.element_=null;this.keyCode_=this.lastKey_=-1};
g.disposeInternal=function(){uR.superClass_.disposeInternal.call(this);this.detach()};var vR=function(a,b,c,d){VA.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 vB(d):null;this.eh_=new Kq(this);this.activateHandler_=new Kq(this);this.keyHandler_=new uR;this.lastKeyCode_=-1};
At(vR,VA);g=vR.prototype;g.activeElement_=null;g.lastValue_="";g.waitingForIme_=!1;g.rowJustSelected_=!1;g.getValue=function(){return this.activeElement_.value};g.setValue=function(a){this.activeElement_.value=a};g.getCursorPosition=function(){return agc(this.activeElement_,!0)[0]};
g.attachInputs=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];oB(c)&&(QE(c,"combobox"),RE(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_),oB(c))){var d=gB(c);try{var e=d&&d.activeElement;var f=e&&e.nodeName?e:null}catch(h){f=null}f==c&&jgc(this,c)}}};
g.detachInputs=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];oB(c)&&(c.removeAttribute("role"),c.removeAttribute("aria-autocomplete"));c==this.activeElement_&&this.handleBlur();this.eh_.unlisten(c,"focus",this.handleFocus);this.eh_.unlisten(c,"blur",this.handleBlur);this.activeElement_||this.activateHandler_.unlisten(c,"keydown",this.onKeyDownOnInactiveElement_)}};
g.disposeInternal=function(){vR.superClass_.disposeInternal.call(this);this.eh_.dispose();delete this.eh_;this.activateHandler_.dispose();this.keyHandler_.dispose();Nh(this.timer_)};
var lgc=function(a,b){switch(b.keyCode){case 40:if(a.ac_.isOpen()){Xfc(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}}kgc(a,b)},kgc=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()};vR.prototype.handleKeyUp=function(){return!1};vR.prototype.handleFocus=function(a){jgc(this,a.target||null)};
var jgc=function(a,b){a.activateHandler_.removeAll();a.ac_&&Vfc(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_),Hq&&a.eh_.listen(a.activeElement_,"keypress",a.onIeKeyPress_))};g=vR.prototype;
g.handleBlur=function(){this.activeElement_&&(this.eh_.unlisten(this.keyHandler_,"key",this.onKey_),this.keyHandler_.detach(),this.eh_.unlisten(this.activeElement_,"keyup",this.handleKeyUp),this.eh_.unlisten(this.activeElement_,"mousedown",this.onMouseDown_),Hq&&this.eh_.unlisten(this.activeElement_,"keypress",this.onIeKeyPress_),this.waitingForIme_&&mgc(this),this.activeElement_=null,this.timer_&&(this.timer_.stop(),this.eh_.unlisten(this.timer_,"tick",this.onTick_)),this.ac_&&Wfc(this.ac_))};
g.onTick_=function(){this.update()};g.onKeyDownOnInactiveElement_=function(a){this.handleFocus(a)};g.onKey_=function(a){this.lastKeyCode_=a.keyCode;this.ac_&&lgc(this,a)};g.onKeyPress_=function(){this.waitingForIme_&&229!=this.lastKeyCode_&&mgc(this)};g.onKeyUp_=function(a){this.waitingForIme_&&(13==a.keyCode||77==a.keyCode&&a.ctrlKey)&&mgc(this)};g.onMouseDown_=function(){};
var mgc=function(a){a.waitingForIme_&&(a.waitingForIme_=!1,a.eh_.unlisten(a.activeElement_,"keypress",a.onKeyPress_),a.eh_.unlisten(a.activeElement_,"keyup",a.onKeyUp_))};vR.prototype.onIeKeyPress_=function(a){kgc(this,a)};
vR.prototype.update=function(a){if(this.activeElement_&&(a||this.getValue()!=this.lastValue_)){if(a||!this.rowJustSelected_){a=this.getCursorPosition();var b=this.getValue();a=Zfc(this,b)[Yfc(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 Yfc=function(a,b,c){a=Zfc(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},Zfc=function(a,b){if(!a.multi_)return[b];b=String(b).split("");for(var c=[],d=[],e=0,f=!1;e<b.length;e++)a.literals_&&-1!=a.literals_.indexOf(b[e])?(f||(c.push(d.join("")),d.length=0),d.push(b[e]),f=!f):f||-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 ngc=function(a){return"string"==typeof a.className?a.className:a.getAttribute&&a.getAttribute("class")||""},ogc=function(a){return a.classList?a.classList:ngc(a).match(/\S+/g)||[]},pgc=function(a,b){"string"==typeof a.className?a.className=b:a.setAttribute&&a.setAttribute("class",b)},qgc=function(a,b){return a.classList?a.classList.contains(b):ta(ogc(a),b)},rgc=function(a,b){if(a.classList)a.classList.add(b);else if(!qgc(a,b)){var c=ngc(a);pgc(a,c+(0<c.length?" "+b:b))}},wR=function(a,b){if(a.classList)Array.prototype.forEach.call(b,
function(e){rgc(a,e)});else{var c={};Array.prototype.forEach.call(ogc(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;pgc(a,b)}},sgc=function(a,b){a.classList?a.classList.remove(b):qgc(a,b)&&pgc(a,Array.prototype.filter.call(ogc(a),function(c){return c!=b}).join(" "))},tgc=function(a,b){a.classList?Array.prototype.forEach.call(b,function(c){sgc(a,c)}):pgc(a,Array.prototype.filter.call(ogc(a),function(c){return!ta(b,c)}).join(" "))};var ugc=function(a,b){if(b&&a in b)return a;var c=Et?"Webkit":Dt?"Moz":Hq?"ms":null;return c?(c=c.toLowerCase(),a=c+li(a),void 0===b||a in b?a:null):null};var xR=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};g=xR.prototype;g.getWidth=function(){return this.right-this.left};g.getHeight=function(){return this.bottom-this.top};g.clone=function(){return new xR(this.top,this.right,this.bottom,this.left)};g.contains=function(a){return this&&a?a instanceof xR?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
g.expand=function(a,b,c,d){Aa(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};g.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
g.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};g.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
g.translate=function(a,b){a instanceof Sq?(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};g.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 yR=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};yR.prototype.clone=function(){return new yR(this.left,this.top,this.width,this.height)};var t9a=function(a){return new yR(a.left,a.top,a.right-a.left,a.bottom-a.top)};
yR.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 vgc=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 yR(c,e,d-c,a-e)}return null};
g=yR.prototype;g.contains=function(a){return a instanceof Sq?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};g.distance=function(a){var b=a.x<this.left?this.left-a.x:Math.max(a.x-(this.left+this.width),0);a=a.y<this.top?this.top-a.y:Math.max(a.y-(this.top+this.height),0);return Math.sqrt(b*b+a*a)};g.getSize=function(){return new eB(this.width,this.height)};
g.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};g.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};g.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
g.translate=function(a,b){a instanceof Sq?(this.left+=a.x,this.top+=a.y):(this.left+=a,"number"===typeof b&&(this.top+=b));return this};g.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 zR=function(a,b){var c=gB(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""},yp=function(a,b){return zR(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]},Vq=function(a,b,c){if(b instanceof Sq){var d=b.x;b=b.y}else d=b,b=c;a.style.left=AR(d,!1);a.style.top=AR(b,!1)},wgc=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}},c9a=function(a){if(Hq&&!(8<=
Number(Ft)))return a.offsetParent;var b=gB(a),c=yp(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=yp(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},Rq=function(a){for(var b=new xR(0,Infinity,Infinity,0),c=ep(a),d=c.document_.body,e=c.document_.documentElement,f=kB(c.document_);a=
c9a(a);)if(!(Hq&&0==a.clientWidth||Et&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=yp(a,"overflow")){var h=BR(a),k=new Sq(a.clientLeft,a.clientTop);h.x+=k.x;h.y+=k.y;b.top=Math.max(b.top,h.y);b.right=Math.min(b.right,h.x+a.clientWidth);b.bottom=Math.min(b.bottom,h.y+a.clientHeight);b.left=Math.max(b.left,h.x)}d=f.scrollLeft;f=f.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,f);c=c.getViewportSize();b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,f+c.height);return 0<=
b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null},d9a=function(a,b){b=b||kB(document);var c=b||kB(document);var d=BR(a),e=BR(c);if(!Hq||9<=Number(Ft)){h=zR(c,"borderLeftWidth");var f=zR(c,"borderRightWidth");k=zR(c,"borderTopWidth");q=zR(c,"borderBottomWidth");f=new xR(parseFloat(k),parseFloat(f),parseFloat(q),parseFloat(h))}else{var h=xgc(c,"borderLeft");f=xgc(c,"borderRight");var k=xgc(c,"borderTop"),q=xgc(c,"borderBottom");f=new xR(k,f,q,h)}c==kB(document)?(h=d.x-c.scrollLeft,d=d.y-c.scrollTop,
!Hq||10<=Number(Ft)||(h+=f.left,d+=f.top)):(h=d.x-e.x-f.left,d=d.y-e.y-f.top);a=ygc(a);e=c.clientHeight-a.height;f=c.scrollLeft;k=c.scrollTop;f+=Math.min(h,Math.max(h-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d-e,0));c=new Sq(f,k);b.scrollLeft=c.x;b.scrollTop=c.y},BR=function(a){var b=gB(a),c=new Sq(0,0);var d=b?gB(b):document;d=!Hq||9<=Number(Ft)||pVb(ep(d).document_)?d.documentElement:d.body;if(a==d)return c;a=wgc(a);b=lB(ep(b).document_);c.x=a.left+b.x;c.y=a.top+b.y;return c},u9a=function(a,
b,c){if(b.document_!=c.document_){var d=b.document_.body;c=c.getWindow();var e=new Sq(0,0),f=mB(gB(d));if(CKb(f,"parent")){var h=d;do{if(f==c)var k=BR(h);else k=wgc(h),k=new Sq(k.left,k.top);e.x+=k.x;e.y+=k.y}while(f&&f!=c&&f!=f.parent&&(h=f.frameElement)&&(f=f.parent))}d=Tq(e,BR(d));!Hq||9<=Number(Ft)||pVb(b.document_)||(d=Tq(d,lB(b.document_)));a.left+=d.x;a.top+=d.y}},zgc=function(a,b,c){if(b instanceof eB)c=b.height,b=b.width;else if(void 0==c)throw Error("Od");a.style.width=AR(b,!0);a.style.height=
AR(c,!0)},AR=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a},Uq=function(a){var b=ygc;if("none"!=yp(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a},ygc=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=Et&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=wgc(a),new eB(a.right-a.left,a.bottom-a.top)):new eB(b,c)},Qq=
function(a){var b=BR(a);a=Uq(a);return new yR(b.x,b.y,a.width,a.height)},Agc=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)+")")},CR=function(a,b){a.style.display=b?"":"none"},DR=function(a){return"rtl"==yp(a,"direction")},Bgc=Dt?"MozUserSelect":Et||Ct?"WebkitUserSelect":null,Cgc=function(a){var b=a.getElementsByTagName("*");if(Bgc){var c="none";a.style&&(a.style[Bgc]=c);if(b){a=0;for(var d;d=b[a];a++)d.style&&
(d.style[Bgc]=c)}}else if(Hq&&(c="on",a.setAttribute("unselectable",c),b))for(a=0;d=b[a];a++)d.setAttribute("unselectable",c)},z9a=function(a,b){a=a.style;Dt?a.MozBoxSizing="border-box":Et?a.WebkitBoxSizing="border-box":a.boxSizing="border-box";a.width=Math.max(b.width,0)+"px";a.height=Math.max(b.height,0)+"px"},Dgc=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},Egc=function(a,b){return(b=a.currentStyle?a.currentStyle[b]:null)?Dgc(a,b):0},Fgc=function(a){if(Hq){var b=Egc(a,"marginLeft"),c=Egc(a,"marginRight"),d=Egc(a,"marginTop");a=Egc(a,"marginBottom");return new xR(d,c,a,b)}b=zR(a,"marginLeft");c=zR(a,"marginRight");d=zR(a,"marginTop");a=zR(a,"marginBottom");return new xR(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))},Ggc={thin:2,medium:4,thick:6},xgc=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 Ggc?Ggc[b]:Dgc(a,b)};var Hgc=function(){if(FKb){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(ha()))?a[1]:"0"}return Nq?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(ha()))?a[0].replace(/_/g,"."):"10"):HKb?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(ha()))?a[1]:""):IKb||JKb||KKb?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(ha()))?a[1].replace(/_/g,"."):""):""}();var ER=function(a){return(a=a.exec(ha()))?a[1]:""},Igc=function(){if(UKb)return ER(/Firefox\/([0-9.]+)/);if(Hq||Ct||DKb)return RKb;if(YKb){if(pa()||naa()){var a=ER(/CriOS\/([0-9.]+)/);if(a)return a}return ER(/Chrome\/([0-9.]+)/)}if(ZKb&&!pa())return ER(/Version\/([0-9.]+)/);if(VKb||WKb){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(ha()))return a[1]+"."+a[2]}else if(XKb)return(a=ER(/Android\s+([0-9.]+)/))?a:ER(/Version\/([0-9.]+)/);return""}();var s9a=function(a){if(a=a.offsetParent){var b="HTML"==a.tagName||"BODY"==a.tagName;if(!b||"static"!=yp(a,"position")){var c=BR(a);if(!b){b=DR(a);var d;if(d=b){d=ZKb&&0<=qKb(Igc,10);var e;if(e=LKb)e=0<=qKb(Hgc,10);var f=YKb&&0<=qKb(Igc,85);d=Dt||d||e||f}b=d?-a.scrollLeft:b&&!Mj&&"visible"!=yp(a,"overflowX")?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft;c=Tq(c,new Sq(b,a.scrollTop))}}}return c||new Sq},w9a=function(a,b,c,d,e,f){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(f){if(e){h=a;c=b;d=0;65==(f&65)&&(h.x<e.left||h.x>=e.right)&&(f&=-2);132==(f&132)&&(h.y<e.top||h.y>=e.bottom)&&(f&=-5);h.x<e.left&&f&1&&(h.x=e.left,d|=1);if(f&16){var k=h.x;h.x<e.left&&(h.x=e.left,d|=4);h.x+c.width>e.right&&(c.width=Math.min(e.right-h.x,k+c.width-e.left),c.width=Math.max(c.width,0),d|=4)}h.x+c.width>e.right&&f&1&&(h.x=Math.max(e.right-c.width,e.left),d|=1);f&2&&(d|=(h.x<e.left?16:0)|
(h.x+c.width>e.right?32:0));h.y<e.top&&f&4&&(h.y=e.top,d|=2);f&32&&(k=h.y,h.y<e.top&&(h.y=e.top,d|=8),h.y+c.height>e.bottom&&(c.height=Math.min(e.bottom-h.y,k+c.height-e.top),c.height=Math.max(c.height,0),d|=8));h.y+c.height>e.bottom&&f&4&&(h.y=Math.max(e.bottom-c.height,e.top),d|=2);f&8&&(d|=(h.y<e.top?64:0)|(h.y+c.height>e.bottom?128:0));e=d}else e=256;h=e}e=new yR(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}},v9a=function(a,b){return(b&8&&DR(a)?b^4:b)&
-9};var Oq=function(){};Oq.instance_=void 0;Oq.getInstance=function(){return Oq.instance_?Oq.instance_:Oq.instance_=new Oq};Oq.prototype.nextId_=0;Oq.prototype.idPrefix_="";Oq.prototype.setIdPrefix=function(a){this.idPrefix_=a};var Gq=function(a){return a.idPrefix_+":"+(a.nextId_++).toString(36)};var FR=function(a,b,c,d){bp.call(this);this.parent_=a||document.body;this.dom_=ep(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};At(FR,bp);g=FR.prototype;g.getElement=function(){return this.element_};
g.getAnchorElement=function(){return this.anchorElement_};g.renderRows=function(a,b,c){this.token_=b;this.rows_=a;this.hilitedRow_=-1;this.startRenderingRows_=Date.now();this.target_=c;this.rowDivs_=[];Jgc(this)};g.dismiss=function(){this.visible_&&(this.visible_=!1,Kgc(this,!1),CR(this.element_,!1))};g.show=function(){this.visible_||(this.visible_=!0,Kgc(this,!0),CR(this.element_,!0))};
var Kgc=function(a,b){a.target_&&(RE(a.target_,"haspopup",b),RE(a.element_,"expanded",b),RE(a.target_,"expanded",b),b?RE(a.target_,"owns",a.element_.id):(a.target_.removeAttribute("aria-owns"),SE(a.target_,null)))};FR.prototype.isVisible=function(){return this.visible_};
var Lgc=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_&&tgc(a.rowDivs_[a.hilitedRow_],["ac-active","active"]),a.hilitedRow_=b,d&&(wR(d,["ac-active","active"]),a.target_&&SE(a.target_,d),d9a(d,a.element_)))};FR.prototype.hiliteId=function(a){if(-1==a)Lgc(this,-1);else for(var b=0;b<this.rows_.length;b++)if(this.rows_[b].id==a){Lgc(this,b);break}};
var Mgc=function(a){if(!a.element_){var b=a.dom_.createDom("DIV",{style:"display:none"});a.element_=b;wR(b,ii(a.className).split(" "));QE(b,"listbox");b.id=Gq(Oq.getInstance());a.dom_.appendChild(a.parent_,b);cp(b,"click",a.handleClick_,!1,a);cp(b,"mousedown",a.handleMouseDown_,!1,a);cp(b,"mouseover",a.handleMouseOver_,!1,a)}},Jgc=function(a){Mgc(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:Gq(Oq.getInstance())});QE(d,"option");this.customRenderer_&&this.customRenderer_.renderRow?this.customRenderer_.renderRow(b,c,d):pB(d,b.data.toString());c&&this.useStandardHighlighting_&&(this.wasHighlightedAtLeastOnce_=!1,Ngc(this,d,c));rgc(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(),Cgc(a.element_))};
FR.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=s9a(c),f=Qq(a),h=Rq(a);h&&f.intersection(t9a(h));u9a(f,ep(a),ep(c));a=v9a(a,b);b=f.left;a&4?b+=f.width:a&2&&(b+=f.width/2);a=new Sq(b,f.top+(a&1?f.height:0));a=Tq(a,e);if(f=Rq(c))f.top-=e.y,f.right-=e.x,f.bottom-=e.y,f.left-=e.x;e=a.clone();a=v9a(c,d);d=Uq(c);b=d.clone();e=w9a(e,b,a,null,f,65);e.status&496||(f=e.rect,Vq(c,new Sq(f.left,
f.top)),b=e.rect.getSize(),y9a(d,b)||z9a(c,b))}};FR.prototype.getTarget=function(){return this.target_||null};FR.prototype.disposeInternal=function(){this.element_&&(cB(this.element_,"click",this.handleClick_,!1,this),cB(this.element_,"mousedown",this.handleMouseDown_,!1,this),cB(this.element_,"mouseover",this.handleMouseOver_,!1,this),this.dom_.removeNode(this.element_),this.element_=null,this.visible_=!1);Nh(this.animation_);this.parent_=null;FR.superClass_.disposeInternal.call(this)};
var Ngc=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=Ogc(a,c);if(0!=c.length){var e=b.nodeValue,f=new RegExp("\\b(?:"+c+")","gi");c=[];for(var h=0,k=f.exec(e),q=0;k;)q++,c.push(e.substring(h,k.index)),c.push(e.substring(k.index,f.lastIndex)),h=f.lastIndex,k=f.exec(e);c.push(e.substring(h));if(1<c.length){d=a.highlightAllTokens_?q:1;for(e=0;e<d;e++)f=2*e,b.nodeValue=c[f],h=
a.dom_.createElement("B"),h.className=a.highlightedClassName,a.dom_.appendChild(h,a.dom_.createTextNode(c[f+1])),h=b.parentNode.insertBefore(h,b.nextSibling),b.parentNode.insertBefore(a.dom_.createTextNode(""),h.nextSibling),b=h.nextSibling;c=c.slice(2*d);b.nodeValue=c.join("");a.wasHighlightedAtLeastOnce_=!0}else d&&Ngc(a,b,d)}}else for(b=b.firstChild;b;)d=b.nextSibling,Ngc(a,b,c),b=d},Ogc=function(a,b){var c="";if(!b)return c;Array.isArray(b)&&(b=b.filter(function(d){return!Ei(Di(d))}));a.highlightAllTokens_?
Array.isArray(b)?c=b.map(ao).join("|"):(c=IMb(b),c=ao(c),c=c.replace(/ /g,"|")):Array.isArray(b)?c=0<b.length?ao(b[0]):"":/^\W/.test(b)||(c=ao(b));return c},Pgc=function(a,b){for(;b&&b!=a.element_&&!qgc(b,"ac-row");)b=b.parentNode;return b?a.rowDivs_.indexOf(b):-1};FR.prototype.handleClick_=function(a){var b=Pgc(this,a.target);0<=b&&this.dispatchEvent({type:"select",row:this.rows_[b].id});a.stopPropagation()};FR.prototype.handleMouseDown_=function(a){a.stopPropagation();a.preventDefault()};
FR.prototype.handleMouseOver_=function(a){a=Pgc(this,a.target);0<=a&&!(300>Date.now()-this.startRenderingRows_)&&this.dispatchEvent({type:"hilite",row:this.rows_[a].id})};var GR=function(a,b,c,d,e,f,h,k,q,t){f=f||new vR(",;",'"');h=new FR(h||null,q||this,t);h.reposition_=!0;h.className=b;h.highlightAllTokens_=!0;sR.call(this,this,h,f);this.inputHandler_=this.selectionHandler_;this.inputHandler_.ac_=this;this.contactStore_=a;this.addressBookId_=c;this.filter_=d||null;this.maxMatches_=e||15;this.ownsContactStore_=!!k};At(GR,sR);
var Rgc=function(a,b,c,d,e,f,h){b=new GR(null,b,void 0,f,c,d,e,void 0,void 0,h);HC(a);yt(Qgc,null,b,!0);throw Error("Id");},Sgc=function(a,b,c,d,e,f,h){b=new GR(null,b,void 0,f,c,d,e,void 0,void 0,h);c=Qgc;e=a.getClientInfo();d=(f=Hi(e,10)||Hi(a.getExperiments(),5,!0))?new Xdc(void 0,Vdc(a)):new YQ(void 0,Vdc(a));h=Gr(new edc(a,1));var k=a.getUserInfo().getEnvType()||1;var q=jfc.get(k)||4;q=nOa("people-pa",void 0===q?0:q);k=4===k?xi(a.getClientInfo(),2)||"":xi(a.getClientInfo(),1)||"";var t=xi(a.getClientInfo(),
4),w=xi(a.getClientInfo(),5),y=xi(a.getClientInfo(),6)||"",C=a.getClientInfo().getAffinityType()||"",J=wj(a.getUserInfo(),2),I=a.getAuthErrorHandler(),P=Xh(a.getClientInfo(),8,3E4),O=Hi(a.getClientInfo(),17,!1);h=new afc(h,q,k,t,w,y,C,J,P,I,Xh(a.getClientInfo(),13,15),Xh(a.getClientInfo(),14,500),xi(a.getClientInfo(),15,"CONTACT,PROFILE,DOMAIN_CONTACT,DOMAIN_PROFILE,AFFINITY"),xi(a.getClientInfo(),16,"person.name,person.photo,person.email,person.phone,person.email.certificate,person.metadata"),a.getExperiments(),
O);a=new iR(h,vcc(a));h=new rfc(a);h.configure(null,"Personal Contacts");d.addAddressBook(h,!0);f&&(a=new aR(a,null,!!Hi(e,11)),a.configure(null,"Domain Contacts"),d.addAddressBook(a,!0));c(b,!0,d);return b},Qgc=function(a,b,c){b&&c.loadContactRows(Ncc,function(){});Tgc(a,c)};GR.prototype.disposeInternal=function(){this.inputHandler_.dispose();this.contactStore_&&this.ownsContactStore_&&Nh(this.contactStore_);GR.superClass_.disposeInternal.call(this)};
var Tgc=function(a,b){a.contactStore_=b;a.ownsContactStore_=!0;a.savedQuery_&&a.savedHandler_&&(a.currentRequest_=a.contactStore_.loadContactRows(a.savedQuery_,a.savedHandler_),a.savedQuery_=null,a.savedHandler_=null)};g=GR.prototype;g.savedQuery_=null;g.savedHandler_=null;g.inputHandler_=null;g.includeGroups_=!0;g.isRowDisabled=function(a){return!!a.rowDisabled};
g.requestMatchingRows=function(a,b,c){a={token:a,maxMatches:b,includeContacts:!0,includeGroups:this.includeGroups_,matchType:1,matchFieldList:Lcc,addressBookId:this.addressBookId_,filter:this.filter_,isAutoCompleteMode:!0,isContactAutoComplete:!!this.returnFullContacts,includeEvergreenData:!1};b=yt(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 yQ;var d=[];this.filter_&&(d=this.filter_(d,a.token));a=zt(b,d,c,null,a);c.setResponse(a)}};g.handleAutoCompleteContacts_=function(a,b,c,d,e){a(e.token,b)};g.renderRows=function(a,b){GR.superClass_.renderRows.call(this,a,b)};g.dismiss=function(){GR.superClass_.dismiss.call(this)};
g.renderRow=function(a,b,c){b=b={displayName:a.data.text,newSection:!!(a.data.flags&1)};a=b.displayName;b=b.newSection;(a=Zq('<div class="'+br("goog-contacts-ui-autocomplete-name-nochat")+(b?" "+br("goog-contacts-ui-autocomplete-new-section"):"")+'">'+cr(a)+"</div>"))&&a.renderElement&&c?a.renderElement(c):(a=KOa(a),LOa(c,a))};g.selectHilited=function(){var a=tR(this,this.hiliteId_);return-1!=a&&(a=this.rows_[a],a.specialRowHandler)?(a.specialRowHandler(),!0):GR.superClass_.selectHilited.call(this)};
g.fireSelectionEvent=function(a){this.dispatchEvent(new Ugc(a))};var Ugc=function(a){XA.call(this,"g");this.row=a};At(Ugc,XA);aKb("createAutoComplete",function(a,b,c,d,e,f,h,k,q,t){d&&(b=b+d+"/");b=sfc(HC(b));f&&b.loadContactRows(Ncc,function(){});c=new GR(b,c,void 0,q,e,k,t,!0);c.attachInputs(hB(document,a));return c});var HR=function(){this.eventHandler_=new Kq(this);HR.prototype.addInput=HR.prototype.addInput;HR.prototype.removeInput=HR.prototype.removeInput;HR.prototype.setTarget=HR.prototype.setTarget},Vgc=function(a,b){var c=new HR;c.create(a,b);return c};g=HR.prototype;
g.create=function(a,b){a=hB(document,a);this.acWidget_=b.contactStoreConfig?Sgc(b.contactStoreConfig,b.acCssName||"ac-renderer",b.maxMatches||15,b.inputHandler,a.ownerDocument.body,b.filter,b.rightAlign):Rgc(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(da,d.target.getTarget())});
this.addInput(a)};g.dispose=function(){Tqa(this.acWidget_,this.eventHandler_)};g.setTarget=function(a){this.acWidget_.setTarget(a)};g.addInput=function(a){if(Array.isArray(a))for(var b=0;b<a.length;b++)this.acWidget_.inputHandler_.attachInputs(a[b]);else this.acWidget_.inputHandler_.attachInputs(a)};g.removeInput=function(a){if(Array.isArray(a))for(var b=0;b<a.length;b++)this.acWidget_.inputHandler_.detachInputs(a[b]);else this.acWidget_.inputHandler_.detachInputs(a)};g.acWidget_=null;
da._EmailAc_create=Vgc;var Wgc=function(a,b){return new ip("/",a,void 0,void 0,void 0,void 0,b)};ip.prototype.setLocale=function(){};var Xgc=function(a){this.params=a;this.pendingInputs=new Set;this.emailac=null};Xgc.prototype.setTarget=function(a){this.emailac&&this.emailac.setTarget(a)};
ip.prototype.initAutocomplete=function(a){if(this.emailAcInitialized_)throw Error("Qd");this.emailAcInitialized_=!0;this.commonAcParams_=a||{};for(var b in this.acWrappers_)Ygc(this,this.acWrappers_[b]);this.focusedElement_&&(a=Da(this.focusedElement_),(a=this.inputToAcWrapper_[a])&&a.setTarget(this.focusedElement_));for(var c in this.acWrappers_)for(a=[].concat(u(this.acWrappers_[c].pendingInputs.values())),b=1;b<a.length;b++)cB(a[b],"focus",this.onTargetFocus_,!1,this)};
var Ygc=function(a,b){var c=b.params;c.serverBase=a.serverBase_;c.onComplete=yt(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(u(b.pendingInputs.values()));b.emailac=Vgc(a[0],c);for(c=1;c<a.length;c++)b.emailac.addInput(a[c]);b.pendingInputs.clear()};g=ip.prototype;
g.attachAutocomplete=function(a,b,c){a=hB(document,a);var d=b||{};b=Da(a);this.onAcCompleteListeners_[b]=c;c="";for(var e in d)c+=e+"="+d[e]+";";e=this.acWrappers_[c];e||(e=new Xgc(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_?Ygc(this,e):cp(a,"focus",this.onTargetFocus_,!1,this))};g.onTargetFocus_=function(a){this.focusedElement_=a.target;this.emailAcInitialized_||this.initAutocomplete()};
g.onCompleteCallback_=function(a){var b=this.onAcCompleteListeners_[Da(a)];b&&b(a)};g.detachAutocomplete=function(a){a=hB(document,a);cB(a,"focus",this.onTargetFocus_,!1,this);var b=Da(a);delete this.onAcCompleteListeners_[b];var c=this.inputToAcWrapper_[b];c&&(c.emailac?c.emailac.removeInput(a):c.pendingInputs.delete(a),delete this.inputToAcWrapper_[b])};g.attachAutocompleteTo=function(a,b){this.initAutocomplete(b);this.attachAutocomplete(a,b)};aKb("goog.NewContactTools",ip);
aKb("goog.NewContactTools.create",Wgc);ip.prototype.setLocale=ip.prototype.setLocale;ip.prototype.attachAutocompleteTo=ip.prototype.attachAutocompleteTo;ip.prototype.initAutocomplete=ip.prototype.initAutocomplete;ip.prototype.attachAutocomplete=ip.prototype.attachAutocomplete;ip.prototype.detachAutocomplete=ip.prototype.detachAutocomplete;var POa=function(a){this.rows_=a||[]};POa.prototype.requestMatchingRows=function(a,b,c){var d=this.rows_;var e=[];if(""!=a)for(var f=new RegExp("(^|\\W+)"+ao(a),"i"),h=0;h<d.length&&e.length<b;h++){var k=d[h];String(k).match(f)&&e.push(k)}0==e.length&&(e=Zgc(a,b,d));c(a,e)};
var OOa=function(a,b,c){return Zgc(b,c,a.rows_)},Zgc=function(a,b,c){for(var d=[],e=0;e<c.length;e++){var f=c[e],h=a.toLowerCase(),k=String(f).toLowerCase(),q=0;if(-1!=k.indexOf(h))q=parseInt((k.indexOf(h)/4).toString(),10);else for(var t=h.split(""),w=-1,y=10,C=0,J;J=t[C];C++)J=k.indexOf(J),J>w?(w=J-w-1,w>y-5&&(w=y-5),q+=w,w=J):(q+=y,y+=5);q<6*h.length&&d.push({str:f,score:q,index:e})}d.sort(function(I,P){var O=I.score-P.score;return 0!=O?O:I.index-P.index});a=[];for(C=0;C<b&&C<d.length;C++)a.push(d[C].str);
return a};var IR=function(a,b,c,d,e){var f=this;this.activeSession=c;this.firstPartyAuthHelper=e;this.contactTools=null;this.subscription=new E.Subscription;this.acReadyDeferred=Oj();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 k="QA"===f.activeSession.getEnvironmentType();k&&h.config.update("googleapis.config/root-1p","https://content-googleapis-test.sandbox.google.com");
var q="0",t=/\/u\/(\d+)\//.exec(b.absUrl());t&&(q=t[1]);h.config.update("googleapis.config/sessionIndex",q);f.acReadyDeferred.resolve(void 0);f.contactTools=d.create(k,function(){qcc(f.firstPartyAuthHelper)});f.contactTools.initAutocomplete()})}};IR.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()};
IR.prototype.attach=function(a,b,c){var d=this,e=function(h,k){return QOa(h,k,c)},f=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),f.add(function(){var h;null==(h=d.contactTools)||h.detachAutocomplete(a)}))});return f};IR.\u0275fac=function(a){return new (a||IR)(p(ZF),p(bF),p(nt),p(JR),p(sQ))};IR.\u0275prov=Dc({token:IR,factory:IR.\u0275fac,providedIn:"root"});
var JR=function(){};JR.prototype.create=function(a,b){var c=new vQ,d=c.getUserInfo();hj(d,6,a?5:1);a=c.getExperiments();a=cj(a,5,!0);a=cj(a,1,!0);a=cj(a,3,!0);cj(a,2,!0);c.setAuthErrorHandler(b);return Wgc("xapi",c)};JR.\u0275fac=function(a){return new (a||JR)};JR.\u0275prov=Dc({token:JR,factory:JR.\u0275fac,providedIn:"root"});var KR=function(a,b,c){Z.call(this);this.element=a;this.focusContacts=b;this.activeSession=c;this.autocompleteActive=new mv;this.additionalContactsCallback=function(){return[]};this.$element=this.element.nativeElement};Y(KR,Z);
KR.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-"+xu());if(!this.activeSession.isAnonymous()){if("SINGLE"===this.fieldType)var b=function(){a.$element.value=$gc(ahc(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=[],f=a.$element,h=l(f.value.split(",")),k=h.next();!k.done;k=h.next())d+=k.value.trim(),d.match(/^[a-z0-9@\-\._\+]+$/i)?(e.push($gc(d)),d=""):pcc.test(d)?(e.push(d),d=""):d.match(/(".+" )?<.+>/)&&(d=$gc(ahc(d)),e.push(d),d="");f.value=e.join(", ")+", ";a.autocompleteActive.emit(!1);a.$element.dispatchEvent(new Event("change"));a.$element.dispatchEvent(new Event("input"))};else throw Error("Rd`"+
this.fieldType);var c=this.additionalContactsCallback();c=bhc(c);this.subscriptions.add(this.focusContacts.attach(this.$element,b,c))}};
var chc=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)})},bhc=function(a){return a.map(function(b){return{text:b.text,getEmail:function(){return b.text},toString:function(){return b.id},getPriority:function(){}}})},ahc=function(a){var b=Math.max(0,a.lastIndexOf("<"));return a.substr(b).trim().replace(/[<>]/g,"")},$gc=function(a){a=
a.trim();","===qa(a)&&(a=a.slice(0,-1));a=so(a);var b=a.split("@");return 2===b.length?b[0]+"@"+b[1].toLowerCase():a};KR.\u0275fac=function(a){return new (a||KR)(B(Hd),B(IR),B(nt))};
KR.\u0275dir=Vc({type:KR,selectors:[["","bContactAutocomplete",""]],hostBindings:function(a,b){a&1&&Q("keydown",function(){return chc(b)},!1,Nd)("mousedown",function(){return chc(b)})},inputs:{fieldType:["bContactAutocomplete","fieldType"],additionalContactsCallback:"additionalContactsCallback"},outputs:{autocompleteActive:"autocompleteActive"},features:[yf]});var LR=function(){};LR.\u0275fac=function(a){return new (a||LR)};LR.\u0275mod=Tc({type:LR});LR.\u0275inj=Ec({imports:[zD]});var dhc=["spanElement"],MR=function(){this.modelValue="";this.maxWidth=0;this.disabled=!1;this.displayString=""};MR.prototype.ngOnChanges=function(a){if(a.modelValue||a.disabled)this.displayString=this.modelValue||""};MR.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)+"...")};
MR.prototype.getTooltip=function(){return this.displayString!==this.modelValue?this.modelValue:""};MR.\u0275fac=function(a){return new (a||MR)};
MR.\u0275cmp=r({type:MR,selectors:[["b-truncated-span"]],viewQuery:function(a,b){a&1&&og(dhc,5);if(a&2){var c;ng(c=qg())&&(b.spanElement=c.first)}},inputs:{modelValue:"modelValue",maxWidth:"maxWidth",disabled:"disabled"},features:[ld],decls:2,vars:2,consts:[[3,"matTooltip","innerHtml"],["spanElement",""]],template:function(a,b){a&1&&L(0,"span",0,1);a&2&&G("matTooltip",b.getTooltip())("innerHtml",b.displayString,Vd)},dependencies:[dC],encapsulation:2});var NR=function(){};NR.\u0275fac=function(a){return new (a||NR)};NR.\u0275mod=Tc({type:NR});NR.\u0275inj=Ec({imports:[zD,QC]});var ehc=["popupField"],fhc=["fieldContent"],ghc=["popupOverlay"],hhc=["overlayContent"],VOa=function(a){return{q:a}},rPa=function(a,b){return{"bv2-disabled":a,"bv2-readonly":b}},ihc=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"}],OR=function(a,b,c,d,e,f,h,k){Z.call(this);this.cdr=a;this.element=b;this.overlay=c;this.viewContainerRef=d;this.dateFormatter=e;this.activeSession=f;this.constants=h;this.appEvents=k;this.googDateValue=null;this.autocompleteActive=!1;this.readonlyTooltip=
this.displayValue=null;this.textBuffer="";this.isActive=this.multiline=this.enableWaldoAvailability=!1;this.title=this.name="";this.displayValueOverride=this.value=null;this.isUser=!1;this.teamId="";this.clearable=!1;this.choices=[];this.customFieldId=0;this.showEnumTitle=!1;this.valueChange=new mv;this.disabled=this.readonly=!1;this.tooltip="";this.showAvailability=this.truncate=!1;this.enableTeamAnnotations=f.isInternalSession();this.enableCustomFieldSearchImprovements=yD(f,"enableCustomFieldSearchImprovements")};
Y(OR,Z);OR.\u0275dir=Z.\u0275dir;g=OR.prototype;g.ngOnInit=function(){var a=this;this.enableWaldoAvailability=yD(this.activeSession,"enableWaldoAvailability")&&this.activeSession.isInternalSession()&&this.showAvailability;this.subscriptions.add(this.appEvents.openEditField.subscribe(function(b){b!==a&&a.isActive&&(a.isActive=!1,jhc(a),a.cdr.detectChanges())}));this.subscriptions.add(t8b(this.dateFormatter,function(){khc(a);a.cdr.detectChanges()}));this.destroyed$.subscribe(function(){jhc(a)})};
g.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.overlayRef&&this.overlayRef.dispose()};g.ngOnChanges=function(a){["value","type","displayValueOverride","choices"].some(function(b){return b in a})&&khc(this)};g.ngAfterViewInit=function(){this.popupField&&(this.overlayRef=this.overlay.create({positionStrategy:this.getPositionStrategy(),scrollStrategy:this.overlay.scrollStrategies.reposition()}))};
g.getPositionStrategy=function(){return Zx(ay(by(fy(this.overlay.position(),this.fieldContent).setOrigin(this.fieldContent),!1),5),ihc)};
var jhc=function(a){var b;(null==(b=a.overlayRef)?0:b.hasAttached())&&a.overlayRef.detach()},DPa=function(a,b){if(!a.autocompleteActive)switch(b.keyCode){case 13:b.stopPropagation();JPa(a);break;case 27:b.stopPropagation(),jp(a,b,!1,!0)}},BPa=function(a,b){if(!a.autocompleteActive)switch(b.keyCode){case 13:if(b.ctrlKey||b.metaKey)b.stopPropagation(),JPa(a);break;case 27:b.stopPropagation(),jp(a,b,!1,!0)}},nPa=function(a,b){switch(b.keyCode){case 13:case 32:b.stopPropagation();b.preventDefault();jp(a,
b,!0,!1);break;case 27:b.stopPropagation(),jp(a,b,!1,!0)}},jp=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,jhc(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?wo(c):null),"ENUM"===
a.type&&a.enumMenuTrigger.openMenu(),"ENUM"!==a.type){lhc(a);var f=a.element.nativeElement;(0,E.fromEvent)(document,"click").pipe(He(function(h){return!f.contains(h.target)}),Qe(),bf(a.overlayRef._detachments),bf(a.destroyed$)).subscribe(function(){jp(a,null,!1,!1)})}null==b||b.stopPropagation();a.cdr.detectChanges()}};OR.prototype.schedule=function(a){var b=E.asyncScheduler.schedule(a);this.destroyed$.subscribe(function(){b.unsubscribe()})};
OR.prototype.getDisplayValue=function(a){return null===this.displayValue?a:this.displayValue};
var khc=function(a){var b=a.value;switch(a.type){case "ENUM":if("Type"===a.title&&b&&j_b.has(b)){a.displayValue=Vh(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(wo(b)):a.displayValue=null;a.readonlyTooltip=null;break;default:a.displayValueOverride?
a.displayValue=a.displayValueOverride:a.displayValue=b?String(b):null,a.readonlyTooltip=null}};OR.prototype.setFieldValue=function(a){this.disabled||this.readonly||("DATE"===this.type&&a&&(a=xo(a)),"NUMERIC"===this.type&&""===a&&(a=null),$h(this.value,a)?"ENUM"===this.type&&jp(this,null,!1,!0):(jp(this,null,!1,!0),this.value=a,this.valueChange.emit(this.value)))};
var JPa=function(a){if(void 0===a.type)throw Error("Sd");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("Td");default:Oh(a.type,"FieldType")}};
OR.prototype.clearFieldValue=function(){this.value=null;this.valueChange.emit(this.value);jp(this,null,!1,!0)};var lhc=function(a){jhc(a);var b=a.overlayRef.attach(new iy(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()})};
OR.prototype.getTooltip=function(){return this.readonly?this.readonlyTooltip||"":this.tooltip?this.tooltip:this.title?"Set "+this.title:""};OR.prototype.isBoolean=function(){return"BOOL"===this.type};OR.prototype.getPriority=function(a){return"string"===typeof a?a.toLowerCase():""};OR.\u0275fac=function(a){return new (a||OR)(B(XD,2),B(Hd),B(oy),B(lg),B(tM),B(nt),B(BD),B(lG))};
OR.\u0275cmp=r({type:OR,selectors:[["b-edit-field"]],viewQuery:function(a,b){a&1&&(og(YB,5),og(ehc,5),og(fhc,5),og(ghc,5),og(hhc,5));if(a&2){var c;ng(c=qg())&&(b.enumMenuTrigger=c.first);ng(c=qg())&&(b.popupField=c.first);ng(c=qg())&&(b.fieldContent=c.first);ng(c=qg())&&(b.popupOverlay=c.first);ng(c=qg())&&(b.overlayContent=c.first)}},inputs:{multiline:"multiline",name:"name",title:"title",type:"type",value:"value",user:"user",displayValueOverride:"displayValueOverride",isUser:"isUser",teamId:"teamId",
clearable:"clearable",choices:"choices",customFieldId:"customFieldId",showEnumTitle:"showEnumTitle",readonly:"readonly",disabled:"disabled",tooltip:"tooltip",truncate:"truncate",showAvailability:"showAvailability"},outputs:{valueChange:"valueChange"},features:[bg([XD]),yf,ld],decls:11,vars:5,consts:[[1,"bv2-issue-metadata-field"],["class","keep-focus-ring","role","button","tabindex","0",3,"class","bv2-disabled","bv2-readonly","matTooltip","click","keydown","keydown.escape",4,"ngIf"],[3,"class","ngClass",
"matTooltip",4,"ngIf"],[4,"ngIf"],[1,"bv2-issue-metadata-footer"],[1,"keep-focus-ring"],["enumMenu","matMenu"],["matMenuContent",""],["popupOverlay",""],["role","button","tabindex","0",1,"keep-focus-ring",3,"matTooltip","click","keydown","keydown.escape"],["popupField","","tooltip","matTooltip"],[3,"class",4,"ngIf"],["class","bv2-editable-value",4,"ngIf"],["field",""],["class","bv2-editable-value",3,"matMenuTriggerFor","menuClosed",4,"ngIf","ngIfElse"],["customFieldTemplate",""],[1,"bv2-editable-value",
3,"matMenuTriggerFor","menuClosed"],[4,"ngTemplateOutlet"],[1,"overflow-ellipsis"],["class","subtle-link","routerLink","/issues",3,"queryParams",4,"ngIf","ngIfElse"],["emptyValue",""],["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","menuClosed"],["routerLink","/issues",1,"subtle-link",3,"queryParams"],[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),F(2,pPa,8,14,"div",1)(3,sPa,3,13,"div",2)(4,uPa,2,1,"ng-container",3),L(5,"div",4),K(),H(6,"mat-menu",5,6),F(8,xPa,2,2,"ng-template",7),K(),F(9,LPa,6,7,"ng-template",null,8,tg),K());a&2&&(A(1),Jf("active",b.isActive&&!b.readonly&&!b.disabled),A(1),G("ngIf","BOOL"!==b.type),A(1),G("ngIf",b.isBoolean(b.value)),A(1),G("ngIf",b.isUser))},dependencies:[GO,Sv,Tv,Uv,Zv,Vv,Wv,Xv,MA,KR,EM,Jg,ww,Dw,eA,ZB,XB,YB,WB,dC,qQ,AO,MR,tP,zP,AE,aw],styles:["[_nghost-%COMP%]     button.mat-button.tiny .mat-button-focus-overlay{opacity:0}",
".bv2-issue-metadata-field-edit[_ngcontent-%COMP%] { position: relative; }"]});var mhc={ENUM:"ENUM",BOOL:"BOOL",DATE:"DATE",TEXT:"TEXT",NUMERIC:"NUMERIC"},PR=function(){};PR.\u0275fac=function(a){return new (a||PR)};PR.\u0275mod=Tc({type:PR});PR.\u0275inj=Ec({imports:[wP,sJ,zD,LR,eN,Tw,kC,$B,QC,rQ,vP,KJ,NR,AP,EE]});var QR=function(){var a=this;this.allowedValues=[];this.disabled=!1;this.onValueSelect=new mv;this.searchQuery$=new E.Subject;this.suggestedValues$=this.searchQuery$.pipe(Ne(300),Pe(),D(function(b){var c=b.toLowerCase();return a.allowedValues.filter(function(d){return ka(d.toLowerCase(),c)})}))};QR.prototype.ngAfterViewInit=function(){};QR.prototype.updateSelectionOnChange=function(a){this.onValueSelect.emit(a.option.value)};QR.prototype.search=function(a){this.searchQuery$.next(a)};
QR.\u0275fac=function(a){return new (a||QR)};
QR.\u0275cmp=r({type:QR,selectors:[["b-custom-repeated-enum-picker"]],viewQuery:function(a,b){a&1&&og(pK,7);if(a&2){var c;ng(c=qg())&&(b.autocompleteTrigger=c.first)}},inputs:{customFieldTitle:"customFieldTitle",selectedValue:"selectedValue",allowedValues:"allowedValues",disabled:"disabled"},outputs:{onValueSelect:"onValueSelect"},decls:6,vars:8,consts:[["id","custom-repeated-enum-picker","type","text","autocomplete","off","aria-label","Custom repeated enum field selection",3,"placeholder","ngModel",
"disabled","matAutocomplete","click","input"],["customRepeatedEnumPicker",""],[3,"optionSelected"],["auto","matAutocomplete"],["class","custom-repeated-enum-search-result",3,"value",4,"ngFor","ngForOf"],[1,"custom-repeated-enum-search-result",3,"value"],[1,"custom-repeated-enum-suggestion"]],template:function(a,b){if(a&1){var c=v();H(0,"input",0,1);Q("click",function(){x(c);var f=S(1);return z(b.search(f.value))})("input",function(){x(c);var f=S(1);return z(b.search(f.value))});K();H(2,"mat-autocomplete",
2,3);Q("optionSelected",function(f){return b.updateSelectionOnChange(f)});F(4,NPa,3,2,"mat-option",4);W(5,"async");K()}if(a&2){var d=S(3),e;G("placeholder",b.customFieldTitle?"Select "+b.customFieldTitle:"")("ngModel",b.selectedValue)("disabled",b.disabled)("matAutocomplete",d);Af("aria-disabled",b.disabled);A(4);G("ngForOf",null!==(e=X(5,6,b.suggestedValues$))&&void 0!==e?e:b.selectedValue?[]:b.allowedValues)}},dependencies:[Tv,qK,pK,hA,Jg,ww,Dw,$v],styles:[".custom-repeated-enum-search-result.mat-option[_ngcontent-%COMP%]{line-height:normal;height:auto;padding:0 8px}.custom-repeated-enum-search-result.mat-option.mat-active[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.16);background-color:var(--active-bg)}.custom-repeated-enum-search-result[_ngcontent-%COMP%]   .custom-repeated-enum-suggestion[_ngcontent-%COMP%]{color:#202124;color:var(--text);font-size:.8125rem;padding:4px 0;overflow-wrap:break-word;white-space:normal}"],
changeDetection:0});var RR=function(){};RR.\u0275fac=function(a){return new (a||RR)};RR.\u0275mod=Tc({type:RR});RR.\u0275inj=Ec({imports:[zD,rK,Tw]});var SR=function(a){Z.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)};Y(SR,Z);SR.\u0275dir=Z.\u0275dir;SR.prototype.ngOnInit=function(){var a=this;this.changelist$.pipe(Qe(),bf(this.destroyed$)).subscribe(function(){a.init.next()})};
SR.prototype.ngOnChanges=function(a){a.changelistId&&this.providedChangelistId$.next(this.changelistId)};SR.\u0275fac=function(a){return new (a||SR)(B(fH))};
SR.\u0275cmp=r({type:SR,selectors:[["b-changelist-card"]],inputs:{changelistId:"changelistId"},outputs:{init:"init"},features:[yf,ld],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),F(2,RPa,16,6,"ng-container",2),W(3,"async"),K()());a&2&&(A(2),G("ngIf",X(3,1,b.changelist$)))},dependencies:[Tv,Uv,rP,CM,$v],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 TR=function(){this.config=Object.assign({},new kK,{delay:400,position:[{originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-20}]})};TR.prototype.ngOnInit=function(){};TR.\u0275fac=function(a){return new (a||TR)};
TR.\u0275cmp=r({type:TR,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),T(1),K(),H(2,"onedev-hovercard",null,1),F(4,SPa,2,2,"b-changelist-card",2),K());if(a&
2){var c=S(3);G("href","http://critique.corp.google.com/"+b.changelistId,Wd)("onedevHovercardTrigger",c)("onedevHovercardConfig",b.config);Af("aria-label","Changelist"+b.changelistId);A(1);V(" ",b.changelistId,"\n")}},dependencies:[hK,iK,mK,jK,SR],encapsulation:2});var UR=function(){};UR.\u0275fac=function(a){return new (a||UR)};UR.\u0275mod=Tc({type:UR});UR.\u0275inj=Ec({imports:[zD,AP,UK,YM]});var nhc=0,VR=function(a,b){Z.call(this);var c=this;this.teamsService=b;this.anchorLinkEnabled=!0;this.teamNotAssignedMessage="No team assigned";this.linkFocused=new mv;this.linkBlurred=new mv;this.teamName=this.teamId;this.teamLogoUrl=this.teamDescription="";this.providedTeamId$=new E.ReplaySubject(1);this.teamLinkId="b-team-link-content-"+nhc;this.fetchedTeam$=this.providedTeamId$.pipe(Pe(),He(function(d){return"0"!==d}),af(function(d){return XI(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});nhc++};Y(VR,Z);VR.\u0275dir=Z.\u0275dir;g=VR.prototype;g.ngOnInit=function(){};g.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};g.trackClick=function(a){Hk(Kp.TEAM_CARD,"click",a,1)};g.manageComponentLink=function(){return kwa(this.componentId,"basic")};
g.linkAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.teamLinkId};VR.\u0275fac=function(a){return new (a||VR)(B(nt),B(WI))};
VR.\u0275cmp=r({type:VR,selectors:[["b-team-card"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},outputs:{linkFocused:"linkFocused",linkBlurred:"linkBlurred"},features:[yf,ld],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),L(3,"img",3),H(4,"div",4)(5,"div",5),L(6,"mat-icon",6),T(7),K(),H(8,"div",7),T(9),K()()(),H(10,"p",8),T(11),K(),H(12,"div",9)(13,"a",10),Q("click",function(){return b.trackClick("viewTeamSettingsPage")}),H(14,"button",11),T(15,"View team settings"),K()(),H(16,"a",12),Q("click",function(){return b.trackClick("viewTeamInMoma")}),H(17,"button",11),T(18,"View team in Moma "),L(19,"mat-icon",13),K()(),F(20,TPa,3,1,"a",14),
K()()());a&2&&(A(3),Af("src",b.teamLogoUrl,Wd),A(4),V(" Team: ",b.teamName," "),A(2),V("Team ID: ",b.teamId,""),A(2),$f(b.teamDescription),A(2),Xf("routerLink","/teams/",b.teamId,"/edit"),A(3),Xf("href","https://moma.corp.google.com/team/",b.teamId,"",Wd),A(4),G("ngIf",b.componentId))},dependencies:[Uv,MA,AE,eA],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 WR=function(){};WR.\u0275fac=function(a){return new (a||WR)};WR.\u0275mod=Tc({type:WR});WR.\u0275inj=Ec({imports:[zD,EE,kC]});var ohc=0,YR=function(a){Z.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-"+ohc;this.teamName=this.teamId;this.fetchedTeam$=this.providedTeamId$.pipe(Pe(),He(function(c){return"0"!==c}),af(function(c){return XI(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});ohc++};Y(YR,Z);YR.\u0275dir=Z.\u0275dir;YR.prototype.ngOnInit=function(){};YR.prototype.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};YR.prototype.trackClick=function(a){Hk(Kp.TEAM_CARD,"click",a,1)};YR.prototype.linkAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.teamLinkId};YR.\u0275fac=function(a){return new (a||YR)(B(WI))};
YR.\u0275cmp=r({type:YR,selectors:[["b-team-display"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},features:[yf,ld],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&&(F(0,WPa,3,2,"ng-container",0),W(1,"async"),H(2,"onedev-hovercard",null,1),M(4),L(5,"b-team-card",2),N(),K(),F(6,ZPa,2,2,"ng-template",null,3,tg));if(a&2){var c=S(7);G("ngIf","0"!=b.teamId&&X(1,4,b.isTeamFetched$))("ngIfElse",c);A(5);G("componentId",
null==b.componentId?null:b.componentId.toString())("teamId",b.teamId.toString())}},dependencies:[Uv,MA,hK,mK,VR,$v]});var ZR=function(){};ZR.\u0275fac=function(a){return new (a||ZR)};ZR.\u0275mod=Tc({type:ZR});ZR.\u0275inj=Ec({imports:[zD,UK,WR]});var phc=0,$R=function(a){this.elementRef=a;this.titleWhenExpanded=this.titleWhenCollapsed="";this.isExpanded=!1;this.iconName="";this.hasCompactTitleBar=!1;this.headerId="b-collapsible-panel-header-"+phc;this.id="b-collapsible-panel-"+phc;phc++};$R.prototype.toggleExpansion=function(){var a=this;this.isExpanded||setTimeout(function(){return a.elementRef.nativeElement.scrollIntoView({behavior:"smooth",block:"nearest"})},200);this.isExpanded=!this.isExpanded};
Gh.Object.defineProperties($R.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"}}});$R.\u0275fac=function(a){return new (a||$R)(B(Hd))};
$R.\u0275cmp=r({type:$R,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&&(Vf(),H(0,"div",0)(1,"button",1),Q("click",function(){return b.toggleExpansion()})("mouseup",function(){b.elementRef.nativeElement.querySelector(".title-bar").blur()}),F(2,$Pa,1,1,"b-icon",2)(3,aQa,2,1,"span",3)(4,bQa,2,0,"div",4),L(5,"mat-icon",5),K(),H(6,"div",6),Wf(7),K()());a&2&&(A(1),Jf("compact",
b.hasCompactTitleBar),Af("id",b.headerId)("aria-expanded",b.isExpanded)("aria-controls",b.id),A(1),G("ngIf",b.iconName),A(1),G("ngIf",!b.hasCompactTitleBar||!b.isExpanded),A(1),G("ngIf",b.hasCompactTitleBar),A(1),G("@expandCollapseIcon",b.expandedState),A(1),G("@expandCollapseContent",b.expandedState),Af("id",b.id)("aria-labelledby",b.headerId))},dependencies:[Uv,MA,AD],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:[ih("expandCollapseContent",[lh("expanded",kh({height:"*",visibility:"visible"})),lh("collapsed",kh({height:"0",visibility:"hidden"})),nh("expanded <=> collapsed",[jh("200ms")])]),ih("expandCollapseIcon",[lh("expanded",kh({transform:"rotate(-180deg)"})),lh("collapsed",kh({transform:"*"})),nh("expanded <=> collapsed",[jh("200ms")])])]}});var aS=function(){};aS.\u0275fac=function(a){return new (a||aS)};aS.\u0275mod=Tc({type:aS});aS.\u0275inj=Ec({imports:[zD,HD]});var qhc=new bd("CDK_DRAG_PARENT");var rhc=new bd("CdkDragHandle"),bS=function(a,b){this.element=a;this._stateChanges=new E.Subject;this._disabled=!1;this._parentDrag=b};bS.prototype.ngOnDestroy=function(){this._stateChanges.complete()};Gh.Object.defineProperties(bS.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=a;this._stateChanges.next(this)}}});bS.\u0275fac=function(a){return new (a||bS)(B(Hd),B(qhc,12))};
bS.\u0275dir=Vc({type:bS,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled",ug]},standalone:!0,features:[bg([{provide:rhc,useExisting:bS}]),zf]});var shc=new bd("CdkDragPlaceholder");var thc=new bd("CdkDragPreview");var uhc=new bd("CDK_DRAG_CONFIG");var vhc=Og({passive:!1,capture:!0}),cS=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},whc=function(a,b){a._dropInstances.has(b)||a._dropInstances.add(b)},xhc=function(a,b){a._dragInstances.add(b);1===a._dragInstances.size&&a._ngZone.runOutsideAngular(function(){a._document.addEventListener("touchmove",a._persistentTouchmoveListener,vhc)})},zhc=function(a,b){a._dragInstances.delete(b);yhc(a,b);0===a._dragInstances.size&&a._document.removeEventListener("touchmove",a._persistentTouchmoveListener,
vhc)};
cS.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:vhc}),a||this._globalListeners.set("mousemove",{handler:function(d){return c.pointerMove.next(d)},
options:vhc}),this._ngZone.runOutsideAngular(function(){c._globalListeners.forEach(function(d,e){c._document.addEventListener(e,d.handler,d.options)})})))};var yhc=function(a,b){b=a._activeDragInstances.indexOf(b);-1<b&&(a._activeDragInstances.splice(b,1),0===a._activeDragInstances.length&&a._clearGlobalListeners())};cS.prototype.isDragging=function(a){return-1<this._activeDragInstances.indexOf(a)};
cS.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(f){b._activeDragInstances.length&&d.next(f)};a.addEventListener("scroll",e,!0);return function(){a.removeEventListener("scroll",e,!0)}})}));return E.merge.apply(null,u(c))};
cS.prototype.ngOnDestroy=function(){var a=this;this._dragInstances.forEach(function(b){return zhc(a,b)});this._dropInstances.forEach(function(b){a._dropInstances.delete(b)});this._clearGlobalListeners();this.pointerMove.complete();this.pointerUp.complete()};cS.prototype._clearGlobalListeners=function(){var a=this;this._globalListeners.forEach(function(b,c){a._document.removeEventListener(c,b.handler,b.options)});this._globalListeners.clear()};cS.\u0275fac=function(a){return new (a||cS)(p(ef),p(Xg))};
cS.\u0275prov=Dc({token:cS,factory:cS.\u0275fac,providedIn:"root"});var jQa=0;var dS=function(a){this._document=a;this.positions=new Map};dS.prototype.clear=function(){this.positions.clear()};dS.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:cQa(c)})})};
var Ahc=function(a,b){var c=Rg(b);b=a.positions.get(c);if(!b)return null;b=b.scrollPosition;if(c===a._document){var d=a.getViewportScrollPosition();var e=d.top;d=d.left}else e=c.scrollTop,d=c.scrollLeft;var f=b.top-e,h=b.left-d;a.positions.forEach(function(k,q){k.clientRect&&c!==q&&c.contains(q)&&kp(k.clientRect,f,h)});b.top=e;b.left=d;return{top:f,left:h}};dS.prototype.getViewportScrollPosition=function(){return{top:window.scrollY,left:window.scrollX}};var Bhc=Og({passive:!0}),Chc=Og({passive:!1}),lQa=new Set(["position"]),eS=function(a,b,c,d,e,f){var h=this;this._config=b;this._document=c;this._ngZone=d;this._viewportRuler=e;this._dragDropRegistry=f;this._passiveTransform={x:0,y:0};this._activeTransform={x:0,y:0};this._hasStartedDragging=!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(k){h.beforeStarted.next();if(h._handles.length){var q=h._getTargetHandle(k);!q||h._disabledHandles.has(q)||h.disabled||h._initializeDragSequence(q,
k)}else h.disabled||h._initializeDragSequence(h._rootElement,k)};this._pointerMove=function(k){var q=h._getPointerPositionOnPage(k);if(h._hasStartedDragging){k.preventDefault();var t=h._getConstrainedPointerPosition(q);h._hasMoved=!0;h._lastKnownPointerPosition=q;h._updatePointerDirectionDelta(t);if(h._dropContainer)h._updateActiveDropContainer(t,q);else{q=h.constrainPosition?h._initialClientRect:h._pickupPositionOnPage;var w=h._activeTransform;w.x=t.x-q.x+h._passiveTransform.x;w.y=t.y-q.y+h._passiveTransform.y;
h._applyRootElementTransform(w.x,w.y)}h._moveEvents.observers.length&&h._ngZone.run(function(){h._moveEvents.next({source:h,pointerPosition:t,event:k,distance:h._getDragDistance(t),delta:h._pointerDirectionDelta})})}else Math.abs(q.x-h._pickupPositionOnPage.x)+Math.abs(q.y-h._pickupPositionOnPage.y)>=h._config.dragStartThreshold&&((q=Date.now()>=h._dragStartTime+h._getDragStartDelay(k),w=h._dropContainer,q)?w&&(w.isDragging()||0<w._activeSiblings.size)||(k.preventDefault(),h._hasStartedDragging=!0,
h._ngZone.run(function(){return h._startDragSequence(k)})):h._endDragSequence(k))};this._pointerUp=function(k){h._endDragSequence(k)};this._nativeDragStart=function(k){if(h._handles.length){var q=h._getTargetHandle(k);!q||h._disabledHandles.has(q)||h.disabled||k.preventDefault()}else h.disabled||k.preventDefault()};Dhc(Ehc(this,a),b.parentDragRef||null);this._parentPositions=new dS(c);xhc(f,this)};eS.prototype.getPlaceholderElement=function(){return this._placeholder};
eS.prototype.getRootElement=function(){return this._rootElement};
var Fhc=function(a){return a.isDragging()?a.getPlaceholderElement():a.getRootElement()},Ghc=function(a,b){a._handles=b.map(function(d){return Ug(d)});a._handles.forEach(function(d){return lp(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},Ehc=function(a,b){var c=Ug(b);c!==a._rootElement&&(a._rootElement&&a._removeRootElementListeners(a._rootElement),a._ngZone.runOutsideAngular(function(){c.addEventListener("mousedown",
a._pointerDown,Chc);c.addEventListener("touchstart",a._pointerDown,Bhc);c.addEventListener("dragstart",a._nativeDragStart,Chc)}),a._initialTransform=void 0,a._rootElement=c);"undefined"!==typeof SVGElement&&a._rootElement instanceof SVGElement&&(a._ownerSVGElement=a._rootElement.ownerSVGElement);return a},Hhc=function(a,b){a._boundaryElement=b?Ug(b):null;a._resizeSubscription.unsubscribe();b&&(a._resizeSubscription=a._viewportRuler.change(10).subscribe(function(){return a._containInsideBoundaryOnResize()}));
return a},Dhc=function(a,b){a._parentDragRef=b};g=eS.prototype;
g.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();zhc(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};g.isDragging=function(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)};
g.reset=function(){this._rootElement.style.transform=this._initialTransform||"";this._activeTransform={x:0,y:0};this._passiveTransform={x:0,y:0}};g.withDirection=function(a){this._direction=a;return this};g._withDropContainer=function(a){this._dropContainer=a};g.setFreeDragPosition=function(a){this._activeTransform={x:0,y:0};this._passiveTransform.x=a.x;this._passiveTransform.y=a.y;this._dropContainer||this._applyRootElementTransform(a.x,a.y)};
g._sortFromLastPointerPosition=function(){var a=this._lastKnownPointerPosition;a&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(a),a)};g._removeSubscriptions=function(){this._pointerMoveSubscription.unsubscribe();this._pointerUpSubscription.unsubscribe();this._scrollSubscription.unsubscribe()};g._destroyPreview=function(){var a;null==(a=this._preview)||a.remove();var b;null==(b=this._previewRef)||b.destroy();this._preview=this._previewRef=null};
g._destroyPlaceholder=function(){var a;null==(a=this._placeholder)||a.remove();var b;null==(b=this._placeholderRef)||b.destroy();this._placeholder=this._placeholderRef=null};
g._endDragSequence=function(a){var b=this;if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),yhc(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();
yhc(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();yhc(this._dragDropRegistry,this)}};
g._startDragSequence=function(a){mp(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(),f=this._anchor=this._anchor||this._document.createComment(""),h=this._getShadowRoot();d.insertBefore(f,c);this._initialTransform=c.style.transform||"";this._preview=this._createPreviewElement();mQa(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:[])};
g._initializeDragSequence=function(a,b){var c=this;this._parentDragRef&&b.stopPropagation();var d=this.isDragging(),e=mp(b),f=!e&&0!==b.button,h=this._rootElement,k=Rg(b),q=!e&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();e=e?Ina(b):Hna(b);k&&k.draggable&&"mousedown"===b.type&&b.preventDefault();d||f||q||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(t){return c._updateOnScroll(t)}),this._boundaryElement&&(this._boundaryRect=cQa(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))};
g._cleanupDragArtifacts=function(a){var b=this;mQa(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),f=b._getDragDistance(e),h=c._isOverContainer(e.x,e.y);b.ended.next({source:b,distance:f,dropPoint:e,event:a});b.dropped.next({item:b,
currentIndex:d,previousIndex:b._initialIndex,container:c,previousContainer:b._initialContainer,isPointerOverContainer:h,distance:f,dropPoint:e,event:a});c.drop(b,d,b._initialIndex,b._initialContainer,h,f,e,a);b._dropContainer=b._initialContainer})};
g._updateActiveDropContainer=function(a,b){var c=this,d=a.x,e=a.y;a=b.x;b=b.y;var f=this._initialContainer._getSiblingContainerFromPosition(this,d,e);!f&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(d,e)&&(f=this._initialContainer);f&&f!==this._dropContainer&&this._ngZone.run(function(){c.exited.next({item:c,container:c._dropContainer});c._dropContainer.exit(c);c._dropContainer=f;c._dropContainer.enter(c,d,e,f===c._initialContainer&&f.sortingDisabled?c._initialIndex:
void 0);c.entered.next({item:c,container:f,currentIndex:f.getItemIndex(c)})});this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(a,b),this._dropContainer._sortItem(this,d,e,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(d,e):this._applyPreviewTransform(d-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))};
g._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=sQa(c,this._document);this._previewRef=c;a.matchSize?tQa(e,d):e.style.transform=rQa(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else e=iQa(this._rootElement),tQa(e,this._initialClientRect),this._initialTransform&&(e.style.transform=this._initialTransform);
kQa(e.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":""+(this._config.zIndex||1E3)},lQa);lp(e,!1);e.classList.add("cdk-drag-preview");e.setAttribute("dir",this._direction);b&&(Array.isArray(b)?b.forEach(function(f){return e.classList.add(f)}):e.classList.add(b));return e};
g._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=qQa(this._preview);return 0===c?Promise.resolve():this._ngZone.runOutsideAngular(function(){return new Promise(function(d){var e=function(h){if(!h||Rg(h)===a._preview&&"transform"===h.propertyName){var k;null==(k=a._preview)||k.removeEventListener("transitionend",
e);d();clearTimeout(f)}},f=setTimeout(e,1.5*c);a._preview.addEventListener("transitionend",e)})})};g._createPlaceholderElement=function(){var a=this._placeholderTemplate,b=a?a.template:null;b?(this._placeholderRef=a.viewContainer.createEmbeddedView(b,a.context),this._placeholderRef.detectChanges(),a=sQa(this._placeholderRef,this._document)):a=iQa(this._rootElement);a.style.pointerEvents="none";a.classList.add("cdk-drag-placeholder");return a};
g._getPointerPositionInElement=function(a,b,c){b=(b=b===this._rootElement?null:b)?b.getBoundingClientRect():a;c=mp(c)?c.targetTouches[0]:c;var d=this._getViewportScrollPosition();return{x:b.left-a.left+(c.pageX-b.left-d.left),y:b.top-a.top+(c.pageY-b.top-d.top)}};
g._getPointerPositionOnPage=function(a){var b=this._getViewportScrollPosition(),c=mp(a)?a.touches[0]||a.changedTouches[0]||{pageX:0,pageY:0}:a;a=c.pageX-b.left;b=c.pageY-b.top;if(this._ownerSVGElement&&(c=this._ownerSVGElement.getScreenCTM())){var d=this._ownerSVGElement.createSVGPoint();d.x=a;d.y=b;return d.matrixTransform(c.inverse())}return{x:a,y:b}};
g._getConstrainedPointerPosition=function(a){var b=this._dropContainer?this._dropContainer.lockAxis:null,c=this.constrainPosition?this.constrainPosition(a,this,this._initialClientRect,this._pickupPositionInElement):a;a=c.x;c=c.y;if("x"===this.lockAxis||"x"===b)c=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0);else if("y"===this.lockAxis||"y"===b)a=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0);if(this._boundaryRect){var d=
this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement;b=d.x;var e=d.y;d=this._boundaryRect;var f=this._getPreviewRect(),h=d.top+e;e=d.bottom-(f.height-e);a=Math.max(d.left+b,Math.min(d.right-(f.width-b),a));c=Math.max(h,Math.min(e,c))}return{x:a,y:c}};
g._updatePointerDirectionDelta=function(a){var b=a.x;a=a.y;var c=this._pointerDirectionDelta,d=this._pointerPositionAtLastDirectionChange,e=Math.abs(a-d.y);Math.abs(b-d.x)>this._config.pointerDirectionChangeThreshold&&(c.x=b>d.x?1:-1,d.x=b);e>this._config.pointerDirectionChangeThreshold&&(c.y=a>d.y?1:-1,d.y=a);return c};
g._toggleNativeDragInteractions=function(){if(this._rootElement&&this._handles){var a=0<this._handles.length||!this.isDragging();a!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=a,lp(this._rootElement,a))}};g._removeRootElementListeners=function(a){a.removeEventListener("mousedown",this._pointerDown,Chc);a.removeEventListener("touchstart",this._pointerDown,Bhc);a.removeEventListener("dragstart",this._nativeDragStart,Chc)};
g._applyRootElementTransform=function(a,b){a=rQa(a,b);b=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=b.transform&&"none"!=b.transform?b.transform:"");b.transform=nQa(a,this._initialTransform)};g._applyPreviewTransform=function(a,b){var c,d=(null==(c=this._previewTemplate)?0:c.template)?void 0:this._initialTransform;this._preview.style.transform=nQa(rQa(a,b),d)};g._getDragDistance=function(a){var b=this._pickupPositionOnPage;return b?{x:a.x-b.x,y:a.y-b.y}:{x:0,y:0}};
g._cleanupCachedDimensions=function(){this._boundaryRect=this._previewRect=void 0;this._parentPositions.clear()};
g._containInsideBoundaryOnResize=function(){var a=this._passiveTransform,b=a.x;a=a.y;if(!(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,f=c.right-d.right,h=d.top-c.top,k=c.bottom-d.bottom;d.width>c.width?(0<e&&(b+=e),0<f&&(b-=f)):b=0;d.height>c.height?(0<h&&(a+=h),0<k&&(a-=k)):a=0;b===this._passiveTransform.x&&a===
this._passiveTransform.y||this.setFreeDragPosition({y:a,x:b})}}};g._getDragStartDelay=function(a){var b=this.dragStartDelay;return"number"===typeof b?b:mp(a)?b.touch:b?b.mouse:0};
g._updateOnScroll=function(a){var b=Ahc(this._parentPositions,a);b&&(a=Rg(a),this._boundaryRect&&a!==this._boundaryElement&&a.contains(this._boundaryElement)&&kp(this._boundaryRect,b.top,b.left),this._pickupPositionOnPage.x+=b.left,this._pickupPositionOnPage.y+=b.top,this._dropContainer||(this._activeTransform.x-=b.left,this._activeTransform.y-=b.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y)))};
g._getViewportScrollPosition=function(){var a;return(null==(a=this._parentPositions.positions.get(this._document))?void 0:a.scrollPosition)||this._parentPositions.getViewportScrollPosition()};g._getShadowRoot=function(){void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=Rna(this._rootElement));return this._cachedShadowRoot};
g._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):Ug(c)};g._getPreviewRect=function(){this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect);return this._previewRect};
g._getTargetHandle=function(a){return this._handles.find(function(b){return a.target&&(a.target===b||b.contains(a.target))})};Gh.Object.defineProperties(eS.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)},set:function(a){a!==this._disabled&&(this._disabled=a,this._toggleNativeDragInteractions(),this._handles.forEach(function(b){return lp(b,a)}))}}});var fS=function(a,b){this._element=a;this._dragDropRegistry=b;this._itemPositions=[];this.orientation="vertical";this._previousSwap={drag:null,delta:0,overlaps:!1}};fS.prototype.start=function(a){this.withItems(a)};
fS.prototype.sort=function(a,b,c,d){var e=this._itemPositions,f=this._getItemIndexFromPointerPosition(a,b,c,d);if(-1===f&&0<e.length)return null;var h="horizontal"===this.orientation,k=e.findIndex(function(I){return I.drag===a}),q=e[f],t=q.clientRect,w=k>f?1:-1,y=this._getItemOffsetPx(e[k].clientRect,t,w),C=this._getSiblingOffsetPx(k,e,w),J=e.slice();np(e,k,f);e.forEach(function(I,P){if(J[P]!==I){var O=I.drag===a;P=O?y:C;O=O?a.getPlaceholderElement():I.drag.getRootElement();I.offset+=P;h?(O.style.transform=
nQa("translate3d("+Math.round(I.offset)+"px, 0, 0)",I.initialTransform),kp(I.clientRect,0,P)):(O.style.transform=nQa("translate3d(0, "+Math.round(I.offset)+"px, 0)",I.initialTransform),kp(I.clientRect,P,0))}});this._previousSwap.overlaps=dQa(t,b,c);this._previousSwap.drag=q.drag;this._previousSwap.delta=h?d.x:d.y;return{previousIndex:k,currentIndex:f}};
fS.prototype.enter=function(a,b,c,d){d=null==d||0>d?this._getItemIndexFromPointerPosition(a,b,c):d;var e=this._activeDraggables,f=e.indexOf(a),h=a.getPlaceholderElement(),k=e[d];k===a&&(k=e[d+1]);!k&&(null==d||-1===d||d<e.length-1)&&this._shouldEnterAsFirstChild(b,c)&&(k=e[0]);-1<f&&e.splice(f,1);k&&!this._dragDropRegistry.isDragging(k)?(b=k.getRootElement(),b.parentElement.insertBefore(h,b),e.splice(d,0,a)):(Ug(this._element).appendChild(h),e.push(a));h.style.transform="";this._cacheItemPositions()};
fS.prototype.withItems=function(a){this._activeDraggables=a.slice();this._cacheItemPositions()};var Ihc=function(a,b){a._sortPredicate=b};
fS.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(f){return f.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};
fS.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 Jhc=function(a,b,c){a._itemPositions.forEach(function(d){kp(d.clientRect,b,c)});a._itemPositions.forEach(function(d){d=d.drag;a._dragDropRegistry.isDragging(d)&&d._sortFromLastPointerPosition()})};g=fS.prototype;
g._cacheItemPositions=function(){var a="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(function(b){var c=Fhc(b);return{drag:b,offset:0,initialTransform:c.style.transform||"",clientRect:cQa(c)}}).sort(function(b,c){return a?b.clientRect.left-c.clientRect.left:b.clientRect.top-c.clientRect.top})};g._getItemOffsetPx=function(a,b,c){var d="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};
g._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 f=d?"left":"top";d=d?"right":"bottom";b=-1===c?b-(a.clientRect[f]-e[d]):b+(e[f]-a.clientRect[d])}return b};
g._shouldEnterAsFirstChild=function(a,b){if(!this._activeDraggables.length)return!1;var c=this._itemPositions,d="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};
g._getItemIndexFromPointerPosition=function(a,b,c,d){var e=this,f="horizontal"===this.orientation,h=this._itemPositions.findIndex(function(k){var q=k.drag;k=k.clientRect;if(q===a)return!1;if(d){var t=f?d.x:d.y;if(q===e._previousSwap.drag&&e._previousSwap.overlaps&&t===e._previousSwap.delta)return!1}return f?b>=Math.floor(k.left)&&b<Math.floor(k.right):c>=Math.floor(k.top)&&c<Math.floor(k.bottom)});return-1!==h&&this._sortPredicate(h,a)?h:-1};var Lhc=function(a,b,c,d,e){var f=this;this._dragDropRegistry=b;this._ngZone=d;this._viewportRuler=e;this.autoScrollDisabled=this.sortingDisabled=this.disabled=!1;this.autoScrollStep=2;this.enterPredicate=function(){return!0};this.sortPredicate=function(){return!0};this.beforeStarted=new 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(){f._stopScrolling();(0,E.interval)(0,E.animationFrameScheduler).pipe(bf(f._stopScrollTimers)).subscribe(function(){var h=f._scrollNode,k=f.autoScrollStep;1===f._verticalScrollDirection?h.scrollBy(0,-k):2===f._verticalScrollDirection&&
h.scrollBy(0,k);1===f._horizontalScrollDirection?h.scrollBy(-k,0):2===f._horizontalScrollDirection&&h.scrollBy(k,0)})};this.element=Ug(a);this._document=c;Khc(this,[this.element]);whc(b,this);this._parentPositions=new dS(c);this._sortStrategy=new fS(this.element,b);Ihc(this._sortStrategy,function(h,k){return f.sortPredicate(h,k,f)})};g=Lhc.prototype;
g.dispose=function(){this._stopScrolling();this._stopScrollTimers.complete();this._viewportScrollSubscription.unsubscribe();this.beforeStarted.complete();this.entered.complete();this.exited.complete();this.dropped.complete();this.sorted.complete();this.receivingStarted.complete();this.receivingStopped.complete();this._activeSiblings.clear();this._scrollNode=null;this._parentPositions.clear();this._dragDropRegistry._dropInstances.delete(this)};g.isDragging=function(){return this._isDragging};
g.start=function(){this._draggingStarted();this._notifyReceivingSiblings()};g.enter=function(a,b,c,d){this._draggingStarted();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)})};g.exit=function(a){this._reset();this.exited.next({item:a,container:this})};
g.drop=function(a,b,c,d,e,f,h,k){k=void 0===k?{}:k;this._reset();this.dropped.next({item:a,currentIndex:b,previousIndex:c,container:this,previousContainer:d,isPointerOverContainer:e,distance:f,dropPoint:h,event:k})};g.withItems=function(a){var b=this,c=this._draggables;this._draggables=a;a.forEach(function(d){return d._withDropContainer(b)});this.isDragging()&&(c.filter(function(d){return d.isDragging()}).every(function(d){return-1===a.indexOf(d)})?this._reset():this._sortStrategy.withItems(this._draggables))};
g.withDirection=function(a){this._sortStrategy.direction=a;return this};g.connectedTo=function(a){this._siblings=a.slice();return this};var Mhc=function(a,b){a._sortStrategy.orientation=b},Khc=function(a,b){var c=Ug(a.element);a._scrollableElements=-1===b.indexOf(c)?[c].concat(u(b)):b.slice()};g=Lhc.prototype;g.getItemIndex=function(a){return this._isDragging?this._sortStrategy.getItemIndex(a):this._draggables.indexOf(a)};
g._sortItem=function(a,b,c,d){!this.sortingDisabled&&this._clientRect&&eQa(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})};
g._startScrollingIfNecessary=function(a,b){var c=this;if(!this.autoScrollDisabled){var d=0,e=0;this._parentPositions.positions.forEach(function(q,t){if(t!==c._document&&q.clientRect&&!k&&eQa(q.clientRect,a,b)){var w=q.clientRect;q=uQa(w,b);w=vQa(w,a);var y=0,C=0;if(q){var J=t.scrollTop;1===q?0<J&&(y=1):t.scrollHeight-J>t.clientHeight&&(y=2)}w&&(q=t.scrollLeft,1===w?0<q&&(C=1):t.scrollWidth-q>t.clientWidth&&(C=2));q=l([y,C]);d=q.next().value;e=q.next().value;if(d||e)k=t}});if(!d&&!e){var f=this._viewportRuler.getViewportSize(),
h=f.width;f=f.height;h={width:h,height:f,top:0,right:h,bottom:f,left:0};d=uQa(h,b);e=vQa(h,a);var k=window}!k||d===this._verticalScrollDirection&&e===this._horizontalScrollDirection&&k===this._scrollNode||(this._verticalScrollDirection=d,this._horizontalScrollDirection=e,this._scrollNode=k,(d||e)&&k?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}};g._stopScrolling=function(){this._stopScrollTimers.next()};
g._draggingStarted=function(){var a=Ug(this.element).style;this.beforeStarted.next();this._isDragging=!0;this._initialScrollSnap=a.msScrollSnapType||a.scrollSnapType||"";a.scrollSnapType=a.msScrollSnapType="none";this._sortStrategy.start(this._draggables);this._cacheParentPositions();this._viewportScrollSubscription.unsubscribe();this._listenToScrollEvents()};g._cacheParentPositions=function(){var a=Ug(this.element);this._parentPositions.cache(this._scrollableElements);this._clientRect=this._parentPositions.positions.get(a).clientRect};
g._reset=function(){var a=this;this._isDragging=!1;var b=Ug(this.element).style;b.scrollSnapType=b.msScrollSnapType=this._initialScrollSnap;this._siblings.forEach(function(c){return c._stopReceiving(a)});this._sortStrategy.reset();this._stopScrolling();this._viewportScrollSubscription.unsubscribe();this._parentPositions.clear()};g._isOverContainer=function(a,b){return null!=this._clientRect&&dQa(this._clientRect,a,b)};
g._getSiblingContainerFromPosition=function(a,b,c){return this._siblings.find(function(d){return d._canReceive(a,b,c)})};g._canReceive=function(a,b,c){if(!this._clientRect||!dQa(this._clientRect,b,c)||!this.enterPredicate(a,this))return!1;a=this._getShadowRoot().elementFromPoint(b,c);if(!a)return!1;b=Ug(this.element);return a===b||b.contains(a)};
g._startReceiving=function(a,b){var c=this,d=this._activeSiblings;!d.has(a)&&b.every(function(e){return c.enterPredicate(e,c)||-1<c._draggables.indexOf(e)})&&(d.add(a),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:a,receiver:this,items:b}))};g._stopReceiving=function(a){this._activeSiblings.delete(a);this._viewportScrollSubscription.unsubscribe();this.receivingStopped.next({initiator:a,receiver:this})};
g._listenToScrollEvents=function(){var a=this;this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(function(b){a.isDragging()?(b=Ahc(a._parentPositions,b))&&Jhc(a._sortStrategy,b.top,b.left):0<a._activeSiblings.size&&a._cacheParentPositions()})};g._getShadowRoot=function(){this._cachedShadowRoot||(this._cachedShadowRoot=Rna(Ug(this.element))||this._document);return this._cachedShadowRoot};
g._notifyReceivingSiblings=function(){var a=this,b=this._sortStrategy._activeDraggables.filter(function(c){return c.isDragging()});this._siblings.forEach(function(c){return c._startReceiving(a,b)})};var Nhc={dragStartThreshold:5,pointerDirectionChangeThreshold:5},gS=function(a,b,c,d){this._document=a;this._ngZone=b;this._viewportRuler=c;this._dragDropRegistry=d};gS.prototype.createDrag=function(a,b){b=void 0===b?Nhc:b;return new eS(a,b,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)};gS.\u0275fac=function(a){return new (a||gS)(p(Xg),p(ef),p(Sx),p(cS))};gS.\u0275prov=Dc({token:gS,factory:gS.\u0275fac,providedIn:"root"});var Ohc=new bd("CdkDropList"),hS=function(a,b,c,d,e,f,h,k,q,t,w){var y=this;this.element=a;this.dropContainer=b;this._ngZone=d;this._viewContainerRef=e;this._dir=h;this._changeDetectorRef=q;this._selfHandle=t;this._parentDrag=w;this._destroyed=new E.Subject;this.started=new mv;this.released=new mv;this.ended=new mv;this.entered=new mv;this.exited=new mv;this.dropped=new mv;this.moved=new E.Observable(function(C){var J=y._dragRef.moved.pipe(D(function(I){return{source:y,pointerPosition:I.pointerPosition,
event:I.event,delta:I.delta,distance:I.distance}})).subscribe(C);return function(){J.unsubscribe()}});this._dragRef=k.createDrag(a,{dragStartThreshold:f&&null!=f.dragStartThreshold?f.dragStartThreshold:5,pointerDirectionChangeThreshold:f&&null!=f.pointerDirectionChangeThreshold?f.pointerDirectionChangeThreshold:5,zIndex:null==f?void 0:f.zIndex});this._dragRef.data=this;Phc.push(this);f&&this._assignDefaults(f);b&&(this._dragRef._withDropContainer(b._dropListRef),b.addItem(this));this._syncInputs(this._dragRef);
this._handleEvents(this._dragRef)};g=hS.prototype;g.getPlaceholderElement=function(){return this._dragRef.getPlaceholderElement()};g.getRootElement=function(){return this._dragRef.getRootElement()};g.reset=function(){this._dragRef.reset()};g.setFreeDragPosition=function(a){this._dragRef.setFreeDragPosition(a)};
g.ngAfterViewInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._ngZone.onStable.pipe(Qe(),bf(a._destroyed)).subscribe(function(){a._updateRootElement();a._setupHandlesListener();a.freeDragPosition&&a._dragRef.setFreeDragPosition(a.freeDragPosition)})})};g.ngOnChanges=function(a){var b=a.rootElementSelector;a=a.freeDragPosition;b&&!b.firstChange&&this._updateRootElement();a&&!a.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)};
g.ngOnDestroy=function(){var a=this;this.dropContainer&&this.dropContainer.removeItem(this);var b=Phc.indexOf(this);-1<b&&Phc.splice(b,1);this._ngZone.runOutsideAngular(function(){a._destroyed.next();a._destroyed.complete();a._dragRef.dispose()})};g._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)}Ehc(this._dragRef,b||a)};
g._getBoundaryElement=function(){var a=this.boundaryElement;return a?"string"===typeof a?this.element.nativeElement.closest(a):Ug(a):null};
g._syncInputs=function(a){var b=this;a.beforeStarted.subscribe(function(){if(!a.isDragging()){var c=b._dir,d=b.dragStartDelay,e=b._placeholderTemplate?{template:b._placeholderTemplate.templateRef,context:b._placeholderTemplate.data,viewContainer:b._viewContainerRef}:null,f=b._previewTemplate?{template:b._previewTemplate.templateRef,context:b._previewTemplate.data,matchSize:b._previewTemplate.matchSize,viewContainer:b._viewContainerRef}:null;a.disabled=b.disabled;a.lockAxis=b.lockAxis;a.dragStartDelay=
"object"===typeof d&&d?d:Vg(d);a.constrainPosition=b.constrainPosition;a.previewClass=b.previewClass;d=Hhc(a,b._getBoundaryElement());d._placeholderTemplate=e;d._previewTemplate=f;d._previewContainer=b.previewContainer||"global";c&&a.withDirection(c.value)}});a.beforeStarted.pipe(Qe()).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;Dhc(a,(null==(d=Phc.find(function(e){return e.element.nativeElement===
c}))?void 0:d._dragRef)||null);break}c=c.parentElement}})};
g._handleEvents=function(a){var b=this;a.started.subscribe(function(c){b.started.emit({source:b,event:c.event});b._changeDetectorRef.markForCheck()});a.released.subscribe(function(c){b.released.emit({source:b,event:c.event})});a.ended.subscribe(function(c){b.ended.emit({source:b,distance:c.distance,dropPoint:c.dropPoint,event:c.event});b._changeDetectorRef.markForCheck()});a.entered.subscribe(function(c){b.entered.emit({container:c.container.data,item:b,currentIndex:c.currentIndex})});a.exited.subscribe(function(c){b.exited.emit({container:c.container.data,
item:b})});a.dropped.subscribe(function(c){b.dropped.emit({previousIndex:c.previousIndex,currentIndex:c.currentIndex,previousContainer:c.previousContainer.data,container:c.container.data,isPointerOverContainer:c.isPointerOverContainer,item:b,distance:c.distance,dropPoint:c.dropPoint,event:c.event})})};
g._assignDefaults=function(a){var b=a.lockAxis,c=a.dragStartDelay,d=a.constrainPosition,e=a.previewClass,f=a.boundaryElement,h=a.draggingDisabled,k=a.rootElementSelector;a=a.previewContainer;this.disabled=null==h?!1:h;this.dragStartDelay=c||0;b&&(this.lockAxis=b);d&&(this.constrainPosition=d);e&&(this.previewClass=e);f&&(this.boundaryElement=f);k&&(this.rootElementSelector=k);a&&(this.previewContainer=a)};
g._setupHandlesListener=function(){var a=this;this._handles.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);Ghc(a._dragRef,b)}),af(function(b){return E.merge.apply(null,u(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),lp(d,!0)):c._disabledHandles.has(d)&&(c._disabledHandles.delete(d),lp(d,c.disabled))})};Gh.Object.defineProperties(hS.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this.dropContainer&&this.dropContainer.disabled},set:function(a){this._disabled=a;this._dragRef.disabled=this._disabled}}});var Phc=[];hS.\u0275fac=function(a){return new (a||hS)(B(Hd),B(Ohc,12),B(Xg),B(ef),B(lg),B(uhc,8),B(Nx,8),B(gS),B(Fu),B(rhc,10),B(qhc,12))};
hS.\u0275dir=Vc({type:hS,selectors:[["","cdkDrag",""]],contentQueries:function(a,b,c){a&1&&(pg(c,thc,5),pg(c,shc,5),pg(c,rhc,5));if(a&2){var d;ng(d=qg())&&(b._previewTemplate=d.first);ng(d=qg())&&(b._placeholderTemplate=d.first);ng(d=qg())&&(b._handles=d)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(a,b){a&2&&Jf("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",ug],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:[bg([{provide:qhc,useExisting:hS}]),zf,ld]});var Qhc=new bd("CdkDropListGroup");var Rhc=0,iS=function(a,b,c,d,e,f,h){var k=this;this.element=a;this._changeDetectorRef=c;this._scrollDispatcher=d;this._dir=e;this._group=f;this._destroyed=new E.Subject;this.connectedTo=[];this.id="cdk-drop-list-"+Rhc++;this.enterPredicate=function(){return!0};this.sortPredicate=function(){return!0};this.dropped=new mv;this.entered=new mv;this.exited=new mv;this.sorted=new mv;this._unsortedItems=new Set;this._dropListRef=new Lhc(a,b._dragDropRegistry,b._document,b._ngZone,b._viewportRuler);this._dropListRef.data=
this;h&&this._assignDefaults(h);this._dropListRef.enterPredicate=function(q,t){return k.enterPredicate(q.data,t.data)};this._dropListRef.sortPredicate=function(q,t,w){return k.sortPredicate(q,t.data,w.data)};this._setupInputSyncSubscription(this._dropListRef);this._handleEvents(this._dropListRef);Shc.push(this);f&&f._items.add(this)};iS.prototype.addItem=function(a){this._unsortedItems.add(a);this._dropListRef.isDragging()&&this._syncItemsWithRef()};
iS.prototype.removeItem=function(a){this._unsortedItems.delete(a);this._dropListRef.isDragging()&&this._syncItemsWithRef()};var Thc=function(a){return Array.from(a._unsortedItems).sort(function(b,c){return Fhc(b._dragRef).compareDocumentPosition(Fhc(c._dragRef))&Node.DOCUMENT_POSITION_FOLLOWING?-1:1})};g=iS.prototype;
g.ngOnDestroy=function(){var a=Shc.indexOf(this);-1<a&&Shc.splice(a,1);this._group&&this._group._items.delete(this);this._unsortedItems.clear();this._dropListRef.dispose();this._destroyed.next();this._destroyed.complete()};
g._setupInputSyncSubscription=function(a){var b=this;this._dir&&this._dir.change.pipe($e(this._dir.value),bf(this._destroyed)).subscribe(function(c){return a.withDirection(c)});a.beforeStarted.subscribe(function(){var c=Tna(b.connectedTo).map(function(e){return"string"===typeof e?Shc.find(function(f){return f.id===e}):e});b._group&&b._group._items.forEach(function(e){-1===c.indexOf(e)&&c.push(e)});if(!b._scrollableParentsResolved){var d=uQb(b._scrollDispatcher,b.element).map(function(e){return e.elementRef.nativeElement});
Khc(b._dropListRef,d);b._scrollableParentsResolved=!0}a.disabled=b.disabled;a.lockAxis=b.lockAxis;a.sortingDisabled=b.sortingDisabled;a.autoScrollDisabled=b.autoScrollDisabled;a.autoScrollStep=Vg(b.autoScrollStep,2);Mhc(a.connectedTo(c.filter(function(e){return e&&e!==b}).map(function(e){return e._dropListRef})),b.orientation)})};
g._handleEvents=function(a){var b=this;a.beforeStarted.subscribe(function(){b._syncItemsWithRef();b._changeDetectorRef.markForCheck()});a.entered.subscribe(function(c){b.entered.emit({container:b,item:c.item.data,currentIndex:c.currentIndex})});a.exited.subscribe(function(c){b.exited.emit({container:b,item:c.item.data});b._changeDetectorRef.markForCheck()});a.sorted.subscribe(function(c){b.sorted.emit({previousIndex:c.previousIndex,currentIndex:c.currentIndex,container:b,item:c.item.data})});a.dropped.subscribe(function(c){b.dropped.emit({previousIndex:c.previousIndex,
currentIndex:c.currentIndex,previousContainer:c.previousContainer.data,container:c.container.data,item:c.item.data,isPointerOverContainer:c.isPointerOverContainer,distance:c.distance,dropPoint:c.dropPoint,event:c.event});b._changeDetectorRef.markForCheck()});(0,E.merge)(a.receivingStarted,a.receivingStopped).subscribe(function(){return b._changeDetectorRef.markForCheck()})};
g._assignDefaults=function(a){var b=a.lockAxis,c=a.draggingDisabled,d=a.sortingDisabled,e=a.listAutoScrollDisabled;a=a.listOrientation;this.disabled=null==c?!1:c;this.sortingDisabled=null==d?!1:d;this.autoScrollDisabled=null==e?!1:e;this.orientation=a||"vertical";b&&(this.lockAxis=b)};g._syncItemsWithRef=function(){this._dropListRef.withItems(Thc(this).map(function(a){return a._dragRef}))};
Gh.Object.defineProperties(iS.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||!!this._group&&this._group.disabled},set:function(a){this._dropListRef.disabled=this._disabled=a}}});var Shc=[];iS.\u0275fac=function(a){return new (a||iS)(B(Hd),B(gS),B(Fu),B(Mx),B(Nx,8),B(Qhc,12),B(uhc,8))};
iS.\u0275dir=Vc({type:iS,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(a,b){a&2&&(Af("id",b.id),Jf("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",ug],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled",ug],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled",ug],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},
exportAs:["cdkDropList"],standalone:!0,features:[bg([{provide:Qhc,useValue:void 0},{provide:Ohc,useExisting:iS}]),zf]});var jS=function(){};jS.\u0275fac=function(a){return new (a||jS)};jS.\u0275mod=Tc({type:jS});jS.\u0275inj=Ec({providers:[gS],imports:[Tx]});var Uhc=["addLink"],Vhc=["showFewer"],Whc=["showMore"],Xhc=["removeButton"],Yhc=["userChip"],xQa=function(a,b){return{item:a,$index:b}},TQa=function(a){return{q:a}},Zhc=[[["",8,"title-action"]],[["",8,"value-action"]]],$hc=[Object.assign({},rp("start","bottom"),sp("start","top"),{offsetY:8}),Object.assign({},rp("center","bottom"),sp("center","top"),{offsetY:8}),Object.assign({},rp("end","bottom"),sp("end","top"),{offsetY:8}),Object.assign({},rp("start","top"),sp("start","bottom"),{offsetY:-8}),Object.assign({},
rp("end","top"),sp("end","bottom"),{offsetY:-8})],kS=function(a,b,c,d){Z.call(this);this.cdr=a;this.dateFormatter=b;this.analytics=c;this.OVERLAY_POSITION_LIST=$hc;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 mv;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 mv;this.teamId=this.invalidMessage="";this.isString=bi;this.enableTeamAnnotations=d.isInternalSession();this.environmentType=d.getEnvironmentType();this.enableCustomFieldSearchImprovements=yD(d,"enableCustomFieldSearchImprovements")};Y(kS,Z);kS.\u0275dir=Z.\u0275dir;
kS.prototype.ngOnChanges=function(a){var b;if(null==(b=a.users)?0:b.currentValue)for(a=l(a.users.currentValue),b=a.next();!b.done;b=a.next()){b=b.value;var c=qi(b);c&&this.userMap.set(c,ai(b))}};kS.prototype.ngOnInit=function(){EQa(this)};kS.prototype.ngAfterViewInit=function(){var a=this,b;null==(b=this.userChips)||b.changes.subscribe(function(){a.cdr.detectChanges()})};
var EQa=function(a){a.sortedEnumChoices=[].concat(u(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})},FQa=function(a){var b=a.values||[],c=[].concat(u(a.enumPendingValues)),d=c.filter(function(f){return!b.includes(f)}),e=b.filter(function(f){return!c.includes(f)});if(d.length||e.length)a.values=c,a.valuesChange.emit({values:a.values,added:d,removed:e})},op=function(a){return a.enableCustomFieldSearchImprovements&&
50<a.sortedEnumChoices.length},rRa=function(a){return a.sortedEnumChoices.map(function(b){return b.displayText})};kS.prototype.isCustomField=function(){return["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};
kS.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,f,h;null==(e=b.removeButtons)||null==(f=e.get(d))||null==(h=f.nativeElement)||h.focus()}else{var k,q;null==(k=b.addLinkEl)||null==(q=k.nativeElement)||q.focus()}})};
kS.prototype.addItems=function(a){var b=[];this.values=this.values||[];if(a)if("REPEATED_DATE"===this.type){var c=xo(a);this.preventDuplicates&&this.values.find(function(f){return $h(f,c)})||b.push(c)}else if("REPEATED_NUMERIC"===this.type&&vra(this.values)&&vra(b))a=Number(a),this.preventDuplicates&&this.values.includes(a)||b.push(a);else if(ci(this.values)&&ci(b))if(this.isCustomField())this.preventDuplicates&&this.values.includes(a)||b.push(a);else if(!this.isCustomField()){a=l(a.split(/[,; ]/));
for(var d=a.next();!d.done;d=a.next()){var e=d=d.value;"CHANGELISTS"===this.type&&(e=uRa(d));e&&!this.values.includes(e)&&b.push(e)}}this.isDefaultOrAllowedValues&&"REPEATED_DATE"!==this.type||qp(this,!0);0!==b.length&&(this.values=[].concat(u(this.values),u(b)),this.valuesChange.emit({values:this.values,added:b}))};kS.prototype.onDrop=function(a){np(this.values,a.previousIndex,a.currentIndex);this.valuesChange.emit({values:this.values})};
var qp=function(a,b){var c,d=l(null!=(c=a.menuTriggers)?c:[]);for(c=d.next();!c.done;c=d.next())c.value.closeMenu();var e;d=l(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()},pp=function(a,b,c){null==c||c.stopPropagation();null==c||c.preventDefault();a.showingAll=b;a.cdr.detectChanges();a.schedule(function(){var d,e,f;null==(d=null!=(f=a.showFewer)?f:a.showMore)||null==(e=d.nativeElement)||
e.focus()})},hRa=function(a){return!!a.values&&a.values.length>a.defaultLineCount+1},zQa=function(a){return a.values&&"REPEATED_DATE"===a.type?a.values.map(function(b){return a.dateFormatter.formatUserCalendar(wo(b))}):a.values&&"TEAM"===a.type?a.values:a.values&&"WORKSPACES"===a.type?a.values:a.values&&"REPEATED_ENUM"===a.type?a.values:a.displayValuesOverride||(a.values||[]).map(function(b){return bi(b)?b:ura(b)?""+b:a.dateFormatter.formatUserCalendar(wo(b))})},oRa=function(a,b,c){var d,e,f;return qe(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==(f=c.querySelector("input"))||f.focus();a.addItems(d);we(h)})};g=kS.prototype;g.trackClick=function(a){this.analytics.trackEvent(Kp.LINK_FIELD,"click",a)};g.getUser=function(a){return this.userMap.get(a)};g.schedule=function(a){this.subscriptions.add(E.asyncScheduler.schedule(a))};
g.trackByIndex=function(a){return a};g.asNumber=function(a){return Number(a)};g.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};kS.\u0275fac=function(a){return new (a||kS)(B(XD,2),B(tM),B(aI),B(nt))};
kS.\u0275cmp=r({type:kS,selectors:[["b-list-field"]],viewQuery:function(a,b){a&1&&(og(Uhc,5),og(Vhc,5),og(Whc,5),og(Xhc,5),og(Yhc,5),og(YB,5),og(yK,5));if(a&2){var c;ng(c=qg())&&(b.addLinkEl=c.first);ng(c=qg())&&(b.showFewer=c.first);ng(c=qg())&&(b.showMore=c.first);ng(c=qg())&&(b.removeButtons=c);ng(c=qg())&&(b.userChips=c);ng(c=qg())&&(b.menuTriggers=c);ng(c=qg())&&(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:[bg([XD]),yf,ld],ngContentSelectors:[".title-action",".value-action"],decls:25,vars:22,consts:[[1,"bv2-issue-metadata-list-field","bv2-issue-metadata-field"],["tabindex","0",1,"bv2-issue-metadata-field-inner",3,"matTooltip","matTooltipPosition","matTooltipDisabled"],[1,"bv2-editable-title",3,"matTooltip","matTooltipPosition","matTooltipDisabled"],[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",""],["customFieldPopup",""],[3,"isExpanded","iconName","hasCompactTitleBar","title"],["cdkDrag","",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngTemplateOutlet"],["cdkDrag",""],[3,"ngTemplateOutletContext","ngTemplateOutlet"],[3,"ngSwitch"],[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","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny",
"matTooltip","Select items in the list","tabindex","0",3,"matMenuTriggerFor","menuOpened","menuClosed",4,"ngIf"],["mat-button","","panelClass","bv2-add-item-bubble","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","matTooltip","Select items in the list","tabindex","0",3,"xapInlineDialogClick","overlayPositions","closed",4,"ngIf"],["mat-button","","aria-haspopup","true","matTooltip","Select items in the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",
3,"matMenuTriggerFor","menuOpened","menuClosed"],["mat-button","","panelClass","bv2-add-item-bubble","matTooltip","Select items in the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"xapInlineDialogClick","overlayPositions","closed"],["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","keydown.enter","keydown.space",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"],["class","overflow-ellipsis",3,"matTooltip",4,"ngIf","ngIfElse"],[1,"overflow-ellipsis",3,"matTooltip"],["routerLink","/issues",1,"subtle-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","keydown.enter","keydown.space"],["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"],[3,"allowedValues","onValueSelect"],["mat-flat-button","","type","submit",1,"gmat-button","medium","field-popup-button",3,"disabled","click"]],template:function(a,b){a&1&&(Vf(Zhc),H(0,"div",0)(1,"div",1)(2,"div",2),F(3,wQa,2,1,"label",3),Wf(4),K(),H(5,"div",4),Q("cdkDropListDropped",
function(c){return b.onDrop(c)}),F(6,AQa,3,7,"collapsible-panel",5)(7,DQa,4,4,"ng-container",3),H(8,"div",6,7),F(10,LQa,4,3,"ng-container",8),Wf(11,1),K()()(),F(12,eRa,1,1,"ng-template",null,9,tg)(14,iRa,2,2,"ng-template",null,10,tg),H(16,"mat-menu",null,11),F(18,kRa,1,2,"ng-template",12),K(),F(19,pRa,13,6,"ng-template",null,13,tg)(21,qRa,1,2,"ng-template",null,14,tg)(23,sRa,8,4,"ng-template",null,15,tg),K());a&2&&(Jf("empty-list-field-indication",!(null==b.values?0:b.values.length))("active",b.isActive&&
!b.listFieldDisabled&&!b.readonly),A(1),Jf("bv2-disabled",b.listFieldDisabled)("bv2-readonly",b.readonly),G("matTooltip",b.tooltip)("matTooltipPosition","left")("matTooltipDisabled",op(b)),Af("aria-label",b.getAriaLabel()),A(1),G("matTooltip",b.tooltip)("matTooltipPosition","left")("matTooltipDisabled",!op(b)),A(1),G("ngIf",b.title),A(2),Jf("draggable",(null==b.values?null:b.values.length)&&b.isDefaultOrAllowedValues),G("cdkDropListDisabled",!b.isDefaultOrAllowedValues),A(1),G("ngIf",b.isCollapsible),
A(1),G("ngIf",!b.isCollapsible),A(3),G("ngIf",!b.readonly&&b.additionAllowed))},dependencies:[Tv,Uv,Zv,Vv,Wv,Xv,MA,AD,BA,TR,EM,Ew,Jg,ww,xw,Ow,Dw,Bw,eA,dC,AO,MR,zP,iS,hS,vK,uK,yK,ZB,XB,YB,WB,KR,$R,YR,AE,QR],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 aic={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"},lS=function(){};lS.\u0275fac=function(a){return new (a||lS)};lS.\u0275mod=Tc({type:lS});lS.\u0275inj=Ec({imports:[zD,HD,KA,UR,eN,Tw,kC,QC,vP,WR,NR,AP,jS,VK,XK,$B,LR,aS,XK,ZR,EE,RR]});var wRa=function(){return[]},mS=function(){this.disabled=this.readonly=!1;this.save=new mv},bic=function(a){return a.issue.customFieldMap[a.field.customFieldId]};mS.prototype.getDisplayValue=function(){var a,b,c=null!=(b=null==(a=bic(this).displayValues)?void 0:a[0])?b:null;"0.0"===c&&(c="0");return c};mS.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 vRa=function(a){return(a=yo(bic(a)))&&void 0===a.values?a:null},yRa=function(a){return(a=yo(bic(a)))&&void 0!==a.values?a.values:null};Gh.Object.defineProperties(mS.prototype,{isShared:{configurable:!0,enumerable:!0,get:function(){return this.field.shared}}});mS.\u0275fac=function(a){return new (a||mS)};
mS.\u0275cmp=r({type:mS,selectors:[["b-custom-field-editor"]],viewQuery:function(a,b){a&1&&og(OR,5);if(a&2){var c;ng(c=qg())&&(b.editField=c.first)}},hostVars:2,hostBindings:function(a,b){a&2&&Jf("is-shared-field",b.isShared)},inputs:{issue:"issue",field:"field",readonly:"readonly",disabled:"disabled"},outputs:{save:"save"},decls:1,vars:1,consts:[[4,"ngIf"],[3,"readonly","name","title","type","tooltip","clearable","value","displayValueOverride","choices","showEnumTitle","disabled","customFieldId",
"valueChange",4,"ngIf"],[3,"readonly","defaultLineCount","title","type","customFieldId","tooltip","values","displayValuesOverride","enumChoices","listFieldDisabled","valuesChange",4,"ngIf"],[3,"readonly","name","title","type","tooltip","clearable","value","displayValueOverride","choices","showEnumTitle","disabled","customFieldId","valueChange"],[3,"readonly","defaultLineCount","title","type","customFieldId","tooltip","values","displayValuesOverride","enumChoices","listFieldDisabled","valuesChange"]],
template:function(a,b){a&1&&F(0,ARa,3,2,"ng-container",0);a&2&&G("ngIf",bic(b))},dependencies:[Uv,kS,OR],encapsulation:2});var nS=function(){};nS.\u0275fac=function(a){return new (a||nS)};nS.\u0275mod=Tc({type:nS});nS.\u0275inj=Ec({imports:[zD,lS,PR]});var oS=function(){this.customFields=this.selectedComponent=null;this.fieldSelected=new mv;this.filter=function(){return!0}};oS.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};oS.\u0275fac=function(a){return new (a||oS)};
oS.\u0275cmp=r({type:oS,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),T(2," First, select a component that contains the custom field. "),K(),H(3,"b-team-component-picker",2),Q("selectedComponentChange",function(c){return b.onComponentSelect(null!==c&&void 0!==c?c:null)}),K(),F(4,FRa,4,3,"div",3),K());a&2&&(A(3),G("selectedComponent",b.selectedComponent)("placeholder","Choose Component")("isRequired",!0),A(1),G("ngIf",b.selectedComponent))},dependencies:[Tv,Uv,FA,DA,JP,hA,
wL],encapsulation:2});var pS=function(){};pS.\u0275fac=function(a){return new (a||pS)};pS.\u0275mod=Tc({type:pS});pS.\u0275inj=Ec({imports:[zD,KP,HL]});var cic=function(a){return{value:a}},qS=function(){this.isNonemptyJsonDateValue=BJa};qS.prototype.toDate=function(a){return wo(a)};qS.\u0275fac=function(a){return new (a||qS)};
qS.\u0275cmp=r({type:qS,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),F(1,GRa,1,0,"ng-container",1),K(),F(2,HRa,0,0,"ng-template",null,2,tg)(4,URa,8,8,"ng-template",null,3,tg));if(a&2){var c=S(5);A(1);G("ngTemplateOutlet",
null==b.customFieldValue?null:c)("ngTemplateOutletContext",fg(2,cic,b.customFieldValue))}},dependencies:[Tv,Uv,Zv,CM],encapsulation:2});var rS=function(){};rS.\u0275fac=function(a){return new (a||rS)};rS.\u0275mod=Tc({type:rS});rS.\u0275inj=Ec({imports:[zD,YM]});var sS=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};sS.prototype.ngOnInit=function(){dic(this,this.issuesToFlag)};
var dic=function(a,b){0>=b.length?a.permissionsCheckComplete=!0:XF(a.userAccess,"admin","components/"+b[0].componentId).then(function(c){a.issuesChecked++;c||a.protectedIssues.push(b[0]);dic(a,b.slice(1))},function(c){a.errorHandler.errorHandler(null,c)})};sS.\u0275fac=function(a){return new (a||sS)(B(lL),B(VF),B(FG),B(uA))};
sS.\u0275cmp=r({type:sS,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),T(1,"Flag Issues as Spam"),K(),H(2,"div",1)(3,"div",2)(4,"p"),T(5),H(6,"a",3),T(7,"see here"),K(),T(8,". "),K(),H(9,"p"),T(10," This operation cannot be undone in bulk. "),K()(),H(11,"div",4),F(12,YRa,3,2,"div",5)(13,$Ra,5,2,"div",5),K()(),H(14,"div",6)(15,"button",7),T(16," Close "),K(),H(17,"button",8),T(18," Flag as Spam "),K()());a&2&&(A(5),V(" Flagging these ",b.issuesToFlag.length," issues as spam will cause them to drop out of regular search results, and they will be deleted after 30 days. For more information on remediating spam at scale, "),
A(1),G("href",T6b(b.documentationLinks),Wd),A(6),G("ngIf",!b.permissionsCheckComplete),A(1),G("ngIf",b.permissionsCheckComplete&&0<b.protectedIssues.length),A(4),G("disabled",!b.permissionsCheckComplete)("mat-dialog-close",!0))},dependencies:[Tv,Uv,eA,wA,xA,yA,zA],encapsulation:2});var tS=function(a,b){this.cdr=a;this.dialogRef=b;this.component=null};tS.prototype.updateComponent=function(a){this.component=a;this.cdr.detectChanges()};tS.prototype.save=function(){this.dialogRef.close(this.component)};tS.prototype.cancel=function(){this.dialogRef.close()};tS.\u0275fac=function(a){return new (a||tS)(B(XD,2),B(sA))};
tS.\u0275cmp=r({type:tS,selectors:[["b-bulk-move-dialog"]],features:[bg([XD])],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),T(1,"Change Component"),K(),H(2,"mat-dialog-content")(3,"p"),T(4,"Choose new component for these issues."),K(),H(5,"p",1),T(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. "),K(),H(7,"b-team-component-picker",2),Q("selectedComponentChange",function(c){return b.updateComponent(null!==c&&void 0!==c?c:null)}),K()(),H(8,"mat-dialog-actions")(9,"button",3),Q("click",function(){return b.cancel()}),T(10," Cancel "),K(),H(11,"button",4),Q("click",function(){return b.save()}),T(12," Save "),K()());a&2&&(A(7),G("selectedComponent",
b.component)("placeholder","Choose Component")("isRequired",!0),A(4),G("disabled",null==b.component))},dependencies:[eA,xA,yA,zA,wL],styles:[".bv2-bulk-move-warning[_ngcontent-%COMP%]{font-weight:bold}"]});var uS=function(){this.renderPanel=!0;this.sloEditCommit=new mv;this.closePicker=new mv};uS.prototype.ngOnChanges=function(a){if(a.sloEditTime){var b;this.currentPickerDate=null!=(b=KDa(this.sloEditTime))?b:void 0}};uS.prototype.setDate=function(a){this.currentPickerDate=a};uS.\u0275fac=function(a){return new (a||uS)};
uS.\u0275cmp=r({type:uS,selectors:[["slo-edit-date-time-picker"]],inputs:{sloEditTime:"sloEditTime",sloStatus:"sloStatus",renderPanel:"renderPanel"},outputs:{sloEditCommit:"sloEditCommit",closePicker:"closePicker"},features:[bg([XD]),ld],decls:2,vars:2,consts:[[3,"clickOutside"],[3,"renderPanel","date","dateSelectionChange","saveClicked","cancelClicked"]],template:function(a,b){a&1&&(H(0,"div",0),Q("clickOutside",function(){b.closePicker.emit()}),H(1,"b-date-time-picker-content",1),Q("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()}),K()());a&2&&(A(1),G("renderPanel",b.renderPanel)("date",b.currentPickerDate))},dependencies:[lN,EM],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 vS=function(a,b){this.data=a;this.dialogRef=b;this.commitEvent=void 0;this.fieldDisplayName=a.fieldDisplayName};vS.prototype.close=function(){this.dialogRef.close(this.commitEvent)};vS.\u0275fac=function(a){return new (a||vS)(B(uA),B(sA))};
vS.\u0275cmp=r({type:vS,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),T(1),K(),H(2,"slo-edit-date-time-picker",1),Q("sloEditCommit",function(c){b.commitEvent=c})("closePicker",function(){return b.close()}),K());a&2&&(A(1),V("Edit ",b.fieldDisplayName,""),A(1),G("renderPanel",!1))},dependencies:[uS],encapsulation:2});var wS=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(f){return f.label})};
wS.prototype.enableSubmit=function(){return this.isEnumSpec&&""!==this.currentEnumLabel||!this.isEnumSpec};wS.prototype.cancel=function(){this.dialogRef.close(void 0)};wS.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)};wS.\u0275fac=function(a){return new (a||wS)(B(uA),B(sA))};
wS.\u0275cmp=r({type:wS,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),T(1),K(),F(2,aSa,5,2,"mat-dialog-content",1)(3,bSa,
4,4,"div",2),H(4,"mat-dialog-actions")(5,"button",3),Q("click",function(){return b.cancel()}),T(6," Cancel "),K(),H(7,"button",4),Q("click",function(){return b.save()}),T(8," Save "),K()());a&2&&(A(1),V("Edit ",b.fieldDisplayName,""),A(1),G("ngIf",!b.isEnumSpec),A(1),G("ngIf",b.isEnumSpec),A(4),G("disabled",!b.enableSubmit()))},dependencies:[Uv,Jg,ww,Dw,eA,xA,yA,zA,FA,DA,JA,WM],encapsulation:2});var xS=function(a,b){this.data=a;this.dialogRef=b;this.fieldDisplayName=this.removeItems=this.addItems="";this.fieldDisplayName=a.fieldDisplayName};xS.prototype.save=function(){this.dialogRef.close({addItems:this.addItems,removeItems:this.removeItems})};xS.prototype.close=function(){this.dialogRef.close()};xS.\u0275fac=function(a){return new (a||xS)(B(uA),B(sA))};
xS.\u0275cmp=r({type:xS,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),T(1),K(),H(2,"mat-dialog-content")(3,"p"),T(4),K(),H(5,"div",1)(6,"mat-form-field")(7,"mat-label"),T(8),K(),H(9,"input",2),Q("ngModelChange",function(c){return b.addItems=c}),K()(),
L(10,"br"),H(11,"mat-form-field")(12,"mat-label"),T(13),K(),H(14,"input",2),Q("ngModelChange",function(c){return b.removeItems=c}),K()()()(),H(15,"mat-dialog-actions")(16,"button",3),Q("click",function(){return b.close()}),T(17," Cancel "),K(),H(18,"button",4),Q("click",function(){return b.save()}),T(19," Save "),K()());a&2&&(A(1),V("Edit ",b.fieldDisplayName,""),A(3),V("Enter ",b.fieldDisplayName," to add or remove"),A(4),V(" ",b.fieldDisplayName," to Add "),A(1),G("ngModel",b.addItems),A(4),V(" ",
b.fieldDisplayName," to Remove "),A(1),G("ngModel",b.removeItems))},dependencies:[Jg,ww,Dw,eA,FA,DA,JA,xA,yA,zA],encapsulation:2});var eic=["hotlistFilterInput"],fic=["hotlistCreate"],gic=["hotlistApply"],hic=["hotlistLoad"],iic=["menuitem"],yS=function(a,b,c,d,e,f){Z.call(this);this.liveAnnouncer=a;this.butterBar=b;this.userAccess=c;this.analytics=d;this.activeSession=e;this.cdr=f;this.selectedHotlistIds=[[]];this.choices=[];this.checkEditAcl=!0;this.onCreate=new mv;this.onApply=new mv;this.onLoad=new mv;this.hotlistEditAcls={};this.validHotlistIds=new Set;this.pendingChanges=this.canLoad=this.canCreate=!1;this.oldSelectedHotlistMap=
{};this.selectedHotlistMap={};this.shouldShowHotlist={};this.filterText="";this.focusedRowIndex=-1;this.isAnonymous=this.activeSession.isAnonymous()};Y(yS,Z);yS.\u0275dir=Z.\u0275dir;yS.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(){jic(a)})};
yS.prototype.focusFilterBox=function(){this.filterElement.nativeElement.focus()};yS.prototype.ngOnChanges=function(){kic(this);this.oldSelectedHotlistMap=Object.assign({},this.selectedHotlistMap);this.pendingChanges=this.canCreate=!1;zS(this)};
var kic=function(a){var b={};Bda(a.selectedHotlistMap);if(a.choices){a.validHotlistIds.clear();for(var c=l(a.choices),d=c.next();!d.done;d=c.next())d=d.value,b[d.hotlistId]=0,a.validHotlistIds.add(d.hotlistId);if(a.selectedHotlistIds){c=a.selectedHotlistIds.length;d=l(a.selectedHotlistIds);for(var e=d.next();!e.done;e=d.next())if(e=e.value){e=l(e);for(var f=e.next();!f.done;f=e.next())b[f.value]++}d=l(Object.entries(b));for(e=d.next();!e.done;e=d.next())f=l(e.value),e=f.next().value,f=f.next().value,
a.selectedHotlistMap[Number(e)]=f?f===c?!0:null:!1;xaa(a.choices,function(h,k){var q=b[h.hotlistId],t=b[k.hotlistId];return q>t?-1:q<t?1:Eq(h.name,k.name)})}}};yS.prototype.open=function(){this.trigger.openMenu();this.cdr.detectChanges()};yS.prototype.close=function(){this.trigger.closeMenu()};
yS.prototype.hasAclToEdit=function(a){var b=this;if(yda(this.hotlistEditAcls,a.hotlistId))return this.hotlistEditAcls[a.hotlistId];XF(this.userAccess,"appender","hotlists/"+a.hotlistId).then(function(c){b.hotlistEditAcls[a.hotlistId]=c})};
var cSa=function(a,b){if(!a.checkEditAcl)return!1;a=a.hasAclToEdit(b);return void 0===a?!0:!a},vp=function(a,b){var c=a.selectedHotlistMap[b.hotlistId];a.selectedHotlistMap[b.hotlistId]=null===c?!0:!c;jSa(a);a.close()},jSa=function(a){a.onApply.emit({oldSelectionMap:a.oldSelectedHotlistMap,newSelectionMap:a.selectedHotlistMap})},zS=function(a){for(var b=a.filterText,c=!1,d=l(a.choices),e=d.next();!e.done;e=d.next())e=e.value,a.shouldShowHotlist[e.hotlistId]=ka(e.name.toLowerCase(),b.toLowerCase()),
e.name===b&&(c=!0);a.canCreate=!(!b||c);a.canLoad=lo(ii(b))&&!!b&&!!a.onLoad},jic=function(a){a.trigger.menuOpen||(kic(a),a.filterText="",zS(a),a.pendingChanges=!1,a.focusedRowIndex=-1)},lic=function(a){var b=a.selectedHotlistIds;return b&&1===b.length?"Hotlists ("+oaa(b[0],function(c){return a.validHotlistIds.has(c)})+")":"Hotlists"};
yS.prototype.createHotlist=function(){var a=this,b=this.filterText;this.canCreate&&(this.filterText="",zS(this),this.onCreate.emit({name:b,successCallback:function(c){vp(a,c)},errorCallback:function(){a.butterBar.showWarning("Failed to create hotlist "+b)}}))};
yS.prototype.loadHotlist=function(){var a=this,b=this.filterText;if(this.canLoad){this.analytics.trackEvent("hotlistPicker","loadHotlist");Fs(this.butterBar,"Loading hotlist "+b.toString());this.filterText="";zS(this);for(var c=fi(b),d=l(this.choices),e=d.next();!e.done;e=d.next())if(e=e.value,c===e.hotlistId){vp(this,e);return}this.onLoad.emit({hotlistId:c,successCallback:function(f){vp(a,f)},errorCallback:function(){a.butterBar.showWarning("Failed to load hotlist "+b)}})}};
var dSa=function(a,b){cSa(a,b)||(a.selectedHotlistMap[b.hotlistId]=!a.selectedHotlistMap[b.hotlistId],a.focusFilterBox(),a.pendingChanges=!$h(a.oldSelectedHotlistMap,a.selectedHotlistMap))},ric=function(a,b){b=void 0===b?0:b;var c=AS(a).filter(function(e,f){return f>a.focusedRowIndex&&a.shouldShowHotlist[Number(e.id.substring(13))]}),d=a.choices.length;c.length?(b=b>=c.length?c[c.length-1]:c[b],a.focusedRowIndex=qaa(AS(a),b),mic(a),nic(a,b)):a.focusedRowIndex<d&&a.canCreate?oic(a,d):a.focusedRowIndex<
d+1&&a.canLoad?pic(a,d):a.focusedRowIndex<d+2&&a.pendingChanges&&qic(a,d)},AS=function(a){return a.menuItems.map(function(b){return b.nativeElement})},sic=function(a,b){b=void 0===b?0:b;if(a.focusedRowIndex===a.choices.length+1&&a.canCreate)oic(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canLoad)pic(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canCreate)oic(a,a.choices.length);else{var c=AS(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(AS(a),b),mic(a),nic(a,b)):(a.focusedRowIndex=-1,nic(a,null))}},nic=function(a,b){a.filterElement&&SE(a.filterElement.nativeElement,b);a.focusFilterBox()},oic=function(a,b){a.focusedRowIndex=b;SE(a.filterElement.nativeElement,null);var c;null==(c=a.createElement)||c.focus();a.liveAnnouncer.announce("Create new hotlist "+a.filterText);a.focusFilterBox()},pic=function(a,b){a.focusedRowIndex=b+1;SE(a.filterElement.nativeElement,null);
var c;null==(c=a.loadElement)||c.focus();a.liveAnnouncer.announce("Load hotlist "+a.filterText);a.focusFilterBox()},qic=function(a,b){a.focusedRowIndex=b+2;SE(a.filterElement.nativeElement,null);var c;null==(c=a.applyElement)||c.focus();a.liveAnnouncer.announce("Apply");a.focusFilterBox()},mic=function(a){-1===a.focusedRowIndex||a.focusedRowIndex>=a.choices.length||(a=AS(a)[a.focusedRowIndex],a.scrollIntoViewIfNeeded?a.scrollIntoViewIfNeeded():a.scrollIntoView({block:"end"}))},eSa=function(a){return null==
a?"mixed":a.toString()},fSa=function(a){return null==a?"indeterminate":a?"checked":"unchecked"};yS.\u0275fac=function(a){return new (a||yS)(B(ox),B(EG),B(VF),B(aI),B(nt),B(XD,2))};
yS.\u0275cmp=r({type:yS,selectors:[["b-hotlist-picker"]],viewQuery:function(a,b){a&1&&(og(YB,5),og(eic,5),og(fic,5),og(gic,5),og(hic,5),og(iic,5));if(a&2){var c;ng(c=qg())&&(b.trigger=c.first);ng(c=qg())&&(b.filterElement=c.first);ng(c=qg())&&(b.createElement=c.first);ng(c=qg())&&(b.applyElement=c.first);ng(c=qg())&&(b.loadElement=c.first);ng(c=qg())&&(b.menuItems=c)}},inputs:{selectedHotlistIds:"selectedHotlistIds",choices:"choices",checkEditAcl:"checkEditAcl"},outputs:{onCreate:"onCreate",onApply:"onApply",
onLoad:"onLoad"},features:[bg([XD]),yf,ld],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),T(2),K(),L(3,"b-icon",2),K(),H(4,"mat-menu",null,3)(6,"div",4)(7,"div",5)(8,"div",6)(9,"input",7,8),Q("ngModelChange",function(d){return b.filterText=d})("ngModelChange",
function(){return zS(b)})("mousedown",function(d){return d.stopPropagation()})("blur",function(){return jic(b)})("click",function(d){return d.stopPropagation()})("keydown",function(d){d.stopImmediatePropagation();"Escape"===d.key?b.close():"ArrowDown"===d.key?(ric(b),d.preventDefault()):"ArrowUp"===d.key?(sic(b),d.preventDefault()):"PageUp"===d.key?sic(b,11):"PageDown"===d.key?ric(b,11):" "===d.key?-1===b.focusedRowIndex||b.focusedRowIndex>=b.choices.length||(dSa(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(),jSa(b)):0<=b.focusedRowIndex&&b.focusedRowIndex<b.choices.length&&b.hasAclToEdit(b.choices[b.focusedRowIndex])&&vp(b,b.choices[b.focusedRowIndex]))}),K()()(),L(11,"mat-divider"),F(12,lSa,11,8,"ng-template",9),K()());if(a&2){var c=S(5);G("matMenuTriggerFor",c)("disabled",b.isAnonymous);A(2);$f(lic(b));A(7);G("ngModel",b.filterText)}},dependencies:[Tv,
Uv,ZB,XB,YB,WB,eA,Jg,ww,Pw,Dw,tz,dC,CD,AD],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 vic=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 WO;this.selectedVerifiersStatus=this.selectedAssigneesStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";tic(this,b);uic(this,b)},tic=function(a,b){var c=b[0],d=Mk[c.status],
e=c.duplicateOfIssueId;if(d)for(b.every(function(f){return"DUPLICATE"===f.status&&e===f.duplicateOfIssueId})&&e&&(a.commonDuplicateOf=e,a.origCommonDuplicateOf=e),c=1;c<b.length;c++)if(b[0].status!==b[c].status){d=void 0;break}a.issueState=d;a.origCommonIssueState=d},wic=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||zn(c)})?b?"MULTIPLE":"IDENTICAL_EMAILS":"POSSIBLY_MULTIPLE"},uic=function(a,b){var c=
b.map(function(d){return d.assigneeEmail});b=b.map(function(d){return d.verifierEmail});a.selectedAssigneesStatus=wic(c);a.selectedVerifiersStatus=wic(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])};
vic.prototype.clearAssignee=function(){this.commonAssignee="";this.selectedAssigneesStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteAssignee=!0;PTa(this)};vic.prototype.clearVerifier=function(){this.commonVerifier="";this.selectedVerifiersStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteVerifier=!0};
var Dp=function(a){return a.origIssues.every(function(b){return!!b.verifierEmail})},LTa=function(a,b){(a.origCommonIssueState=b)?("NEW"===b.status?xic(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||xic(a.selectedAssigneesStatus)||(a.commonAssignee=a.lastCommonAssignee?
a.lastCommonAssignee:a.userEmail),xic(a.selectedVerifiersStatus)||a.commonVerifier||"VERIFIED"!==b.status||(a.commonVerifier=a.userEmail)),a.issueState=a.origCommonIssueState):a.issueState=void 0},xic=function(a){return"MULTIPLE"===a||"POSSIBLY_MULTIPLE"===a},PTa=function(a){var b=Mk.NEW,c=Mk.ASSIGNED;a.issueState===b&&a.commonAssignee?a.issueState=a.origCommonIssueState===b?c:a.origCommonIssueState:a.commonAssignee||a.issueState&&!S1b.has(a.issueState)||(a.issueState=b)},yic=function(a){var b=a.issueState;
return b?a.origIssues.some(function(c){return b.status!==c.status}):!1},YTa=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);yic(a)&&b.set("status",a.issueState.status);a.comment.value&&b.set("comment",a.comment.value);return b};var zic=function(a){this.uploadUrl_=a};var Aic=function(){bp.call(this)};At(Aic,bp);var BS=function(a){XA.call(this,a)};At(BS,XA);var CS=function(a){XA.call(this,a)};At(CS,XA);var Bic=function(a,b){this.name_=a;this.inputElement_=b};Bic.prototype.getName=function(){return this.name_};var Cic=function(){this.maxChunkSize_=1073741824;this.retryOnHttpClientErrorEnabled_=!1};var DS=function(){bp.call(this);this.name_="closure_frame"+Dic++;this.iframesForDisposal_=[];Eic[this.name_]=this},ES;At(DS,bp);var Eic={},Dic=0,Fic=function(a,b){var c=ep(a);zYb(b,function(d,e){Array.isArray(d)||(d=[d]);ra(d,function(f){f=c.createDom("INPUT",{type:"hidden",name:e,value:f});a.appendChild(f)})})};g=DS.prototype;g.form_=null;g.iframe_=null;g.iframeName_=null;g.nextIframeId_=0;g.active_=!1;g.complete_=!1;g.success_=!1;g.lastUri_=null;g.lastContent_=null;g.lastErrorCode_=0;
g.iframeDisposalTimer_=null;
g.send=function(a,b,c,d){if(this.active_)throw Error("Ud");this.lastUri_=a=new hp(a);b=b?b.toUpperCase():"GET";c&&GC(a);ES||(ES=rVb("FORM"),ES.acceptCharset="utf-8",c=ES.style,c.position="absolute",c.visibility="hidden",c.top=c.left="-10px",c.width=c.height="10px",c.overflow="hidden",document.body.appendChild(ES));this.form_=ES;"GET"==b&&Fic(this.form_,a.queryData_);d&&Fic(this.form_,d);d=a.toString();DMb(this.form_,$g(null===d?"null":void 0===d?"undefined":d));this.form_.method=b;Gic(this);Hic(this)};
g.abort=function(a){if(this.active_){var b=FS(this);if(b)if(ZA(b))b.removeAllListeners(void 0);else if(b=bB(b)){var c=0,d;for(d in b.listeners)for(var e=b.listeners[d].concat(),f=0;f<e.length;++f)dB(e[f])&&++c}this.success_=this.active_=this.complete_=!1;this.lastErrorCode_=a||7;this.dispatchEvent("abort");Iic(this)}};
g.disposeInternal=function(){this.active_&&this.abort();DS.superClass_.disposeInternal.call(this);this.iframe_&&Jic(this);Hic(this);delete this.errorChecker_;this.lastUri_=this.lastContent_=this.form_=null;this.lastErrorCode_=0;delete Eic[this.name_]};g.isComplete=function(){return this.complete_};g.isSuccess=function(){return this.success_};g.isActive=function(){return this.active_};g.getResponseText=function(){return this.lastContent_};g.getResponseJson=function(){return kXb(this.lastContent_)};
g.getLastUri=function(){return this.lastUri_};g.getLastErrorCode=function(){return this.lastErrorCode_};g.getLastError=function(){return rXb(this.lastErrorCode_)};
var Gic=function(a){a.active_=!0;a.complete_=!1;a.lastErrorCode_=0;a.iframeName_=a.name_+"_"+(a.nextIframeId_++).toString(36);a.iframe_=ep(a.form_).createDom("IFRAME",{name:a.iframeName_,id:a.iframeName_});var b=a.iframe_.style;b.visibility="hidden";b.width=b.height="10px";b.display="none";Et?b.marginTop=b.marginLeft="-10px":(b.position="absolute",b.top=b.left="-10px");ep(a.form_).document_.body.appendChild(a.iframe_);b=a.iframeName_+"_inner";var c=vVb(a.iframe_);if(document.baseURI){var d=Nj(b);
d=bh('<head><base href="'+Nj(document.baseURI)+'"></head><body><iframe id="'+d+'" name="'+d+'"></iframe>')}else d=Nj(b),d=bh('<body><iframe id="'+d+'" name="'+d+'"></iframe>');c.write(dh(d));cp(c.getElementById(b),"load",a.onIframeLoaded_,!1,a);d=iB("TEXTAREA",a.form_);for(var e=0,f=d.length;e<f;e++){var h=d[e].value,k=[];zVb(d[e],k,!1);k.join("")!=h&&(pB(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=iB("SELECT",a.form_);f=iB("SELECT",
d);h=0;for(k=e.length;h<k;h++)for(var q=iB("OPTION",e[h]),t=iB("OPTION",f[h]),w=0,y=q.length;w<y;w++)t[w].selected=q[w].selected;e=iB("INPUT",a.form_);f=iB("INPUT",d);h=0;for(k=e.length;h<k;h++)if("file"==e[h].type&&e[h].value!=f[h].value){a.form_.target=b;d=a.form_;break}try{a.errorHandled_=!1,d.submit(),c.close(),Dt&&cq(a.testForFirefoxSilentError_,250,a)}catch(C){cB(c.getElementById(b),"load",a.onIframeLoaded_,!1,a),c.close(),a.handleError_(2)}};
DS.prototype.onIframeLoaded_=function(){cB(FS(this),"load",this.onIframeLoaded_,!1,this);try{var a=this.iframe_?vVb(FS(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"),Iic(this))}catch(e){this.handleError_(1)}};
DS.prototype.handleError_=function(a){this.errorHandled_||(this.active_=this.success_=!1,this.complete_=!0,this.lastErrorCode_=a,this.dispatchEvent("complete"),this.dispatchEvent("error"),Iic(this),this.errorHandled_=!0)};
var Iic=function(a){Jic(a);Hic(a);a.form_=null;a.dispatchEvent("ready")},Jic=function(a){var b=a.iframe_;b&&(b.onreadystatechange=null,b.onload=null,b.onerror=null,a.iframesForDisposal_.push(b));a.iframeDisposalTimer_&&(dq(a.iframeDisposalTimer_),a.iframeDisposalTimer_=null);Dt?a.iframeDisposalTimer_=cq(a.disposeIframes_,2E3,a):a.disposeIframes_();a.iframe_=null;a.iframeName_=null};
DS.prototype.disposeIframes_=function(){this.iframeDisposalTimer_&&(dq(this.iframeDisposalTimer_),this.iframeDisposalTimer_=null);for(;0!=this.iframesForDisposal_.length;){var a=this.iframesForDisposal_.pop();nB(a)}};var Hic=function(a){a.form_&&a.form_==ES&&uVb(a.form_)},FS=function(a){return a.iframe_?vVb(a.iframe_).getElementById(a.iframeName_+"_inner"):null};
DS.prototype.testForFirefoxSilentError_=function(){if(this.active_){var a=this.iframe_?vVb(FS(this)):null;a&&!CKb(a,"documentUri")?(cB(FS(this),"load",this.onIframeLoaded_,!1,this),navigator.onLine?this.handleError_(3):this.handleError_(9)):cq(this.testForFirefoxSilentError_,250,this)}};var Kic=function(a,b,c,d,e){bp.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 hp(a);EC(a,"upload_protocol","multipart");this.url_=a.toString();this.request_=new DS;this.state_="Ready";this.errorDescription_=
null;this.eventHandler_=new Kq(this);WA(this,this.eventHandler_);this.eventHandler_.listen(this.request_,"success",this.onTransferSuccess_);this.eventHandler_.listen(this.request_,"error",this.onTransferError_)};Y(Kic,Aic);g=Kic.prototype;g.run=function(){this.state_="Transferring";var a=this.request_,b=this.form_;if(a.active_)throw Error("Ud");var c=new hp(this.url_||b.action);a.lastUri_=c;a.form_=b;DMb(a.form_,c.toString());Gic(a)};g.getBytesTransferred=function(){return null};
g.getResponseCode=function(){return null};g.getErrorType=function(){return null};g.getResponseHeaders=function(){return null};g.getResponseText=function(){return this.request_&&this.request_.getResponseText()||null};g.getErrorDescription=function(){return this.errorDescription_};g.cancel=function(){this.request_&&this.request_.abort();this.state_="Cancelled";this.dispatchEvent(new BS("m"))};g.pause=function(){};g.unpause=function(){};g.onTransferSuccess_=function(){this.state_="Complete";this.dispatchEvent(new BS("j"))};
g.onTransferError_=function(){this.errorDescription_="Transfer failed.";this.state_="Error";this.dispatchEvent(new BS("l"))};var Nic=function(a,b){void 0!==a.name?(this.name=a.name,this.code=Lic[a.name]):(this.code=a=a.code,this.name=Mic(a));ba.call(this,HMb("%s %s",this.name,b))};At(Nic,ba);
var Mic=function(a){var b=zda(Lic,function(c){return a==c});if(void 0===b)throw Error("Vd`"+a);return b},GS={},Lic=(GS.AbortError=3,GS.EncodingError=5,GS.InvalidModificationError=9,GS.InvalidStateError=7,GS.NotFoundError=1,GS.NotReadableError=4,GS.NoModificationAllowedError=6,GS.PathExistsError=12,GS.QuotaExceededError=10,GS.SecurityError=2,GS.SyntaxError=8,GS.TypeMismatchError=11,GS);var Oic=function(a,b){XA.call(this,a.type,b);this.event_=a};At(Oic,XA);var Pic=function(a,b,c){void 0===c&&(c=a.size);return a.slice?a.slice(b,c):null};Zo(function(){if(!da.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 Qic=Zo(function(){if(!da.Blob)return!1;var a=new Uint8Array(100);try{var b=new Blob([a])}catch(c){return!1}return null===Pic(b,0,1)?!1:!0});var Ric=function(){bp.call(this);this.reader_=new FileReader;this.reader_.onloadstart=yt(this.dispatchProgressEvent_,this);this.reader_.onprogress=yt(this.dispatchProgressEvent_,this);this.reader_.onload=yt(this.dispatchProgressEvent_,this);this.reader_.onabort=yt(this.dispatchProgressEvent_,this);this.reader_.onerror=yt(this.dispatchProgressEvent_,this);this.reader_.onloadend=yt(this.dispatchProgressEvent_,this)};At(Ric,bp);g=Ric.prototype;
g.abort=function(){try{this.reader_.abort()}catch(a){throw new Nic(a,"aborting read");}};g.getReadyState=function(){return this.reader_.readyState};g.getError=function(){return this.reader_.error&&new Nic(this.reader_.error,"reading file")};g.dispatchProgressEvent_=function(a){this.dispatchEvent(new Oic(a,this))};g.disposeInternal=function(){Ric.superClass_.disposeInternal.call(this);delete this.reader_};g.readAsBinaryString=function(a){this.reader_.readAsBinaryString(a)};g.readAsArrayBuffer=function(a){this.reader_.readAsArrayBuffer(a)};
g.readAsText=function(a,b){this.reader_.readAsText(a,b)};var Sic=function(a){var b=new bO;a.listen("loadend",zt(function(c,d){var e=d.reader_.result,f=d.getError();null==e||f?(dO(c),eO(c,!1,f)):c.callback(e);d.dispose()},b,a));return b};var HS=function(){OB.call(this)};Y(HS,OB);HS.prototype.createXhr=function(){var a=OB.prototype.createXhr.call(this);a.upload&&(a.upload.onprogress=yt(this.onProgress_,this));return a};HS.prototype.onProgress_=function(a){this.dispatchEvent(a)};var Tic=function(){this.attempt_=-1;this.delayCallId_=null;this.maxDelayMs_=6E4;this.maxAttempts_=-1},Vic=function(a,b){var c=a.attempt_+1;if(0<a.maxAttempts_&&c>a.maxAttempts_)return!1;0==c?b():a.delayCallId_=cq(function(){a.delayCallId_=null;b()},Uic(a),a);a.attempt_=c;return!0};Tic.prototype.reset=function(){this.delayCallId_&&dq(this.delayCallId_);this.attempt_=-1};var Uic=function(a){var b=250*Math.pow(2,a.attempt_);0<=a.maxDelayMs_&&(b=Math.min(b,a.maxDelayMs_));return b};var nSa=["Content-Length","Content-Type","Content-Encoding","Transfer-Encoding"];var Wic=function(a){bp.call(this);a=a||new Cic;this.request_=this.state_=null;this.withCredentials_=!1;this.transferHandle_=null;this.offset_=this.bytesTransferred_=0;this.retryIterator_=new Tic;this.retryIterator_.maxAttempts_=6;this.retryIterator_.maxDelayMs_=6E4;this.errorType_=this.errorDescription_=null;this.eventHandler_=new Kq(this);WA(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};At(Wic,Aic);g=Wic.prototype;g.run=function(){IS(this)};g.getBytesTransferred=function(){return this.bytesTransferred_};g.getResponseCode=function(){return this.responseCode_};
g.getResponseHeaders=function(){return this.responseHeaders_};g.getResponseText=function(){return this.responseText_};g.getErrorDescription=function(){return this.errorDescription_};g.getErrorType=function(){return this.errorType_};
g.cancel=function(){if("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 HS,a.withCredentials_=this.withCredentials_,a.send(this.transferHandle_.uploadUrl_,"POST","",{"X-Goog-Upload-Command":"cancel"});this.state_="Cancel";this.bytesTransferred_=0;this.dispatchEvent(new BS("m"))}};
g.pause=function(){this.pauseRequested_=!0};g.unpause=function(){this.pauseRequested_=!1;"Paused"===this.state_&&(this.state_=this.stateAfterUnpausing_,this.stateAfterUnpausing_=null,Xic(this))};
var IS=function(a){var b=a.state_;a.pauseRequested_?(a.pauseRequested_=!1,a.stateAfterUnpausing_=b,a.state_="Paused"):Vic(a.retryIterator_,function(){return Xic(a)})||JS(a,1,"Transfer encountered too many consecutive failures.")},Xic=function(a){switch(a.state_){case "Start":a.start_();break;case "Upload":var b=a.transferHandle_.uploadUrl_,c=a.blob_.size;if(Qic()){var d=a.chunkSize_;var e=a.offset_+d>=c;c=Pic(a.blob_,a.offset_,e?c:a.offset_+d)}else a.offset_=0,c=a.blob_,e=!0;a.request_=new HS;a.request_.withCredentials_=
a.withCredentials_;a.eventHandler_.removeAll();a.eventHandler_.listen(a.request_,"progress",a.onUploadProgress_);d=yt(a.onUploadComplete_,a,a.offset_+c.size,e);a.eventHandler_.listen(a.request_,"complete",d);a.lastCommandResponseCode_=null;a.dispatchEvent(new CS("o"));e=Object.assign({},a.headers_||{},{"X-Goog-Upload-Command":"upload"+(e?", finalize":""),"X-Goog-Upload-Offset":a.offset_});a.request_.send(b,"POST",c,e);break;case "Query":a.query_();break;default:throw Error("Wd");}},JS=function(a,
b,c){a.state_="Error";a.errorDescription_=c;a.errorType_=b;a.dispatchEvent(new BS("l"))};g=Wic.prototype;
g.start_=function(){this.request_=new HS;var a=fc(this.headers_);null!=this.blob_.size&&(a["Content-Length"]=this.blob_.size);a=oSa(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 CS("o"))};
g.onStartComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new CS("p"));if(Yic(b))Zic(this,b);else if($ic(b)){a=wp(a.target.getAllResponseHeaders());for(var c in a)c.toLowerCase().lastIndexOf("x-goog-upload-header-",0);this.dispatchEvent(new BS("k"));c=xp(a,"X-Goog-Upload-URL");a=(a=xp(a,"X-Goog-Upload-Chunk-Granularity"))?parseInt(a,10):1;void 0===c||isNaN(a)||0>=a?JS(this,2,"Server returned invalid headers."):(this.chunkSize_=Math.floor(this.maxChunkSize_/
a)*a,this.transferHandle_=new zic(c),this.dispatchEvent(new BS("n")),this.state_="Upload",this.retryIterator_.reset(),IS(this))}else IS(this)};g.onUploadProgress_=function(a){this.bytesTransferred_=this.offset_+a.loaded;this.dispatchEvent(new BS("i"))};
g.onUploadComplete_=function(a,b,c){var d=this,e,f;return qe(function(h){switch(h.nextAddress){case 1:e=c.target;d.lastCommandResponseCode_=e.getStatus();d.dispatchEvent(new CS("p"));if(d.retryOnHttpClientErrorEnabled_?ajc(e)||404==e.getStatus():Yic(e))return d.bytesTransferred_=a,Zic(d,e),h.return();if($ic(e)){h.jumpTo(2);break}if(!(f=d.detectCorruptedBlobEnabled_)){h.jumpTo(3);break}return h.yield(bjc(d),4);case 4:f=h.yieldResult;case 3:if(f)return JS(d,3,"Blob has been modified or corrupted."),
h.return();d.requireUploadRequestModification_=400==e.getStatus();d.state_="Query";IS(d);return h.return();case 2:if(b)return JS(d,4,"Got a non-final success response after issuing a finalize command."),h.return();d.bytesTransferred_=a;d.offset_=a;d.retryIterator_.reset();IS(d);return h.return()}})};
g.query_=function(){this.request_=new HS;this.eventHandler_.removeAll();this.eventHandler_.listen(this.request_,"complete",this.onQueryComplete_);var a=Object.assign({},this.headers_||{},{"X-Goog-Upload-Command":"query"});this.request_.send(this.transferHandle_.uploadUrl_,"POST","",a);this.lastCommandResponseCode_=null;this.dispatchEvent(new CS("o"))};
g.onQueryComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new CS("p"));Yic(b)?(200===b.getStatus()&&(this.bytesTransferred_=this.blob_.size),Zic(this,b)):$ic(b)?(a=wp(a.target.getAllResponseHeaders()),a=parseInt(xp(a,"X-Goog-Upload-Size-Received"),10),isNaN(a)?JS(this,5,"Server did not respond with current offset."):a<this.offset_?JS(this,6,"Server lost bytes! Expected an offset of at least "+this.offset_+", but got an offset of "+a+"."):this.requireUploadRequestModification_&&
this.offset_===a?JS(this,7,"Server returned the same offset as the last failed upload attempt."):(this.requireUploadRequestModification_=!1,this.offset_<a&&this.retryIterator_.reset(),this.offset_=this.bytesTransferred_=a,this.state_="Upload",IS(this))):IS(this)};
var Zic=function(a,b){a.responseCode_=b.getStatus();var c=wp(b.getAllResponseHeaders());a.responseHeaders_=pSa(c);a.responseText_=b.getResponseText();a.state_="Response received";a.dispatchEvent(new BS("j"))},$ic=function(a){var b=a.getStatus();a=wp(a.getAllResponseHeaders());a=xp(a,"X-Goog-Upload-Status");return 200===b&&"active"===a},ajc=function(a){a=wp(a.getAllResponseHeaders());return"final"===xp(a,"X-Goog-Upload-Status")},Yic=function(a){if(ajc(a))return!0;a=a.getStatus();return 400<=a&&500>
a},bjc=function(a){var b;return qe(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);re(c,2);if(b=Pic(a.blob_,0,1)){var d=c.yield,e=new Ric,f=Sic(e);e.readAsBinaryString(b);c=d.call(c,f,4)}else c=c.return(!0);return c}if(2!=c.nextAddress)return c.return(a.blob_.size!==a.originalBlobSize_);ve(c);return c.return(!0)})};var cjc=function(a,b,c,d,e,f){bp.call(this);this.payload_=d;this.url_=a;this.method_=b;this.headers_=c;this.metadata_=e;this.metadataOverhead_=0;this.encoding_=f||"binary";a=new ei;this.boundary_="uploader-"+xu()+"-"+a.toIsoString();this.transferRequest_=null;this.bytesTransferred_=0;this.responseText_=this.responseHeaders_=this.responseCode_=null;this.state_="Ready";this.errorDescription_=null;this.eventHandler_=new Kq(this);WA(this,this.eventHandler_)};Y(cjc,Aic);g=cjc.prototype;
g.run=function(){var a=fc(this.headers_);null!=this.payload_.length&&(a["Content-Length"]=this.payload_.length);a=oSa(a);a["X-Goog-Upload-Protocol"]="multipart";a["Content-Type"]="multipart/related; boundary="+this.boundary_;this.state_="Transferring";this.transferRequest_=new HS;this.eventHandler_.removeAll();this.eventHandler_.listen(this.transferRequest_,"progress",this.onTransferProgress_);this.eventHandler_.listen(this.transferRequest_,"complete",this.onTransferComplete_);var b=this.transferRequest_,
c=b.send,d=this.url_,e=this.method_,f="--"+this.boundary_+'\r\nContent-Disposition: form-data; name="metadata"\r\n\r\n'+(this.metadata_+"\r\n--")+this.boundary_+'\r\nContent-Disposition: form-data; name="Filedata"\r\nContent-Transfer-Encoding: '+(this.encoding_+"\r\n\r\n")+this.payload_+"\r\n--"+this.boundary_+"--\r\n";this.metadataOverhead_=f.length-this.payload_.length;c.call(b,d,e,f,a)};g.getBytesTransferred=function(){return this.bytesTransferred_};g.getResponseCode=function(){return this.responseCode_};
g.getResponseHeaders=function(){return this.responseHeaders_};g.getResponseText=function(){return this.responseText_};g.getErrorDescription=function(){return this.errorDescription_};g.getErrorType=function(){return null};g.cancel=function(){"Complete"!=this.state_&&"Error"!=this.state_&&(this.eventHandler_.removeAll(),this.transferRequest_&&this.transferRequest_.abort(),this.state_="Cancel",this.dispatchEvent(new BS("m")))};g.pause=function(){};g.unpause=function(){};
g.onTransferProgress_=function(a){this.bytesTransferred_=Math.max(0,a.loaded-this.metadataOverhead_);this.dispatchEvent(new BS("i"))};g.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 BS("l"))):(this.responseCode_=b,a=a.target,b=wp(a.getAllResponseHeaders()),this.responseHeaders_=pSa(b),this.responseText_=a.getResponseText(),this.state_="Complete",this.dispatchEvent(new BS("j")))};var djc=function(){},ejc=function(a,b,c,d,e){e=void 0===e?!1:e;if(c instanceof Bic)return new Kic(a,"POST",b,c.inputElement_,d);if("string"===typeof c||c instanceof String)return new cjc(a,"POST",b,c,d);var f=new Wic(void 0);f.url_=a;f.method_="POST";f.headers_=b;f.blob_=c;f.originalBlobSize_=c.size;f.metadata_=d;e&&(f.withCredentials_=e);f.state_="Start";return f};var fjc=new bd("ScottyUploaderConfigFactory"),gjc=new bd("ScottyUploader",{factory:function(){return new djc}}),KS=function(a,b){this.uploader=a;this.configFactory=b;this.internalTransferStatus=new E.Subject;this.transferStatus=Gs(this.internalTransferStatus)};
KS.prototype.upload=function(a,b){var c=this;b=void 0===b?this.configFactory.create(a):b;a=ejc(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,"k"),(0,E.fromEvent)(a,"i"),(0,E.fromEvent)(a,"n"),(0,E.fromEvent)(a,"l"),(0,E.fromEvent)(a,"j"),(0,E.fromEvent)(a,"m")).pipe(bf((0,E.fromEvent)(a,"j").pipe(Oe(0)))).subscribe(function(d){c.internalTransferStatus.next(d)});
a.run()};KS.\u0275fac=function(a){return new (a||KS)(p(gjc),p(fjc))};KS.\u0275prov=Dc({token:KS,factory:KS.\u0275fac});var hjc=function(a){this.name_=a;this.files_=[];this.directories_=[];this.directoryMap_={}};hjc.prototype.getDirectory=function(a){return this.directoryMap_[a]};hjc.prototype.getName=function(){return this.name_};var jjc=function(a,b,c){b=void 0===b?"single_file":b;c=void 0===c?[]:c;bp.call(this);this.overlayTarget_=a;this.parentOverlay_=null!=a?a.parentNode:Lj(document,"scotty-overlay-parent");this.selectorType_=b;this.acceptTypes_=c;this.overlay_=ijc(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};Y(jjc,bp);
var ijc=function(a,b,c,d){var e=document.createElement("input");e.setAttribute("type","file");e.setAttribute("name","Filedata");cp(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),Vq(e,new Sq(b.offsetLeft,b.offsetTop)),e;a.parentOverlay_.appendChild(e);return e};jjc.prototype.click=function(){this.overlay_.click()};
jjc.prototype.onFilesSelected_=function(a){a:{try{var b=void 0!==(new XMLHttpRequest).upload;break a}catch(t){}b=!1}if(b){a=a.target.files;b=[];if("single_directory"===this.selectorType_&&(Et||Ct)){b=new hjc("");if(File.prototype.hasOwnProperty("webkitRelativePath"))for(var c=0;c<a.length;c++)for(var d=a[c],e=d.webkitRelativePath.split("/"),f=b,h=0;h<e.length;h++){var k=e[h];if(h==e.length-1){"."!=k&&f.files_.push(d);break}var q=f.getDirectory(k);void 0==q&&(k=q=new hjc(k),f.directoryMap_[k.getName()]=
k,f.directories_.push(k));f=q}b=b.directories_}this.dispatchEvent(new kjc(a,b,null))}else a=a.target.value,a.match(/^c:\\fakepath\\/i)&&(a=a.substring(12)),this.dispatchEvent(new kjc([],[],new Bic(a,this.overlay_)));this.parentOverlay_.removeChild(this.overlay_);this.overlay_=ijc(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};
var ljc={SINGLE_FILE_SELECTION:"single_file",MULTIPLE_FILE_SELECTION:"multiple_file",SINGLE_DIRECTORY_SELECTION:"single_directory"},kjc=function(a,b){XA.call(this,"u");this.files=a;this.directories=b};Y(kjc,XA);var LS=function(a,b){this.elementRef=a;this.ngZone=b;this.destroyed=new E.ReplaySubject(1);this.supportedFileExtensions=null;this.fileExtensionRejected=new mv;this.maxFileSize=null;this.fileSizeRejected=new mv;this.fileSelected=new mv;this.fileNameLengthRejected=new mv};
LS.prototype.ngAfterViewInit=function(){var a=this;this.getOverlay().pipe(af(function(b){return(0,E.merge)((0,E.fromEvent)(b,"q"),(0,E.fromEvent)(b,"u"))}),bf(this.destroyed)).subscribe(function(b){a.ngZone.run(function(){a:{if(a.supportedFileExtensions){var c=l(b.files);for(var d=c.next();!d.done;d=c.next()){var e=a.supportedFileExtensions,f=e.includes;d=d.value.name;var h=d.lastIndexOf(".");if(!f.call(e,-1!==h?d.substr(h+1).toLowerCase():"")){c=!1;break a}}}c=!0}if(c){a:{if(a.maxFileSize)for(c=
l(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=l(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,"s").subscribe(function(){a.ngZone.run(function(){})})});this.getOverlay().subscribe(function(b){(0,E.fromEvent)(b,
"t").subscribe(function(){a.ngZone.run(function(){})})})};LS.prototype.ngOnDestroy=function(){this.destroyed.next(!0);this.destroyed.complete()};LS.\u0275fac=function(a){return new (a||LS)(B(Hd),B(ef))};LS.\u0275dir=Vc({type:LS,inputs:{supportedFileExtensions:"supportedFileExtensions",maxFileSize:"maxFileSize",maxFileNameLength:"maxFileNameLength"},outputs:{fileExtensionRejected:"fileExtensionRejected",fileSizeRejected:"fileSizeRejected",fileSelected:"fileSelected",fileNameLengthRejected:"fileNameLengthRejected"}});var MS=function(a,b){LS.call(this,a,b);this.overlay=this.fileSelectorOverlay=null};Y(MS,LS);
MS.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(Te(),bf(a.destroyed),D(function(){a.fileSelectorOverlay=new jjc(a.elementRef.nativeElement,a.selectorType,mjc(a));a.fileSelectorOverlay.overlay_.style.display="none";return a.fileSelectorOverlay}),Ye(1))}));return this.overlay};
MS.prototype.onClick=function(){this.fileSelectorOverlay&&this.fileSelectorOverlay.click()};var mjc=function(a){return(a.supportedFileExtensions||[]).map(function(b){return"."+b})};MS.\u0275fac=function(a){return new (a||MS)(B(Hd),B(ef))};MS.\u0275dir=Vc({type:MS,hostBindings:function(a,b){a&1&&Q("click",function(){return b.onClick()})},inputs:{selectorType:"selectorType"},features:[yf]});var NS=function(a,b,c){MS.call(this,a,b);this.uploader=c;this.disableAutoUploadInternal=!1};Y(NS,MS);
NS.prototype.ngOnInit=function(){var a=this;this.fileSelected.pipe(bf(this.destroyed),He(function(){return!a.disableAutoUpload})).subscribe(function(b){b=l(b.files);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0;null==(d=a.uploader)||d.upload(c)}})};Gh.Object.defineProperties(NS.prototype,{disableAutoUpload:{configurable:!0,enumerable:!0,get:function(){return this.disableAutoUploadInternal},set:function(a){this.disableAutoUploadInternal=Sg(a)}}});
NS.\u0275fac=function(a){return new (a||NS)(B(Hd),B(ef),B(KS,8))};NS.\u0275dir=Vc({type:NS,selectors:[["","xapUploaderTrigger",""],["","xapScottyUploaderTrigger",""]],inputs:{disableAutoUpload:"disableAutoUpload"},features:[yf]});var OS=function(){this.SelectorType=ljc;this.includeTextLabel=this.disabled=!1;this.onSelect=new mv},qSa=function(a,b){if(b=b.files){b=l(b);for(var c=b.next();!c.done;c=b.next())a.onSelect.emit(c.value)}};OS.\u0275fac=function(a){return new (a||OS)};
OS.\u0275cmp=r({type:OS,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),F(1,rSa,2,3,"button",1),K(),F(2,sSa,3,3,"ng-template",null,2,tg));if(a&2){var c=S(3);A(1);G("ngIf",!b.includeTextLabel)("ngIfElse",c)}},dependencies:[Uv,MA,eA,dC,NS],
encapsulation:2});var PS=function(a,b){VO.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 "i":case "k":case "n":c.state=1;c.transferredBytes=e.getBytesTransferred()||0;break;case "l":c.handleError(e);break;case "j":c.transferredBytes=e.getBytesTransferred()||0;(d=e.getResponseCode())&&200!=d?c.handleError(e):(d=e.getResponseText())?(c.state=2,c.blobRef=JSON.parse(d).encryptedMedia):c.handleError(e);c.unsubscribe();
break;case "m":c.state=4;c.transferredBytes=e.getBytesTransferred()||0;break;default:c.transferredBytes=e.getBytesTransferred()||0}};b.pipe(bf(this.destroyed$)).subscribe(function(d){c.onTransferEventUpdate(d)})};Y(PS,VO);PS.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.")};
PS.prototype.cancel=function(){var a,b;null==(a=this.transfer)||null==(b=a.cancel)||b.call(a);this.unsubscribe()};PS.prototype.unsubscribe=function(){this.destroyed$.next();this.destroyed$.complete()};var QS=function(a){this.activeSession=a};
QS.prototype.create=function(a){for(var b=a.name,c=[],d=0,e=0;e<b.length;e++){var f=b.charCodeAt(e);128>f?c[d++]=f:(2048>f?c[d++]=f>>6|192:(55296==(f&64512)&&e+1<b.length&&56320==(b.charCodeAt(e+1)&64512)?(f=65536+((f&1023)<<10)+(b.charCodeAt(++e)&1023),c[d++]=f>>18|240,c[d++]=f>>12&63|128):c[d++]=f>>12|224,c[d++]=f>>6&63|128),c[d++]=f&63|128)}b=Caa(c);a=gEa(a.name)?a.name:b;return{url:EC(GYb().setPath("/upload/"),"authuser",this.activeSession.getSessionIdentifier()).toString(),headers:{"X-Bv2-Encoded-Upload-File-Name":b,
"X-Goog-Upload-File-Name":a},withCredentials:!0}};QS.\u0275fac=function(a){return new (a||QS)(p(nt))};QS.\u0275prov=Dc({token:QS,factory:QS.\u0275fac,providedIn:"root"});var RS=function(a,b){this.uploader=a;this.uploaderConfigFactory=b};RS.prototype.create=function(){return new KS(this.uploader,this.uploaderConfigFactory)};RS.\u0275fac=function(a){return new (a||RS)(p(gjc),p(QS))};RS.\u0275prov=Dc({token:RS,factory:RS.\u0275fac,providedIn:"root"});var wSa=function(a){return{"attachment-error":a}},SS=function(a){Z.call(this);this.scottyUploaderFactory=a;this.uploads=[];this.onUploadCancel=new mv;this.onUploadComplete=new mv;this.uploadStates=wac};Y(SS,Z);SS.\u0275dir=Z.\u0275dir;SS.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);for(var a=l(this.uploads),b=a.next();!b.done;b=a.next())b.value.cancel()};
SS.prototype.upload=function(a){var b=this,c=this.scottyUploaderFactory.create();c.upload(a);a=new PS(a,c.transferStatus);c.transferStatus.pipe(bf(this.destroyed$)).subscribe(function(d){"j"===d.type&&b.onUploadComplete.emit()});return a};SS.prototype.cancel=function(a){a.cancel();this.onUploadCancel.emit(a)};SS.\u0275fac=function(a){return new (a||SS)(B(RS))};
SS.\u0275cmp=r({type:SS,selectors:[["b-attachment-uploader"]],inputs:{uploads:"uploads"},outputs:{onUploadCancel:"onUploadCancel",onUploadComplete:"onUploadComplete"},features:[yf],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&&F(0,ySa,2,1,"div",0);a&2&&G("ngIf",0<b.uploads.length)},dependencies:[Sv,Tv,Uv,MA,dC,EJ],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 njc=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 ojc=function(a){VO.call(this,a.size,a.name);this.attachment=a};Y(ojc,VO);var pjc=function(a,b){a.state=1;uac(b,{filename:a.attachment.name,mimeType:a.attachment.mimeType,encryptedBlobId:a.attachment.encryptedBlobId?a.attachment.encryptedBlobId:null,docId:a.attachment.docId,size:a.attachment.size}).then(function(c){a.attachment.size&&(a.transferredBytes=a.attachment.size);a.blobRef=c.encryptedMedia;a.state=2}).catch(function(c){a.state=3;a.errorMessage=wn(c)?xn(c):"Error while uploading."})};var TS=function(a){this.id_=a;this.opts={}};g=TS.prototype;g.setLabel=function(a){this.label_=a||void 0;return this};g.setOptions=function(a){this.opts=a};g.setQuery=function(a){this.opts.query=a;return this};g.setParent=function(a){this.opts.parent=a;return this};g.toArray=function(){var a=cc(this.opts,function(c){return null!==c});a=dc(a)?null:a;a=[this.id_,this.label_,a];var b=paa(a,hMb);return a=a.slice(0,b+1)};
g.toString=function(){var a=this.toArray();return"("+zKb(a,function(b){return JSON.stringify(b)}).join(",")+")"};g.getId=function(){return this.id_};g.getLabel=function(){return this.label_};g.getOptions=function(){return fc(this.opts)};g.getQuery=function(){return this.opts.query};var US=function(a){TS.call(this,a||"all")};At(US,TS);var qjc=function(){var a=(new US("all")).setOwnedByMe(!0);a.opts.drdis=!0;a.opts.includeFolders=!0;a.opts.sortKey=7;a.opts.ff=!0;return a};g=US.prototype;g.setMode=function(a){this.opts.mode=a;return this};g.setOwnedByMe=function(a){void 0!==a?this.opts.ownedByMe=a:delete this.opts.ownedByMe;return this};g.setStarred=function(a){this.opts.starred=a};g.setLabel=function(a){US.superClass_.setLabel.call(this,a);return this};
g.setQuery=function(a){US.superClass_.setQuery.call(this,a);return this};g.setParent=function(a){US.superClass_.setParent.call(this,a);return this};var rjc=function(){TS.call(this,"image-search")};Y(rjc,TS);g=rjc.prototype;g.setType=function(a){this.opts.type=a;return this};g.setSize=function(a){this.opts.imgsz=a;return this};g.setColor=function(a){this.opts.imgcolor=a;return this};g.setLabel=function(a){TS.prototype.setLabel.call(this,a);return this};g.setQuery=function(a){TS.prototype.setQuery.call(this,a);return this};g.setParent=function(a){TS.prototype.setParent.call(this,a);return this};var VS=function(){TS.call(this,"maps")};Y(VS,TS);VS.prototype.setMode=function(a){this.opts.mode=a;return this};VS.prototype.setLabel=function(a){TS.prototype.setLabel.call(this,a);return this};VS.prototype.setQuery=function(a){TS.prototype.setQuery.call(this,a);return this};VS.prototype.setParent=function(a){TS.prototype.setParent.call(this,a);return this};var sjc=function(){TS.call(this,"photos")};Y(sjc,TS);g=sjc.prototype;g.setMode=function(a){this.opts.mode=a;return this};g.setType=function(a){this.opts.type=a;return this};g.setLabel=function(a){TS.prototype.setLabel.call(this,a);return this};g.setQuery=function(a){TS.prototype.setQuery.call(this,a);return this};g.setParent=function(a){TS.prototype.setParent.call(this,a);return this};g.removeDuplicates=function(){this.opts.rdv=!0;return this};var WS=function(){TS.call(this,"url")};Y(WS,TS);WS.prototype.setType=function(a){this.opts.type=a;return this};WS.prototype.setLabel=function(a){TS.prototype.setLabel.call(this,a);return this};WS.prototype.setQuery=function(a){TS.prototype.setQuery.call(this,a);return this};WS.prototype.setParent=function(a){TS.prototype.setParent.call(this,a);return this};var XS=function(){TS.call(this,"video-search")};Y(XS,TS);XS.prototype.setLabel=function(a){TS.prototype.setLabel.call(this,a);return this};XS.prototype.setQuery=function(a){TS.prototype.setQuery.call(this,a);return this};XS.prototype.setParent=function(a){TS.prototype.setParent.call(this,a);return this};var YS=function(){TS.call(this,"web")};Y(YS,TS);YS.prototype.setLabel=function(a){TS.prototype.setLabel.call(this,a);return this};YS.prototype.setQuery=function(a){TS.prototype.setQuery.call(this,a);return this};YS.prototype.setParent=function(a){TS.prototype.setParent.call(this,a);return this};var tjc=function(){this.root_=void 0;this.items_=[];this.opts={}},ujc=function(a){switch(a){case "image-search":return new rjc;case "maps":return new VS;case "photos":return new sjc;case "url":return new WS;case "video-search":return new XS;case "web":return new YS}return new TS(a)};tjc.prototype.addView=function(a){this.items_.push("string"===typeof a?ujc(a):a);return this};
var vjc=function(a){return"("+zKb(a.items_,function(b){return b.toString()}).join(",")+")"},wjc=function(a){a=cc(a.opts,function(b){return null!==b});return(a=dc(a)?null:a)?JSON.stringify(vda(a,function(b){return b.toString()})):""};tjc.prototype.toString=function(){if(this.root_){var a=["{root:",this.root_.toString(),",items:",vjc(this)],b=wjc(this);b&&(a.push(",options:"),a.push(b));a.push("}");return a.join("")}return vjc(this)};tjc.prototype.getOptions=function(){return fc(this.opts)};var xjc=function(a){this.basePickerUrl_=a||"https://docs.google.com/picker";this.nav_=new tjc};g=xjc.prototype;g.nav_=null;g.domHelper_=null;g.addView=function(a){this.nav_.addView(a);return this};g.getBaseUrl=function(){return this.basePickerUrl_};g.getDomHelper=function(){return this.domHelper_};g.setAppId=function(a){this.appId_=a};g.setCallback=function(a){this.callback_=a;return this};var yjc=function(a){xjc.call(this,a)};At(yjc,xjc);var ZS=function(a){bp.call(this);this.dom_=a||ep();this.rightToLeft_=zjc;this.id_=null;this.inDocument_=!1;this.element_=null;this.googUiComponentHandler_=void 0;this.childIndex_=this.children_=this.parent_=null};At(ZS,bp);ZS.prototype.idGenerator_=Oq.getInstance();var zjc=!1;g=ZS.prototype;g.getId=function(){return this.id_||(this.id_=Gq(this.idGenerator_))};
g.setId=function(a){if(this.parent_&&this.parent_.childIndex_){ec(this.parent_.childIndex_,this.id_);var b=this.parent_.childIndex_;if(null!==b&&a in b)throw Error("Q`"+a);b[a]=this}this.id_=a};g.getElement=function(){return this.element_};g.getHandler=function(){this.googUiComponentHandler_||(this.googUiComponentHandler_=new Kq(this));return this.googUiComponentHandler_};
g.setParent=function(a){if(this==a)throw Error("Xd");if(a&&this.parent_&&this.id_&&d8b(this.parent_,this.id_)&&this.parent_!=a)throw Error("Xd");this.parent_=a;ZS.superClass_.setParentEventTarget.call(this,a)};g.getParent=function(){return this.parent_};g.setParentEventTarget=function(a){if(this.parent_&&this.parent_!=a)throw Error("Yd");ZS.superClass_.setParentEventTarget.call(this,a)};g.getDomHelper=function(){return this.dom_};g.createDom=function(){this.element_=this.dom_.createElement("DIV")};
g.render=function(a){if(this.inDocument_)throw Error("Zd");this.element_||this.createDom();a?a.insertBefore(this.element_,null):this.dom_.document_.body.appendChild(this.element_);this.parent_&&!this.parent_.inDocument_||this.enterDocument()};g.enterDocument=function(){this.inDocument_=!0;Ajc(this,function(a){!a.inDocument_&&a.getElement()&&a.enterDocument()})};
g.exitDocument=function(){Ajc(this,function(a){a.inDocument_&&a.exitDocument()});this.googUiComponentHandler_&&this.googUiComponentHandler_.removeAll();this.inDocument_=!1};g.disposeInternal=function(){this.inDocument_&&this.exitDocument();this.googUiComponentHandler_&&(this.googUiComponentHandler_.dispose(),delete this.googUiComponentHandler_);Ajc(this,function(a){a.dispose()});this.element_&&nB(this.element_);this.parent_=this.element_=this.childIndex_=this.children_=null;ZS.superClass_.disposeInternal.call(this)};
g.setModel=function(){};
g.addChild=function(){var a=this.children_?this.children_.length:0;if((void 0).inDocument_&&!this.inDocument_)throw Error("Zd");if(0>a||a>(this.children_?this.children_.length:0))throw Error("$d");this.childIndex_&&this.children_||(this.childIndex_={},this.children_=[]);if((void 0).getParent()==this){var b=this.childIndex_,c=(void 0).getId();b[c]=void 0;va(this.children_)}else{b=this.childIndex_;c=(void 0).getId();if(null!==b&&c in b)throw Error("Q`"+c);b[c]=void 0}(void 0).setParent(this);uaa(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()};g.getContentElement=function(){return this.element_};
g.isRightToLeft=function(){null==this.rightToLeft_&&(this.rightToLeft_=DR(this.inDocument_?this.element_:this.dom_.document_.body));return this.rightToLeft_};g.hasChildren=function(){return!!this.children_&&0!=this.children_.length};var d8b=function(a,b){return a.childIndex_&&b?Cda(a.childIndex_,b)||null:null},Ajc=function(a,b){a.children_&&a.children_.forEach(b,void 0)};
ZS.prototype.removeChild=function(a,b){if(a){var c="string"===typeof a?a:a.getId();a=d8b(this,c);c&&a&&(ec(this.childIndex_,c),va(this.children_,a),b&&(a.exitDocument(),a.element_&&nB(a.element_)),a.setParent(null))}if(!a)throw Error("ae");return a};ZS.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};At(ASa,zSa);var Bjc=function(a){zSa.call(this,"visibility");this.visible=a};At(Bjc,zSa);var Cjc=qt(["//www-onepick-opensocial.googleusercontent.com/gadgets/js/rpc.js?c=1&container=onepick"]),Djc=qt(["//apis.google.com/js/rpc.js"]),Ejc=hh(Cjc),Fjc=hh(Djc),CSa=null;var $S=function(a){bp.call(this);this.element_=a;a=Hq?"focusout":"blur";this.listenKeyIn_=cp(this.element_,Hq?"focusin":"focus",this,!Hq);this.listenKeyOut_=cp(this.element_,a,this,!Hq)};At($S,bp);$S.prototype.handleEvent=function(a){var b=new YA(a.event_);b.type="focusin"==a.type||"focus"==a.type?"focusin":"focusout";this.dispatchEvent(b)};$S.prototype.disposeInternal=function(){$S.superClass_.disposeInternal.call(this);dB(this.listenKeyIn_);dB(this.listenKeyOut_);delete this.element_};var Gjc=new Map;Gjc.set("application/vnd.google-apps.document","application/vnd.google-gsuite.document-blob");Gjc.set("application/vnd.google-apps.spreadsheet","application/vnd.google-gsuite.spreadsheet-blob");Gjc.set("application/vnd.google-apps.presentation","application/vnd.google-gsuite.presentation-blob");var Hjc=new Set;Hjc.add("application/vnd.google-apps.kix");Hjc.add("application/vnd.google-apps.ritz");Hjc.add("application/vnd.google-apps.punch");var Sjc=function(a,b,c){var d=c&&xi(c,1);if(c){var e=xi(c,3);e=e&&JSON.parse(e)||{};c={0:xi(c,1),1:c.getLabel(),2:e}}else c={};switch(a[0].getId().getSourceId()){case 13:return Ijc(a,b,d,c);case 3:return Jjc(a,b,d,c);case 10:return Kjc(a,b,d,c);case 12:return Ljc(a,b);case 2:return Mjc(a,b,d,c);case 5:return Njc(a,b,d,c);case 9:return Ojc(a,b,d,c);case 6:return Pjc(a,b,d,c);case 25:return Qjc(a,b,d,c);case 1:return Pi(a[0],WLb,26)?Rjc(a,b,d,c):Kjc(a,b,d,c);default:return{}}},Pjc=function(a,b,c,d){a=
a.map(function(e){return{id:e.getId().getId(),serviceId:"youtube",name:e.getName(),description:e.getDescription(),type:aT(e),lastEditedUtc:vi(e,Xi,16).toDate().getTime(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",url:e.getUrl(),embedUrl:xi(e,13),thumbnails:bT(ku(e))}});return{action:b,docs:a,viewToken:d,view:c||"youtube",v2Translated:!0}},Mjc=function(a,b,c,d){var e=a.map(function(f){var h={id:f.getId().getId(),serviceId:"docs",mimeType:f.getMimeType(),name:f.getName(),
type:aT(f),lastEditedUtc:f.getLastModifiedTimestamp().toDate().getTime(),url:f.getUrl(),sizeBytes:HLb(f),description:f.getDescription(),iconUrl:f.getIconUrl(),thumbnails:bT(ku(f)),isShared:vi(f,lu,21).getShared(),downloadUrl:vi(f,lu,21).getDownloadUrl(),embedUrl:xi(f,13),copyable:Hi(vi(f,lu,21),9),resourceKey:xi(vi(f,lu,21),11)};Hi(vi(f,lu,21),12)&&(h.uploadState="success");if(vi(f,lu,21).hasVideoMetadata()){f=vi(f,lu,21).getVideoMetadata();if(Pi(f,Wk,2)){var k=f.getDuration().getSeconds()+f.getDuration().getNanos()/
1E9;h.duration=k}h.aspectRatio=pl(f,1)}return h});return{action:b,docs:e,viewToken:d,view:c||"all",extraUserInputs:Tjc(a),v2Translated:!0}},Njc=function(a,b,c,d){a=a.map(function(e){var f=vi(vi(e,dMb,15),eu,1);mq(e,10,eu,f);return{id:e.getId().getId(),serviceId:"web",mimeType:e.getMimeType(),name:e.getName(),type:aT(e),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:bT(ku(e))}});return{action:b,docs:a,viewToken:d,
view:c||"image-search",v2Translated:!0}},Ojc=function(a,b,c,d){a=a.map(function(e){return{serviceId:"url",name:ku(e)[0].getUrl().split("/").pop(),type:aT(e),mimeType:e.getMimeType(),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:bT(ku(e))}});return{action:b,docs:a,viewToken:d,view:c||"url",v2Translated:!0}},Rjc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),serviceId:"picasa",name:e.getName(),
type:aT(e),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:bT(ku(e))}});return{action:b,docs:a,viewToken:d,view:c||"webcam",v2Translated:!0}},Kjc=function(a,b,c,d){return{action:b,docs:a.map(Ujc),viewToken:d,view:Vjc(c||"upload",a),extraUserInputs:Tjc(a),v2Translated:!0}},Vjc=function(a,b){return b.some(function(c){var d;return 9===(null==(d=vi(c,hu,30))?void 0:Li(d,3,0))})?a+"/gmailphotos":a},Jjc=function(a,b,c,d){var e=a.map(function(f){var h=
{id:f.getId().getId(),serviceId:"picasa",mimeType:f.getMimeType(),name:f.getName(),type:aT(f),lastEditedUtc:f.getLastModifiedTimestamp().toDate().getTime(),url:f.getUrl(),sizeBytes:HLb(f),description:f.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:bT(ku(f)),mediaKey:f.getId().getId(),parentId:f.getParentId()},k;if(f=null==(k=vi(f,ZLb,18))?void 0:vi(k,YLb,3))h.latitude=pl(f,1),h.longitude=pl(f,2);return h});return{action:b,docs:e,viewToken:d,
view:c||"photos",extraUserInputs:Tjc(a),v2Translated:!0}},Ijc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),serviceId:"et",name:ku(e)[0].getUrl().split("/").pop(),description:e.getDescription(),type:"et",iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:bT(ku(e),"etjpg")}});return{action:b,docs:a,viewToken:d,view:c||"et",v2Translated:!0}},Qjc=function(a,b,c,d){a=a.map(function(e){var f=e.getId().getId(),h=d["2"];return{id:f,serviceId:"gmail_themes"!==
h.type&&"6226252643674576769"===h.parent?"picasa":"static_themes",name:e.getName(),mimeType:e.getMimeType(),type:aT(e),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",url:e.getUrl(),embedUrl:e.getUrl(),thumbnails:bT(ku(e))}});return{action:b,docs:a,viewToken:d,view:c||"photos",v2Translated:!0}},Ljc=function(a,b){a=a.map(function(c){var d=Yh(vi(c,gu,27),1)[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}},bT=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}})},Tjc=function(a){return{isAttachment:a.some(function(b){return Hi(b,31)})}},Ujc=function(a){var b={id:a.getId().getId(),
serviceId:Wjc(a),mimeType:a.getMimeType(),name:a.getName(),type:aT(a),sizeBytes:HLb(a),description:a.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:bT(ku(a)),isNew:!0},c=vi(a,hu,30);if(c){b.dataUrl=xi(c,1)||null;a:{var d=vi(a,hu,30);switch(Li(d,3,0)){case 9:d=ql(d,bMb,2,iu);d={remoteRefs:d&&xi(d,1)};break a;case 10:case 15:d=ql(d,aMb,4,iu);var e=ku(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&&ql(c,aMb,4,iu))&&(b.id=d.getPhotoId());(d=c&&ql(c,cMb,5,iu))&&(b.contentId=xi(d,1));(d=c&&ql(c,$Lb,6,iu))&&(b.contentId=xi(d,1));1===(null==c?void 0:Li(c,3,0))&&(b.mediaKey=a.getId().getId());return b},Wjc=function(a){var b;switch((null==(b=vi(a,hu,30))?void 0:Li(b,3,0))||0){case 1:return"picasa";case 2:case 3:case 4:case 8:case 12:return"photo";case 10:case 15:return"dragonflyphotos";
case 11:return"mapspro";case 13:return"books";case 14:return"cultural"}return null},aT=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 Xjc=function(a){this.obj_=a};g=Xjc.prototype;g.value=function(){return this.obj_};g.setWidth=function(a){this.obj_.width=a;return this};g.getWidth=function(){return this.obj_.width};g.setHeight=function(a){this.obj_.height=a;return this};g.getHeight=function(){return this.obj_.height};g.setStyle=function(a){this.obj_.style=a;return this};g.getStyle=function(){return this.obj_.style};var Yjc=function(a){this.obj_=a||{}};g=Yjc.prototype;g.value=function(){return this.obj_};g.setUrl=function(a){this.obj_.url=a;return this};g.getUrl=function(){return this.obj_.url};g.setStyle=function(a){this.obj_.style=a;return this};g.getStyle=function(){return this.obj_.style};g.setId=function(a){this.obj_.id=a;return this};g.getId=function(){return this.obj_.id};g.getContext=function(){return this.obj_.context};
var Zjc=function(a){a.obj_.attributes=a.obj_.attributes||{};return new Xjc(a.obj_.attributes)},qfc=function(a){return(a=a.obj_.timeout)?a:null};var $jc=function(){Yjc.apply(this,arguments)};Y($jc,Yjc);var akc=qt(["https://apis.google.com/js/api.js"]),bkc=hh(akc),fkc=function(a,b){var c=!1,d=ckc(a,b).then(function(f){c=!0;return f}),e=iWb(5E3).then(function(){return c?ckc(a,b):dkc(b).then(function(f){return ekc(f,a)})});return VVb([d,e])},ckc=function(a,b){return gkc(b).then(function(c){return ekc(c,a)})},ekc=function(a,b){var c=0==b.lastIndexOf("gapi.",0)?b.slice(5):b;return a[c]?tB(a[c]):new sB(function(d,e){var f=cq(function(){e(Error("be"))},3E4);a.load(b,{callback:function(){dq(f);d(a[c])},
onerror:function(h){dq(f);e(h)}})})},gkc=function(a){return a.gapi&&a.gapi.load?tB(a.gapi):dkc(a)},dkc=function(a){return WKa(bkc,{document:a.document}).then(function(){return a.gapi})},hkc=function(){};hkc.prototype.load=function(a,b){b=void 0===b?window:b;var c=Date.now();return fkc(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 ikc=function(){VA.call(this);this.gapiLoader_=new hkc;this.origin_=null;this.gapiPickerIframeResolver_=XVb();this.gapiIframesResolver_=XVb();this.gapiIframesResolver_.promise.then(null,function(){});this.gapiPickerIframeResolver_.promise.then(null,function(){});this.hostMessageHandlerInternal_={}};Y(ikc,VA);
var jkc=function(a,b){var c=Vo("gapi.iframes",b);return c?(a=Date.now(),tB({library:c,loadStartMs:a,loadEndMs:a})):a.gapiLoader_.load("gapi.iframes",b)},kkc=function(a,b,c,d,e,f){var h=!0;h=void 0===h?!1:h;jkc(a,mB(b.ownerDocument)).then(function(k){var q=k.library;a.gapiIframesResolver_.resolve(q);k=a.gapiPickerIframeResolver_;var t=k.resolve,w=h;w=void 0===w?!1:w;var y={};y["host-message-handler"]=c;a.hostMessageHandlerInternal_=y;var C=HC(d);C=HC(C);C=yC(xC(new hp,C.scheme_),C.getDomain()).setPort(C.getPort()).toString();
a.origin_=C;C=(new $jc).setUrl(d);C.obj_.where=b;C.obj_.allowPost=w;C.obj_.messageHandlers=y;w=Vo("makeWhiteListIframesFilter",q)([a.origin_]);C.obj_.messageHandlersFilter=w;null!=e&&C.setId(e);null!=f&&(C.obj_.rpctoken=f);Zjc(C).setStyle({display:"block","min-width":"100%",width:"1px"}).setHeight("100%");Zjc(C).value().allow="camera 'src' "+a.origin_;q=q.getContext().openChild(C.value());t.call(k,q)},function(k){a.gapiIframesResolver_.reject(k);a.gapiPickerIframeResolver_.reject(k)});return a.gapiPickerIframeResolver_.promise},
lkc=function(a,b){return UVb([a.gapiIframesResolver_.promise,a.gapiPickerIframeResolver_.promise]).then(function(c){var d=l(c);c=d.next().value;return(d=d.next().value)?d.send("picker-message-handler",b,void 0,Vo("makeWhiteListIframesFilter",c)([a.origin_])):QVb(Error("ce"))})};ikc.prototype.disposeInternal=function(){mkc(this);VA.prototype.disposeInternal.call(this)};var mkc=function(a){a.gapiPickerIframeResolver_.promise.then(function(b){b&&(b.unregister("host-message-handler"),delete a.hostMessageHandlerInternal_["host-message-handler"])})};var nkc=function(){this.nextId=0};nkc.prototype.getUniqueId=function(){return":"+(this.nextId++).toString(36)};var pkc=function(a,b){switch(a.action){case "select-contacts":a=okc(a.contacts);break;case "visibility":a=a.visible;a=(new ou).setCommand(7).setVisible(a);var c={};c["iframe-command"]=a.serialize();a=c;break;default:a=null}return a?lkc(b,a):tB()},okc=function(a){if(!a||0==a.length)return null;var b=new ou;b.setCommand(11);var c=new nkc;a.forEach(function(d){if(d.email){var e=(new Pt).setName(d.name?d.name:d.email);var f=new gu;d=Pb(f,1,tb,d.email);e=ej(e,gu,27,d).setId((new du).setId(c.getUniqueId()).setSourceId(12))}else e=
null;e&&b.addItem(e)});a={};a["iframe-command"]=b.serialize();return a};var cT=function(a,b,c){bp.call(this);this.target=a;this.handle=b||a;this.limits=c||new yR(NaN,NaN,NaN,NaN);this.document_=gB(a);this.eventHandler_=new Kq(this);WA(this,this.eventHandler_);this.deltaY=this.deltaX=this.startY=this.startX=this.screenY=this.screenX=this.clientY=this.clientX=0;this.dragging_=!1;cp(this.handle,["touchstart","mousedown"],this.startDrag,!1,this);this.useSetCapture_=qkc};At(cT,bp);
var qkc=da.document&&da.document.documentElement&&!!da.document.documentElement.setCapture&&!!da.document.releaseCapture;g=cT.prototype;g.getHandler=function(){return this.eventHandler_};g.disposeInternal=function(){cT.superClass_.disposeInternal.call(this);cB(this.handle,["touchstart","mousedown"],this.startDrag,!1,this);this.eventHandler_.removeAll();this.useSetCapture_&&this.document_.releaseCapture();this.handle=this.target=null};
g.startDrag=function(a){var b="mousedown"==a.type;if(this.dragging_||b&&(0!=a.event_.button||Nq&&a.ctrlKey))this.dispatchEvent("earlycancel");else if(this.dispatchEvent(new dT("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(mB(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=lB(ep(this.document_).document_)}};
g.endDrag=function(a,b){this.eventHandler_.removeAll();this.useSetCapture_&&this.document_.releaseCapture();this.dragging_?(this.dragging_=!1,this.dispatchEvent(new dT("end",this,a.clientX,a.clientY,a,rkc(this,this.deltaX),skc(this,this.deltaY),b||"touchcancel"==a.type))):this.dispatchEvent("earlycancel")};
g.handleMove_=function(a){var b=a.clientX-this.clientX,c=a.clientY-this.clientY;this.clientX=a.clientX;this.clientY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;if(!this.dragging_){var d=this.startX-this.clientX,e=this.startY-this.clientY;if(0<d*d+e*e)if(this.dispatchEvent(new dT("start",this,a.clientX,a.clientY,a)))this.dragging_=!0;else{this.isDisposed()||this.endDrag(a);return}}c=tkc(this,b,c);b=c.x;c=c.y;this.dragging_&&this.dispatchEvent(new dT("beforedrag",this,a.clientX,a.clientY,
a,b,c))&&(ukc(this,a,b,c),a.preventDefault())};var tkc=function(a,b,c){var d=lB(ep(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 Sq(rkc(a,a.deltaX),skc(a,a.deltaY))};cT.prototype.onScroll_=function(a){var b=tkc(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;ukc(this,a,b.x,b.y)};
var ukc=function(a,b,c,d){a.target.style.left=c+"px";a.target.style.top=d+"px";a.dispatchEvent(new dT("drag",a,b.clientX,b.clientY,b,c,d))},rkc=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))},skc=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))};cT.prototype.isDragging=function(){return this.dragging_};
var dT=function(a,b,c,d,e,f,h){XA.call(this,a);this.clientX=c;this.clientY=d;this.left=void 0!==f?f:b.deltaX;this.top=void 0!==h?h:b.deltaY};At(dT,XA);var eT=function(a){this.map_=new Map;var b=arguments.length;if(1<b){if(b%2)throw Error("R");for(var c=0;c<b;c+=2)this.set(arguments[c],arguments[c+1])}else a&&this.addAll(a)};g=eT.prototype;g.getCount=function(){return this.map_.size};g.getValues=function(){return Array.from(this.map_.values())};g.getKeys=function(){return Array.from(this.map_.keys())};g.containsKey=function(a){return this.map_.has(a)};g.containsValue=function(a){return this.getValues().some(function(b){return b==a})};
g.equals=function(a,b){var c=this;b=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))})};g.isEmpty=function(){return 0==this.map_.size};g.clear=function(){this.map_.clear()};g.remove=function(a){return this.map_.delete(a)};g.get=function(a,b){return this.map_.has(a)?this.map_.get(a):b};g.set=function(a,b){this.map_.set(a,b);return this};
g.addAll=function(a){if(a instanceof eT){a=l(a.map_);for(var b=a.next();!b.done;b=a.next()){var c=l(b.value);b=c.next().value;c=c.next().value;this.map_.set(b,c)}}else if(a)for(a=l(Object.entries(a)),b=a.next();!b.done;b=a.next())c=l(b.value),b=c.next().value,c=c.next().value,this.map_.set(b,c)};g.forEach=function(a,b){var c=this;b=void 0===b?this:b;this.map_.forEach(function(d,e){return a.call(b,d,e,c)})};g.clone=function(){return new eT(this)};(function(){for(var a=["ms","moz","webkit","o"],b,c=0;b=a[c]&&!da.requestAnimationFrame;++c)da.requestAnimationFrame=da[b+"RequestAnimationFrame"],da.cancelAnimationFrame=da[b+"CancelAnimationFrame"]||da[b+"CancelRequestAnimationFrame"];if(!da.requestAnimationFrame){var d=0;da.requestAnimationFrame=function(e){var f=(new Date).getTime(),h=Math.max(0,16-(f-d));d=f+h;return da.setTimeout(function(){e(f+h)},h)};da.cancelAnimationFrame||(da.cancelAnimationFrame=function(e){clearTimeout(e)})}})();
var vkc=[[],[]],wkc=0,xkc=!1,ykc=0,Akc=function(a,b){var c=ykc++,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,vkc[wkc].push(d));xkc||(xkc=!0,window.requestAnimationFrame(zkc))}},zkc=
function(){xkc=!1;var a=vkc[wkc],b=a.length;wkc=(wkc+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 Bkc=Hq?gh(kc(new jc(su,'javascript:""'))):gh(kc(new jc(su,"about:blank")));Sh(Bkc);var Ckc=Hq?gh(kc(new jc(su,'javascript:""'))):gh(kc(new jc(su,"javascript:undefined")));Sh(Ckc);var Dkc=function(a,b){this.element_=a;this.dom_=b};var fT=function(a,b){ZS.call(this,b);this.useIframeMask_=!!a;this.lastFocus_=null;this.resizeBackgroundTask_=Akc({mutate:this.resizeBackground_},this);Akc({mutate:this.updateModalAndBackground_},this)};At(fT,ZS);g=fT.prototype;g.focusHandler_=null;g.visible_=!1;g.bgEl_=null;g.bgIframeEl_=null;g.tabCatcherElement_=null;g.backwardTabWrapInProgress_=!1;g.getCssClass=function(){return"goog-modalpopup"};g.getBackgroundElement=function(){return this.bgEl_};
g.createDom=function(){fT.superClass_.createDom.call(this);var a=this.getElement();wR(a,ii(this.getCssClass()).split(" "));a.tabIndex=0;CR(a,!1);this.useIframeMask_&&!this.bgIframeEl_&&(a=this.getDomHelper().createDom("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"}),a.src=Sh(Bkc).toString(),this.bgIframeEl_=a,this.bgIframeEl_.className=this.getCssClass()+"-bg",CR(this.bgIframeEl_,!1),Agc(this.bgIframeEl_,0));this.bgEl_||(this.bgEl_=this.getDomHelper().createDom("DIV",this.getCssClass()+
"-bg"),CR(this.bgEl_,!1));this.tabCatcherElement_||(this.tabCatcherElement_=this.getDomHelper().createElement("SPAN"),CR(this.tabCatcherElement_,!1),this.tabCatcherElement_.tabIndex=0,this.tabCatcherElement_.style.position="absolute")};g.resetBackwardTabWrap_=function(){this.backwardTabWrapInProgress_=!1};
g.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);fT.superClass_.enterDocument.call(this);a=this.getElement();a.parentNode&&a.parentNode.insertBefore(this.tabCatcherElement_,a.nextSibling);this.focusHandler_=new $S(this.getDomHelper().document_);this.getHandler().listen(this.focusHandler_,"focusin",this.onFocus);Ekc(this,!1)};
g.exitDocument=function(){this.isVisible()&&this.setVisible(!1);Nh(this.focusHandler_);fT.superClass_.exitDocument.call(this);nB(this.bgIframeEl_);nB(this.bgEl_);nB(this.tabCatcherElement_)};
g.setVisible=function(a){if(a!=this.visible_)if(this.popupShowTransition_&&this.popupShowTransition_.stop(),this.bgShowTransition_&&this.bgShowTransition_.stop(),this.popupHideTransition_&&this.popupHideTransition_.stop(),this.bgHideTransition_&&this.bgHideTransition_.stop(),this.inDocument_&&Ekc(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_);Fkc(this,!0);this.focus();this.visible_=!0;if(this.popupShowTransition_&&this.bgShowTransition_)aB(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_)aB(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 Ekc=function(a,b){a.modalAriaVisibilityHelper_||(a.modalAriaVisibilityHelper_=new Dkc(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_||G1b(d,"hidden")||(RE(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}};
fT.prototype.updateModalAndBackground_=function(){this.resizeBackground_();this.reposition()};var Fkc=function(a,b){a.bgIframeEl_&&CR(a.bgIframeEl_,b);a.bgEl_&&CR(a.bgEl_,b);CR(a.getElement(),b);CR(a.tabCatcherElement_,b)};g=fT.prototype;g.onShow=function(){this.dispatchEvent("show")};g.onHide=function(){Fkc(this,!1);this.dispatchEvent("hide")};g.isVisible=function(){return this.visible_};g.focus=function(){this.focusElement_()};
g.resizeBackground_=function(){this.bgIframeEl_&&CR(this.bgIframeEl_,!1);this.bgEl_&&CR(this.bgEl_,!1);var a=this.getDomHelper().document_;var b=Gkc(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_&&(CR(this.bgIframeEl_,!0),zgc(this.bgIframeEl_,c,a));this.bgEl_&&(CR(this.bgEl_,!0),zgc(this.bgEl_,c,a))};
g.reposition=function(){if("fixed"==yp(this.getElement(),"position"))var a=0,b=0;else b=lB(this.getDomHelper().document_),a=b.x,b=b.y;var c=Uq(this.getElement());var d=Gkc(this);a=Math.max(a+d.width/2-c.width/2,0);b=Math.max(b+d.height/2-c.height/2,0);Vq(this.getElement(),a,b);Vq(this.tabCatcherElement_,a,b)};g.onFocus=function(a){this.backwardTabWrapInProgress_?this.resetBackwardTabWrap_():a.target==this.tabCatcherElement_&&cq(this.focusElement_,0,this)};
g.focusElement_=function(){try{Hq&&this.getDomHelper().document_.body.focus(),this.getElement().focus()}catch(a){}};var Gkc=function(a){a=a.getDomHelper().document_;return jB(mB(a)||window)};fT.prototype.disposeInternal=function(){Nh(this.popupShowTransition_);this.popupShowTransition_=null;Nh(this.popupHideTransition_);this.popupHideTransition_=null;Nh(this.bgShowTransition_);this.bgShowTransition_=null;Nh(this.bgHideTransition_);this.bgHideTransition_=null;fT.superClass_.disposeInternal.call(this)};var iT=function(a,b,c){fT.call(this,b,c);this.class_=a||"modal-dialog";this.buttons_=gT(gT(new hT,Hkc,!0),Ikc,!1,!0)};At(iT,fT);g=iT.prototype;g.escapeToCancel_=!0;g.hasTitleCloseButton_=!0;g.modal_=!0;g.backgroundElementOpacity_=.5;g.title_="";g.dragger_=null;g.disposeOnHide_=!1;g.titleEl_=null;g.titleTextEl_=null;g.titleTextId_=null;g.titleCloseEl_=null;g.contentEl_=null;g.buttonEl_=null;g.getCssClass=function(){return this.class_};
g.setTitle=function(a){this.title_=a;this.titleTextEl_&&pB(this.titleTextEl_,a)};g.getTitle=function(){return this.title_};g.getContent=function(){return""};g.getContentElement=function(){this.getElement()||this.render();return this.contentEl_};var Jkc=function(a){a.getElement()||a.render();return a.getElement()};iT.prototype.getBackgroundElement=function(){this.getElement()||this.render();return iT.superClass_.getBackgroundElement.call(this)};iT.prototype.handleDrag=function(){};
var Kkc=function(a,b){var c=ii(a.class_+"-title-draggable").split(" ");a.getElement()&&(b?wR(a.titleEl_,c):tgc(a.titleEl_,c));b&&!a.dragger_?(b=new cT(a.getElement(),a.titleEl_),a.dragger_=b,wR(a.titleEl_,c),cp(a.dragger_,"start",a.setDraggerLimits_,!1,a),cp(a.dragger_,"drag",a.handleDrag,!1,a)):!b&&a.dragger_&&(a.dragger_.dispose(),a.dragger_=null)};g=iT.prototype;
g.createDom=function(){iT.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"));tVb(a,this.titleEl_,this.contentEl_=b.createDom("DIV",{className:this.class_+"-content",id:c}),this.buttonEl_=
b.createDom("DIV",this.class_+"-buttons"));QE(this.titleTextEl_,"heading");QE(this.titleCloseEl_,"button");this.titleCloseEl_.tabIndex=0;H1b(this.titleCloseEl_,"Close");QE(a,"dialog");RE(a,"labelledby",this.titleTextId_||"");CR(this.titleCloseEl_,this.hasTitleCloseButton_);this.buttons_&&(a=this.buttons_,a.element_=this.buttonEl_,a.render());CR(this.buttonEl_,!!this.buttons_);this.backgroundElementOpacity_=this.backgroundElementOpacity_;this.getElement()&&(a=this.getBackgroundElement())&&Agc(a,this.backgroundElementOpacity_)};
g.enterDocument=function(){iT.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_);Kkc(this,!0);this.getHandler().listen(this.titleCloseEl_,"click",this.onTitleCloseClick_);var a=this.getElement();QE(a,"dialog");""!==this.titleTextEl_.id&&RE(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()&&Ekc(this,!1)}};g.exitDocument=function(){this.isVisible()&&this.setVisible(!1);Kkc(this,!1);iT.superClass_.exitDocument.call(this)};g.setVisible=function(a){a!=this.isVisible()&&(this.inDocument_||this.render(),iT.superClass_.setVisible.call(this,a))};g.onShow=function(){iT.superClass_.onShow.call(this);this.dispatchEvent("aftershow")};
g.onHide=function(){iT.superClass_.onHide.call(this);this.dispatchEvent("afterhide");this.disposeOnHide_&&this.dispose()};g.setDraggerLimits_=function(){var a=this.getDomHelper().document_,b=jB(mB(a)||window),c=Math.max(a.body.scrollWidth,b.width);a=Math.max(a.body.scrollHeight,b.height);var d=Uq(this.getElement());"fixed"==yp(this.getElement(),"position")?this.dragger_.limits=new yR(0,0,Math.max(0,b.width-d.width),Math.max(0,b.height-d.height)):this.dragger_.limits=new yR(0,0,c-d.width,a-d.height)};
g.onTitleCloseClick_=function(){Lkc(this)};var Lkc=function(a){if(a.hasTitleCloseButton_){var b=a.buttons_,c=b&&b.cancelButton_;c?(b=b.get(c),a.dispatchEvent(new jT(c,b))&&a.setVisible(!1)):a.setVisible(!1)}},Mkc=function(a){a.hasTitleCloseButton_=!1;a.titleCloseEl_&&CR(a.titleCloseEl_,a.hasTitleCloseButton_)};iT.prototype.setDisposeOnHide=function(a){this.disposeOnHide_=a};iT.prototype.disposeInternal=function(){this.buttonEl_=this.titleCloseEl_=null;iT.superClass_.disposeInternal.call(this)};
iT.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 jT(a,b))&&this.setVisible(!1)}};
iT.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 f=d&&d.cancelButton_;e="SELECT"==e.tagName&&!e.disabled;f&&!e?(c=!0,b=d.get(f),b=this.dispatchEvent(new jT(f,b))):e||(b=!0)}else{if(9==a.keyCode&&a.shiftKey&&e==this.getElement()){this.backwardTabWrapInProgress_=!0;try{this.tabCatcherElement_.focus()}catch(w){}cq(this.resetBackwardTabWrap_,0,this)}}else if(13==a.keyCode){if("BUTTON"==e.tagName&&!e.disabled)f=e.name;
else if(e==this.titleCloseEl_)Lkc(this);else if(d){var h=d.defaultButton_,k;if(k=h)a:{k=iB("BUTTON",d.element_);for(var q=0,t;t=k[q];q++)if(t.name==h||t.id==h){k=t;break a}k=null}e=("TEXTAREA"==e.tagName||"SELECT"==e.tagName||"A"==e.tagName)&&!e.disabled;!k||k.disabled||e||(f=h)}f&&d&&(c=!0,b=this.dispatchEvent(new jT(f,String(d.get(f)))))}else e!=this.titleCloseEl_||32!=a.keyCode&&" "!=a.key||Lkc(this);if(b||c)a.stopPropagation(),a.preventDefault();b&&this.setVisible(!1)};
var jT=function(a,b){this.type="dialogselect";this.key=a;this.caption=b};At(jT,XA);var hT=function(a){eT.call(this);this.dom_=a||ep();this.class_="goog-buttonset";this.cancelButton_=this.element_=this.defaultButton_=null};At(hT,eT);hT.prototype.clear=function(){eT.prototype.clear.call(this);this.defaultButton_=this.cancelButton_=null};hT.prototype.set=function(a,b,c,d){eT.prototype.set.call(this,a,b);c&&(this.defaultButton_=a);d&&(this.cancelButton_=a);return this};
var gT=function(a,b,c,d){return a.set(b.key,b.caption,c,d)};hT.prototype.render=function(){if(this.element_){LOa(this.element_,at);var a=ep(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)}};hT.prototype.getElement=function(){return this.element_};hT.prototype.getDomHelper=function(){return this.dom_};
var Hkc={key:"ok",caption:"OK"},Ikc={key:"cancel",caption:"Cancel"},Nkc={key:"yes",caption:"Yes"},Okc={key:"no",caption:"No"},Pkc={key:"save",caption:"Save"},Qkc={key:"continue",caption:"Continue"};"undefined"!=typeof document&&(gT(new hT,Hkc,!0,!0),gT(gT(new hT,Hkc,!0),Ikc,!1,!0),gT(gT(new hT,Nkc,!0),Okc,!1,!0),gT(gT(gT(new hT,Nkc),Okc,!0),Ikc,!1,!0),gT(gT(gT(new hT,Qkc),Pkc),Ikc,!0,!0));var Rkc=function(a,b,c){iT.call(this,a,b,c)};At(Rkc,iT);var kT=function(a,b){bp.call(this);this.element_=a;a=oB(this.element_)?this.element_:this.element_?this.element_.body:null;this.isRtl_=!!a&&DR(a);this.listenKey_=cp(this.element_,Dt?"DOMMouseScroll":"mousewheel",this,b)};At(kT,bp);
kT.prototype.handleEvent=function(a){var b=0,c=0,d=a.event_;"mousewheel"==d.type?(a=Skc(-d.wheelDelta),void 0!==d.wheelDeltaX?(b=Skc(-d.wheelDeltaX),c=Skc(-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 Tkc(a,d,b,c);this.dispatchEvent(b)};
var Skc=function(a){return Et&&(Nq||GKb)&&0!=a%40?a:a/40};kT.prototype.disposeInternal=function(){kT.superClass_.disposeInternal.call(this);dB(this.listenKey_);this.listenKey_=null};var Tkc=function(a,b,c,d){YA.call(this,b);this.type="mousewheel";this.detail=a;this.deltaX=c;this.deltaY=d};At(Tkc,YA);var Ukc;var Vkc=qt(["https://about:blank"]),Wkc=qt(['javascript:""']),Xkc=qt(["about:blank"]),lT=function(a,b,c,d,e,f,h,k,q){k=void 0===k?!1:k;q=void 0===q?!1:q;iT.call(this,f?f+" picker modal-dialog":"picker modal-dialog",!0,c);VWb(a,"protocol");this.iframeManager_=new ikc;this.targetId_=xu();this.rpcToken_=xu();this.useGapi_=!q&&!0;a=HC(a);FC(a,"hostId");k&&EC(a,"fv2","true");this.setUrl(a.toString());this.preferredDialogWidth_=d;this.preferredDialogHeight_=e;void 0!==d||void 0!==e?d=!0:(d=FC(HC(a.toString()),
"hostId"),Ukc||(Ukc=new Set("DocVerse fusiontables geo geowiki gm gmail-gadget gws hotpot jointly presentations pwa sites templates trix trix-copy-sheet webstore".split(" "))),d=!Ukc.has(d));this.autoSizeDialog_=d;this.gadgetsDomHelper_=h||this.getDomHelper();b&&(b="true"==FC(HC(this.url_),"grugl")?Fjc:Ejc,h=this.gadgetsDomHelper_,BSa(h)||(h=h||ep(document),d=h.createElement("SCRIPT"),Th(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):Bt(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()):LOa(this.buttonEl_,at),CR(this.buttonEl_,!!this.buttons_))};At(lT,Rkc);g=lT.prototype;g.url_="";g.iframe_=null;g.iframeLoaded_=!1;g.loadedFired_=!1;g.callback_=function(){};
g.enterDocument=function(){lT.superClass_.enterDocument.call(this);var a=this.getBackgroundElement(),b=this.getHandler(),c=new kT(a);WA(b,c);b.listen(c,"mousewheel",yt(FSa,void 0,a)).listen(a,"scroll",yt(FSa,void 0,a))};g.render=function(a){var b=this;lT.superClass_.render.call(this,a);this.useGapi_?jkc(this.iframeManager_,window).then(function(){return Ykc(b)}).then(null,function(c){return void b.handleError_(c)}):Zkc(this)};
var Ykc=function(a){var b=a.getDomHelper().createDom("div",["picker-dialog-content","picker-frame"]);CR(b,!1);a.getContentElement().appendChild(b);return kkc(a.iframeManager_,b,function(c){var d=gMb(c["iframe-command"]);switch(d.getCommand()){case 1:c=a.callback_;d=vi(d,eMb,2);var e="";switch(d.getStatus()){case 2:e="cancel";break;case 1:e="picked";break;case 3:e="error"}var f=d.getItemList();d=0===f.length?{action:e}:Sjc(f,e,d.getInternalOnlyV1ViewInfo());c.call(a,d);a.setVisible(!1);break;case 4:Mkc(a),
a.callback_({action:"loaded"})}},a.url_,a.targetId_,a.rpcToken_).then(function(c){a.iframe_=c.getIframeEl();$kc(a);CR(a.iframe_.parentElement,!0);rgc(a.getElement(),"picker-dialog");alc(a);return c})},Zkc=function(a){a.iframe_=a.dom_.createDom("IFRAME",{id:a.targetId_,name:a.targetId_,"class":"picker-frame",frameBorder:"0",allow:"camera"});dra(a.iframe_,blc(a));rgc(a.getElement(),"picker-dialog");a.getContentElement().appendChild(a.iframe_);a.getHandler().listen(a.iframe_,"load",function(){return void $kc(a)});
a.iframe_.src=a.url_;alc(a)},dlc=function(a){clc(a,yt(function(b){b.setAuthToken(this.targetId_,this.rpcToken_)},a))},alc=function(a){var b=FC(HC(a.url_),"title");b&&a.setTitle(b)},blc=function(a){return 7<=kaa()&&0==a.url_.lastIndexOf("https",0)?hh(Vkc):Hq?hh(Wkc):hh(Xkc)},$kc=function(a){dlc(a);a.iframeLoaded_=!0;a.iframe_.tabIndex=0;a.isVisible()&&a.focus()};lT.prototype.handleKeydown_=function(a){27==a.keyCode&&(this.setVisible(!1),this.callback_({action:"cancel"}),a.stopPropagation(),a.preventDefault())};
var clc=function(a,b){var c=a.gadgetsDomHelper_;DSa(function(){b(c.getWindow().gadgets.rpc)},c)};lT.prototype.setUrl=function(a){a=EC(new hp(a),"rpcService",this.targetId_);EC(a,"rpctoken",this.rpcToken_);AC(a,"rpctoken="+this.rpcToken_);xC(a,"https");this.url_=a.toString();this.iframe_&&(this.iframe_.src=this.url_)};lT.prototype.setAppId=function(a){this.appId_=a;this.loadedFired_&&elc(this)};
lT.prototype.setCallback=function(a){this.callback_=a;clc(this,yt(function(b){b.register(this.targetId_,yt(this.handlePickerAction_,this))},this))};lT.prototype.handlePickerAction_=function(a){var b=a.action;"loaded"==b&&(this.loadedFired_=!0,this.sendCommand(new Bjc(this.isVisible())),elc(this),Mkc(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 elc=function(a){a.appId_&&a.sendCommand(new ASa(a.appId_,window.location.protocol+"//"+window.location.host))};g=lT.prototype;g.setRelayUrl=function(a){clc(this,yt(function(b){b.setRelayUrl(this.targetId_,a)},this))};g.sendCommand=function(a){var b=this;this.useGapi_&&pkc(a,this.iframeManager_).then(null,function(c){return void b.handleError_(c)});clc(this,yt(function(c){c.call(this.targetId_,"picker",null,a)},this))};
g.resizePicker_=function(){var a=this.getDomHelper().document_;a=mB(a)||window;if("true"==FC(HC(this.url_),"ignoreLimits"))a=new eB(this.preferredDialogWidth_,this.preferredDialogHeight_);else if("true"==FC(HC(this.url_),"shadeDialog")){var b=Fgc(Jkc(this)),c=jB(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 eB(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=jB(a),c=.85*c.height);var d=Math.max(480,Math.min(650,c))}else c=jB(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=jB(a);b=Math.min(b,Math.max(c.width,320));d=Math.min(d,Math.max(c.height,480));a=new eB(b,d)}zgc(this.getContentElement(),a);this.reposition()};
g.reposition=function(){if("true"==FC(HC(this.url_),"shadeDialog")){var a=Uq(this.getElement()),b=jB(this.getDomHelper().getWindow());a=Math.floor(b.width/2-a.width/2);if(b=Fgc(Jkc(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=lB(this.getDomHelper().document_).y;Vq(this.getElement(),a,b)}else lT.superClass_.reposition.call(this)};
g.setVisible=function(a){if(a!=this.isVisible()&&this.autoSizeDialog_){var b=this.getDomHelper().getWindow();a?(this.resizePicker_(),this.getHandler().listen(b,"resize",this.resizePicker_),this.iframeLoaded_||this.getHandler().listen(b,"keydown",this.handleKeydown_)):(this.getHandler().unlisten(b,"resize",this.resizePicker_),this.iframeLoaded_||this.getHandler().unlisten(b,"keydown",this.handleKeydown_))}lT.superClass_.setVisible.call(this,a);this.sendCommand(new Bjc(a))};
g.focus=function(){lT.superClass_.focus.call(this);if(this.iframe_&&this.iframeLoaded_&&this.loadedFired_)try{this.iframe_.focus()}catch(a){}};g.handleError_=function(){this.callback_({action:"error"})};var mT=function(a,b){b=void 0===b?lT:b;xjc.call(this,a);this.pickerConstructor=b;this.urlParamMap_=new Map;this.urlParamMap_.set("protocol","gadgets");(a=window.location.origin)||(a=window.location.protocol+"//"+window.location.host);this.setOrigin(a);this.postProcessors_=[];this.gadgetsDomHelper_=void 0};Y(mT,yjc);mT.prototype.disposeOnHide_=!1;
mT.prototype.build=function(){this.urlParamMap_.get("parent")||this.setRelayUrl(AC(zC(HC(window.location.href)),"").setPath("/favicon.ico").toString());this.urlParamMap_.set("ifls",Date.now());if(this.urlParamMap_.get("minimal"))throw Error("de");var a=new this.pickerConstructor(flc(this).toString(),!0,this.getDomHelper(),this.dialogWidth_,this.dialogHeight_,"",this.gadgetsDomHelper_,!1,!1);a.setDisposeOnHide(this.disposeOnHide_);a.setAppId(this.appId_);a.setCallback(this.callback_);return a};
var glc=function(a,b){a.urlParamMap_.set(b,"true");return a};g=mT.prototype;g.getHeight=function(){return this.dialogHeight_};g.getLocale=function(){return this.urlParamMap_.get("hl")};g.getProtocol=function(){return this.urlParamMap_.get("protocol")};g.getTitle=function(){return this.urlParamMap_.get("title")};g.getWidth=function(){return this.dialogWidth_};g.setDisposeOnHide=function(a){this.disposeOnHide_=a};g.setGroupId=function(a){this.urlParamMap_.set("groupId",a)};
var hlc=function(a){a.urlParamMap_.set("hostId","buganizer-drive");return a};g=mT.prototype;g.setOrigin=function(a){a&&this.urlParamMap_.set("origin",a);return this};g.setLocale=function(a){this.urlParamMap_.set("hl",a);return this};g.setRelayUrl=function(a){this.urlParamMap_.set("parent",a)};g.setSize=function(a){this.dialogWidth_=a;this.dialogHeight_=void 0;return this};g.setTitle=function(a){this.urlParamMap_.set("title",a);return this};
var flc=function(a){a.postProcessors_.length&&a.urlParamMap_.set("pp",JSON.stringify(a.postProcessors_));a.urlParamMap_.set("nav",vjc(a.nav_));var b=new hp(a.getBaseUrl());a.urlParamMap_.forEach(function(c,d){EC(b,d,c)});return b};var nT=function(a,b){this.activeSession=a;this.attachmentsApi=b;this.disabled=!1;this.onPickDoc=new mv;this.onCloneBlob=new mv;this.onePickUrl=a.getOnePickUrl();this.onePickSecretToken=a.getOnePickSecretToken()};
nT.prototype.showDialog=function(){var a=this;if(!this.drivePicker){var b=window.location.origin||window.location.protocol+"//"+window.location.host;this.drivePicker=hlc(glc(glc(glc(glc((new mT(this.onePickUrl)).addView(qjc().setMode("list")),"navHidden"),"multiselectEnabled"),"edbe"),"showAttach").setCallback(function(c){if(c&&"picked"===c.action)for(var d=l(c.docs),e=d.next();!e.done;e=d.next())e=new njc(e.value),c.extraUserInputs.isAttachment?(e=new ojc(e),pjc(e,a.attachmentsApi),a.onCloneBlob.emit(e)):
a.onPickDoc.emit(e)}).setOrigin(b)).build()}this.drivePicker.setVisible(!0)};nT.\u0275fac=function(a){return new (a||nT)(B(nt),B(QO))};
nT.\u0275cmp=r({type:nT,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),Q("click",function(){return b.showDialog()}),L(2,"mat-icon",2),K()());a&2&&(A(1),G("disabled",
b.disabled))},dependencies:[MA,eA,dC],encapsulation:2});var oT=function(a,b,c){Z.call(this);this.window=b;this.scrolledOnScreenService=c;this.onAutoResize=new mv;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)};Y(oT,Z);oT.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.scrolledOnScreenService.getObservable(this.el,!0).subscribe(function(b){b&&ilc(a,0)}));this.autoResize&&this.subscriptions.add(this.autoResize.subscribe(function(){ilc(a,2)}))};oT.prototype.onInput=function(){ilc(this,1)};
var ilc=function(a,b){for(var c=a.window.getComputedStyle(a.el),d=l("width max-height min-height font-family text-decoration letter-spacing".split(" ")),e=d.next();!e.done;e=d.next())e=e.value,a.cloneEl.style.setProperty(e,c.getPropertyValue(e));a.cloneEl.value=a.el.value;d=a.window.getComputedStyle(a.cloneEl);c=a.cloneEl;c=zp(d.getPropertyValue("border-top-width"))+zp(d.getPropertyValue("padding-top"))+c.scrollHeight+zp(d.getPropertyValue("padding-bottom"))+zp(d.getPropertyValue("border-bottom-width"))+
24;Number.isNaN(c)||(e=zp(d.getPropertyValue("max-height")),d=zp(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})))};oT.prototype.ngOnDestroy=function(){this.cloneEl.parentElement&&this.cloneEl.parentElement.removeChild(this.cloneEl);Z.prototype.ngOnDestroy.call(this)};oT.\u0275fac=function(a){return new (a||oT)(B(Hd),B(ZF),B(YL))};
oT.\u0275dir=Vc({type:oT,selectors:[["textarea","autoResize",""]],hostBindings:function(a,b){a&1&&Q("input",function(){return b.onInput()})},inputs:{autoResize:"autoResize"},outputs:{onAutoResize:"onAutoResize"},features:[yf]});var jlc=["el"],pT=function(a,b,c){this.clipboard=a;this.snackBar=b;this.domSafe=c;this.opened=!1};pT.prototype.getNgContentParentEl=function(){return this.el.nativeElement};pT.prototype.hide=function(){this.opened=!1};pT.prototype.copyToClipboard=function(){this.clipboard.copy(this.originalHref);this.snackBar.open("URL copied","",{duration:2E3})};pT.\u0275fac=function(a){return new (a||pT)(B(TP),B(BG),B(lM))};
pT.\u0275cmp=r({type:pT,selectors:[["b-broken-link"]],viewQuery:function(a,b){a&1&&og(jlc,7);if(a&2){var c;ng(c=qg())&&(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&&(Vf(),H(0,"a",0,1),Q("click",function(d){d.preventDefault();d.stopPropagation();b.opened=!b.opened}),H(2,"b-glue"),L(3,"mat-icon",2),K(),H(4,"span",null,3),Wf(6),K()(),F(7,JSa,11,3,"ng-template",4));if(a&2){var c=S(1);A(7);G("cdkConnectedOverlayPush",
!0)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.opened)}},dependencies:[MA,qy,py,lN,VL,eA,dC],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 qT=function(){this.checked=!1};qT.\u0275fac=function(a){return new (a||qT)};qT.\u0275cmp=r({type:qT,selectors:[["b-checkbox-widget"]],inputs:{checked:"checked"},decls:1,vars:2,consts:[["gmat-checkbox","",3,"disabled","checked"]],template:function(a,b){a&1&&L(0,"mat-checkbox",0);a&2&&G("disabled",!0)("checked",b.checked)},dependencies:[eL],encapsulation:2,changeDetection:0});var klc=["el"],rT=function(a,b,c){Z.call(this);this.domSafe=a;this.clipboard=b;this.snackBar=c;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.opened=!1};Y(rT,Z);rT.\u0275dir=Z.\u0275dir;rT.prototype.ngOnInit=function(){};rT.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()})};rT.prototype.getNgContentParentEl=function(){return this.el.nativeElement};
var llc=function(a){var b=a.getNgContentParentEl(),c,d;if(d=HSa(b))a=a.originalHref,b=null!=(c=b.textContent)?c:"",d=b===a||a.startsWith("mailto:")&&a.substring(7)===b?!0:!1;return!d};rT.prototype.hide=function(){this.opened=!1};var LSa=function(a,b){ISa(b)||(b.preventDefault(),b.stopPropagation(),Ap(a.domSafe,a.href))};rT.prototype.copyToClipboard=function(){this.clipboard.copy(this.originalHref);this.snackBar.open("URL copied","",{duration:2E3})};
var NSa=function(a,b){b.preventDefault();if(a=a.cdkConnectedOverlay.overlayRef.overlayElement){var c=a.querySelector("a");c&&setTimeout(function(){c.focus()})}},MSa=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()})}};rT.\u0275fac=function(a){return new (a||rT)(B(lM),B(TP),B(BG))};
rT.\u0275cmp=r({type:rT,selectors:[["b-external-hyperlink-widget"]],viewQuery:function(a,b){a&1&&(og(klc,7),og(qy,7));if(a&2){var c;ng(c=qg())&&(b.el=c.first);ng(c=qg())&&(b.cdkConnectedOverlay=c.first)}},inputs:{originalHref:"originalHref",href:"href"},features:[yf],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&&(Vf(),H(0,"a",0,1),Q("click",function(d){ISa(d)||(d.preventDefault(),d.stopPropagation(),llc(b)?
b.opened=!b.opened:LSa(b,d))}),F(2,KSa,2,0,"b-glue",2),H(3,"span",null,3),Wf(5),K()(),F(6,OSa,6,3,"ng-template",4));if(a&2){var c=S(1);Jf("needs-user-confirm",llc(b));G("href",b.originalHref,Wd)("rel",b.EXTERNAL_LINK_REL);A(2);G("ngIf",llc(b));A(4);G("cdkConnectedOverlayPush",!0)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.opened)}},dependencies:[Uv,MA,qy,py,lN,VL,eA,dC],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 mlc=["child"],sT=function(a){this.codefont=a};sT.prototype.ngOnInit=function(){};sT.prototype.ngOnChanges=function(){GSa(this.child.nativeElement,this.content.content)};sT.\u0275fac=function(a){return new (a||sT)(B(nN))};
sT.\u0275cmp=r({type:sT,selectors:[["b-literal-format-presenter"]],viewQuery:function(a,b){a&1&&og(mlc,7);if(a&2){var c;ng(c=qg())&&(b.child=c.first)}},inputs:{content:"content"},features:[ld],decls:3,vars:4,consts:[[1,"type-m","child"],["child",""]],template:function(a,b){a&1&&(H(0,"div",0,1),W(2,"async"),K());a&2&&Jf("codefont",X(2,2,b.codefont.codefont$))},dependencies:[$v],styles:[".child[_ngcontent-%COMP%] { white-space: pre-wrap; }"],changeDetection:0});var tT=function(a,b){this.session=a;this.userPreferencesManager=b;this.textDisplayPreferences$=this.userPreferencesManager.preferences$.pipe(D(function(c){return c.textDisplayPreferences?c.textDisplayPreferences:{}}),Pe());this.textDisplayPreferences$.pipe(D(function(c){return c.lastPublishMode===VZb}),Pe());this.commentDisplayOverride$=this.textDisplayPreferences$.pipe(D(function(c){return c.commentDisplayOverride}),Pe())};tT.\u0275fac=function(a){return new (a||tT)(p(nt),p(LE))};
tT.\u0275prov=Dc({token:tT,factory:tT.\u0275fac,providedIn:"root"});var nlc=new bd("IssueCard");var uT=function(){};uT.prototype.visit=function(){};uT.\u0275fac=function(a){return new (a||uT)};uT.\u0275prov=Dc({token:uT,factory:uT.\u0275fac,providedIn:"root"});var olc=["el"],vT=function(a){this.viewContainerRef=a};vT.\u0275fac=function(a){return new (a||vT)(B(lg))};vT.\u0275dir=Vc({type:vT,selectors:[["","issueCardHost",""]]});var wT=function(a,b){Z.call(this);this.issueReferenceResolver=a;this.issueCard=b;this.hovercardReady=new E.ReplaySubject(1)};Y(wT,Z);wT.\u0275dir=Z.\u0275dir;wT.prototype.ngOnInit=function(){};
wT.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(Qe(),bf(a.destroyed$)).subscribe(a.hovercardReady),b.changeDetectorRef.detectChanges())})};
wT.prototype.visit=function(a){if(!ISa(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})}};wT.\u0275fac=function(a){return new (a||wT)(B(uT),B(nlc,8))};
wT.\u0275cmp=r({type:wT,selectors:[["b-issue-reference-widget"]],viewQuery:function(a,b){a&1&&(og(olc,7),og(vT,5));if(a&2){var c;ng(c=qg())&&(b.el=c.first);ng(c=qg())&&(b.issueCardHost=c)}},inputs:{href:"href",issueId:"issueId",commentNumber:"commentNumber"},features:[yf],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&&(Vf(),H(0,"onedev-hovercard",null,0),F(2,PSa,2,1,"div",1),K(),H(3,"a",2,3),Q("click",function(d){return b.visit(d)}),Wf(5),K());if(a&2){var c=S(1);A(3);G("onedevHovercardTrigger",c)("onedevHovercardActive",!!b.issueCard)("href",b.href,Wd)}},dependencies:[hK,iK,mK,jK,vT],encapsulation:2,changeDetection:0});var xT=function(){this.isMentioningMe=!1};xT.prototype.ngOnInit=function(){this.username=this.email.replace(/@google.com$/,"")};xT.\u0275fac=function(a){return new (a||xT)};
xT.\u0275cmp=r({type:xT,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),T(2),K(),H(3,"onedev-hovercard",null,2),L(5,"b-issue-person-card",3),K());if(a&2){var c=S(4);Jf("me",b.isMentioningMe);G("onedevHovercardTrigger",c);A(2);V("@",b.username,"");A(3);G("email",b.email)}},dependencies:[qP,hK,mK],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 plc=Symbol(),qlc=Symbol(),rlc=Symbol(),slc=Symbol(),tlc=Symbol(),ulc=Symbol(),yT=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=[]},xlc=function(a,b,c){for(var d=b.querySelectorAll("*"),e=0;e<d.length;e++){var f=d[e],h=f.dataset.bId;h&&(f.id=h)}d=l(b.querySelectorAll("a"));for(e=d.next();!e.done;e=
d.next())if(e=e.value,(h=e.getAttribute("href"))&&PIa(h)&&e&&HSa(e)&&h===e.textContent&&(f=e.nextSibling,vlc(a,e,h,void 0,c),h=void 0,null!=(h=f)&&h.textContent&&(h=f.textContent.match(/(^[^\w]+)/))))h=h[1],f.textContent=f.textContent.substring(h.length),f=document.createElement("span"),f.textContent=h,e.insertAdjacentElement("afterend",f);d=b.querySelectorAll("*[data-b-widget]");for(e=0;e<d.length;e++)switch(f=d[e],f.dataset.bWidget){case "image":h=a;var k=c,q=f.dataset.bImgSrc,t=f.dataset.bImgRedirectedSrc;
QSa(f);if(q){var w=f.dataset.bImgAlt;if(PIa(q))vlc(h,f,q,w,k,!0);else if(yD(h.flags.session,"enableMarkdownInlineImages"))f=h.createComponent(bM,f,k),k=f.instance,k.src=q,w&&(k.alt=w),h.secureImageRefs.push(f);else{var y=document.createElement("a");w?y.appendChild(document.createTextNode(w)):y.appendChild(document.createTextNode(q));f.appendChild(y);wlc(h,y,q,t||q,k)}}break;case "checkbox":h=a;w=c;q=null!=f.dataset.bCheckboxChecked;QSa(f);f=h.createComponent(qT,f,w);f.instance.checked=q;h.checkboxRefs.push(f);
break;case "url":h=a;q=c;w=f.dataset.bOriginalHref;k=f.dataset.bRedirectedHref;w&&k&&(f.removeAttribute("href"),wlc(h,f,w,k,q));break;case "broken-url":h=a;k=c;if(w=f.dataset.bOriginalHref){q=Array.from(f.childNodes);f=h.createComponent(pT,f,k);k=f.instance;k.originalHref=w;w=k.getNgContentParentEl();q=l(q);for(k=q.next();!k.done;k=q.next())w.appendChild(k.value);h.brokenLinkRefs.push(f)}break;case "mention":a.session.isInternalSession()&&(w=void 0,h=a,k=c,q="","@"===(null==(w=f.textContent)?void 0:
w[0])&&(q=f.textContent.slice(1)),QSa(f),f=h.createComponent(xT,f,k),w=f.instance,w.email=q,w.isMentioningMe=h.session.getUserEmail()===q,h.mentionChipRefs.push(f));break;case "issue-reference":y=void 0;h=a;var C=c;q=f.href;w=f.dataset.bIssueId;k=f.dataset.bCommentNumber;if(q&&w){t=Number(k);k=Array.from(f.childNodes);var J=document.createElement("span");null==(y=f.parentNode)||y.insertBefore(J,f);y=h.createComponent(wT,J,C);C=y.instance;C.href=q;C.issueId=w;C.commentNumber=t;q=C.el.nativeElement;
w=l(k);for(k=w.next();!k.done;k=w.next())q.appendChild(k.value);f.remove();h.issueReferenceRefs.push(y)}}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))};yT.prototype.ngOnDestroy=function(){ylc(this)};
var vlc=function(a,b,c,d,e,f){f=void 0===f?!1:f;var h=b;b instanceof HTMLAnchorElement&&(h=document.createElement("span"),b.insertAdjacentElement("afterend",h));b=a.createComponent(dM,h,e);e=b.instance;e.src=c;e.alt=d;e.isMarkdownImage=f;a.snipItImageRefs.push(b)},wlc=function(a,b,c,d,e){var f=Array.from(b.childNodes);b=a.createComponent(rT,b,e);e=b.instance;e.originalHref=c;e.href=d;c=e.getNgContentParentEl();f=l(f);for(d=f.next();!d.done;d=f.next())c.appendChild(d.value);a.externalHyperlinkRefs.push(b)};
yT.prototype.createComponent=function(a,b,c){c={environmentInjector:this.appRef.injector,elementInjector:c.injector};a=a[Sc]||null;var d=c.elementInjector||yfa();c=(new wg(a)).create(d,c.projectableNodes,c.hostElement,c.environmentInjector);b.appendChild(c.location.nativeElement);WOb(this.appRef,c.hostView);this.allComponentRefs.push(c);return c};
var ylc=function(a){for(var b=l(a.allComponentRefs),c=b.next();!c.done;c=b.next())c.value.destroy();a.allComponentRefs=[];a.secureImageRefs=[];a.snipItImageRefs=[];a.mentionChipRefs=[];a.checkboxRefs=[];a.externalHyperlinkRefs=[];a.brokenLinkRefs=[];a.issueReferenceRefs=[]};yT.prototype[plc]=function(){return this.secureImageRefs.slice()};yT.prototype[qlc]=function(){return this.snipItImageRefs.slice()};yT.prototype[rlc]=function(){return this.checkboxRefs.slice()};yT.prototype[slc]=function(){return this.externalHyperlinkRefs.slice()};
yT.prototype[tlc]=function(){return this.brokenLinkRefs.slice()};yT.prototype[ulc]=function(){return this.issueReferenceRefs.slice()};yT.\u0275fac=function(a){return new (a||yT)(p(Qv),p(tT),p(nt))};yT.\u0275prov=Dc({token:yT,factory:yT.\u0275fac});var zlc=["child"],Alc=Symbol(),zT=function(a,b,c){this.dynamicComponents=a;this.codefont=b;this.viewContainerRef=c};zT.prototype.ngOnInit=function(){};zT.prototype.ngOnChanges=function(){ylc(this.dynamicComponents);var a=this.child.nativeElement;GSa(a,this.content.content);xlc(this.dynamicComponents,a,this.viewContainerRef)};zT.prototype.ngOnDestroy=function(){ylc(this.dynamicComponents)};zT.prototype[Alc]=function(){return this.dynamicComponents};
zT.\u0275fac=function(a){return new (a||zT)(B(yT,2),B(nN),B(lg))};
zT.\u0275cmp=r({type:zT,selectors:[["b-markdown-format-presenter"]],viewQuery:function(a,b){a&1&&og(zlc,7);if(a&2){var c;ng(c=qg())&&(b.child=c.first)}},inputs:{content:"content"},features:[bg([{provide:yT,useClass:yT}]),ld],decls:3,vars:4,consts:[[1,"type-m","markdown-display"],["child",""]],template:function(a,b){a&1&&(H(0,"div",0,1),W(2,"async"),K());a&2&&Jf("codefont",X(2,2,b.codefont.codefont$))},dependencies:[$v],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 Blc=["child"],Clc=function(){return"[_nghost-%COMP%]     a:visited{color:#7627bb;color:var(--link-visited)}"},AT=function(a){this.codefont=a};AT.prototype.ngOnInit=function(){};AT.\u0275fac=function(a){return new (a||AT)(B(nN))};
AT.\u0275cmp=r({type:AT,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),W(1,"async"),F(2,RSa,2,1,"ng-container",1),K());a&2&&(Jf("codefont",X(1,3,b.codefont.codefont$)),A(2),G("ngForOf",b.content.plainSection))},dependencies:function(){return[Tv,BT,$v]},styles:[Clc()],changeDetection:0});var BT=function(){};BT.prototype.ngOnInit=function(){};
BT.\u0275fac=function(a){return new (a||BT)};BT.\u0275cmp=r({type:BT,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&&(M(0),F(1,SSa,1,1,"b-plain-format-quoted-section",0)(2,TSa,1,1,"b-plain-format-unquoted-section",0),N());a&2&&(A(1),G("ngIf",b.section.isQuoted),A(1),G("ngIf",!b.section.isQuoted))},dependencies:function(){return[Uv,CT,DT]},encapsulation:2,changeDetection:0});
var CT=function(){this.showQuote=!1;Dlc++;this.childId="plainFormatQuotedSection"+Dlc};CT.prototype.ngOnInit=function(){};CT.prototype.ngOnChanges=function(){USa(this)};var USa=function(a){var b=a.child.nativeElement;if(a.showQuote)GSa(b,a.section.content);else for(;b.lastChild;)b.lastChild.remove()};CT.\u0275fac=function(a){return new (a||CT)};
CT.\u0275cmp=r({type:CT,selectors:[["b-plain-format-quoted-section"]],viewQuery:function(a,b){a&1&&og(Blc,7);if(a&2){var c;ng(c=qg())&&(b.child=c.first)}},inputs:{section:"section"},features:[ld],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"),F(1,VSa,2,1,"a",0)(2,WSa,2,1,"a",1),L(3,"div",2,3),K());a&2&&(A(1),G("ngIf",!b.showQuote),A(1),G("ngIf",b.showQuote),A(1),G("id",b.childId))},dependencies:[Uv],styles:[Clc()],changeDetection:0});var Dlc=0,DT=function(a,b){this.dynamicComponents=a;this.viewContainerRef=b};DT.prototype.ngOnInit=function(){};
DT.prototype.ngOnChanges=function(){ylc(this.dynamicComponents);var a=this.child.nativeElement;GSa(a,this.section.content);xlc(this.dynamicComponents,a,this.viewContainerRef)};DT.\u0275fac=function(a){return new (a||DT)(B(yT,2),B(lg))};
DT.\u0275cmp=r({type:DT,selectors:[["b-plain-format-unquoted-section"]],viewQuery:function(a,b){a&1&&og(Blc,7);if(a&2){var c;ng(c=qg())&&(b.child=c.first)}},inputs:{section:"section"},features:[bg([{provide:yT,useClass:yT}]),ld],decls:2,vars:0,consts:[[1,"child"],["child",""]],template:function(a){a&1&&L(0,"div",0,1)},encapsulation:2,changeDetection:0});var ET=function(){};ET.prototype.ngOnInit=function(){};ET.\u0275fac=function(a){return new (a||ET)};
ET.\u0275cmp=r({type:ET,selectors:[["b-formatted-comment-presenter"]],inputs:{formattedComment:"formattedComment"},decls:3,vars:3,consts:[[4,"ngIf"],[3,"content"]],template:function(a,b){a&1&&F(0,XSa,2,1,"ng-container",0)(1,YSa,2,1,"ng-container",0)(2,ZSa,2,1,"ng-container",0);a&2&&(G("ngIf",b.formattedComment.literalFormat),A(1),G("ngIf",b.formattedComment.markdownFormat),A(1),G("ngIf",b.formattedComment.plainFormat))},dependencies:[Uv,sT,zT,AT],encapsulation:2,changeDetection:0});var FT=function(a){this.internalArray_=m(a,0,FT.messageId)};Y(FT,n);g=FT.prototype;g.getFormattingMode=function(){return Li(this,1,0)};g.setFormattingMode=function(a){return hj(this,1,a)};g.getSource=function(){return xi(this,2)};g.setSource=function(a){return gj(this,2,a)};g.hasSource=function(){return yi(this,2)};g.getSourceOrUndefined=function(){return $t(this,2)};g.getIssueId=function(){return Ui(this,3)};g.setIssueId=function(a){return nj(this,3,a)};g.getIdPrefix=function(){return xi(this,4)};
g.setIdPrefix=function(a){return gj(this,4,a)};g.setCurrentTrackerId=function(a){mj(this,7,a)};FT.messageId="b.FormatCommentRequest";var GT=function(a){this.internalArray_=m(a)};Y(GT,n);GT.prototype.getFormattedComment=function(){return vi(this,fn,1)};GT.prototype.hasFormattedComment=function(){return Pi(this,fn,1)};GT.prototype.getMentionsList=function(){return zi(this,gD,2)};GT.repeatedFields_=[2];var HT=function(a){this.internalArray_=m(a)};Y(HT,n);HT.prototype.getMentionedUser=function(){return vi(this,ri,1)};HT.prototype.getState=function(){return Li(this,2,0)};HT.prototype.setState=function(a){return hj(this,2,a)};HT.repeatedFields_=[3];var IT=function(a){this.internalArray_=m(a,0,IT.messageId)};Y(IT,n);g=IT.prototype;g.getFormattedComment=function(){return vi(this,en,1)};g.hasFormattedComment=function(){return Pi(this,en,1)};g.getMentionsList=function(){return zi(this,HT,2)};g.getIt=function(){return vi(this,GT,3)};g.setIt=function(a){return ej(this,GT,3,a)};g.hasIt=function(){return Pi(this,GT,3)};IT.repeatedFields_=[2];IT.messageId="b.FormatCommentResponse";var JT=function(a,b){this.executor=a;this.currentTrackerId=b};JT.prototype.format=function(a){return"LITERAL"===a.formattingMode||""===a.comment.trim()?$Sa(a):Elc(this,a).pipe(D(Bza))};var Elc=function(a,b){var c,d=(new FT).setSource(b.comment).setIssueId(null!=(c=fl(b.issueId))?c:0);b=hj(d,6,yZb[b.audience]).setFormattingMode(Ql(b.formattingMode)).setIdPrefix(b.idPrefix);(c=a.currentTrackerId.getTrackerId())&&b.setCurrentTrackerId(c);return a.executor.post({url:"action/formatComment",body:b,responseConstructor:IT})};
JT.\u0275fac=function(a){return new (a||JT)(p(SD),p($F))};JT.\u0275prov=Dc({token:JT,factory:JT.\u0275fac,providedIn:"root"});var KT=function(a){Z.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(Ne(200),af(function(c){return b.formatter.format(c).pipe(Flc,Le(function(){var d={literalFormat:{content:ch(c.comment)}};return(0,E.of)({formattedComment:d,isFallback:!0})}))}))};Y(KT,Z);KT.\u0275dir=Z.\u0275dir;
KT.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()})}))};KT.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()})};
KT.prototype.getIdPrefix=function(){return this.idPrefix||"b"+this.issueId+"-draft"};KT.\u0275fac=function(a){return new (a||KT)(B(JT))};
KT.\u0275cmp=r({type:KT,selectors:[["b-live-preview"]],inputs:{comment:"comment",comment$:"comment$",issueId:"issueId",audience:"audience",formattingMode:"formattingMode",idPrefix:"idPrefix"},features:[yf,ld],decls:2,vars:3,consts:[[4,"ngIf"],[1,"md-preview"],[3,"formattedComment"]],template:function(a,b){a&1&&(F(0,aTa,3,5,"ng-container",0),W(1,"async"));a&2&&G("ngIf",X(1,1,b.formattedResult$))},dependencies:[Uv,ET,$v],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 Flc=D(function(a){return{formattedComment:a,isFallback:!1}});var LT=function(a,b,c){Z.call(this);var d=this;this.prefs=a;this.flags=b;this.links=c;this.change=new mv;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})};Y(LT,Z);LT.\u0275dir=Z.\u0275dir;LT.prototype.ngOnInit=function(){this.checkedSubject.next("MARKDOWN"===this.initialValue)};LT.prototype.ngOnChanges=function(){null!=this.initialValue&&this.checkedSubject.next("MARKDOWN"===this.initialValue)};LT.prototype.save=function(a){a=Object.assign({},this.currentTextDisplayPreferences,a);this.prefs.save({textDisplayPreferences:a}).pipe(bf(this.destroyed$)).subscribe()};LT.\u0275fac=function(a){return new (a||LT)(B(LE),B(tT),B(lL))};
LT.\u0275cmp=r({type:LT,selectors:[["b-markdown-toggle"]],inputs:{initialValue:"initialValue"},outputs:{change:"change"},features:[yf,ld],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),Q("change",function(d){var e=b.currentCommentDisplayOverride;d=d.checked?VZb:e?e:WZb;b.save({lastPublishMode:d});b.change.emit(Ai(d))}),W(1,"async"),T(2," Markdown "),K(),F(3,bTa,2,2,"a",1));if(a&2){var c;G("checked",null!==(c=X(1,2,b.checkedSubject))&&void 0!==c?c:!1);A(3);G("ngIf",b.mdHelpLink)}},dependencies:[eL,Uv,MA,fA,dC,$v],
encapsulation:2,changeDetection:0});var MT=function(a,b){Z.call(this);var c=this;this.appEvents=b;this.init=new mv;this.FormattingMode=ZC;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:Oh(d.commentDisplayOverride)}})};
Y(MT,Z);MT.\u0275dir=Z.\u0275dir;MT.prototype.ngOnInit=function(){};MT.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)};MT.prototype.ngAfterViewInit=function(){this.appEvents.commentRendered.next([this.issueId,this.note.commentNumber]);this.init.next(this)};
MT.\u0275fac=function(a){return new (a||MT)(B(LE),B(lG))};
MT.\u0275cmp=r({type:MT,selectors:[["b-note-container"]],inputs:{note:"note",issueAccessLevel:"issueAccessLevel",formattingMode:"formattingMode",issueId:"issueId"},outputs:{init:"init"},features:[yf,ld],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),F(2,
cTa,1,1,"b-formatted-comment-presenter",2),K()(),F(3,dTa,1,5,"ng-template",null,3,tg));if(a&2){var c=S(4);A(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;G("ngIf",a)("ngIfElse",c)}},dependencies:[Uv,ET,KT],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 Glc=new bd("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(a){return{left:a?(a.offsetLeft||0)+"px":"0",width:a?(a.offsetWidth||0)+"px":"0"}}}});var Hlc=new bd("MatTabContent");var Ilc=new bd("MAT_TABS_CONFIG");Og({passive:!0});eTa(function(){});var Jlc=new bd("MatTabLabel"),Klc=new bd("MAT_TAB");var Llc=new bd("MAT_TAB_GROUP");eTa(function(){});var Mlc=ih("translateTab",[lh("center, void, left-origin-center, right-origin-center",kh({transform:"none"})),lh("left",kh({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),lh("right",kh({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),nh("* => left, * => right, left => center, right => center",jh("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),nh("void => left-origin-center",[kh({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),
jh("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),nh("void => right-origin-center",[kh({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),jh("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])]);var Nlc=function(a){return{animationDuration:a}},Olc=function(a,b){return{value:a,params:b}},NT=function(a,b,c,d){my.call(this,a,b,d);this._host=c;this._leavingSub=this._centeringSub=E.Subscription.EMPTY};Y(NT,my);
NT.prototype.ngOnInit=function(){var a=this;my.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()})};NT.prototype.ngOnDestroy=function(){my.prototype.ngOnDestroy.call(this);this._centeringSub.unsubscribe();this._leavingSub.unsubscribe()};
NT.\u0275fac=function(a){return new (a||NT)(B(Bu),B(lg),B(Jc(function(){return OT})),B(Xg))};NT.\u0275dir=Vc({type:NT,selectors:[["","matTabBodyHost",""]],features:[yf]});
var PT=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 mv;this._beforeCentering=new mv;this._afterLeavingCenter=new mv;this._onCentered=new mv(!0);this.animationDuration="500ms";this.preserveContent=!1;b&&(this._dirChangeSubscription=b.change.subscribe(function(e){d._computePositionAnimationState(e);c.markForCheck()}));this._translateTabComplete.pipe(Pe(function(e,f){return e.fromState===
f.fromState&&e.toState===f.toState})).subscribe(function(e){d._isCenterPosition(e.toState)&&d._isCenterPosition(d._position)&&d._onCentered.emit();d._isCenterPosition(e.fromState)&&!d._isCenterPosition(d._position)&&d._afterLeavingCenter.emit()})};g=PT.prototype;g.ngOnInit=function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))};g.ngOnDestroy=function(){this._dirChangeSubscription.unsubscribe();this._translateTabComplete.complete()};
g._onTranslateTabStarted=function(a){a=this._isCenterPosition(a.toState);this._beforeCentering.emit(a);a&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)};g._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"};g._isCenterPosition=function(a){return"center"==a||"left-origin-center"==a||"right-origin-center"==a};
g._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"};g._computePositionFromOrigin=function(a){var b=this._getLayoutDirection();return"ltr"==b&&0>=a||"rtl"==b&&0<a?"left-origin-center":"right-origin-center"};Gh.Object.defineProperties(PT.prototype,{position:{configurable:!0,enumerable:!0,set:function(a){this._positionIndex=a;this._computePositionAnimationState()}}});
PT.\u0275fac=function(a){return new (a||PT)(B(Hd),B(Nx,8),B(Fu))};PT.\u0275dir=Vc({type:PT,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}});var OT=function(a,b,c){PT.call(this,a,b,c)};Y(OT,PT);OT.\u0275dir=PT.\u0275dir;
OT.\u0275fac=function(a){return new (a||OT)(B(Hd),B(Nx,8),B(Fu))};
OT.\u0275cmp=r({type:OT,selectors:[["mat-tab-body"]],viewQuery:function(a,b){a&1&&og(my,5);if(a&2){var c;ng(c=qg())&&(b._portalHost=c.first)}},hostAttrs:[1,"mat-mdc-tab-body"],hostVars:1,hostBindings:function(a){a&2&&Af("mat-id-collision",null)},features:[yf],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),Q("@translateTab.start",function(c){return b._onTranslateTabStarted(c)})("@translateTab.done",
function(c){return b._translateTabComplete.next(c)}),F(2,gTa,0,0,"ng-template",2),K());a&2&&G("@translateTab",gg(3,Olc,b._position,fg(1,Nlc,b.animationDuration)))},dependencies:[NT],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:[Mlc]}});var QT=function(a){this.template=a};QT.\u0275fac=function(a){return new (a||QT)(B(kg))};QT.\u0275dir=Vc({type:QT,selectors:[["","matTabContent",""]],features:[bg([{provide:Hlc,useExisting:QT}])]});var Plc=Og({passive:!0}),RT=function(a,b,c,d,e,f,h){var k=this;this._elementRef=a;this._changeDetectorRef=b;this._viewportRuler=c;this._dir=d;this._ngZone=e;this._platform=f;this._animationMode=h;this._scrollDistance=0;this._selectedIndexChanged=!1;this._destroyed=new E.Subject;this._showPaginationControls=!1;this._disableScrollBefore=this._disableScrollAfter=!0;this._stopScrolling=new E.Subject;this._disablePagination=!1;this._selectedIndex=0;this.selectFocusedIndex=new mv;this.indexFocused=new mv;
e.runOutsideAngular(function(){(0,E.fromEvent)(a.nativeElement,"mouseleave").pipe(bf(k._destroyed)).subscribe(function(){k._stopInterval()})})};g=RT.prototype;g.ngAfterViewInit=function(){var a=this;(0,E.fromEvent)(this._previousPaginator.nativeElement,"touchstart",Plc).pipe(bf(this._destroyed)).subscribe(function(){a._handlePaginatorPress("before")});(0,E.fromEvent)(this._nextPaginator.nativeElement,"touchstart",Plc).pipe(bf(this._destroyed)).subscribe(function(){a._handlePaginatorPress("after")})};
g.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=wx(xx(Ax(zx(new Dx(this._items),this._getLayoutDirection()))),function(){return!1});Bx(this._keyManager,this._selectedIndex);this._ngZone.onStable.pipe(Qe()).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()})});zx(a._keyManager,a._getLayoutDirection())});this._keyManager.change.subscribe(function(e){a.indexFocused.emit(e);a._setTabFocus(e)})};
g._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),He(function(b){return b.some(function(c){return 0<c.contentRect.width&&0<c.contentRect.height})}))};
g.ngAfterContentChecked=function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck());this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck());this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())};
g.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._destroyed.next();this._destroyed.complete();this._stopScrolling.complete()};g._handleKeydown=function(a){if(!Mg(a))switch(a.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){var b=this._items.get(this.focusIndex);b&&!b.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(a))}break;default:this._keyManager.onKeydown(a)}};
g._onContentChanges=function(){var a=this,b=this._elementRef.nativeElement.textContent;b!==this._currentTextContent&&(this._currentTextContent=b||"",this._ngZone.run(function(){a.updatePagination();a._alignInkBarToSelectedTab();a._changeDetectorRef.markForCheck()}))};g.updatePagination=function(){this._checkPaginationEnabled();this._checkScrollingControls();this._updateTabScrollPosition()};g._isValidIndex=function(a){return this._items?!!this._items.toArray()[a]:!0};
g._setTabFocus=function(a){this._showPaginationControls&&this._scrollToLabel(a);this._items&&this._items.length&&(this._items.toArray()[a].focus(),a=this._tabListContainer.nativeElement,a.scrollLeft="ltr"==this._getLayoutDirection()?0:a.scrollWidth-a.offsetWidth)};g._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"};
g._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}};g._scrollHeader=function(a){return this._scrollTo(this._scrollDistance+("before"==a?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)};
g._handlePaginatorClick=function(a){this._stopInterval();this._scrollHeader(a)};
g._scrollToLabel=function(a){if(!this.disablePagination){var b=this._items?this._items.toArray()[a]:null;if(b){a=this._tabListContainer.nativeElement.offsetWidth;var c=b.elementRef.nativeElement;b=c.offsetLeft;var d=c.offsetWidth;"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))}}};
g._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}};
g._checkScrollingControls=function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())};g._getMaxScrollDistance=function(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0};
g._alignInkBarToSelectedTab=function(){var a=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null;(a=a?a.elementRef.nativeElement:null)?Qlc(this._inkBar,a):this._inkBar.hide()};g._stopInterval=function(){this._stopScrolling.next()};
g._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()}))};
g._scrollTo=function(a){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var b=this._getMaxScrollDistance();this._scrollDistance=Math.max(0,Math.min(b,a));this._scrollDistanceChanged=!0;this._checkScrollingControls();return{maxScrollDistance:b,distance:this._scrollDistance}};
Gh.Object.defineProperties(RT.prototype,{disablePagination:{configurable:!0,enumerable:!0,get:function(){return this._disablePagination},set:function(a){this._disablePagination=Sg(a)}},selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){a=Vg(a);this._selectedIndex!=a&&(this._selectedIndexChanged=!0,this._selectedIndex=a,this._keyManager&&Bx(this._keyManager,a))}},focusIndex:{configurable:!0,enumerable:!0,get:function(){return this._keyManager?this._keyManager.activeItemIndex:
0},set:function(a){this._isValidIndex(a)&&this.focusIndex!==a&&this._keyManager&&this._keyManager.setActiveItem(a)}},scrollDistance:{configurable:!0,enumerable:!0,get:function(){return this._scrollDistance},set:function(a){this._scrollTo(a)}}});RT.\u0275fac=function(a){return new (a||RT)(B(Hd),B(Fu),B(Sx),B(Nx,8),B(ef),B(Vw),B(Du,8))};RT.\u0275dir=Vc({type:RT,inputs:{disablePagination:"disablePagination"}});var Rlc=Jh(function(){}),ST=function(a){var b=Rlc.call(this)||this;b.elementRef=a;return b};Y(ST,Rlc);ST.prototype.focus=function(){this.elementRef.nativeElement.focus()};ST.\u0275fac=function(a){return new (a||ST)(B(Hd))};ST.\u0275dir=Vc({type:ST,features:[yf]});fTa(ST);var TT=function(a,b,c,d,e,f,h){RT.call(this,a,b,c,d,e,f,h);this._disableRipple=!1};Y(TT,RT);TT.prototype._itemSelected=function(a){a.preventDefault()};Gh.Object.defineProperties(TT.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(a){this._disableRipple=Sg(a)}}});TT.\u0275fac=function(a){return new (a||TT)(B(Hd),B(Fu),B(Sx),B(Nx,8),B(ef),B(Vw),B(Du,8))};TT.\u0275dir=Vc({type:TT,inputs:{disableRipple:"disableRipple"},features:[yf]});var UT=function(a,b,c){iy.call(this,a,b);this._closestTab=c};Y(UT,ly);UT.\u0275fac=function(a){return new (a||UT)(B(kg),B(lg),B(Klc,8))};UT.\u0275dir=Vc({type:UT,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[bg([{provide:Jlc,useExisting:UT}]),yf]});var Slc=Jh(function(){}),VT=function(a,b){var c=Slc.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};Y(VT,Slc);VT.prototype.ngOnChanges=function(a){(a.hasOwnProperty("textLabel")||a.hasOwnProperty("disabled"))&&this._stateChanges.next()};VT.prototype.ngOnDestroy=function(){this._stateChanges.complete()};
VT.prototype.ngOnInit=function(){this._contentPortal=new iy(this._explicitContent||this._implicitContent,this._viewContainerRef)};VT.prototype._setTemplateLabelInput=function(a){a&&a._closestTab===this&&(this._templateLabel=a)};Gh.Object.defineProperties(VT.prototype,{content:{configurable:!0,enumerable:!0,get:function(){return this._contentPortal}}});VT.\u0275fac=function(a){return new (a||VT)(B(lg),B(Llc,8))};
VT.\u0275dir=Vc({type:VT,viewQuery:function(a,b){a&1&&og(kg,7);if(a&2){var c;ng(c=qg())&&(b._implicitContent=c.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[yf,ld]});var Tlc=0,Ulc=Hh(Ih(function(a){this._elementRef=a}),"primary"),WT=function(a,b,c,d){a=Ulc.call(this,a)||this;a._changeDetectorRef=b;a._animationMode=d;a._tabs=new rg;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 mv;a.focusChange=new mv;a.animationDone=
new mv;a.selectedTabChange=new mv(!0);a._groupId=Tlc++;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};Y(WT,Ulc);g=WT.prototype;
g.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,f){return e.isActive=f===b});c||(a.selectedIndexChange.emit(b),a._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach(function(e,
f){e.position=f-b;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())};
g.ngAfterContentInit=function(){var a=this;this._subscribeToAllTabChanges();this._subscribeToTabLabels();this._tabsSubscription=this._tabs.changes.subscribe(function(){var b=a._clampTabIndex(a._indexToSelect);if(b===a._selectedIndex){for(var c=a._tabs.toArray(),d,e=0;e<c.length;e++)if(c[e].isActive){a._indexToSelect=a._selectedIndex=e;a._lastFocusedTabIndex=null;d=c[e];break}!d&&c[b]&&Promise.resolve().then(function(){c[b].isActive=!0;a.selectedTabChange.emit(a._createChangeEvent(b))})}a._changeDetectorRef.markForCheck()})};
g._subscribeToAllTabChanges=function(){var a=this;this._allTabs.changes.pipe($e(this._allTabs)).subscribe(function(b){a._tabs.reset(b.filter(function(c){return c._closestTabGroup===a||!c._closestTabGroup}));mg(a._tabs)})};g.ngOnDestroy=function(){this._tabs.destroy();this._tabsSubscription.unsubscribe();this._tabLabelSubscription.unsubscribe()};g.updatePagination=function(){this._tabHeader&&this._tabHeader.updatePagination()};g._focusChanged=function(a){this._lastFocusedTabIndex=a;this.focusChange.emit(this._createChangeEvent(a))};
g._createChangeEvent=function(a){var b=new Vlc;b.index=a;this._tabs&&this._tabs.length&&(b.tab=this._tabs.toArray()[a]);return b};g._subscribeToTabLabels=function(){var a=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe();this._tabLabelSubscription=E.merge.apply(null,u(this._tabs.map(function(b){return b._stateChanges}))).subscribe(function(){return a._changeDetectorRef.markForCheck()})};g._clampTabIndex=function(a){return Math.min(this._tabs.length-1,Math.max(a||0,0))};
g._getTabLabelId=function(a){return"mat-tab-label-"+this._groupId+"-"+a};g._getTabContentId=function(a){return"mat-tab-content-"+this._groupId+"-"+a};g._setTabBodyWrapperHeight=function(a){if(this._dynamicHeight&&this._tabBodyWrapperHeight){var b=this._tabBodyWrapper.nativeElement;b.style.height=this._tabBodyWrapperHeight+"px";this._tabBodyWrapper.nativeElement.offsetHeight&&(b.style.height=a+"px")}};
g._removeTabBodyWrapperHeight=function(){var a=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=a.clientHeight;a.style.height="";this.animationDone.emit()};g._handleClick=function(a,b,c){b.focusIndex=c;a.disabled||(this.selectedIndex=c)};g._getTabIndex=function(a){var b,c=null!=(b=this._lastFocusedTabIndex)?b:this.selectedIndex;return a===c?0:-1};g._tabFocusChanged=function(a,b){a&&"mouse"!==a&&"touch"!==a&&(this._tabHeader.focusIndex=b)};
Gh.Object.defineProperties(WT.prototype,{dynamicHeight:{configurable:!0,enumerable:!0,get:function(){return this._dynamicHeight},set:function(a){this._dynamicHeight=Sg(a)}},selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){this._indexToSelect=Vg(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=Vg(a,null)}},disablePagination:{configurable:!0,enumerable:!0,get:function(){return this._disablePagination},set:function(a){this._disablePagination=Sg(a)}},preserveContent:{configurable:!0,enumerable:!0,get:function(){return this._preserveContent},set:function(a){this._preserveContent=Sg(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}}});WT.\u0275fac=function(a){return new (a||WT)(B(Hd),B(Fu),B(Ilc,8),B(Du,8))};
WT.\u0275dir=Vc({type:WT,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:[yf]});var Vlc=function(){};var Wlc=Number.MAX_SAFE_INTEGER,XT=function(a,b,c,d,e,f,h){RT.call(this,a,d,e,b,c,f,h);this._disableRipple=!1;this.color="primary"};Y(XT,RT);XT.prototype._itemSelected=function(){};XT.prototype.ngAfterContentInit=function(){var a=this;this._items.changes.pipe($e(null),bf(this._destroyed)).subscribe(function(){Xlc(a)});RT.prototype.ngAfterContentInit.call(this)};
var Xlc=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()}};XT.prototype._getRole=function(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")};
Gh.Object.defineProperties(XT.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=Sg(a)}}});
XT.\u0275fac=function(a){return new (a||XT)(B(Hd),B(Nx,8),B(ef),B(Fu),B(Sx),B(Vw),B(Du,8))};XT.\u0275dir=Vc({type:XT,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[yf]});
var Ylc=Wpa(Ih(Jh(function(){}))),YT=function(a,b,c,d,e,f){var h=Ylc.call(this)||this;h._tabNavBar=a;h.elementRef=b;h._focusMonitor=e;h._isActive=!1;h.id="mat-tab-link-"+Wlc--;h.rippleConfig=c||{};h.tabIndex=parseInt(d)||0;"NoopAnimations"===f&&(h.rippleConfig.animation={enterDuration:0,exitDuration:0});return h};Y(YT,Ylc);g=YT.prototype;g.focus=function(){this.elementRef.nativeElement.focus()};g.ngAfterViewInit=function(){this._focusMonitor.monitor(this.elementRef)};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this.elementRef)};
g._handleFocus=function(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)};g._handleKeydown=function(a){!this.disabled||32!==a.keyCode&&13!==a.keyCode?this._tabNavBar.tabPanel&&32===a.keyCode&&this.elementRef.nativeElement.click():a.preventDefault()};g._getAriaControls=function(){var a;return this._tabNavBar.tabPanel?null==(a=this._tabNavBar.tabPanel)?void 0:a.id:this.elementRef.nativeElement.getAttribute("aria-controls")};
g._getAriaSelected=function(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")};g._getAriaCurrent=function(){return this.active&&!this._tabNavBar.tabPanel?"page":null};g._getRole=function(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")};g._getTabIndex=function(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex};
Gh.Object.defineProperties(YT.prototype,{active:{configurable:!0,enumerable:!0,get:function(){return this._isActive},set:function(a){a=Sg(a);a!==this._isActive&&(this._isActive=a,Xlc(this._tabNavBar))}},rippleDisabled:{configurable:!0,enumerable:!0,get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}}});YT.\u0275fac=function(a){return new (a||YT)(B(XT),B(Hd),B(rz,8),Bd("tabindex"),B(Yw),B(Du,8))};
YT.\u0275dir=Vc({type:YT,inputs:{active:"active",id:"id"},features:[yf]});fTa(YT);var ZT=function(a,b,c,d){this._elementRef=a;this._ngZone=b;this._inkBarPositioner=c;this._animationMode=d},Qlc=function(a,b){a.show();a._ngZone.run(function(){a._ngZone.onStable.pipe(Qe()).subscribe(function(){var c=a._inkBarPositioner(b),d=a._elementRef.nativeElement;d.style.left=c.left;d.style.width=c.width})})};ZT.prototype.show=function(){this._elementRef.nativeElement.style.visibility="visible"};ZT.prototype.hide=function(){this._elementRef.nativeElement.style.visibility="hidden"};
ZT.\u0275fac=function(a){return new (a||ZT)(B(Hd),B(ef),B(Glc),B(Du,8))};ZT.\u0275dir=Vc({type:ZT,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(a,b){a&2&&Jf("_mat-animation-noopable","NoopAnimations"===b._animationMode)}});var Zlc=function(a){return{animationDuration:a}},$lc=function(a,b){return{value:a,params:b}},$T=function(a,b,c,d){NT.call(this,a,b,c,d)};Y($T,NT);$T.\u0275fac=function(a){return new (a||$T)(B(Bu),B(lg),B(Jc(function(){return aU})),B(Xg))};$T.\u0275dir=Vc({type:$T,selectors:[["","matTabBodyHost",""]],features:[yf]});var aU=function(a,b,c){PT.call(this,a,b,c)};Y(aU,PT);aU.\u0275dir=PT.\u0275dir;aU.\u0275fac=function(a){return new (a||aU)(B(Hd),B(Nx,8),B(Fu))};
aU.\u0275cmp=r({type:aU,selectors:[["mat-tab-body"]],viewQuery:function(a,b){a&1&&og(my,5);if(a&2){var c;ng(c=qg())&&(b._portalHost=c.first)}},hostAttrs:[1,"mat-tab-body"],hostVars:1,hostBindings:function(a){a&2&&Af("mat-id-collision",null)},features:[yf],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(a,b){a&1&&(H(0,"div",0,1),Q("@translateTab.start",function(c){return b._onTranslateTabStarted(c)})("@translateTab.done",
function(c){return b._translateTabComplete.next(c)}),F(2,hTa,0,0,"ng-template",2),K());a&2&&G("@translateTab",gg(3,$lc,b._position,fg(1,Zlc,b.animationDuration)))},dependencies:[$T],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:[Mlc]}});var bU=function(){QT.apply(this,arguments)};Y(bU,QT);bU.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(bU)))(b||bU)}}();bU.\u0275dir=Vc({type:bU,selectors:[["","matTabContent",""]],features:[bg([{provide:Hlc,useExisting:bU}]),yf]});var cU=function(){return ST.apply(this,arguments)||this};Y(cU,ST);cU.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(cU)))(b||cU)}}();cU.\u0275dir=Vc({type:cU,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(a,b){a&2&&(Af("aria-disabled",!!b.disabled),Jf("mat-tab-disabled",b.disabled))},inputs:{disabled:"disabled"},features:[yf]});var amc=["tabListContainer"],bmc=["tabList"],cmc=["tabListInner"],dmc=["nextPaginator"],emc=["previousPaginator"],dU=function(a,b,c,d,e,f,h){TT.call(this,a,b,c,d,e,f,h)};Y(dU,TT);dU.\u0275dir=TT.\u0275dir;dU.\u0275fac=function(a){return new (a||dU)(B(Hd),B(Fu),B(Sx),B(Nx,8),B(ef),B(Vw),B(Du,8))};
dU.\u0275cmp=r({type:dU,selectors:[["mat-tab-header"]],contentQueries:function(a,b,c){a&1&&pg(c,cU,4);if(a&2){var d;ng(d=qg())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(og(ZT,7),og(amc,7),og(bmc,7),og(cmc,7),og(dmc,5),og(emc,5));if(a&2){var c;ng(c=qg())&&(b._inkBar=c.first);ng(c=qg())&&(b._tabListContainer=c.first);ng(c=qg())&&(b._tabList=c.first);ng(c=qg())&&(b._tabListInner=c.first);ng(c=qg())&&(b._nextPaginator=c.first);ng(c=qg())&&(b._previousPaginator=c.first)}},hostAttrs:[1,"mat-tab-header"],
hostVars:5,hostBindings:function(a,b){a&2&&(Af("mat-id-collision",null),Jf("mat-tab-header-pagination-controls-enabled",b._showPaginationControls)("mat-tab-header-rtl","rtl"==b._getLayoutDirection()))},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[yf],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&&(Vf(),H(0,"button",0,1),Q("click",function(){return b._handlePaginatorClick("before")})("mousedown",function(c){return b._handlePaginatorPress("before",c)})("touchend",function(){return b._stopInterval()}),L(2,"div",2),K(),H(3,"div",3,4),Q("keydown",function(c){return b._handleKeydown(c)}),H(5,"div",5,6),Q("cdkObserveContent",function(){return b._onContentChanges()}),H(7,"div",7,8),Wf(9),K(),L(10,"mat-ink-bar"),
K()(),H(11,"button",9,10),Q("mousedown",function(c){return b._handlePaginatorPress("after",c)})("click",function(){return b._handlePaginatorClick("after")})("touchend",function(){return b._stopInterval()}),L(13,"div",2),K());a&2&&(Jf("mat-tab-header-pagination-disabled",b._disableScrollBefore),G("matRippleDisabled",b._disableScrollBefore||b.disableRipple)("disabled",b._disableScrollBefore||null),A(5),Jf("_mat-animation-noopable","NoopAnimations"===b._animationMode),A(6),Jf("mat-tab-header-pagination-disabled",
b._disableScrollAfter),G("matRippleDisabled",b._disableScrollAfter||b.disableRipple)("disabled",b._disableScrollAfter||null))},dependencies:[sz,mx,ZT],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 eU=function(){var a=VT.apply(this,arguments)||this;a._explicitContent=void 0;return a};Y(eU,VT);eU.\u0275dir=VT.\u0275dir;Gh.Object.defineProperties(eU.prototype,{templateLabel:{configurable:!0,enumerable:!0,get:function(){return this._templateLabel},set:function(a){this._setTemplateLabelInput(a)}}});eU.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(eU)))(b||eU)}}();
eU.\u0275cmp=r({type:eU,selectors:[["mat-tab"]],contentQueries:function(a,b,c){a&1&&(pg(c,Jlc,5),pg(c,Hlc,7,kg));if(a&2){var d;ng(d=qg())&&(b.templateLabel=d.first);ng(d=qg())&&(b._explicitContent=d.first)}},hostVars:1,hostBindings:function(a){a&2&&Af("mat-id-collision",null)},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[bg([{provide:Klc,useExisting:eU}]),yf],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Vf(),F(0,iTa,1,0,"ng-template"))},encapsulation:2});var fmc=["tabBodyWrapper"],gmc=["tabHeader"],fU=function(a,b,c,d){return WT.call(this,a,b,c,d)||this};Y(fU,WT);fU.\u0275dir=WT.\u0275dir;fU.\u0275fac=function(a){return new (a||fU)(B(Hd),B(Fu),B(Ilc,8),B(Du,8))};
fU.\u0275cmp=r({type:fU,selectors:[["mat-tab-group"]],contentQueries:function(a,b,c){a&1&&pg(c,eU,5);if(a&2){var d;ng(d=qg())&&(b._allTabs=d)}},viewQuery:function(a,b){a&1&&(og(fmc,5),og(gmc,5));if(a&2){var c;ng(c=qg())&&(b._tabBodyWrapper=c.first);ng(c=qg())&&(b._tabHeader=c.first)}},hostAttrs:["ngSkipHydration","",1,"mat-tab-group"],hostVars:5,hostBindings:function(a,b){a&2&&(Af("mat-id-collision",null),Jf("mat-tab-group-dynamic-height",b.dynamicHeight)("mat-tab-group-inverted-header","below"===
b.headerPosition))},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[bg([{provide:Llc,useExisting:fU}]),yf],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),Q("indexFocused",function(c){return b._focusChanged(c)})("selectFocusedIndex",function(c){return b.selectedIndex=c}),F(2,mTa,5,15,"div",2),K(),H(3,"div",3,4),F(5,nTa,1,11,"mat-tab-body",5),K());a&2&&(G("selectedIndex",b.selectedIndex||0)("disableRipple",b.disableRipple)("disablePagination",
b.disablePagination),A(2),G("ngForOf",b._tabs),A(1),Jf("_mat-animation-noopable","NoopAnimations"===b._animationMode),A(2),G("ngForOf",b._tabs))},dependencies:[Sv,Tv,Uv,my,sz,$w,cU,aU,dU],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 gU=function(){UT.apply(this,arguments)};Y(gU,UT);gU.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(gU)))(b||gU)}}();gU.\u0275dir=Vc({type:gU,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[bg([{provide:Jlc,useExisting:gU}]),yf]});var hmc=["tabListContainer"],imc=["tabList"],jmc=["tabListInner"],kmc=["nextPaginator"],lmc=["previousPaginator"],hU=function(a,b,c,d,e,f,h){XT.call(this,a,b,c,d,e,f,h)};Y(hU,XT);hU.\u0275dir=XT.\u0275dir;hU.\u0275fac=function(a){return new (a||hU)(B(Hd),B(Nx,8),B(ef),B(Fu),B(Sx),B(Vw),B(Du,8))};
hU.\u0275cmp=r({type:hU,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(a,b,c){a&1&&pg(c,iU,5);if(a&2){var d;ng(d=qg())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(og(ZT,7),og(hmc,7),og(imc,7),og(jmc,7),og(kmc,5),og(lmc,5));if(a&2){var c;ng(c=qg())&&(b._inkBar=c.first);ng(c=qg())&&(b._tabListContainer=c.first);ng(c=qg())&&(b._tabList=c.first);ng(c=qg())&&(b._tabListInner=c.first);ng(c=qg())&&(b._nextPaginator=c.first);ng(c=qg())&&(b._previousPaginator=c.first)}},hostAttrs:[1,"mat-tab-nav-bar",
"mat-tab-header"],hostVars:12,hostBindings:function(a,b){a&2&&(Af("role",b._getRole())("mat-id-collision",null),Jf("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:[yf],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&&(Vf(),H(0,"button",0,1),Q("click",function(){return b._handlePaginatorClick("before")})("mousedown",function(c){return b._handlePaginatorPress("before",c)})("touchend",function(){return b._stopInterval()}),L(2,"div",2),K(),H(3,"div",3,4),Q("keydown",function(c){return b._handleKeydown(c)}),
H(5,"div",5,6),Q("cdkObserveContent",function(){return b._onContentChanges()}),H(7,"div",7,8),Wf(9),K(),L(10,"mat-ink-bar"),K()(),H(11,"button",9,10),Q("mousedown",function(c){return b._handlePaginatorPress("after",c)})("click",function(){return b._handlePaginatorClick("after")})("touchend",function(){return b._stopInterval()}),L(13,"div",2),K());a&2&&(Jf("mat-tab-header-pagination-disabled",b._disableScrollBefore),G("matRippleDisabled",b._disableScrollBefore||b.disableRipple)("disabled",b._disableScrollBefore||
null),A(5),Jf("_mat-animation-noopable","NoopAnimations"===b._animationMode),A(6),Jf("mat-tab-header-pagination-disabled",b._disableScrollAfter),G("matRippleDisabled",b._disableScrollAfter||b.disableRipple)("disabled",b._disableScrollAfter||null))},dependencies:[sz,mx,ZT],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 iU=function(a,b,c,d,e,f,h,k){a=YT.call(this,a,b,e,f,h,k)||this;a._tabLinkRipple=new VSb(a,c,b,d);YSb(a._tabLinkRipple,b.nativeElement);return a};Y(iU,YT);iU.prototype.ngOnDestroy=function(){YT.prototype.ngOnDestroy.call(this);this._tabLinkRipple._removeTriggerEvents()};iU.\u0275fac=function(a){return new (a||iU)(B(hU),B(Hd),B(ef),B(Vw),B(rz,8),Bd("tabindex"),B(Yw),B(Du,8))};
iU.\u0275dir=Vc({type:iU,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(a,b){a&1&&Q("focus",function(){return b._handleFocus()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(Af("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()),Jf("mat-tab-disabled",
b.disabled)("mat-tab-label-active",b.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[yf]});var jU=function(){};jU.\u0275fac=function(a){return new (a||jU)};jU.\u0275mod=Tc({type:jU});jU.\u0275inj=Ec({imports:[hw,jz,ny,uz,nx,px,jz]});var kU=function(){};kU.\u0275fac=function(a){return new (a||kU)};kU.\u0275mod=Tc({type:kU});kU.\u0275inj=Ec({imports:[hL,AG,zD,ry,mN,eM,KP,jU,kC,QC,vP,xP,UK]});var mmc=["textarea"],nmc=["hiddenInput"],omc=["autocompleteUnderlay"],pmc=Symbol(),lU=function(a,b,c){Z.call(this);this.codefont=a;this.activeSession=b;this.window=c;this.textareaClass=[];this.disabled=!1;this.contentChange=new mv;this.focus=new mv;this.blur=new mv;this.autoResize=new mv;this.manualResize$=new mv;this.autocompleteUserName="";this.scrollPosition=this.autocompleteLeft=this.autocompleteTop=0;this.taggingInProgress=!1;this.wordInfo={wordStart:0,wordEnd:0,word:""};this.textAreaLastAtSymbolLocation=
this.textAreaLastCursorLocation=0};Y(lU,Z);lU.\u0275dir=Z.\u0275dir;lU.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.codefont.codefont$.subscribe(function(b){b?Bp(a).classList.add("codefont"):Bp(a).classList.remove("codefont")}))};lU.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.focus.complete();this.blur.complete();this.manualResize$.complete()};lU.prototype.setValue=function(a){Bp(this).value!==a&&(Bp(this).value=a,this.manualResize$.next())};
lU.prototype.getValue=function(){return Bp(this).value};var Bp=function(a){return a.textareaRef.nativeElement},Cp=function(a){var b;return null==(b=a.hiddenInputRef)?void 0:b.nativeElement},oTa=function(a){return a.activeSession.isInternalSession()&&"INTERNAL_AUDIENCE"===a.audience},qmc=function(a){var b;return null==(b=a.autocompleteUnderlayRef)?void 0:b.nativeElement},rmc=function(a){var b=Bp(a).selectionStart;a.wordInfo=a.findWord(a.getValue(),b)};
lU.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 smc=function(a){return"ArrowDown"===a.key||"ArrowUp"===a.key||"Enter"===a.key||"Escape"===a.key||"Tab"===a.key},tmc=function(a){var b=qmc(a);a=Bp(a);b&&a&&(b.scrollTop=a.scrollTop)},pTa=function(a){a.taggingInProgress=!1;a.autocompleteUserName=""},qTa=function(a,b){b=void 0===b?!1:b;var c=Bp(a),d=Bp(a).value,e,f=null==(e=Cp(a))?void 0:e.value;e=null==f?void 0:f.length;rmc(a);var h=a.wordInfo.word,k=d.slice(0,a.textAreaLastAtSymbolLocation+1);d=h.slice(1)===f?d.slice(a.textAreaLastAtSymbolLocation+
f.length+1):d.slice(a.textAreaLastCursorLocation);e&&(a.textAreaLastCursorLocation=k.length+e);b?(b=k+f+" "+d,a.textAreaLastCursorLocation+=1):b=k+f+d;c.value=b};lU.prototype[pmc]=function(){return this.findWord};lU.\u0275fac=function(a){return new (a||lU)(B(nN),B(nt),B(ZF))};
lU.\u0275cmp=r({type:lU,selectors:[["b-comment-draft-textarea"]],viewQuery:function(a,b){a&1&&(og(mmc,7),og(nmc,5),og(omc,5));if(a&2){var c;ng(c=qg())&&(b.textareaRef=c.first);ng(c=qg())&&(b.hiddenInputRef=c.first);ng(c=qg())&&(b.autocompleteUnderlayRef=c.first)}},hostBindings:function(a,b){a&1&&Q("click",function(){pTa(b)},!1,Rga)("keyup",function(c){var d=c.key;c=c.target.classList.contains("autocomplete-hidden-input");"Escape"===d&&c&&(pTa(b),Bp(b).focus())},!1,Rga)},inputs:{textareaClass:"textareaClass",
disabled:"disabled",placeholder:"placeholder",idForAriaLabel:"idForAriaLabel",audience:"audience"},outputs:{contentChange:"contentChange",focus:"focus",blur:"blur",autoResize:"autoResize"},features:[yf],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),Q("keydown",function(c){"Escape"===c.key&&(pTa(b),Bp(b).focus())}),H(2,"textarea",2,3),Q("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(oTa(b)&&smc(c)&&b.taggingInProgress){null==c||c.preventDefault();var d;null==(d=Cp(b))||d.focus();d=c.code;var e=c.key,f=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:f,which:"Enter"===e?9:h});var k;null==(k=Cp(b))||k.dispatchEvent(c)}})("keyup",function(c){if(oTa(b)){var d=Bp(b),e=null==d?void 0:d.value;b.textAreaLastCursorLocation=d.selectionStart;b.textAreaLastAtSymbolLocation=e.slice(0,b.textAreaLastCursorLocation).lastIndexOf("@");if(!smc(c)){c=c.target;b.scrollPosition=c.scrollTop;rmc(b);var f=b.wordInfo.word;d="@"===f;e=f.startsWith("@");var h=f.slice(f.length-
1).match(/[a-z]/i);f=zBa.test(f.slice(1));if(d||e&&h&&!f){c=c.selectionStart;if(!b.taggingInProgress){if(d=qmc(b)){d.textContent=b.getValue();e=qmc(b);h=Bp(b);f="height width font-family margin line-height padding border".split(" ");if(e&&h){h=b.window.getComputedStyle(h);f=l(f);for(var k=f.next();!k.done;k=f.next()){k=k.value;var q=h.getPropertyValue(k);e.style.setProperty(k,q)}}tmc(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 t;null==(t=Cp(b))||t.dispatchEvent(new KeyboardEvent("keydown"))}}}})("scroll",function(){return tmc(b)}),K(),H(4,"span",4),F(5,rTa,2,1,"input",5),K(),F(6,sTa,2,0,"div",6),K());a&2&&(A(2),G("autoResize",b.manualResize$)("ngClass",
b.textareaClass)("disabled",b.disabled),Af("placeholder",b.placeholder)("id",b.idForAriaLabel),A(2),If("top",b.autocompleteTop+"px")("left",b.autocompleteLeft+"px"),A(1),G("ngIf",b.taggingInProgress),A(1),G("ngIf",oTa(b)))},dependencies:[Sv,Uv,KR,oT],styles:["textarea.banned-words-warning[_ngcontent-%COMP%]{border-color:#c5221f;border-color:var(--bad-gfx)}/*# sourceMappingURL=comment_draft_textarea.css.map */"],changeDetection:0});var umc=function(a){return{"draft-markdown":a}},mU=function(a,b,c){Z.call(this);var d=this;this.cdr=a;this.ref=b;this.events=c;this.previewDisabled=!1;this.selectedIndex=0;this.onCommentSubmitted=function(){d.matTabGroup.selectedIndex=0};this.render=function(){var e=d.matTabGroup;e._tabHeader&&e._tabHeader._alignInkBarToSelectedTab();d.cdr.markForCheck()}};Y(mU,Z);mU.\u0275dir=Z.\u0275dir;mU.prototype.ngOnInit=function(){this.subscriptions.add(this.events.commentSubmitted.subscribe(this.onCommentSubmitted))};
mU.prototype.synchronizeHeight=function(a){this.ref.nativeElement.querySelector("mat-tab-group").style.height=a+56+"px"};mU.\u0275fac=function(a){return new (a||mU)(B(XD,2),B(Hd),B(lG))};
mU.\u0275cmp=r({type:mU,selectors:[["b-comment-draft-tab-group"]],viewQuery:function(a,b){a&1&&og(fU,7);if(a&2){var c;ng(c=qg())&&(b.matTabGroup=c.first)}},inputs:{editArea:"editArea",previewArea:"previewArea",previewDisabled:"previewDisabled"},features:[bg([XD]),yf],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),Q("animationDone",function(){setTimeout(b.render,2E3)})("selectedIndexChange",function(c){return b.selectedIndex=c}),H(1,"mat-tab",1),F(2,tTa,1,0,"ng-container",2),K(),H(3,"mat-tab",3),F(4,uTa,1,0,"ng-container",2),K()());a&2&&(G("dynamicHeight",!1)("selectedIndex",b.selectedIndex),A(2),G("ngTemplateOutlet",b.editArea),A(1),G("disabled",b.previewDisabled),A(1),G("ngTemplateOutlet",b.previewArea))},dependencies:[Zv,fU,eU],styles:["[_nghost-%COMP%]     mat-tab-header{margin-left:8px;margin-bottom:16px}/*# sourceMappingURL=comment_draft_tab_group.css.map */"],
changeDetection:0});var nU=function(a,b,c,d){Z.call(this);this.codefont=a;this.ngZone=b;this.prefs=c;this.hotkeys=d;this.isMarkdown$=this.prefs.lastPublishMode$.pipe(D(function(e){return e===VZb}));this.idPrefix="b-draft";this.content="";this.textareaClass=[];this.disabled=!1;this.audience="EXTERNAL_AUDIENCE";this.init=new mv;this.contentChange=new mv;this.focus=new mv;this.blur=new mv;this.autoResize=new mv;this.onSubmit=new mv};Y(nU,Z);nU.\u0275dir=Z.\u0275dir;
nU.prototype.ngOnChanges=function(){this.commentDraftTextarea&&this.commentDraftTextarea.setValue(this.content)};
nU.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 vmc=function(a){a.ngZone.run(function(){if(a.commentDraftTabGroup){var b=a.commentDraftTabGroup;b.selectedIndex=0;b.render()}a.commentDraftTextarea&&Bp(a.commentDraftTextarea).focus()})};nU.prototype.synchronizeHeight=function(a){this.commentDraftTabGroup&&this.commentDraftTabGroup.synchronizeHeight(a.newHeight)};nU.\u0275fac=function(a){return new (a||nU)(B(nN),B(ef),B(LE),B(TE))};
nU.\u0275cmp=r({type:nU,selectors:[["b-comment-draft"]],viewQuery:function(a,b){a&1&&(og(lU,5),og(mU,5));if(a&2){var c;ng(c=qg())&&(b.commentDraftTextarea=c.first);ng(c=qg())&&(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:[yf,
ld],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),Q("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()}),W(1,"async"),K());a&2&&G("textareaClass",b.textareaClass)("ngClass",
fg(8,umc,X(1,6,b.isMarkdown$)))("disabled",b.disabled)("placeholder",b.placeholder)("idForAriaLabel",b.idForAriaLabel)("audience",b.audience)},dependencies:[Sv,lU,$v],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 oU=function(){};oU.\u0275fac=function(a){return new (a||oU)};oU.\u0275mod=Tc({type:oU});oU.\u0275inj=Ec({imports:[hL,zD,LR,Tw,ry,mN,eM,KP,jU,kC,QC]});var pU=function(a,b,c){Z.call(this);this.issueDetailsBrain=a;this.userResources=b;this.analytics=c;this.isPlusOneText=!1;this.onSubmitComment=new mv};Y(pU,Z);pU.\u0275dir=Z.\u0275dir;pU.prototype.ngOnChanges=function(a){a.isPlusOneText&&this.isPlusOneText&&this.analytics.trackEvent(Kp.EDIT_ISSUE,"view","commentAndVoteBanner")};
pU.prototype.onClick=function(){var a=Dk(this.issueDetailsBrain.id$);this.onSubmitComment.emit();null!=a&&(A3b(this.userResources,a,{voted:!0,starred:null,notificationSubscription:null}).pipe(bf(this.destroyed$)).subscribe(),this.analytics.trackEvent(Kp.EDIT_ISSUE,"click","commentAndVote"))};pU.\u0275fac=function(a){return new (a||pU)(B(eP),B(RH),B(aI))};
pU.\u0275cmp=r({type:pU,selectors:[["b-plus-one-comment-callout"]],inputs:{isPlusOneText:"isPlusOneText"},outputs:{onSubmitComment:"onSubmitComment"},features:[yf,ld],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&&F(0,vTa,7,1,"div",0);a&2&&G("ngIf",b.isPlusOneText)},dependencies:[Uv,MA,eA,dC],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 wmc=["commentBoxContainer"],xmc=[[["","warning",""]],[["","recaptchaContainer",""]],[["","additionalToolbarItems",""]]],ymc=function(a){return{focused:a}},zmc=function(a,b){return[a,b]},qU=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 mv;this.warn=this.disabled=this.supportsPreview=!1;this.showToolbar=!0;this.attachmentsDisabled=!1;this.showRestrictionOptions=!0;this.isPlusOneCalloutEnabled=
!1;this.onPlusOneTextEntered=new mv;this.onChange=new mv;this.onFocusEvent=new mv;this.onSubmit=new mv;this.onRestrict=new mv;this.focused=!1;this.commentRebound$=new E.ReplaySubject(1);this.destroyed$=new E.ReplaySubject(1);this.createRestrictedResourcesComponentIds=this.activeSession.getCreateRestrictedSubresourcesComponentIds()};g=qU.prototype;g.ngOnDestroy=function(){var a;null==(a=this.comment)||xac(a);this.destroyed$.next()};
g.ngOnInit=function(){var a=this;this.appEvents.focusCommentBox.pipe(bf(this.destroyed$)).subscribe(function(b){Osb(a,b)});this.appEvents.scrollToCommentBox.pipe(bf(this.destroyed$)).subscribe(function(){a.scrollIntoView()})};g.ngOnChanges=function(a){a.comment&&this.commentRebound$.next()};g.getRestrictedLabel=function(){var a,b,c=null!=(b=null==(a=this.judgementForNewContent)?void 0:a.severity)?b:"NONE_DETECTED";return Uya(c)};
g.isRestricted=function(){var a,b;return"NONE_DETECTED"!==(null!=(b=null==(a=this.judgementForNewContent)?void 0:a.severity)?b:"NONE_DETECTED")};var Osb=function(a,b){(b=void 0===b?"":b)&&a.analytics.trackEvent("commentBox","takeFocus",b);a.scrollIntoView();setTimeout(function(){var c;null==(c=a.commentDraftComponent)||vmc(c)})};g=qU.prototype;g.uploadFile=function(a){a=this.attachmentUploader.upload(a);this.addUpload(a)};g.addUpload=function(a){this.comment&&this.comment.uploads.push(a)};
g.removeUpload=function(a){this.comment&&va(this.comment.uploads,a)};g.scrollIntoView=function(){var a;null==(a=this.commentBoxContainer)||a.nativeElement.scrollIntoView({behavior:"smooth"})};g.onFocus=function(){this.focused=!0;this.onFocusEvent.emit()};g.onBlur=function(){this.focused=!1};g.onKeydown=function(a){this.hotkeys.isEnabled()&&("Enter"!==a.key||!a.ctrlKey&&!a.metaKey||this.disabled||this.onSubmit.emit(a))};qU.\u0275fac=function(a){return new (a||qU)(B(aI),B(TE),B(nt),B(lG),B(SG))};
qU.\u0275cmp=r({type:qU,selectors:[["b-comment-box"]],viewQuery:function(a,b){a&1&&(og(nU,5),og(wmc,5),og(SS,5));if(a&2){var c;ng(c=qg())&&(b.commentDraftComponent=c.first);ng(c=qg())&&(b.commentBoxContainer=c.first);ng(c=qg())&&(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:[ld],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&&(Vf(xmc),H(0,"div",0,1)(2,"div",2)(3,"b-comment-draft",3),Q("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,f=!1,h=0,k=0;k<d.items.length;k++)"string"===d.items[k].kind&&"text/plain"===d.items[k].type?e=!0:"file"===d.items[k].kind&&(f=!0,h=k);f&&d.items&&d.files?(f=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:f,filename:d}):d=void 0;d&&(c.preventDefault(),c=new File([d.file],d.filename,{type:d.file.type}),b.uploadFile(c))}}),K(),F(4,wTa,2,1,"ng-container",4),K(),Wf(5),H(6,"b-attachment-uploader",
5),Q("onUploadCancel",function(c){b.removeUpload(c);return b.onChange.emit()})("onUploadComplete",function(){return b.onChange.emit()}),K(),Wf(7,1),F(8,BTa,6,5,"div",6),K(),F(9,CTa,2,4,"div",4));a&2&&(G("ngClass",fg(11,ymc,b.focused)),A(3),G("content",b.comment.value)("placeholder",b.placeholder)("disabled",b.disabled)("textareaClass",gg(13,zmc,b.disabled?"bv2-disabled":"",b.warn?"banned-words-warning":""))("audience",b.audience)("idForAriaLabel",b.idForAriaLabel),A(1),G("ngIf",b.isPlusOneCalloutEnabled),
A(2),G("uploads",b.comment.uploads),A(2),G("ngIf",b.showToolbar),A(1),G("ngIf",b.supportsPreview&&b.comment.formattingMode===b.MARKDOWN))},dependencies:[Sv,Uv,MA,nU,dC,KT,nT,OS,SS,eA,pU,$v],encapsulation:2});var rU=function(a,b){var c=this;this.accessIndicatorService=a;this.documentationLinks=b;this.compactMode=!1;this.issueId$=new E.ReplaySubject;this.accessIndicator$=this.issueId$.pipe(af(function(d){return M4b(c.accessIndicatorService,d)}));this.chipClass$=this.accessIndicator$.pipe(D(function(d){return d.type}));this.chipText$=this.accessIndicator$.pipe(D(function(d){return d.displayText}));this.bubbleText$=this.accessIndicator$.pipe(D(function(d){return d.explanation}));this.shouldShowIndicator$=
this.accessIndicator$.pipe(D(function(d){return"no_indicator"!==d.type}))};Gh.Object.defineProperties(rU.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});rU.\u0275fac=function(a){return new (a||rU)(B(eJ),B(lL))};
rU.\u0275cmp=r({type:rU,selectors:[["b-issue-visibility-chip"]],inputs:{issueId:"issueId",compactMode:"compactMode"},decls:2,vars:3,consts:[[4,"ngIf"],[3,"panelTemplate"],[1,"chippy","rounded","nowrap",3,"ngClass"],["popup",""],[1,"bubble"],["target","_blank",3,"href"]],template:function(a,b){a&1&&(F(0,ETa,8,9,"ng-container",0),W(1,"async"));a&2&&G("ngIf",X(1,1,b.shouldShowIndicator$))},dependencies:[Sv,Uv,mL,$v],styles:[".chippy[_ngcontent-%COMP%]{margin-right:8px}.chippy.visible_to_partners[_ngcontent-%COMP%]{background-color:#ffdeb5;background-color:var(--partner-bg);color:#202124;color:var(--partner-text);box-shadow:inset 0 0 0 2px var(--partner-outline)}.chippy.visible_to_listed_partners[_ngcontent-%COMP%]{background-color:rgba(0,0,0,0);background-color:var(--partner-listed-bg);color:#202124;color:var(--partner-text);box-shadow:inset 0 0 0 2px var(--partner-listed-outline)}.chippy.visible_to_public[_ngcontent-%COMP%]{background-color:#fbe983;background-color:var(--public-bg);color:#202124;color:var(--public-text);box-shadow:inset 0 0 0 2px var(--public-outline)}.chippy.visible_to_listed_public_users[_ngcontent-%COMP%]{background-color:rgba(0,0,0,0);background-color:var(--public-listed-bg);color:#202124;color:var(--public-text);box-shadow:inset 0 0 0 2px var(--public-listed-outline)}.bubble[_ngcontent-%COMP%]{width:300px}.bubble[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#1a73e8;color:var(--link)}.bubble[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:visited{color:#7627bb;color:var(--link-visited)}"],
changeDetection:0});var sU=function(){};sU.\u0275fac=function(a){return new (a||sU)};sU.\u0275mod=Tc({type:sU});sU.\u0275inj=Ec({imports:[zD,CL,DL]});var tU=function(a){this.activeSession=a;this.externalWarnings=[];this.enableNewVisibilityChips=yD(this.activeSession,"enableNewVisibilityChips")};tU.\u0275fac=function(a){return new (a||tU)(B(nt))};
tU.\u0275cmp=r({type:tU,selectors:[["b-external-warnings"]],inputs:{externalWarnings:"externalWarnings"},decls:1,vars:1,consts:[["class","bv2-external-component-modal-warning"],[1,"bv2-external-component-modal-warning"],[3,"href"],[3,"issueId"],[3,"accessLevel"]],template:function(a,b){a&1&&F(0,KTa,8,1,"div",0);a&2&&Nf(0,0<b.externalWarnings.length?0:-1)},dependencies:[nL,rU],styles:[".bv2-external-component-modal-warning[_ngcontent-%COMP%] {\n  padding-top: 10px;\n\n  ul {\n    padding-left: 0;\n  }\n}"],
changeDetection:0});var uU=function(){};uU.\u0275fac=function(a){return new (a||uU)};uU.\u0275mod=Tc({type:uU});uU.\u0275inj=Ec({imports:[EL,sU]});var Amc=["captchaContainer"],vU=function(a,b,c,d,e){this.ngZone=a;this.window=b;this.darkmodeService=c;this.appEvents=d;this.analytics=e;this.onUpdate=new mv;this.destroyed$=new E.ReplaySubject(1)};vU.prototype.ngOnInit=function(){var a=this;this.appEvents.recaptchaSubmitted.pipe(bf(this.destroyed$)).subscribe(function(){a.reset();a.onUpdate.emit("")})};
vU.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(Kp.RECAPTCHA_TOKEN,"create")})},"expired-callback":function(){a.ngZone.run(function(){a.onUpdate.emit("");a.analytics.trackEvent(Kp.RECAPTCHA_TOKEN,
"expire")})},theme:d?"dark":"light"})})};vU.prototype.ngOnDestroy=function(){this.reset();this.destroyed$.next()};vU.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)})}};vU.\u0275fac=function(a){return new (a||vU)(B(ef),B(ZF),B(LL),B(lG),B(aI))};
vU.\u0275cmp=r({type:vU,selectors:[["b-recaptcha"]],viewQuery:function(a,b){a&1&&og(Amc,5);if(a&2){var c;ng(c=qg())&&(b.captchaContainer=c.first)}},outputs:{onUpdate:"onUpdate"},decls:2,vars:0,consts:[["captchaContainer",""]],template:function(a){a&1&&L(0,"div",null,0)},encapsulation:2});var Bmc=["dialog"],wU=function(a,b,c,d){Z.call(this);this.matDialog=a;this.activeSession=b;this.hotkeys=c;this.save=new mv;this.close=new mv;this.externalWarnings=[];this.issueEditBuilder=null;this.FocusableField=Cmc;this.enableRecaptcha=yD(this.activeSession,"enableRecaptcha")&&yD(this.activeSession,"enableBulkEditCaptchaUi");this.comment=new WO;var e;this.comment.formattingMode=Ai(null==(e=ME(d).textDisplayPreferences)?void 0:e.lastPublishMode);this.issueStates=Q1b};Y(wU,Z);wU.\u0275dir=Z.\u0275dir;
wU.prototype.showDialog=function(a,b,c){var d=this;this.issueEditBuilder=new vic(this.activeSession.getUserEmail(),a);this.issueEditBuilder.comment=this.comment;b&&LTa(this.issueEditBuilder,b);this.focus=c;this.hotkeys.pause();this.matDialogRef=this.matDialog.open(this.dialog,{minWidth:512,maxWidth:512});this.matDialogRef.afterClosed().pipe(bf(this.destroyed$)).subscribe(function(e){d.hotkeys.unpause();e&&d.save.emit();d.close.emit()})};
wU.\u0275fac=function(a){return new (a||wU)(B(vA),B(nt),B(TE),B(LE))};
wU.\u0275cmp=r({type:wU,selectors:[["b-state-modal"]],viewQuery:function(a,b){a&1&&og(Bmc,5);if(a&2){var c;ng(c=qg())&&(b.dialog=c.first)}},inputs:{externalWarnings:"externalWarnings"},outputs:{save:"save",close:"close"},features:[yf],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"],[3,"externalWarnings"],[1,"bv2-modal-text-field"],["for","bv2-state-modal-assignee",1,"bv2-top-field-label"],["class","bv2-multiple-user-chip",4,"ngSwitchCase"],[4,"ngSwitchDefault"],["for","bv2-state-modal-verifier",1,"bv2-top-field-label"],["class","bv2-multiple-user-chip",3,"bv2-invalid-multiple-user-chip",4,"ngSwitchCase"],[1,"bv2-multiple-user-chip"],
["title","Clear assignees",3,"click"],["type","text","name","assignee",3,"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,"flex-kids-x","justify-flex-end"],[3,"onUpdate"]],template:function(a){a&1&&F(0,ZTa,14,5,"ng-template",null,0,tg)},dependencies:[Tv,
Uv,Vv,Wv,Xv,wA,xA,yA,zA,Ew,Jg,ww,xw,Ow,Dw,Bw,eA,AD,ZB,XB,YB,KR,qU,vU,tU],encapsulation:2});var Cmc={ASSIGNEE:0,VERIFIER:1,COMMENT:2,DUPE_ID:3,0:"ASSIGNEE",1:"VERIFIER",2:"COMMENT",3:"DUPE_ID"};var Fp=function(a){this.internalArray_=m(a)};Y(Fp,n);Fp.prototype.getIssueId=function(){return Ui(this,1)};Fp.prototype.setIssueId=function(a){return Gl(this,1,a)};Fp.prototype.setMaxResults=function(a){return Tk(this,5,a)};var Ep=function(a){this.internalArray_=m(a,0,Ep.messageId)};Y(Ep,n);Ep.prototype.getIt=function(){return vi(this,Fp,1)};Ep.prototype.setIt=function(a){return ej(this,Fp,1,a)};Ep.prototype.hasIt=function(){return Pi(this,Fp,1)};Ep.messageId="b.LookupSimilarIssuesRequest";var xU=function(a){this.internalArray_=m(a,0,xU.messageId)};Y(xU,n);xU.repeatedFields_=[1];xU.messageId="b.LookupSimilarIssuesResponse";var yU=function(a){this.executor=a},Dmc=function(a,b){return a.executor.post({url:"action/lookup_similar_issues",body:$Ta(b),responseConstructor:xU}).pipe(D(function(c){return zi(c,Sm,1).map(function(d){return kn(d)})}))};yU.\u0275fac=function(a){return new (a||yU)(p(SD))};yU.\u0275prov=Dc({token:yU,factory:yU.\u0275fac,providedIn:"root"});var Emc=Kj().user.email,Fmc={key:"OPEN",displayAs:"Open",check:function(a){return Gn(a)},queryFragment:"status:open",tooltip:'Issues that match "status:open"'},Gp={ASSIGNED_TO_ME:{key:"ASSIGNED_TO_ME",displayAs:"Assigned to me",check:function(a){var b,c=null==(b=a.snapshot[0].assigneeUser)?void 0:b.emailAddress;return c?c===Emc&&Gn(a):!1},queryFragment:"assignee:me status:open",tooltip:"Open issues with me as the assignee"},OPEN:Fmc,FIXED:{key:"FIXED",displayAs:"Fixed",check:function(a){return RBa(a,
"FIXED")},queryFragment:"status:fixed"},BROAD_IN_PROGRESS:{key:"BROAD_IN_PROGRESS",displayAs:"Assigned",check:function(a){return RBa(a,"ASSIGNED")||RBa(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,f=(null!=(e=null==(d=a.aggregatedData)?void 0:d.createdTimeMicros)?e:0)/1E3;return c-f<b&&!(0<a.version)&&
Gn(a)},queryFragment:"created:7d commentcount<2 status:open",tooltip:"Open issues created in the last seven days that have not been modified"},RECENTLY_ACTIVE:{key:"RECENTLY_ACTIVE",displayAs:"Recently active",check:function(a){var b=void 0===b?6048E5:b;var c=Date.now(),d,e=(null!=(d=a.majorModifiedTimeMicros)?d:0)/1E3;return c-e<b&&0<a.version&&Gn(a)},queryFragment:"modified:7d commentcount>1 status:open",tooltip:'Open issues with activity in the last seven days (excluding "creation")'},HIGH_PRIORITY:{key:"HIGH_PRIORITY",
displayAs:"High Priority",check:function(a){var b=["P0","P1"];b=void 0===b?[]:b;return b.includes(ZBa(a))&&Gn(a)},queryFragment:"priority:(p0 | p1) status:open",tooltip:"Open issues that are P0 or P1"}};var Gmc=zm(function(a){var b,c;return null!=(c=null==a?void 0:null==(b=a.aggregatedData)?void 0:b.voteCount)?c:0},Am),Hmc=new Set([Fmc]),zU=function(a,b){this.issueFridge=a;this.similarIssuesApi=b;this.componentIdToRecentCanonicals=new Map},Jmc=function(a,b,c,d,e,f){c=void 0===c?Hmc:c;return b.trim()?"canonical"===d?(b={scope:Hp.apply(null,[Ip("-id",null==e?void 0:e.id),Ip("componentId",f),Ip("modified","365d")].concat(u(Array.from(c).map(function(h){return h.queryFragment})))),scopeSortOrder:"vote_count desc",
keyword:b},Dmc(a.similarIssuesApi,b)):Imc(a,b):(0,E.of)(void 0)};
zU.prototype.search=function(a,b,c,d){var e=this;if(!a.trim())return(0,E.of)(void 0);if("canonical"===b){b=Kmc(this,a,d);d=Lmc(this,d).pipe(af(function(h){return e.issueFridge.watchMany({filter:Hp(a,Ip("-id",null==c?void 0:c.id),Ip("status","open"),Ip("componentid",h)),pageSize:10})}),D(function(h){return null==h?void 0:h.results}));var f=this.issueFridge.watchMany({filter:Hp(a,Ip("-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,f]).pipe(D(function(h){return Pj(h.flat(),function(k){return k.issueId})}),D(function(h){return h.slice(0,10)}),D(function(h){return Gmc(h,"desc")}))}return Imc(this,a)};
var Imc=function(a,b){return a.issueFridge.watchMany({filter:b,pageSize:10}).pipe(D(function(c){return null==c?void 0:c.results}))},Kmc=function(a,b,c){return c?Mmc(a,c).pipe(af(function(d){return 0===d.length?(0,E.of)([]):a.issueFridge.watchMany({filter:Hp(b,Ip("id",d),Ip("status","open")),pageSize:10}).pipe(D(function(e){return null==e?void 0:e.results}))})):(0,E.of)([])},Mmc=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:Hp(Ip("componentid",b,!0),Ip("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 Qj(d.filter(jl))}),Ye({bufferSize:1,refCount:!0}));a.componentIdToRecentCanonicals.set(b,c);return c},Lmc=function(a,b){return b?Mmc(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(u(c.filter(jl)))}),D(Qj),Ye({bufferSize:1,refCount:!0})):(0,E.of)([])};zU.\u0275fac=function(a){return new (a||zU)(p(iI),p(yU))};zU.\u0275prov=Dc({token:zU,factory:zU.\u0275fac,providedIn:"root"});var AU=function(){};AU.\u0275fac=function(a){return new (a||AU)};AU.\u0275cmp=r({type:AU,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&&(Vf(),F(0,cUa,1,0,"div",0)(1,dUa,2,0,"ng-container",1));a&2&&(G("ngIf",!b.isReady),A(1),G("ngIf",b.isReady))},dependencies:[Uv],encapsulation:2});var BU=function(){this.mode="datetime";this.isDataLoaded=!1};BU.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};BU.\u0275fac=function(a){return new (a||BU)};
BU.\u0275cmp=r({type:BU,selectors:[["b-issue-created-time-cell"]],inputs:{issue:"issue",mode:"mode"},features:[ld],decls:4,vars:3,consts:[[1,"nowrap",3,"isReady"],[3,"mode","timestamp","paddingLeftPx",4,"ngIf","ngIfElse"],["noData",""],[3,"mode","timestamp","paddingLeftPx"]],template:function(a,b){a&1&&(H(0,"b-async-data-placeholder",0),F(1,eUa,1,3,"b-formatted-date-time",1),K(),F(2,fUa,1,0,"ng-template",null,2,tg));if(a&2){var c=S(3);G("isReady",b.isDataLoaded);A(1);G("ngIf",b.createdTime)("ngIfElse",
c)}},dependencies:[AU,Uv,CM],encapsulation:2,changeDetection:0});var CU=function(a,b,c,d){Z.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=$D};Y(CU,Z);CU.\u0275dir=Z.\u0275dir;CU.prototype.copyIssueId=function(){this.clipboard.copy(this.issueId);Fs(this.butterBar,"Issue ID copied",2E3)};var Jp=function(a,b){a.clipboard.copy(b.value);a.trigger.close()};
CU.prototype.getIssueUrl=function(){return this.getAppBaseUrl(this.isExternalIssue)};CU.prototype.getAppBaseUrl=function(a){return TG(this.currentTracker,this.issueId,void 0,void 0===a?!1:a)};CU.\u0275fac=function(a){return new (a||CU)(B(nt),B(SG),B(TP),B(EG))};
CU.\u0275cmp=r({type:CU,selectors:[["b-issue-id-picker"]],viewQuery:function(a,b){a&1&&og(QM,5);if(a&2){var c;ng(c=qg())&&(b.trigger=c.first)}},inputs:{componentId:"componentId",issueId:"issueId",issueTitle:"issueTitle",isExternalIssue:"isExternalIssue",disabled:"disabled",enableHotkeys:"enableHotkeys",showCopyOptions:"showCopyOptions"},features:[yf],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),Q("click",function(){return b.copyIssueId()}),T(1),F(2,gUa,1,0,"mat-icon",1),K(),F(3,sUa,7,5,"ng-container",2));a&2&&(Jf("square-right",b.showCopyOptions),Af("aria-label","Copy issue number "+b.issueId),A(1),V(" ",
b.issueId," "),A(1),G("ngIf",!b.showCopyOptions),A(1),G("ngIf",b.showCopyOptions))},dependencies:[fx,Uv,MA,VE,eA,dC,PM,QM],styles:["[_nghost-%COMP%]{border-radius:4px;font-family:Roboto,Arial,sans-serif;line-height:1rem;font-size:.75rem;letter-spacing:.025em;font-weight:400;display:inline-block;user-select:none;white-space:nowrap;line-height:22px}button[_ngcontent-%COMP%], mat-icon[_ngcontent-%COMP%]{vertical-align:middle}.issue-id[_ngcontent-%COMP%]{padding:0 3px}@media(forced-colors: active){.issue-id[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider)}.issue-id[_ngcontent-%COMP%]:focus-visible{outline:1px solid;outline-color:#1967d2;outline-color:var(--primary-c700);outline-color:-webkit-focus-ring-color}}.shortcut[_ngcontent-%COMP%]{font-family:WorkAroundWebKitAndMozilla,monospace;padding-left:8px;white-space:nowrap}button.issue-id[_ngcontent-%COMP%]:hover   mat-icon[_ngcontent-%COMP%], button.issue-id[_ngcontent-%COMP%]:focus-visible   mat-icon[_ngcontent-%COMP%]{visibility:visible}button[_ngcontent-%COMP%]{cursor:pointer;border-radius:4px;user-select:text}button[_ngcontent-%COMP%]:hover, button[_ngcontent-%COMP%]:focus-visible{background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}button.square-left[_ngcontent-%COMP%]{border-left:1px solid;border-left-color:#fff;border-left-color:var(--background)}@media(forced-colors: active){button.square-left[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider)}button.square-left[_ngcontent-%COMP%]:focus-visible{outline:1px solid;outline-color:#1967d2;outline-color:var(--primary-c700);outline-color:-webkit-focus-ring-color}}mat-icon[_ngcontent-%COMP%]{margin-top:-2px;color:#3c4043;color:var(--gfx)}  .onedev-popup-panel .issue-id-picker-popup{padding:10px}  .onedev-popup-panel .issue-id-picker-popup .id-details-row{display:flex;flex-direction:row;align-items:center}  .onedev-popup-panel .issue-id-picker-popup .id-details-row label{flex-basis:110px;font-family:Roboto,Arial,sans-serif;font-size:.8125rem;color:#5f6368;color:var(--text-muted)}  .onedev-popup-panel .issue-id-picker-popup .id-details-row .value{flex-grow:1;font-family:Roboto,Arial,sans-serif;display:inline-block;width:345px;border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:4px;outline:none;padding:5px;margin-left:5px}  .onedev-popup-panel .issue-id-picker-popup .id-details-row .value:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}  .onedev-popup-panel .issue-id-picker-popup .id-details-row button.copy{cursor:pointer;color:#1a73e8;color:var(--link)}"],
changeDetection:0});var DU=function(){};DU.prototype.ngOnInit=function(){};DU.prototype.onClick=function(a){a.stopPropagation()};DU.\u0275fac=function(a){return new (a||DU)};
DU.\u0275cmp=r({type:DU,selectors:[["b-issue-id-cell"]],hostBindings:function(a,b){a&1&&Q("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),F(1,tUa,1,2,"b-issue-id-picker",1),K());a&2&&(G("isReady",!!b.id),A(1),G("ngIf",b.id))},dependencies:[AU,Uv,CU],encapsulation:2,changeDetection:0});var EU=function(){},Nmc=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""}};EU.\u0275fac=function(a){return new (a||EU)};
EU.\u0275cmp=r({type:EU,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),T(1),K());a&2&&(G("ngClass",Nmc(b)),A(1),a=b.issuePriority,V(" ",null==a?"--":PZb[a]," "))},dependencies:[Sv],styles:["/*# sourceMappingURL=issue_priority_display.css.map */"],changeDetection:0});var FU=function(){this.priority=this.issue=null;this.isDataLoaded=!1};FU.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};FU.\u0275fac=function(a){return new (a||FU)};
FU.\u0275cmp=r({type:FU,selectors:[["b-issue-priority-cell"]],inputs:{issue:"issue"},features:[ld],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),F(1,uUa,2,1,"ng-container",1)(2,vUa,1,0,"ng-template",null,2,tg),K());if(a&2){var c=S(3);G("isReady",b.isDataLoaded);A(1);G("ngIf",b.priority)("ngIfElse",c)}},dependencies:[AU,Uv,EU],encapsulation:2,changeDetection:0});var GU=function(){this.STATUS_JS_FULL_TEXT=Kk;this.STATUS_JS_TERSE=mD;this.issue=null;this.isDataLoaded=!1};GU.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};GU.\u0275fac=function(a){return new (a||GU)};
GU.\u0275cmp=r({type:GU,selectors:[["b-issue-status-cell"]],inputs:{issue:"issue"},features:[ld],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),F(1,wUa,2,5,"div",1)(2,xUa,1,0,"ng-template",null,2,tg),K());if(a&2){var c=S(3);G("isReady",b.isDataLoaded);A(1);G("ngIf",b.status)("ngIfElse",c)}},dependencies:[AU,Uv],encapsulation:2,changeDetection:0});var HU=function(a,b,c,d){this.activeSession=a;this.issueApi=b;this.analytics=c;this.errorHandler=d;this.onCc=new mv};HU.prototype.ngOnInit=function(){};
HU.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)}))};HU.\u0275fac=function(a){return new (a||HU)(B(nt),B(kG),B(aI),B(FG))};
HU.\u0275cmp=r({type:HU,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),Q("click",function(){return b.toggle()}),F(1,yUa,2,0,"ng-container",1),T(2,"CC me\n"),K());a&2&&(A(1),G("ngIf",b.ccState))},dependencies:[Uv,eA],encapsulation:2});var IU=function(a,b){Z.call(this);this.errorHandler=a;this.issueFridge=b;this.upvoted=!1;this.voteCount=0;this.onVote=new mv;this.tooltip="Indicate that you are affected by this issue";this.isSaving=!1};Y(IU,Z);IU.\u0275dir=Z.\u0275dir;
IU.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(Qe(),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})}};IU.\u0275fac=function(a){return new (a||IU)(B(FG),B(iI))};
IU.\u0275cmp=r({type:IU,selectors:[["b-app-vote-button"]],hostVars:2,hostBindings:function(a,b){a&2&&Jf("no-votes",0>=b.voteCount)},inputs:{issueId:"issueId",upvoted:"upvoted",voteCount:"voteCount"},outputs:{onVote:"onVote"},features:[yf],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),Q("click",function(){return b.onClick()}),L(1,"mat-icon",1),H(2,"output",
2),T(3),K()());a&2&&(G("matTooltip",b.upvoted?"Remove vote: I am not impacted":"Vote: I am impacted"),Af("aria-pressed",b.upvoted)("aria-label","Vote count "+b.voteCount),A(2),Xf("title","",b.voteCount," votes on this issue"),A(1),V(" ",99999<b.voteCount?"99999+":b.voteCount," "))},dependencies:[MA,eA,dC],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 OUa=function(){return[]},JU=function(a,b,c,d,e,f,h){Z.call(this);var k=this;this.issuesApi=a;this.cdr=b;this.activeSession=c;this.analytics=d;this.relationshipService=e;this.issueFridge=f;this.butterBar=h;this.STATUS_JS_FULL_TEXT=Kk;this.ISSUE_PRIORITY_TEXT_JS=PZb;this.ISSUE_PRIORITY_ENUM=CZb;this.providedIssueId$=new E.ReplaySubject(1);this.issueFetchResponse$=this.providedIssueId$.pipe(af(function(q){return k.issuesApi.getIssue(q)}));this.editIssue=Ok;this.FormattingMode=ZC;this.enableNewVisibilityChips=
yD(this.activeSession,"enableNewVisibilityChips");this.init=new E.ReplaySubject(1)};Y(JU,Z);JU.\u0275dir=Z.\u0275dir;JU.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()})};JU.prototype.priorityClass=function(a){switch(a){case "P0":return"high p0";case "P1":return"high";default:return"low"}};
JU.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 NUa=function(a,b){return ni(b).includes(a.activeSession.getUserEmail())},IUa=function(a,b){var c;return qe(function(d){if(1==d.nextAddress)return c=a.issueId,PG(a.issueFridge,b,function(e){var f=e.parentIssueIds.indexOf(c);0>f||(e.parentIssueIds.splice(f,1),Object.assign({},e))}),re(d,2,3),d.yield((0,E.firstValueFrom)(a.relationshipService.delete(c,"CHILD",b)),3);if(2!=d.nextAddress)return te(d),a.issueFridge.poke(b),ue(d,0);ve(d);a.butterBar.showWarning("Error removing the parent issue.");return d.jumpTo(3)})};
JU.\u0275fac=function(a){return new (a||JU)(B(jG),B(XD,2),B(nt),B(aI),B(DI),B(iI),B(EG))};
JU.\u0275cmp=r({type:JU,selectors:[["b-issue-card"]],inputs:{issueId:"issueId",location:"location",childContextId:"childContextId"},outputs:{init:"init"},features:[bg([XD]),yf],decls:2,vars:1,consts:[["role","dialog","aria-label","Issue Hovercard",1,"onedev-hovercard-content"],[4,"ngIf"],[1,"bv2-hovercard-wide"],[3,"href"],[1,"bv2-issue-card-title"],[1,"issue-card-id-snippets"],[3,"issueId"],[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,"labelOnlyMode","accessLevel"],[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),F(1,PUa,24,15,"ng-container",1),K());a&2&&(A(1),G("ngIf",b.issue&&b.issue.snapshot[0]))},dependencies:[Sv,Uv,Vv,Wv,Xv,nL,eA,dC,sP,CM,MT,IU,rU,HU],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 KU=function(){this.issue=null;this.useButtonToNavigate=!1;this.anchorTarget=void 0;this.enableHovercard=!1;this.title="";this.isDataLoaded=!1;this.link=""};KU.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:"")};
KU.prototype.getIssueUrl=function(a){return this.issueUrlFactory?this.issueUrlFactory(a):Ok(a)};KU.\u0275fac=function(a){return new (a||KU)};
KU.\u0275cmp=r({type:KU,selectors:[["b-issue-title-cell"]],hostAttrs:[1,"flex-kids-x","line-clamp-3"],inputs:{issue:"issue",issueUrlFactory:"issueUrlFactory",useButtonToNavigate:"useButtonToNavigate",anchorTarget:"anchorTarget",enableHovercard:"enableHovercard"},features:[ld],decls:8,vars:6,consts:[[1,"title","title-location",3,"isReady"],[3,"trackerId","compactMode"],[4,"ngIf","ngIfElse"],["useLinkToNavigate",""],["issueHovercard","onedevHovercard"],[3,"issueId",4,"ngIf"],[1,"line-clamp-3"],["mat-icon-button",
"","tabindex","0","matTooltip","Open issue in a new tab","aria-label","Open issue",1,"small","visible-on-row-active","hover-link",3,"routerLink","target","matTooltipShowDelay","keydown","click"],["svgIcon","pop-out",1,"icon-s"],[1,"hover-link","line-clamp-3",3,"routerLink","target","onedevHovercardTrigger","onedevHovercardActive","keydown","click"],[3,"issueId"]],template:function(a,b){a&1&&(H(0,"b-async-data-placeholder",0),L(1,"b-tracker-chip-smart",1),F(2,QUa,5,4,"ng-container",2)(3,RUa,2,5,"ng-template",
null,3,tg),K(),H(5,"onedev-hovercard",null,4),F(7,SUa,1,1,"b-issue-card",5),K());if(a&2){var c=S(4);G("isReady",b.isDataLoaded);A(1);G("trackerId",null==b.issue?null:b.issue.trackerId)("compactMode",!0);A(1);G("ngIf",b.useButtonToNavigate)("ngIfElse",c);A(5);G("ngIf",b.issue)}},dependencies:[AU,Uv,MA,fA,dC,AE,qL,JU,hK,mK],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 LU=function(a,b){this.checker=a;this.document=b};LU.prototype.focusFirstFocusableElement=function(a){(a=Omc(this,a,!0))&&a.focus()};var Omc=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?Omc(a,b[c]):null;if(d)return d}return null};LU.\u0275fac=function(a){return new (a||LU)(p(ax),p(Xg))};LU.\u0275prov=Dc({token:LU,factory:LU.\u0275fac,providedIn:"root"});var MU=function(a,b){this.elementRef=a;this.interactivityHelper=b};MU.prototype.ngOnInit=function(){};MU.prototype.focus=function(){this.interactivityHelper.focusFirstFocusableElement(this.elementRef.nativeElement)};Gh.Object.defineProperties(MU.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return this.elementRef.nativeElement}}});MU.\u0275fac=function(a){return new (a||MU)(B(Hd),B(LU))};MU.\u0275dir=Vc({type:MU,selectors:[["tr","row",""]],inputs:{row:"row"}});var NU=function(){};NU.\u0275fac=function(a){return new (a||NU)};NU.\u0275mod=Tc({type:NU});NU.\u0275inj=Ec({});var Pmc=function(a,b){Dx.call(this,a);this.directives=a;this.isEqual=b};Y(Pmc,Dx);var Mp=function(a,b){var c;return qe(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(f){return a.isEqual(f.row,b)})}),He(Boolean),Je(3E3))),2);c=d.yieldResult;Bx(a,c);we(d)})};var Qmc=new bd("GMAT_CHIPS_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var OU=function(a){this.options=a};OU.\u0275fac=function(a){return new (a||OU)(B(Qmc))};
OU.\u0275dir=Vc({type:OU,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&&Jf("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 Rmc=new bd("mat-chips-default-options",{providedIn:"root",factory:function(){return{separatorKeyCodes:[13]}}}),Smc=new bd("MatChipAvatar"),Tmc=new bd("MatChipTrailingIcon"),Umc=new bd("MatChipRemove"),Vmc=new bd("MatChip");var PU=function(a,b){this._elementRef=a;this._parentChip=b;this._isPrimary=this.isInteractive=!0;this._disabled=!1;this.tabIndex=-1;this._allowFocusWhenDisabled=!1;"BUTTON"===a.nativeElement.nodeName&&a.nativeElement.setAttribute("type","button")};g=PU.prototype;g._getDisabledAttribute=function(){return this.disabled&&!this._allowFocusWhenDisabled?"":null};g._getTabindex=function(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()};g.focus=function(){this._elementRef.nativeElement.focus()};
g._handleClick=function(a){!this.disabled&&this.isInteractive&&this._isPrimary&&(a.preventDefault(),this._parentChip._handlePrimaryActionInteraction())};g._handleKeydown=function(a){13!==a.keyCode&&32!==a.keyCode||this.disabled||!this.isInteractive||!this._isPrimary||this._parentChip._isEditing||(a.preventDefault(),this._parentChip._handlePrimaryActionInteraction())};
Gh.Object.defineProperties(PU.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this._parentChip.disabled},set:function(a){this._disabled=a}}});PU.\u0275fac=function(a){return new (a||PU)(B(Hd),B(Vmc))};
PU.\u0275dir=Vc({type:PU,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(a,b){a&1&&Q("click",function(c){return b._handleClick(c)})("keydown",function(c){return b._handleKeydown(c)});a&2&&(Af("tabindex",b._getTabindex())("disabled",b._getDisabledAttribute())("aria-disabled",b.disabled),Jf("mdc-evolution-chip__action--primary",b._isPrimary)("mdc-evolution-chip__action--presentational",!b.isInteractive)("mdc-evolution-chip__action--trailing",
!b._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:["disabled","disabled",ug],tabIndex:["tabIndex","tabIndex",function(a){return null==a?-1:vg(a)}],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},standalone:!0,features:[zf]});var Wmc=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],Xmc=0,QU=function(a,b,c,d,e,f,h,k){this._changeDetectorRef=a;this._elementRef=b;this._ngZone=c;this._focusMonitor=d;this._globalRippleOptions=h;this._onFocus=new E.Subject;this._onBlur=new E.Subject;this.role=null;this._hasFocusInternal=!1;this.id="mat-mdc-chip-"+Xmc++;this.ariaDescription=this.ariaLabel=null;this._ariaDescriptionId=this.id+"-aria-description";
this.removable=!0;this.disabled=this.disableRipple=this.highlighted=!1;this.tabIndex=-1;this.removed=new mv;this.destroyed=new mv;this.basicChipAttrName="mat-basic-chip";this._rippleLoader=Nc(wz);this._document=e;this._animationsDisabled="NoopAnimations"===f;if(null!=k){var q;this.tabIndex=null!=(q=parseInt(k))?q:-1}this._monitorFocus();null==this._rippleLoader||bTb(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})};g=QU.prototype;g._hasFocus=function(){return this._hasFocusInternal};
g.ngOnInit=function(){var a=this._elementRef.nativeElement;this._isBasicChip=a.hasAttribute(this.basicChipAttrName)||a.tagName.toLowerCase()===this.basicChipAttrName};g.ngAfterViewInit=function(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label");this._pendingFocus&&(this._pendingFocus=!1,this.focus())};g.ngAfterContentInit=function(){var a=this;this._actionChanges=(0,E.merge)(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(function(){return a._changeDetectorRef.markForCheck()})};
g.ngDoCheck=function(){dTb(this._elementRef.nativeElement,this._isRippleDisabled())};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);var a;null==(a=this._actionChanges)||a.unsubscribe();this.destroyed.emit({chip:this});this.destroyed.complete()};g.remove=function(){this.removable&&this.removed.emit({chip:this})};
g._isRippleDisabled=function(){var a;return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!(null==(a=this._globalRippleOptions)||!a.disabled)};g._hasTrailingIcon=function(){return!(!this.trailingIcon&&!this.removeIcon)};g._handleKeydown=function(a){if(8===a.keyCode||46===a.keyCode)a.preventDefault(),this.remove()};g.focus=function(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)};
g._getSourceAction=function(a){return this._getActions().find(function(b){b=b._elementRef.nativeElement;return b===a||b.contains(a)})};g._getActions=function(){var a=[];this.primaryAction&&a.push(this.primaryAction);this.removeIcon&&a.push(this.removeIcon);this.trailingIcon&&a.push(this.trailingIcon);return a};g._handlePrimaryActionInteraction=function(){};g._getTabIndex=function(){return this.role?this.disabled?-1:this.tabIndex:null};
g._monitorFocus=function(){var a=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){b=null!==b;b!==a._hasFocusInternal&&((a._hasFocusInternal=b)?a._onFocus.next({chip:a}):a._ngZone.onStable.pipe(Qe()).subscribe(function(){return a._ngZone.run(function(){return a._onBlur.next({chip:a})})}))})};
Gh.Object.defineProperties(QU.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}},ripple:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this._rippleLoader)?void 0:cTb(a,this._elementRef.nativeElement)},set:function(a){null==this._rippleLoader||eTb(this._elementRef.nativeElement,a)}}});
QU.\u0275fac=function(a){return new (a||QU)(B(Fu),B(Hd),B(ef),B(Yw),B(Xg),B(Du,8),B(rz,8),Bd("tabindex"))};
QU.\u0275cmp=r({type:QU,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(a,b,c){a&1&&(pg(c,Smc,5),pg(c,Tmc,5),pg(c,Umc,5),pg(c,Smc,5),pg(c,Tmc,5),pg(c,Umc,5));if(a&2){var d;ng(d=qg())&&(b.leadingIcon=d.first);ng(d=qg())&&(b.trailingIcon=d.first);ng(d=qg())&&(b.removeIcon=d.first);ng(d=qg())&&(b._allLeadingIcons=d);ng(d=qg())&&(b._allTrailingIcons=d);ng(d=qg())&&(b._allRemoveIcons=d)}},viewQuery:function(a,b){a&1&&og(PU,5);if(a&2){var c;
ng(c=qg())&&(b.primaryAction=c.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:32,hostBindings:function(a,b){a&1&&Q("keydown",function(c){return b._handleKeydown(c)});a&2&&(Sf("id",b.id),Af("role",b.role)("tabindex",b._getTabIndex())("aria-label",b.ariaLabel),Kf("mat-"+(b.color||"primary")),Jf("mdc-evolution-chip",!b._isBasicChip)("mdc-evolution-chip--disabled",b.disabled)("mdc-evolution-chip--with-trailing-action",b._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",b.leadingIcon)("mdc-evolution-chip--with-primary-icon",
b.leadingIcon)("mdc-evolution-chip--with-avatar",b.leadingIcon)("mat-mdc-chip-with-avatar",b.leadingIcon)("mat-mdc-chip-highlighted",b.highlighted)("mat-mdc-chip-disabled",b.disabled)("mat-mdc-basic-chip",b._isBasicChip)("mat-mdc-standard-chip",!b._isBasicChip)("mat-mdc-chip-with-trailing-icon",b._hasTrailingIcon())("_mat-animation-noopable",b._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",
color:"color",removable:["removable","removable",ug],highlighted:["highlighted","highlighted",ug],disableRipple:["disableRipple","disableRipple",ug],disabled:["disabled","disabled",ug],tabIndex:["tabIndex","tabIndex",function(a){return null==a?void 0:vg(a)}]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],standalone:!0,features:[bg([{provide:Vmc,useExisting:QU}]),zf,dg],ngContentSelectors:["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],
decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing"],[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&&(Vf(Wmc),L(0,"span",0),H(1,"span",1)(2,"span",2),F(3,TUa,2,0,"span",3),H(4,"span",4),Wf(5),L(6,"span",5),K()()(),F(7,UUa,2,0,"span",6));a&2&&(A(2),G("isInteractive",!1),A(1),Nf(3,b.leadingIcon?3:-1),A(4),Nf(7,b._hasTrailingIcon()?7:-1))},dependencies:[PU],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){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 RU=function(a,b,c){this._elementRef=a;this._changeDetectorRef=b;this._dir=c;this._lastDestroyedFocusedChipIndex=null;this._destroyed=new E.Subject;this._defaultRole="presentation";this._disabled=!1;this.tabIndex=0;this._explicitRole=null;this._chipActions=new rg};g=RU.prototype;g.ngAfterViewInit=function(){this._setUpFocusManagement();this._trackChipSetChanges();this._trackDestroyedFocusedChip()};
g.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._chipActions.destroy();this._destroyed.next();this._destroyed.complete()};g._hasFocusedChip=function(){return this._chips&&this._chips.some(function(a){return a._hasFocus()})};g._syncChipsState=function(){var a=this;this._chips&&this._chips.forEach(function(b){b.disabled=a._disabled;b._changeDetectorRef.markForCheck()})};g.focus=function(){};g._handleKeydown=function(a){if(this._originatesFromChip(a))this._keyManager.onKeydown(a)};
g._isValidIndex=function(a){return 0<=a&&a<this._chips.length};g._allowFocusEscape=function(){var a=this;if(-1!==this.tabIndex){var b=this.tabIndex;this.tabIndex=-1;setTimeout(function(){return a.tabIndex=b})}};g._getChipStream=function(a){var b=this;return this._chips.changes.pipe($e(null),af(function(){return E.merge.apply(null,u(b._chips.map(a)))}))};g._originatesFromChip=function(a){for(a=a.target;a&&a!==this._elementRef.nativeElement;){if(a.classList.contains("mat-mdc-chip"))return!0;a=a.parentElement}return!1};
g._setUpFocusManagement=function(){var a=this;this._chips.changes.pipe($e(this._chips)).subscribe(function(c){var d=[];c.forEach(function(e){return e._getActions().forEach(function(f){return d.push(f)})});a._chipActions.reset(d);mg(a._chipActions)});this._keyManager=wx(Ax(zx(yx(new Dx(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))&&
Bx(a._keyManager,c)});var b;null==(b=this._dir)||b.change.pipe(bf(this._destroyed)).subscribe(function(c){return zx(a._keyManager,c)})};g._skipPredicate=function(a){return!a.isInteractive||a.disabled};g._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()})};
g._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)})};
g._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}};
Gh.Object.defineProperties(RU.prototype,{chipFocusChanges:{configurable:!0,enumerable:!0,get:function(){return this._getChipStream(function(a){return a._onFocus})}},chipDestroyedChanges:{configurable:!0,enumerable:!0,get:function(){return this._getChipStream(function(a){return a.destroyed})}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=a;this._syncChipsState()}},empty:{configurable:!0,enumerable:!0,get:function(){return!this._chips||
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()}}});RU.\u0275fac=function(a){return new (a||RU)(B(Hd),B(Fu),B(Nx,8))};
RU.\u0275cmp=r({type:RU,selectors:[["mat-chip-set"]],contentQueries:function(a,b,c){a&1&&pg(c,QU,5);if(a&2){var d;ng(d=qg())&&(b._chips=d)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(a,b){a&1&&Q("keydown",function(c){return b._handleKeydown(c)});a&2&&Af("role",b.role)},inputs:{disabled:["disabled","disabled",ug],role:"role",tabIndex:["tabIndex","tabIndex",function(a){return null==a?0:vg(a)}]},standalone:!0,features:[zf,dg],ngContentSelectors:["*"],
decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a){a&1&&(Vf(),H(0,"div",0),Wf(1),K())},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 SU=function(){PU.apply(this,arguments);this._isPrimary=this.isInteractive=!1};Y(SU,PU);SU.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(SU)))(b||SU)}}();SU.\u0275dir=Vc({type:SU,selectors:[["mat-chip-trailing-icon"],["","matChipTrailingIcon",""]],hostAttrs:["aria-hidden","true",1,"mat-mdc-chip-trailing-icon","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],standalone:!0,features:[bg([{provide:Tmc,useExisting:SU}]),yf]});var Ymc=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],TU=function(){QU.apply(this,arguments);this._defaultOptions=Nc(Rmc,{optional:!0});this.chipListSelectable=!0;this._chipListMultiple=!1;var a,b;this._chipListHideSingleSelectionIndicator=null!=(b=null==(a=this._defaultOptions)?void 0:a.hideSingleSelectionIndicator)?b:!1;this._selectable=!0;this._selected=!1;this.basicChipAttrName="mat-basic-chip-option";this.selectionChange=
new mv};Y(TU,QU);g=TU.prototype;g.ngOnInit=function(){QU.prototype.ngOnInit.call(this);this.role="presentation"};g.select=function(){this._setSelectedState(!0,!1,!0)};g.deselect=function(){this._setSelectedState(!1,!1,!0)};g._handlePrimaryActionInteraction=function(){this.disabled||(this.focus(),this.selectable&&this._setSelectedState(!this.selected,!0,!0))};g._hasLeadingGraphic=function(){return this.leadingIcon?!0:!this._chipListHideSingleSelectionIndicator||this._chipListMultiple};
g._setSelectedState=function(a,b,c){a!==this.selected&&(this._selected=a,c&&this.selectionChange.emit({source:this,isUserInput:b,selected:this.selected}),this._changeDetectorRef.markForCheck())};
Gh.Object.defineProperties(TU.prototype,{selectable:{configurable:!0,enumerable:!0,get:function(){return this._selectable&&this.chipListSelectable},set:function(a){this._selectable=a;this._changeDetectorRef.markForCheck()}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this._setSelectedState(a,!1,!0)}},ariaSelected:{configurable:!0,enumerable:!0,get:function(){return this.selectable?this.selected.toString():null}}});
TU.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(TU)))(b||TU)}}();
TU.\u0275cmp=r({type:TU,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&&(Sf("id",b.id),Af("tabindex",null)("aria-label",null)("aria-description",null)("role",b.role),Jf("mdc-evolution-chip",!b._isBasicChip)("mdc-evolution-chip--filter",!b._isBasicChip)("mdc-evolution-chip--selectable",!b._isBasicChip)("mat-mdc-chip-selected",b.selected)("mat-mdc-chip-multiple",
b._chipListMultiple)("mat-mdc-chip-disabled",b.disabled)("mat-mdc-chip-with-avatar",b.leadingIcon)("mdc-evolution-chip--disabled",b.disabled)("mdc-evolution-chip--selected",b.selected)("mdc-evolution-chip--selecting",!b._animationsDisabled)("mdc-evolution-chip--with-trailing-action",b._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",b.leadingIcon)("mdc-evolution-chip--with-primary-graphic",b._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",b.leadingIcon)("mat-mdc-chip-highlighted",
b.highlighted)("mat-mdc-chip-with-trailing-icon",b._hasTrailingIcon()))},inputs:{selectable:["selectable","selectable",ug],selected:["selected","selected",ug]},outputs:{selectionChange:"selectionChange"},standalone:!0,features:[bg([{provide:QU,useExisting:TU},{provide:Vmc,useExisting:TU}]),zf,yf,dg],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"],[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"],[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&&(Vf(Ymc),L(0,"span",0),H(1,"span",1)(2,"button",2),F(3,VUa,5,0,"span",3),H(4,"span",4),Wf(5),L(6,"span",5),K()()(),F(7,WUa,2,0,"span",6),H(8,"span",7),T(9),K());a&2&&(A(2),G("tabIndex",
b.tabIndex)("_allowFocusWhenDisabled",!0),Af("aria-selected",b.ariaSelected)("aria-label",b.ariaLabel)("aria-describedby",b._ariaDescriptionId),A(1),Nf(3,b._hasLeadingGraphic()?3:-1),A(4),Nf(7,b._hasTrailingIcon()?7:-1),A(1),G("id",b._ariaDescriptionId),A(1),$f(b.ariaDescription))},dependencies:[PU],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){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 Zmc=function(a,b){this.source=a;this.value=b},$mc={provide:jw,useExisting:Jc(function(){return UU}),multi:!0},UU=function(){RU.apply(this,arguments);this._onTouched=function(){};this._onChange=function(){};this._defaultRole="listbox";this._defaultOptions=Nc(Rmc,{optional:!0});this._multiple=!1;this.ariaOrientation="horizontal";this._selectable=!0;this.compareWith=function(c,d){return c===d};this.required=!1;var a,b;this._hideSingleSelectionIndicator=null!=(b=null==(a=this._defaultOptions)?void 0:
a.hideSingleSelectionIndicator)?b:!1;this.change=new mv;this._chips=void 0};Y(UU,RU);g=UU.prototype;
g.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()})};g.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()}};g.writeValue=function(a){this._chips?this._setSelectionByValue(a,!1):null!=a&&(this._pendingInitialValue=a)};g.registerOnChange=function(a){this._onChange=a};g.registerOnTouched=function(a){this._onTouched=a};
g.setDisabledState=function(a){this.disabled=a};g._setSelectionByValue=function(a,b){var c=this;b=void 0===b?!0:b;this._clearSelection();Array.isArray(a)?a.forEach(function(d){return c._selectValue(d,b)}):this._selectValue(a,b)};g._blur=function(){var a=this;this.disabled||setTimeout(function(){a.focused||a._markAsTouched()})};g._keydown=function(a){9===a.keyCode&&RU.prototype._allowFocusEscape.call(this)};g._markAsTouched=function(){this._onTouched();this._changeDetectorRef.markForCheck()};
g._propagateChanges=function(){var a=null;Array.isArray(this.selected)?a=this.selected.map(function(b){return b.value}):a=this.selected?this.selected.value:void 0;this._value=a;this.change.emit(new Zmc(this,a));this._onChange(a);this._changeDetectorRef.markForCheck()};g._clearSelection=function(a){this._chips.forEach(function(b){b!==a&&b.deselect()})};
g._selectValue=function(a,b){var c=this,d=this._chips.find(function(e){return null!=e.value&&c.compareWith(e.value,a)});d&&(b?d._setSelectedState(!0,!0,!0):d.select());return d};g._syncListboxProperties=function(){var a=this;this._chips&&Promise.resolve().then(function(){a._chips.forEach(function(b){b._chipListMultiple=a.multiple;b.chipListSelectable=a._selectable;b._chipListHideSingleSelectionIndicator=a.hideSingleSelectionIndicator;b._changeDetectorRef.markForCheck()})})};
g._getFirstSelectedChip=function(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected};g._skipPredicate=function(a){return!a.isInteractive};
Gh.Object.defineProperties(UU.prototype,{multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){this._multiple=a;this._syncListboxProperties()}},selected:{configurable:!0,enumerable:!0,get:function(){var a=this._chips.toArray().filter(function(b){return b.selected});return this.multiple?a:a[0]}},selectable:{configurable:!0,enumerable:!0,get:function(){return this._selectable},set:function(a){this._selectable=a;this._syncListboxProperties()}},hideSingleSelectionIndicator:{configurable:!0,
enumerable:!0,get:function(){return this._hideSingleSelectionIndicator},set:function(a){this._hideSingleSelectionIndicator=a;this._syncListboxProperties()}},chipSelectionChanges:{configurable:!0,enumerable:!0,get:function(){return this._getChipStream(function(a){return a.selectionChange})}},chipBlurChanges:{configurable:!0,enumerable:!0,get:function(){return this._getChipStream(function(a){return a._onBlur})}},value:{configurable:!0,enumerable:!0,get:function(){return this._value},set:function(a){this.writeValue(a);
this._value=a}}});UU.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(UU)))(b||UU)}}();
UU.\u0275cmp=r({type:UU,selectors:[["mat-chip-listbox"]],contentQueries:function(a,b,c){a&1&&pg(c,TU,5);if(a&2){var d;ng(d=qg())&&(b._chips=d)}},hostAttrs:["ngSkipHydration","",1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(a,b){a&1&&Q("focus",function(){return b.focus()})("blur",function(){return b._blur()})("keydown",function(c){return b._keydown(c)});a&2&&(Sf("tabIndex",b.disabled||b.empty?-1:b.tabIndex),Af("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),Jf("mat-mdc-chip-list-disabled",b.disabled)("mat-mdc-chip-list-required",b.required))},inputs:{multiple:["multiple","multiple",ug],ariaOrientation:["aria-orientation","ariaOrientation"],selectable:["selectable","selectable",ug],compareWith:"compareWith",required:["required","required",ug],hideSingleSelectionIndicator:["hideSingleSelectionIndicator",
"hideSingleSelectionIndicator",ug],value:"value"},outputs:{change:"change"},standalone:!0,features:[bg([$mc]),zf,yf,dg],ngContentSelectors:["*"],decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a){a&1&&(Vf(),H(0,"div",0),Wf(1),K())},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 VU=function(){};VU.\u0275fac=function(a){return new (a||VU)};VU.\u0275mod=Tc({type:VU});VU.\u0275inj=Ec({providers:[oz,{provide:Rmc,useValue:{separatorKeyCodes:[13]}}],imports:[jz,uz,jz]});var WU=function(){};WU.\u0275fac=function(a){return new (a||WU)};WU.\u0275mod=Tc({type:WU});WU.\u0275inj=Ec({imports:[VU]});var XU=new bd("GMAT_LEGACY_TABS_OPTION");var YU=function(a){this.inkBarPositioner=a};YU.prototype.isEnabled=function(){return this.inkBarPositioner===XUa};YU.\u0275fac=function(a){return new (a||YU)(B(Glc))};YU.\u0275dir=Vc({type:YU,selectors:[["","gmat-tabs",""],["mat-tab-group"],["","mat-tab-nav-bar",""]],hostVars:2,hostBindings:function(a,b){a&2&&Jf("gmat-tabs",b.isEnabled())},features:[bg([{provide:Glc,useFactory:function(a,b,c){return a.nativeElement.hasAttribute("gmat-tabs")||c&&c.enabled?XUa:b},deps:[Hd,[new Au,Glc],[new zu,XU]]}])]});var ZU=function(a,b){this.context={};b.createEmbeddedView(a,this.context)};Gh.Object.defineProperties(ZU.prototype,{xapLet:{configurable:!0,enumerable:!0,set:function(a){var b=new Set(YUa(a));if(void 0!==this.context)for(var c=l(YUa(this.context).filter(function(e){return!b.has(e)})),d=c.next();!d.done;d=c.next())delete this.context[d.value];c=l(b);for(d=c.next();!d.done;d=c.next())d=d.value,this.context[d]=a[d];this.context.$implicit=a;this.context.xapLet=a}}});
ZU.\u0275fac=function(a){return new (a||ZU)(B(kg),B(lg))};ZU.\u0275dir=Vc({type:ZU,selectors:[["","xapLet",""]],inputs:{xapLet:"xapLet"},standalone:!0});var $U=function(){};$U.\u0275fac=function(a){return new (a||$U)};$U.\u0275mod=Tc({type:$U});$U.\u0275inj=Ec({});var anc=new bd("MatRadioGroup"),bnc=new bd("mat-radio-default-options",{providedIn:"root",factory:ZUa});var cnc=["input"],dnc=0,enc=function(a,b){this.source=a;this.value=b},aV=function(a){this._changeDetector=a;this._value=null;this._name="mat-radio-group-"+dnc++;this._selected=null;this._isInitialized=!1;this._labelPosition="after";this._required=this._disabled=!1;this._controlValueAccessorChangeFn=function(){};this.onTouched=function(){};this.change=new mv};g=aV.prototype;g._checkSelectedRadioButton=function(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)};
g.ngAfterContentInit=function(){var a=this;this._isInitialized=!0;this._buttonChanges=this._radios.changes.subscribe(function(){a.selected&&!a._radios.find(function(b){return b===a.selected})&&(a._selected=null)})};g.ngOnDestroy=function(){var a;null==(a=this._buttonChanges)||a.unsubscribe()};g._touch=function(){if(this.onTouched)this.onTouched()};g._updateRadioButtonNames=function(){var a=this;this._radios&&this._radios.forEach(function(b){b.name=a.name;b._markForCheck()})};
g._updateSelectedRadioFromValue=function(){var a=this,b=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)}))};g._emitChangeEvent=function(){this._isInitialized&&this.change.emit(new enc(this._selected,this._value))};g._markRadiosForCheck=function(){this._radios&&this._radios.forEach(function(a){return a._markForCheck()})};g.writeValue=function(a){this.value=a;this._changeDetector.markForCheck()};
g.registerOnChange=function(a){this._controlValueAccessorChangeFn=a};g.registerOnTouched=function(a){this.onTouched=a};g.setDisabledState=function(a){this.disabled=a;this._changeDetector.markForCheck()};
Gh.Object.defineProperties(aV.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=Sg(a);this._markRadiosForCheck()}},required:{configurable:!0,enumerable:!0,get:function(){return this._required},set:function(a){this._required=Sg(a);this._markRadiosForCheck()}}});
aV.\u0275fac=function(a){return new (a||aV)(B(Fu))};aV.\u0275dir=Vc({type:aV,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}});
var fnc=Ih(Wpa(function(a){this._elementRef=a})),bV=function(a,b,c,d,e,f,h,k){b=fnc.call(this,b)||this;b._changeDetector=c;b._focusMonitor=d;b._radioDispatcher=e;b._providerOverride=h;b._uniqueId="mat-radio-"+ ++dnc;b.id=b._uniqueId;b.change=new mv;b._checked=!1;b._value=null;b._removeUniqueSelectionListener=function(){};b.radioGroup=a;b._noopAnimations="NoopAnimations"===f;k&&(b.tabIndex=Vg(k,0));return b};Y(bV,fnc);g=bV.prototype;
g.focus=function(a,b){b?Zw(this._focusMonitor,this._inputElement,b,a):this._inputElement.nativeElement.focus(a)};g._markForCheck=function(){this._changeDetector.markForCheck()};g.ngOnInit=function(){var a=this;if(this.radioGroup){if(this.checked=this.radioGroup.value===this._value)this.radioGroup.selected=this;this.name=this.radioGroup.name}this._removeUniqueSelectionListener=this._radioDispatcher.listen(function(b,c){b!==a.id&&c===a.name&&(a.checked=!1)})};g.ngDoCheck=function(){this._updateTabIndex()};
g.ngAfterViewInit=function(){var a=this;this._updateTabIndex();this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){!b&&a.radioGroup&&a.radioGroup._touch()})};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._removeUniqueSelectionListener()};g._emitChangeEvent=function(){this.change.emit(new enc(this,this._value))};g._isRippleDisabled=function(){return this.disableRipple||this.disabled};g._onInputClick=function(a){a.stopPropagation()};
g._onInputInteraction=function(a){a.stopPropagation();this.checked||this.disabled||(a=this.radioGroup&&this.value!==this.radioGroup.value,this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),a&&this.radioGroup._emitChangeEvent()))};g._onTouchTargetClick=function(a){this._onInputInteraction(a);this.disabled||this._inputElement.nativeElement.focus()};g._setDisabled=function(a){this._disabled!==a&&(this._disabled=a,this._changeDetector.markForCheck())};
g._updateTabIndex=function(){var a=this.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)}};
Gh.Object.defineProperties(bV.prototype,{checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){a=Sg(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(Sg(a))}},
required:{configurable:!0,enumerable:!0,get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(a){this._required=Sg(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"}}});bV.\u0275fac=function(){Od()};
bV.\u0275dir=Vc({type:bV,viewQuery:function(a,b){a&1&&og(cnc,5);if(a&2){var c;ng(c=qg())&&(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:[yf]});var gnc=function(a){return{enterDuration:a}},hnc={provide:jw,useExisting:Jc(function(){return cV}),multi:!0},cV=function(){aV.apply(this,arguments)};Y(cV,aV);cV.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(cV)))(b||cV)}}();
cV.\u0275dir=Vc({type:cV,selectors:[["mat-radio-group"]],contentQueries:function(a,b,c){a&1&&pg(c,dV,5);if(a&2){var d;ng(d=qg())&&(b._radios=d)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[bg([hnc,{provide:anc,useExisting:cV}]),yf]});var dV=function(a,b,c,d,e,f,h,k){return bV.call(this,a,b,c,d,e,f,h,k)||this};Y(dV,bV);dV.\u0275dir=bV.\u0275dir;dV.\u0275fac=function(a){return new (a||dV)(B(anc,8),B(Hd),B(Fu),B(Yw),B(Rx),B(Du,8),B(bnc,8),Bd("tabindex"))};
dV.\u0275cmp=r({type:dV,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:18,hostBindings:function(a,b){a&1&&Q("focus",function(){return b._inputElement.nativeElement.focus()});a&2&&(Af("tabindex",null)("id",b.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null)("mat-id-collision",null),Jf("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:[yf],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&&(Vf(),H(0,"label",0,1)(2,"span",2),L(3,"span",3)(4,"span",4),H(5,"input",5,6),Q("change",function(d){return b._onInputInteraction(d)})("click",function(d){return b._onInputClick(d)}),K(),H(7,"span",7),L(8,"span",8),K()(),H(9,"span",9)(10,"span",10),T(11,"\u00a0"),K(),Wf(12),K()());if(a&2){var c=S(1);Af("for",
b.inputId);A(5);G("id",b.inputId)("checked",b.checked)("disabled",b.disabled)("required",b.required);Af("name",b.name)("value",b.value)("aria-label",b.ariaLabel)("aria-labelledby",b.ariaLabelledby)("aria-describedby",b.ariaDescribedby);A(2);G("matRippleTrigger",c)("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",fg(17,gnc,b._noopAnimations?0:150));A(2);Jf("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 eV=new bd("CDK_TABLE");new bd("text-column-options");var fV=function(a){this.template=a};fV.\u0275fac=function(a){return new (a||fV)(B(kg))};fV.\u0275dir=Vc({type:fV,selectors:[["","cdkCellDef",""]],standalone:!0});var gV=function(a){this.template=a};gV.\u0275fac=function(a){return new (a||gV)(B(kg))};gV.\u0275dir=Vc({type:gV,selectors:[["","cdkHeaderCellDef",""]],standalone:!0});var hV=function(a){this.template=a};hV.\u0275fac=function(a){return new (a||hV)(B(kg))};hV.\u0275dir=Vc({type:hV,selectors:[["","cdkFooterCellDef",""]],standalone:!0});
var inc=$Ua(function(){}),iV=function(a){var b=inc.call(this)||this;b._table=a;b._stickyEnd=!1;return b};Y(iV,inc);iV.prototype._updateColumnCssClassName=function(){this._columnCssClassName=["cdk-column-"+this.cssClassFriendlyName]};iV.prototype._setNameInput=function(a){a&&(this._name=a,this.cssClassFriendlyName=a.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())};
Gh.Object.defineProperties(iV.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){a!==this._stickyEnd&&(this._stickyEnd=a,this._hasStickyChanged=!0)}}});iV.\u0275fac=function(a){return new (a||iV)(B(eV,8))};
iV.\u0275dir=Vc({type:iV,selectors:[["","cdkColumnDef",""]],contentQueries:function(a,b,c){a&1&&(pg(c,fV,5),pg(c,gV,5),pg(c,hV,5));if(a&2){var d;ng(d=qg())&&(b.cell=d.first);ng(d=qg())&&(b.headerCell=d.first);ng(d=qg())&&(b.footerCell=d.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:["stickyEnd","stickyEnd",ug]},standalone:!0,features:[bg([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:iV}]),zf,yf]});
var jV=function(a,b){b.nativeElement.classList.add.apply(b.nativeElement.classList,u(a._columnCssClassName))},kV=function(a,b){jV.call(this,a,b)};Y(kV,jV);kV.\u0275fac=function(a){return new (a||kV)(B(iV),B(Hd))};kV.\u0275dir=Vc({type:kV,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[yf]});
var lV=function(a,b){jV.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"))};Y(lV,jV);lV.\u0275fac=function(a){return new (a||lV)(B(iV),B(Hd))};lV.\u0275dir=Vc({type:lV,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],standalone:!0,features:[yf]});
var mV=function(a,b){jV.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"))};Y(mV,jV);mV.\u0275fac=function(a){return new (a||mV)(B(iV),B(Hd))};mV.\u0275dir=Vc({type:mV,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[yf]});var jnc=function(){this.tasks=[];this.endTasks=[]},knc=new bd("_COALESCED_STYLE_SCHEDULER"),nV=function(a){this._ngZone=a;this._currentSchedule=null;this._destroyed=new E.Subject};nV.prototype.schedule=function(a){this._createScheduleIfNeeded();this._currentSchedule.tasks.push(a)};nV.prototype.ngOnDestroy=function(){this._destroyed.next();this._destroyed.complete()};
nV.prototype._createScheduleIfNeeded=function(){var a=this;this._currentSchedule||(this._currentSchedule=new jnc,this._getScheduleObservable().pipe(bf(this._destroyed)).subscribe(function(){for(;a._currentSchedule.tasks.length||a._currentSchedule.endTasks.length;){var b=a._currentSchedule;a._currentSchedule=new jnc;for(var c=l(b.tasks),d=c.next();!d.done;d=c.next())d=d.value,d();b=l(b.endTasks);for(d=b.next();!d.done;d=b.next())c=d.value,c()}a._currentSchedule=null}))};
nV.prototype._getScheduleObservable=function(){return this._ngZone.isStable?(0,E.from)(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Qe())};nV.\u0275fac=function(a){return new (a||nV)(p(ef))};nV.\u0275prov=Dc({token:nV,factory:nV.\u0275fac});var oV=function(a,b){this.template=a;this._differs=b};oV.prototype.ngOnChanges=function(a){this._columnsDiffer||(a=a.columns&&a.columns.currentValue||[],this._columnsDiffer=this._differs.find(a).create(),this._columnsDiffer.diff(a))};oV.\u0275fac=function(a){return new (a||oV)(B(kg),B(Iu))};oV.\u0275dir=Vc({type:oV,features:[ld]});var lnc=function(){oV.apply(this,arguments)};Y(lnc,oV);lnc.\u0275dir=oV.\u0275dir;lnc.\u0275fac=oV.\u0275fac;
var mnc=$Ua(lnc),pV=function(a,b,c){a=mnc.call(this,a,b)||this;a._table=c;return a};Y(pV,mnc);pV.prototype.ngOnChanges=function(a){mnc.prototype.ngOnChanges.call(this,a)};pV.\u0275fac=function(a){return new (a||pV)(B(kg),B(Iu),B(eV,8))};pV.\u0275dir=Vc({type:pV,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},standalone:!0,features:[yf,ld]});var nnc=function(){oV.apply(this,arguments)};Y(nnc,oV);nnc.\u0275dir=oV.\u0275dir;
nnc.\u0275fac=oV.\u0275fac;var onc=$Ua(nnc),qV=function(a,b,c){a=onc.call(this,a,b)||this;a._table=c;return a};Y(qV,onc);qV.prototype.ngOnChanges=function(a){onc.prototype.ngOnChanges.call(this,a)};qV.\u0275fac=function(a){return new (a||qV)(B(kg),B(Iu),B(eV,8))};qV.\u0275dir=Vc({type:qV,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},standalone:!0,features:[yf,ld]});
var rV=function(a,b,c){oV.call(this,a,b);this._table=c};Y(rV,oV);rV.\u0275fac=function(a){return new (a||rV)(B(kg),B(Iu),B(eV,8))};rV.\u0275dir=Vc({type:rV,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},standalone:!0,features:[yf]});var tV=function(a){this._viewContainer=a;sV=this};tV.prototype.ngOnDestroy=function(){sV===this&&(sV=null)};var sV=null;tV.\u0275fac=function(a){return new (a||tV)(B(lg))};
tV.\u0275dir=Vc({type:tV,selectors:[["","cdkCellOutlet",""]],standalone:!0});var uV=function(){};uV.\u0275fac=function(a){return new (a||uV)};uV.\u0275cmp=r({type:uV,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[dg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Rf(0,0)},dependencies:[tV],encapsulation:2});var vV=function(){};vV.\u0275fac=function(a){return new (a||vV)};
vV.\u0275cmp=r({type:vV,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],standalone:!0,features:[dg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Rf(0,0)},dependencies:[tV],encapsulation:2});var wV=function(){};wV.\u0275fac=function(a){return new (a||wV)};
wV.\u0275cmp=r({type:wV,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[dg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Rf(0,0)},dependencies:[tV],encapsulation:2});var xV=function(a){this.templateRef=a;this._contentClassName="cdk-no-data-row"};xV.\u0275fac=function(a){return new (a||xV)(B(kg))};xV.\u0275dir=Vc({type:xV,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0});var pnc=new bd("CDK_SPL");var qnc=["top","bottom","left","right"],rnc=function(a,b,c,d,e,f,h){e=void 0===e?!0:e;f=void 0===f?!0:f;this._isNativeHtmlTable=a;this._stickCellCss=b;this.direction=c;this._coalescedStyleScheduler=d;this._isBrowser=e;this._needsPositionStickyOnElement=f;this._positionListener=h;this._cachedCellWidths=[];this._borderCellCss={top:b+"-border-elem-top",bottom:b+"-border-elem-bottom",left:b+"-border-elem-left",right:b+"-border-elem-right"}},snc=function(a,b,c){var d=[];b=l(b);for(var e=b.next();!e.done;e=
b.next())if(e=e.value,e.nodeType===e.ELEMENT_NODE){d.push(e);for(var f=0;f<e.children.length;f++)d.push(e.children[f])}a._coalescedStyleScheduler.schedule(function(){for(var h=l(d),k=h.next();!k.done;k=h.next())a._removeStickyStyle(k.value,c)})},tnc=function(a,b,c,d,e){e=void 0===e?!0:e;if(b.length&&a._isBrowser&&(c.some(function(C){return C})||d.some(function(C){return C}))){var f=b[0],h=f.children.length,k=a._getCellWidths(f,e),q=a._getStickyStartColumnPositions(k,c),t=a._getStickyEndColumnPositions(k,
d),w=c.lastIndexOf(!0),y=d.indexOf(!0);a._coalescedStyleScheduler.schedule(function(){var C="rtl"===a.direction,J=C?"right":"left";C=C?"left":"right";for(var I=l(b),P=I.next();!P.done;P=I.next()){P=P.value;for(var O=0;O<h;O++){var U=P.children[O];c[O]&&a._addStickyStyle(U,J,q[O],O===w);d[O]&&a._addStickyStyle(U,C,t[O],O===y)}}a._positionListener&&(a._positionListener.stickyColumnsUpdated({sizes:-1===w?[]:k.slice(0,w+1).map(function(aa,na){return c[na]?aa:null})}),a._positionListener.stickyEndColumnsUpdated({sizes:-1===
y?[]:k.slice(y).map(function(aa,na){return d[na+y]?aa:null}).reverse()}))})}else a._positionListener&&(a._positionListener.stickyColumnsUpdated({sizes:[]}),a._positionListener.stickyEndColumnsUpdated({sizes:[]}))},unc=function(a,b,c,d){if(a._isBrowser){var e="bottom"===d?b.slice().reverse():b,f="bottom"===d?c.slice().reverse():c,h=[],k=[],q=[];for(c=b=0;b<e.length;b++)if(f[b]){h[b]=c;var t=e[b];q[b]=a._isNativeHtmlTable?Array.from(t.children):[t];t=t.getBoundingClientRect().height;c+=t;k[b]=t}var w=
f.lastIndexOf(!0);a._coalescedStyleScheduler.schedule(function(){for(var y=0;y<e.length;y++)if(f[y])for(var C=h[y],J=y===w,I=l(q[y]),P=I.next();!P.done;P=I.next())a._addStickyStyle(P.value,d,C,J);if("top"===d){var O;null==(O=a._positionListener)||O.stickyHeaderRowsUpdated({sizes:k,offsets:h,elements:q})}else{var U;null==(U=a._positionListener)||U.stickyFooterRowsUpdated({sizes:k,offsets:h,elements:q})}})}},vnc=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)})}};g=rnc.prototype;g._removeStickyStyle=function(a,b){for(var c=l(b),d=c.next();!d.done;d=c.next())d=d.value,a.style[d]="",a.classList.remove(this._borderCellCss[d]);qnc.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))};
g._addStickyStyle=function(a,b,c,d){a.classList.add(this._stickCellCss);d&&a.classList.add(this._borderCellCss[b]);a.style[b]=c+"px";a.style.zIndex=this._getCalculatedZIndex(a);this._needsPositionStickyOnElement&&(a.style.cssText+="position: -webkit-sticky; position: sticky; ")};g._getCalculatedZIndex=function(a){for(var b={top:100,bottom:10,left:1,right:1},c=0,d=l(qnc),e=d.next();!e.done;e=d.next())e=e.value,a.style[e]&&(c+=b[e]);return c?""+c:""};
g._getCellWidths=function(a,b){if(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};g._getStickyStartColumnPositions=function(a,b){for(var c=[],d=0,e=0;e<a.length;e++)b[e]&&(c[e]=d,d+=a[e]);return c};g._getStickyEndColumnPositions=function(a,b){for(var c=[],d=0,e=a.length;0<e;e--)b[e]&&(c[e]=d,d+=a[e]);return c};var wnc=[[["caption"]],[["colgroup"],["col"]]],yV=function(a,b){this.viewContainer=a;this.elementRef=b};yV.\u0275fac=function(a){return new (a||yV)(B(lg),B(Hd))};yV.\u0275dir=Vc({type:yV,selectors:[["","rowOutlet",""]],standalone:!0});var zV=function(a,b){this.viewContainer=a;this.elementRef=b};zV.\u0275fac=function(a){return new (a||zV)(B(lg),B(Hd))};zV.\u0275dir=Vc({type:zV,selectors:[["","headerRowOutlet",""]],standalone:!0});var AV=function(a,b){this.viewContainer=a;this.elementRef=b};
AV.\u0275fac=function(a){return new (a||AV)(B(lg),B(Hd))};AV.\u0275dir=Vc({type:AV,selectors:[["","footerRowOutlet",""]],standalone:!0});var BV=function(a,b){this.viewContainer=a;this.elementRef=b};BV.\u0275fac=function(a){return new (a||BV)(B(lg),B(Hd))};BV.\u0275dir=Vc({type:BV,selectors:[["","noDataRowOutlet",""]],standalone:!0});
var CV=function(a,b,c,d,e,f,h,k,q,t,w,y){this._differs=a;this._changeDetectorRef=b;this._elementRef=c;this._dir=e;this._platform=h;this._viewRepeater=k;this._coalescedStyleScheduler=q;this._viewportRuler=t;this._stickyPositioningListener=w;this._ngZone=y;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 mv;d||this._elementRef.nativeElement.setAttribute("role","table");this._document=f;this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName};
CV.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})};
CV.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&&DV(this);this._checkStickyStates()};
CV.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();hoa(this.dataSource)&&this.dataSource.disconnect(this)};
CV.prototype.renderRows=function(){var a=this;this._renderRows=this._getAllRenderRows();var b=this._dataDiffer.diff(this._renderRows);if(b){var c=this._rowOutlet.viewContainer;zQb(b,c,function(d,e,f){return a._getEmbeddedViewArgs(d.item,f)},function(d){1===d.operation&&d.context&&a._renderCellTemplateForItem(d.record.item.rowDef,d.context)});this._updateRowIndexContext();CNb(b,function(d){c.get(d.currentIndex).context.$implicit=d.item.data});this._updateNoDataRow();this._ngZone&&kka()?this._ngZone.onStable.pipe(Qe(),
bf(this._onDestroy)).subscribe(function(){DV(a)}):DV(this)}else this._updateNoDataRow();this.contentChanged.next()};
var xnc=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});snc(a._stickyStyler,b,["top"]);unc(a._stickyStyler,b,c,"top");a._headerRowDefs.forEach(function(d){return d.resetStickyChanged()})},ync=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});
snc(a._stickyStyler,b,["bottom"]);unc(a._stickyStyler,b,c,"bottom");vnc(a._stickyStyler,a._elementRef.nativeElement,c);a._footerRowDefs.forEach(function(d){return d.resetStickyChanged()})},DV=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)snc(a._stickyStyler,[].concat(u(b),u(c),u(d)),["left","right"]),a._stickyColumnStylesNeedReset=!1;b.forEach(function(e,
f){a._addStickyColumnStyles([e],a._headerRowDefs[f])});a._rowDefs.forEach(function(e){for(var f=[],h=0;h<c.length;h++)a._renderRows[h].rowDef===e&&f.push(c[h]);a._addStickyColumnStyles(f,e)});d.forEach(function(e,f){a._addStickyColumnStyles([e],a._footerRowDefs[f])});Array.from(a._columnDefsByName.values()).forEach(function(e){return e.resetStickyChanged()})};g=CV.prototype;
g._getAllRenderRows=function(){var a=[],b=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(var c=0;c<this._data.length;c++){var d=this._data[c],e=this._getRenderRowsForData(d,c,b.get(d));this._cachedRenderRowsMap.has(d)||this._cachedRenderRowsMap.set(d,new WeakMap);for(d=0;d<e.length;d++){var f=e[d],h=this._cachedRenderRowsMap.get(f.data);h.has(f.rowDef)?h.get(f.rowDef).push(f):h.set(f.rowDef,[f]);a.push(f)}}return a};
g._getRenderRowsForData=function(a,b,c){return this._getRowDefs(a,b).map(function(d){var e=c&&c.has(d)?c.get(d):[];return e.length?(d=e.shift(),d.dataIndex=b,d):{data:a,rowDef:d,dataIndex:b}})};g._cacheColumnDefs=function(){var a=this;this._columnDefsByName.clear();aVa(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(function(b){a._columnDefsByName.has(b.name);a._columnDefsByName.set(b.name,b)})};
g._cacheRowDefs=function(){this._headerRowDefs=aVa(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs);this._footerRowDefs=aVa(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs);this._rowDefs=aVa(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);this._defaultRowDef=this._rowDefs.filter(function(a){return!a.when})[0]};
g._renderUpdatedColumns=function(){var a=function(d,e){return d||!!e._columnsDiffer.diff(e.columns)},b=this._rowDefs.reduce(a,!1);b&&this._forceRenderDataRows();var c=this._headerRowDefs.reduce(a,!1);c&&this._forceRenderHeaderRows();(a=this._footerRowDefs.reduce(a,!1))&&this._forceRenderFooterRows();return b||c||a};
g._switchDataSource=function(a){this._data=[];hoa(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};
g._observeRenderChanges=function(){var a=this;if(this.dataSource){var b;hoa(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()})}};
g._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)});xnc(this)};g._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)});ync(this)};
g._addStickyColumnStyles=function(a,b){var c=this,d=Array.from(b.columns||[]).map(function(e){return c._columnDefsByName.get(e)});b=d.map(function(e){return e.sticky});d=d.map(function(e){return e.stickyEnd});tnc(this._stickyStyler,a,b,d,!this._fixedLayout||this._forceRecalculateCellWidths)};g._getRenderedRows=function(a){for(var b=[],c=0;c<a.viewContainer.length;c++){var d=a.viewContainer.get(c);b.push(d.rootNodes[0])}return b};
g._getRowDefs=function(a,b){if(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};g._getEmbeddedViewArgs=function(a,b){return{templateRef:a.rowDef.template,context:{$implicit:a.data},index:b}};
g._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};g._renderCellTemplateForItem=function(a,b){a=l(this._getCellTemplates(a));for(var c=a.next();!c.done;c=a.next())c=c.value,sV&&sV._viewContainer.createEmbeddedView(c,b);this._changeDetectorRef.markForCheck()};
g._updateRowIndexContext=function(){for(var a=this._rowOutlet.viewContainer,b=0,c=a.length;b<c;b++){var d=a.get(b).context;d.count=c;d.first=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}};
g._getCellTemplates=function(a){var b=this;return a&&a.columns?Array.from(a.columns,function(c){c=b._columnDefsByName.get(c);return a instanceof pV?c.headerCell.template:a instanceof qV?c.footerCell.template:c.cell.template}):[]};
g._applyNativeTableSections=function(){for(var a=this._document.createDocumentFragment(),b=l([{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=l(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)};
g._forceRenderDataRows=function(){this._dataDiffer.diff([]);this._rowOutlet.viewContainer.clear();this.renderRows()};g._checkStickyStates=function(){var a=function(b,c){return b||c.hasStickyChanged()};this._headerRowDefs.reduce(a,!1)&&xnc(this);this._footerRowDefs.reduce(a,!1)&&ync(this);Array.from(this._columnDefsByName.values()).reduce(a,!1)&&(this._stickyColumnStylesNeedReset=!0,DV(this))};
g._setupStickyStyler=function(){var a=this;this._stickyStyler=new rnc(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;DV(a)})};g._getOwnDefs=function(a){var b=this;return a.filter(function(c){return!c._table||c._table===b})};
g._updateNoDataRow=function(){var a=this._customNoDataRow||this._noDataRow;if(a){var b=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;this._changeDetectorRef.markForCheck()}}};
Gh.Object.defineProperties(CV.prototype,{trackBy:{configurable:!0,enumerable:!0,get:function(){return this._trackByFn},set:function(a){this._trackByFn=a}},dataSource:{configurable:!0,enumerable:!0,get:function(){return this._dataSource},set:function(a){this._dataSource!==a&&this._switchDataSource(a)}},multiTemplateDataRows:{configurable:!0,enumerable:!0,get:function(){return this._multiTemplateDataRows},set:function(a){this._multiTemplateDataRows=a;this._rowOutlet&&this._rowOutlet.viewContainer.length&&
(this._forceRenderDataRows(),DV(this))}},fixedLayout:{configurable:!0,enumerable:!0,get:function(){return this._fixedLayout},set:function(a){this._fixedLayout=a;this._stickyColumnStylesNeedReset=this._forceRecalculateCellWidths=!0}}});CV.\u0275fac=function(a){return new (a||CV)(B(Iu),B(Fu),B(Hd),Bd("role"),B(Nx,8),B(Xg),B(Vw),B(xQb),B(knc),B(Sx),B(pnc,12),B(ef,8))};
CV.\u0275cmp=r({type:CV,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(a,b,c){a&1&&(pg(c,xV,5),pg(c,iV,5),pg(c,rV,5),pg(c,pV,5),pg(c,qV,5));if(a&2){var d;ng(d=qg())&&(b._noDataRow=d.first);ng(d=qg())&&(b._contentColumnDefs=d);ng(d=qg())&&(b._contentRowDefs=d);ng(d=qg())&&(b._contentHeaderRowDefs=d);ng(d=qg())&&(b._contentFooterRowDefs=d)}},viewQuery:function(a,b){a&1&&(og(yV,7),og(zV,7),og(AV,7),og(BV,7));if(a&2){var c;ng(c=qg())&&(b._rowOutlet=c.first);ng(c=qg())&&(b._headerRowOutlet=
c.first);ng(c=qg())&&(b._footerRowOutlet=c.first);ng(c=qg())&&(b._noDataRowOutlet=c.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(a,b){a&2&&Jf("cdk-table-fixed-layout",b.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:["multiTemplateDataRows","multiTemplateDataRows",ug],fixedLayout:["fixedLayout","fixedLayout",ug]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[bg([{provide:eV,
useExisting:CV},{provide:xQb,useClass:yQb},{provide:knc,useClass:nV},{provide:pnc,useValue:null}]),zf,dg],ngContentSelectors:["caption","colgroup, col"],decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(a){a&1&&(Vf(wnc),Wf(0),Wf(1,1),Rf(2,0)(3,1)(4,2)(5,3))},dependencies:[zV,yV,BV,AV],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2});var EV=function(){};EV.\u0275fac=function(a){return new (a||EV)};EV.\u0275mod=Tc({type:EV});EV.\u0275inj=Ec({imports:[Ux]});var FV=function(){fV.apply(this,arguments)};Y(FV,fV);FV.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(FV)))(b||FV)}}();FV.\u0275dir=Vc({type:FV,selectors:[["","matCellDef",""]],features:[bg([{provide:fV,useExisting:FV}]),yf]});var GV=function(){gV.apply(this,arguments)};Y(GV,gV);GV.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(GV)))(b||GV)}}();GV.\u0275dir=Vc({type:GV,selectors:[["","matHeaderCellDef",""]],features:[bg([{provide:gV,useExisting:GV}]),yf]});
var HV=function(){hV.apply(this,arguments)};Y(HV,hV);HV.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(HV)))(b||HV)}}();HV.\u0275dir=Vc({type:HV,selectors:[["","matFooterCellDef",""]],features:[bg([{provide:hV,useExisting:HV}]),yf]});var IV=function(){return iV.apply(this,arguments)||this};Y(IV,iV);IV.prototype._updateColumnCssClassName=function(){iV.prototype._updateColumnCssClassName.call(this);this._columnCssClassName.push("mat-column-"+this.cssClassFriendlyName)};
Gh.Object.defineProperties(IV.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._setNameInput(a)}}});IV.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(IV)))(b||IV)}}();IV.\u0275dir=Vc({type:IV,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[bg([{provide:iV,useExisting:IV},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:IV}]),yf]});var JV=function(){kV.apply(this,arguments)};
Y(JV,kV);JV.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(JV)))(b||JV)}}();JV.\u0275dir=Vc({type:JV,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[yf]});var KV=function(){lV.apply(this,arguments)};Y(KV,lV);KV.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(KV)))(b||KV)}}();
KV.\u0275dir=Vc({type:KV,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:["role","gridcell",1,"mat-footer-cell"],features:[yf]});var LV=function(){mV.apply(this,arguments)};Y(LV,mV);LV.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(LV)))(b||LV)}}();LV.\u0275dir=Vc({type:LV,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[yf]});var MV=function(){return pV.apply(this,arguments)||this};Y(MV,pV);MV.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(MV)))(b||MV)}}();MV.\u0275dir=Vc({type:MV,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[bg([{provide:pV,useExisting:MV}]),yf]});var NV=function(){return qV.apply(this,arguments)||this};Y(NV,qV);NV.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(NV)))(b||NV)}}();
NV.\u0275dir=Vc({type:NV,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[bg([{provide:qV,useExisting:NV}]),yf]});var OV=function(){rV.apply(this,arguments)};Y(OV,rV);OV.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(OV)))(b||OV)}}();
OV.\u0275dir=Vc({type:OV,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[bg([{provide:rV,useExisting:OV}]),yf]});var PV=function(){};Y(PV,uV);PV.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(PV)))(b||PV)}}();
PV.\u0275cmp=r({type:PV,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],hostVars:1,hostBindings:function(a){a&2&&Af("mat-id-collision",null)},exportAs:["matHeaderRow"],features:[bg([{provide:uV,useExisting:PV}]),yf],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Rf(0,0)},dependencies:[tV],encapsulation:2});var QV=function(){};Y(QV,vV);QV.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(QV)))(b||QV)}}();
QV.\u0275cmp=r({type:QV,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],hostVars:1,hostBindings:function(a){a&2&&Af("mat-id-collision",null)},exportAs:["matFooterRow"],features:[bg([{provide:vV,useExisting:QV}]),yf],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Rf(0,0)},dependencies:[tV],encapsulation:2});var RV=function(){};Y(RV,wV);RV.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(RV)))(b||RV)}}();
RV.\u0275cmp=r({type:RV,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],hostVars:1,hostBindings:function(a){a&2&&Af("mat-id-collision",null)},exportAs:["matRow"],features:[bg([{provide:wV,useExisting:RV}]),yf],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Rf(0,0)},dependencies:[tV],encapsulation:2});var SV=function(){xV.apply(this,arguments);this._contentClassName="mat-no-data-row"};Y(SV,xV);
SV.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(SV)))(b||SV)}}();SV.\u0275dir=Vc({type:SV,selectors:[["ng-template","matNoDataRow",""]],features:[bg([{provide:xV,useExisting:SV}]),yf]});var znc=[[["caption"]],[["colgroup"],["col"]]],TV=function(){CV.apply(this,arguments);this.stickyCssClass="mat-table-sticky";this.needsPositionStickyOnElement=!1};Y(TV,CV);TV.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(TV)))(b||TV)}}();
TV.\u0275cmp=r({type:TV,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-table"],hostVars:3,hostBindings:function(a,b){a&2&&(Af("mat-id-collision",null),Jf("mat-table-fixed-layout",b.fixedLayout))},exportAs:["matTable"],features:[bg([{provide:xQb,useClass:yQb},{provide:CV,useExisting:TV},{provide:eV,useExisting:TV},{provide:knc,useClass:nV},{provide:pnc,useValue:null}]),yf],ngContentSelectors:["caption","colgroup, col"],decls:6,vars:0,consts:[["headerRowOutlet",
""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(a){a&1&&(Vf(znc),Wf(0),Wf(1,1),Rf(2,0)(3,1)(4,2)(5,3))},dependencies:[yV,zV,AV,BV],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 Anc=["searchInput"],iVa=function(a,b){return{issues:a,tab:b}},Bnc={title:"Select an issue.",defaultChoices:[],allowMultipleIds:!1},Cnc={SIMILAR_ISSUES:"Similar issues",SEARCH_RESULTS:"Search results",ISSUE_IDS:"Issue IDs"},VV=function(a,b,c,d,e,f,h){Z.call(this);var k=this;this.dialogRef=a;this.initialData=b;this.issueFridge=c;this.issuePickerSearchService=d;this.analytics=e;this.activeSession=f;this.liveAnnouncer=h;this.data=Object.assign({},Bnc,this.initialData);var q;this.currentComponentId=
null!=(q=this.data.componentId)?q:void 0;this.currentIssueId$=(0,E.defer)(function(){var t;return"issue"===(null==(t=k.data.currentResource)?void 0:t.type)?(0,E.of)(k.data.currentResource.id):E.NEVER});this.currentIssue$=this.currentIssueId$.pipe(af(this.issueFridge.watch),Ye({bufferSize:1,refCount:!0}));this.selectedIssues=new iP;this.tableColumns="single-selection title id priority status duplicateCount votes createdTime".split(" ");this.issueUrlFactory=Ok;this.trackByIssueId=function(t,w){return w.issueId};
this.issues$=this.issueFridge.watchSet([]);this.searchText$=new E.BehaviorSubject("");this.searchTextTrimmed$=this.searchText$.pipe(D(function(t){return t.trim()}),Pe());this.idsInSearchText$=this.searchTextTrimmed$.pipe(D(jEa),D(Qj),Pe($h));this.issuesWithIdMatches$=this.idsInSearchText$.pipe(af(function(t){return k.issueFridge.watchSet(t)}));this.allFilters=[Fmc];this.selectedFilters$=new iP([].concat(u(this.allFilters)));this.similarIssues$=(0,E.combineLatest)([this.currentIssue$.pipe(He(jl)),
this.selectedFilters$.value$]).pipe(He(function(){return UV(k)}),cf(function(){k.isLoading=!0}),af(function(t){var w=l(t);t=w.next().value;w=w.next().value;return Jmc(k.issuePickerSearchService,t.snapshot[0].title,w,k.data.edgeType,k.data.currentResource,k.currentComponentId)}),cf(function(){k.isLoading=!1}),Ye({bufferSize:1,refCount:!0}));this.searchResults$=(0,E.combineLatest)([this.searchTextTrimmed$.pipe(cf(function(){k.isLoading=!0}),Ne(200)),this.selectedFilters$.value$.pipe(cf(function(){k.isLoading=
!0}))]).pipe(af(function(t){var w=l(t);t=w.next().value;w=w.next().value;return UV(k)?Jmc(k.issuePickerSearchService,t,w,k.data.edgeType,k.data.currentResource,k.currentComponentId):k.issuePickerSearchService.search(t,k.data.edgeType,k.data.currentResource,k.currentComponentId)}),cf(function(){k.isLoading=!1}),Ye({bufferSize:1,refCount:!0}));this.idsToAutoSelect$=this.issuesWithIdMatches$.pipe(D(function(t){return 1!==t.length||4>t[0].issueId.length?[]:[t[0].issueId]}),Pe($h));this.TABS=Cnc;this.visibleTabs$=
(0,E.combineLatest)([this.similarIssues$.pipe($e([])),this.issuesWithIdMatches$.pipe($e([])),this.searchTextTrimmed$.pipe($e(void 0))]).pipe(D(function(t){var w=l(t);t=w.next().value;var y=w.next().value;w=w.next().value;return[].concat(u(UV(k)||(null==t?0:t.length)?["Similar issues"]:[]),u(w?["Search results"]:[]),u(y.length?["Issue IDs"]:[]))}),Pe());this.automaticallySelectedTab$=(0,E.combineLatest)([this.searchTextTrimmed$,this.idsToAutoSelect$,this.similarIssues$.pipe($e([]))]).pipe(D(function(t){t=
l(t);var w=t.next().value,y=t.next().value;t.next();return y.length?"Issue IDs":w?"Search results":"Similar issues"}),Pe());this.automaticallySelectedTabIndex$=this.automaticallySelectedTab$.pipe(df(this.visibleTabs$),D(function(t){t=l(t);var w=t.next().value;return t.next().value.indexOf(w)}),Pe());this.correctedDisplayedRows=new rg;this.lastSelectionTab="none";this.isLoading=!1};Y(VV,Z);VV.\u0275dir=Z.\u0275dir;
VV.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(Mmc(this.issuePickerSearchService,this.currentComponentId).subscribe())};
VV.prototype.ngAfterViewInit=function(){this.focusManager=Ax(new Pmc(this.correctedDisplayedRows,function(a,b){return a.issueId===b.issueId}))};
var UV=function(a){return yD(a.activeSession,"enableEmbeddedSimilarIssuesUi")&&a.activeSession.isInternalSession()&&!(!a.data.componentId||!a.activeSession.getSimilarIssuesComponentsAllowlist().has(a.data.componentId))},OVa=function(a,b){var c,d;return qe(function(e){if(1==e.nextAddress)return e.yield(oo(),2);c=new Map(a.displayedRows.toArray().map(function(f){return[f.row.issueId,f]}));d=b.map(function(f){return c.get(f.issueId)}).filter(jl);a.correctedDisplayedRows.reset(d);mg(a.correctedDisplayedRows);
we(e)})};
VV.prototype.onPressConfirm=function(){var a=this,b,c,d,e,f,h,k;return qe(function(q){if(1==q.nextAddress){if(!a.selectedIssues.size)return q.return();b=[].concat(u(a.selectedIssues));c={selectedIssueIds:b};a.dialogRef.close(c);d=a.lastSelectionTab;"Search results"===a.lastSelectionTab&&UV(a)&&(d="Semantic search results");e=a.analytics;f=e.trackEvent;h="picked-"+a.data.edgeType;k=d;return q.yield(Dnc(a,b[0]),2)}f.call(e,"assistive-issue-picker",h,k,q.yieldResult);"Issue IDs"===a.lastSelectionTab&&UV(a)&&
a.similarIssues$.pipe(Qe()).subscribe(function(t){t&&t.some(function(w){return b.includes(w.issueId)})&&a.analytics.trackEvent("assistive-issue-picker","searched-by-issue-id","matched-similar-issue")});we(q)})};VV.prototype.onPressCancel=function(){this.dialogRef.close()};VV.prototype.selectIssue=function(a,b){this.selectedIssues.reset([a]);this.lastSelectionTab=b};VV.prototype.onRowKeydown=function(a,b,c){if(0===a&&"ArrowUp"===c.key)this.inputEl.nativeElement.focus(),c.preventDefault();else this.focusManager.onKeydown(c)};
var Dnc=function(a,b){var c,d;return qe(function(e){if(1==e.nextAddress){if("canonical"!==a.data.edgeType)return e.return(0);c=Set;return e.yield((0,E.firstValueFrom)(Mmc(a.issuePickerSearchService,a.currentComponentId)),2)}d=new c(e.yieldResult);return e.return(d.has(b)?1:0)})};VV.\u0275fac=function(a){return new (a||VV)(B(sA),B(uA),B(iI),B(zU),B(aI),B(nt),B(ox))};
VV.\u0275cmp=r({type:VV,selectors:[["assistive-issue-picker-dialog"]],viewQuery:function(a,b){a&1&&(og(Anc,5),og(MU,5));if(a&2){var c;ng(c=qg())&&(b.inputEl=c.first);ng(c=qg())&&(b.displayedRows=c)}},hostBindings:function(a,b){a&1&&Q("keydown.control.enter",function(){return b.onPressConfirm()})("keydown.meta.enter",function(){return b.onPressConfirm()})("keydown.escape",function(){return b.onPressCancel()})},features:[yf],decls:31,vars:25,consts:[["mat-dialog-title",""],["class","heading flex-kids-y gap-s border-bottom padded-bottom margin-s-bottom",
4,"ngIf"],[1,"heading","flex-kids-x","gap-xxs","align-items-center","padded-s-y","heading-m"],["svgIcon","merge_type_24px",1,"rotate-180","green"],[1,"search-field","margin-s-bottom"],["svgIcon","search",1,"icon-m"],["type","search","placeholder","Search by title, contents, or id",3,"keydown.arrowdown","input"],["searchInput",""],[4,"ngIf"],["gmat-tabs","",3,"selectedIndex"],["tabGroup",""],["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"],[1,"heading","flex-kids-y","gap-s","border-bottom","padded-bottom","margin-s-bottom"],[1,"type-xs"],[1,"heading-s","line-clamp-3"],["class","margin-s-bottom",4,"ngIf"],[1,"margin-s-bottom"],["aria-label","Issue filters",3,"change",4,"ngIf"],["aria-label","Issue filters",3,"change"],["appearance","hairline-filter",
3,"selected","value",4,"ngFor","ngForOf"],["appearance","hairline-filter",3,"selected","value"],[3,"matTooltip"],["label","Similar issues"],["tab","matTab"],[4,"xapLet"],[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=v();H(0,"div",0);F(1,bVa,5,1,"div",
1);W(2,"async");H(3,"div",2);L(4,"mat-icon",3);H(5,"span");T(6,"Close as duplicate of:");K()();H(7,"header",4);L(8,"mat-icon",5);H(9,"input",6,7);Q("keydown.arrowdown",function(){return b.focusManager.setActiveItem(0)})("input",function(){x(c);var k=S(10);return z(b.searchText$.next(k.value))});K()();F(11,fVa,2,1,"ng-container",8);W(12,"async");K();H(13,"mat-tab-group",9,10);W(15,"async");W(16,"async");F(17,lVa,4,3,"mat-tab",11);W(18,"async");F(19,qVa,4,3,"mat-tab",12);W(20,"async");F(21,vVa,4,3,
"mat-tab",13);W(22,"async");K();F(23,SVa,4,3,"ng-template",null,14,tg);H(25,"div",15)(26,"button",16);Q("click",function(){return b.onPressCancel()});T(27," Cancel ");K();H(28,"button",17);Q("click",function(){return b.onPressConfirm()});W(29,"async");T(30," Close as duplicate ");K()()}if(a&2){var d,e,f,h;A(1);G("ngIf",X(2,9,b.currentIssue$));A(10);G("ngIf",UV(b)&&X(12,11,b.visibleTabs$));A(2);Jf("hidden",!(null==(d=X(15,13,b.visibleTabs$))?0:d.length));G("selectedIndex",X(16,15,b.automaticallySelectedTabIndex$));
A(4);G("ngIf",null==(e=X(18,17,b.visibleTabs$))?null:e.includes(b.TABS.SIMILAR_ISSUES));A(2);G("ngIf",null==(f=X(20,19,b.visibleTabs$))?null:f.includes(b.TABS.SEARCH_RESULTS));A(2);G("ngIf",null==(h=X(22,21,b.visibleTabs$))?null:h.includes(b.TABS.ISSUE_IDS));A(7);G("disabled",!X(29,23,b.selectedIssues.size$))}},dependencies:[Tv,Uv,Zv,MA,OU,UU,TU,YU,BU,DU,FU,GU,KU,eA,xA,yA,zA,cV,dV,TV,GV,MV,IV,FV,OV,JV,LV,PV,RV,fU,eU,dC,eK,MU,ZU,$v],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 WV=function(){this.expandable=this.issue=null;this.expanded=!1;this.level=0;this.expansionChange=new mv;this.title=""};WV.prototype.ngOnChanges=function(){var a,b;this.title=(null==(a=this.issue)?void 0:null==(b=a.snapshot[0])?void 0:b.title)||""};WV.\u0275fac=function(a){return new (a||WV)};
WV.\u0275cmp=r({type:WV,selectors:[["b-expandable-issue-title-cell"]],inputs:{issue:"issue",expandable:"expandable",expanded:"expanded",level:"level"},outputs:{expansionChange:"expansionChange"},features:[ld],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),F(1,TVa,2,3,"button",1)(2,UVa,1,0,"div",2),L(3,"b-issue-title-cell",3),K());a&2&&(If("margin-left",24*b.level,"px"),A(1),G("ngIf",b.expandable),A(1),G("ngIf",!b.expandable),A(1),G("issue",b.issue))},dependencies:[Uv,AD,eA,KU],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 XV=function(){this.issue=null;this.isDataLoaded=!1};XV.prototype.ngOnChanges=function(){var a;this.assignee=LDa(qi(null==(a=this.issue)?void 0:a.snapshot[0].assigneeUser)||void 0);this.isDataLoaded=null!==this.issue};XV.\u0275fac=function(a){return new (a||XV)};
XV.\u0275cmp=r({type:XV,selectors:[["b-issue-assignee-cell"]],inputs:{issue:"issue"},features:[ld],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),F(1,VVa,2,2,"b-person-hovercard",1)(2,WVa,1,0,"ng-template",null,2,tg),K());if(a&2){var c=S(3);G("isReady",b.isDataLoaded);A(1);G("ngIf",b.assignee)("ngIfElse",c)}},dependencies:[AU,Uv,AO],encapsulation:2,changeDetection:0});var YV=function(){this.issue=null;this.componentId=this.teamId="";this.isDataLoaded=!1};YV.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};YV.\u0275fac=function(a){return new (a||YV)};
YV.\u0275cmp=r({type:YV,selectors:[["b-issue-team-cell"]],inputs:{issue:"issue"},features:[ld],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),F(1,XVa,1,3,"b-team-display",1)(2,YVa,1,0,"ng-template",null,2,tg),K());if(a&2){var c=S(3);G("isReady",b.isDataLoaded);
A(1);G("ngIf",b.teamId)("ngIfElse",c)}},dependencies:[AU,Uv,YR],encapsulation:2,changeDetection:0});var ZV=function(){this.type=this.issue=null;this.isDataLoaded=!1};ZV.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};ZV.\u0275fac=function(a){return new (a||ZV)};
ZV.\u0275cmp=r({type:ZV,selectors:[["b-issue-type-cell"]],inputs:{issue:"issue"},features:[ld],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),F(1,ZVa,3,3,"ng-container",1)(2,$Va,1,0,"ng-template",null,2,tg),K());if(a&2){var c=S(3);G("isReady",b.isDataLoaded);A(1);G("ngIf",b.type)("ngIfElse",c)}},dependencies:[AU,Uv,zJ],encapsulation:2,changeDetection:0});var $V=function(){};$V.\u0275fac=function(a){return new (a||$V)};$V.\u0275mod=Tc({type:$V});$V.\u0275inj=Ec({imports:[zD,kC,QC]});var aW=function(){};aW.\u0275fac=function(a){return new (a||aW)};aW.\u0275mod=Tc({type:aW});aW.\u0275inj=Ec({providers:[{provide:nlc,useValue:JU}],imports:[zD,EL,kC,QC,AP,YM,kU,$V,sU]});var bW=function(){};bW.\u0275fac=function(a){return new (a||bW)};bW.\u0275mod=Tc({type:bW});bW.\u0275inj=Ec({imports:[zD]});var cW=function(){};cW.\u0275fac=function(a){return new (a||cW)};cW.\u0275mod=Tc({type:cW});cW.\u0275inj=Ec({imports:[px,zD,WE,kC,QC,RM]});var dW=function(){this.issue=null;this.isDataLoaded=!1};dW.prototype.ngOnChanges=function(){var a;this.reporter=LDa(qi(null==(a=this.issue)?void 0:a.snapshot[0].reporterUser)||void 0);this.isDataLoaded=null!==this.issue};dW.\u0275fac=function(a){return new (a||dW)};
dW.\u0275cmp=r({type:dW,selectors:[["b-issue-reporter-cell"]],inputs:{issue:"issue"},features:[ld],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),F(1,aWa,2,2,"b-person-hovercard",1)(2,bWa,1,0,"ng-template",null,2,tg),K());if(a&2){var c=S(3);G("isReady",b.isDataLoaded);A(1);G("ngIf",b.reporter)("ngIfElse",c)}},dependencies:[AU,Uv,AO],encapsulation:2,changeDetection:0});var Enc=["theInput"],eW=function(){this.placeholder=this.value="";this.readonly=!1;this.autoFocus=!0;this.valueChange=new mv;this.commit=new mv};eW.prototype.ngAfterViewInit=function(){this.autoFocus&&this.input.nativeElement.focus()};eW.\u0275fac=function(a){return new (a||eW)};
eW.\u0275cmp=r({type:eW,selectors:[["b-text-input-cell"]],viewQuery:function(a,b){a&1&&og(Enc,5);if(a&2){var c;ng(c=qg())&&(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),Q("keydown.enter",function(c){b.readonly||b.commit.emit(c)})("ngModelChange",
function(c){return b.valueChange.emit(c)}),K());a&2&&(Jf("readonly",b.readonly)("override",b.readonly),G("placeholder",b.placeholder)("disabled",b.readonly)("ngModel",b.value))},dependencies:[Jg,ww,Dw],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 fW=function(){};fW.\u0275fac=function(a){return new (a||fW)};fW.\u0275mod=Tc({type:fW});fW.\u0275inj=Ec({imports:[zD]});var gW=function(){};gW.\u0275fac=function(a){return new (a||gW)};gW.\u0275mod=Tc({type:gW});gW.\u0275inj=Ec({imports:[fW,KJ,zD,YM,Tw,HD,cW,bW,kC,QC,vP,$P,EE,ZR,FL,aW,UK]});var hW=function(){};hW.\u0275fac=function(a){return new (a||hW)};hW.\u0275mod=Tc({type:hW});hW.\u0275inj=Ec({imports:[hw,jU]});var iW=function(){};iW.\u0275fac=function(a){return new (a||iW)};iW.\u0275mod=Tc({type:iW});iW.\u0275inj=Ec({imports:[uz,jz,jz]});var jW=function(){};jW.\u0275fac=function(a){return new (a||jW)};jW.\u0275mod=Tc({type:jW});jW.\u0275inj=Ec({imports:[EV,jz,jz]});var kW=function(){};kW.\u0275fac=function(a){return new (a||kW)};kW.\u0275mod=Tc({type:kW});kW.\u0275inj=Ec({providers:[{provide:XU,useValue:{enabled:!0}}],imports:[zD,WU,hW,gW,kC,AA,iW,jW,jU,QC,SK,NU,$U]});var lW=function(a){this.issuesApi=a};lW.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})};lW.\u0275fac=function(a){return new (a||lW)(p(kG))};lW.\u0275prov=Dc({token:lW,factory:lW.\u0275fac,providedIn:"root"});var mW=function(a,b,c,d,e,f,h){Z.call(this);var k=this;this.cdr=a;this.paths=b;this.issueFridge=c;this.relatedIssues=d;this.errorHandler=e;this.domSafe=f;this.currentTracker=h;this.STATUS_ICON=RZb;this.entrySelect=new mv;this.selectedIssues=[];this.asyncChoices=[];this.choices=[];this.currentQuery="";this.hasLoadedResults=!0;this.searchingForSelf=!1;this.queryInternal="";this.queryChange=new mv;this.getTextToPutInInputOnSelect=function(){return k.query}};Y(mW,Z);mW.\u0275dir=Z.\u0275dir;
mW.prototype.ngOnInit=function(){var a=this;this.queryChange.pipe(Ne(250),bf(this.destroyed$)).subscribe(function(b){a.doSearch(b)})};mW.prototype.ngOnChanges=function(a){a.defaultChoices&&(this.choices=[].concat(u(this.defaultChoices),u(this.asyncChoices)))};mW.prototype.selectIssue=function(a){Fnc(this,[a])};
var Hnc=function(a){var b=a.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});if(Gnc(b))return b;b=a;a.startsWith("b/")?b=a.substring(2):a.startsWith("http://b/")&&(b=a.substring(9));return lo(b)?[b]:[]},Gnc=function(a){return!a.some(function(b){return!lo(b)})};mW.prototype.search=function(a){"string"===typeof a&&(this.query=a)};
mW.prototype.doSearch=function(a){this.currentQuery=a;this.searchingForSelf=!1;if(""===a)Inc(this);else{var b=Hnc(a);1===b.length||1<b.length&&this.allowMultipleIds?(this.lastSearchType="id",Jnc(this,b,a)):(this.lastSearchType="query",this.searchAsync(a))}};
var Inc=function(a){a.choices=a.defaultChoices;a.asyncChoices=[];a.hasLoadedResults=!0;Fnc(a,[])},Fnc=function(a,b){a.selectedIssues=b;a.entrySelect.emit(a.selectedIssues);var c;null==(c=a.autocomplete)||qdb(c)},Jnc=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,Inc(a)):(a.choices=Knc(a,b),a.hasLoadedResults=!1,a.issueFridge.watchSet(b).pipe(Qe(),bf(a.destroyed$)).subscribe(function(e){if(a.currentQuery===
c){var f=e.reduce(function(h,k){var q=qa(k.snapshot);return h.set(k.issueId,{resourceId:k.issueId,displayText:q.title,status:q.status,relations:[]})},new Map);vaa(b);e=b.map(function(h){return f.get(h)});e.includes(void 0)?a.asyncChoices=[]:a.asyncChoices=e;a.choices=[].concat(u(a.choices),u(a.asyncChoices));Fnc(a,a.asyncChoices);a.hasLoadedResults=!0;a.cdr.detectChanges()}},function(){a.asyncChoices=[];a.hasLoadedResults=!0;a.cdr.detectChanges()}))};
mW.prototype.searchAsync=function(a){var b=this;this.choices=Lnc(this,a);this.hasLoadedResults=!1;if(Ei(a))this.hasLoadedResults=!0;else{var c=Mnc(a,this.defaultChoices),d,e;this.relatedIssues.get({query:c,trackerId:this.currentTracker.getTrackerId(),resourceType:null==(d=this.currentResource)?void 0:d.type,resourceId:fl(null==(e=this.currentResource)?void 0:e.id),nonParallelRequest:!0}).then(function(f){b.currentQuery===a&&(f=f.issueDigests.map(function(h){return{resourceId:h.issueId,displayText:h.title,
status:h.status,relations:[]}}),b.choices=[].concat(u(b.choices),u(f)),b.cdr.detectChanges())},function(f){b.errorHandler.errorHandler(null,f)}).finally(function(){b.hasLoadedResults=!0})}};var Knc=function(a,b){return a.defaultChoices.filter(function(c){return c.resourceId.toString().startsWith(b[0])})},Lnc=function(a,b){return Ei(b)?a.defaultChoices:a.defaultChoices.filter(function(c){return c.displayText.toLowerCase().startsWith(b.toLowerCase())})};mW.prototype.getIssueLink=function(a){return this.paths.editIssue(a.resourceId)};
var hWa=function(a){return a.relations.map(function(b){return Nnc.get(b)}).filter(function(b){return!!b}).join("/")},Mnc=function(a,b){if(0===b.length)return a;b=b.map(function(c){return c.resourceId}).join("|");return a+" -id:("+b+")"};mW.prototype.onEnter=function(a){var b;(null==(b=this.autocomplete)?0:b.panelOpen)&&a.stopPropagation()};Gh.Object.defineProperties(mW.prototype,{query:{configurable:!0,enumerable:!0,get:function(){return this.queryInternal},set:function(a){this.queryInternal=a;this.queryChange.emit(a)}}});
mW.\u0275fac=function(a){return new (a||mW)(B(XD,2),B(cF),B(iI),B(lW),B(FG),B(lM),B(SG))};
mW.\u0275cmp=r({type:mW,selectors:[["b-simple-issue-picker"]],viewQuery:function(a,b){a&1&&og(pK,5);if(a&2){var c;ng(c=qg())&&(b.autocomplete=c.first)}},inputs:{defaultChoices:"defaultChoices",currentResource:"currentResource",allowMultipleIds:"allowMultipleIds"},outputs:{entrySelect:"entrySelect",queryChange:"queryChange"},features:[bg([lW,XD]),yf,ld],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),F(1,cWa,3,0,"div",1),H(2,"div",2)(3,"input",3),Q("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))}),K(),H(4,"mat-autocomplete",4,5),Q("optionActivated",function(d){b.activeChoice=null==d.option?null:d.option.value})("optionSelected",function(d){return b.selectIssue(d.option.value)}),F(6,dWa,3,1,"mat-option",6)(7,eWa,2,0,"mat-option",7)(8,iWa,14,13,"mat-option",8),K()()());if(a&2){var c=S(5);A(1);G("ngIf",b.searchingForSelf);A(2);G("ngModel",b.query)("matAutocomplete",
c);Af("aria-label",0<b.selectedIssues.length?"issue "+b.selectedIssues[0].resourceId+" selected. Change.":"Choose issue");A(1);G("displayWith",b.getTextToPutInInputOnSelect);A(2);G("ngIf",""!==b.query&&!b.hasLoadedResults);A(1);G("ngIf",""!==b.query&&!!b.hasLoadedResults&&0===b.choices.length);A(1);G("ngForOf",b.choices)}},dependencies:[Tv,Uv,MA,Jg,ww,Dw,hK,iK,mK,jK,JU,qK,pK,hA,fA,eK,BJ],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 Nnc=new Map([["BLOCKED_BY","blocked"],["BLOCKING","blocking"],["DUPLICATE","duplicate"],["CANONICAL","canonical"]]);var nW=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+"+":""},mWa=function(a){if(""!==a.queryRestriction&&null!=a.issuePicker){var b=a.issuePicker.query;a.issuePicker.query=a.isQueryRestricted?b.replace(new RegExp(ao(a.queryRestriction)+" ?"),""):a.queryRestriction+
" "+b}};g=nW.prototype;g.onQueryChange=function(a){this.isQueryRestricted=""!==this.queryRestriction&&a.includes(this.queryRestriction)};g.onEnter=function(){if(0!==this.selectedIssues.length)this.onPressConfirm()};g.onEscape=function(){this.dialogRef.close()};g.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)};g.onPressCancel=function(){this.dialogRef.close()};
nW.\u0275fac=function(a){return new (a||nW)(B(sA),B(uA),B(bJ))};
nW.\u0275cmp=r({type:nW,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&og(mW,5);if(a&2){var c;ng(c=qg())&&(b.issuePicker=c.first)}},hostBindings:function(a,b){a&1&&Q("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),T(1),K(),H(2,"div",1)(3,"div",2),F(4,kWa,2,1,"div",3)(5,lWa,6,2,"div",3),K(),H(6,"div",4)(7,"div",5),F(8,nWa,2,2,"div",6),H(9,"b-simple-issue-picker",
7),Q("keydown.enter",function(){return b.onEnter()})("entrySelect",function(c){b.selectedIssues=c})("queryChange",function(c){return b.onQueryChange(c)}),K()()()(),H(10,"div",8)(11,"button",9),Q("click",function(){return b.onPressCancel()}),T(12," Cancel "),K(),H(13,"button",10),Q("click",function(){return b.onPressConfirm()}),T(14," Confirm "),K()());a&2&&(A(1),V(" ",b.data.title,"\n"),A(3),G("ngIf",1<b.selectedIssues.length),A(1),G("ngIf",1===b.selectedIssues.length),A(3),G("ngIf",!!b.queryRestriction),
A(1),Jf("bv2-rel-issue-issue-picker-full-width",!!b.queryRestriction),G("defaultChoices",b.data.defaultChoices)("currentResource",b.data.currentResource)("allowMultipleIds",b.data.allowMultipleIds),A(4),G("disabled",!b.selectedIssues.length))},dependencies:[Tv,Uv,MA,eA,xA,yA,zA,dC,mW],encapsulation:2});var oW=function(){};oW.\u0275fac=function(a){return new (a||oW)};oW.\u0275mod=Tc({type:oW});oW.\u0275inj=Ec({imports:[KJ,zD,Tw,UK,aW,rK,kC,AA,QC,SK]});var Onc=new bd("XapHatsSurveyApiKey"),Pnc=new bd("XapHatsSurveyLocale"),Qnc=new bd("XapHatsSurveyWindow"),Rnc=new bd("XapHatsSurveyListnrProductId");var Snc=new Map([[0,1],[1,2]]),pW=function(a,b,c,d,e){var f=function(){var h={apiKey:a,locale:null!=c?c:"en-US",window:d};h=iZb(lZb,"help.service.Lazy.create",b,{apiKey:h.apiKey||h.apiKey,asxUiUri:h.asxUiUri||h.asxUiUri,environment:h.environment||h.environment,frdProductData:h.frdProductData||h.frdProductData,frdProductDataSerializedJspb:h.frdProductDataSerializedJspb||h.frdProductDataSerializedJspb,helpCenterPath:h.helpCenterPath||h.helpCenterPath,locale:h.locale||h.locale||"en-US".replace(/-/g,
"_"),nonce:h.nonce||h.nonce,productData:h.productData||h.productData,receiverUri:h.receiverUri||h.receiverUri,renderApiUri:h.renderApiUri||h.renderApiUri,theme:h.theme||h.theme,window:h.window||h.window});return new kZb(h)};this.helpService=e?e.runOutsideAngular(f):f()},qW=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(f){a.helpService.requestSurvey({triggerId:b,enableTestingMode:d.enableTestingMode,nonProd:d.nonProd,
callback:function(h){null!=h.surveyData&&f.next(h.surveyData);f.complete()},authuser:e})})).pipe(af(function(f){return new E.Observable(function(h){var k;a.helpService.presentSurvey({surveyData:f,colorScheme:d.theme?Snc.get(d.theme):1,authuser:e,customZIndex:null!=(k=d.zIndex)?k:1E4,customLogoUrl:d.customLogoUrl,productData:c,listener:{surveyClosed:function(){h.complete()}}});h.next(f.surveyMetadata)})}))};pW.\u0275fac=function(a){return new (a||pW)(p(Onc),p(Rnc),p(Pnc,8),p(Qnc,8),p(ef,8))};
pW.\u0275prov=Dc({token:pW,factory:pW.\u0275fac,providedIn:"root"});var Tnc=Kp.ISSUE_PICKER,rW=function(a,b,c,d){this.dialog=a;this.analytics=b;this.hatsService=c;this.activeSession=d};
rW.prototype.open=function(a,b){var c=this,d=Unc(this,a),e=d.dialog,f=d.config;return new Promise(function(h){c.dialog.open(e,f).afterClosed().subscribe(function(k){var q,t=null!=(q=null==k?void 0:k.selectedIssueIds)?q:[],w;k=null!=(w=null==k?void 0:k.lastSearchType)?w:"";w=[a.originIsBulk?"bulk":void 0,1<t.length?"search-multi":"search",a.edgeType].filter(Boolean).join("-");c.analytics.trackEvent(Tnc,w,k);null==b||b(t);h(t);c.activeSession.isInternalSession()&&"id"===k&&qW(c.hatsService,"etC5mMepi0g6pPHSLo10TaNs15gn").pipe(Qe()).subscribe()})})};
var Unc=function(a,b){var c={panelClass:"no-jitter",data:b};return yD(a.activeSession,"enableIDPCanonicalIssuePicker")&&"canonical"===b.edgeType?(c.width="60vw",c.minWidth="800px",{dialog:VV,config:c}):{dialog:nW,config:c}};rW.\u0275fac=function(a){return new (a||rW)(p(vA),p(aI),p(pW),p(nt))};rW.\u0275prov=Dc({token:rW,factory:rW.\u0275fac,providedIn:"root"});var sW=function(){};sW.\u0275fac=function(a){return new (a||sW)};sW.\u0275mod=Tc({type:sW});sW.\u0275inj=Ec({imports:[oW,kW]});var tW=function(a){this.dialogRef=a;this.reporter="";this.autocompleteActive=!1};tW.prototype.enableSubmit=function(){return""!==this.reporter};tW.prototype.cancel=function(){this.dialogRef.close()};tW.prototype.save=function(){this.dialogRef.close(this.reporter)};tW.\u0275fac=function(a){return new (a||tW)(B(sA))};
tW.\u0275cmp=r({type:tW,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),T(1,"Change Reporter"),K(),H(2,"mat-dialog-content")(3,"mat-form-field")(4,"mat-label"),T(5," Reporter "),K(),H(6,"input",1),Q("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()}),K()()(),H(7,"mat-dialog-actions")(8,"button",2),Q("click",function(){return b.cancel()}),T(9," Cancel "),K(),H(10,"button",3),Q("click",function(){return b.save()}),T(11," Save "),K()());a&2&&(A(6),G("bContactAutocomplete","SINGLE")("ngModel",b.reporter),A(4),G("disabled",!b.enableSubmit()))},dependencies:[Jg,ww,Dw,eA,xA,yA,zA,FA,DA,JA,KR],
encapsulation:2});var Vnc=["addCommentDialog"],uW=function(a,b,c,d,e,f,h,k,q,t,w,y,C){Z.call(this);var J=this;this.componentFridge=a;this.cdr=b;this.activeSession=c;this.analytics=d;this.hotkeys=e;this.componentActions=f;this.issueTypeDialog=h;this.copyIssueIdService=k;this.matDialog=q;this.$log=t;this.issuePicker=w;this.userPreferencesManager=y;this.accessIndicatorService=C;this.currentUserEmail=this.activeSession.getUserEmail();this.uniqueComponentIds$=new E.Subject;this.effortSpec$=this.uniqueComponentIds$.pipe(af(function(I){return J.componentFridge.watchSet(I)}),
D(function(I){return J.getCommonEffortSpec(I)}),Ye({bufferSize:1,refCount:!0}));this.enableBulkEstimatedEffortOption$=this.effortSpec$.pipe(D(function(I){return void 0!==I}));this.hotlistIdMatrix=[];this.hotlistChoices=[];this.onSave=new mv;this.onCreateHotlist=new mv;this.onLoadHotlist=new mv;this.externalWarnings=[];this.enableRecaptcha=yD(this.activeSession,"enableRecaptcha")&&yD(this.activeSession,"enableBulkEditCaptchaUi");this.recaptchaResponse="";this.controllerName="baseControls"};Y(uW,Z);
var Wnc=function(a){var b=new WO,c;b.formattingMode=Ai(null==(c=ME(a.userPreferencesManager).textDisplayPreferences)?void 0:c.lastPublishMode);return b};uW.prototype.hasSelectedIssues=function(){return 0<this.getSelectedIssues().length};var Xnc=function(a){return a.getSelectedIssues().some(function(b){return!b.isRead})},oWa=function(a){return Xnc(a)?"Mark as read":"Mark as unread"},Np=function(a){return a.getSelectedIssues().map(function(b){return b.issueId})};
uW.prototype.onSelectionChange=function(){for(var a=this.getSelectedIssues(),b=l(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=Ync(a);this.uniqueComponentIds$.next(a)};
var Ync=function(a){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b.includes(c.componentId)||b.push(c.componentId);return b},Znc=function(a){if(!xD(a.activeSession)){a.externalWarnings=[];var b=(0,E.combineLatest)(a.getSelectedIssues().map(function(e){return M4b(a.accessIndicatorService,e.issueId,e.componentId).pipe(D(function(f){return{issue:e,indicator:f}}))}));(0,E.firstValueFrom)(b).then(function(e){e=l(e);for(var f=e.next();!f.done;f=e.next()){f=f.value;var h=f.issue;"no_indicator"!==
f.indicator.type&&a.externalWarnings.push({type:"issue",issueId:h.issueId})}}).then(function(){a.cdr.detectChanges()});b=new Set(a.getSelectedIssues().map(function(e){return e.componentId}));b=l(b);for(var c=b.next(),d={};!c.done;d={id$jscomp$373:d.id$jscomp$373},c=b.next())d.id$jscomp$373=c.value,a.componentActions.get(d.id$jscomp$373).then(function(e){if(a.activeSession.isInternalSession()&&tp(e)||wD(a.activeSession)&&up(e)){var f,h={type:"component",path:WRa(null==(f=e.componentPathInfo)?void 0:
f.componentPathName,e.componentId),accessLevel:e.accessLimit.accessLevel};a.externalWarnings.push(h);a.cdr.detectChanges()}}).catch(function(e){return function(){a.$log.warn("Could not retrieve component "+e.id$jscomp$373+".")}}(d))}};g=uW.prototype;g.getCommonEffortSpec=function(a){a=l(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;if(!b.effortSpec)return;b=b.effortSpec;var c=b.id;if(!d){var d=c;var e=b}else if(d!==c)return}return e};
g.bulkEdit=function(a){switch(a){case "ASSIGNEE":vW(this,null,0);break;case "COMPONENT":$nc(this);break;case "VERIFIER":vW(this,null,1);break;case "REPORTER":aoc(this);break;case "CHANGELIST":wW(this,"changelists","Changelists",!0);break;case "CUSTOM_FIELDS":boc(this);break;case "FOUND_IN":wW(this,"foundInVersion","Found In");break;case "VERIFIED_IN":wW(this,"verifiedInVersion","Verified In");break;case "TARGETED_TO":wW(this,"targetedToVersion","Targeted To");break;case "COMMENT":coc(this);break;
case "SLO_START_TIME":doc(this);break;case "ESTIMATED_EFFORT":eoc(this);break;case "CC":wW(this,"ccs","CCs");break;default:this.$log.error("unsupported bulk edit field: "+a)}};
g.quickBulkEdit=function(a){switch(a.field){case "PRIORITY":(a=a.newValue)&&xW(this,"priority",a);break;case "SEVERITY":(a=a.newValue)&&xW(this,"severity",a);break;case "STATUS":(a=a.newValue)&&vW(this,Mk[a],"DUPLICATE"===a?3:void 0);break;case "TYPE":(a=a.newValue)&&xW(this,"type",a);break;case "IS_ARCHIVED":xW(this,"isArchived",""+a.newValue);break;case "IN_PROD":xW(this,"inProd",""+a.newValue);break;case "CC":xW(this,"ccs",this.currentUserEmail,a.newValue?"ADD":"REMOVE");break;default:this.$log.error("unsupported bulk edit field: "+
a.field)}};
g.bulkEditIssueRelation=function(a){switch(a.issueRelation){case "BLOCKED_BY":a.isMarking?yW(this,{actionType:"ADD",fieldName:"blockedByIssueId",title:"Mark all selected issues as blocked by:",edgeType:"blocker"}):yW(this,{actionType:"REMOVE",fieldName:"blockedByIssueId",title:"Unmark all selected issues as blocked by:",edgeType:"un-blocker"});break;case "BLOCKING":a.isMarking?yW(this,{actionType:"ADD",fieldName:"blockingIssueId",title:"Mark all selected issues as blocking:",edgeType:"blocking"}):yW(this,
{actionType:"REMOVE",fieldName:"blockingIssueId",title:"Unmark all selected issues as blocking:",edgeType:"un-blocking"});break;case "PARENT":a.isMarking?yW(this,{actionType:"ADD",fieldName:"parentId",title:"Mark all selected issues as children of:",edgeType:"child"}):yW(this,{actionType:"REMOVE",fieldName:"parentId",title:"Unlink all selected issues from this parent:",edgeType:"un-parent"});break;case "DUPLICATE":vW(this,Mk.DUPLICATE,3);break;default:this.$log.error("unsupported issue relation: "+
a.issueRelation)}};g.bulkMarkIssueRead=function(){var a=Xnc(this);xW(this,"readState",a?"true":"")};
var xW=function(a,b,c,d){var e={fieldName:b,value:c};void 0!==d&&(e.actionType=d);var f=Np(a),h=[e];"deletionReason"===b&&h.push({fieldName:"isDeleted",value:"true"});d=function(){var k={bulkEditOps:[{issueIds:f,actions:h}]};a.enableRecaptcha&&""!==a.recaptchaResponse&&(k.recaptchaToken=a.recaptchaResponse);a.onSave.emit(k)};"type"!==b||"VULNERABILITY"!==c&&"PRIVACY_ISSUE"!==c?d():("VULNERABILITY"===c&&LO(a.issueTypeDialog,"VULNERABILITY",d,function(){}),"PRIVACY_ISSUE"===c&&LO(a.issueTypeDialog,
"PRIVACY_ISSUE",d,function(){}))},vW=function(a,b,c){a.hasSelectedIssues()&&(Znc(a),a.stateModal.showDialog(a.getSelectedIssues(),b,c))},foc=function(a){var b=a.onSave,c=b.emit,d=Np(a),e=a.stateModal.issueEditBuilder,f=[];e.issueState||LTa(e);e=l(YTa(e));for(var h=e.next();!h.done;h=e.next()){var k=l(h.value);h=k.next().value;k=k.next().value;void 0!==k&&f.push({fieldName:h,value:k})}c.call(b,{bulkEditOps:[{issueIds:d,actions:f}],recaptchaToken:a.stateModal.issueEditBuilder.recaptchaResponse})},aoc=
function(a){a.hasSelectedIssues()&&(Znc(a),a.matDialog.open(tW,{width:"400px"}).afterClosed().pipe(bf(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&xW(a,"reporter",b)}),a.hotkeys.pause())},wW=function(a,b,c,d){d=void 0===d?!1:d;a.hasSelectedIssues()&&(a.matDialog.open(xS,{width:"400px",data:{fieldDisplayName:c}}).afterClosed().pipe(bf(a.destroyed$)).subscribe(function(e){a.hotkeys.unpause();e&&goc(a,b,e.addItems,e.removeItems,d)}),a.hotkeys.pause())},doc=function(a){a.hasSelectedIssues()&&
(a.matDialog.open(vS,{width:"330px",data:{fieldDisplayName:"SLO Start Time"}}).afterClosed().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:Np(a),actions:c}]})}}),a.hotkeys.pause())},eoc=function(a){var b=Dk(a.effortSpec$);a.hasSelectedIssues()&&void 0!==b&&(a.matDialog.open(wS,{width:"400px",data:{fieldDisplayName:"Estimated Effort",effortSpec:b}}).afterClosed().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:Np(a),actions:d}]})}}),a.hotkeys.pause())},goc=function(a,b,c,d,e){e=void 0===e?!1:e;c=Di(c);d=Di(d);var f=[],h=!["foundInVersion","targetedToVersion","verifiedInVersion"].includes(b),k=function(q){return Cra(q,h).map(function(t){return t.trim()})};Ei(c)||(c=k(c),e&&(c=c.filter(function(q){return!isNaN(q)})),f.push.apply(f,u(c.map(function(q){return{fieldName:b,value:q,actionType:"ADD"}}))));
Ei(d)||(d=k(d),f.push.apply(f,u(d.map(function(q){return{fieldName:b,value:q,actionType:"REMOVE"}}))));f.length&&a.onSave.emit({bulkEditOps:[{issueIds:Np(a),actions:f}]})},$nc=function(a){a.hasSelectedIssues()&&(a.matDialog.open(tS,{width:"600px",position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"}).afterClosed().pipe(bf(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&(a.onSave.emit({bulkEditOps:[{issueIds:Np(a),actions:[{fieldName:"componentId",value:String(b.componentId)}]}]}),
a.analytics.trackEvent(a.controllerName,"bulkMove"))}),a.hotkeys.pause())},hoc=function(a){a.hasSelectedIssues()&&(a.matDialog.open(sS,{width:"600px",data:{issuesToFlag:a.getSelectedIssues()}}).afterClosed().pipe(bf(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&(a.analytics.trackEvent(a.controllerName,"bulkFlagAsSpam"),xW(a,"deletionReason","ABUSE"))}),a.hotkeys.pause())},coc=function(a){a.hasSelectedIssues()&&a.addCommentDialog&&(a.comment||(a.comment=Wnc(a)),a.addCommentDialogRef=
a.matDialog.open(a.addCommentDialog,{panelClass:"no-jitter",minWidth:512,maxWidth:512}),a.addCommentDialogRef.afterClosed().pipe(bf(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();a.comment&&(b&&zac(a.comment)&&xW(a,"comment",a.comment.value),a.comment.reset())}),a.hotkeys.pause(),Znc(a))},vWa=function(a){var b;null==(b=a.addCommentDialogRef)||b.close(!0)},boc=function(a){a.hasSelectedIssues()&&a.matDialog.open(XM,{data:a.getSelectedIssues(),width:"500px"}).afterClosed().pipe(bf(a.destroyed$)).subscribe(function(b){b&&
(a.onSave.emit({bulkEditOps:b}),a.analytics.trackEvent(a.controllerName,"bulkCustomField"))})};
uW.prototype.handleHotlistPickerSave=function(a){var b=a.oldSelectionMap,c=[],d=[],e=0;Object.entries(a.newSelectionMap).forEach(function(f){var h=l(f);f=h.next().value;h=h.next().value;h!==b[f]&&(h?c.push(f):d.push(f),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:Np(this),actions:a}]}),this.analytics.trackEvent(this.controllerName,
"applyHotlists","numHotlists",e))};var yW=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:Np(a),actions:[{fieldName:d,value:e,actionType:c}]}]}))});a.hotkeys.pause()};uW.\u0275fac=function(a){return new (a||uW)(B(mH),B(XD),B(nt),B(aI),B(TE),B(kL),B(KO),B(WP),B(vA),B(GE),B(rW),B(LE),B(eJ))};
uW.\u0275dir=Vc({type:uW,viewQuery:function(a,b){a&1&&(og(Vnc,5),og(yS,5),og(wU,5));if(a&2){var c;ng(c=qg())&&(b.addCommentDialog=c.first);ng(c=qg())&&(b.hotlistPicker=c.first);ng(c=qg())&&(b.stateModal=c.first)}},inputs:{hotlistChoices:"hotlistChoices"},outputs:{onSave:"onSave",onCreateHotlist:"onCreateHotlist",onLoadHotlist:"onLoadHotlist"},features:[yf]});var zW=function(){};zW.\u0275fac=function(a){return new (a||zW)};zW.\u0275mod=Tc({type:zW});zW.\u0275inj=Ec({providers:[{provide:gjc,useFactory:function(){return new djc}}]});var AW=function(){};AW.\u0275fac=function(a){return new (a||AW)};AW.\u0275mod=Tc({type:AW});AW.\u0275inj=Ec({imports:[hw,zW]});var BW=function(){};BW.\u0275fac=function(a){return new (a||BW)};BW.\u0275mod=Tc({type:BW});BW.\u0275inj=Ec({providers:[{provide:fjc,useFactory:QS}],imports:[zD,kC,QC,AW,KJ]});var CW=function(){};CW.\u0275fac=function(a){return new (a||CW)};CW.\u0275mod=Tc({type:CW});CW.\u0275inj=Ec({imports:[zD,kC,QC]});var DW=function(){};DW.\u0275fac=function(a){return new (a||DW)};DW.\u0275mod=Tc({type:DW});DW.\u0275inj=Ec({imports:[zD,oU,HD,QC,sJ,kU,BW,kC,CW]});var EW=function(){};EW.\u0275fac=function(a){return new (a||EW)};EW.\u0275mod=Tc({type:EW});EW.\u0275inj=Ec({imports:[zD,$B,kC,KA,Tw,vz,QC,DD,MM,HD]});var FW=function(){};FW.\u0275fac=function(a){return new (a||FW)};FW.\u0275mod=Tc({type:FW});FW.\u0275inj=Ec({});var GW=function(){};GW.\u0275fac=function(a){return new (a||GW)};GW.\u0275mod=Tc({type:GW});GW.\u0275inj=Ec({imports:[zD,AA,EL,Tw,kC,HD,$B,LR,DW,FW,uU]});var HW=function(a,b,c,d,e,f,h,k,q,t,w,y,C){uW.call(this,a,b,c,d,e,f,h,k,q,t,w,y,C);this.panels=[];this.isNonPublicSession=this.activeSession.isNonPublicSession();this.enableBulkEditUi=yD(this.activeSession,"enableBulkEditUi");this.controllerName="dashboardControls";this.onSelectionChange.bind(this);this.getCommonEffortSpec.bind(this)};Y(HW,uW);HW.\u0275dir=uW.\u0275dir;HW.prototype.ngOnChanges=function(a){if(a.panels)this.onSelectionChange()};
HW.prototype.getSelectedIssues=function(){var a=this.panels.flatMap(function(b){return b.selectedIssues});vaa(a,null,function(b){return b.issueId.toString()});return a};HW.\u0275fac=function(a){return new (a||HW)(B(mH),B(XD,2),B(nt),B(aI),B(TE),B(kL),B(KO),B(WP),B(vA),B(GE),B(rW),B(LE),B(eJ))};
HW.\u0275cmp=r({type:HW,selectors:[["b-dashboard-controls"]],inputs:{panels:"panels"},features:[bg([XD]),yf,ld],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"],[3,"externalWarnings"],["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,"flex-kids-x","justify-flex-end"],[3,"onUpdate"]],template:function(a,b){a&1&&(F(0,pWa,2,4,"b-app-bar-bulk-edit-menus",0)(1,tWa,1,2,"b-copy-issue-id-button",1)(2,uWa,2,2,"div",
2),H(3,"b-app-bar-more-menu",3),Q("flagAsSpamClicked",function(){return hoc(b)}),K(),H(4,"b-state-modal",4),Q("save",function(){return foc(b)})("close",function(){return b.hotkeys.unpause()}),K(),F(5,yWa,11,6,"ng-template",null,5,tg));a&2&&(G("ngIf",b.hasSelectedIssues()),A(1),G("ngIf",b.hasSelectedIssues()),A(1),G("ngIf",b.enableBulkEditUi&&b.hasSelectedIssues()),A(1),G("showFlagIssuesAsSpam",b.isNonPublicSession&&b.hasSelectedIssues()),A(1),G("externalWarnings",b.externalWarnings))},dependencies:[FD,
ED,qU,Uv,SP,yS,eA,wA,xA,yA,zA,wU,vU,tU,$v],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var IW=function(){};IW.\u0275fac=function(a){return new (a||IW)};IW.\u0275mod=Tc({type:IW});IW.\u0275inj=Ec({imports:[ID,sJ,DW,zD,EL,VP,EW,HD,kC,AA,GW,FW,uU]});var JW=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)},ioc=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)},KW=function(a,b){this.dirty=!1;this.collaboratorGroups=[];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=qi(c.assigneeUser)||"";this.verifier=qi(c.verifierUser)||"";this.collaborators=oi(c.collaboratorsUsers)||[];this.cc=oi(c.ccUsers)||
[];this.title=c.title||"";this.comment=c.comment||"";this.formattingMode=c.formattingMode?c.formattingMode:"PLAIN";this.hotlistId=c.hotlistId||[];this.inProd=c.inProd||!1;this.issueAccessLimitLevel=c.issueAccessLimitLevel||"LIMIT_NONE";this.customFieldValues=Object.create(null);a=l(c.customField||[]);for(b=a.next();!b.done;b=a.next())b=b.value,this.customFieldValues[b.customFieldId.toString()]=b;a=l(Object.entries(this.customFields));for(b=a.next();!b.done;b=a.next())c=l(b.value),b=c.next().value,
c=c.next().value,b=Number(b),this.customFieldValues[b]||(this.customFieldValues[b]=null!=c.typedDefaultValue?c.typedDefaultValue:{customFieldId:b})},koc=function(a,b){b.name=a.name;b.description=a.description;var c=b.snapshot||{};c.componentId=a.componentId;joc(a.type)?delete c.type:c.type=a.type;joc(a.priority)?delete c.priority:c.priority=a.priority;joc(a.severity)?delete c.severity:c.severity=a.severity;c.assigneeUser=ti(a.assignee);c.verifierUser=ti(a.verifier);c.collaboratorsUsers=a.collaborators.map(function(f){return ti(f)});
0<a.collaboratorGroups.length&&(c.collaboratorsUsers=Lra(a.collaboratorGroups).concat(c.collaboratorsUsers||[]));c.ccUsers=a.cc.map(function(f){return ti(f)});c.comment=a.comment;c.formattingMode=a.formattingMode;c.title=a.title;c.hotlistId=a.hotlistId;c.inProd=a.inProd;c.customField=[];c.issueAccessLimitLevel=a.issueAccessLimitLevel;for(var d=l(Object.keys(a.customFields)),e=d.next();!e.done;e=d.next())(e=a.customFieldValues[e.value])&&!zo(e)&&c.customField.push(e);b.snapshot=c};
KW.prototype.setCustomField=function(a,b){a=String(a);if(this.customFieldValues[a]){var c=this.customFields[a].type;if(!c)return;switch(c){case "TYPE_UNSPECIFIED":break;case "TEXT":this.customFieldValues[a].textValue=b;break;case "DATE":this.customFieldValues[a].dateValue=b;break;case "ENUM":this.customFieldValues[a].enumValue=b;break;case "NUMERIC":this.customFieldValues[a].numericValue=b;break;case "REPEATED_TEXT":this.customFieldValues[a].repeatedTextValue={values:b||[]};break;case "REPEATED_DATE":this.customFieldValues[a].repeatedDateValue=
{values:b||[]};break;case "REPEATED_ENUM":this.customFieldValues[a].repeatedEnumValue={values:b||[]};break;case "REPEATED_NUMERIC":this.customFieldValues[a].repeatedNumericValue={values:b||[]};break;default:Oh(c,"Unexpected custom field type: "+c)}}this.dirty=!0};KW.prototype.isDirty=function(){return this.dirty};KW.prototype.setFormattingMode=function(a){this.formattingMode=a;this.dirty=!0};KW.prototype.onAccessLimitLevelSelected=function(a){this.issueAccessLimitLevel=a;this.dirty=!0};
var joc=function(a){return Ei(a)||"--"===a};KW.prototype.getCollaboratorGroupsString=function(){return 0===this.collaboratorGroups.length?"":1<this.collaboratorGroups.length?this.collaboratorGroups.length+" groups selected":this.collaboratorGroups[0]};KW.prototype.separateCollaboratorGroups=function(a){a=new Set(a);for(var b=[],c=l(this.collaborators),d=c.next();!d.done;d=c.next())d=d.value,a.has(d)?this.collaboratorGroups.push(d):b.push(d);this.collaborators=b};
var gXa=function(a,b){a.collaborators=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});a.dirty=!0},hXa=function(a,b){a.cc=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});a.dirty=!0},loc={value:"--",displayText:"--"};var moc=new aA("M/d/yyyy"),LW=function(a){this.dateFormatter=a;this.boundValueChange=new mv;this.textValue="";this.ariaLabelledBy=this.inputId=void 0;this.isRequired=!1};LW.prototype.ngOnInit=function(){if(this.boundValue){if(this.boundValue)if("string"===typeof this.boundValue)var a=gi(this.boundValue);else{var b;a=null!=(b=wo(this.boundValue))?b:void 0}else a=void 0;this.googDate=a;this.change(this.googDate,!0)}};
LW.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=moc.format(a);else{var d;a=null!=(d=CJa(moc.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):""}};LW.\u0275fac=function(a){return new (a||LW)(B(tM))};
LW.\u0275cmp=r({type:LW,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),Q("valueChange",function(c){return b.change(c)}),K());a&2&&G("required",b.isRequired)("value",b.googDate)("customFormId",
b.inputId)("customAriaLabelledBy",b.ariaLabelledBy)},dependencies:[HM],encapsulation:2});var noc={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"},ooc=new bd("routes",{providedIn:"root",factory:function(){return noc}}),MW=function(a){this.routes=a};g=MW.prototype;g.createIssue=function(a){return Op(this.routes.CREATE_ISSUE,{params:a})};g.editIssue=function(a,b){return Pp(this.routes.EDIT_ISSUE(a),{id:a,params:b})};g.listIssues=function(a){return Op(this.routes.LIST_ISSUES,{params:a})};g.viewSavedSearch=function(a){return Pp(this.routes.VIEW_SAVEDSEARCH(a),{id:a,params:void 0})};
g.viewHotlist=function(a){return Pp(this.routes.VIEW_HOTLIST(a),{id:a})};g.editHotlist=function(a){return Op(this.routes.EDIT_HOTLIST(a),{id:a,tab:void 0})};g.createHotlist=function(){return this.routes.CREATE_HOTLIST};g.createBookmarkGroup=function(){return this.routes.CREATE_BOOKMARK_GROUP};g.viewBookmarkGroup=function(a){return Pp(this.routes.VIEW_BOOKMARK_GROUP(a),{id:a})};g.editBookmarkGroup=function(a){return Op(this.routes.EDIT_BOOKMARK_GROUP(a),{id:a})};
g.editSavedSearch=function(a){return Op(this.routes.EDIT_SAVED_SEARCH(a),{id:a})};g.dashboard=function(a){return Op(this.routes.DASHBOARD(a),{id:a})};g.issuesCsvAction=function(a,b,c,d){b=this.toApiSortParamValue(b);c=zWa(c);return zB("action/issues/csv","q",a,"s",b,"c",c,"h",d)};g.hotlistIssuesCsvAction=function(a,b,c,d){a="action/hotlists/"+a+"/issues/csv";b=this.toApiSortParamValue(b);(c=zWa(c))&&(c="position,"+c);return zB(a,"s",b,"c",c,"h",d)};
g.toApiSortParamValue=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null};g.getAttachmentAction=function(a,b){return"action/issues/"+a.toString()+"/attachments/"+b.toString()};g.listComponents=function(){return Op(this.routes.LIST_COMPONENTS,{params:void 0})};g.viewComponent=function(a,b){return Pp(this.routes.VIEW_COMPONENT(a),{id:a,tab:b})};g.manageComponent=function(a,b){return Pp(this.routes.MANAGE_COMPONENT(a),{id:a,tab:b})};
g.createComponent=function(a){return Op(this.routes.CREATE_COMPONENT,{params:a})};g.editComponent=function(a,b){return Op(this.routes.EDIT_COMPONENT(a),{id:a,tab:b})};g.createSlo=function(){return Op(this.routes.CREATE_SLO,{params:void 0})};g.editSlo=function(a){return Op(this.routes.EDIT_SLO(a),{id:a,tab:void 0})};g.listSlos=function(){return Op(this.routes.LIST_SLOS,{params:void 0})};g.listHotlists=function(){return this.routes.LIST_HOTLISTS};MW.\u0275fac=function(a){return new (a||MW)(p(ooc))};
MW.\u0275prov=Dc({token:MW,factory:MW.\u0275fac,providedIn:"root"});var NW=function(a){this.pathBuilder=a;this.showHovercard=this.removable=!0;this.disabled=!1;this.removeHotlist=new mv};NW.prototype.getAriaLabel=function(a){return"hotlist: "+a.name};NW.\u0275fac=function(a){return new (a||NW)(B(MW))};
NW.\u0275cmp=r({type:NW,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&&F(0,BWa,9,11,"ng-container",0);a&2&&G("ngIf",b.hotlist)},dependencies:[Uv,MA,hK,mK,aK,eA],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 Qp={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"},poc={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"},CWa=[Qp,{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"},poc];var OW=function(){Z.call(this);var a=this;this.defaultAccessLimitLevel$=new E.ReplaySubject(1);this.disabled=!0;this.implicitAccessEnabled=!1;this.updatedAccessLimitLevel=new mv;this.selectedDisplay$=new E.BehaviorSubject(null);this.displays=CWa;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){var c=l(b);b=c.next().value;
c=c.next().value;return b?b:qoc(a,c)}));this.issueAccessLimitLevelDisplayTitle$=this.currentIssueAccessLimitLevelDisplay$.pipe(D(function(b){return b.title}));this.defaultAccessLimitLevel$.subscribe(function(b){a.selectedDisplay$.next(qoc(a,b))})};Y(OW,Z);OW.\u0275dir=Z.\u0275dir;var qoc=function(a,b){a=l(a.displays);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.accessLevel===b)return c;return Qp};
Gh.Object.defineProperties(OW.prototype,{defaultAccessLimitLevel:{configurable:!0,enumerable:!0,set:function(a){this.defaultAccessLimitLevel$.next(a)}}});OW.\u0275fac=function(a){return new (a||OW)};
OW.\u0275cmp=r({type:OW,selectors:[["b-issue-access-limits-dropdown"]],inputs:{defaultAccessLimitLevel:"defaultAccessLimitLevel",disabled:"disabled",implicitAccessEnabled:"implicitAccessEnabled"},outputs:{updatedAccessLimitLevel:"updatedAccessLimitLevel"},features:[yf],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),W(2,"async"),H(3,"span",2),L(4,"mat-icon",3),H(5,"span",4),T(6),W(7,"async"),K()(),L(8,"mat-icon",5),K(),F(9,DWa,1,1,"mat-icon",6),H(10,"mat-menu",7,8),F(12,EWa,7,3,"button",9),K()());if(a&2){var c=S(11),d;A(1);G("matMenuTriggerFor",c)("disabled",b.disabled);
Af("aria-label","Issue Access level, "+(null!==(d=null==(d=X(2,6,b.selectedDisplay$))?null:d.title)&&void 0!==d?d:"Default access"));A(5);V(" ",X(7,8,b.issueAccessLimitLevelDisplayTitle$)," ");A(3);G("ngIf",b.disabled);A(3);G("ngForOf",b.displays)}},dependencies:[Tv,Uv,MA,eA,ZB,XB,YB,dC,$v],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 PW=function(a){this.confirmationDialogService=a},roc=function(a,b,c){return qe(function(d){return d.return(TJ(a.confirmationDialogService,{title:b,content:ch(c)}))})},soc=function(a,b){return qe(function(c){if(b.canEditIssuesInComponent){var d;if(d="LIMIT_VIEW"===b.issueAccessLimitLevel){d=!!b.assigneeUser;var e=!!b.verifierUser,f,h=!(null==(f=b.collaboratorsUsers)||!f.length),k;f=!(null==(k=b.ccUsers)||!k.length);d=!d&&!e&&!h&&!f}c=d?c.return(roc(a,b.confirmationDialogText.noListedUsers.title,
b.confirmationDialogText.noListedUsers.content)):"LIMIT_VIEW"===b.issueAccessLimitLevel&&FWa(b)?c.return(roc(a,b.confirmationDialogText.loseAccess.title,b.confirmationDialogText.loseAccess.content)):c.return(!0)}else c=c.return(!0);return c})};PW.\u0275fac=function(a){return new (a||PW)(p(SJ))};PW.\u0275prov=Dc({token:PW,factory:PW.\u0275fac,providedIn:"root"});var toc=["saveBeforeClosingDialog"],uoc=["deleteDialog"],aXa=function(){return[]},voc={noListedUsers:{title:"Template has no listed users",content:"Due to the Issue Access Limit that you have set, and the lack of any listed user on the template, an issue created with this template could become inaccessible. We strongly recommend defaulting to at least one user with access. Are you sure you still want to proceed?"},loseAccess:{title:"You could lose access to issues created with this template",content:"Due to the Issue Access Limit that you have set, and the fact that you are not listed on the template, an issue created with this template could become inaccessible. Are you sure you still want to proceed?"}},
QW=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I,P,O,U){Z.call(this);var aa=this;this.matDialogService=a;this.cdr=b;this.userApi=c;this.templatesApi=d;this.hotlistApi=e;this.constants=f;this.paths=h;this.butterBar=k;this.analytics=q;this.issueTypeDialog=t;this.componentActions=w;this.documentationLinks=y;this.appEvents=C;this.accessPolicyApi=J;this.trackerFridge=I;this.componentFridge=P;this.confirmIssueAccessLimitSettingsService=O;this.activeSession=U;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.FieldType=mhc;this.componentId$=new E.ReplaySubject(0);this.component$=this.componentId$.pipe(af(function(na){return aa.componentFridge.watch(na)}));this.trackerId$=
this.component$.pipe(D(function(na){return null==na?void 0:na.trackerId}));this.tracker$=this.trackerId$.pipe(af(function(na){return!na||yn(na)?(0,E.of)(void 0):aa.trackerFridge.watch(na)}));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=woc(this);
this.priorityChoices=xoc(this);this.severityChoices=yoc(this);this.subscriptions.add(this.tracker$.subscribe(function(na){na&&(aa.trackerCollaboratorGroups=ni(na.collaboratorGroups));aa.currentTemplate&&aa.currentTemplate.separateCollaboratorGroups(aa.trackerCollaboratorGroups)}))};Y(QW,Z);QW.\u0275dir=Z.\u0275dir;g=QW.prototype;
g.ngOnInit=function(){var a=this,b=function(){a.fetchUserHotlists()};this.fetchUserHotlists();this.accessPolicyApi.checkComponentImplicitAccessEnabled(this.componentId).then(function(c){return a.implicitAccessEnabled=c});this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(b));this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(b));this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(b));Promise.all([this.loadCustomFields(),this.loadTemplates()]).finally(function(){RW(a);
a.cdr.detectChanges()})};g.ngAfterViewInit=function(){this.componentId$.next(this.componentId)};g.updateSelectedHotlists=function(){var a=this,b=this.templateHotlistIds[this.hotlistPickerIndex];this.selectedHotlistIds=b?[b]:[[]];this.selectedHotlists=this.hotlists.filter(function(c){return a.selectedHotlistIds[0].includes(c.hotlistId)});xaa(this.selectedHotlists,function(c,d){return Eq(c.name,d.name)})};
g.removeHotlist=function(a){va(this.templateHotlistIds[this.hotlistPickerIndex],a);this.currentTemplate.dirty=!0;this.updateSelectedHotlists()};g.createHotlist=function(a){var b=this,c=a.name,d=a.successCallback;a=a.errorCallback;this.analytics.trackEvent("editTemplate","createHotlist");Fs(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){Fs(b.butterBar,"Hotlist "+c+" created successfully.");b.addHotlist(e);b.appEvents.hotlistCreated.next();d(e);b.cdr.detectChanges()}).catch(a)};
g.handleHotlistPickerSave=function(a){var b=this,c=a.oldSelectionMap;bc(a.newSelectionMap,function(d,e){e=fi(e);if(d!==c[e]){b.currentTemplate.dirty=!0;var f=b.selectedHotlistIds[0].includes(e);d&&!f?(d=b.templateHotlistIds[b.hotlistPickerIndex],ta(d,e)||d.push(e)):!d&&f&&va(b.templateHotlistIds[b.hotlistPickerIndex],e)}},this);this.updateSelectedHotlists()};
g.loadHotlist=function(a){var b=this,c=a.successCallback,d=a.errorCallback;this.hotlistApi.get(a.hotlistId).then(function(e){b.addHotlist(e);c(e);b.cdr.detectChanges()}).catch(d)};g.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=l(b);for(var c=b.next();!c.done;c=b.next())a.addHotlist(c.value);a.cdr.detectChanges()})};g.addHotlist=function(a){var b=this.hotlistMap[a.hotlistId];b&&va(this.hotlists,b);this.hotlistMap[a.hotlistId]=a;this.hotlists.push(a)};
var woc=function(a){var b=a.constants.editIssueTypes.map(function(c){return{value:c,displayText:kXa(c),altText:a.constants.issueTypesShortDescriptions.get(c)}});return[loc].concat(b)},kXa=function(a){return a===loc.value?a:Vh(a)};QW.prototype.getDateValue=function(a){return a};QW.prototype.getListFieldType=function(a){return a};
var dXa=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},TWa=function(a){"VULNERABILITY"===a.currentTemplateRow.issueType||"PRIVACY_ISSUE"===a.currentTemplateRow.issueType?LO(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)},xoc=function(a){return[loc].concat(a.constants.priorities.map(function(b){return{value:b,displayText:b}}))},yoc=function(a){return[loc].concat(a.constants.severities.map(function(b){return{value:b,displayText:b}}))};QW.prototype.setCustomField=function(a,b,c){a.editableTemplate.setCustomField(b,null!==c?c:void 0)};
var jXa=function(a){a.currentTemplate=null;a.currentTemplateRow=null;a.currentIndex=-1;RW(a)},JWa=function(a,b){var c=a.currentIndex;zoc(a,function(){b.index===c?jXa(a):a.openEditor(b.index)})},Aoc=function(a){a.templateHotlistIds.push([]);zoc(a,function(){a.openEditor()})},LWa=function(a,b){return 0<=b.index&&b.index===a.currentIndex},NWa=function(a,b){var c;return 0<=b.index&&!(null==(c=a.templates[b.index])?0:c.default)},iXa=function(a){var b,c,d,e,f,h,k,q,t,w,y,C,J,I;return qe(function(P){if(1==
P.nextAddress){if(!a.currentTemplate)return P.return();c=null!=(b=a.currentTemplate.collaborators)?b:[];e=null!=(d=a.currentTemplate.collaboratorGroups)?d:[];return P.yield(soc(a.confirmIssueAccessLimitSettingsService,{assigneeUser:a.currentTemplate.assignee,verifierUser:a.currentTemplate.verifier,ccUsers:a.currentTemplate.cc,collaboratorsUsers:[].concat(u(c),u(e)),issueAccessLimitLevel:a.currentTemplate.issueAccessLimitLevel,currentUserEmail:a.activeSession.getUserEmail(),canEditIssuesInComponent:!0,
confirmationDialogText:voc}),2)}f=P.yieldResult;if(!f)return P.return();0>a.currentIndex?(k="creating",q={componentId:a.componentId,default:!1},h=function(O){Fs(a.butterBar,O.name?'Template "'+O.name+'" created.':"Template created.");a.analytics.trackEvent("template","create");Boc(a,"create",O.snapshot);Coc(a,"create",O.templateId);a.templates.push(O);a.openEditor(a.templates.length-1)}):(k="updating",t=a.currentIndex,q=a.templates[t],h=function(O){Fs(a.butterBar,O.name?'Template "'+O.name+'" updated.':
"Template updated.");a.analytics.trackEvent("template","update");Boc(a,"update",O.snapshot);Coc(a,"update",O.templateId);a.templates[t]=O;jXa(a)});a.currentTemplate.hotlistId=a.templateHotlistIds[a.hotlistPickerIndex];koc(a.currentTemplate,q);Fs(a.butterBar,"Saving template...");y=w=q;C=y.componentId;I=(J=y.templateId)&&"0"!==String(J)?a.templatesApi.update(C,J,w):a.templatesApi.create(C,w);return P.return(I.then(function(O){a.appEvents.templateModified.next(String(a.componentId));h(O);a.cdr.detectChanges()}).catch(function(O){O=
xn(O);a.butterBar.showWarning(O?"Error "+k+" template: "+O:"There was an error "+k+" the template.",0)}))})},KWa=function(a,b){a.matDialogService.open(a.deleteDialog,{data:b}).afterClosed().pipe(bf(a.destroyed$)).subscribe(function(c){c&&Doc(a,b)})},Doc=function(a,b){var c=b.index,d;qe(function(e){switch(e.nextAddress){case 1:d=a.templates[c];if(0>c||d.default)return e.return(Promise.resolve());ua(a.templateHotlistIds,c);ua(a.templates,c);a.defaultIndex=a.templates.findIndex(function(f){return f.default});
RW(a);a.cdr.detectChanges();Fs(a.butterBar,"Deleting...");re(e,2,3);return e.yield(a.templatesApi.delete(d.componentId,d.templateId),5);case 5:a.appEvents.templateModified.next(String(a.componentId)),Fs(a.butterBar,"Deleted template"),a.analytics.trackEvent("template","delete"),a.currentIndex===c&&jXa(a);case 3:return te(e),e.yield(a.loadTemplates(),6);case 6:RW(a);a.cdr.detectChanges();ue(e,0);break;case 2:ve(e),a.butterBar.showWarning("Error while deleting template"),e.jumpTo(3)}})},Foc=function(a,
b){b?iXa(a).then(function(){Eoc(a);a.cdr.detectChanges()}):Eoc(a)},MWa=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};
QW.prototype.openEditor=function(a){var b=this;this.currentIndex=void 0===a?-1:a;if(0>this.currentIndex){this.currentTemplate=Goc(this,{componentId:this.componentId,default:!1,name:"New Template"});this.currentTemplate.dirty=!0;this.updateSelectedHotlists();RW(this);this.cdr.detectChanges();var c;null==(c=document.getElementById("template-name"))||c.focus()}else Hoc(this,this.templates[this.currentIndex]).then(function(d){b.currentTemplate=Goc(b,d);b.hotlistPickerIndex=b.currentIndex;b.updateSelectedHotlists();
RW(b);b.currentTemplate.separateCollaboratorGroups(b.trackerCollaboratorGroups);b.cdr.detectChanges();var e;null==(e=document.getElementById("template-name"))||e.focus()})};
var Hoc=function(a,b){return a.templatesApi.get(b.componentId,b.templateId||0)},zoc=function(a,b){a.currentTemplate&&a.currentTemplate.isDirty()?(a.afterSaveCheckFunc=b,Ioc(a)):b()},Boc=function(a,b,c){c&&c.issueAccessLimitLevel&&"LIMIT_NONE"!==c.issueAccessLimitLevel&&a.analytics.trackEvent(Kp.ISSUE_ACCESS_LIMITS,b,"template:"+c.issueAccessLimitLevel)},Coc=function(a,b,c){a.currentTemplate&&0<a.currentTemplate.collaboratorGroups.length&&a.analytics.trackEvent(Kp.QUICK_ADD_COLLABORATORS,b,"template:"+
c)},Ioc=function(a){a.matDialogService.open(a.saveBeforeClosingDialog,{data:a.currentTemplateRow}).afterClosed().pipe(bf(a.destroyed$)).subscribe(function(b){void 0!==b&&Foc(a,b)})},Eoc=function(a){var b=a.afterSaveCheckFunc;a.afterSaveCheckFunc=null;b&&b()},Goc=function(a,b){return new KW(a.customFieldIds,b)};
QW.prototype.loadCustomFields=function(){var a=this;this.customFieldRows=[];this.customFieldIds={};return this.supportCustomFields?this.componentActions.get(this.componentId).then(function(b){b=l(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 ioc(c,"TEXT"===c.type?"1":"2"))}a.cdr.detectChanges()}).catch(function(){a.butterBar.showWarning("Unable to load custom fields")}):
Promise.resolve()};QW.prototype.loadTemplates=function(){var a=this;this.templates=[];return this.templatesApi.query(this.componentId).then(function(b){a.templates=b;b=l(a.templates);for(var c=b.next();!c.done;c=b.next())c=c.value,c.snapshot.hotlistId?a.templateHotlistIds.push(c.snapshot.hotlistId):a.templateHotlistIds.push([]);a.defaultIndex=a.templates.findIndex(function(d){return d.default});a.cdr.detectChanges()}).catch(function(){a.butterBar.showWarning("Unable to load templates")})};
var RW=function(a){if(0>a.currentIndex)a.templateRows=a.templates.map(function(e,f){return new JW(f,e)}),a.currentTemplate&&(a.currentTemplateRow=new JW(-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,f){return new JW(f,e)}));a.currentTemplate&&(a.currentTemplateRow=new JW(b,a.currentTemplate),c.push(a.currentTemplateRow));d=a.templates.slice(b+1);c=c.concat(d.map(function(e,
f){return new JW(b+f+1,e)}));a.templateRows=c;a.hotlistPickerIndex=a.currentIndex}},IWa=function(a,b){var c,d,e,f;return qe(function(h){switch(h.nextAddress){case 1:if(0>b||a.defaultIndex===b)return h.return();c=a.templates[b];if(c.default)return h.return();d=c.name;Ei(Di(d))&&(d="(unnamed template)");a.defaultIndex=b;Fs(a.butterBar,"Changing default template...");a.analytics.trackEvent("template","changeDefault");re(h,2,3);return h.yield(Joc(a,c.templateId),5);case 5:Fs(a.butterBar,"Changed default template to "+
d);case 3:return te(h),h.yield(a.loadTemplates(),6);case 6:ue(h,0);break;case 2:e=ve(h),f="Error while changing default message"+(wn(e)?": "+xn(e):"."),a.butterBar.showWarning(f),h.jumpTo(3)}})},Joc=function(a,b){var c,d;return qe(function(e){if(1==e.nextAddress)return e.yield((0,E.firstValueFrom)(a.component$),2);if(3!=e.nextAddress){c=e.yieldResult;if(!c||c.defaultTemplateId===b)return e.return();c.defaultTemplateId=b;return e.yield(a.componentActions.update(c),3)}d=e.yieldResult;a.componentFridge.announce(d);
a.appEvents.templateModified.next(String(d.componentId));we(e)})};QW.\u0275fac=function(a){return new (a||QW)(B(vA),B(XD,2),B(SH),B(rH),B(PF),B(BD),B(cF),B(EG),B(aI),B(KO),B(kL),B(lL),B(lG),B(KH),B(RG),B(mH),B(PW),B(nt))};
QW.\u0275cmp=r({type:QW,selectors:[["b-edit-templates"]],viewQuery:function(a,b){a&1&&(og(toc,5),og(uoc,5));if(a&2){var c;ng(c=qg())&&(b.saveBeforeClosingDialog=c.first);ng(c=qg())&&(b.deleteDialog=c.first)}},inputs:{componentId:"componentId",supportCustomFields:"supportCustomFields"},features:[bg([XD]),yf],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"],["appearance","outline",1,"static-label"],["multiple","","aria-label","Collaborator groups",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["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),T(2," A template is a set of default values for new issues created in this component. "),H(3,"a",1),T(4,"Learn more"),K()(),H(5,"table",2)(6,"tr")(7,"th"),T(8,"TEMPLATE"),K(),H(9,"th",3),T(10,"DEFAULT"),K(),L(11,"th",3)(12,"th",3),K(),F(13,mXa,3,2,"tr",4),K(),H(14,"div",
5)(15,"b-button",6),Q("onAction",function(){return Aoc(b)}),T(16," Create New Template "),K()(),F(17,nXa,7,3,"ng-template",null,7,tg)(19,oXa,9,4,"ng-template",null,8,tg),K());a&2&&(A(3),G("href","https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/templates",Wd),A(10),G("ngForOf",b.templateRows))},dependencies:[rJ,Tv,Uv,Vv,Wv,Xv,MA,LT,OR,Jg,Fw,ww,Dw,NW,yS,LW,kS,eA,wA,yA,zA,dV,qQ,KR,FA,JP,IP,hA,dC,AD,ZB,XB,YB,OW],styles:["[_nghost-%COMP%]     mat-form-field.static-label{width:180px;margin-top:3px;font-size:1rem}[_nghost-%COMP%]     mat-form-field.static-label .mat-form-field-infix{padding:4px}[_nghost-%COMP%]     mat-form-field.static-label .mat-select-arrow-wrapper{transform:translateY(50%)}.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 SW=function(){};SW.\u0275fac=function(a){return new (a||SW)};SW.\u0275mod=Tc({type:SW});SW.\u0275inj=Ec({imports:[zD,fN]});var TW=function(a,b){this.hotlists=a;this.userAccess=b;this.id$=new E.ReplaySubject(1);this.removeHotlist=new mv;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=l(c);c=d.next().value;d=d.next().value;return null==c?!1:d?!0:!1}))};
TW.prototype.ngOnInit=function(){var a=this;this.removable$="check-acl"===this.removable?this.id$.pipe(af(function(b){return XF(a.userAccess,"appender","hotlists/"+b)})):(0,E.of)(this.removable)};Gh.Object.defineProperties(TW.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.idInternal=String(a);this.id$.next(String(a))}}});TW.\u0275fac=function(a){return new (a||TW)(B(TH),B(VF))};
TW.\u0275cmp=r({type:TW,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),Q("removeHotlist",function(){null==b.idInternal?Bk("Missing id"):b.removeHotlist.emit()}),W(1,"async"),W(2,"async"),W(3,"async"),K());if(a&2){var c;G("hotlist",X(1,3,b.hotlist$))("disabled",!0===X(2,5,b.isDisabled$))("removable",null!==
(c=X(3,7,b.removable$))&&void 0!==c?c:!1)}},dependencies:[NW,$v],encapsulation:2,changeDetection:0});var UW=function(){};UW.\u0275fac=function(a){return new (a||UW)};UW.\u0275mod=Tc({type:UW});UW.\u0275inj=Ec({imports:[zD,UK,OK,kC]});var VW=function(){};VW.\u0275fac=function(a){return new (a||VW)};VW.\u0275mod=Tc({type:VW});VW.\u0275inj=Ec({imports:[zD,kC,$B,QC,HD]});var WW=function(){};WW.\u0275fac=function(a){return new (a||WW)};WW.\u0275mod=Tc({type:WW});WW.\u0275inj=Ec({imports:[sJ,zD,kU,PR,Tw,UW,EW,SW,lS,kC,hL,AA,iW,rQ,KJ,LR,KP,iA,QC,HD,$B,VW]});var XW=function(a,b,c,d,e){this.appSearchState=b;this.analytics=c;this.domSafe=d;this.currentTracker=e;this.enableEstado=yD(a,"enableEstado")};XW.prototype.openInEstado=function(){this.analytics.trackEvent("listIssues","addOns","Estado");this.domSafe.openInNewTab("http://go/estado/dashboard-lite/buganizer?buganizer-query="+encodeURIComponent(this.appSearchState.currentQuery))};XW.\u0275fac=function(a){return new (a||XW)(p(nt),p(GK),p(aI),p(lM),p(SG))};
XW.\u0275prov=Dc({token:XW,factory:XW.\u0275fac,providedIn:"root"});var Koc=["ASSIGNMENT","RESPONSE","CLOSURE"],Loc=new Map([["ASSIGNMENT","Assignment"],["RESPONSE","Response"],["CLOSURE","Closure"]]),Moc=new Map([["name","Name"],["description","Description"],["parentId","Parent ID"],["elements","SLO rules"]]),g8a=new Map([["DAY_TYPE_UNSPECIFIED","Calendar"],["CALENDAR","Calendar"],["BUSINESS","Business"]]);var Hm=function(a){this.internalArray_=m(a)};Y(Hm,n);Hm.prototype.getComponentId=function(){return Ui(this,1)};Hm.prototype.setComponentId=function(a){return Gl(this,1,a)};Hm.prototype.getEffectiveSloEditPolicy=function(){return Li(this,2,0)};var Noc=function(a){this.internalArray_=m(a,0,Noc.messageId)};Y(Noc,n);Noc.messageId="b.GetComponentSloEditPolicyResponse";var YW=function(a){this.internalArray_=m(a,0,YW.messageId)};Y(YW,n);YW.prototype.getTeamSloEditPolicy=function(){return vi(this,zF,1)};YW.messageId="b.GetTeamSloEditPolicyResponse";var ZW=function(a){this.internalArray_=m(a,0,ZW.messageId)};Y(ZW,n);ZW.repeatedFields_=[1];ZW.messageId="b.SloSearchResponse";var $W=function(a){this.internalArray_=m(a,0,$W.messageId)};Y($W,n);$W.prototype.getTeamSloEditPolicy=function(){return vi(this,zF,1)};$W.messageId="b.UpdateTeamSloEditPolicyResponse";var aX=function(a,b){this.activeSession=a;this.executor=b};g=aX.prototype;g.get=function(a){return this.executor.get({url:"action/slos/"+a,responseConstructor:Lm}).pipe(D(Hza))};g.getOwnedSlos=function(){return this.search("owner:"+this.activeSession.getUserEmail()+" include_archived:true")};g.search=function(a){return this.executor.get({url:"action/slos",options:{params:{query:a}},responseConstructor:ZW}).pipe(D(function(b){var c;return(null!=(c=zi(b,Lm,1))?c:[]).map(Hza)}))};
g.create=function(a){a=Iza(a);return this.executor.post({url:"action/slos",body:a,responseConstructor:Lm}).pipe(D(Hza))};g.update=function(a){var b=a.sloId;a=Iza(a);return this.executor.post({url:"action/slos/"+b,body:a,responseConstructor:Lm}).pipe(D(Hza))};aX.\u0275fac=function(a){return new (a||aX)(p(nt),p(SD))};aX.\u0275prov=Dc({token:aX,factory:aX.\u0275fac,providedIn:"root"});
var bX=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})};g=bX.prototype;g.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)))};g.getOwnedSlos=function(){return(0,E.firstValueFrom)(this.observableSlosService.getOwnedSlos())};g.search=function(a){return(0,E.firstValueFrom)(this.observableSlosService.search(a))};
g.create=function(a){return(0,E.firstValueFrom)(this.observableSlosService.create(a))};g.update=function(a){return(0,E.firstValueFrom)(this.observableSlosService.update(a))};bX.\u0275fac=function(a){return new (a||bX)(p(mF),p(aX))};bX.\u0275prov=Dc({token:bX,factory:bX.\u0275fac,providedIn:"root"});var cX=function(a,b){this.sloStatusHelpersService=a;this.dateFormatter=b;this.timeDisplayText="--";this.rawObjectiveDisplayText=this.objectiveDisplayText=null;this.cardActionText="--";this.sloEndTimeDisplayText=(0,E.of)("--");this.SloRuleDayType=tZb;this.iconName="slo-status-no-data"};cX.prototype.getIconName=function(a){return Ooc.has(a)?Ooc.get(a):"slo-status-no-data"};
var Poc=function(a,b,c){a.iconName=a.getIconName(b);c=null!==c?b9b(1E3*c).match(/^(\d+\s\D+)(?:\s|$)/)[1]:"";a.cardActionText="COMPLETED"===b?"ASSIGNMENT"===a.sloMetricDescription?"Assigned on:":"RESPONSE"===a.sloMetricDescription?"Responded on:":"CLOSURE"===a.sloMetricDescription?"Closed on:":"SLO fulfilled on:":"ASSIGNMENT"===a.sloMetricDescription?"Assign by:":"RESPONSE"===a.sloMetricDescription?"Respond by:":"CLOSURE"===a.sloMetricDescription?"Close by:":"Due by:";switch(b){case "COMPLETED":a.timeDisplayText=
"ASSIGNMENT"===a.sloMetricDescription?"Issue assigned":"RESPONSE"===a.sloMetricDescription?"Response recorded":"CLOSURE"===a.sloMetricDescription?"Issue closed":"SLO fulfilled";break;case "SNOOZED_NEAR":case "SNOOZED_HEALTHY":case "HEALTHY":case "NEAR":a.timeDisplayText="ASSIGNMENT"===a.sloMetricDescription?c+" to assign":"RESPONSE"===a.sloMetricDescription?c+" to respond":"CLOSURE"===a.sloMetricDescription?c+" to close":c+" left";break;case "OUT_OF_SLO":a.timeDisplayText="ASSIGNMENT"===a.sloMetricDescription?
c+" overdue for assignment":"RESPONSE"===a.sloMetricDescription?c+" overdue for response":"CLOSURE"===a.sloMetricDescription?c+" overdue for closure":c+" overdue";break;case "NO_DATA":a.timeDisplayText="ASSIGNMENT"===a.sloMetricDescription?"No assignment SLO":"RESPONSE"===a.sloMetricDescription?"No response SLO":"CLOSURE"===a.sloMetricDescription?"No closure SLO":"--";break;default:Bk("unknown status type: "+b)}};
cX.prototype.ngOnChanges=function(){var a=Date.now()/1E3;if(this.sloBounds&&aP(this.sloBounds)){var b=this.sloBounds.targetTime.seconds,c=b-this.sloBounds.startTime.seconds;c?this.objectiveDisplayText=b9b(1E3*c):this.objectiveDisplayText=null;var d,e,f;this.rawObjectiveDisplayText=b9b(1E3*((null!=(e=null==(d=this.sloBounds.objective)?void 0:d.seconds)?e:0)+86400*(null!=(f=this.sloBounds.businessDays)?f:0)));this.sloEndTimeDisplayText=BM(this.dateFormatter,new Date(1E3*b));c=this.sloBounds;aP(c)&&
c.endTime&&0!==c.endTime.seconds&&c.endTime.seconds<=Date.now()/1E3?(b=this.sloBounds.endTime.seconds,this.sloEndTimeDisplayText=BM(this.dateFormatter,new Date(1E3*b)),Poc(this,"COMPLETED",a-b)):b<a?Poc(this,"OUT_OF_SLO",a-b):(c=this.sloStatusHelpersService.isSloStartTimeApplied(this.sloStartTime),a=b-a,Poc(this,259200<a?c?"SNOOZED_HEALTHY":"HEALTHY":c?"SNOOZED_NEAR":"NEAR",a))}else Poc(this,"NO_DATA",null),this.rawObjectiveDisplayText=this.objectiveDisplayText=null};
cX.\u0275fac=function(a){return new (a||cX)(B($O),B(AM))};
cX.\u0275cmp=r({type:cX,selectors:[["b-slo-time-indicator"]],inputs:{sloBounds:"sloBounds",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeSnoozeDetails:"includeSnoozeDetails",sloMetricDescription:"sloMetricDescription",includeObjective:"includeObjective"},features:[ld],decls:16,vars:13,consts:[[3,"ngClass","svgIcon"],[1,"slo-time-indicator-text",3,"onedevHovercardTrigger","onedevHovercardActive"],[1,"slo-status-text"],["card",""],["role","dialog","aria-label","More slo information",1,
"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"margin-s-bottom","padded-s-bottom","border-bottom"],[4,"ngIf","ngIfElse"],["dayTypeCalendar",""]],template:function(a,b){a&1&&(L(0,"mat-icon",0),H(1,"span",1)(2,"span",2),T(3),K()(),H(4,"onedev-hovercard",null,3)(6,"div",4)(7,"div",5)(8,"div"),T(9),K(),H(10,"div",6),T(11),W(12,"async"),K(),F(13,pXa,5,2,"ng-container",7),K()()(),F(14,qXa,2,1,"ng-template",null,8,tg));if(a&2){var c=S(5),d=S(15);G("ngClass",b.iconName)("svgIcon",b.iconName);
Af("aria-label","--"===b.timeDisplayText?"No SLO data":"");A(1);G("onedevHovercardTrigger",c)("onedevHovercardActive",!(!b.includeObjective||!b.rawObjectiveDisplayText));A(2);$f(b.timeDisplayText);A(6);$f(b.timeDisplayText);A(2);ag(" ",b.cardActionText," ",X(12,11,b.sloEndTimeDisplayText)," ");A(2);G("ngIf",(null==b.sloBounds?null:b.sloBounds.dayType)===b.SloRuleDayType.BUSINESS)("ngIfElse",d)}},dependencies:[Sv,Uv,MA,hK,mK,$v],styles:[".slo-time-indicator-text[_ngcontent-%COMP%]   span.slo-status-text[_ngcontent-%COMP%]{display:inline-block}mat-icon[_ngcontent-%COMP%]{margin-right:5px;width:18px;height:18px;flex-shrink:0}mat-icon.slo-status-snoozed-near-slo[_ngcontent-%COMP%], mat-icon.slo-status-near[_ngcontent-%COMP%]{color:#fa7b17;color:var(--slo-near)}mat-icon.slo-status-snoozed-healthy[_ngcontent-%COMP%], mat-icon.slo-status-healthy[_ngcontent-%COMP%], mat-icon.slo-status-no-data[_ngcontent-%COMP%], mat-icon.slo-status-completed[_ngcontent-%COMP%]{color:#80868b;color:var(--slo-healthy)}mat-icon.slo-status-out-of-slo[_ngcontent-%COMP%]{color:#ea4335;color:var(--slo-overdue)}[_nghost-%COMP%]{display:inline-flex}.onedev-hovercard-content[_ngcontent-%COMP%]{width:fit-content}"],
changeDetection:0});var Ooc=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 dX=function(a){this.sloStatusHelpersService=a;this.includeNoSlo=!1};dX.prototype.ngOnInit=function(){Qoc(this);this.hasSlo=!!this.sloStatus&&Fac(this.sloStatus)};dX.prototype.ngOnChanges=function(){Qoc(this)};var Qoc=function(a){a.sloStatus&&(a.assignmentSlo=Roc(hl(a.sloStatus.assignmentBounds)),a.responseSlo=Roc(hl(a.sloStatus.responseBounds)),a.closureSlo=Roc(hl(a.sloStatus.closureBounds)))};dX.prototype.isSloStartTimeApplied=function(){return this.sloStatusHelpersService.isSloStartTimeApplied(this.sloStartTime)};
var Roc=function(a){if(aP(a))return a};dX.\u0275fac=function(a){return new (a||dX)(B($O))};
dX.\u0275cmp=r({type:dX,selectors:[["b-slo-status-summary"]],inputs:{sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeNoSlo:"includeNoSlo",onlyShowMetric:"onlyShowMetric"},features:[ld],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&&F(0,rXa,2,4,"div",0)(1,sXa,2,4,"div",0)(2,tXa,2,4,"div",0);a&2&&(G("ngIf",(b.includeNoSlo||b.assignmentSlo)&&(!b.onlyShowMetric||"ASSIGNMENT"==b.onlyShowMetric)),A(1),G("ngIf",(b.includeNoSlo||b.responseSlo)&&(!b.onlyShowMetric||"RESPONSE"==b.onlyShowMetric)),A(1),G("ngIf",(b.includeNoSlo||b.closureSlo)&&(!b.onlyShowMetric||"CLOSURE"==b.onlyShowMetric)))},dependencies:[Uv,cX],encapsulation:2,changeDetection:0});var eX=function(a,b,c,d){this.sloStatusHelpersService=a;this.paths=b;this.analytics=c;this.sloApi=d};eX.prototype.ngOnInit=function(){this.hasSlo=!!this.sloStatus&&Gac(this.sloStatus,this.onlyShowMetric);"0"!==this.sloId?(this.editSloLink=this.paths.editSlo(this.sloId),Soc(this)):this.editSloLink=null};eX.prototype.trackOpenSlo=function(){this.analytics.trackEvent(Kp.EDIT_SLO,"open","fromSloStatusCard")};
var Soc=function(a){a.sloApi.get(a.sloId).then(function(b){a.sloName=b.name}).catch(function(){a.sloName=null})};eX.\u0275fac=function(a){return new (a||eX)(B($O),B(cF),B(aI),B(bX))};
eX.\u0275cmp=r({type:eX,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&&(Vf(),H(0,"span",0),Wf(1),K(),H(2,"onedev-hovercard",null,1)(4,"div",2)(5,"div",3)(6,"div",4),F(7,uXa,2,3,"div",5)(8,xXa,3,2,"div",6)(9,AXa,4,2,"span",7),K()()()());if(a&2){var c=S(3);G("onedevHovercardTrigger",c);A(7);G("ngIf",b.hasSlo);A(1);G("ngIf",!b.hasSlo);A(1);G("ngIf",b.editSloLink)}},dependencies:[Uv,hK,mK,dX],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 fX=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};fX.\u0275fac=function(a){return new (a||fX)(B(uA))};
fX.\u0275cmp=r({type:fX,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),T(1),K(),H(2,"mat-dialog-content")(3,"b-custom-field-picker",1),Q("fieldSelected",function(c){return b.selectedCustomField=c}),
K()(),H(4,"mat-dialog-actions")(5,"button",2),T(6," Cancel "),K(),H(7,"button",3),T(8," Add "),K()());a&2&&(A(1),V("Insert custom field column next to ",b.column.fullLabel,""),A(2),G("filter",b.isLegalColumn),A(4),G("disabled",!b.selectedCustomField)("mat-dialog-close",b.selectedCustomField))},dependencies:[eA,wA,xA,yA,zA,oS],encapsulation:2});var BXa="issueId componentPath type status priority severity reporter assignee verifier cc collaborator changelist postmortem blockingIssueId blockedByIssueId createdTime modifiedTime resolvedTime verifiedTime title foundInVersion targetedToVersion verifiedInVersion inProd duplicateOfIssueId voteCount duplicateCount ccCount collaboratorCount lastModifier archived minSlo assignmentSlo responseSlo closureSlo deletionTime team estimate estimateTotalOpen estimateTotalComplete accessLevel descendantCount openDescendantCount oneDayViewCount sevenDayViewCount thirtyDayViewCount".split(" ");var Sp=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)};Sp.prototype.toString=function(){return this.isCustomField?"customfield:"+this.name+"["+this.fullLabel+"]":this.name};
var GXa={issueId:{defaultSortDirection:"DESC",label:"ID",moreOptions:[{name:"id-link",menuItem:"Plain Link"},{name:"id-copy",menuItem:"Quick Copy Chip"}]},priority:{label:"P",fullLabel:"Priority"},severity:{label:"S",fullLabel:"Severity"},modifiedTime:{defaultSortDirection:"DESC",label:"LAST MODIFIED"},createdTime:{defaultSortDirection:"DESC",label:"CREATED"},verifiedTime:{defaultSortDirection:"DESC",label:"VERIFIED"},resolvedTime:{defaultSortDirection:"DESC",label:"RESOLVED"},blockedByIssueId:{sortable:!1,
label:"BLOCKED BY"},foundInVersion:{label:"FOUND IN"},targetedToVersion:{label:"TARGETED TO"},verifiedInVersion:{label:"VERIFIED IN"},inProd:{label:"IN PROD"},duplicateOfIssueId:{sortable:!1,label:"DUPLICATE OF"},componentPath:{label:"COMPONENT",moreOptions:[{name:"wrapComponents",menuItem:"Wrap components"},{name:"rtlComponentPath",menuItem:"Prefer right alignment"}]},cc:{sortable:!1},collaborator:{sortable:!1},changelist:{sortable:!1},postmortem:{sortable:!1},blockingIssueId:{sortable:!1,label:"BLOCKING"},
title:{moreOptions:[{name:"showHotlists",menuItem:"Show hotlists"},{name:"wrapTitles",menuItem:"Wrap titles"}]},status:{moreOptions:[{name:"showStatusIcons",menuItem:"Icons only"},{name:"status-plain",menuItem:"Plain text (no colors)"}]},voteCount:{defaultSortDirection:"DESC",label:"VOTES",fullLabel:"Vote Count"},duplicateCount:{defaultSortDirection:"DESC",label:"DUPE COUNT",tooltip:"Duplicate Count"},ccCount:{defaultSortDirection:"DESC",label:"CC COUNT"},collaboratorCount:{defaultSortDirection:"DESC",
label:"COLLABORATOR COUNT"},lastModifier:{label:"LAST MODIFIED BY"},minSlo:{defaultSortDirection:"ASC",label:"NEAREST SLO",fullLabel:"Nearest SLO",parentLabel:"SLO"},assignmentSlo:{label:"ASSIGNMENT SLO",fullLabel:"Assignment SLO",parentLabel:"SLO",sortable:!0},responseSlo:{label:"RESPONSE SLO",fullLabel:"Response SLO",parentLabel:"SLO",sortable:!0},closureSlo:{label:"CLOSURE SLO",fullLabel:"Closure SLO",parentLabel:"SLO",sortable:!0},deletionTime:{label:"DELETION DATE",fullLabel:"Deletion Date",
sortable:!0},team:{label:"TEAM",sortable:!0},estimate:{label:"ESTIMATE",fullLabel:"Estimate",parentLabel:"Estimates",sortable:!0},estimateTotalOpen:{label:"TOTAL DAYS OPEN",fullLabel:"Total days open",parentLabel:"Estimates",sortable:!0,tooltip:"Total estimate of all child issues that are open in number of days"},estimateTotalComplete:{label:"TOTAL DAYS COMPLETE",fullLabel:"Total days complete",parentLabel:"Estimates",sortable:!0,tooltip:"Total estimate of all child issues that are complete (fixed or won\u2019t fix) in number of days"},
accessLevel:{label:"ISSUE ACCESS LEVEL",sortable:!0},descendantCount:{defaultSortDirection:"DESC",parentLabel:"Descendant Issue",label:"DESCENDANT COUNT",sortable:!0},openDescendantCount:{defaultSortDirection:"DESC",parentLabel:"Descendant Issue",label:"OPEN DESCENDANT COUNT",sortable:!0},oneDayViewCount:{parentLabel:"View Count",label:"24H VIEWS",sortable:!0,tooltip:"Total view count in the past 24 hours"},sevenDayViewCount:{parentLabel:"View Count",label:"7D VIEWS",sortable:!0,tooltip:"Total view count in the past seven days"},
thirtyDayViewCount:{parentLabel:"View Count",label:"30D VIEWS",sortable:!0,tooltip:"Total view count in the past thirty days"}};var gX=function(a,b,c){this.target=a;this.eventType=b;this.listener=c;this.target.addEventListener(this.eventType,this.listener)};gX.prototype.off=function(){this.target.removeEventListener(this.eventType,this.listener)};var Toc=function(){this.bindings=[]};Toc.prototype.off=function(){for(var a=l(this.bindings),b=a.next();!b.done;b=a.next())b.value.off()};
var Uoc=function(a){var b=this;this.params=a;this.mask=document.createElement("div");this.element=this.params.nativeElement;this.eventBindings=new Toc;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()}};
Uoc.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(){Voc(a,"dragstart",a.onDragTargetDragstart);Voc(a,"dragenter",a.onDragTargetDragenter);Voc(a,"dragend",a.onDragTargetDragend);Voc(a,"selectstart",a.onDragTargetSelectstart);a.eventBindings.bindings.push(new gX(a.mask,"dragleave",a.onMaskDragLeave));
a.eventBindings.bindings.push(new gX(a.mask,"dragover",a.onMaskDragover));a.eventBindings.bindings.push(new gX(a.mask,"drop",a.onMaskDrop))})};var Voc=function(a,b,c){a.eventBindings.bindings.push(new gX(a.element,b,Up("th.drag-target",c)))};Uoc.prototype.tearDown=function(){this.eventBindings.off()};var Woc=["table"],Xoc=["defaultHeaderCellTemplate"],Yoc=["defaultViewCellTemplate"],Zoc=["dataRows"],LXa=function(a){return{column:a}},OXa=function(a,b,c){return{row:a,column:b,index:c}},hX=function(a,b){var c=this;this.activeSession=a;this.ngZone=b;this.headerCellTemplates={};this.viewCellTemplates={};this.list=[];this.columns=[];this.columnsChange=new mv;this.rowClick=new mv;this.rowLabelRenderer=function(d,e){return"Row "+e};this.sortChange=new mv;this.focusedRowIndexChange=new mv;this.afterViewInit=
new mv;this.enableDragDropHeader=!0;this.readUnreadOptOut=yD(this.activeSession,"readUnreadOptOut");this.onDragDropColumn=function(d,e){var f=[].concat(u(c.columns));d=f.splice(d,1)[0];f.splice(e,0,d);c.columns=f;c.columnsChange.emit([].concat(u(c.columns)))};this.onTdClickableClick=Up("td.clickable",function(d,e){if(("mouseup"!==d.type||1===d.button)&&!n8b(e)&&(e=e.closest("tr"))){var f,h=null!=(f=e.dataset.rowId)?f:"";c.rowClick.emit({id:h,isRead:!!e.dataset.isRead,event:d})}})};
hX.prototype.ngOnInit=function(){this.enableDragDropHeader&&$oc(this);this.tableElement.nativeElement.addEventListener("click",this.onTdClickableClick);this.tableElement.nativeElement.addEventListener("mouseup",this.onTdClickableClick)};var $oc=function(a){a.dragDropHeaderLogic=new Uoc({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()};
hX.prototype.ngOnChanges=function(a){if(a=a.focusedRowIndex){var b=a.currentValue;null!=b&&b!==a.previousValue&&this.dataRows&&(a=this.dataRows.toArray()[b])&&(KIa(a.nativeElement)||a.nativeElement.scrollIntoView({block:"center"}),this.focus())}};hX.prototype.ngAfterViewInit=function(){this.afterViewInit.emit(this)};
hX.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)};var apc=function(a){return a.columns.map(function(b){b=b.name;return null!=b?a.viewCellTemplates[b]||a.defaultViewCellTemplate:a.defaultViewCellTemplate})};hX.prototype.renderRowLabel=function(a,b){return this.rowLabelRenderer(a,b)};
hX.prototype.focus=function(){if(null!=this.focusedRowIndex&&null!=this.dataRows){var a=this.dataRows.toArray()[this.focusedRowIndex];a&&a.nativeElement.focus()}};hX.prototype.getColumnIndexForElement=function(a){var b=a.dataset.dragTargetColumnName;return this.columns.findIndex(function(c){return c.name===b})};hX.\u0275fac=function(a){return new (a||hX)(B(nt),B(ef))};
hX.\u0275cmp=r({type:hX,selectors:[["pop-grid"]],viewQuery:function(a,b){a&1&&(og(Woc,7),og(Xoc,7),og(Yoc,7),og(Zoc,5,Hd));if(a&2){var c;ng(c=qg())&&(b.tableElement=c.first);ng(c=qg())&&(b.defaultHeaderCellTemplate=c.first);ng(c=qg())&&(b.defaultViewCellTemplate=c.first);ng(c=qg())&&(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:[ld],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),Q("mousedown",function(c){c.shiftKey&&window.getSelection().removeAllRanges()}),H(2,"colgroup"),F(3,JXa,1,3,"col",2),K(),H(4,"thead")(5,"tr",3),F(6,MXa,2,4,"ng-container",4),K()(),H(7,"tbody"),F(8,RXa,2,1,"ng-container",5),K()(),F(9,SXa,2,1,"ng-template",null,6,tg)(11,TXa,2,2,"ng-template",null,7,tg));a&2&&(A(3),G("ngForOf",b.columns),A(3),G("ngForOf",b.columns),A(2),G("ngIf",apc(b)))},
encapsulation:2});var iX=function(a,b){this.templateRef=a;this.popGrid=b};iX.prototype.ngOnInit=function(){this.forHeaderCell&&(this.popGrid.headerCellTemplates[this.forHeaderCell]=this.templateRef)};iX.\u0275fac=function(a){return new (a||iX)(B(kg),B(hX))};iX.\u0275dir=Vc({type:iX,selectors:[["","forHeaderCell",""]],inputs:{forHeaderCell:"forHeaderCell"}});var jX=function(a,b){this.templateRef=a;this.popGrid=b};
jX.prototype.ngOnInit=function(){this.forViewCell&&(this.popGrid.viewCellTemplates[this.forViewCell]=this.templateRef)};jX.\u0275fac=function(a){return new (a||jX)(B(kg),B(hX))};jX.\u0275dir=Vc({type:jX,selectors:[["","forViewCell",""]],inputs:{forViewCell:"forViewCell"}});var kX=function(a,b){this.templateRef=a;this.popGrid=b};kX.prototype.ngOnInit=function(){this.popGrid.defaultHeaderCellTemplate=this.templateRef};kX.\u0275fac=function(a){return new (a||kX)(B(kg),B(hX))};
kX.\u0275dir=Vc({type:kX,selectors:[["","forHeaderCellDefault",""]]});var lX=function(){this.columnLabel=this.columnName="";this.defaultSortDirection="ASC";this.sortChanged=new mv};lX.prototype.ariaLabel=function(){var a=this.columnLabel+", sortable";return this.isActive()?"ASC"===this.sort.direction?a+", sorted ascending":a+", sorted descending":a};lX.prototype.isActive=function(){return!!this.sort&&this.sort.field===this.columnName};
lX.prototype.activate=function(){var a=this.defaultSortDirection;this.isActive()&&(a="ASC"===this.sort.direction?"DESC":"ASC");this.sortChanged.emit({field:this.columnName,direction:a})};lX.\u0275fac=function(a){return new (a||lX)};
lX.\u0275cmp=r({type:lX,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),Q("click",function(){return b.activate()})("keydown.enter",function(c){b.activate();return c.stopPropagation()})("keydown.space",
function(c){b.activate();return c.stopPropagation()}),L(1,"span",1),T(2),K());a&2&&(Jf("current-sort",b.isActive())("direction-asc",b.isActive()&&"ASC"===b.sort.direction)("direction-desc",b.isActive()&&"DESC"===b.sort.direction),Af("aria-label",b.ariaLabel()),A(2),V(" ",b.columnLabel," "))},encapsulation:2});var mX=function(a,b){this.elementRef=a;this.grid=b};mX.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}}};mX.prototype.ngOnDestroy=function(){this.cellParent&&delete this.cellParent.dataset.dragTargetColumnName};
mX.\u0275fac=function(a){return new (a||mX)(B(Hd),B(hX,8))};
mX.\u0275cmp=r({type:mX,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),F(1,UXa,1,5,"b-sortable-header",1)(2,WXa,3,3,"div",2),K());a&2&&(A(1),G("ngIf",b.column.sortable),A(1),G("ngIf",!b.column.sortable))},dependencies:[Uv,dC,lX],encapsulation:2});var cYa=function(a,b){return{columns:a,before:b}},bpc=function(){return{before:!1}},cpc=function(){return{before:!0}},nX=function(a,b,c,d,e,f){Z.call(this);var h=this;this.matDialog=a;this.userPreferencesManager=b;this.butterBar=c;this.analytics=d;this.hotkeys=e;this.activeSession=f;this.selectedColumnsChange=new mv;this.onAddTeamColumn=new mv;this.currentAvailableItems=[];this.isRemovable=!0;this.menuOpen=!1;this.listViewPrefs=uD.listViewPreferences;b.preferences$.pipe(bf(this.destroyed$)).subscribe(function(k){h.listViewPrefs=
k.listViewPreferences||uD.listViewPreferences})};Y(nX,Z);nX.\u0275dir=Z.\u0275dir;nX.prototype.ngOnChanges=function(a){a.selectedColumns&&dpc(this)};
var epc=function(a){a.selectedColumnsChange.emit([].concat(u(a.selectedColumns)));dpc(a)},YXa=function(a,b){var c=Object.assign({},a.listViewPrefs),d=ZXa(b),e=d.get;d=d.set;d(c,!e(c));a.activeSession.isAnonymous()||Fs(a.butterBar,"Saving display preference...",0);a.userPreferencesManager.save({listViewPreferences:c}).pipe(Qe(),bf(a.destroyed$)).subscribe(function(){a.analytics.trackEvent("preferences","setListViewPref:"+b,e(c).toString());a.listViewPrefs=c;a.activeSession.isAnonymous()||Fs(a.butterBar,
"Display preference saved.",4E3)},function(){a.activeSession.isAnonymous()||a.butterBar.showWarning("Display preference could not be saved.")})},fYa=function(a,b){a.hotkeys.pause();a.matDialog.open(fX,{data:{column:a.column,columns:a.selectedColumns},position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"}).afterClosed().pipe(bf(a.destroyed$)).subscribe({next:function(c){c&&a.add(c,b)},error:function(){a.hotkeys.unpause()},complete:function(){a.hotkeys.unpause()}})},dpc=function(a){for(var b=
{},c=l(a.selectedColumns),d=c.next();!d.done;d=c.next())b[d.value.name]=!0;var e=a.availableColumns.filter(function(f){return!yda(b,f.name)});c=[].concat(u(new Set(e.filter(function(f){return f.parentLabel}).map(function(f){return f.parentLabel})))).map(function(f){return{label:f,columns:e.filter(function(h){return h.parentLabel===f})}});d=e.filter(function(f){return!f.parentLabel});a.currentAvailableItems=[].concat(u(d),u(c));a.currentAvailableItems.sort(function(f,h){return Eq(f instanceof Sp?f.fullLabel:
f.label,h instanceof Sp?h.fullLabel:h.label)});a.isRemovable=fpc(a)};nX.prototype.isIssueGridColumn=function(a){return a instanceof Sp};nX.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,epc(this),!0}return!1};
nX.prototype.add=function(a,b){var c=this;this.menuTrigger.closeMenu();a="customFieldId"in a&&a.customFieldId?new Sp({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(u(this.selectedColumns));this.selectedColumns.splice(b,0,a);epc(this);return!0};
var fpc=function(a){return 1<a.selectedColumns.filter(function(b){return!b.isMetadata}).length};nX.\u0275fac=function(a){return new (a||nX)(B(vA),B(LE),B(EG),B(aI),B(TE),B(nt))};
nX.\u0275cmp=r({type:nX,selectors:[["b-column-picker"]],viewQuery:function(a,b){a&1&&og(YB,5);if(a&2){var c;ng(c=qg())&&(b.menuTrigger=c.first)}},inputs:{column:"column",availableColumns:"availableColumns",selectedColumns:"selectedColumns"},outputs:{selectedColumnsChange:"selectedColumnsChange",onAddTeamColumn:"onAddTeamColumn"},features:[yf,ld],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),L(2,"pop-grid-default-th",2),K(),F(3,XXa,2,4,"div",3),H(4,"mat-menu",4,5),F(6,$Xa,4,3,"button",6)(7,aYa,1,0,"mat-divider",7),H(8,"button",8),Q("click",function(){return b.remove()}),T(9," Remove column "),K(),H(10,"button",9),T(11," Add column right "),K(),H(12,"button",
9),T(13," Add column left "),K()(),H(14,"mat-menu",null,10),F(16,gYa,4,1,"ng-template",11),K(),H(17,"mat-menu",null,12),F(19,iYa,1,1,"ng-template",11),K()());if(a&2){var c=S(15);A(2);G("column",b.column);A(1);G("ngIf",!0);A(3);G("ngForOf",b.column.moreOptions);A(1);G("ngIf",b.column.moreOptions.length);A(1);G("disabled",!b.isRemovable);A(2);G("matMenuTriggerFor",c)("matMenuTriggerData",eg(9,bpc));A(2);G("matMenuTriggerFor",c)("matMenuTriggerData",eg(10,cpc))}},dependencies:[Tv,Uv,ZB,XB,YB,WB,CD,dC,
AD,mX],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 ipc=function(a){var b=this;this.params=a;this.element=this.params.nativeElement;this.dropzone=document.createElement("div");this.onTdDragStart=Up("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=Up("tr",function(c,d){if(b.draggedRow&&b.dragTargetRow!==d&&d.closest("tbody")&&
d!==b.draggedRow){gpc(b.dragTargetRow);b.dragTargetRow=d;var e;b.draggedIssueIndex=b.params.rowFinder(null!=(e=b.draggedRow.dataset.rowId)?e:void 0);var f;b.dragTargetIndex=b.params.rowFinder(null!=(f=b.dragTargetRow.dataset.rowId)?f:void 0);b.dragTargetRow.classList.add("drag-over");b.dragTargetIndex>b.draggedIssueIndex?b.dragTargetRow.classList.add("below"):b.dragTargetRow.classList.add("above");a:{for(c=b.dragTargetRow.parentElement;c;){if("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=Up("tr",function(){b.draggedRow&&(gpc(b.draggedRow),gpc(b.dragTargetRow),b.draggedRow.setAttribute("aria-grabbed",
"false"),b.draggedRow=b.dragTargetRow=void 0)});this.onTrDragLeave=Up("tr",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragEnter=Up(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragLeave=Up(".row-dropzone",function(c){gpc(b.dragTargetRow);hpc(b);c.stopPropagation();c.preventDefault()});this.onDropzoneDragOver=Up(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDrop=Up(".row-dropzone",function(c){hpc(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()})};
ipc.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");hpc(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)})};
ipc.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 gpc=function(a){a&&(a.classList.remove("drag-over"),a.classList.remove("above"),a.classList.remove("below"),a.classList.remove("dragging"))},hpc=function(a){a.dropzone.style.display="none"};var oX=function(a){this.sloStatusHelpersService=a;this.includeObjective=this.includeSloMetric=!1;this.firstOpenSlo=null;this.firstOpenSloMetric=""};oX.prototype.ngOnInit=function(){jpc(this)};oX.prototype.ngOnChanges=function(a){(a.sloStatus||a.includeSloMetric)&&jpc(this)};var jpc=function(a){var b=Hac(a.sloStatus);b?(a.firstOpenSlo=b.sloBounds,a.includeSloMetric?a.firstOpenSloMetric=b.sloMetric:a.firstOpenSloMetric=""):(a.firstOpenSlo=null,a.firstOpenSloMetric="")};
oX.\u0275fac=function(a){return new (a||oX)(B($O))};
oX.\u0275cmp=r({type:oX,selectors:[["b-aggregated-slo-status-indicator"]],inputs:{sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeSloMetric:"includeSloMetric",includeObjective:"includeObjective"},features:[ld],decls:1,vars:5,consts:[[3,"sloBounds","sloMetricDescription","sloStartTime","sloEndTime","includeObjective"]],template:function(a,b){a&1&&L(0,"b-slo-time-indicator",0);a&2&&G("sloBounds",b.firstOpenSlo)("sloMetricDescription",b.firstOpenSloMetric)("sloStartTime",
b.sloStartTime)("sloEndTime",b.sloEndTime)("includeObjective",b.includeObjective)},dependencies:[cX],encapsulation:2,changeDetection:0});var pX=function(){};pX.\u0275fac=function(a){return new (a||pX)};pX.\u0275cmp=r({type:pX,selectors:[["archived-issue-indicator"]],decls:3,vars:0,consts:[["aria-hidden","true","svgIcon","archive_24px"]],template:function(a){a&1&&(H(0,"span"),L(1,"mat-icon",0),T(2,"Archived "),K())},dependencies:[MA],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 qX=function(){};qX.\u0275fac=function(a){return new (a||qX)};qX.\u0275mod=Tc({type:qX});qX.\u0275inj=Ec({imports:[zD]});var rX=function(a){this.bFocus=!0;this.nativeElement=a.nativeElement};rX.prototype.ngOnInit=function(){this.bFocus&&this.nativeElement.focus()};rX.prototype.ngOnChanges=function(){this.bFocus&&this.nativeElement.focus()};rX.\u0275fac=function(a){return new (a||rX)(B(Hd))};rX.\u0275dir=Vc({type:rX,selectors:[["","bFocus",""]],inputs:{bFocus:"bFocus"},features:[ld]});var sX=function(){};sX.\u0275fac=function(a){return new (a||sX)};sX.\u0275mod=Tc({type:sX});sX.\u0275inj=Ec({});var tX=function(a){this.internalArray_=m(a,0,tX.messageId)};Y(tX,n);tX.repeatedFields_=[1];tX.messageId="b.ListStatusUpdateHistoryResponse";var uX=function(a){this.executor=a};uX.prototype.get=function(a,b){return this.executor.get({url:v_b(a),responseConstructor:DF,options:{params:{issueCommentView:String(zZb[void 0===b?"MARKDOWN":b])}}}).pipe(D(gn))};
uX.prototype.update=function(a){var b=this.executor,c=b.post,d=v_b(a.issueId);if(lAa){var e=new DF,f=e.setIt,h=(new iD).setFormattingMode(Ql(a.formattingMode));a.issueId&&h.setIssueId(a.issueId);a.updateText&&h.setUpdateText(a.updateText);if(a.formattedText){var k=a.formattedText,q=new fn;if(k.plainFormat){var t=q.setPlainFormat;var w=k.plainFormat;w=(new eD).setPlainSectionList(w.plainSection.map(fya));t.call(q,w)}k.markdownFormat&&(t=q.setMarkdownFormat,w=k.markdownFormat,w=(new dD).setContent(vj(w.content)),
t.call(q,w));k.literalFormat&&(t=q.setLiteralFormat,k=k.literalFormat,k=(new cD).setContent(vj(k.content)),t.call(q,k));ej(h,fn,3,q)}a.author&&h.setAuthor(Zk(a.author));a.updateTime&&h.setUpdateTime(Vk(a.updateTime));a.version&&h.setVersion(a.version);a=f.call(e,h)}else e=(new DF).setFormattingMode(Ql(a.formattingMode)),a.issueId&&e.setIssueId(a.issueId),a.updateText&&e.setUpdateText(a.updateText),a.formattedText&&(h=a.formattedText,f=new en,h.plainFormat&&(q=f.setPlainFormat,k=h.plainFormat,k=(new xF).setPlainSectionList(k.plainSection.map(yza)),
q.call(f,k)),h.markdownFormat&&(q=f.setMarkdownFormat,k=h.markdownFormat,k=(new jn).setContent(vj(k.content)),q.call(f,k)),h.literalFormat&&(q=f.setLiteralFormat,h=h.literalFormat,h=(new wF).setContent(vj(h.content)),q.call(f,h)),ej(e,en,3,f)),a.author&&e.setAuthor(si(a.author)),a.updateTime&&e.setUpdateTime(Vk(a.updateTime)),a.version&&e.setVersion(a.version),a=e;return c.call(b,{url:d,body:a,responseConstructor:DF}).pipe(D(gn))};
uX.prototype.delete=function(a){return this.executor.delete({url:v_b(a),responseConstructor:null})};var kpc=function(a,b){return a.executor.get({url:"action/issues/"+b+"/statusUpdateHistory",responseConstructor:tX,options:{params:{issueCommentView:String(zZb.MARKDOWN)}}}).pipe(D(function(c){return zi(c,DF,1).map(gn)}))};uX.\u0275fac=function(a){return new (a||uX)(p(SD))};uX.\u0275prov=Dc({token:uX,factory:uX.\u0275fac,providedIn:"root"});var vX=function(a){this.internalArray_=m(a,0,vX.messageId)};Y(vX,n);g=vX.prototype;g.getComponentId=function(){return Oi(this,1)};g.setComponentId=function(a){return mj(this,1,a)};g.hasComponentId=function(){return null!=Ni(this,1)};g.getText=function(){return xi(this,2)};g.setText=function(a){return gj(this,2,a)};vX.messageId="b.CheckBannedWordsRequest";var wX=function(a){this.internalArray_=m(a,0,wX.messageId)};Y(wX,n);wX.repeatedFields_=[1];wX.messageId="b.CheckBannedWordsResponse";var xX=function(a){this.executor=a};xX.prototype.checkBannedWords=function(a){a=(new vX).setComponentId(a.componentId).setText(a.text);return this.executor.post({url:"action/check_banned_words",body:a,responseConstructor:wX}).pipe(D(jYa))};xX.\u0275fac=function(a){return new (a||xX)(p(SD))};xX.\u0275prov=Dc({token:xX,factory:xX.\u0275fac,providedIn:"root"});var yX=function(a){this.observableApi=a};yX.prototype.checkBannedWords=function(a){return(0,E.firstValueFrom)(this.observableApi.checkBannedWords(a))};
yX.\u0275fac=function(a){return new (a||yX)(p(xX))};yX.\u0275prov=Dc({token:yX,factory:yX.\u0275fac,providedIn:"root"});var zX=function(a,b,c,d){Z.call(this);this.bannedWordsApi=a;this.activeSession=b;this.errorHandler=c;this.analytics=d;this.matchedPatterns=[];this.warningState="INITIAL";this.enableBannedWordsCheck=yD(this.activeSession,"enableBannedWordsCheck");this.isUserInternal=this.activeSession.isInternalSession()};Y(zX,Z);zX.\u0275dir=Z.\u0275dir;
zX.prototype.check=function(a,b,c){var d=this;return qe(function(e){if(!(d.enableBannedWordsCheck&&d.isUserInternal&&b&&c))return e.return(!0);switch(d.warningState){case "INITIAL":return e.return(lpc(d,String(c),a));case "SHOW_WARNING":return d.warningState="SKIP_WARNING",d.analytics.trackEvent(Kp.BANNED_WORDS,"skipBannedWordsCheck",Vp(d)),e.return(!0);default:return e.return(!0)}})};
var lpc=function(a,b,c){var d,e;return qe(function(f){if(1==f.nextAddress)return re(f,2),f.yield(a.bannedWordsApi.checkBannedWords({componentId:b,text:c}),4);if(2!=f.nextAddress)return d=f.yieldResult,0<d.matchedPatterns.length?(a.matchedPatterns=d.matchedPatterns,a.warningState="SHOW_WARNING",a.analytics.trackEvent(Kp.BANNED_WORDS,"failBannedWordsCheck",Vp(a)),f.return(!1)):f.return(!0);e=ve(f);HG(a.errorHandler,e);return f.return(!0)})},Vp=function(a){return a.matchedPatterns.join(", ")};
zX.prototype.showWarning=function(){return"SHOW_WARNING"===this.warningState};zX.prototype.reset=function(){this.matchedPatterns=[];this.warningState="INITIAL"};zX.\u0275fac=function(a){return new (a||zX)(p(yX),p(nt),p(FG),p(aI))};zX.\u0275prov=Dc({token:zX,factory:zX.\u0275fac});var AX=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)};AX.prototype.ngOnDestroy=function(){this.checks=[];window.removeEventListener("beforeunload",this.beforeUnloadEventHandler)};
var BX=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})})};AX.prototype.canDeactivate=function(a,b,c,d){a:{a=HC(c.url).getPath()===HC(d.url).getPath();b=l(this.checks);for(c=b.next();!c.done;c=b.next())if(c=c.value,a){if(c.triggerOnSearch&&c.dataChanged()){a=!0;break a}}else if(c.dataChanged()){a=!0;break a}a=!1}return a?mpc()?(this.checks=[],!0):!1:!0};var mpc=function(){return window.confirm("You have unsaved changes; are you sure you want to navigate away without saving?")};
AX.\u0275fac=function(a){return new (a||AX)};AX.\u0275prov=Dc({token:AX,factory:AX.\u0275fac,providedIn:"root"});var npc=function(a){return[a]},CX=function(a){this.matDialog=a};CX.prototype.show=function(a,b,c){"LITERAL"===a.formattingMode&&(a.formattingMode="PLAIN");this.dialog=this.matDialog.open(DX,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{componentId:c,formattingAudience:b,statusUpdate:a}});return(0,E.firstValueFrom)(this.dialog.afterClosed())};CX.\u0275fac=function(a){return new (a||CX)(p(vA))};CX.\u0275prov=Dc({token:CX,factory:CX.\u0275fac,providedIn:"root"});
var DX=function(a,b,c,d,e,f){Z.call(this);var h=this;this.activeSession=a;this.data=b;this.dialogService=c;this.dialogRef=d;this.bannedWordsChecker=f;this.CHAR_LIMIT=1E3;this.FormattingMode=ZC;this.contentRemovalRequestLink=this.activeSession.isInternalSession()?"https://goto.corp.google.com/delete-comments-attachments":"https://issuetracker.google.com/issues/new?component=169992&template=543202";this.formattingAudience=b.formattingAudience;this.origStatusUpdate=b.statusUpdate;this.newStatusUpdate=
ai(this.origStatusUpdate);this.subscriptions.add(BX(e,function(){return h.isModified()},!1))};Y(DX,Z);DX.\u0275dir=Z.\u0275dir;var opc=function(a){var b,c;return null!=(c=iEa(null==(b=a.newStatusUpdate)?void 0:b.updateText))?c:""};g=DX.prototype;g.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()})};
g.closeIfUnmodified=function(){if(!this.isModified()){var a;null==(a=this.dialogService.dialog)||a.close()}};g.isModified=function(){return!$h(this.newStatusUpdate,this.origStatusUpdate)};g.asNumber=function(a){return Number(a)};
g.closeDialogForSave=function(){var a=this,b,c,d;return qe(function(e){if(1==e.nextAddress)return a.isModified()?e.yield(a.bannedWordsChecker.check(a.newStatusUpdate.updateText,"EXTERNAL_AUDIENCE"===a.formattingAudience,a.data.componentId),2):e.return();b=e.yieldResult;if(!b)return null==(c=a.commentDraft)||vmc(c),e.return();null==(d=a.dialogService.dialog)||d.close(a.newStatusUpdate);we(e)})};DX.\u0275fac=function(a){return new (a||DX)(B(nt),B(uA),B(CX),B(sA),B(AX),B(zX))};
DX.\u0275cmp=r({type:DX,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&og(nU,5);if(a&2){var c;ng(c=qg())&&(b.commentDraft=c.first)}},features:[bg([zX]),yf],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 break-word",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","break-word"],["target","_blank","aria-label","Learn more about banned words","href","http://go/b-trackers#banned-words-for-tracker",1,"color-bad-text","keep-underline"],["tabindex","0",1,"clamper","line-clamp-4"],[3,"comment","issueId",
"formattingMode","audience"]],template:function(a,b){a&1&&(H(0,"h1",0),T(1,"Editing Status Update"),K(),H(2,"section",1)(3,"p",2),T(4," Editing the Status Update will not permanently remove old ones from database history. "),L(5,"br"),T(6," For deletion of PII or other sensitive content, please "),H(7,"a",3),T(8," file a support request. "),K()(),H(9,"b-comment-draft",4),Q("contentChange",function(d){return b.newStatusUpdate.updateText=d})("contentChange",function(){b.bannedWordsChecker.reset()})("onSubmit",
function(){return b.closeDialogForSave()}),K(),F(10,kYa,2,1,"p",5)(11,lYa,4,1,"p",6),H(12,"b-markdown-toggle",7),Q("change",function(d){return b.newStatusUpdate.formattingMode=d}),K(),F(13,mYa,2,4,"div",8),K(),H(14,"footer",9)(15,"button",10),T(16," Cancel "),K(),H(17,"button",11),Q("click",function(){return b.closeDialogForSave()}),T(18),K()());if(a&2){var c;A(7);G("href",b.contentRemovalRequestLink,Wd);A(2);Kf(opc(b));G("content",b.newStatusUpdate.updateText)("textareaClass",fg(15,npc,b.bannedWordsChecker.showWarning()?
"banned-words-warning":""));A(1);G("ngIf",1E3<b.newStatusUpdate.updateText.length);A(1);G("ngIf",b.bannedWordsChecker.showWarning());A(1);Jf("margin-bottom",b.newStatusUpdate.formattingMode!==b.FormattingMode.MARKDOWN);G("initialValue",null!==(c=b.origStatusUpdate.formattingMode)&&void 0!==c?c:b.FormattingMode.PLAIN);A(1);G("ngIf",b.newStatusUpdate.formattingMode===b.FormattingMode.MARKDOWN);A(2);G("mat-dialog-close",void 0);A(2);G("disabled",0===b.newStatusUpdate.updateText.length||1E3<b.newStatusUpdate.updateText.length||
!b.isModified())("color",b.bannedWordsChecker.showWarning()?"warn":"primary");A(1);V(" ",b.bannedWordsChecker.showWarning()?"Save Anyway":"Save"," ")}},dependencies:[wA,xA,yA,zA,Uv,eA,LT,KT,nU],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 EX=function(a){this.internalArray_=m(a)};Y(EX,n);EX.prototype.getText=function(){return xi(this,1)};EX.prototype.setText=function(a){return Ol(this,1,a)};var FX=function(a){this.internalArray_=m(a)};Y(FX,n);FX.prototype.setModel=function(a){return Ol(this,1,a)};FX.prototype.getPrompt=function(){return vi(this,EX,2)};FX.prototype.setPrompt=function(a){return ej(this,EX,2,a)};FX.prototype.setTemperature=function(a){lm(this,3,kb(a))};FX.repeatedFields_=[8,9];var oYa=function(a){this.internalArray_=m(a)};Y(oYa,n);oYa.prototype.getOutput=function(){return xi(this,1)};oYa.repeatedFields_=[2];var nYa=function(a){this.internalArray_=m(a)};Y(nYa,n);nYa.repeatedFields_=[1,2,3,4];var ppc=function(a){this.internalArray_=m(a,0,ppc.messageId)};Y(ppc,n);ppc.messageId="b.GenerateTextResponse";var GX=function(a){this.executor=a};GX.prototype.generate=function(a){var b;var c=(new FX).setModel(null!=(b=a.model)?b:"models/text-bison-001").setPrompt((new EX).setText(a.prompt));return this.executor.post({url:"/action/palm/generate",body:c,responseConstructor:ppc}).then(pYa)};GX.\u0275fac=function(a){return new (a||GX)(p(TD))};GX.\u0275prov=Dc({token:GX,factory:GX.\u0275fac,providedIn:"root"});var qpc={},rpc=(qpc[0]="Please provide a brief summary of the topic of the following conversation using a single line.",qpc[1]="Please provide a brief summary of the topic, any recommendations, and any status in the following conversation using up to 3 lines.",qpc),HX=function(a,b,c){this.prompts=a;this.palmApi=b;this.issueApi=c},tpc=function(a,b,c){var d;return qe(function(e){if(1==e.nextAddress)return e.yield((0,E.firstValueFrom)(spc(a.prompts,b)),2);if(d=e.yieldResult){var f=e.return,h=E.firstValueFrom;
var k=a.issueApi;var q=new gG;q=hj(q,2,0===c?1:2).setIssueId(b);k=k.executor.post({url:"action/issues/"+b+"/summarize",body:q,responseConstructor:EF}).pipe(D(nAa));e=f.call(e,h.call(E,k))}else e=e.return({status:1,summary:""});return e})},upc=function(a,b){var c,d;return qe(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)})};HX.\u0275fac=function(a){return new (a||HX)(p(IX),p(GX),p(jG))};
HX.\u0275prov=Dc({token:HX,factory:HX.\u0275fac,providedIn:"root"});
var IX=function(a){this.eventsForIssueFridge=a},spc=function(a,b){return vpc(a,b).pipe(D(function(c){return!!(c&&3<=c.commentEvents.length)}),Pe())},wpc=function(a,b,c){var d,e;return qe(function(f){if(1==f.nextAddress)return f.yield((0,E.firstValueFrom)(vpc(a,b)),2);d=f.yieldResult;e=d.commentEvents.map(function(h){return h.userPerformingAction.split("@")[0]+": "+JSON.stringify(h.unlinkifiedComment.trim())});return f.return(rpc[c]+"\nThe input is of the form: <speaker>: <comment>, where the comment is a JSON string.\n\n"+
e.join("\n")+"\n\nSUMMARY:")})},vpc=function(a,b){return a.eventsForIssueFridge.watch(b,{trustUncertainMemory:!0}).pipe(D(function(c){if(!c)return{commentEvents:[]};c=c.events;return{commentEvents:[].concat(u(c.slice(0,1).filter(function(d){var e;return null==(e=d.unlinkifiedComment)?void 0:e.trim()})),u(c.slice(1).filter(qYa).filter(function(d){var e;return null==(e=d.unlinkifiedComment)?void 0:e.trim()})))}}))};IX.\u0275fac=function(a){return new (a||IX)(p(AH))};
IX.\u0275prov=Dc({token:IX,factory:IX.\u0275fac,providedIn:"root"});var xpc=function(a){this.internalArray_=m(a)};Y(xpc,n);xpc.prototype.getEmail=function(){return xi(this,1)};xpc.prototype.setEmail=function(a){return Ol(this,1,a)};var Xp=function(a){this.internalArray_=m(a)};Y(Xp,n);g=Xp.prototype;g.getWorkspaceId=function(){return Ui(this,1)};g.getWorkspaceId_asLegacyNumberOrString=function(){return Ui(this,1)};g.getName=function(){return xi(this,2)};g.setName=function(a){return Ol(this,2,a)};g.getTimeZone=function(){return vi(this,Km,8)};g.setTimeZone=function(a){return ej(this,Km,8,a)};g.hasTimeZone=function(){return Pi(this,Km,8)};g.getMembersList=function(){return zi(this,xpc,9)};
g.setMembersList=function(a){return Zl(this,9,a)};g.getUpdateTime=function(){return vi(this,Xi,12)};g.setUpdateTime=function(a){ej(this,Xi,12,a)};g.hasUpdateTime=function(){return Pi(this,Xi,12)};g.getBookmarkGroupId=function(){return Ui(this,14)};g.setBookmarkGroupId=function(a){return Gl(this,14,a)};g.getTeamId=function(){return xi(this,20)};g.setTeamId=function(a){return Ol(this,20,a)};var ypc=ac(Xp);Xp.repeatedFields_=[5,9,13,15,17,18];var zpc=function(a){this.internalArray_=m(a)};Y(zpc,n);zpc.prototype.getWorkspaceId=function(){return Ui(this,1)};zpc.prototype.getWorkspaceId_asLegacyNumberOrString=function(){return Ui(this,1)};var Apc=new mC("/google.corp.devtools.worktracker.v1.WorkspaceService/Get",zpc,Xp,function(a){return a.serialize()},ypc);var Bpc=function(a){this.internalArray_=m(a)};Y(Bpc,n);var Dpc=function(a,b){return vl(a,1,Cpc,b)};Bpc.repeatedFields_=[3];var Cpc=[1,2];var Epc=function(a){this.internalArray_=m(a)};Y(Epc,n);var Fpc=ac(Epc);Epc.repeatedFields_=[1];var Gpc=new mC("/google.corp.devtools.worktracker.v1.WorkspaceService/List",Bpc,Epc,function(a){return a.serialize()},Fpc);var Hpc=function(a){var b={withCredentials:!0,suppressCorsPreflight:!0};b=b||{};b.format="jspb";this.client_=new NC(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};Hpc.prototype.get=function(a,b){return OC(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkspaceService/Get",a,b||{},Apc)};Hpc.prototype.list=function(a,b){return OC(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkspaceService/List",a,b||{},Gpc)};var Ipc={},Jpc;Ipc.Authorization=null!=(Jpc=Wo([]))?Jpc:"";Ipc["X-Goog-Api-Key"]="AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c";Ipc["X-Goog-AuthUser"]="0";
var JX=function(a,b){this.activeSession=a;this.clientFactory=b;this.environmentType=this.activeSession.getEnvironmentType();a:switch(this.environmentType){case "NIGHTLY":a="https://staging-worktracker-googleapis.corp.google.com";break a;case "PROD":a="https://worktracker-googleapis.corp.google.com";break a;default:a="https://autopush-worktracker-googleapis.corp.google.com"}this.client=this.clientFactory.create(a)},Kpc=function(a,b){return a.activeSession.isExternalSession()?(0,E.of)([]):(0,E.from)(a.client.list(Dpc(new Bpc,
"b/"+b),Ipc)).pipe(D(rYa(b)),Le(function(){return(0,E.of)([])}))};JX.\u0275fac=function(a){return new (a||JX)(p(nt),p(KX))};JX.\u0275prov=Dc({token:JX,factory:JX.\u0275fac,providedIn:"root"});var KX=function(){};KX.prototype.create=function(a){return new Hpc(a)};KX.\u0275fac=function(a){return new (a||KX)};KX.\u0275prov=Dc({token:KX,factory:KX.\u0275fac,providedIn:"root"});var Lpc=[[["",8,"value-action"]]],LX=function(a){Z.call(this);var b=this;this.jspbPrincipalTypes=a;this.readonly=!1;this.collaborators=[];this.collaboratorsUsers=[];this.listFieldDisabled=!1;this.teamId="";this.isCollapsible=!1;this.valuesChange=new mv;this.toggleAccessLimits=new mv;this.additionAllowed=!0;this.ListFieldType=aic;this.userPrincipalValidator=function(c){var d,e,f;return qe(function(h){if(1==h.nextAddress){if(!c)return h.return("This field is required");d=c.split(",").map(function(k){return k.trim()}).filter(Boolean);
return h.yield(z_b(b.jspbPrincipalTypes,d,!1),2)}e=h.yieldResult;f=d.find(function(k){var q;return"USER"!==(null==(q=e[k])?void 0:q.principalType)});return h.return(f?"You can only add users to collaborators.":"")})}};Y(LX,Z);LX.\u0275dir=Z.\u0275dir;LX.\u0275fac=function(a){return new (a||LX)(B(WD))};
LX.\u0275cmp=r({type:LX,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:[bg([XD]),yf],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&&(Vf(Lpc),H(0,"b-list-field",0),Q("valuesChange",function(c){return b.valuesChange.emit(c)})("toggleAccessLimits",function(){return b.toggleAccessLimits.emit()}),H(1,"div",1),Wf(2),K()());a&2&&(Zf("collapsiblePanelTitle",
"",b.collaborators.length," ",1===b.collaborators.length?"user":"users",""),G("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:[kS],
encapsulation:2});var MX=function(){};MX.\u0275fac=function(a){return new (a||MX)};MX.\u0275mod=Tc({type:MX});MX.\u0275inj=Ec({imports:[lS,zD,QC]});var NX=function(){var a=this;this.pressed=new mv;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"}};NX.\u0275fac=function(a){return new (a||NX)};
NX.\u0275cmp=r({type:NX,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),Q("click",function(){return b.pressed.emit()}),T(1,"Insights "),yd(),H(2,"svg",1)(3,"g",2),L(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),K()()());a&2&&(G("title",b.getTooltip())("disabled",b.disabled),Af("aria-label",b.getTooltip()))},dependencies:[eA],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 OX=function(a,b){Z.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(He(function(d){return String(d.idOrKey)===c.componentIdInternal}));this.rawComponent$=this.componentId$.pipe(He(jl),af(this.componentFridge.watch),He(jl));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 Lo(d)}));this.init=new E.ReplaySubject(1);this.routes$=this.componentId$.pipe(D(function(d){return{createIssue:owa(d),componentSettings:pwa(d),recentIssues:Rk(d)}}))};Y(OX,Z);OX.\u0275dir=Z.\u0275dir;OX.prototype.ngOnInit=function(){var a=this;this.component$.pipe(Qe(),bf(this.destroyed$)).subscribe(function(){a.init.next()})};
Gh.Object.defineProperties(OX.prototype,{componentId:{configurable:!0,enumerable:!0,set:function(a){this.componentIdInternal=a=String(a);this.componentId$.next(a)}}});OX.\u0275fac=function(a){return new (a||OX)(B(mH),B(SG))};
OX.\u0275cmp=r({type:OX,selectors:[["b-component-path-card"]],inputs:{componentId:"componentId",hidePath:"hidePath"},outputs:{init:"init"},features:[yf],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),F(2,vYa,5,6,"div",2)(3,wYa,9,3,"ng-container",3),W(4,"async"),F(5,xYa,7,3,"div",4),W(6,"async"),K()());a&2&&(A(2),G("ngIf",!b.hidePath),A(1),G("ngIf",X(4,3,b.component$)),A(2),G("ngIf",X(6,5,b.routes$)))},dependencies:[Tv,Uv,MA,fA,ZP,$v],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 Mpc=function(a){this.internalArray_=m(a,0,Mpc.messageId)};Y(Mpc,n);Mpc.messageId="b.CompareComponentAccessResponse";var PX=function(a){this.executor=a};PX.prototype.check=function(a,b,c){return this.executor.get({url:"action/compare_component_access/"+a+"/"+b,options:{params:{issueId:c}},responseConstructor:Mpc}).then(Lya)};PX.\u0275fac=function(a){return new (a||PX)(p(TD))};PX.\u0275prov=Dc({token:PX,factory:PX.\u0275fac,providedIn:"root"});var QX=function(a,b,c,d,e,f){this.issueInteractionsTracking=a;this.issueFridge=b;this.butterBar=c;this.compareComponentAccess=d;this.matDialogService=e;this.editIssueService=f},pZa=function(a,b,c){var d,e,f,h,k;qe(function(q){switch(q.nextAddress){case 1:return b=String(b),dP(a.issueInteractionsTracking,b,{label:"changeComponent"}),c?q.yield((0,E.firstValueFrom)(a.issueFridge.watch(b)),2):q.return();case 2:d=q.yieldResult;if(!d)return a.butterBar.showWarning("Could not load issue "+b),q.return();
e=d.snapshot[0].componentId;f=c.componentId;return e===f?q.return():q.yield(a.compareComponentAccess.check(String(e),String(f),b),3);case 3:h=q.yieldResult;if(!h.warning){q.jumpTo(4);break}return q.yield(Npc(a,h),5);case 5:if(k=q.yieldResult,!k)return q.return();case 4:return q.return(a.editIssueService.updateComponent(b,f,h.isExternalMove))}})},Npc=function(a,b){return new Promise(function(c){a.matDialogService.open(dQ,{width:"580px",data:{response:b,callbacks:{allow:function(){c(!0)},cancel:function(){c(!1)}}}}).afterClosed().subscribe(function(){c(!1)})})};
QX.\u0275fac=function(a){return new (a||QX)(p(cP),p(iI),p(EG),p(PX),p(vA),p(lP))};QX.\u0275prov=Dc({token:QX,factory:QX.\u0275fac,providedIn:"root"});var RX=function(a){this.documentationLinks=a};RX.\u0275fac=function(a){return new (a||RX)(B(lL))};
RX.\u0275cmp=r({type:RX,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),T(1,"Apply component retention settings?"),K(),H(2,"div",
1)(3,"p"),T(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. "),K(),H(5,"a",2),T(6,"Learn more"),K()(),H(7,"div",3)(8,"button",4),T(9," Cancel "),K(),H(10,"button",5),T(11," OK "),K()());a&2&&(A(5),G("href",dt(),Wd),A(3),G("mat-dialog-close",!1),A(2),G("mat-dialog-close",!0))},dependencies:[wA,xA,yA,zA,eA],encapsulation:2});var SX=function(a,b){this.documentationLinks=b;this.deletionReasons=a.deletionReasons;this.attachmentId=a.attachmentId};SX.\u0275fac=function(a){return new (a||SX)(B(uA),B(lL))};
SX.\u0275cmp=r({type:SX,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),T(1),K(),H(2,"div",1)(3,"span"),T(4," Please select the reason for deleting this attachment. "),H(5,"a",2),T(6," \u00a0Learn more "),K()(),H(7,"mat-radio-group",3),Q("ngModelChange",function(c){return b.selectedReason=c}),F(8,zYa,3,4,"mat-radio-button",4),K()(),H(9,"div",5)(10,"button",6),T(11," Cancel "),K(),H(12,"button",7),T(13," Delete "),K()());a&2&&(A(1),V("Delete attachment ",b.attachmentId,""),A(4),G("href",
V6b(b.documentationLinks),Wd),A(2),G("ngModel",b.selectedReason),A(1),G("ngForOf",b.deletionReasons),A(4),G("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[Tv,Uv,wA,xA,yA,zA,eA,ww,Dw,cV,dV],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var TX=function(a,b){this.documentationLinks=b;this.commentNumber=a.commentNumber;this.issueId=a.issueId;this.deletionReasons=a.deletionReasons};TX.\u0275fac=function(a){return new (a||TX)(B(uA),B(lL))};
TX.\u0275cmp=r({type:TX,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),T(1),K(),H(2,"div",1)(3,"label"),T(4,"Please select the reason for deleting this comment."),K(),H(5,"a",2),T(6," \u00a0Learn more "),K(),H(7,"mat-radio-group",3),Q("ngModelChange",function(c){return b.selectedReason=c}),F(8,BYa,3,4,"mat-radio-button",4),K()(),H(9,"div",5)(10,"button",6),T(11," Cancel "),K(),H(12,"button",7),T(13," Delete "),K()());a&2&&(A(1),ag("Delete Comment #",b.commentNumber," of Issue ",b.issueId,
""),A(4),G("href",V6b(b.documentationLinks),Wd),A(2),G("ngModel",b.selectedReason),A(1),G("ngForOf",b.deletionReasons),A(4),G("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[Tv,Uv,wA,xA,yA,zA,eA,ww,Dw,cV,dV],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var UX=function(a,b){this.documentationLinks=a;this.activeSession=b;this.REMOVAL_URL=CYa(this.activeSession.isInternalSession())};UX.\u0275fac=function(a){return new (a||UX)(B(lL),B(nt))};
UX.\u0275cmp=r({type:UX,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),T(1,"Report spam?"),K(),H(2,"div",1)(3,
"p"),T(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),T(6,"see here"),K(),T(7,". "),K(),L(8,"p"),H(9,"p"),T(10," To delete PII or other sensitive content, "),H(11,"a",2),T(12,"file a support request"),K(),T(13,". "),K()(),H(14,"div",3)(15,"button",4),T(16," Cancel "),K(),H(17,"button",5),T(18," Report spam "),K()());a&2&&(A(5),G("href",T6b(b.documentationLinks),Wd),A(6),G("href",b.REMOVAL_URL,
Wd),A(4),G("mat-dialog-close",!1),A(2),G("mat-dialog-close",!0))},dependencies:[wA,xA,yA,zA,eA],encapsulation:2});var VX=function(a){this.documentationLinks=a;this.indefiniteRetentionAcknowledged=!1};VX.\u0275fac=function(a){return new (a||VX)(B(lL))};
VX.\u0275cmp=r({type:VX,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),T(1,"Retain issue indefinitely?"),
K(),H(2,"div",1)(3,"p"),T(4," Are you sure you want to override any component retention settings, and retain this issue indefinitely? "),K(),H(5,"p")(6,"b"),T(7,"Please note indefinite retention is not appropriate in many circumstances."),K(),L(8,"br"),T(9," Before selecting this option, you should make sure at least one of the following is true: "),K(),H(10,"ul")(11,"li"),T(12," There is no personal data, user data, or any other forms of sensitive data being stored in this issue. "),K(),H(13,"li"),
T(14," You have a process in place to manually delete this issue within an approved period of time. "),K(),H(15,"li"),T(16," Legal and Privacy have approved this non-standard retention period. "),K()(),L(17,"p"),H(18,"p")(19,"a",2),T(20,"Learn more"),K()(),H(21,"mat-checkbox",3),Q("change",function(c){return b.indefiniteRetentionAcknowledged=c.checked}),T(22," I acknowledge "),K()(),H(23,"div",4)(24,"button",5),T(25," Cancel "),K(),H(26,"button",6),T(27," OK "),K()());a&2&&(A(19),G("href",dt(),Wd),
A(2),G("checked",b.indefiniteRetentionAcknowledged),A(3),G("mat-dialog-close",!1),A(2),G("mat-dialog-close",!0)("disabled",!b.indefiniteRetentionAcknowledged))},dependencies:[wA,xA,yA,zA,eA,eL],styles:[".mat-dialog-content[_ngcontent-%COMP%] { max-height: unset; overflow: unset; }","ul[_ngcontent-%COMP%] { list-style: disc }"]});var WX=function(){};WX.\u0275fac=function(a){return new (a||WX)};WX.\u0275mod=Tc({type:WX});WX.\u0275inj=Ec({imports:[zD,AA,kC,KA,Tw,GA,iW,SK,jU,hL]});var XX=function(a){this.internalArray_=m(a)};Y(XX,n);XX.prototype.getContentJudgement=function(){return vi(this,Nl,1)};XX.prototype.setContentJudgement=function(a){return ej(this,Nl,1,a)};var YX=function(a){this.internalArray_=m(a,0,YX.messageId)};Y(YX,n);YX.prototype.getIt=function(){return vi(this,XX,4)};YX.prototype.setIt=function(a){return ej(this,XX,4,a)};YX.prototype.hasIt=function(){return Pi(this,XX,4)};YX.messageId="b.CreateContentJudgementRequest";var ZX=function(a){this.internalArray_=m(a,0,ZX.messageId)};Y(ZX,n);ZX.repeatedFields_=[1];ZX.messageId="b.ListContentJudgementsResponse";var $X=function(a){this.internalArray_=m(a,0,$X.messageId)};Y($X,n);$X.prototype.getContentJudgement=function(){return vi(this,jm,1)};$X.prototype.setContentJudgement=function(a){return ej(this,jm,1,a)};$X.messageId="b.UpdateContentJudgementRequest";var aY=function(a){this.executor=a};aY.prototype.create=function(a,b,c){var d=new YX,e=d.setIt,f=new XX,h=f.setContentJudgement;a=Cl(Wxa({resourcePath:a,severity:b,judgementReason:c,contentJudgementId:void 0,contentJudge:""}),5,2);a=Cl(a,6,2);d=e.call(d,h.call(f,a));return this.executor.post({url:"action/content_judgements",body:d,responseConstructor:jm}).pipe(D(Vya))};
aY.prototype.update=function(a){var b=a.contentJudgementId,c=new $X,d=c.setContentJudgement;a=(new jm).setIt(Wxa(a));c=d.call(c,a);d=Cl(c.getContentJudgement().getIt(),5,2);lm(d,8);return this.executor.post({url:"action/content_judgements/"+b,body:c,responseConstructor:jm}).pipe(D(Vya))};aY.prototype.list=function(a){return this.executor.get({url:"action/content_judgements",options:{params:{resource_path:a}},responseConstructor:ZX}).pipe(D(function(b){var c;return(null!=(c=zi(b,jm,1))?c:[]).map(Vya)}))};
aY.\u0275fac=function(a){return new (a||aY)(p(SD))};aY.\u0275prov=Dc({token:aY,factory:aY.\u0275fac,providedIn:"root"});var cY=function(a,b,c,d,e){var f=this;this.dialogRef=a;this.documentationLinks=b;this.contentJudgements=c;this.activeSession=d;this.data=e;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.RestrictionSeverity=GZb;this.loaded=!1;this.minimumSeverity="RESTRICTION_SEVERITY_UNSPECIFIED";this.severity="NONE_DETECTED";this.severity=e.severity;e.resourcePath?c.list(e.resourcePath).subscribe(function(h){var k="RESTRICTION_SEVERITY_UNSPECIFIED";h=l(h);for(var q=h.next();!q.done;q=h.next())q=q.value,
q.contentJudge===f.activeSession.getUserEmail()?Opc(f,q):bY(q.severity,k)&&(k=q.severity);f.minimumSeverity=k;bY(f.minimumSeverity,f.severity)&&(f.severity=f.minimumSeverity);f.loaded=!0}):(Opc(this,e.contentJudgement),this.loaded=!0)};cY.prototype.canInteract=function(){return this.loaded&&(this.data.hasAclToCreate||!!this.judgement)};
var bY=function(a,b){return DYa(a)>DYa(b)},Opc=function(a,b){if(a.judgement=b)a.severity=b.severity},Ppc=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.";
bY(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};cY.prototype.getContentJudgement=function(){var a;this.judgement?a=Object.assign({},this.judgement):a={contentJudge:"",contentJudgementId:void 0,resourcePath:void 0,severity:"RESTRICTION_SEVERITY_UNSPECIFIED",judgementReason:""};a.severity=this.severity;a.judgementReason="None specified";return a};
cY.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()})};cY.prototype.onNoClick=function(){this.dialogRef.close(null)};cY.\u0275fac=function(a){return new (a||cY)(B(sA),B(lL),B(aY),B(nt),B(uA))};
cY.\u0275cmp=r({type:cY,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"),L(2,"mat-icon",1),H(3,"div"),T(4," Set restriction "),K()()(),H(5,"section",2)(6,"label",3),T(7),H(8,"a",4),T(9," Learn More "),K()(),
H(10,"mat-radio-group",5),Q("ngModelChange",function(c){return b.severity=c}),H(11,"mat-radio-button",6),T(12," No restriction "),H(13,"div"),T(14,' Users with "View issues" can access. '),K()(),H(15,"mat-radio-button",7),T(16," Restricted "),H(17,"div"),T(18,' Users with "View restricted content" can access. '),K()(),H(19,"mat-radio-button",8),T(20," Restricted+ "),H(21,"div"),T(22,' Users with "View restricted+ content" can access. '),K()()()(),H(23,"mat-dialog-actions")(24,"button",9),Q("click",
function(){return b.onNoClick()}),T(25," Cancel "),K(),H(26,"button",10),Q("click",function(){return b.onSaveClick()}),T(27," Set "),K()());a&2&&(A(7),V(" ",Ppc(b)," "),A(1),G("rel",b.EXTERNAL_LINK_REL),Af("href",b.documentationLinks.getRestrictedAccessHelpLink(),Wd),A(2),G("ngModel",b.severity),A(1),G("value",b.RestrictionSeverity.NONE_DETECTED)("disabled",!b.canInteract()||bY(b.minimumSeverity,b.RestrictionSeverity.NONE_DETECTED)),A(4),G("value",b.RestrictionSeverity.RESTRICTED)("disabled",!b.canInteract()||
bY(b.minimumSeverity,b.RestrictionSeverity.RESTRICTED)),A(4),G("value",b.RestrictionSeverity.RESTRICTED_PLUS)("disabled",!b.canInteract()||bY(b.minimumSeverity,b.RestrictionSeverity.RESTRICTED_PLUS)),A(7),G("disabled",!b.canInteract()))},dependencies:[MA,eA,xA,yA,zA,cV,dV,ww,Dw],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 dY=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};dY.prototype.canInteract=function(){return!eY(this)||this.acknowledgeToMatchIssueRetention};var eY=function(a){return"INDEFINITE"===a.piiRetention};dY.prototype.onSaveClick=function(){this.dialogRef.close(1)};dY.prototype.onNoClick=function(){this.dialogRef.close(0)};
dY.\u0275fac=function(a){return new (a||dY)(B(sA),B(lL),B(uA))};
dY.\u0275cmp=r({type:dY,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),L(1,"mat-icon",1),H(2,"div"),F(3,EYa,2,1,"span",2)(4,FYa,2,0,"span",2),K()(),H(5,"div",3),F(6,GYa,8,1,"span",2)(7,HYa,3,2,"span",2),H(8,"span")(9,"a",4),T(10," Learn More "),K()()(),H(11,"div")(12,"span"),F(13,IYa,2,1,"mat-checkbox",5),K()(),H(14,"div",6)(15,"button",7),Q("click",function(){return b.onNoClick()}),T(16," Cancel "),K(),H(17,"button",8),Q("click",function(){return b.onSaveClick()}),
T(18," Save "),K()());a&2&&(A(3),G("ngIf",eY(b)),A(1),G("ngIf",!eY(b)),A(2),G("ngIf",eY(b)),A(1),G("ngIf",!eY(b)),A(2),G("rel",b.EXTERNAL_LINK_REL),Af("href",dt(),Wd),A(4),G("ngIf",eY(b)),A(4),G("disabled",!b.canInteract()))},dependencies:[Uv,MA,eA,xA,yA,zA,eL,ww,Dw],styles:["h1[_ngcontent-%COMP%]{text-align:center}.mat-dialog-content[_ngcontent-%COMP%]{overflow:inherit}/*# sourceMappingURL=update_retention_dialog.css.map */"]});var fY=function(a,b,c,d,e,f,h){this.errorHandler=a;this.eventsForIssueFridge=b;this.issueFetchResponseFridge=c;this.issueCommentsService=d;this.issueInteractionsTracking=e;this.butterBar=f;this.editIssueService=h},Qpc=function(a,b){var c=b.issueId,d=b.newCommentId,e=b.newComment,f=b.newCommentFormattingMode,h=b.recaptchaToken,k,q;qe(function(t){switch(t.nextAddress){case 1:k=a.editIssueService.savingState(c);if(!e.trim())return a.butterBar.showWarning("New comment cannot be empty."),t.return();jP(k,
"commentEdit");Fs(a.butterBar,"Saving comment edit...",0);dP(a.issueInteractionsTracking,c,{label:1===d?"description":"comment"});re(t,2,3);return t.yield(a.issueCommentsService.update(c,d,e,f,h),5);case 5:Fs(a.butterBar,"Comment edit successful.",4E3),oI(a.issueFetchResponseFridge,c),PG(a.eventsForIssueFridge,c,function(w){w.events=JBa(w.events,d,{formattedComment:void 0,unlinkifiedComment:e,formattingMode:f})}),a.eventsForIssueFridge.poke(c);case 3:te(t);kP(k,"commentEdit");ue(t,0);break;case 2:q=
ve(t),HG(a.errorHandler,q),t.jumpTo(3)}})};fY.\u0275fac=function(a){return new (a||fY)(p(FG),p(AH),p(mI),p(nJ),p(cP),p(EG),p(lP))};fY.\u0275prov=Dc({token:fY,factory:fY.\u0275fac,providedIn:"root"});var Rpc=function(a,b,c){this.objectId=a;this.version=b;this.payload=c},Spc=function(){},Tpc=function(a){this.timestampMicros=a};JYa.prototype.reset=function(){this.currentMaxDelayMs_=this.initialMaxDelayMs_;this.inRetryMode_=!1};var Upc=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 fq=function(a){this.internalArray_=m(a)};Y(fq,n);var OYa=[1,2,3,15];var hq=function(a){this.internalArray_=m(a)};Y(hq,n);var jq=[1,2,3,4,5,6,7,8,9,10,11,12];var gq=function(a){this.internalArray_=m(a)};Y(gq,n);gq.repeatedFields_=[1];var eq=function(a){this.internalArray_=m(a)};Y(eq,n);eq.prototype.getName=function(){return qq(this,1,Vpc)};eq.prototype.setName=function(a){return vl(this,1,Vpc,a)};eq.prototype.hasName=function(){return null!=qq(this,1,Vpc)};eq.prototype.getNameOrUndefined=function(){return $t(this,kl(this,Vpc,1))};var Vpc=[1,2];var Wpc=function(a){this.internalArray_=m(a)};Y(Wpc,n);g=Wpc.prototype;g.setProject=function(a){ej(this,eq,1,a)};g.getOwner=function(){return vi(this,fq,2)};g.setOwner=function(a){return ej(this,fq,2,a)};g.getPath=function(){return vi(this,gq,3)};g.setPath=function(a){return ej(this,gq,3,a)};g.hasPath=function(){return Pi(this,gq,3)};var Xpc=function(a){this.internalArray_=m(a)};Y(Xpc,n);g=Xpc.prototype;g.setProject=function(a){ej(this,eq,1,a)};g.getOwner=function(){return vi(this,fq,2)};g.setOwner=function(a){return ej(this,fq,2,a)};g.getPrefix=function(){return vi(this,gq,3)};g.setPrefix=function(a){ej(this,gq,3,a)};var gY=function(a){this.internalArray_=m(a)};Y(gY,n);gY.prototype.getVersion=function(){return Tt(this,1)};gY.prototype.getVersion_legacyNullable=function(){return Tt(this,1)};gY.prototype.setVersion=function(a){return dj(this,1,a)};gY.prototype.getVersionOrUndefined=function(){return Yt(this,1)};var Ypc=function(a){this.internalArray_=m(a)};Y(Ypc,n);g=Ypc.prototype;g.getHeader=function(){return vi(this,gY,4)};g.setHeader=function(a){return ej(this,gY,4,a)};g.hasHeader=function(){return Pi(this,gY,4)};g.getPrefix=function(){return ql(this,Xpc,6,Zpc)};g.setPrefix=function(a){wl(this,6,Zpc,a)};var Zpc=[2,3,6];var $pc=function(a){this.internalArray_=m(a)};Y($pc,n);var aqc=function(a){this.internalArray_=m(a)};Y(aqc,n);aqc.prototype.setAffinitization=function(a){hj(this,2,a)};aqc.prototype.getAffinitizationOrUndefined=function(){return ss(this,2)};var bqc=function(a){this.internalArray_=m(a)};Y(bqc,n);var cqc=function(a){this.internalArray_=m(a)};Y(cqc,n);g=cqc.prototype;g.getStreamId_legacyNullable=function(){return Ni(this,1)};g.setStreamId=function(a){mj(this,1,a)};g.getClose=function(){return ql(this,bqc,3,dqc)};g.setClose=function(a){wl(this,3,dqc,a)};g.hasClose=function(){return cm(this,bqc,3,dqc)};g.setAffinitization=function(a){hj(this,4,a)};g.getAffinitizationOrUndefined=function(){return ss(this,4)};var dqc=[2,3];var hY=function(a){this.internalArray_=m(a)};Y(hY,n);hY.prototype.setRequestsList=function(a){return Zl(this,1,a)};hY.prototype.addAndReturnRequests=function(){return Rb(this,1,cqc)};hY.repeatedFields_=[1];var iY=function(a){this.internalArray_=m(a)};Y(iY,n);iY.prototype.getCode=function(){return ds(this,1)};iY.prototype.getCode_legacyNullable=function(){return ds(this,1)};iY.prototype.setCode=function(a){return hj(this,1,a)};var eqc=function(a){this.internalArray_=m(a)};Y(eqc,n);var jY=function(a){this.internalArray_=m(a)};Y(jY,n);jY.prototype.getVersion=function(){return Ni(this,3)};jY.prototype.getVersion_legacyNullable=function(){return Ni(this,3)};jY.prototype.setVersion=function(a){return mj(this,3,a)};jY.prototype.getVersionOrUndefined=function(){var a=Ni(this,3);return null==a?void 0:a};var fqc=function(a){this.internalArray_=m(a)};Y(fqc,n);fqc.repeatedFields_=[1];var gqc=function(a){this.internalArray_=m(a)};Y(gqc,n);var kY=function(a){this.internalArray_=m(a)};Y(kY,n);kY.prototype.getStart=function(){return ql(this,gqc,1,lY)};kY.prototype.setStart=function(a){return wl(this,1,lY,a)};kY.prototype.getChanges=function(){return ql(this,fqc,2,lY)};kY.prototype.hasChanges=function(){return cm(this,fqc,2,lY)};var lY=[1,2,3,5];var mY=function(a){this.internalArray_=m(a)};Y(mY,n);mY.prototype.getStatus=function(){return vi(this,VC,1)};mY.prototype.setStatus=function(a){return ej(this,VC,1,a)};mY.prototype.hasStatus=function(){return Pi(this,VC,1)};var hqc=function(a){this.internalArray_=m(a)};Y(hqc,n);g=hqc.prototype;g.getStreamId_legacyNullable=function(){return Ni(this,1)};g.setStreamId=function(a){mj(this,1,a)};g.getClose=function(){return ql(this,mY,3,iqc)};g.setClose=function(a){wl(this,3,iqc,a)};g.hasClose=function(){return cm(this,mY,3,iqc)};var iqc=[2,3];var nY=function(a){this.internalArray_=m(a)};Y(nY,n);nY.prototype.getResponsesList=function(){return zi(this,hqc,1)};nY.prototype.getStatus=function(){return vi(this,iY,2)};nY.prototype.setStatus=function(a){return ej(this,iY,2,a)};nY.prototype.hasStatus=function(){return Pi(this,iY,2)};nY.repeatedFields_=[1];var jqc=function(){XA.call(this,"y")};At(jqc,XA);var kqc=function(){XA.call(this,"x")};At(kqc,XA);var lqc=function(a,b){this.path=a;this.authMethod=b},oY=function(a,b,c,d,e){this.channelMessageHandler=a;this.channelStatusHandler=b;this.config=c;this.channelCreator=d;this.state=0;this.channelHandler=new Kq;this.channel=this.createWebChannel(e)};
oY.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,"v",function(){b.channelStatusHandler.onOpen()});this.channelHandler.listen(a,
"w",function(){b.channelStatusHandler.onClose((new pY(b.channel.channel_)).getLastStatusCode());b.state=2;b.channel.removeAllListeners();b.channelHandler.removeAll()});this.channelHandler.listen(a,"y",function(c){(c=c.data)&&1===c.length&&b.channelMessageHandler(new nY(c[0]))});this.channelHandler.listen(a,"x",function(c){b.channelStatusHandler.onError(c,(new pY(b.channel.channel_)).getLastStatusCode());0!==c.status&&(b.state=2)});return a};
oY.prototype.open=function(){0===this.state&&(this.state=1,this.channel.open())};oY.prototype.close=function(){2!==this.state&&this.channel.close()};oY.prototype.send=function(a){a=a.serialize();this.channel.send(a)};var mqc,nqc=(new gY).setVersion(7);mqc=hj(nqc,2,5);var lq=function(a){this.rep=a};lq.prototype.equals=function(a){return this.rep===a.rep};var oqc=function(){var a=8;a=void 0===a?1:a;this.max=8;this.lastAddedTimestampMs=Date.now();this.tokens=a};oqc.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 kq=function(a,b){this.seconds=a;this.nanos=b},QYa=function(a){var b=new Xi;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},VYa=function(a){try{var b=a.getSeconds(),c=a.getNanos();if(-62135596800>b)throw Error("ge`"+b);if(253402300800<=b)throw Error("he`"+b);if(0>c)throw Error("ie`"+c);if(1E9<=c)throw Error("je`"+c);if(!Number.isInteger(b))throw Error("ke`"+b);if(!Number.isInteger(c))throw Error("le`"+c);return new kq(b,c)}catch(d){return null}};
kq.prototype.equals=function(a){return this.seconds===a.seconds&&this.nanos===a.nanos};var iq=function(a,b){this.low_=a|0;this.high_=b|0},qY=function(a){return 4294967296*a.high_+(a.low_>>>0)};g=iq.prototype;g.isSafeInteger=function(){var a=this.high_>>21;return 0==a||-1==a&&!(0==this.low_&&-2097152==this.high_)};
g.toString=function(a){a=a||10;if(2>a||36<a)throw Error("me`"+a);if(this.isSafeInteger()){var b=qY(this);return 10==a?""+b:b.toString(a)}b=14-(a>>2);var c=Math.pow(a,b),d=rY(c,c/4294967296);c=sY(this,d);var e=Math,f=e.abs;d=c.multiply(d);d=this.add(tY(d));e=f.call(e,qY(d));f=10==a?""+e:e.toString(a);f.length<b&&(f="0000000000000".slice(f.length-b)+f);e=qY(c);return(10==a?e:e.toString(a))+f};g.isZero=function(){return 0==this.low_&&0==this.high_};
g.equals=function(a){return this.low_==a.low_&&this.high_==a.high_};g.compare=function(a){return this.high_==a.high_?this.low_==a.low_?0:this.low_>>>0>a.low_>>>0?1:-1:this.high_>a.high_?1:-1};var tY=function(a){var b=~a.low_+1|0;return rY(b,~a.high_+!b|0)};
iq.prototype.add=function(a){var b=this.high_>>>16,c=this.high_&65535,d=this.low_>>>16,e=a.high_>>>16,f=a.high_&65535,h=a.low_>>>16;a=(this.low_&65535)+(a.low_&65535);h=(a>>>16)+(d+h);d=h>>>16;d+=c+f;return rY((h&65535)<<16|a&65535,((d>>>16)+(b+e)&65535)<<16|d&65535)};
iq.prototype.multiply=function(a){if(this.isZero())return this;if(a.isZero())return a;var b=this.high_>>>16,c=this.high_&65535,d=this.low_>>>16,e=this.low_&65535,f=a.high_>>>16,h=a.high_&65535,k=a.low_>>>16;a=a.low_&65535;var q=e*a;var t=(q>>>16)+d*a;var w=t>>>16;t=(t&65535)+e*k;w+=t>>>16;w+=c*a;var y=w>>>16;w=(w&65535)+d*k;y+=w>>>16;w=(w&65535)+e*h;y=y+(w>>>16)+(b*a+c*k+d*h+e*f)&65535;return rY((t&65535)<<16|q&65535,y<<16|w&65535)};
var sY=function(a,b){if(b.isZero())throw Error("ne");if(0>a.high_){if(a.equals(uY)){if(b.equals(pqc)||b.equals(qqc))return uY;if(b.equals(uY))return pqc;var c=a.high_;c=rY(a.low_>>>1|c<<31,c>>1);c=sY(c,b).shiftLeft(1);if(c.equals(vY))return 0>b.high_?pqc:qqc;var d=b.multiply(c);a=a.add(tY(d));return c.add(sY(a,b))}return 0>b.high_?sY(tY(a),tY(b)):tY(sY(tY(a),b))}if(a.isZero())return vY;if(0>b.high_)return b.equals(uY)?vY:tY(sY(a,tY(b)));for(d=vY;0<=a.compare(b);){c=Math.max(1,Math.floor(qY(a)/qY(b)));
var e=Math.ceil(Math.log(c)/Math.LN2);e=48>=e?1:Math.pow(2,e-48);for(var f=wY(c),h=f.multiply(b);0>h.high_||0<h.compare(a);)c-=e,f=wY(c),h=f.multiply(b);f.isZero()&&(f=pqc);d=d.add(f);a=a.add(tY(h))}return d};iq.prototype.and=function(a){return rY(this.low_&a.low_,this.high_&a.high_)};iq.prototype.or=function(a){return rY(this.low_|a.low_,this.high_|a.high_)};iq.prototype.xor=function(a){return rY(this.low_^a.low_,this.high_^a.high_)};
iq.prototype.shiftLeft=function(a){a&=63;if(0==a)return this;var b=this.low_;return 32>a?rY(b<<a,this.high_<<a|b>>>32-a):rY(0,b<<a-32)};
var wY=function(a){return 0<a?0x7fffffffffffffff<=a?rqc:new iq(a,a/4294967296):0>a?-0x7fffffffffffffff>=a?uY:tY(new iq(-a,-a/4294967296)):vY},rY=function(a,b){return new iq(a,b)},oq=function(a,b){if("-"==a.charAt(0))return tY(oq(a.substring(1),b));var c=parseInt(a,b||10);if(9007199254740991>=c)return new iq(c%4294967296|0,c/4294967296|0);if(0==a.length)throw Error("oe");if(0<=a.indexOf("-"))throw Error("pe`"+a);b=b||10;if(2>b||36<b)throw Error("me`"+b);c=wY(Math.pow(b,8));for(var d=vY,e=0;e<a.length;e+=
8){var f=Math.min(8,a.length-e),h=parseInt(a.substring(e,e+f),b);8>f?d=d.multiply(wY(Math.pow(b,f))).add(wY(h)):(d=d.multiply(c),d=d.add(wY(h)))}return d},vY=rY(0,0),pqc=rY(1,0),qqc=rY(-1,-1),rqc=rY(4294967295,2147483647),uY=rY(0,2147483648);var Yp=function(a,b){this.value=a;this.isDecreasing=!!b};
Yp.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 iq)b=a.value instanceof iq?this.value.equals(a.value):!1;else if(this.value instanceof lq)b=a.value instanceof lq?this.value.equals(a.value):!1;else if(this.value instanceof Uint8Array)if(a.value instanceof Uint8Array)a:if(b=this.value,a=a.value,b.length!==a.length)b=!1;else{for(var c=0;c<b.length;++c)if(b[c]!==
a[c]){b=!1;break a}b=!0}else b=!1;else b=this.value instanceof kq?a.value instanceof kq?this.value.equals(a.value):!1:!1;return b};var nq=function(a,b){this.parts=a;this.isPrivate=b},SYa=function(){for(var a=[],b=l($c.apply(0,arguments)),c=b.next();!c.done;c=b.next())c=c.value,c instanceof Yp?a.push(c):a.push(new Yp(c));return new nq(a,!1)};
nq.prototype.equals=function(a){var b;if(b=this.parts.length===a.parts.length)a:if(this.isPrivate!==a.isPrivate||this.parts.length>a.parts.length)b=!1;else{for(b=0;b<this.parts.length;++b)if(!this.parts[b].equals(a.parts[b])){b=!1;break a}b=!0}return b};var sqc=function(){},bq=function(a,b){this.apiKey=a;this.authUser=b};bq.prototype.getHeaders=function(){var a={},b;(b=Wo([]))?(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};bq.prototype.getQueryParameters=function(){return{key:this.apiKey}};bq.prototype.domainType=function(){return 0};bq.prototype.usesCredentialedRequests=function(){return!0};var $p=function(a){this.oauthTokens=a};
$p.prototype.getHeaders=function(){var a={};a.Authorization="OAuth "+this.oauthTokens.getValue();return a};$p.prototype.getQueryParameters=function(){return{}};$p.prototype.domainType=function(){return 1};$p.prototype.usesCredentialedRequests=function(){return!0};var aq=function(a,b){this.apiKey=a;this.appAuthTokens=b};aq.prototype.getHeaders=function(){return{}};aq.prototype.getQueryParameters=function(){return{key:this.apiKey}};aq.prototype.domainType=function(){return 1};
aq.prototype.usesCredentialedRequests=function(){return!1};var tqc={send:function(a,b,c,d,e,f,h){to(a,b,c,d,e,f,h)}};var uqc=function(a,b,c){this.code=a;this.message=b;this.status=c},vqc=function(a){var b=void 0===b?tqc:b;this.baseUri=a;this.xhrIo=b};vqc.prototype.post=function(a,b,c,d){d=void 0===d?{}:d;return this.request("POST",a,b,c,d)};
vqc.prototype.request=function(a,b,c,d,e){var f=this,h=new hp(this.baseUri);h.setPath(b);if(e.queryParams){b=l(Object.entries(e.queryParams));for(var k=b.next();!k.done;k=b.next()){var q=l(k.value);k=q.next().value;q=q.next().value;EC(h,k,q)}}var t={"Content-type":"application/json+protobuf"};Object.assign(t,e.extraHeaders);var w=c.serialize();return new Promise(function(y,C){var J;f.xhrIo.send(h,function(){var I=-1===this.getStatus()?void 0:this.getStatus();if(this.isSuccess())try{y(uda(d,this.getResponseText()))}catch(P){C(new uqc(4,
"Failed to deserialize response from "+h+": "+this.getResponseText(),I))}else C(new uqc(this.getLastErrorCode(),this.getLastError(),I))},a,w,t,null!=(J=e.timeoutMs)?J:2E4,e.withCredentials)})};var wqc=function(a,b,c){VA.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};Y(wqc,VA);g=wqc.prototype;g.fire=function(a){this.args_=arguments;this.timer_||this.pauseCount_?this.shouldFire_=!0:this.doAction_()};g.stop=function(){this.timer_&&(dq(this.timer_),this.timer_=null,this.shouldFire_=!1,this.args_=null)};g.pause=function(){this.pauseCount_++};
g.resume=function(){this.pauseCount_--;this.pauseCount_||!this.shouldFire_||this.timer_||(this.shouldFire_=!1,this.doAction_())};g.disposeInternal=function(){VA.prototype.disposeInternal.call(this);this.stop()};g.onTimer_=function(){this.timer_=null;this.shouldFire_&&!this.pauseCount_&&(this.shouldFire_=!1,this.doAction_())};g.doAction_=function(){var a=this;this.timer_=cq(function(){return a.onTimer_()},this.interval_);var b=this.args_;this.args_=null;this.listener_.apply(null,b)};var xqc=null,yqc=function(){return xqc=xqc||new bp},zqc=function(a){XA.call(this,"serverreachability",a)};At(zqc,XA);var xY=function(a){var b=yqc();b.dispatchEvent(new zqc(b,a))},Aqc=function(a,b){XA.call(this,"statevent",a);this.stat=b};At(Aqc,XA);var yY=function(a){var b=yqc();b.dispatchEvent(new Aqc(b,a))},Bqc=function(a,b,c){XA.call(this,"timingevent",a);this.size=b;this.rtt=c};At(Bqc,XA);
var Cqc=function(a,b,c){var d=yqc();d.dispatchEvent(new Bqc(d,a,b,c))},zY=function(a,b){if("function"!==typeof a)throw Error("re");return da.setTimeout(function(){a()},b)};var AY=function(){this.redactEnabled_=!0};AY.prototype.disableRedact=function(){this.redactEnabled_=!1};
var Dqc=function(a,b,c,d,e,f){a.info(function(){if(a.redactEnabled_)if(f){var h="";for(var k=f.split("&"),q=0;q<k.length;q++){var t=k[q].split("=");if(1<t.length){var w=t[0];t=t[1];var y=w.split("_");h=2<=y.length&&"type"==y[1]?h+(w+"="+t+"&"):h+(w+"=redacted&")}}}else h=null;else h=f;return"XMLHTTP REQ ("+d+") [attempt "+e+"]: "+b+"\n"+c+"\n"+h})},Eqc=function(a,b,c,d,e,f,h){a.info(function(){return"XMLHTTP RESP ("+d+") [ attempt "+e+"]: "+b+"\n"+c+"\n"+f+" "+h})},BY=function(a,b,c,d){a.info(function(){return"XMLHTTP TEXT ("+
b+"): "+Fqc(a,c)+(d?" "+d:"")})},Gqc=function(a,b){a.info(function(){return"TIMEOUT: "+b})};AY.prototype.debug=function(){};AY.prototype.info=function(){};AY.prototype.warning=function(){};
var Fqc=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 f=e[1];if(Array.isArray(f)&&!(1>f.length)){var h=f[0];if("noop"!=h&&"stop"!=h&&"close"!=h)for(var k=1;k<f.length;k++)f[k]=""}}}return mXb(c)}catch(q){return a.debug("Exception parsing expected JS array - probably was not JS"),b}};var CY=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 Kq(this);this.timeout_=45E3;a=Mj?125:void 0;this.pollingTimer_=new vB(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 Hqc},Hqc=function(){this.textDecoder=null;this.responseBuffer="";this.responseArrivedForFetch=!1},Iqc=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"}},
Jqc={},Kqc={};CY.prototype.setExtraHeaders=function(a){this.extraHeaders_=a};CY.prototype.setTimeout=function(a){this.timeout_=a};CY.prototype.setReadyStateChangeThrottle=function(a){this.readyStateChangeThrottleMs_=a};CY.prototype.getPendingMessages=function(){return this.pendingMessages_};
var Mqc=function(a,b,c){a.type_=1;a.baseUri_=GC(b.clone());a.postData_=c;a.decodeChunks_=!0;Lqc(a,null)},Lqc=function(a,b){a.requestStartTime_=Date.now();DY(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 Hqc;a.xmlHttp_=Nqc(a.channel_,c?b:null,!a.postData_);0<a.readyStateChangeThrottleMs_&&(a.readyStateChangeThrottle_=new wqc(yt(a.xmlHttpHandler_,
a,a.xmlHttp_),a.readyStateChangeThrottleMs_));a.eventHandler_.listen(a.xmlHttp_,"readystatechange",a.readyStateChangeHandler_);b=a.extraHeaders_?fc(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));xY(1);Dqc(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,a.postData_)};
CY.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)};CY.prototype.xmlHttpHandler_=function(a){try{a==this.xmlHttp_?Oqc(this):this.channelDebug_.warning("Called back with an unexpected xmlhttp")}catch(b){this.channelDebug_.debug("Failed call to OnXmlHttpReadyStateChanged_"),Pqc(this)}finally{}};
var Oqc=function(a){var b=a.xmlHttp_.getReadyState(),c=a.xmlHttp_.getLastErrorCode(),d=a.xmlHttp_.getStatus();if(!(3>b||3==b&&!Mj&&!Pqc(a))){a.cancelled_||4!=b||7==c||(8==c||0>=d?xY(3):xY(2));Qqc(a);var e=a.xmlHttp_.getStatus();a.lastStatusCode_=e;c=Rqc(a);Pqc(a)||a.channelDebug_.debug(function(){return"No response text for uri "+a.requestUri_+" status "+e});a.successful_=200==e;Eqc(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,b,e);if(a.successful_){if(a.decodeInitialResponse_&&!a.initialResponseDecoded_)if(d=
Sqc(a))BY(a.channelDebug_,a.rid_,d,"Initial handshake response via X-HTTP-Initial-Response"),a.initialResponseDecoded_=!0,Tqc(a,d);else{a.successful_=!1;a.lastError_=3;yY(12);a.channelDebug_.warning("XMLHTTP Missing X_HTTP_INITIAL_RESPONSE ("+a.rid_+")");EY(a);FY(a);return}a.decodeChunks_?(Uqc(a,b,c),Mj&&a.successful_&&3==b&&Vqc(a)):(BY(a.channelDebug_,a.rid_,c,null),Tqc(a,c));4==b&&EY(a);a.successful_&&!a.cancelled_&&(4==b?Wqc(a.channel_,a):(a.successful_=!1,DY(a)))}else a.xmlHttp_.getResponseHeaders(),
400==e&&0<c.indexOf("Unknown SID")?(a.lastError_=3,yY(12),a.channelDebug_.warning("XMLHTTP Unknown SID ("+a.rid_+")")):(a.lastError_=0,yY(13),a.channelDebug_.warning("XMLHTTP Bad status "+e+" ("+a.rid_+")")),EY(a),FY(a)}},Sqc=function(a){return a.xmlHttp_&&(a=Ph(a.xmlHttp_,"X-HTTP-Initial-Response"))&&!Ei(a)?a:null},Rqc=function(a){if(!Xqc(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 EY(a),FY(a),"";a.fetchResponseState_.textDecoder=new da.TextDecoder}for(var f=0;f<d;f++)a.fetchResponseState_.responseArrivedForFetch=!0,c+=a.fetchResponseState_.textDecoder.decode(b[f],{stream:e&&f==d-1});b.length=0;a.fetchResponseState_.responseBuffer+=c;a.xmlHttpChunkStart_=0;return a.fetchResponseState_.responseBuffer},Pqc=function(a){return a.xmlHttp_?a.fetchResponseState_.responseArrivedForFetch?!0:!(!a.xmlHttp_.getResponseText()&&!a.xmlHttp_.getResponse()):!1},Xqc=
function(a){return a.xmlHttp_?"GET"==a.verb_&&2!=a.type_&&a.channel_.usesFetchStreams_:!1},Uqc=function(a,b,c){for(var d=!0,e;!a.cancelled_&&a.xmlHttpChunkStart_<c.length;)if(e=Yqc(a,c),e==Kqc){4==b&&(a.lastError_=4,yY(14),d=!1);BY(a.channelDebug_,a.rid_,null,"[Incomplete Response]");break}else if(e==Jqc){a.lastError_=4;yY(15);BY(a.channelDebug_,a.rid_,c,"[Invalid Chunk]");d=!1;break}else BY(a.channelDebug_,a.rid_,e,null),Tqc(a,e);Xqc(a)&&0!=a.xmlHttpChunkStart_&&(a.fetchResponseState_.responseBuffer=
a.fetchResponseState_.responseBuffer.slice(a.xmlHttpChunkStart_),a.xmlHttpChunkStart_=0);4!=b||0!=c.length||a.fetchResponseState_.responseArrivedForFetch||(a.lastError_=1,yY(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),Zqc(b),b.bpDetectionDone_=!0,yY(11))):(BY(a.channelDebug_,
a.rid_,c,"[Invalid Chunked Response]"),EY(a),FY(a))};CY.prototype.pollResponse_=function(){if(this.xmlHttp_){var a=this.xmlHttp_.getReadyState(),b=this.xmlHttp_.getResponseText();this.xmlHttpChunkStart_<b.length&&(Qqc(this),Uqc(this,a,b),this.successful_&&4!=a&&DY(this))}};
var Vqc=function(a){a.eventHandler_.listen(a.pollingTimer_,"tick",a.pollResponse_);a.pollingTimer_.start()},Yqc=function(a,b){var c=a.xmlHttpChunkStart_,d=b.indexOf("\n",c);if(-1==d)return Kqc;c=Number(b.substring(c,d));if(isNaN(c))return Jqc;d+=1;if(d+c>b.length)return Kqc;b=b.slice(d,d+c);a.xmlHttpChunkStart_=d+c;return b};CY.prototype.cancel=function(){this.cancelled_=!0;EY(this)};
var DY=function(a){a.watchDogTimeoutTime_=Date.now()+a.timeout_;$qc(a,a.timeout_)},$qc=function(a,b){if(null!=a.watchDogTimerId_)throw Error("se");a.watchDogTimerId_=zY(yt(a.onWatchDogTimeout_,a),b)},Qqc=function(a){a.watchDogTimerId_&&(da.clearTimeout(a.watchDogTimerId_),a.watchDogTimerId_=null)};
CY.prototype.onWatchDogTimeout_=function(){this.watchDogTimerId_=null;var a=Date.now();0<=a-this.watchDogTimeoutTime_?(Gqc(this.channelDebug_,this.requestUri_),2!=this.type_&&(xY(3),yY(17)),EY(this),this.lastError_=2,FY(this)):(this.channelDebug_.warning("WatchDog timer called too early"),$qc(this,this.watchDogTimeoutTime_-a))};
var FY=function(a){a.channel_.isClosed()||a.cancelled_||Wqc(a.channel_,a)},EY=function(a){Qqc(a);Nh(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()}};CY.prototype.getLastError=function(){return this.lastError_};CY.prototype.getLastStatusCode=function(){return this.lastStatusCode_};CY.prototype.getRequestId=function(){return this.rid_};CY.prototype.getXhr=function(){return this.xmlHttp_};
var Tqc=function(a,b){try{var c=a.channel_;if(0!=c.state_&&(c.backChannelRequest_==a||arc(c.forwardChannelRequestPool_,a)))if(!a.initialResponseDecoded_&&arc(c.forwardChannelRequestPool_,a)&&3==c.state_){try{var d=c.wireCodec_.parser_.parse(b)}catch(aa){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_)brc(c),crc(c);else break a;else c.channelDebug_.warning("We do not have a BackChannel established");drc(c);yY(18)}else{c.lastPostResponseArrayId_=e[1];var f=c.lastPostResponseArrayId_-c.lastArrayId_;if(0<f){var h=e[2];c.channelDebug_.debug(h+" bytes (in "+f+" arrays) are outstanding on the BackChannel");37500>h&&c.enableStreaming_&&0==c.backChannelRetryCount_&&!c.deadBackChannelTimerId_&&(c.deadBackChannelTimerId_=zY(yt(c.onBackChannelDead_,c),6E3))}}if(1>=erc(c.forwardChannelRequestPool_)&&
c.forwardChannelFlushedCallback_){try{c.forwardChannelFlushedCallback_()}catch(aa){}c.forwardChannelFlushedCallback_=void 0}}else c.channelDebug_.debug("Bad POST response data returned"),GY(c,11)}else if((a.initialResponseDecoded_||c.backChannelRequest_==a)&&brc(c),!Ei(b))for(e=c.wireCodec_.parser_.parse(b),f=0;f<e.length;f++){var k=e[f];c.lastArrayId_=k[0];k=k[1];if(2==c.state_)if("c"==k[0]){c.sid_=k[1];c.hostPrefix_=c.correctHostPrefix(k[2]);var q=k[3];null!=q&&(c.channelVersion_=q,c.channelDebug_.info("VER="+
c.channelVersion_));var t=k[4];null!=t&&(c.serverVersion_=t,c.channelDebug_.info("SVER="+c.serverVersion_));var w=k[5];null!=w&&"number"===typeof w&&0<w&&(h=1.5*w,c.backChannelRequestTimeoutMs_=h,c.channelDebug_.info("backChannelRequestTimeoutMs_="+h));h=c;var y=a.getXhr();if(y){var C=Ph(y,"X-Client-Wire-Protocol");if(C){var J=h.forwardChannelRequestPool_;b=C;!J.requestPool_&&(ka(b,"spdy")||ka(b,"quic")||ka(b,"h2"))&&(J.maxSize_=J.maxPoolSizeConfigured_,J.requestPool_=new Set,J.request_&&(J.addRequest(J.request_),
J.request_=null))}if(h.httpSessionIdParam_){var I=Ph(y,"X-HTTP-Session-Id");I?(h.httpSessionId_=I,EC(h.forwardChannelUri_,h.httpSessionIdParam_,I)):h.channelDebug_.warning("Missing X_HTTP_SESSION_ID in the handshake response")}}c.state_=3;c.handler_&&c.handler_.channelOpened();c.detectBufferingProxy_&&(c.handshakeRttMs_=Date.now()-a.requestStartTime_,c.channelDebug_.info("Handshake RTT: "+c.handshakeRttMs_+"ms"));h=c;b=a;var P=d=h,O=frc(P,P.supportsCrossDomainXhrs_?h.hostPrefix_:null,h.path_);P.channelDebug_.debug("GetBackChannelUri: "+
O);d.backChannelUri_=O;if(b.initialResponseDecoded_){h.channelDebug_.debug("Upgrade the handshake request to a backchannel.");grc(h.forwardChannelRequestPool_,b);d=b;var U=h.backChannelRequestTimeoutMs_;U&&d.setTimeout(U);d.watchDogTimerId_&&(Qqc(d),DY(d));h.backChannelRequest_=b}else hrc(h);0<c.outgoingMaps_.length&&irc(c)}else"stop"!=k[0]&&"close"!=k[0]||GY(c,7);else 3==c.state_&&("stop"==k[0]||"close"==k[0]?"stop"==k[0]?GY(c,7):c.disconnect():"noop"!=k[0]&&c.handler_&&c.handler_.channelHandleArray(k),
c.backChannelRetryCount_=0)}xY(4)}catch(aa){}};var jrc=function(a,b){this.mapId=a;this.map=b;this.context=null};var krc=function(a){this.maxPoolSizeConfigured_=a||10;da.PerformanceNavigationTiming?(a=da.performance.getEntriesByType("navigation"),a=0<a.length&&("hq"==a[0].nextHopProtocol||"h2"==a[0].nextHopProtocol)):a=!!(da.chrome&&da.chrome.loadTimes&&da.chrome.loadTimes()&&da.chrome.loadTimes().wasFetchedViaSpdy);this.maxSize_=a?this.maxPoolSizeConfigured_:1;this.requestPool_=null;1<this.maxSize_&&(this.requestPool_=new Set);this.request_=null;this.pendingMessages_=[]},lrc=function(a){return a.request_?!0:
a.requestPool_?a.requestPool_.size>=a.maxSize_:!1},erc=function(a){return a.request_?1:a.requestPool_?a.requestPool_.size:0},arc=function(a,b){return a.request_?a.request_==b:a.requestPool_?a.requestPool_.has(b):!1};krc.prototype.addRequest=function(a){this.requestPool_?this.requestPool_.add(a):this.request_=a};var grc=function(a,b){a.request_&&a.request_==b?a.request_=null:a.requestPool_&&a.requestPool_.has(b)&&a.requestPool_.delete(b)};
krc.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=l(this.requestPool_.values()),b=a.next();!b.done;b=a.next())b.value.cancel();this.requestPool_.clear()}};
krc.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=l(this.requestPool_.values()),c=b.next();!c.done;c=b.next())a=a.concat(c.value.getPendingMessages());return a}return ya(this.pendingMessages_)};var mrc=function(a,b){a.pendingMessages_=a.pendingMessages_.concat(b)};var orc=function(a,b){var c=new AY;c.debug("TestLoadImage: loading "+a);if(da.Image){var d=new Image;d.onload=zt(nrc,c,d,"TestLoadImage: loaded",!0,b);d.onerror=zt(nrc,c,d,"TestLoadImage: error",!1,b);d.onabort=zt(nrc,c,d,"TestLoadImage: abort",!1,b);d.ontimeout=zt(nrc,c,d,"TestLoadImage: timeout",!1,b);da.setTimeout(function(){if(d.ontimeout)d.ontimeout()},1E4);d.src=a}else b(!1)},nrc=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(f){}};var prc=function(){this.replacer_=void 0};prc.prototype.stringify=function(a){return da.JSON.stringify(a,this.replacer_)};prc.prototype.parse=function(a){return da.JSON.parse(a,void 0)};var qrc=function(){this.parser_=new prc},rrc=function(a,b,c){var d=c||"";try{zYb(a,function(e,f){var h=e;Aa(e)&&(h=mXb(e));b.push(d+f+"="+encodeURIComponent(h))})}catch(e){throw b.push(d+"type="+encodeURIComponent("_badmap")),e;}};var HY=function(a,b,c){return c&&c.internalChannelParams?c.internalChannelParams[a]||b:b},IY=function(a){this.clientVersion_=22;this.serverVersion_=0;this.outgoingMaps_=[];this.channelDebug_=new AY;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_=HY("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_=HY("baseRetryDelayMs",5E3,a);this.retryDelaySeedMs_=HY("retryDelaySeedMs",1E4,a);this.forwardChannelMaxRetries_=HY("forwardChannelMaxRetries",2,a);this.forwardChannelRequestTimeoutMs_=
HY("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 krc(a&&a.concurrentRequestLimit);this.wireCodec_=new qrc;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};IY.prototype.channelVersion_=8;IY.prototype.state_=1;
IY.prototype.connect=function(a,b,c,d){this.channelDebug_.debug("connect()");yY(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=frc(this,null,this.path_);this.channelDebug_.debug("GetForwardChannelUri: "+a);this.forwardChannelUri_=a;irc(this)};
IY.prototype.disconnect=function(){this.channelDebug_.debug("disconnect()");src(this);if(3==this.state_){var a=this.nextRid_++,b=this.forwardChannelUri_.clone();EC(b,"SID",this.sid_);EC(b,"RID",a);EC(b,"TYPE","terminate");JY(this,b);a=new CY(this,this.channelDebug_,this.sid_,a);a.type_=2;a.baseUri_=GC(b.clone());b=!1;if(da.navigator&&da.navigator.sendBeacon)try{b=da.navigator.sendBeacon(a.baseUri_.toString(),"")}catch(c){}!b&&da.Image&&((new Image).src=a.baseUri_,b=!0);b||(a.xmlHttp_=Nqc(a.channel_,
null),a.xmlHttp_.send(a.baseUri_));a.requestStartTime_=Date.now();DY(a)}trc(this)};var crc=function(a){a.backChannelRequest_&&(Zqc(a),a.backChannelRequest_.cancel(),a.backChannelRequest_=null)},src=function(a){crc(a);a.backChannelTimerId_&&(da.clearTimeout(a.backChannelTimerId_),a.backChannelTimerId_=null);brc(a);a.forwardChannelRequestPool_.cancel();a.forwardChannelTimerId_&&("number"===typeof a.forwardChannelTimerId_&&da.clearTimeout(a.forwardChannelTimerId_),a.forwardChannelTimerId_=null)};g=IY.prototype;
g.setExtraHeaders=function(a){this.extraHeaders_=a};g.getHttpSessionId=function(){return this.httpSessionId_};g.setReadyStateChangeThrottle=function(a){this.readyStateChangeThrottleMs_=a};g.getHandler=function(){return this.handler_};g.isClosed=function(){return 0==this.state_};g.getState=function(){return this.state_};g.getLastStatusCode=function(){return this.errorResponseStatusCode_};
var irc=function(a){lrc(a.forwardChannelRequestPool_)||a.forwardChannelTimerId_||(a.forwardChannelTimerId_=!0,qB(a.onStartForwardChannelTimer_,a),a.forwardChannelRetryCount_=0)},vrc=function(a,b){if(erc(a.forwardChannelRequestPool_)>=a.forwardChannelRequestPool_.maxSize_-(a.forwardChannelTimerId_?1:0))return!1;if(a.forwardChannelTimerId_)return a.channelDebug_.debug("Use the retry request that is already scheduled."),a.outgoingMaps_=b.getPendingMessages().concat(a.outgoingMaps_),!0;if(1==a.state_||
2==a.state_||a.forwardChannelRetryCount_>=(a.failFast_?0:a.forwardChannelMaxRetries_))return!1;a.channelDebug_.debug("Going to retry POST");a.forwardChannelTimerId_=zY(yt(a.onStartForwardChannelTimer_,a,b),urc(a,a.forwardChannelRetryCount_));a.forwardChannelRetryCount_++;return!0};
IY.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 CY(this,this.channelDebug_,"",a),c=this.extraHeaders_;this.initHeaders_&&(c?(c=fc(c),Eda(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 f=this.outgoingMaps_[e];if("__data__"in f.map&&(f=f.map.__data__,"string"===typeof f)){f=f.length;break b}f=void 0}if(void 0===f)break;d+=f;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=wrc(this,b,d);e=this.forwardChannelUri_.clone();EC(e,"RID",a);0<this.clientVersion_&&EC(e,"CVER",this.clientVersion_);this.httpSessionIdParam_&&
EC(e,"X-HTTP-Session-Id",this.httpSessionIdParam_);JY(this,e);c&&(this.encodeInitMessageHeaders_?d="headers="+encodeURIComponent(String(IYb(c)))+"&"+d:this.httpHeadersOverwriteParam_&&JYb(e,this.httpHeadersOverwriteParam_,c));this.forwardChannelRequestPool_.addRequest(b);this.blockingHandshake_&&EC(e,"TYPE","init");this.fastHandshake_?(EC(e,"$req",d),EC(e,"SID","null"),b.decodeInitialResponse_=!0,Mqc(b,e,null)):Mqc(b,e,d);this.state_=2}}else 3==this.state_&&(a?xrc(this,a):0==this.outgoingMaps_.length?
this.channelDebug_.debug("startForwardChannel_ returned: nothing to send"):lrc(this.forwardChannelRequestPool_)||(xrc(this),this.channelDebug_.debug("startForwardChannel_ finished, sent request")))};
var xrc=function(a,b){var c;b?c=b.getRequestId():c=a.nextRid_++;var d=a.forwardChannelUri_.clone();EC(d,"SID",a.sid_);EC(d,"RID",c);EC(d,"AID",a.lastArrayId_);JY(a,d);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&JYb(d,a.httpHeadersOverwriteParam_,a.extraHeaders_);c=new CY(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=wrc(a,c,1E3);c.setTimeout(Math.round(.5*
a.forwardChannelRequestTimeoutMs_)+Math.round(.5*a.forwardChannelRequestTimeoutMs_*Math.random()));a.forwardChannelRequestPool_.addRequest(c);Mqc(c,d,b)},JY=function(a,b){a.extraParams_&&bc(a.extraParams_,function(c,d){EC(b,d,c)});a.handler_&&zYb({},function(c,d){EC(b,d,c)})},wrc=function(a,b,c){c=Math.min(a.outgoingMaps_.length,c);var d=a.handler_?yt(a.handler_.badMapError,a.handler_,a):null;a:for(var e=a.outgoingMaps_,f=-1;;){var h=["count="+c];-1==f?0<c?(f=e[0].mapId,h.push("ofs="+f)):f=0:h.push("ofs="+
f);for(var k=!0,q=0;q<c;q++){var t=e[q].mapId,w=e[q].map;t-=f;if(0>t)f=Math.max(0,e[q].mapId-100),k=!1;else try{rrc(w,h,"req"+t+"_")}catch(y){d&&d(w)}}if(k){d=h.join("&");break a}}a=a.outgoingMaps_.splice(0,c);b.pendingMessages_=a;return d},hrc=function(a){a.backChannelRequest_||a.backChannelTimerId_||(a.backChannelAttemptId_=1,qB(a.onStartBackChannelTimer_,a),a.backChannelRetryCount_=0)},drc=function(a){if(a.backChannelRequest_||a.backChannelTimerId_||3<=a.backChannelRetryCount_)return!1;a.channelDebug_.debug("Going to retry GET");
a.backChannelAttemptId_++;a.backChannelTimerId_=zY(yt(a.onStartBackChannelTimer_,a),urc(a,a.backChannelRetryCount_));a.backChannelRetryCount_++;return!0};
IY.prototype.onStartBackChannelTimer_=function(){this.backChannelTimerId_=null;yrc(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_=zY(yt(this.onBpDetectionTimer_,this),a)}};
IY.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;yY(10);crc(this);yrc(this)}else this.channelDebug_.warning("Invalid operation.")};
var Zqc=function(a){null!=a.bpDetectionTimerId_&&(a.channelDebug_.debug("Cancel the BP detection timer."),da.clearTimeout(a.bpDetectionTimerId_),a.bpDetectionTimerId_=null)},yrc=function(a){a.channelDebug_.debug("Creating new HttpRequest");a.backChannelRequest_=new CY(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();EC(b,"RID","rpc");EC(b,"SID",a.sid_);EC(b,"AID",a.lastArrayId_);EC(b,"CI",a.enableStreaming_?"0":"1");!a.enableStreaming_&&a.longPollingTimeout_&&EC(b,"TO",a.longPollingTimeout_);EC(b,"TYPE","xmlhttp");JY(a,b);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&JYb(b,a.httpHeadersOverwriteParam_,a.extraHeaders_);a.backChannelRequestTimeoutMs_&&a.backChannelRequest_.setTimeout(a.backChannelRequestTimeoutMs_);var c=a.backChannelRequest_,d=a.hostPrefix_;c.type_=1;c.baseUri_=GC(b.clone());
c.postData_=null;c.decodeChunks_=!0;Lqc(c,d);a.channelDebug_.debug("New Request created")};IY.prototype.correctHostPrefix=function(a){return this.handler_?this.handler_.correctHostPrefix(a):a};IY.prototype.onBackChannelDead_=function(){null!=this.deadBackChannelTimerId_&&(this.deadBackChannelTimerId_=null,crc(this),drc(this),yY(19))};
var brc=function(a){null!=a.deadBackChannelTimerId_&&(da.clearTimeout(a.deadBackChannelTimerId_),a.deadBackChannelTimerId_=null)},Wqc=function(a,b){a.channelDebug_.debug("Request complete");var c=null;if(a.backChannelRequest_==b){brc(a);Zqc(a);a.backChannelRequest_=null;var d=2}else if(arc(a.forwardChannelRequestPool_,b))c=b.getPendingMessages(),grc(a.forwardChannelRequestPool_,b),d=1;else return;if(0!=a.state_)if(b.successful_)1==d?(Cqc(b.postData_?b.postData_.length:0,Date.now()-b.requestStartTime_,
a.forwardChannelRetryCount_),irc(a)):hrc(a);else{var e=b.getLastStatusCode(),f=b.getLastError();if(3==f||0==f&&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: "+Iqc(f,a.errorResponseStatusCode_)});if(1==d&&vrc(a,b)||2==d&&drc(a))return;a.channelDebug_.debug("Exceeded max number of retries")}c&&0<c.length&&mrc(a.forwardChannelRequestPool_,c);a.channelDebug_.debug("Error: HTTP request failed");
switch(f){case 1:GY(a,5);break;case 4:GY(a,10);break;case 3:GY(a,6);break;default:GY(a,2)}}},urc=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},GY=function(a,b){a.channelDebug_.info("Error code "+b);if(2==b){var c=null;a.handler_&&(c=null);var d=yt(a.testNetworkCallback_,a);c||(c=new hp("//www.google.com/images/cleardot.gif"),da.location&&"http"==da.location.protocol||xC(c,"https"),GC(c));
orc(c.toString(),d)}else yY(2);a.onError_(b)};IY.prototype.testNetworkCallback_=function(a){a?(this.channelDebug_.info("Successfully pinged google.com"),yY(2)):(this.channelDebug_.info("Failed to ping google.com"),yY(1))};IY.prototype.onError_=function(a){this.channelDebug_.debug("HttpChannel: error - "+a);this.state_=0;this.handler_&&this.handler_.channelError(a);trc(this);src(this)};
var trc=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}),saa(a.nonAckedMapsAtChannelClose_,b),saa(a.nonAckedMapsAtChannelClose_,a.outgoingMaps_),a.forwardChannelRequestPool_.pendingMessages_.length=0,ya(a.outgoingMaps_),a.outgoingMaps_.length=0;a.handler_.channelClosed()}},
frc=function(a,b,c){var d=HC(c);""!=d.getDomain()?(b&&yC(d,b+"."+d.getDomain()),d.setPort(d.getPort())):(d=da.location,d=GYb(d.protocol,null,b?b+"."+d.hostname:d.hostname,+d.port,c));b=a.httpSessionIdParam_;c=a.getHttpSessionId();b&&c&&EC(d,b,c);EC(d,"VER",a.channelVersion_);JY(a,d);return d},Nqc=function(a,b,c){if(b&&!a.supportsCrossDomainXhrs_)throw Error("te");b=a.usesFetchStreams_&&!a.xmlHttpFactory_?new OB(new sC({streamBinaryChunks:c})):new OB(a.xmlHttpFactory_);b.withCredentials_=a.supportsCrossDomainXhrs_;
return b};IY.prototype.isActive=function(){return!!this.handler_&&this.handler_.isActive(this)};var zrc=function(){};g=zrc.prototype;g.channelOpened=function(){};g.channelHandleArray=function(){};g.channelError=function(){};g.channelClosed=function(){};g.isActive=function(){return!0};g.badMapError=function(){};g.correctHostPrefix=function(a){return a};var Arc=function(){if(Hq&&!(10<=Number(Ft)))throw Error("ue");};Arc.prototype.createWebChannel=function(a,b){return new KY(a,b)};
var KY=function(a,b){bp.call(this);this.channel_=new IY(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)&&!Ei(a)&&(this.channel_.httpHeadersOverwriteParam_=a);this.supportsCrossDomainXhr_=b&&b.supportsCrossDomainXhr||!1;this.sendRawJson_=b&&b.sendRawJson||!1;(b=b&&b.httpSessionIdParam)&&!Ei(b)&&(this.channel_.httpSessionIdParam_=b,yda(this.messageUrlParams_,b)&&ec(this.messageUrlParams_,b));this.channelHandler_=new LY(this)};At(KY,bp);
KY.prototype.open=function(){this.channel_.handler_=this.channelHandler_;this.supportsCrossDomainXhr_&&(this.channel_.supportsCrossDomainXhrs_=!0);this.channel_.connect(this.url_,this.messageUrlParams_||void 0)};KY.prototype.close=function(){this.channel_.disconnect()};KY.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__=mXb(a),a=c);b.outgoingMaps_.push(new jrc(b.nextMapId_++,a));3==b.state_&&irc(b)};
KY.prototype.disposeInternal=function(){this.channel_.handler_=null;delete this.channelHandler_;this.channel_.disconnect();delete this.channel_;KY.superClass_.disposeInternal.call(this)};var Brc=function(a){jqc.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)?Cda(b,this.metadataKey):b}else this.data=a};At(Brc,jqc);
var Crc=function(a){kqc.call(this);this.status=1;this.errorCode=a};At(Crc,kqc);var LY=function(a){this.channel_=a};At(LY,zrc);LY.prototype.channelOpened=function(){this.channel_.dispatchEvent("v")};LY.prototype.channelHandleArray=function(a){this.channel_.dispatchEvent(new Brc(a))};LY.prototype.channelError=function(a){this.channel_.dispatchEvent(new Crc(a))};LY.prototype.channelClosed=function(){this.channel_.dispatchEvent("w")};var pY=function(a){this.channel_=a};pY.prototype.getHttpSessionId=function(){return this.channel_.getHttpSessionId()};
pY.prototype.commit=function(a){this.channel_.forwardChannelFlushedCallback_=a};pY.prototype.getLastStatusCode=function(){return this.channel_.getLastStatusCode()};var Drc=function(){this.changeList=[]};Drc.prototype.add=function(a){this.changeList.push(a)};
var Erc=function(a,b){this.authMethod=b;this.jspbClient=new vqc(a)},Frc=function(a,b){var c,d,e,f,h;return qe(function(k){if(1==k.nextAddress){c=new $pc;ej(c,Ypc,1,b);var q=k.yield,t=a.jspbClient,w=t.post;var y=a.authMethod;y={queryParams:y.getQueryParameters(),extraHeaders:y.getHeaders(),withCredentials:y.usesCredentialedRequests()};return q.call(k,w.call(t,"/punctual/v1/chooseServer",c,aqc,y),2)}d=k.yieldResult;e=wj(d,1);if(null==e)throw Error("ve");return k.return({gsessionid:e,affinitization:null!=
(f=d.getAffinitizationOrUndefined())?f:0,initialConnectionDelayMillis:null!=(h=Tt(d,3))?h:0})})},Grc=function(a,b,c){this.project=a;this.interestSet=b;this.knowledgeTimestamp=c;this.hasRecurred=!1;this.resyncMillis=Date.now()},MY=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 oC);this.skipBackoff=
new oqc;this.recentResyncs=[];this.hasConnected=!1;this.rawStatus.pipe(uja(function(d){return 0===d.getCode()?Promise.resolve():new Promise(function(e){cq(e,500)})})).subscribe(this.status);this.delayGenerator=new JYa;this.reconnectHint=b?b.pipe(Le(function(){return E.NEVER}),sja(E.NEVER)):E.NEVER;Hrc(this)},Irc=function(a,b,c,d){b=b.then(function(e){switch(e.domainType()){case 2:case 0:var f=a.firstPartyUri;break;case 1:f=a.thirdPartyUri;break;default:f=new hp}var h=f.clone().setPath("/punctual/multi-watch/channel"),
k=new lqc(h.toString(),e);return{serverChooser:new Erc(f,e),channelCreator:function(q,t,w){q=new oY(q,t,k,function(y,C){return(new Arc).createWebChannel(y,C)},w);q.open();return q}}});return new MY(d,c,b)};MY.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 Jrc=function(a){for(var b=0,c=Date.now();b<a.recentResyncs.length;)c>=a.recentResyncs[b].resyncMillis+6E4?a.recentResyncs.splice(b):++b},Krc=function(a,b){return a.recentResyncs.find(function(c){var d;if(d=c.project===b.project)c=c.interestSet,d=b.interestSet,d=c instanceof nq&&d instanceof nq?c.equals(d):!1;return d})};MY.prototype.onOpen=function(){var a=new oC;a.setCode(0);try{this.rawStatus.next(a)}catch(b){}};MY.prototype.onClose=function(){this.channelState=void 0;Hrc(this)};
MY.prototype.onError=function(a,b){a=new oC;a.setCode(LYa(b));try{this.rawStatus.next(a)}catch(c){}a=l(this.causalStreams.values());for(b=a.next();!b.done;b=a.next())b.value.streamInitiationReason=2;a=l(this.nonCausalStreams.values());for(b=a.next();!b.done;b=a.next())b.value.streamInitiationReason=2};
var Nrc=function(a,b,c){if(a.channelState){var d=Lrc(c.project,c.interestSet);c instanceof Mrc&&(mj(d,1,c.knowledgeTimestamp.toString()),cj(d,8,c.knowledgeTimestampChosenByPunctual));hj(d,9,c.streamInitiationReason);c.streamInitiationReason=0;c=new hY;var e=c.addAndReturnRequests();e.setStreamId(b.toString());wl(e,2,dqc,d);e.setAffinitization(a.channelState.affinitization);a.channelState.channel.send(c)}},Lrc=function(a,b){var c=(new Ypc).setHeader(mqc);if(b instanceof nq){var d=new Wpc;null!=a&&
d.setProject(NYa(a));d.setOwner(PYa(b));d.setPath(RYa(b));wl(c,2,Zpc,d)}else d=new Xpc,null!=a&&d.setProject(NYa(a)),d.setOwner(PYa(b.root)),d.setPrefix(RYa(b.root)),c.setPrefix(d);return c},Orc=function(a,b){var c=new hY,d=c.addAndReturnRequests();d.setStreamId(b.toString());d.setClose(new bqc);a.channelState&&a.channelState.channel.send(c);a.causalStreams.delete(b);a.limboStreams.delete(b);a.nonCausalStreams.delete(b)},Hrc=function(a){var b=Upc(a.delayGenerator);MYa(b).pipe(Sja(a.reconnectHint.pipe(Te(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){Prc(a,c.serverChooser).then(function(d){cq(function(){a.hasConnected=!0;Qrc(a,c.channelCreator,d)},a.hasConnected?0:d.initialConnectionDelayMillis)},function(){Hrc(a)})},function(c){var d=new oC;d.setCode(13);d.setMessage(c.toString());a.rawStatus.next(d)})})},Prc=function(a,b){var c,d,e,f,h,k;return qe(function(q){if(1==q.nextAddress)return q.yield(Rrc(a),2);c=q.yieldResult;
d=l(c);e=d.next().value;f=d.next().value;h=e;k=f;return q.return(Frc(b,Lrc(h,k)))})},Rrc=function(a){var b,c,d,e,f,h,k;return qe(function(q){b=[a.causalStreams,a.limboStreams,a.nonCausalStreams];c=l(b);for(d=c.next();!d.done;d=c.next())for(e=d.value,f=l(e.values()),h=f.next();!h.done;)return k=h.value,q.return([k.project,k.interestSet]);return q.yield(QNb(Gs(a.newStreamSubject).pipe(Te())),1)})},Qrc=function(a,b,c){a.channelState={channel:b(function(f){for(var h=l(f.getResponsesList()),k=h.next();!k.done;k=
h.next()){var q=k.value;if(k=q.getStreamId_legacyNullable())if(k=Number(k),q.hasClose()){a:{if(q=q.getClose())if(q=q.getStatus())break a;q=void 0}q&&a.handleClose(k,q)}else{var t=ql(q,kY,2,iqc);if(t)switch(sn(t,lY)){case 1:q=a;if(t=q.causalStreams.get(k)){try{t.observer.next(new Spc)}catch(P){}q.causalStreams.delete(k);q.limboStreams.set(k,t.start())}break;case 3:a:{if(q=ql(t,eqc,3,lY))if(q=Ni(q,1)){var w=new Tpc(oq(q));break a}w=void 0}if(w&&(q=a,t=k,k=w,(w=q.limboStreams.get(t))?(w=w.advance(k.timestampMicros),
q.limboStreams.delete(t),q.nonCausalStreams.set(t,w),q=w):q=q.nonCausalStreams.get(t),q)){t=q;w=k.timestampMicros;w>t.knowledgeTimestamp&&(t.knowledgeTimestamp=w,t.knowledgeTimestampChosenByPunctual=!0);try{q.observer.next(k)}catch(P){}}break;case 2:k=a.nonCausalStreams.get(k)||a.limboStreams.get(k);if(!k)break;q=k.interestSet;if(w=t.getChanges()){t=new Drc;w=l(zi(w,jY,1));for(var y=w.next();!y.done;y=w.next()){var C=y.value,J=vi(C,gq,6);y=C.getVersion_legacyNullable();if(J&&y){var I=void 0;C=null==
(I=rq(C,2))?void 0:UYa(I);I=null===C?void 0:C;(J=WYa(q,J))&&t.add(new Rpc(J,oq(y),I))}}q=t}else q=void 0;if(q)for(q=l(q.changeList),t=q.next();!t.done;t=q.next()){t=t.value;t=new Rpc(t.objectId,t.version,t.payload);try{k.observer.next(t)}catch(P){}}break;case 5:if(q=a,k=q.causalStreams.get(k)||q.limboStreams.get(k)||q.nonCausalStreams.get(k)){k instanceof Mrc&&(Jrc(q),(t=Krc(q,k))?(t.hasRecurred=!0,t.knowledgeTimestamp=k.knowledgeTimestamp,t.resyncMillis=Date.now()):q.recentResyncs.push(new Grc(k.project,
k.interestSet,k.knowledgeTimestamp)));try{k.observer.complete()}catch(P){}}}}}if(f.hasStatus())switch(f.getStatus().getCode_legacyNullable()){case 1:h=l(a.causalStreams.values());for(f=h.next();!f.done;f=h.next())f.value.streamInitiationReason=3;h=l(a.nonCausalStreams.values());for(f=h.next();!f.done;f=h.next())f.value.streamInitiationReason=3;a.channelState&&a.channelState.channel.close()}},a,c.gsessionid),affinitization:c.affinitization};b=[].concat(Array.from(a.causalStreams.entries())).concat(Array.from(a.nonCausalStreams.entries()));
b.sort(function(f,h){return f[0]-h[0]});b=l(b);for(c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;Nrc(a,c,d)}b=l(a.limboStreams);for(c=b.next();!c.done;c=b.next())c=l(c.value),c.next(),c.next().value.observer.complete();a.limboStreams.clear();var e=a.channelState;cq(function(){a.channelState===e&&a.delayGenerator.reset()},45E3)};
MY.prototype.watch=function(a,b){var c=this;b=void 0===b?{}:b;return new E.Observable(function(d){var e=++c.streamNumber,f,h=null!=(f=b.projectOverride)?f:c.defaultProject;d=new Src(d,h,a);c.causalStreams.set(e,d);c.newStreamSubject.next({});Nrc(c,e,d);return function(){Orc(c,e)}})};
MY.prototype.watchWithStartTime=function(a,b,c){var d=this;c=void 0===c?{}:c;return new E.Observable(function(e){var f=++d.streamNumber,h,k=null!=(h=c.projectOverride)?h:d.defaultProject,q=new Mrc(e,k,a,b,!1);Jrc(d);if((e=Krc(d,q))&&(e.hasRecurred||0>=b.compare(e.knowledgeTimestamp))){var t=!0;cq(function(){t&&q.observer.complete()},6E4);return function(){t=!1}}d.nonCausalStreams.set(f,q);d.newStreamSubject.next({});Nrc(d,f,q);return function(){Orc(d,f)}})};
var Src=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c;this.streamInitiationReason=1};Src.prototype.start=function(){return new Trc(this.observer,this.project,this.interestSet)};var Trc=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c};Trc.prototype.advance=function(a){return new Mrc(this.observer,this.project,this.interestSet,a,!0)};
var Mrc=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 Urc={firstPartyUri:new hp("https://signaler-pa.clients6.google.com"),thirdPartyUri:new hp("https://signaler-pa.googleapis.com")},Vrc={firstPartyUri:new hp("https://punctual-dev.corp.google.com"),thirdPartyUri:new hp("https://signaler-staging.sandbox.google.com")},Wrc=new Map(Object.entries({prod:Urc,ytprod:{firstPartyUri:new hp("https://signaler-pa.youtube.com"),thirdPartyUri:new hp("https://signaler-pa.googleapis.com")},dev:Vrc}));var Xrc=function(a){this.projectPath=a;this.authParams=new sqc};Xrc.prototype.setApiKey=function(a){this.authParams.apiKey=a;return this};
Xrc.prototype.build=function(){var a=KYa(this.authParams),b=this.projectPath;if(!b.startsWith("/punctual/"))throw Error("we`"+b);var c=b.substring(10).split("/");if(2!==c.length)throw Error("xe`"+b);b=l(c);c=b.next().value;b=b.next().value;if(c.startsWith("custom:"))c=new hp(decodeURIComponent(c.substring(7))),c={firstPartyUri:c,thirdPartyUri:c};else{var d=Wrc.get(c);if(!d)throw Error("ye`"+c);c=d}return Irc(c,a,this.reconnectHint,b)};var Yrc={watch:function(){return(0,E.of)()},watchWithStartTime:function(){return(0,E.of)()},status:(0,E.of)()},NY=function(a){this.activeSession=a;if(yD(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 Xrc(b)).setApiKey(a).build()}else this.punctualClient=Yrc},Zrc=function(a,b){return a.punctualClient.watch(SYa("new-comment-issue",b)).pipe(He(function(c){return c instanceof Rpc}))};NY.\u0275fac=function(a){return new (a||NY)(p(nt))};NY.\u0275prov=Dc({token:NY,factory:NY.\u0275fac,providedIn:"root"});var OY=function(a){this.punctualService=a;this.stream=new E.Subject;this.isPaused=!1;this.closeStream$=new E.Subject};OY.prototype.resume=function(){this.isPaused=!1};var $rc=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};OY.prototype.watch=function(a){var b=this;return Zrc(this.punctualService,a).pipe(He(function(){var c=!b.isPaused;b.resume();return c}),Ne(1E3),bf(this.closeStream$))};
OY.\u0275fac=function(a){return new (a||OY)(p(NY))};OY.\u0275prov=Dc({token:OY,factory:OY.\u0275fac,providedIn:"root"});var asc=function(a,b){this.displayText=a;this.value=b;this.enabled=!0;this.disabledReason=""};var bsc=function(a){return[a]},PY=function(a){this.matDialog=a};PY.prototype.show=function(a,b,c,d){this.dialog=this.matDialog.open(QY,{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)(this.dialog.afterClosed())};PY.\u0275fac=function(a){return new (a||PY)(p(vA))};
PY.\u0275prov=Dc({token:PY,factory:PY.\u0275fac,providedIn:"root"});
var QY=function(a,b,c,d,e,f){Z.call(this);var h=this;this.activeSession=a;this.origComment=b;this.dialogService=c;this.dialogRef=d;this.bannedWordsChecker=f;this.MARKDOWN="MARKDOWN";this.contentRemovalRequestLink=this.activeSession.isInternalSession()?"https://goto.corp.google.com/buganizer-delete":"https://issuetracker.google.com/issues/new?component=169992&template=543202";this.enableRecaptcha=yD(this.activeSession,"enableRecaptcha");this.recaptchaResponse="";this.newComment=Object.assign({},this.origComment);
this.subscriptions.add(BX(e,function(){return h.isModified()},!1))};Y(QY,Z);QY.\u0275dir=Z.\u0275dir;g=QY.prototype;g.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()})};g.closeIfUnmodified=function(){if(!this.isModified()){var a;null==(a=this.dialogService.dialog)||a.close()}};
g.isCaptchaValid=function(){return!this.enableRecaptcha||""!==this.recaptchaResponse};g.isModified=function(){return!$h(this.newComment,this.origComment)};
g.closeDialogForSave=function(){var a=this,b,c,d;return qe(function(e){if(1==e.nextAddress){if(!a.isModified())return e.return();a.enableRecaptcha&&(a.newComment.recaptchaToken=a.recaptchaResponse);return e.yield(a.bannedWordsChecker.check(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)||vmc(c);we(e)})};
QY.\u0275fac=function(a){return new (a||QY)(B(nt),B(uA),B(PY),B(sA),B(AX),B(zX))};
QY.\u0275cmp=r({type:QY,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&og(nU,5);if(a&2){var c;ng(c=qg())&&(b.commentDraft=c.first)}},features:[bg([zX]),yf],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 break-word",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","break-word"],["target","_blank","aria-label","Learn more about banned words","href","http://go/b-trackers#banned-words-for-tracker",1,"color-bad-text","keep-underline"],[3,"comment","issueId","audience","formattingMode"],[1,"recaptcha-container"],[3,"onUpdate"]],template:function(a,b){a&1&&(H(0,
"h1",0),T(1),K(),H(2,"section",1)(3,"p",2),T(4," Editing comments will not permanently remove old ones from database history. "),L(5,"br"),T(6," For deletion of PII or other sensitive content, please "),H(7,"a",3),T(8," file a support request."),K()(),H(9,"b-comment-draft",4),Q("contentChange",function(c){return b.newComment.text=c})("onSubmit",function(){return b.closeDialogForSave()})("contentChange",function(){b.bannedWordsChecker.reset()}),K(),F(10,XYa,4,1,"p",5),H(11,"b-markdown-toggle",6),Q("change",
function(c){return b.newComment.formattingMode=c}),K(),F(12,YYa,1,4,"b-live-preview",7),K(),F(13,ZYa,3,0,"section",8),H(14,"footer",9)(15,"button",10),T(16," Cancel "),K(),H(17,"button",11),Q("click",function(){return b.closeDialogForSave()}),T(18),K()());a&2&&(A(1),ag("Editing Comment #",b.origComment.id," of Issue ",b.origComment.issueId,""),A(6),G("href",b.contentRemovalRequestLink,Wd),A(2),G("content",b.newComment.text)("audience",b.origComment.audience)("textareaClass",fg(16,bsc,b.bannedWordsChecker.showWarning()?
"banned-words-warning":"")),A(1),G("ngIf",b.bannedWordsChecker.showWarning()),A(1),Jf("margin-bottom",(null==b.newComment?null:b.newComment.formattingMode)!==b.MARKDOWN),G("initialValue",b.origComment.formattingMode),A(1),G("ngIf",(null==b.newComment?null:b.newComment.formattingMode)===b.MARKDOWN),A(1),G("ngIf",b.enableRecaptcha),A(2),G("mat-dialog-close",void 0),A(2),G("disabled",!b.isModified()||!b.isCaptchaValid())("color",b.bannedWordsChecker.showWarning()?"warn":"primary"),A(1),V(" ",b.bannedWordsChecker.showWarning()?
"Save Anyway":"Save"," "))},dependencies:[wA,xA,yA,zA,Uv,eA,LT,KT,nU,vU],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 RY=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I,P,O,U,aa,na,sa,Ba,Pa){this.editIssueService=a;this.butterBar=b;this.issuePermissionService=c;this.issueCommentService=d;this.editCommentDialogService=e;this.issueFridge=f;this.matDialogService=h;this.paths=k;this.analytics=q;this.domSafe=t;this.confirmationDialogService=w;this.issueComments=y;this.errorHandler=C;this.issueFetchResponseFridge=J;this.eventsForIssueFridge=I;this.componentFridge=P;this.commentFormatter=O;this.confirmNoAccessService=U;this.activeSession=
aa;this.appEvents=na;this.issuePicker=sa;this.eventsForIssueWatcher=Ba;this.issueInteractionsTracking=Pa},Rs=function(a,b,c){var d,e,f,h,k,q,t;return qe(function(w){if(1==w.nextAddress)return w.yield((0,E.firstValueFrom)(a.issueFridge.watch(b)),2);if(3!=w.nextAddress){d=w.yieldResult;f=null==(e=d)?void 0:e.snapshot[0].componentId;h=a.editIssueService.savingState(b);if(h.get("commentEdit"))return w.return();a.butterBar.dismiss();q=null!=(k=a.issuePermissionService.audience())?k:"EXTERNAL_AUDIENCE";
return w.yield(a.editCommentDialogService.show(b,q,c,f),3)}t=w.yieldResult;if(null==t)return w.return();Qpc(a.issueCommentService,{issueId:b,newCommentId:t.id,newComment:t.text,newCommentFormattingMode:t.formattingMode,recaptchaToken:t.recaptchaToken});we(w)})},dsc=function(a,b,c){var d,e,f;return qe(function(h){if(1==h.nextAddress)return c?h.yield(csc(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==(f=e)?0:f.length){var k=a.paths.editIssue(e[0],{template_issue:b,template_comment:c,do_attribution:!0});a.analytics.trackEvent(Kp.EDIT_ISSUE,"copyComment");a.domSafe.openInNewTab(k)}we(h)})},csc=function(a,b){function c(U){return y.get(U)}var d,e,f,h,k,q,t,w,y,C,J,I,P,O;return qe(function(U){if(1==U.nextAddress)return U.yield((0,E.firstValueFrom)(a.issueFridge.watch(b)),2);if(3!=U.nextAddress){d=U.yieldResult;
if(!d)return U.return([]);f=null!=(e=d.snapshot[0].duplicateIssueId)?e:[];k=null!=(h=d.snapshot[0].blockingIssueId)?h:[];t=null!=(q=d.snapshot[0].blockedByIssueId)?q:[];return U.yield((0,E.firstValueFrom)(a.issueFridge.watchSet(Qj([].concat(u(f),u(k),u(t))))),3)}w=U.yieldResult;y=new Map(w.map(function(aa){return[aa.issueId,aa]}));C=t.map(c).filter(jl).map($Ya("BLOCKED_BY"));J=k.map(c).filter(jl).map($Ya("BLOCKING"));I=f.map(c).filter(jl).map($Ya("DUPLICATE"));P=[].concat(u(C),u(J),u(I));O=aZa(P);
return U.return(O)})},fsc=function(a,b,c){var d;return qe(function(e){return 1==e.nextAddress?c?e.yield(TJ(a.confirmationDialogService,{title:"Restore comment # "+c+"?",content:ch("Are you sure you want to restore this comment?")}),2):e.return():(d=e.yieldResult)?e.yield(esc(a,b,c),0):e.return()})},esc=function(a,b,c){var d,e;return qe(function(f){switch(f.nextAddress){case 1:d=a.editIssueService.savingState(b);if(d.get("commentUndelete"))return f.return();Fs(a.butterBar,"Restoring comment...",0);
re(f,2,3);jP(d,"commentUndelete");return f.yield(a.issueComments.undelete(b,c),5);case 5:Fs(a.butterBar,"Comment restored successfully.");case 3:te(f);kP(d,"commentUndelete");oI(a.issueFetchResponseFridge,b);a.eventsForIssueFridge.poke(b);ue(f,0);break;case 2:e=ve(f),Fs(a.butterBar,"Comment restoration failed."),HG(a.errorHandler,e),f.jumpTo(3)}})},isc=function(a,b,c,d){var e,f,h,k;return qe(function(q){if(1==q.nextAddress){if(!c)return q.return();e=a.editIssueService.savingState(b);return e.get("commentDelete")?
q.return():q.yield(gsc(a,b),2)}return 3!=q.nextAddress?(f=q.yieldResult,a.butterBar.dismiss(),q.yield((0,E.firstValueFrom)(a.matDialogService.open(TX,{width:"560px",data:{commentNumber:c,issueId:b,deletionReasons:f}}).afterClosed()),3)):(h=q.yieldResult)?q.yield(hsc(a,b,c,h.value,null!=(k=d)?k:""),0):q.jumpTo(0)})},hsc=function(a,b,c,d,e){var f,h;return qe(function(k){switch(k.nextAddress){case 1:f=a.editIssueService.savingState(b);if(f.get("commentDelete"))return k.return();re(k,2,3);Fs(a.butterBar,
"Deleting comment...",0);jP(f,"commentDelete");return k.yield(a.issueComments.delete(b,c,d,e),5);case 5:Fs(a.butterBar,"Comment deleted. Deleted items may be restored within 30 days."),a.eventsForIssueFridge.poke(b);case 3:te(k);kP(f,"commentDelete");oI(a.issueFetchResponseFridge,b);ue(k,0);break;case 2:h=ve(k),Fs(a.butterBar,"Comment deletion failed."),HG(a.errorHandler,h),k.jumpTo(3)}})},gsc=function(a,b){var c,d,e,f,h,k,q,t;return qe(function(w){switch(w.nextAddress){case 1:return w.yield((0,E.firstValueFrom)(a.issueFridge.watch(b,
{trustUncertainMemory:!0})),2);case 2:c=w.yieldResult;e=(null==(d=c)?void 0:d.snapshot[0].componentId)||void 0;if(!e){f=void 0;w.jumpTo(3);break}return w.yield((0,E.firstValueFrom)(a.componentFridge.watch(e)),4);case 4:f=w.yieldResult;case 3:return h=f,k=new asc("Other","USER_REQUEST"),h&&"DISABLED"!==h.commentEditState||(k.enabled=!1,k.disabledReason="comment editing must be enabled"),q=new asc("Spam or Abuse","ABUSE"),"EXTERNAL_PUBLIC"!==a.issuePermissionService.accessLevel()&&(q.enabled=!1,q.disabledReason=
"available on Public components"),t=new asc("Personally Identifiable Information","RESTRICTED"),w.return([t,q,k])}})},jsc=function(a,b,c){var d,e;return qe(function(f){if(1==f.nextAddress)return d=fP(a.issuePermissionService,qi(c.userPerformingActionUser)),a.analytics.trackEvent(Kp.RESTRICTED_CONTENT,"updateContentJudgement","comment"),f.yield(a.showContentJudgementDialog({severity:im(c.commentContentVerdict),resourcePath:"issues/"+b+"/comments/"+c.commentNumber,hasAclToCreate:a.issuePermissionService.hasAclToAdmin()||
d}),2);if(e=f.yieldResult)c.commentContentVerdict={piiVerdict:{severity:e.contentJudgement.severity}},oI(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b),lI(a.issueFridge,[b],{markRead:!0,userActivityType:"EDIT"});we(f)})};RY.prototype.showContentJudgementDialog=function(a){return(0,E.firstValueFrom)(this.matDialogService.open(cY,{panelClass:"no-jitter",width:"500px",data:a}).afterClosed())};
var ksc=function(a,b,c){var d;return qe(function(e){if(1==e.nextAddress)return e.yield((0,E.firstValueFrom)(a.matDialogService.open(dY,{width:"500px",data:{resource:b,piiRetention:c}}).afterClosed()),2);d=e.yieldResult;return e.return(1===d)})},lsc=function(a,b,c,d){var e;qe(function(f){if(1==f.nextAddress){if(null==d)return f.return();a.analytics.trackEvent(Kp.RESTRICTED_CONTENT,"updateContentJudgement","attachment");return f.yield(a.showContentJudgementDialog({severity:im(d.contentVerdict),resourcePath:"issues/"+
b+"/attachments/"+d.attachmentId,hasAclToCreate:a.issuePermissionService.hasAclToAdmin()||c}),2)}if(e=f.yieldResult)d.contentVerdict={piiVerdict:{severity:e.contentJudgement.severity}},oI(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b),lI(a.issueFridge,[b],{markRead:!0,userActivityType:"EDIT"});we(f)})};
RY.prototype.showDeleteAttachmentDialog=function(a,b){var c=this,d,e,f,h,k,q,t;qe(function(w){if(1==w.nextAddress){d=c.editIssueService.savingState(a);if(d.get("deleteAttachment")||!b.attachmentId)return w.return();e=E;f=e.firstValueFrom;h=c.matDialogService;k=h.open;q=SX;return w.yield(gsc(c,a),3)}return 2!=w.nextAddress?w.yield(f.call(e,k.call(h,q,{width:"560px",data:{deletionReasons:w.yieldResult,attachmentId:b.attachmentId}}).afterClosed()),2):(t=w.yieldResult)?w.yield(gbc(c.editIssueService,
a,b,t.value),0):w.jumpTo(0)})};
var msc=function(a,b){var c=b.issueId,d=b.componentId,e=b.comment,f,h,k;return qe(function(q){if(1==q.nextAddress){if("INTERNAL"!==a.issuePermissionService.accessLevel()||a.issuePermissionService.hasAclToEdit()&&a.issuePermissionService.isImplicitAccessEnabled())return q.return(!0);re(q,2);var t=q.yield,w=E.firstValueFrom;var y=a.commentFormatter;var C={comment:e.value,issueId:c,audience:null!=(f=a.issuePermissionService.audience())?f:"EXTERNAL_AUDIENCE",formattingMode:e.formattingMode,idPrefix:"b"+
c+"-draft"};if("LITERAL"===C.formattingMode||""===C.comment.trim())y=(0,E.of)([]);else{var J=new FT;J.setSource(C.comment);var I;J.setIssueId(null!=(I=fl(C.issueId))?I:0);hj(J,6,yZb[C.audience]);J.setFormattingMode(Ql(C.formattingMode));J.setIdPrefix(C.idPrefix);y=Elc(y,C).pipe(D(Aza))}return t.call(q,w.call(E,y),4)}if(2!=q.nextAddress)return h=q.yieldResult,q.return(UO(a.confirmNoAccessService,{componentId:d,userEmails:h,relation:"reader",analyticsEventLabel:"mention"}));k=ve(q);HG(a.errorHandler,
k);return q.return(!1)})},nsc=function(a,b){b=void 0===b?"comment":b;var c,d;return qe(function(e){if((c=a.issuePermissionService.accessLevel())&&"INTERNAL"===c||a.issuePermissionService.hasAclToEdit()||a.activeSession.isInternalSession()||wD(a.activeSession))return e.return(!0);switch(b){case "comment":d=ch("Commenting on this bug report means your email address will be shared with the team that works on this product.");break;case "reaction":d=ch("Reacting to this comment means your email address will be shared with the team that works on this product.");
break;default:Oh(b)}return e.return(TJ(a.confirmationDialogService,{title:"",content:d}))})};
RY.prototype.submitCommentBox=function(a,b,c,d){var e=this,f,h,k,q;return qe(function(t){if(1==t.nextAddress){f=e.editIssueService.savingState(b);if(!e.issuePermissionService.hasAclToComment()||!zac(c)||f.get("comment"))return t.return();jP(f,"comment");h=function(){kP(f,"comment")};return t.yield(msc(e,{issueId:b,componentId:a,comment:c}),2)}if(3!=t.nextAddress)return k=t.yieldResult,k?t.yield(nsc(e),3):(h(),t.return());q=t.yieldResult;if(!q)return h(),t.return();e.analytics.trackEvent(Kp.EDIT_ISSUE,
"addComment","MARKDOWN"===c.formattingMode?"markdown":"non markdown");dP(e.issueInteractionsTracking,b);e.eventsForIssueWatcher.isPaused=!0;return t.return(e.editIssueService.FOR_ISSUE_COMMENT_DIALOGS_SERVICE_ONLY.saveCommentDraft(b,d).finally(function(){h();e.appEvents.commentSubmitted.next(b);e.appEvents.scrollToCommentBox.next()}))})};
RY.prototype.showNewContentJudgementDialog=function(a){var b=this,c,d,e,f,h,k;return qe(function(q){if(1==q.nextAddress)return c=b.editIssueService.issueCommentDraft(a),d=c.judgementForNewContent(),h=null!=(f=null==(e=d)?void 0:e.severity)?f:"NONE_DETECTED",q.yield(b.showContentJudgementDialog({severity:h,contentJudgement:void 0,hasAclToCreate:!0}),2);(k=q.yieldResult)&&c.setJudgementForNewContent(k.contentJudgement);we(q)})};
RY.prototype.updateCommentReaction=function(a){var b=this,c;return qe(function(d){return 1==d.nextAddress?a.hasReacted?d.yield(nsc(b,"reaction"),3):d.jumpTo(2):2==d.nextAddress||(c=d.yieldResult,c)?d.return(b.issueComments.updateCommentReaction(a)):d.return(void 0)})};RY.\u0275fac=function(a){return new (a||RY)(p(lP),p(EG),p(gP),p(fY),p(PY),p(iI),p(vA),p(cF),p(aI),p(lM),p(SJ),p(nJ),p(FG),p(mI),p(AH),p(mH),p(JT),p(TO),p(nt),p(lG),p(rW),p(OY),p(cP))};
RY.\u0275prov=Dc({token:RY,factory:RY.\u0275fac,providedIn:"root"});var SY=function(a,b,c,d){this.editIssueService=a;this.issuePicker=b;this.analytics=c;this.butterBar=d},osc=function(a,b){var c,d,e,f,h,k,q;return qe(function(t){if(1==t.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"},f=(new Date).getTime(),t.yield(a.issuePicker.open(e),2);h=t.yieldResult;if(null==(k=
h)||!k.length)return c.status=d,t.return();if(b===h[0])return c.status=d,a.butterBar.showWarning("Cannot set issue as a duplicate of itself"),t.return();q=(new Date).getTime()-f;a.analytics.trackEvent(Kp.ISSUE_PICKER,"duplicate duration","<"+Math.min(2*Math.ceil(q/2E3),600)+"s",q);a.analytics.trackEvent(Kp.EDIT_ISSUE,"setCanonicalIssue");return t.return(Zac(a.editIssueService,b,h[0]))})};SY.\u0275fac=function(a){return new (a||SY)(p(lP),p(rW),p(aI),p(EG))};
SY.\u0275prov=Dc({token:SY,factory:SY.\u0275fac,providedIn:"root"});var TY=function(a,b,c,d){var e=this;this.componentFridge=a;this.issueEditComponentService=b;this.currentTracker=c;this.activeSession=d;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(f){return e.componentFridge.watch(f).pipe($e(void 0))}));this.isArchived$=this.component$.pipe(D(function(f){return null==f?void 0:f.archived}));this.showPublicIndicator$=this.component$.pipe(D(function(f){var h;
f=null==f?void 0:null==(h=f.accessLimit)?void 0:h.accessLevel;return!yD(e.activeSession,"enableNewVisibilityChips")||null==f||e.activeSession.isExternalSession()?!1:e.activeSession.isInternalSession()||wD(e.activeSession)?"EXTERNAL_PUBLIC"===f:!1}));this.showPartnerIndicator$=this.component$.pipe(D(function(f){var h;f=null==f?void 0:null==(h=f.accessLimit)?void 0:h.accessLevel;return!yD(e.activeSession,"enableNewVisibilityChips")||null==f||e.activeSession.isExternalSession()||wD(e.activeSession)?
!1:e.activeSession.isInternalSession()?"EXTERNAL_PARTNER"===f:!1}));this.folder$=(0,E.combineLatest)([this.showPublicIndicator$,this.showPartnerIndicator$,this.currentTracker.inTracker$]).pipe(D(function(f){var h=l(f);f=h.next().value;var k=h.next().value;h=h.next().value;return f?{icon:"folder_shared_24px",tooltip:"Public component. Issues can be made visible to public Google Search."}:k?{icon:"folder_shared_24px",tooltip:"Partner component. Issues can be made visible to Google partners."}:h?{icon:"folder_special_24px",
tooltip:"This component is inside a tracker"}:{icon:"folder",tooltip:""}}),$e({icon:"folder",tooltip:""}));this.componentPath$=(0,E.combineLatest)([this.componentId$,this.component$,this.compactMode$]).pipe(D(function(f){var h=l(f);f=h.next().value;var k=h.next().value;h=h.next().value;if(null==k)return Lo({componentPathId:[Number(f)]});f=Ds(e.currentTracker,k.componentPathInfo);f=Lo(f);if(h){h=[];k=0;for(var q=f.length-1;0<=q;q--){var t=f[q],w=q===f.length-1?48:32;if(k>=w)break;var y=String(t.name),
C=void 0;if(k+[].concat(u(y)).length>w){var J=w-k;w="";y=void 0===y?"":y;J=void 0===J?48:J;w=void 0===w?"...":w;C=[].concat(u(y));C.length<=J||(y=J-[].concat(u(w)).length,y=C.slice(-y).join(""),null!=String.prototype.trimStart&&(y=y.trimStart()),y=w+y);C=!0}k+=[].concat(u(y)).length;h.unshift(Object.assign({},t,{name:y,isTruncated:C}));if(C)break}f.length>h.length&&(h[0].isSpliced=!0);f=h}return f}));this.isEmpty$=this.component$.pipe(D(function(f){return!f}));this.isThinkingAndEmpty$=(0,E.combineLatest)([this.componentFridge.thinking$,
this.isEmpty$]).pipe(D(function(f){var h=l(f);f=h.next().value;h=h.next().value;return f&&h}));this.isReady$=this.isThinkingAndEmpty$.pipe(D(function(f){return!f}))};TY.prototype.ngOnInit=function(){};Gh.Object.defineProperties(TY.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)}}});TY.\u0275fac=function(a){return new (a||TY)(B(mH),B(QX),B(SG),B(nt))};
TY.\u0275cmp=r({type:TY,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"],["class","icon-xs","title","Component folder path",3,"svgIcon","matTooltip",4,"ngIf"],["class","component-path",4,"ngIf"],[4,"ngIf"],["mat-icon-button","","class","edit-btn","aria-label","Change Component",
"matTooltip","Change Component",3,"click",4,"ngIf"],["mat-icon-button","","class","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"],["title","Component folder path",1,"icon-xs",3,"svgIcon","matTooltip"],[1,"component-path"],[4,"ngFor","ngForOf"],["href","javascript:void(0);","title","Show all Components","class","subtle-link","role","button",3,"click",4,"ngIf"],["class","subtle-link",
3,"routerLinkObj","onedevHovercardTrigger","muted",4,"ngIf","ngIfElse"],["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&&F(0,oZa,13,22,"b-async-data-placeholder",0)(1,qZa,2,5,"ng-template",null,1,tg);if(a&2){var c=S(2);
G("ngIf",!b.editing)("ngIfElse",c)}},dependencies:[AU,Tv,Uv,MA,eA,fA,wL,hK,iK,mK,jK,dC,OX,ZP,$v],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}.partner[_ngcontent-%COMP%]{background-color:#fff3e9;background-color:var(--partner-component-breadcrumb-bg);color:#202124;color:var(--partner-text);box-shadow:inset 0 0 0 2px var(--partner-component-breadcrumb-outline)}.public[_ngcontent-%COMP%]{background-color:#fff8e4;background-color:var(--public-component-breadcrumb-bg);color:#202124;color:var(--public-text);box-shadow:inset 0 0 0 2px var(--public-component-breadcrumb-outline)}.public[_ngcontent-%COMP%]   .edit-btn[_ngcontent-%COMP%], .public[_ngcontent-%COMP%]   .pop-out-btn[_ngcontent-%COMP%], .partner[_ngcontent-%COMP%]   .edit-btn[_ngcontent-%COMP%], .partner[_ngcontent-%COMP%]   .pop-out-btn[_ngcontent-%COMP%]{border-left-color:rgba(0,0,0,0)}.issue-editor-false   [_nghost-%COMP%]     .edit-btn{display:none}"],
changeDetection:0});var psc=["multiUserInput"],UY=function(a,b,c,d,e,f){Z.call(this);var h=this;this.element=a;this.principalTypes=b;this.activeSession=c;this.documentationLinks=d;this.appEvents=e;this.usersChange=new mv(!0);this.includeViewAliases=this.includeAliases=!1;this.maxUserAllowed=-1;this.customValidators={};this.detailedUserValidators={};this.ariaLabel="";this.isValid=new mv;this.typedText="";this.items=[];this.chipifyFn=function(){qsc(h)};this.additionalContactsFn=function(){return rsc(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(UE(f,{title:"Manage Component Page",hotkeys:[{keys:[],displayAs:"Right Arrow (>)",description:"Move the Cursor to Input Field",onPress:function(){}}]}))};Y(UY,Z);UY.\u0275dir=Z.\u0275dir;
UY.prototype.ngOnInit=function(){var a=this;this.validators=Object.assign({},{validateGaia:function(b,c){return ssc(c)},validateInternalAccessLevel:function(b,c){return tsc(a,c)},validateExternalAccessLevel:function(b,c){return usc(a,c)}},this.customValidators)};UY.prototype.ngOnChanges=function(a){if(a.users||a.containerChips)this.items=vsc(this,this.users),VY(this)};
var VY=function(a){var b=[].concat(u(a.items)),c=wsc(b),d=xsc(b);b=a.validate(c,d,b);a.isValid.emit(b);a.users&&$h(a.users,c)||(a.users=c,b&&a.usersChange.emit(c))};
UY.prototype.validate=function(a,b,c){for(var d=new Set,e=l(Object.entries(this.validators)),f=e.next();!f.done;f=e.next()){var h=l(f.value);f=h.next().value;h=h.next().value;h(a,c)||d.add(f)}a=l(Object.entries(this.detailedUserValidators));for(c=a.next();!c.done;c=a.next())e=l(c.value),c=e.next().value,e=e.next().value,e(b)||d.add(c);this.violations=d;return 0===this.violations.size};
var tZa=function(a){!a.isWidgetDisabled()&&ysc(a)&&(a.isFocused=!0,a.textInputElement.nativeElement.focus())},rZa=function(a){sq(a,a.selectedChipIndex)&&(a.items[a.selectedChipIndex].isSelected=!1);a.selectedChipIndex=-1};UY.prototype.isWidgetDisabled=function(){return this.$element.classList.contains("disabled")||!!this.$element.hasAttribute("disabled")};var ysc=function(a){var b,c;return 0>a.maxUserAllowed||(null!=(c=null==(b=a.users)?void 0:b.length)?c:0)<a.maxUserAllowed};
UY.prototype.removeItem=function(a){this.isWidgetDisabled()||!sq(this,a)||this.items[a].isReadonly||(rZa(this),this.items.splice(a,1),VY(this))};UY.prototype.setAccessLevel=function(a){this.accessLevel=a};
var rsc=function(a){return zsc(a).map(function(b){return{text:Era(b),id:Mo({alias:b})}})},zsc=function(a){if(!a.includeAliases||xD(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},qsc=function(a){setTimeout(function(){a.typedText&&ka(a.typedText,",")&&uZa(a,a.typedText.split(",")[0].trim())})},uZa=function(a,b){b&&(b=pcc.test(b)?Asc(a,b):Bsc(a,b),a.items.push(b));
a.typedText="";VY(a)},sq=function(a,b){return 0<=b&&b<a.items.length},Asc=function(a,b){var c=void 0===c?!1:c;var d=Oo(b);if(void 0===d.alias)throw Error("Dd`"+b);b=d.alias;d=Era(b);return new WY("ALIAS",b,d,null,c,a)},Csc=function(a,b){b=so(b);var c=new WY("GROUP",b,b,null,!1,a);VD(a.principalTypes,b,!0).then(function(d){c.detailedUserType=d.detailedUserType;VY(a)});return c},Dsc=function(a,b){var c=void 0===c?!1:c;b=so(b);var d=new WY("USER",b,b,null,c,a);VD(a.principalTypes,b,!0).then(function(e){d.detailedUserType=
e.detailedUserType;VY(a)});return d},Bsc=function(a,b){var c=void 0===c?!1:c;b=so(b);var d=new WY("PRINCIPAL_TYPE_UNSPECIFIED",b,b,null,c,a);VD(a.principalTypes,b,!0).then(function(e){d.principalType=e.principalType;d.detailedUserType=e.detailedUserType;VY(a)});return d},Esc=function(a,b,c){return new WY("PRINCIPAL_TYPE_UNSPECIFIED","",b,c,!0,a)};UY.prototype.getAccessLevel=function(){return this.accessLevel};UY.prototype.getAppName=function(){return this.activeSession.getAppName()};
UY.prototype.onKeyDown=function(a){8===a.keyCode?sq(this,this.selectedChipIndex)?(sq(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?sq(this,this.selectedChipIndex)&&sq(this,this.selectedChipIndex)&&this.removeItem(this.selectedChipIndex):39===a.keyCode&&tZa(this)};
var vsc=function(a,b){b=(b||[]).map(function(d){return Fsc(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 Esc(a,d.displayText,d.values.map(function(e){return Fsc(a,e)}))});return[].concat(u(c),u(b))}return b},Fsc=function(a,b){var c=b.split(":");if(2!==c.length)throw Error("ze`"+b);var d=c[0];if("USER"!==d&&"GROUP"!==d&&"ALIAS"!==d)throw Error("ze`"+b);return"ALIAS"===d?Asc(a,b):"USER"===
d?Dsc(a,c[1]):Csc(a,c[1])},wsc=function(a){return(a||[]).filter(function(b){return"PRINCIPAL_TYPE_UNSPECIFIED"!==b.principalType}).map(function(b){return b.principalType+":"+b.value})},xsc=function(a){return(a||[]).filter(function(b){return"NO_DETAILED_TYPE"!==b.detailedUserType}).map(function(b){return b.detailedUserType+":"+b.value})},ssc=function(a){return!a.some(function(b){return b.isNonGaiaChip()})},tsc=function(a,b){return"INTERNAL"!==a.accessLevel?!0:!b.some(function(c){return c.isInternalAccessViolated()})},
usc=function(a,b){return"EXTERNAL_PARTNER"!==a.accessLevel?!0:!b.some(function(c){return c.isExternalPartnerAccessViolated()})};UY.\u0275fac=function(a){return new (a||UY)(B(Hd),B(UD),B(nt),B(lL),B(lG),B(TE))};
UY.\u0275cmp=r({type:UY,selectors:[["b-multi-user-input"]],viewQuery:function(a,b){a&1&&og(psc,5);if(a&2){var c;ng(c=qg())&&(b.textInputElement=c.first)}},hostBindings:function(a,b){a&1&&Q("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:[yf,ld],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),Q("click",function(){return tZa(b)}),H(1,"div",1),T(2," Press tab to navigate through users and right arrow to go to input section "),K(),H(3,"div"),F(4,sZa,2,9,"div",2)(5,vZa,2,4,"input",3),K()(),H(6,"div",4),F(7,wZa,4,1,"span",5)(8,xZa,2,0,"span",5)(9,yZa,2,0,"span",5)(10,zZa,2,0,"span",5)(11,AZa,2,0,"span",5)(12,BZa,2,0,"span",5),K());a&2&&(Jf("focused",b.isFocused),
Af("aria-label",b.idForInputBox),A(4),G("ngForOf",b.items),A(1),G("ngIf",ysc(b)),A(1),Af("aria-hidden",0===b.violations.size),A(1),G("ngIf",b.violations.has("noRestrictedPlusGroups")),A(1),G("ngIf",b.violations.has("validateGaia")),A(1),G("ngIf",b.violations.has("validateInternalAccessLevel")),A(1),G("ngIf",b.violations.has("validateExternalAccessLevel")),A(1),G("ngIf",b.violations.has("sloLeadNotUser")),A(1),G("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 WY=function(a,b,c,d,e,f){this.principalType=a;this.detailedUserType="NO_DETAILED_TYPE";this.value=b;this.displayText=c;this.nestedChips=d;this.isSelected=!1;this.isReadonly=e;this.parentController=f};g=WY.prototype;
g.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 users, excluding the google.com domain.";case "public":return"All users";default:throw Error("Ae`"+this.value);}};g.isGroupChip=function(){return"GROUP"===this.principalType};
g.isPublicChip=function(){return"ALIAS"===this.principalType&&["public_non_google","public"].includes(this.value)};g.isDomainChip=function(){return"ALIAS"===this.principalType&&["googlers_unrestricted","google_domain"].includes(this.value)};g.isExternalChip=function(){return"EXTERNAL"===this.detailedUserType||"PUBLIC"===this.detailedUserType||this.isPublicChip()};g.isNonGaiaChip=function(){return"NON_GAIA"===this.principalType};g.isContainerChip=function(){return null!==this.nestedChips};
g.isInternalAccessViolated=function(){return"INTERNAL"===this.parentController.getAccessLevel()&&(this.isExternalChip()||this.isPublicChip())};g.isExternalPartnerAccessViolated=function(){return"EXTERNAL_PARTNER"===this.parentController.getAccessLevel()&&this.isPublicChip()};g.isUserChip=function(){return"USER"===this.principalType};var XY=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J){Z.call(this);var I=this;this.errorHandler=a;this.issueApi=b;this.issueFridge=c;this.componentFridge=d;this.trackerFridge=e;this.eventsForIssueFridge=f;this.issuePermissionService=h;this.snackBar=k;this.dialogRef=q;this.data=t;this.analytics=w;this.confirmationDialogService=C;this.jspbPrincipalTypes=J;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(P){var O;return null!=(O=null==P?void 0:P.snapshot[0].issueAccessLimitLevel)?O:I.defaultAccessLimitLevel}));this.updatedAccessLimitLevel$=new E.BehaviorSubject(this.defaultAccessLimitLevel);
this.hasAccessLimitLevelSelectionChanged$=(0,E.combineLatest)([this.currentAccessLimitLevel$,this.updatedAccessLimitLevel$]).pipe(D(function(P){var O=l(P);P=O.next().value;O=O.next().value;return P!==O}));this.componentId=this.data.componentId;this.component$=this.componentFridge.watch(this.componentId);this.trackerId$=this.component$.pipe(D(function(P){return null==P?void 0:P.trackerId}));this.tracker$=this.trackerId$.pipe(af(function(P){return yn(P)?(0,E.of)(void 0):I.trackerFridge.watch(P)}));
this.collaboratorGroupsEmailToDetailsMap=new Map;this.addedCollaboratorGroups=new Set;this.removedCollaboratorGroups=new Set;this.expandedAccessTooltip$=this.isImplicitAccessEnabled$.pipe(D(function(P){return P?"This component has expanded access enabled. Assignees, verifiers, and collaborators can edit issues, and CC'd users can add comments.":"This component has expanded access disabled. Being listed on the issue does not confer any additional access privileges."}));this.currentUserEmail=y.getUserEmail()};
Y(XY,Z);XY.\u0275dir=Z.\u0275dir;
XY.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.currentAccessLimitLevel$.subscribe(function(b){a.updatedAccessLimitLevel$.next(b);CZa(a,b)}));this.subscriptions.add((0,E.combineLatest)([this.tracker$,this.issue$]).subscribe(function(b){var c=l(b);b=c.next().value;c=c.next().value;a.updateCollaboratorGroups(b,c)}));this.subscriptions.add(this.hasAccessLimitLevelSelectionChanged$.subscribe(function(b){a.dialogRef.disableClose=b}));this.analytics.trackEvent(Kp.ISSUE_ACCESS_LIMITS,"view",
"issue_access_limits_dialog:"+this.issueId)};
XY.prototype.updateCollaboratorGroups=function(a,b){var c=this,d,e,f,h;qe(function(k){if(1==k.nextAddress){c.collaboratorGroupsEmailToDetailsMap.clear();c.addedCollaboratorGroups.clear();c.removedCollaboratorGroups.clear();if(a&&a.collaboratorGroups)for(d=l(a.collaboratorGroups),e=d.next();!e.done;e=d.next())f=e.value,f.emailAddress&&c.collaboratorGroupsEmailToDetailsMap.set(f.emailAddress,{user:f,specifiedOnIssue:!1});return b&&b.snapshot&&b.snapshot[0].collaboratorsUsers?k.yield(Gsc(c,b.snapshot[0].collaboratorsUsers),
3):k.jumpTo(0)}h=k.yieldResult;h.forEach(function(q){c.collaboratorGroupsEmailToDetailsMap.set(q.emailAddress,{user:q,specifiedOnIssue:!0})});we(k)})};
var Gsc=function(a,b){var c,d;return qe(function(e){if(1==e.nextAddress)return c=b.map(function(f){return f.emailAddress}).filter(jl),e.yield(z_b(a.jspbPrincipalTypes,c,!1),2);d=e.yieldResult;return e.return(b.filter(function(f){if(!f.emailAddress)return!1;var h;return"GROUP"===(null==(h=d[f.emailAddress])?void 0:h.principalType)}))})},Hsc=function(a){return a?"Expanded access on":"Expanded access off"},FZa=function(a,b){return 0<a.addedCollaboratorGroups.size||0<a.removedCollaboratorGroups.size||
!0===b},CZa=function(a,b){0<a.addedCollaboratorGroups.size&&a.analytics.trackEvent(Kp.QUICK_ADD_COLLABORATORS,"update","idp_added_dryrun:"+a.issueId);0<a.removedCollaboratorGroups.size&&a.analytics.trackEvent(Kp.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=Qo(c.writers);a.appenders=Qo(c.appenders);a.readers=Qo(c.readers)},
function(c){HG(a.errorHandler,c)})};g=XY.prototype;g.manageComponentAccessRouterLink=function(a){return{path:"/components/"+a+"/manage",fragment:"access"}};g.closeDialog=function(){this.dialogRef.close()};g.onEnter=function(){this.onPressSave()};g.onEscape=function(){this.dialogRef.close()};
g.onPressSave=function(){var a=this,b=Mo({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:ch(c),onConfirm:function(){a.save()}})}};
g.save=function(){var a=this;this.dialogRef.close();this.issueApi.updateAccessLimit(this.issueId,this.updatedAccessLimitLevel$.value,Array.from(this.addedCollaboratorGroups),Array.from(this.removedCollaboratorGroups)).then(function(){a.didSave();a.analytics.trackEvent(Kp.ISSUE_ACCESS_LIMITS,"update","issue_access_limits_dialog:"+a.updatedAccessLimitLevel$.value);0<a.addedCollaboratorGroups.size&&a.analytics.trackEvent(Kp.QUICK_ADD_COLLABORATORS,"update","idp_added:"+a.issueId);0<a.removedCollaboratorGroups.size&&
a.analytics.trackEvent(Kp.QUICK_ADD_COLLABORATORS,"update","idp_removed:"+a.issueId)},function(b){HG(a.errorHandler,b)})};g.didSave=function(){this.snackBar.open("Successfully saved access configuration",void 0,{duration:2500});this.issueFridge.poke(this.issueId);this.eventsForIssueFridge.poke(this.issueId)};g.onPressCancel=function(){this.dialogRef.close()};XY.\u0275fac=function(a){return new (a||XY)(B(FG),B(kG),B(iI),B(mH),B(RG),B(AH),B(gP),B(BG),B(sA),B(uA),B(aI),B(nt),B(SJ),B(WD))};
XY.\u0275cmp=r({type:XY,selectors:[["b-issue-access-limits-dialog"]],hostBindings:function(a,b){a&1&&Q("keydown.escape",function(){return b.onEscape()})},features:[yf],decls:38,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,"user-display-area"],[1,"limit-users-title"],["idForInputBox","Users who can edit, comment, and view",3,"users","includeAliases","includeViewAliases"],["idForInputBox","Users who can comment and view",3,"users","includeAliases","includeViewAliases"],["idForInputBox","Users who can only view",3,"users","includeAliases","includeViewAliases"],
["mat-dialog-actions",""],[4,"ngIf","ngIfElse"],["closeButton",""],[1,"collaborator-groups-title"],[1,"collaborator-groups-checkboxes"],[4,"ngFor","ngForOf"],[1,"collaborator-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),L(2,"mat-icon",2),K(),H(3,"h2",3),T(4,"Issue access level"),K()(),H(5,"div"),L(6,"b-component-breadcrumb-chip",4),H(7,"span",5),W(8,"async"),H(9,"span",6),T(10),W(11,"async"),K(),L(12,"mat-icon",7),W(13,"async"),K()(),H(14,"b-issue-access-limits-dropdown",8),Q("updatedAccessLimitLevel",function(k){b.updatedAccessLimitLevel$.next(k);CZa(b,k)}),W(15,"async"),W(16,"async"),W(17,"async"),K(),F(18,EZa,8,4,"ng-container",9),W(19,"async"),H(20,"div",10)(21,"div")(22,"div",11),T(23,"Users who can edit, comment, and view"),
K(),L(24,"b-multi-user-input",12),K(),H(25,"div")(26,"div",11),T(27,"Users who can comment and view"),K(),L(28,"b-multi-user-input",13),K(),H(29,"div")(30,"div",11),T(31,"Users who can only view"),K(),L(32,"b-multi-user-input",14),K()(),H(33,"div",15),F(34,GZa,6,3,"ng-container",16),W(35,"async"),F(36,HZa,2,0,"ng-template",null,17,tg),K());if(a&2){var c=S(37),d,e,f,h;A(6);G("issueId",b.issueId)("componentId",b.data.componentId)("compactMode",!0)("popoutLink",b.manageComponentAccessRouterLink)("viewOnly",
!0);A(1);Jf("expanded-access-on",X(8,27,b.isImplicitAccessEnabled$));A(3);$f(Hsc(null!==(d=X(11,29,b.isImplicitAccessEnabled$))&&void 0!==d?d:!1));A(2);G("matTooltip",null!==(e=X(13,31,b.expandedAccessTooltip$))&&void 0!==e?e:"");A(2);G("disabled",!X(15,33,b.hasAclToAdmin$))("defaultAccessLimitLevel",null!==(f=X(16,35,b.currentAccessLimitLevel$))&&void 0!==f?f:b.defaultAccessLimitLevel)("implicitAccessEnabled",null!==(h=X(17,37,b.isImplicitAccessEnabled$))&&void 0!==h?h:!1);A(4);G("ngIf",0<b.collaboratorGroupsEmailToDetailsMap.size&&
X(19,39,b.hasAclToAdmin$));A(6);G("users",b.writers)("includeAliases",!1)("includeViewAliases",!1);Af("disabled",!0);A(4);G("users",b.appenders)("includeAliases",!1)("includeViewAliases",!1);Af("disabled",!0);A(4);G("users",b.readers)("includeAliases",!1)("includeViewAliases",!1);Af("disabled",!0);A(2);G("ngIf",X(35,41,b.hasAclToAdmin$))("ngIfElse",c)}},dependencies:[OW,Tv,Uv,MA,TY,eA,zA,dC,UY,eL,$v,ew],styles:[".issue-limits-dialog-title-txt[_ngcontent-%COMP%]{padding:0 20px;font-size:1.4rem;line-height:2rem}.user-display-area[_ngcontent-%COMP%]{min-height:400px}.limit-users-title[_ngcontent-%COMP%]{font-weight:400;color:#202124;color:var(--text-default);padding-bottom:5px;font-size:1rem}.bv2-issue-limits-title[_ngcontent-%COMP%]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;font-weight:400;padding:20px 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}.collaborator-groups-title[_ngcontent-%COMP%]{padding:0 5px 5px 0;font-size:1rem}.collaborator-groups-checkboxes[_ngcontent-%COMP%]{padding:5px 10px 20px 0}div.disabled[_ngcontent-%COMP%]{color:var(--text-disabled)}.collaborator-groups-email[_ngcontent-%COMP%]{padding-right:20px}.expanded-access-txt[_ngcontent-%COMP%], .issue-limits-component-id[_ngcontent-%COMP%]{padding:5px}\n/*# sourceMappingURL=issue_access_limits_dialog.css.map */"]});
var YY=function(a){this.dialog=a;this.dialogRef=null};YY.prototype.open=function(a){this.dialogRef=this.dialog.open(XY,{panelClass:"no-jitter",data:a,ariaLabel:"Issue access level"})};YY.prototype.isOpen=function(){return this.dialogRef?0===this.dialogRef.getState():!1};YY.\u0275fac=function(a){return new (a||YY)(p(vA))};YY.\u0275prov=Dc({token:YY,factory:YY.\u0275fac,providedIn:"root"});var ZY=function(){this.isReady=!1};ZY.\u0275fac=function(a){return new (a||ZY)};ZY.\u0275cmp=r({type:ZY,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&&(Vf(),F(0,IZa,1,0,"div",0)(1,JZa,2,0,"ng-container",1));a&2&&(G("ngIf",!b.isReady),A(1),G("ngIf",b.isReady))},dependencies:[Uv],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 $Y=function(){this.warning=""};$Y.\u0275fac=function(a){return new (a||$Y)};
$Y.\u0275cmp=r({type:$Y,selectors:[["onedev-warning-icon"]],hostVars:2,hostBindings:function(a,b){a&2&&Jf("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&&F(0,KZa,2,1,"svg",0);a&2&&
G("ngIf",b.warning)},dependencies:[Uv,dC],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 Isc=["*",[["","actions",""]]],Jsc=[[["onedev-field-label"]],[["onedev-field-value"]]],Ksc=0,aZ=function(){this.thinking=!1;this.warning=this.labelTooltip="";this.id="onedev-field-label-"+Ksc;Ksc++};aZ.\u0275fac=function(a){return new (a||aZ)};
aZ.\u0275cmp=r({type:aZ,selectors:[["onedev-field-label"]],hostVars:1,hostBindings:function(a,b){a&2&&Af("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&&(Vf(),H(0,"onedev-async-data-placeholder",0)(1,"span",1),Wf(2),K(),L(3,"onedev-warning-icon",2),K());a&2&&(G("isReady",!b.thinking),A(1),G("matTooltip",b.labelTooltip),A(2),G("warning",
b.warning))},dependencies:[ZY,dC,$Y],styles:["[_nghost-%COMP%]{line-height:29px;font-size:13px}span.label[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}"]});var bZ=function(){this.thinking=!1};bZ.\u0275fac=function(a){return new (a||bZ)};
bZ.\u0275cmp=r({type:bZ,selectors:[["onedev-field-value"]],inputs:{thinking:"thinking"},ngContentSelectors:["*","[actions]"],decls:3,vars:1,consts:[[3,"isReady"]],template:function(a,b){a&1&&(Vf(Isc),H(0,"onedev-async-data-placeholder",0),Wf(1),Wf(2,1),K());a&2&&G("isReady",!b.thinking)},dependencies:[ZY],encapsulation:2});var cZ=function(){this.labelPosition="left"};cZ.prototype.ngAfterContentInit=function(){var a=this;setTimeout(function(){a.field&&a.label&&(a.field.labelledById=a.label.id)})};
cZ.\u0275fac=function(a){return new (a||cZ)};
cZ.\u0275cmp=r({type:cZ,selectors:[["onedev-edit-field"]],contentQueries:function(a,b,c){a&1&&(pg(c,VM,5),pg(c,aZ,7));if(a&2){var d;ng(d=qg())&&(b.field=d.first);ng(d=qg())&&(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&&(Vf(Jsc),H(0,"div",0),Wf(1),Wf(2,1),K());a&2&&Jf("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 Lsc=["popOverContent"],dZ=function(a,b){this.overlay=a;this.viewContainerRef=b;this.newlineWithEnterKey=this.displayUnder=!1;this.hasBackdrop=!0;this.fitToViewport=!1;this.minWidth=null;this.saveDisabled=!1;this.closedWithAction=new mv;this.isOpen=!1;this.destroyed$=new E.ReplaySubject(1);this.backdropClickSubscription=E.Subscription.EMPTY};dZ.prototype.ngOnInit=function(){};dZ.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
dZ.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(){NZa(a)}))};dZ.prototype.close=function(){this.isOpen&&this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=void 0,this.isOpen=!1,this.backdropClickSubscription.unsubscribe())};
var MZa=function(a){a.closedWithAction.emit(0);a.close()},NZa=function(a){a.closedWithAction.emit(1);a.close()};g=dZ.prototype;g.processKeydown=function(a){switch(a.key){case "Escape":NZa(this);a.stopPropagation();break;case "Enter":if(this.newlineWithEnterKey){if(a.metaKey||a.ctrlKey)MZa(this),a.stopPropagation(),a.preventDefault()}else a.shiftKey||(MZa(this),a.stopPropagation(),a.preventDefault())}};
g.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy(),c;a=this.overlay.create({positionStrategy:a,scrollStrategy:b,hasBackdrop:this.hasBackdrop,backdropClass:"onedev-pop-over-edit-panel-backdrop",panelClass:"onedev-pop-over-edit-panel",width:8+Math.max(null!=(c=this.minWidth)?c:0,this.anchor.offsetWidth)});a.overlayElement.setAttribute("role","dialog");return a};
g.attach=function(){var a=new iy(this.contentTemplateRef,this.viewContainerRef),b;null==(b=this.overlayRef)||b.attach(a);var c;null==(c=this.overlayRef)||c.updatePosition()};g.getPositionStrategy=function(){var a=GQb(by(fy(this.overlay.position(),this.anchor),this.fitToViewport),this.fitToViewport);a._offsetX=-4;a._offsetY=this.displayUnder?this.anchor.offsetHeight:-4;return Zx(a,Msc)};g.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
dZ.\u0275fac=function(a){return new (a||dZ)(B(oy),B(lg))};
dZ.\u0275cmp=r({type:dZ,selectors:[["onedev-pop-over-edit-panel"]],viewQuery:function(a,b){a&1&&og(Lsc,7);if(a&2){var c;ng(c=qg())&&(b.contentTemplateRef=c.first)}},inputs:{anchor:"anchor",editorTemplate:"editorTemplate",displayUnder:"displayUnder",newlineWithEnterKey:"newlineWithEnterKey",hasBackdrop:"hasBackdrop",fitToViewport:"fitToViewport",minWidth:"minWidth",saveDisabled:"saveDisabled"},outputs:{closedWithAction:"closedWithAction"},exportAs:["onedevPopOverEditPanel"],decls:2,vars:0,consts:[["popOverContent",
""],["cdkTrapFocus","",1,"content","gmat-elevation-z2",3,"cdkTrapFocusAutoCapture","keydown"],[1,"edit-field"],[4,"ngTemplateOutlet"],[1,"actions"],["mat-button","","color","primary",1,"save",3,"disabled","click"],["mat-button","","color","primary",1,"cancel",3,"click"]],template:function(a){a&1&&F(0,OZa,8,3,"ng-template",null,0,tg)},dependencies:[Zv,fx,eA],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 Msc=[{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 Nsc=["popOver"],QZa=function(a){return{$implicit:a}},eZ=function(a){this.disabled=!1;this.displayEditIcon=!0;this.openPopOverOnInit=!1;this.valueChange=new mv;this.required=this.editing=this.headerFocused=!1;this.editingValue="";this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=!0};Y(eZ,VM);g=eZ.prototype;g.ngOnInit=function(){};g.ngAfterViewInit=function(){var a=this;this.openPopOverOnInit&&setTimeout(function(){a.startEditing()})};
g.valueChanged=function(){return VZa(this.editingValue)!==this.value};g.startEditing=function(){this.disabled||(this.onTouched(),this.editing=!0,this.editingValue=null!=this.value?String(this.value):"",this.popOver.open())};g.stopEditing=function(a){this.editing=!1;0===a&&(this.onChange(this.editingValue),this.value=a=VZa(this.editingValue),this.valueChange.emit(a))};g.writeValue=function(a){var b=VZa(a);if(null!=a||this.val!==b)this.val=b,this.editingValue=null!=a?a:""};
g.isActive=function(){return this.headerFocused||this.editing};g.registerOnChange=function(a){this.onChange=a};g.registerOnTouched=function(a){this.onTouched=a};g.setDisabledState=function(a){this.disabled=a};Gh.Object.defineProperties(eZ.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(null!=a?String(a):null)}}});eZ.\u0275fac=function(a){return new (a||eZ)(Bd("required"))};
eZ.\u0275cmp=r({type:eZ,selectors:[["onedev-numeric-field"]],viewQuery:function(a,b){a&1&&og(Nsc,7);if(a&2){var c;ng(c=qg())&&(b.popOver=c.first)}},inputs:{value:"value",disabled:"disabled",displayEditIcon:"displayEditIcon",labelledById:"labelledById",openPopOverOnInit:"openPopOverOnInit",valueTemplate:"valueTemplate"},outputs:{valueChange:"valueChange"},features:[bg([{provide:jw,useExisting:Jc(function(){return eZ}),multi:!0},{provide:VM,useExisting:Jc(function(){return eZ}),multi:!0}]),yf],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),Q("click",function(){return b.startEditing()})("focus",function(){return b.headerFocused=!0})("blur",function(){return b.headerFocused=!1}),H(2,"span"),F(3,RZa,2,4,"ng-container",2)(4,SZa,1,1,"ng-template",null,3,tg),K(),F(6,TZa,2,0,"svg",4),K(),H(7,"onedev-pop-over-edit-panel",5,6),Q("closedWithAction",function(f){return b.stopEditing(f)}),K(),F(9,UZa,1,1,"ng-template",null,7,tg));if(a&2){var c=S(1),d=S(5),
e=S(10);G("disabled",b.disabled);A(3);G("ngIf",b.valueTemplate)("ngIfElse",d);A(3);G("ngIf",!b.disabled&&b.displayEditIcon);A(1);G("anchor",c)("editorTemplate",e)}},dependencies:[Uv,Zv,Jg,Fw,ww,Dw,dZ],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 a_a=function(){return[]},fZ=function(){this.disabled=this.thinking=!1;this.effortChange=new mv;this.isCompatibleValue=!0;this.fieldName="";this.fieldType="UNKNOWN";this.isNaN=isNaN};
fZ.prototype.ngOnChanges=function(){if("DROPDOWN"===this.getFieldType()){var a;this.effortSpec&&null!=(a=this.effortSpec.enumSpec)&&a.options&&this.effort&&this.effort.estimate?(a=Osc(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=Psc(this)};fZ.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=Psc(this);this.effortChange.emit(this.effort)};fZ.prototype.getFieldName=function(){return this.effortSpec?this.effortSpec.name||"":this.effort?"Estimate "+this.effort.specId:"Estimate"};
fZ.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 Psc=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"===Osc(a))return!1;var e,f;return"NUMERIC"===a.getFieldType()&&isNaN(Number(null!=(f=null==(e=a.effort)?void 0:e.estimate)?f:""))?!1:!0},Osc=function(a){var b;if(null==(b=a.effort)?0:b.estimate){var c,d,e,f;return null!=(f=null==(c=a.effortSpec)?void 0:null==(d=c.enumSpec)?void 0:null==(e=d.options)?
void 0:e.find(function(h){var k;return h.label===(null==(k=a.effort)?void 0:k.estimate)}))?f:"incompatible"}};fZ.\u0275fac=function(a){return new (a||fZ)};
fZ.\u0275cmp=r({type:fZ,selectors:[["b-estimated-effort-row"]],inputs:{thinking:"thinking",effort:"effort",effortSpec:"effortSpec",disabled:"disabled"},outputs:{effortChange:"effortChange"},features:[ld],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&&F(0,d_a,16,7,"onedev-edit-field",0)(1,g_a,3,2,"ng-template",null,1,tg);a&2&&G("ngIf",b.effortSpec)},dependencies:[Uv,Vv,Wv,Xv,MA,aZ,
bZ,cZ,WM,eZ,hK,mK],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 Obb=function(a){this.internalArray_=m(a,1)};Y(Obb,n);var Cr=function(){this.filter_=null;this.boostIds_=[];this.primingTimeoutMillis_=1E3;this.searchMaxResults_=this.suggestMaxResults_=this.searchFormat_=this.suggestFormat_=this.queryScope_=0;this.slots_=[];this.entryPoint_=0;this.filterEmptyExplodingGroups_=!0;this.selectedCustomProviderNames_=null};g=Cr.prototype;g.getFilter=function(){return this.filter_};g.setFilter=function(a){this.filter_=a;return this};g.setQueryScope=function(a){this.queryScope_=a;return this};g.getQueryScope=function(){return this.queryScope_};
g.getEntryPoint=function(){return this.entryPoint_};g.setEntryPoint=function(a){this.entryPoint_=a;return this};g.getSuggestFormat=function(){return this.suggestFormat_};g.getSearchFormat=function(){return this.searchFormat_};g.getSuggestMaxResults=function(){return this.suggestMaxResults_};g.getSearchMaxResults=function(){return this.searchMaxResults_};
g.clone=function(){var a=new Cr;a.filter_=this.filter_;a.filterEmptyExplodingGroups_=this.filterEmptyExplodingGroups_;a.boostIds_=this.boostIds_;a.primingTimeoutMillis_=this.primingTimeoutMillis_;a.queryScope_=this.queryScope_;a.slots_=this.slots_;a.entryPoint_=this.entryPoint_;a.suggestFormat_=this.suggestFormat_;a.searchFormat_=this.searchFormat_;a.suggestMaxResults_=this.suggestMaxResults_;a.searchMaxResults_=this.searchMaxResults_;a.selectedCustomProviderNames_=this.selectedCustomProviderNames_;
return a};var rs=function(a){this.internalArray_=m(a)};Y(rs,n);rs.prototype.getEntryPoint=function(){return Li(this,5,0)};rs.prototype.setEntryPoint=function(a){return hj(this,5,a)};var ts=function(a){this.internalArray_=m(a)};Y(ts,n);ts.prototype.getEntryPoint=function(){return Li(this,1,0)};ts.prototype.setEntryPoint=function(a){return hj(this,1,a)};var gZ=function(a){this.internalArray_=m(a)};Y(gZ,n);gZ.prototype.getQuery=function(){return xi(this,1,"")};gZ.prototype.setQuery=function(a){return gj(this,1,a)};gZ.prototype.clearQuery=function(){lm(this,1)};gZ.prototype.hasQuery=function(){return yi(this,1)};var Qsc=function(a,b){nj(a,3,b)};gZ.prototype.getAffinityVersion=function(){return Xh(this,7)};gZ.prototype.setAffinityVersion=function(a){dj(this,7,a)};gZ.prototype.getAffinityVersionOrUndefined=function(){return Yt(this,7)};
var Rsc=function(a){var b=Wcc();lm(a,8,kb(b))};g=gZ.prototype;g.getSources=function(){return vi(this,rs,10)};g.getInstanceId=function(){return xi(this,11,"")};g.setInstanceId=function(a){return gj(this,11,a)};g.clearInstanceId=function(){lm(this,11)};g.hasInstanceId=function(){return yi(this,11)};g.getInstanceIdOrUndefined=function(){return $t(this,11)};var ks=function(a){this.internalArray_=m(a)};Y(ks,n);g=ks.prototype;g.getPersonLoggingId=function(){return xi(this,1)};g.setPersonLoggingId=function(a){gj(this,1,a)};g.getFieldLoggingId=function(){return xi(this,2)};g.setFieldLoggingId=function(a){gj(this,2,a)};g.setFieldValue=function(a){return gj(this,3,a)};g.clearFieldValue=function(){return lm(this,3)};g.getName=function(){return xi(this,4)};g.setName=function(a){return gj(this,4,a)};g.hasName=function(){return yi(this,4)};
g.getNameOrUndefined=function(){return $t(this,4)};g.getContactId=function(){return xi(this,5)};g.setContactId=function(a){gj(this,5,a)};g.getProfileId=function(){return xi(this,6)};g.getProfileId_legacyNullable=function(){return wj(this,6)};g.setProfileId=function(a){return gj(this,6,a)};g.hasProfileId=function(){return yi(this,6)};g.getFieldType=function(){return Li(this,7,0)};g.getIsPlaceholder=function(){return Hi(this,10,!1)};g.setIsPlaceholder=function(a){cj(this,10,a)};
g.getGroupId=function(){return xi(this,11)};g.setGroupId=function(a){gj(this,11,a)};g.hasGroupId=function(){return yi(this,11)};var js=function(a){this.internalArray_=m(a)};Y(js,n);g=js.prototype;g.getProvenance=function(){return Li(this,3,0)};g.setProvenance=function(a){return hj(this,3,a)};g.getContext=function(){return Li(this,5,0)};g.getExistingSelectionsCount=function(){return Xh(this,6,0)};g.setExistingSelectionsCount=function(a){dj(this,6,a)};var is=function(a){this.internalArray_=m(a)};Y(is,n);var or=function(a){return vi(a,js,2)};is.prototype.getSessionState=function(){return vi(this,gZ,3)};is.prototype.setSessionState=function(a){ej(this,gZ,3,a)};is.prototype.hasSessionState=function(){return Pi(this,gZ,3)};var gs=function(a){this.internalArray_=m(a)};Y(gs,n);g=gs.prototype;g.getType=function(){return Li(this,1,0)};g.setType=function(a){return hj(this,1,a)};g.hasType=function(){return Ji(this,1)};g.getValue=function(){return xi(this,2,"")};g.setValue=function(a){return gj(this,2,a)};g.hasValue=function(){return yi(this,2)};var Ssc=function(a){this.delegate_=a};g=Ssc.prototype;g.getDelegate=function(){return this.delegate_};g.getId=function(){return this.delegate_.getId()};g.getTargetType=function(){return this.delegate_.getTargetType()};g.getValue=function(){return this.delegate_.getValue()};g.getDisplayValue=function(){return this.delegate_.getDisplayValue()};g.getCanonicalValue=function(){return this.delegate_.getCanonicalValue()};g.getDescription=function(){return this.delegate_.getDescription()};g.getName=function(){return this.delegate_.getName()};
g.getPhoto=function(){return this.delegate_.getPhoto()};g.getTagList=function(){return this.delegate_.getTagList()};g.getSourceIdList=function(){return this.delegate_.getSourceIdList()};g.getProfileId=function(){return this.delegate_.getProfileId()};g.getContactId=function(){return this.delegate_.getContactId()};g.getLoggingToken=function(){return this.delegate_.getLoggingToken()};g.getIsMe=function(){return this.delegate_.getIsMe()};g.getIsPersonalResult=function(){return this.delegate_.getIsPersonalResult()};
g.getOrgState=function(){return this.delegate_.getOrgState()};g.getEmailSecurityInfo=function(){return this.delegate_.getEmailSecurityInfo()};g.getDataSource=function(){return this.delegate_.getDataSource()};g.getOriginatingField=function(){return this.delegate_.getOriginatingField()};g.getExtendedData=function(){return this.delegate_.getExtendedData()};var vbb=function(){this.familyName_=this.givenName_=this.displayName_="";this.sourceType_=0};g=vbb.prototype;g.getDisplayName=function(){return this.displayName_};g.setDisplayName=function(a){this.displayName_=a||"";return this};g.getGivenName=function(){return this.givenName_};g.setGivenName=function(a){this.givenName_=a||"";return this};g.getFamilyName=function(){return this.familyName_};g.setFamilyName=function(a){this.familyName_=a||"";return this};g.getSourceType=function(){return this.sourceType_};
g.setSourceType=function(a){this.sourceType_=a||0;return this};var Tsc=function(a,b){this.delegate_=a;this.name_=b};Y(Tsc,Ssc);Tsc.prototype.getName=function(){return this.name_};var hZ=function(a){this.delegate_=a};g=hZ.prototype;g.getDelegate=function(){return this.delegate_};g.getResultType=function(){return this.delegate_.getResultType()};g.getTargetList=function(){return this.delegate_.getTargetList()};g.getMemberList=function(){return this.delegate_.getMemberList()};g.getTotalMemberCount=function(){return this.delegate_.getTotalMemberCount()};g.getPrimaryTarget=function(){return this.delegate_.getPrimaryTarget()};g.getDisplayName=function(){return this.delegate_.getDisplayName()};
g.getDisplayValue=function(){return this.delegate_.getDisplayValue()};g.getDescription=function(){return this.delegate_.getDescription()};g.getPhotoUrl=function(){return this.delegate_.getPhotoUrl()};g.getMatchInfo=function(){return this.delegate_.getMatchInfo()};g.getExtendedData=function(){return this.delegate_.getExtendedData()};var tq=function(a){this.delegate_=a};Y(tq,hZ);g=tq.prototype;g.getPrimaryTarget=function(){return this.getTargetList()[0]};g.getDisplayName=function(){var a=this.getPrimaryTarget();return a?(a=a.getName())?a.getDisplayName():"":""};g.getPhotoUrl=function(){var a=this.getPrimaryTarget();return a?(a=a.getPhoto())?a.getUrl():"":""};g.getDisplayValue=function(){var a=this.getPrimaryTarget();return a?a.getDisplayValue():""};
g.getDescription=function(){var a=this.getPrimaryTarget();return a?a.getDescription():""};var h_a=function(a,b){this.delegate_=a;this.targets_=b};Y(h_a,hZ);h_a.prototype.getTargetList=function(){return this.targets_};var iZ=function(){};iZ.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 tq(new h_a(a,c))};iZ.prototype.reset=function(){};var j_a=function(a){this.types_=a};Y(j_a,iZ);j_a.prototype.shouldRemove=function(a){return!this.types_.includes(a.getTargetType())};j_a.prototype.reset=function(){};var l_a=function(a){this.sourceIds_=a.filter(function(b){return rbb.includes(b.getType())}).map(String);this.targetIds_=a.filter(function(b){return ydc.includes(b.getType())}).map(String)};Y(l_a,iZ);l_a.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 n_a=function(a){this.filters_=a};n_a.prototype.filterResult=function(a){for(var b=l(this.filters_),c=b.next();!c.done;c=b.next())if(a=c.value.filterResult(a),!a)return null;return a};n_a.prototype.reset=function(a){for(var b=l(this.filters_),c=b.next();!c.done;c=b.next())c.value.reset(a)};var Usc=o_a();var Vsc=new bd("PeoplekitClientConfig"),Wsc=function(a){this.matcher=a};Wsc.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};Wsc.prototype.reset=function(){};var Xsc=function(a){this.internalArray_=m(a)};Y(Xsc,n);g=Xsc.prototype;g.setMaxResults=function(a){return dj(this,1,a)};g.getQuery=function(){return xi(this,2,"")};g.setQuery=function(a){return gj(this,2,a)};g.clearQuery=function(){lm(this,2)};g.hasQuery=function(){return yi(this,2)};var Ysc=function(){this.dynamicDataProviders_=[];this.staticDataProviders_=[]};var Zsc=function(a){this.internalArray_=m(a,1)};Y(Zsc,n);var $sc=function(a){this.internalArray_=m(a)};Y($sc,n);g=$sc.prototype;g.getExperimentIdsList=function(){return Zh(this,1)};g.setExperimentIdsList=function(a){return ap(this,1,a)};g.getExperimentIds=function(){return Wt(this,1)};g.setExperimentIds=function(a){au(this,1,a)};g.getProfileId=function(){return xi(this,2)};g.getProfileId_legacyNullable=function(){return wj(this,2)};g.setProfileId=function(a){return gj(this,2,a)};g.hasProfileId=function(){return yi(this,2)};$sc.repeatedFields_=[1];var atc=function(){},btc=function(){return!1},ctc=function(){this.experiments_=(new $sc).setProfileId(VQ.userProfileId);this.peopleApiEnv_=VQ.apiEnv;this.userEmail_=VQ.userEmail;this.delegatorId_="";this.onAuthError_=atc;this.offlineStorage_=null;this.apiKey_=this.clearcutUrl_="";this.isOffline_=btc;this.customDataConfig_=null;this.isOrgStateEnabled_=!1};g=ctc.prototype;g.getUserEmail=function(){return this.userEmail_};g.getDelegatorId=function(){return this.delegatorId_};g.getPeopleApiEnv=function(){return this.peopleApiEnv_};
g.setPeopleApiEnv=function(a){this.peopleApiEnv_=a;return this};g.getExperiments=function(){return this.experiments_};g.getAuthErrorHandler=function(){return this.onAuthError_};g.setClearcutUrl=function(a){this.clearcutUrl_=a};g.getClearcutUrl=function(){return this.clearcutUrl_};g.setAuthErrorHandler=function(a){this.onAuthError_=a||atc};g.getApiKey=function(){return this.apiKey_};g.setApiKey=function(a){this.apiKey_=a;return this};var jZ=function(a,b){null!=b||(b=Nc(ef));var c=new ctc;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 Ysc;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 Ddc(c.getPeopleApiEnv(),new Edc(""))}});this.peopleStore=b.peopleStore;this.environmentConfig=b.environmentConfig};jZ.\u0275fac=function(a){return new (a||jZ)(p(Vsc),p(ef))};jZ.\u0275prov=Dc({token:jZ,factory:jZ.\u0275fac});var kZ=function(a,b,c,d,e,f){this.clientConfig=a;this.document=b;this.peopleKitService=c;this.inputEl=d;this.zone=e;this.renderer=f;this.selectionChange=new mv;this.sessionOptions=(new Cr).setFilter(dtc);this.inputSearchDelay=200;this.destroyed$=new E.ReplaySubject(1);this.inputChanged$=new E.ReplaySubject(1)};kZ.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.autocomplete.dispose()};
kZ.prototype.ngOnInit=function(){var a=this,b=this.clientConfig.autocompleteFactory.createConfig(this.peopleKitService.environmentConfig);p_a(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 f;(null!=(f=KEa(a.inputEl.nativeElement))?
f:a.document.body).append(e)}c=d.call(c,a.peopleKitService.autocompleteAnchor,a.inputEl.nativeElement,a.peopleKitService.peopleStore,b,a.sessionOptions)}a.autocomplete=c});etc(this.autocomplete,function(c){a.selectionChange.emit(c);a.autocomplete.report(4)});this.inputChanged$.pipe(Ne(this.inputSearchDelay)).subscribe(function(){a.search()})};kZ.prototype.search=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.search(a.inputEl.nativeElement.value,a.inputEl.nativeElement)})};
kZ.prototype.cancel=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.cancel()})};kZ.\u0275fac=function(a){return new (a||kZ)(B(Vsc),B(Xg),B(jZ),B(Hd),B(ef),B(Eu))};
kZ.\u0275dir=Vc({type:kZ,selectors:[["input","peoplekitAutocomplete",""]],hostBindings:function(a,b){a&1&&Q("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 dtc=k_a(1);var ftc=["popOver"],gtc=["inputBox"],lZ=function(a){this.defaultAutocompleteConfig=a;this.mergedAutocompleteConfig=Object.assign({},htc,this.defaultAutocompleteConfig);this.displayUnder=!1;this.initialInputValue="";this.openPopOverOnInit=!1;this.closed=new mv;this.inputValue="";this.sessionOptions=itc};lZ.prototype.ngAfterViewInit=function(){this.openPopOverOnInit&&this.openPopOver(this.initialInputValue)};
lZ.prototype.ngOnChanges=function(a){a.autocompleteConfig&&(this.mergedAutocompleteConfig=Object.assign({},htc,this.defaultAutocompleteConfig,this.autocompleteConfig))};lZ.prototype.openPopOver=function(a){var b=this;this.inputValue=a;this.popOver.open();setTimeout(function(){var c;null==(c=b.inputBox)||c.nativeElement.select()})};lZ.prototype.onPopOverClose=function(a){this.closed.emit(0===a?this.inputValue:void 0);this.inputValue=""};lZ.\u0275fac=function(a){return new (a||lZ)(B(jtc,8))};
lZ.\u0275cmp=r({type:lZ,selectors:[["onedev-user-picker-panel","anchor",""]],viewQuery:function(a,b){a&1&&(og(ftc,7),og(gtc,5));if(a&2){var c;ng(c=qg())&&(b.popOver=c.first);ng(c=qg())&&(b.inputBox=c.first)}},inputs:{anchor:"anchor",autocompleteConfig:"autocompleteConfig",displayUnder:"displayUnder",initialInputValue:"initialInputValue",openPopOverOnInit:"openPopOverOnInit"},outputs:{closed:"closed"},features:[ld],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),Q("closedWithAction",function(d){return b.onPopOverClose(d)}),K(),F(2,q_a,2,3,"ng-template",null,2,tg));if(a&2){var c=S(3);G("anchor",b.anchor)("displayUnder",b.displayUnder)("editorTemplate",
c)}},dependencies:[Jg,ww,Dw,dZ,kZ],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 jtc=new bd("user-picker-autocomplete-config"),htc={showSuggestions:!0,moveAutocompleteAboveAnchorIfOffscreen:!0,density:2},itc=(new Cr).setFilter(o_a(k_a(1),new Wsc(function(a){return 0<=a.indexOf("-pager")||0<=a.indexOf("+pager")||0<=a.indexOf("lifeguard-ng")})));var s_a=function(a){return{$implicit:a}},ktc=0,mZ=function(){this.val="";this.disabled=!1;this.emailChange=new mv;this.popOverOpen=this.active=!1;this.contentId="onedev-user-picker-"+ktc;this.onChange=function(){};this.onTouched=function(){};ktc++};Y(mZ,VM);g=mZ.prototype;g.openPopOver=function(){this.disabled||(this.onTouched(),this.popOver.openPopOver(this.email),this.popOverOpen=!0)};
g.onPopOverClose=function(a){null!=a&&a!==this.email&&(this.onChange(a),this.emailChange.emit(a),this.email=a);this.popOverOpen=!1};g.contentAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.contentId};g.writeValue=function(a){null!=a&&(this.val=a)};g.isActive=function(){return this.active||this.popOverOpen};g.registerOnChange=function(a){this.onChange=a};g.registerOnTouched=function(a){this.onTouched=a};g.setDisabledState=function(a){this.disabled=a};
Gh.Object.defineProperties(mZ.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});mZ.\u0275fac=function(a){return new (a||mZ)};
mZ.\u0275cmp=r({type:mZ,selectors:[["onedev-user-picker"]],viewQuery:function(a,b){a&1&&og(lZ,7);if(a&2){var c;ng(c=qg())&&(b.popOver=c.first)}},inputs:{email:"email",disabled:"disabled",labelledById:"labelledById",selectedUserTemplate:"selectedUserTemplate",autocompleteConfig:"autocompleteConfig"},outputs:{emailChange:"emailChange"},exportAs:["onedevUserPicker"],features:[bg([{provide:VM,useExisting:Jc(function(){return mZ}),multi:!0},{provide:jw,useExisting:Jc(function(){return mZ}),multi:!0}]),
yf],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),Q("focus",function(){return b.active=!0})("blur",function(){return b.active=!1})("click",function(){return b.openPopOver()}),F(2,t_a,2,4,"ng-container",2)(3,u_a,1,1,"ng-template",null,3,tg)(5,v_a,2,0,"svg",4),K(),H(6,"onedev-user-picker-panel",5),Q("closed",function(e){return b.onPopOverClose(e)}),K());if(a&2){var c=S(1),d=S(4);Jf("active",b.isActive());Af("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy());A(2);G("ngIf",b.selectedUserTemplate)("ngIfElse",
d);A(3);G("ngIf",!b.disabled);A(1);G("anchor",c)("autocompleteConfig",b.autocompleteConfig)}},dependencies:[Uv,Zv,lZ],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 ltc=["picker"],nZ=function(){this.disabled=!1;this.emailChange=new mv;this.userEmail=""};Y(nZ,VM);nZ.prototype.openPopOver=function(){this.picker.openPopOver()};nZ.prototype.isActive=function(){return this.picker.isActive()};Gh.Object.defineProperties(nZ.prototype,{user:{configurable:!0,enumerable:!0,set:function(a){this.userEmail=qi(a)||""}}});nZ.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(nZ)))(b||nZ)}}();
nZ.\u0275cmp=r({type:nZ,selectors:[["b-user-picker"]],viewQuery:function(a,b){a&1&&og(ltc,7);if(a&2){var c;ng(c=qg())&&(b.picker=c.first)}},inputs:{user:"user",teamId:"teamId",disabled:"disabled",labelledById:"labelledById"},outputs:{emailChange:"emailChange"},exportAs:["bUserPicker"],features:[bg([{provide:VM,useExisting:Jc(function(){return nZ}),multi:!0}]),yf],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),Q("emailChange",function(d){return b.emailChange.emit(d)}),K(),F(2,x_a,1,1,"ng-template",null,2,tg));if(a&2){var c=S(3);G("email",b.userEmail)("disabled",b.disabled)("labelledById",b.labelledById)("selectedUserTemplate",c)}},dependencies:[Uv,zP,mZ],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 oZ=function(a){QG.call(this);this.observableSlosService=a;this.recordType="slo";this.idForRecord=function(b){return b.sloId}};Y(oZ,QG);g=oZ.prototype;g.fetchOne=function(a){return this.observableSlosService.get(a)};g.getOwnedSlos=function(){return this.observableSlosService.getOwnedSlos()};g.search=function(a){return this.observableSlosService.search(a)};g.create=function(a){return this.observableSlosService.create(a)};g.update=function(a){return this.observableSlosService.update(a)};
oZ.\u0275fac=function(a){return new (a||oZ)(p(aX))};oZ.\u0275prov=Dc({token:oZ,factory:oZ.\u0275fac,providedIn:"root"});var pZ=function(a,b,c,d,e){Z.call(this);var f=this;this.session=a;this.userPreferencesManager=b;this.sloStatusHelpersService=c;this.paths=d;this.sloFridge=e;this.onSloStartTimeChange=new mv;this.onSloEndTimeChange=new mv;this.providedSloId$=new E.ReplaySubject(1);this.slo$=this.providedSloId$.pipe(af(function(h){return f.sloFridge.watchOne(h)}));this.hasClosureSlo=this.isSloEndEditTimePickerOpen=this.isSloStartEditTimePickerOpen=this.enableSloEndTime=this.hasSloEndTime=this.hasSloStartTime=this.isAccordionExpanded=
!1};Y(pZ,Z);pZ.\u0275dir=Z.\u0275dir;pZ.prototype.ngOnInit=function(){var a=this;mtc(this);this.userPreferencesManager.layoutPreferences$.pipe(bf(this.destroyed$)).subscribe(function(b){a.isAccordionExpanded=!!b.expandIssueSlo})};pZ.prototype.ngOnChanges=function(){this.sloId&&this.providedSloId$.next(this.sloId);mtc(this)};
var mtc=function(a){a.hasSlo=!!a.sloStatus&&Fac(a.sloStatus);a.hasClosureSlo=a.hasSlo&&Gac(a.sloStatus,"CLOSURE");a.enableSloEndTime=yD(a.session,"enableSloEndTime");var b,c;(c=a.sloStatus)?(c=c.closureBounds,c=aP(hl(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},ntc=function(a){a.isAccordionExpanded=!a.isAccordionExpanded;u1b(a.userPreferencesManager,{expandIssueSlo:a.isAccordionExpanded}).pipe(bf(a.destroyed$)).subscribe();Hk(Kp.ISSUE_SLO,"toggle",a.isAccordionExpanded?"open":"close")};pZ.prototype.updateSloStartTime=function(a){this.onSloStartTimeChange.next(a)};pZ.prototype.updateSloEndTime=function(a){this.onSloEndTimeChange.next(a)};
pZ.prototype.trackOpenSlo=function(){Hk(Kp.EDIT_SLO,"open","fromIssueSloBox")};pZ.\u0275fac=function(a){return new (a||pZ)(B(nt),B(LE),B($O),B(cF),B(oZ))};
pZ.\u0275cmp=r({type:pZ,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:[yf,ld],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),Q("click",function(){return ntc(b)}),H(1,"label"),T(2,"SLO Status"),K()(),H(3,"div",1)(4,"div",2)(5,"div",3),L(6,"b-aggregated-slo-status-indicator",4),K(),H(7,"div",3),L(8,"b-slo-status-summary",5),K(),H(9,"button",6),Q("click",function(){return ntc(b)}),F(10,y_a,1,0,"mat-icon",7)(11,z_a,1,0,"mat-icon",8),K()(),H(12,"div",9),F(13,D_a,9,4,"div",10)(14,I_a,10,5,"div",11)(15,K_a,4,3,"div",12)(16,L_a,3,1,"div",12),K()());a&2&&(A(5),G("hidden",b.isAccordionExpanded),A(1),G("sloStatus",b.sloStatus)("sloStartTime",
b.sloStartTime)("sloEndTime",b.sloEndTime)("includeSloMetric",!0)("includeObjective",!0),A(1),G("hidden",!b.isAccordionExpanded),A(1),G("sloStatus",b.sloStatus)("sloStartTime",b.sloStartTime)("sloEndTime",b.sloEndTime)("includeNoSlo",!0),A(1),Af("aria-expanded",b.isAccordionExpanded),A(1),G("ngIf",!b.isAccordionExpanded),A(1),G("ngIf",b.isAccordionExpanded),A(1),G("hidden",!b.isAccordionExpanded),A(1),G("ngIf",b.isEditable),A(1),G("ngIf",b.enableSloEndTime&&b.isEditable),A(1),G("ngIf",b.editSloLink),
A(1),G("ngIf",!b.editSloLink&&b.componentSloLink))},dependencies:[Uv,MA,dC,eA,oX,CM,dX,uS,qy,py,$v],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 otc={MISSING:"MISSING",DELETED:"DELETED",VALID:"VALID"};var qZ=function(a,b,c,d,e,f,h,k,q,t){Z.call(this);var w=this;this.data=a;this.dialogRef=b;this.pathBuilder=c;this.teamsService=d;this.componentActions=e;this.userPreferencesManager=f;this.snackBar=h;this.analytics=k;this.errorHandler=q;this.componentFridge=t;this.teamSuggestionIds=[];this.header="";this.teamOptions=[];this.teamAction="CHANGE";this.WarningType=otc;this.warningType=a.warningType;this.componentId=a.componentId;this.parentComponentId=a.parentComponentId;this.teamSuggestionIds=a.teamSuggestionIds;
this.selectedTeam=new ptc(this.teamSuggestionIds[0]||"0",[]);this.componentSetting=this.pathBuilder.editComponent(this.componentId,"basic");this.suggestedTeams$=C4b(this.teamsService,this.teamSuggestionIds).pipe(D(function(y){for(var C=[],J=l(w.teamSuggestionIds),I=J.next();!I.done;I=J.next()){I=I.value;var P=y.get(I);P&&C.push(new ptc(I,P.collapsedPathNames))}return C}),$e([]));this.myTeams$=YI(this.teamsService,"").pipe(D(function(y){return y.map(function(C){return new ptc(C.teamId,C.pathNames)})}));
(0,E.combineLatest)([this.suggestedTeams$,this.myTeams$]).pipe(D(function(y){var C=l(y);y=C.next().value;C=C.next().value;return[].concat(u(y),u(C))}),D(rta(function(y){return y.teamId})),bf(this.destroyed$)).subscribe(function(y){w.teamOptions=y;w.selectedTeam=y[0]})};Y(qZ,Z);qZ.\u0275dir=Z.\u0275dir;qZ.prototype.ngOnInit=function(){"MISSING"===this.warningType?this.header="Add team to the component":"DELETED"===this.warningType&&(this.header="Change team mapping for this component")};
qZ.prototype.confirm=function(){var a=this;if("CHANGE"===this.teamAction)0<this.parentComponentId?this.componentActions.get(this.parentComponentId).then(function(c){var d;qtc(a,(null==(d=c.team)?void 0:d.id)||"0",a.selectedTeam.teamId)}):qtc(this,"0",this.selectedTeam.teamId);else{var b=ai(this.userPreferencesManager.teamWarningPreferencesSubject$.value);b.componentTeamWarnings.push({componentId:this.componentId,dismissMillis:(new Date).getTime()});z1b(this.userPreferencesManager,b).pipe(bf(this.destroyed$)).subscribe(function(){a.analytics.trackEvent(Kp.TEAM_WARNING,
"dismiss","componentId",a.componentId);var c;null==(c=a.dialogRef)||c.close()},function(){})}};var qtc=function(a,b,c){a.componentActions.updateTeam(a.componentId,{inherit:c===b,id:c}).then(function(d){a.componentFridge.announce(d);a.analytics.trackEvent(Kp.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)})};
qZ.prototype.selectOption=function(a){this.selectedTeam=a};qZ.prototype.trackClick=function(a){this.analytics.trackEvent(Kp.TEAM_WARNING,"click",a)};qZ.prototype.getMomaTeamLink=function(){return"https://moma.corp.google.com/team/"+this.selectedTeam.teamId};qZ.\u0275fac=function(a){return new (a||qZ)(B(uA),B(sA),B(MW),B(WI),B(kL),B(LE),B(BG),B(aI),B(FG),B(mH))};
qZ.\u0275cmp=r({type:qZ,selectors:[["b-team-warning-dialog"]],features:[yf],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),T(1),K(),F(2,N_a,5,1,"div",1)(3,
O_a,5,1,"div",1)(4,P_a,7,1,"mat-radio-group",2)(5,T_a,6,6,"div",3),H(6,"mat-dialog-actions")(7,"button",4),T(8," Cancel "),K(),H(9,"button",5),Q("click",function(){return b.confirm()}),T(10," Confirm "),K()());a&2&&(A(1),$f(b.header),A(1),G("ngIf",b.warningType===b.WarningType.MISSING),A(1),G("ngIf",b.warningType===b.WarningType.DELETED),A(1),G("ngIf",b.warningType===b.WarningType.MISSING),A(1),G("ngIf",0<b.teamOptions.length))},dependencies:[Uv,MA,ww,Dw,eA,fA,wA,xA,yA,zA,cV,dV,dC,WM],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 ptc=function(a,b){this.teamId=a;this.teamPath=b.join(" > ")};var rZ=function(a,b){Z.call(this);this.matDialogService=a;this.analytics=b;this.teamSuggestions=[];this.messageOnly=!1;this.updateTeam=new mv};Y(rZ,Z);rZ.\u0275dir=Z.\u0275dir;rZ.prototype.ngOnInit=function(){};rZ.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")};
rZ.prototype.openDialog=function(){var a=this;this.analytics.trackEvent(Kp.TEAM_WARNING,"open");this.matDialogService.open(qZ,{width:"580px",data:{warningType:this.warningType,componentId:this.componentId,parentComponentId:this.parentComponentId,teamSuggestionIds:this.teamSuggestions.map(function(b){return String(b.teamId)})}}).afterClosed().pipe(bf(this.destroyed$)).subscribe(function(b){b&&a.updateTeam.emit(b)})};rZ.\u0275fac=function(a){return new (a||rZ)(B(vA),B(aI))};
rZ.\u0275cmp=r({type:rZ,selectors:[["b-team-warning"]],inputs:{warningType:"warningType",componentId:"componentId",parentComponentId:"parentComponentId",teamSuggestions:"teamSuggestions",messageOnly:"messageOnly"},outputs:{updateTeam:"updateTeam"},features:[yf,ld],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"),T(2),K(),F(3,U_a,3,1,"b-callout-actions",1),K());
a&2&&(A(2),V(" ",b.warningMessage," "),A(1),G("ngIf",!b.messageOnly))},dependencies:[rJ,MD,ND,Uv],encapsulation:2});var rtc=new bd("DevopsGraphLogger",{providedIn:"root",factory:function(){return Bk}}),stc=new bd("DEV_GRAPH",{providedIn:"root",factory:function(){var a;return qe(function(b){switch(b.nextAddress){case 1:return re(b,2),b.yield(V_a(),4);case 4:a=b.yieldResult;tt(b,3);break;case 2:return ve(b),b.return();case 3:return re(b,5),b.yield(a.loadGraph(),7);case 7:tt(b,6);break;case 5:return ve(b),b.return();case 6:return b.return(google.corp.devops.tools.graph)}})}});var sZ=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 f=e.getContainer();null!=f&&(f.classList.remove("open"),e.close$.next())};this.onGraphOpen=function(){var f=e.getContainer();null!=f&&(f.classList.add("open"),e.open$.next())};this.init()};
sZ.prototype.init=function(){var a=this,b,c,d,e,f;return qe(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}))f=a.theme.clientDarkmodeSubject.getValue(),a.graphService=e,a.graphController=e.createController({element:b,onClose:a.onGraphClose,onOpen:a.onGraphOpen,theme:f?"dark":void 0}),
a.theme.clientDarkmode$.subscribe(function(k){var q;null==(q=a.graphController)||q.setTheme(k?"dark":"light")});we(h)})};var ttc=function(a,b){var c;return qe(function(d){switch(d.nextAddress){case 1:return re(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:tt(d,0);break;case 2:return c=ve(d),a.logger(c),d.return(new Set)}})};
sZ.prototype.openSidebar=function(a,b){var c=this,d;return qe(function(e){switch(e.nextAddress){case 1:return e.yield(c.init(),2);case 2:if(!c.graphController)return e.return();re(e,3);return e.yield(c.graphController.openIssueContext(Number(a),b),5);case 5:tt(e,0);break;case 3:d=ve(e),c.logger(d),we(e)}})};
sZ.prototype.close=function(){var a=this,b;return qe(function(c){switch(c.nextAddress){case 1:return c.yield(a.init(),2);case 2:if(!a.graphController)return c.return();re(c,3);return c.yield(a.graphController.close(),5);case 5:tt(c,0);break;case 3:b=ve(c),a.logger(b),we(c)}})};sZ.\u0275fac=function(a){return new (a||sZ)(p(nt),p(LL),p(rtc),p(stc))};sZ.\u0275prov=Dc({token:sZ,factory:sZ.\u0275fac,providedIn:"root"});var tZ=function(a,b,c,d,e,f,h,k){Z.call(this);var q=this;this.devopsGraph=a;this.paramsService=b;this.analytics=c;this.butterBar=d;this.router=e;this.route=f;this.activeSession=h;this.contextSensitiveRegistry=k;this.id$=this.contextSensitiveRegistry.getIssueId().pipe(D(function(t){return t||void 0}));this.contexts$=this.id$.pipe(af(function(t){return qe(function(w){return null!=q.devopsGraph.getContainer()&&t?w.return(ttc(q.devopsGraph,t).then(function(y){return{issueId:t,availablePanels:y}})):w.return(void 0)})}),
Ye({refCount:!1,bufferSize:1}));this.availablePanels$=this.contexts$.pipe(D(function(t){return t?t.availablePanels:new Set}));this.shouldShowInsightsGraphMenu$=this.contexts$.pipe(D(function(t){return!!t&&0<t.availablePanels.size&&q.activeSession.isInternalSession()&&null!=q.devopsGraph.getContainer()}));this.shouldShowInsightsGraphButton$=this.contexts$.pipe(D(function(t){return!!t&&0<t.availablePanels.size&&q.activeSession.isInternalSession()&&null!=q.devopsGraph.getContainer()&&t.availablePanels.has("deployments")}));
this.openSidebar.bind(this);this.subscriptions.add(this.contexts$.subscribe(function(t){if(t){t=t.availablePanels;q.track("ingress-view-"+(0<t.size?"enabled":"disabled"));t.has("deployments")&&q.track("ingress-view-deployments-enabled");var w=q.paramsService.params.showInsights;w&&("default"===w?0<t.size?q.openSidebar():q.butterBar.showWarning("Could not open Insights Sidebar: no data for this issue. See go/g3g-guide-buganizer."):t.has(w)?q.openSidebar(w):q.butterBar.showWarning("Could not open "+
w+" Insights Sidebar: no data for this issue. See go/g3g-guide-buganizer."))}else q.devopsGraph.close()}));this.subscriptions.add(this.devopsGraph.close$.subscribe(function(){utc(q,null)}))};Y(tZ,Z);tZ.\u0275dir=Z.\u0275dir;tZ.prototype.openSidebar=function(a){var b=this,c,d,e,f;return qe(function(h){c=Dk(b.contexts$);if(!c)return h.return();d=c;e=d.issueId;utc(b,null!=(f=a)?f:"default");return h.return(b.devopsGraph.openSidebar(e,{panel:a}))})};
tZ.prototype.track=function(a){this.analytics.trackEvent("sidebar",a)};var utc=function(a,b){a.router.navigate([],{relativeTo:a.route,queryParams:{showInsights:b},queryParamsHandling:"merge",replaceUrl:!0,preserveFragment:!0})};tZ.\u0275fac=function(a){return new (a||tZ)(p(sZ),p(bJ),p(aI),p(EG),p(yE),p(ik),p(nt),p(xJ))};tZ.\u0275prov=Dc({token:tZ,factory:tZ.\u0275fac,providedIn:"root"});var Y_a=function(a){return[a]},a0a=function(){return[]},R0a=function(a){return{$implicit:a}},uZ=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I){var P=this;this.activeSession=a;this.editIssueService=b;this.issueFridge=c;this.issuePermissionService=d;this.issueDetailsBrain=e;this.constants=f;this.refreshMonitor=h;this.userPreferencesManager=k;this.documentationLinks=q;this.workspaceService=t;this.changelistApi=w;this.issueMarkAsDuplicateDialogService=y;this.analytics=C;this.issueInsightsSidebarService=J;this.issueLimits=
I;this.issueId$=new E.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(Pe());this.issue$=this.distinctIssueId$.pipe(af(function(O){return P.editIssueService.editableIssue$(O)}));this.enablePeoplekitAc=yD(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=$D;this.trackCustomField=function(O,U){return"{"+U.componentId+", "+U.customFieldId+"}"};this.FieldType=mhc;this.ListFieldType=aic;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(O){return!P.activeSession.isExternalSession()&&!O}));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(M_a));this.component$=this.issueDetailsBrain.component$;this.effort$=this.issueDetailsBrain.effort$;this.accessLimitLevel$=this.issueDetailsBrain.accessLimitLevel$;this.issueFields$=this.distinctIssueId$.pipe(D(function(O){return P.editIssueService.issueFields(O)}),
Ye({refCount:!0,bufferSize:1}));this.isForgottenFourPrimary$=this.issueFields$.pipe(af(function(O){return O.isForgottenFourPrimary$}));this.showHiddenFieldsLabel$=this.issueFields$.pipe(af(function(O){return O.showHiddenFieldsLabel$}));this.hasHiddenFields$=this.issueFields$.pipe(af(function(O){return O.hasHiddenFields$}));this.isChangelistPrimary$=this.issueFields$.pipe(af(function(O){return O.isChangelistPrimary$}));this.isSeverityPrimary$=this.issueFields$.pipe(af(function(O){return O.isSeverityPrimary$}));
this.isSloStatusPrimary$=this.issueFields$.pipe(af(function(O){return O.isSloStatusPrimary$}));this.hiddenCustomFields$=this.issueFields$.pipe(af(function(O){return O.hiddenCustomFields$}));this.visibleCustomFields$=this.issueFields$.pipe(af(function(O){return O.visibleCustomFields$}));this.issueQuickActions$=this.distinctIssueId$.pipe(D(function(O){return P.editIssueService.issueQuickActions(O)}),Ye({refCount:!0,bufferSize:1}));this.issueAssigneeQuickAction$=this.issueQuickActions$.pipe(af(function(O){return O.issueAssigneeQuickAction$}));
this.issueStatusQuickAction$=this.issueQuickActions$.pipe(af(function(O){return O.issueStatusQuickAction$}));this.trackerId$=this.component$.pipe(D(function(O){return null==O?void 0:O.trackerId}));this.priorityChoices=this.constants.priorities.map(function(O){return{value:O,displayText:O}});this.severityChoices=this.constants.severities.map(function(O){return{value:O,displayText:O}});this.typeChoices=this.constants.editIssueTypeChoices;this.teamHovercardInputs$=(0,E.combineLatest)([this.issueDetailsBrain.componentId$,
this.teamId$]).pipe(D(function(O){var U=l(O);O=U.next().value;U=U.next().value;return{teamId:U?String(U):"0",componentId:O?String(O):"0"}}));this.isTeamWarningDismissed$=(0,E.combineLatest)([this.issue$,this.userPreferencesManager.preferences$]).pipe(D(function(O){O=l(O);var U=O.next().value,aa,na;return null==(aa=O.next().value.teamWarningPreferences)?void 0:null==(na=aa.componentTeamWarnings)?void 0:na.some(function(sa){return sa.componentId===U.componentId})}));this.shouldDisplayTeamSuggestions$=
(0,E.combineLatest)([this.issuePermissionService.userIsComponentAdmin$,this.isTeamWarningDismissed$,this.teamWarningType$]).pipe(D(function(O){var U=l(O);O=U.next().value;var aa=U.next().value;U=U.next().value;return O&&!aa&&("MISSING"===U||"DELETED"===U)}));this.statusChoices$=this.canonicalIssueId$.pipe(D(function(O){return[].concat(u(R1b.filter(function(U){return"DUPLICATE"!==U.value})),[{value:"DUPLICATE",displayText:O?"Duplicate of "+O:"Duplicate"}])}));this.workspaces$=this.distinctIssueId$.pipe(af(function(O){return Kpc(P.workspaceService,
O)}),Ye({refCount:!0,bufferSize:1}));this.pendingChangelists$=S3b(this.refreshMonitor,this.distinctIssueId$).pipe(af(function(O){return P.changelistApi.getPendingChangelistsForIssue(O)}),D(function(O){return O.changelistNumbers}),D(function(O){return{cls:O,hasError:!1}}),Le(function(){return(0,E.of)({cls:[],hasError:!0})}),Ye({refCount:!0,bufferSize:1}));this.USER_FIELD_HOVERCARD_CONFIG=Object.assign({},new kK,{position:[C5b]});this.ACCESS_LIMITS_HOVERCARD_CONFIG=Object.assign({},new kK,{position:[{originX:"start",
originY:"center",overlayX:"end",overlayY:"center",offsetX:-30}]});this.reconcileView={assignee:function(O){var U,aa;O.value=null!=(aa=null==(U=Dk(P.issue$))?void 0:U.assignee)?aa:""},reporter:function(O){var U,aa;O.value=null!=(aa=null==(U=Dk(P.issue$))?void 0:U.reporter)?aa:""},verifier:function(O){var U,aa;O.value=null!=(aa=null==(U=Dk(P.issue$))?void 0:U.verifier)?aa:""},ccs:function(O){var U,aa;O.values=null!=(aa=null==(U=Dk(P.issue$))?void 0:U.cc)?aa:[]},collaborators:function(O){var U,aa;O.collaborators=
null!=(aa=null==(U=Dk(P.issue$))?void 0:U.collaborators)?aa:[]},issueType:function(O){var U,aa;O.value=null!=(aa=null==(U=Dk(P.issue$))?void 0:U.type)?aa:null}}};uZ.prototype.ngOnChanges=function(){this.issueId$.next(this.issueId)};
var K0a=function(a){var b=a.issuePermissionService.isCurrentUserCCd();a.analytics.trackEvent(Kp.EDIT_ISSUE,"toggleCC (appbar)",(!b).toString());var c=a.editIssueService.editableIssue(a.issueId),d=[];d=b?c.cc.filter(function(e){return!fP(a.issuePermissionService,e)}):[].concat(u(c.cc),[a.activeSession.getUserEmail()]);return cbc(a.editIssueService,a.issueId,d)},G0a=function(a){var b=a.issuePermissionService.isCurrentUserCollaborator();a.analytics.trackEvent(Kp.EDIT_ISSUE,"toggleCollaborators (appbar)",
(!b).toString());var c=a.editIssueService.editableIssue(a.issueId),d=[];d=b?c.collaborators.filter(function(e){return!fP(a.issuePermissionService,e)}):[].concat(u(c.collaborators),[a.activeSession.getUserEmail()]);return dbc(a.editIssueService,a.issueId,d)};uZ.prototype.getTrackerId=function(){return Dk(this.trackerId$)};
uZ.prototype.toggleAccessLimits=function(){var a=this;return qe(function(b){if(a.issueLimits.isOpen())return b.return();a.issueLimits.open({componentId:Number(Dk(a.issueDetailsBrain.componentId$)),issueId:a.issueId});we(b)})};uZ.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};
var t0a=function(a,b,c){return v0a(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.assignee(b)})},d0a=function(a,b,c){return qe(function(d){return d.return(f0a(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.reporter(b)}))})},A0a=function(a,b,c){return qe(function(d){return d.return(C0a(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.verifier(b)}))})},F1a=function(a,b,c){return qe(function(d){return d.return(cbc(a.editIssueService,a.issueId,
c).finally(function(){a.reconcileView.ccs(b)}))})},E1a=function(a,b,c){return qe(function(d){return d.return(dbc(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.collaborators(b)}))})},B1a=function(a,b,c,d){return qe(function(e){return e.return(Xac(a.editIssueService,a.issueId,c,d).finally(function(){a.reconcileView.issueType(b)}))})},uq=function(a,b){a.analytics.trackEvent(Kp.EDIT_ISSUE,"quickAction (sidebar)",null==b?void 0:b.displayText);return abc(a.editIssueService,a.issueId,
b)},D1a=function(a,b){var c;return qe(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(osc(a.issueMarkAsDuplicateDialogService,a.issueId)):d.return($ac(a.editIssueService,a.issueId,c)):d.return()})};
uZ.prototype.isSaving$=function(a){var b=this;return this.distinctIssueId$.pipe(D(function(c){return b.editIssueService.savingState(c)}),af(function(c){return Lp(c.propertiesBeingSaved,bo(String(a)))}))};uZ.prototype.getAccessLimitLevelDisplay=function(a){return Rp(a)};uZ.\u0275fac=function(a){return new (a||uZ)(B(nt),B(lP),B(iI),B(gP),B(eP),B(BD),B(gI),B(LE),B(lL),B(JX),B(gH),B(SY),B(aI),B(tZ),B(YY))};
uZ.\u0275cmp=r({type:uZ,selectors:[["edit-issue-metadata"]],inputs:{issueId:"issueId"},features:[ld],decls:2,vars:3,consts:[[4,"ngIf"],[4,"ngIf","ngIfElse"],["peoplekitReporter",""],[3,"name","title","type","value","choices","readonly","disabled","valueChange"],["typeField",""],[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&&(F(0,G1a,135,159,"ng-container",0),W(1,"async"));a&2&&G("ngIf",X(1,1,b.issue$))},dependencies:[$R,Tv,Uv,Zv,MA,mS,OR,fZ,aZ,bZ,cZ,VE,hK,iK,mK,jK,NX,JU,pZ,kS,LX,dC,WL,rZ,nZ,mL,AK,HJ,$v],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 vtc=["descriptionArea"],wtc=["container"],vZ=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I){Z.call(this);var P=this;this.cdr=a;this.issueFridge=b;this.eventsForIssueFridge=c;this.editStatusUpdateDialogService=d;this.statusUpdateService=e;this.issueCommentDialogsService=f;this.contextSensitiveRegistry=h;this.issuePermissionService=k;this.clipboard=q;this.snackBar=t;this.prompts=w;this.llmService=y;this.activeSession=C;this.analytics=J;this.userFeedback=I;this.closeSidebar=new mv;this.navigateToNextIssue=
new mv;this.navigateToPreviousIssue=new mv;this.issueId$=new E.ReplaySubject(1);this.issue$=this.issueId$.pipe(bf(this.destroyed$),af(this.issueFridge.watch),Ye({bufferSize:1,refCount:!0}));this.componentId$=this.issue$.pipe(D(function(O){return null==O?void 0:O.snapshot[0].componentId}));this.accessLevel$=this.issue$.pipe(D(function(O){var U;return null==O?void 0:null==(U=O.accessLimit)?void 0:U.accessLevel}));this.events$=this.issueId$.pipe(bf(this.destroyed$),af(this.eventsForIssueFridge.watch),
D(function(O){return(null==O?void 0:O.events)||[]}));this.firstEvent$=this.events$.pipe(D(function(O){return 0<O.length?O[0]:void 0}));this.statusUpdate$=this.issue$.pipe(D(function(O){return null==O?void 0:O.statusUpdate}));this.statusUpdateNote$=this.statusUpdate$.pipe(He(jl),D(function(O){return{unlinkifiedComment:O.updateText,formattedComment:O.formattedText}}));this.userCanEditStatusUpdate$=this.issuePermissionService.hasAclToEdit$;this.hasStatusUpdate$=this.statusUpdate$.pipe(D(function(O){return!!O&&
""!==O.updateText}));this.firstNote$=this.events$.pipe(bf(this.destroyed$),D(function(O){if(O&&0<O.length&&O[0].commentNumber&&-1<O[0].commentNumber)return{commentNumber:O[0].commentNumber,unlinkifiedComment:O[0].unlinkifiedComment||"",formattedComment:O[0].formattedComment}}),Ye({bufferSize:1,refCount:!0}));this.userCanEditDescription$=this.firstEvent$.pipe(af(function(O){return O?P.issuePermissionService.canEditComment$(O):(0,E.of)(!1)}));this.hasDescription$=this.events$.pipe(bf(this.destroyed$),
D(function(O){return O&&0<O.length&&""!==O[0].unlinkifiedComment}));this.isFieldsExpanded=this.isDescriptionExpanded=this.isStatusUpdateExpanded=!0;this.editTitleMode=this.isSavingTitle=!1;this.draftTitle="";this.FormattingMode=ZC;this.descriptionHasMore=!0;this.showFullDescription=!1;this.enableLlmSummarization=yD(this.activeSession,"enableLlmSummarization")&&this.activeSession.isInternalSession();this.summaryThumbsDown=this.summaryThumbsUp=this.hasRatedSummary=this.hasIssueSummary=this.isLoadingIssueSummary=
this.isIssueSummaryExpanded=!1;this.isSummarizable$=this.issueId$.pipe(af(function(O){return spc(P.prompts,O)}));this.issueSummaryRequested$=new E.ReplaySubject(1);this.issueSummary$=this.issueSummaryRequested$.pipe(df(this.issueId$),af(function(O){O=l(O);O.next();O=O.next().value;return tpc(P.llmService,O,1)}),cf(function(){P.hasIssueSummary=!0;P.isLoadingIssueSummary=!1}),Ye({bufferSize:1,refCount:!1}));this.containerScrolled=!1;this.destroyed$.subscribe(function(){vq(P)});this.issueId$.pipe(bf(this.destroyed$)).subscribe(function(){vq(P);
P.hasIssueSummary=!1;P.isIssueSummaryExpanded=!1;P.hasRatedSummary=!1;P.summaryThumbsUp=!1;P.summaryThumbsDown=!1;P.showFullDescription=!1});this.firstNote$.pipe(bf(this.destroyed$)).subscribe(function(){xtc(P)})};Y(vZ,Z);vZ.\u0275dir=Z.\u0275dir;vZ.prototype.ngAfterViewInit=function(){var a=this;this.issueId$.pipe(bf(this.destroyed$)).subscribe(function(){a.container.nativeElement.scrollTop=0})};
var xtc=function(a){setTimeout(function(){var b;a.descriptionHasMore=130<(null==(b=a.descriptionArea)?void 0:b.nativeElement.scrollHeight);a.cdr.detectChanges()})};g=vZ.prototype;g.copyIssueId=function(a){this.clipboard.copy(a);this.snackBar.open("IssueId copied","",{duration:2E3});this.analytics.trackEvent(Kp.ISSUE_SIDEBAR,"copyIssueId")};g.trackThumbsUp=function(){this.summaryThumbsUp=this.hasRatedSummary=!0;this.analytics.trackEvent(Kp.LLM_SUMMARIZE,"accept",P1a(this))};
g.trackThumbsDown=function(){this.summaryThumbsDown=this.hasRatedSummary=!0;this.analytics.trackEvent(Kp.LLM_SUMMARIZE,"reject",P1a(this))};g.copySummary=function(){var a=Dk(this.issueSummary$);a&&""!==a.summary&&(this.clipboard.copy(a.summary),this.snackBar.open("Issue summary copied to clipboard","",{duration:2E3}),this.analytics.trackEvent(Kp.LLM_SUMMARIZE,"copy",P1a(this)))};g.openFeedbackDialog=function(){this.userFeedback.startFeedback()};
var P1a=function(a){return JSON.stringify({id:a.issueId,stage:"long",fromIssueSidebar:!0})};
vZ.prototype.editStatusUpdate=function(){var a=this,b,c,d,e,f,h,k,q;return qe(function(t){switch(t.nextAddress){case 1:return t.yield((0,E.firstValueFrom)(a.issueId$),2);case 2:return b=t.yieldResult,t.yield((0,E.firstValueFrom)(a.componentId$),3);case 3:return c=t.yieldResult,d={issueId:b,updateText:"",version:-1},f=null!=(e=Dk(a.statusUpdate$))?e:d,t.yield((0,E.firstValueFrom)(a.accessLevel$),4);case 4:return k=(h=t.yieldResult)&&"INTERNAL"===h?"INTERNAL_AUDIENCE":"EXTERNAL_AUDIENCE",t.yield(a.editStatusUpdateDialogService.show(f,
k,c),5);case 5:q=t.yieldResult;if(!q)return t.return();a.statusUpdateService.update(q).subscribe(function(w){a.analytics.trackEvent(Kp.ISSUE_SIDEBAR,"edit","statusUpdate",0===w.updateText.length);PG(a.issueFridge,b,function(y){y.statusUpdate=w});a.issueFridge.poke(b)});we(t)}})};
var k2a=function(a){var b,c,d;return qe(function(e){switch(e.nextAddress){case 1:return e.yield((0,E.firstValueFrom)(a.issueId$),2);case 2:return b=e.yieldResult,(c=Dk(a.firstEvent$))?e.yield(Rs(a.issueCommentDialogsService,b,c),3):e.return();case 3:return e.yield(a.eventsForIssueFridge.poke(b),4);case 4:a.analytics.trackEvent(Kp.ISSUE_SIDEBAR,"edit","description",0===(null==(d=c.unlinkifiedComment)?void 0:d.length)),we(e)}})},I1a=function(a){var b;return qe(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;we(c)})},vq=function(a){a.isSavingTitle||(a.draftTitle="",a.editTitleMode=!1)};
vZ.prototype.saveTitle=function(){var a=this,b;return qe(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 vq(a),c.return();a.isSavingTitle=!0;U3b(a.issueFridge,b.issueId,a.draftTitle).subscribe(function(){a.analytics.trackEvent(Kp.ISSUE_SIDEBAR,"edit","title");a.isSavingTitle=!1;vq(a)});we(c)})};
Gh.Object.defineProperties(vZ.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){a?(this.issueId$.next(String(a)),this.contextSensitiveRegistry.issueIdOverride$.next(String(a)),this.analytics.trackEvent(Kp.ISSUE_SIDEBAR,"changeIssue")):this.contextSensitiveRegistry.issueIdOverride$.next(null)}},content:{configurable:!0,enumerable:!0,set:function(a){a&&(this.descriptionArea=a,xtc(this))}}});
vZ.\u0275fac=function(a){return new (a||vZ)(B(XD,2),B(iI),B(AH),B(CX),B(uX),B(RY),B(xJ),B(gP),B(TP),B(BG),B(IX),B(HX),B(nt),B(aI),B(NL))};
vZ.\u0275cmp=r({type:vZ,selectors:[["issue-sidebar"]],viewQuery:function(a,b){a&1&&(og(vtc,5),og(wtc,5));if(a&2){var c;ng(c=qg())&&(b.content=c.first);ng(c=qg())&&(b.container=c.first)}},inputs:{issueId:"issueId"},outputs:{closeSidebar:"closeSidebar",navigateToNextIssue:"navigateToNextIssue",navigateToPreviousIssue:"navigateToPreviousIssue"},features:[bg([XD]),yf],decls:21,vars:12,consts:[[1,"container","flex-kids-y",3,"scroll"],["container",""],[1,"top-actions","flex-kids-x","space-between","border-bottom"],
[1,"flex-kids-x","align-items-center","margin-s-left","gap-s"],[4,"ngIf"],["mat-icon-button","","matTooltip","Previous issue","matTooltipPosition","above","aria-label","Previous issue",3,"click"],["svgIcon","chevron-left"],["mat-icon-button","","matTooltip","Next issue","matTooltipPosition","above","aria-label","Next issue",3,"click"],["svgIcon","chevron-right"],["mat-icon-button","","matTooltip","Close sidebar","matTooltipPosition","above","aria-label","Close sidebar",3,"click"],["svgIcon","close"],
["class","title",4,"ngIf"],[1,"details","flex-kids-y","padded-s-sides"],[4,"ngIf","ngIfElse"],["spinner",""],[1,"heading-xs","muted","hover-link",3,"href","click"],[1,"a11y-only"],["mat-icon-button","","aria-label","copy issue id",1,"gmat-button","small","fade-icon-button","copy-issue-id",3,"click"],["svgIcon","copy",1,"icon-xs"],[1,"title"],[1,"flex"],["mat-icon-button","","matTooltip","Edit issue title","aria-label","Edit issue title",1,"fade-icon-button","gmat-button","small",3,"matTooltipShowDelay",
"click"],["svgIcon","edit-outline",1,"icon-s"],[1,"full-width"],["matInput","","type","text","aria-label","Edit issue title","rows","3",3,"cdkTextareaAutosize","cdkAutosizeMinRows","ngModel","bFocus","ngModelChange"],[1,"flex-kids-x","gap","justify-flex-end","padded-bottom","border-bottom"],["mat-stroked-button","","class","gmat-button small",3,"click",4,"ngIf"],["mat-flat-button","","color","primary",1,"gmat-button","small",3,"disabled","click"],["mat-stroked-button","",1,"gmat-button","small",3,
"click"],[1,"card-container"],[1,"card","status-update"],[1,"card-header"],[1,"card-header-inner-left"],["svgIcon","group","color","primary",1,"icon-s"],[1,"card-header-inner-right"],["mat-icon-button","","class","gmat-button small edit-button","aria-label","Edit the status update","matTooltip","Edit the status update","matTooltipPosition","above",3,"matTooltipShowDelay","click",4,"ngIf"],["mat-icon-button","","class","gmat-button small expand-button","aria-label","Toggle the status update view for this issue",
"matTooltip","Toggle the status update view for this issue","matTooltipPosition","above",3,"matTooltipShowDelay","click",4,"ngIf"],[1,"bv2-issue-metadata","card"],["svgIcon","release-notes-default","color","primary",1,"icon-s"],["mat-icon-button","","aria-label","Toggle the fields view for this issue","matTooltip","Toggle the fields view for this issue","matTooltipPosition","above",1,"gmat-button","small",3,"matTooltipShowDelay","click"],["svgIcon","arrow-down","class","icon-s",4,"ngIf"],["svgIcon",
"arrow-up","class","icon-s",4,"ngIf"],["class","fields-area margin-top flex-kids-y",4,"ngIf"],[1,"card","no-border","issue-summary"],["svgIcon","chat_spark_24px","color","primary",1,"icon-s"],["mat-icon-button","","aria-label","Show AI generated summary note","dialogLabel","AI generated summary note",1,"gmat-button","small",3,"xapInlineDialog","dialogTabIndex"],["svgIcon","help-outline",1,"icon-s"],["aiHelp",""],["mat-flat-button","","class","gmat-button small generate-summary",3,"click",4,"ngIf"],
["mat-icon-button","","class","gmat-button small","aria-label","Toggle the AI-generated summary for this issue","matTooltip","Toggle the AI-generated summary for this issue","matTooltipPosition","above",3,"matTooltipShowDelay","click",4,"ngIf"],["class","issue-summary-area",4,"ngIf"],["mat-flat-button","",1,"gmat-button","small","generate-summary",3,"click"],["mat-icon-button","","aria-label","Toggle the AI-generated summary for this issue","matTooltip","Toggle the AI-generated summary for this issue",
"matTooltipPosition","above",1,"gmat-button","small",3,"matTooltipShowDelay","click"],["svgIcon","arrow-down",1,"icon-s"],["svgIcon","arrow-up",1,"icon-s"],[1,"issue-summary-area"],[3,"ngTemplateOutlet",4,"ngIf"],["class","flex-kids-x justify-flex-end gap-s margin-s-top",4,"ngIf"],[3,"ngTemplateOutlet"],[3,"content",4,"ngIf","ngIfElse"],["plainTextSummary",""],[3,"content"],[1,"flex-kids-x","justify-flex-end","gap-s","margin-s-top"],["mat-icon-button","","aria-label","copy summary","matTooltip","Copy issue summary to clipboard",
1,"gmat-button","small","copy-issue-summary",3,"click"],["svgIcon","copy",1,"icon-s"],["mat-icon-button","","aria-label","send feedback","matTooltip","Send feedback",1,"gmat-button","small","summary-feedback",3,"click"],["svgIcon","feedback-outline",1,"icon-s"],["mat-icon-button","","aria-label","rate thumbs up","matTooltip","Rate summary: Good",1,"gmat-button","small","summary-thumbs-up",3,"disabled","click"],["svgIcon","thumb_up_24px",1,"icon-s"],["mat-icon-button","","aria-label","rate thumbs down",
"matTooltip","Rate summary: Bad",1,"gmat-button","small","summary-thumbs-down",3,"disabled","click"],["svgIcon","thumb_down_24px",1,"icon-s"],["mat-icon-button","","aria-label","Edit the status update","matTooltip","Edit the status update","matTooltipPosition","above",1,"gmat-button","small","edit-button",3,"matTooltipShowDelay","click"],["mat-icon-button","","aria-label","Toggle the status update view for this issue","matTooltip","Toggle the status update view for this issue","matTooltipPosition",
"above",1,"gmat-button","small","expand-button",3,"matTooltipShowDelay","click"],["class","status-update-area",4,"ngIf"],[1,"status-update-area"],[3,"issueId","note","issueAccessLevel","formattingMode",4,"ngIf"],[3,"issueId","note","issueAccessLevel","formattingMode"],[1,"card","description"],["mat-icon-button","","class","gmat-button small edit-button","aria-label","Edit the description","matTooltip","Edit the description","matTooltipPosition","above",3,"matTooltipShowDelay","click",4,"ngIf"],["mat-icon-button",
"","class","gmat-button small expand-button","aria-label","Toggle the description view for this issue","matTooltip","Toggle the description view for this issue","matTooltipPosition","above",3,"matTooltipShowDelay","click",4,"ngIf"],["mat-icon-button","","aria-label","Edit the description","matTooltip","Edit the description","matTooltipPosition","above",1,"gmat-button","small","edit-button",3,"matTooltipShowDelay","click"],["mat-icon-button","","aria-label","Toggle the description view for this issue",
"matTooltip","Toggle the description view for this issue","matTooltipPosition","above",1,"gmat-button","small","expand-button",3,"matTooltipShowDelay","click"],[1,"description-area"],["descriptionArea",""],[1,"description-note"],["class","description-show-more margin-s-top",4,"ngIf"],[1,"description-show-more","margin-s-top"],[3,"click"],[1,"fields-area","margin-top","flex-kids-y"],[3,"issueId"],[1,"text-center"]],template:function(a,b){a&1&&(H(0,"div",0,1),Q("scroll",function(){b.containerScrolled=
0===b.container.nativeElement.scrollTop?!1:!0}),H(2,"header")(3,"div",2)(4,"div",3),F(5,H1a,7,2,"ng-container",4),W(6,"async"),K(),H(7,"div")(8,"button",5),Q("click",function(){return b.navigateToPreviousIssue.emit()}),L(9,"mat-icon",6),K(),H(10,"button",7),Q("click",function(){return b.navigateToNextIssue.emit()}),L(11,"mat-icon",8),K(),H(12,"button",9),Q("click",function(){return b.closeSidebar.emit()}),L(13,"mat-icon",10),K()()(),F(14,N1a,4,2,"div",11),W(15,"async"),K(),H(16,"div",12),F(17,x2a,
32,26,"ng-container",13),W(18,"async"),K()(),F(19,y2a,2,0,"ng-template",null,14,tg));if(a&2){var c=S(20);A(2);Jf("elevated",b.containerScrolled);A(3);G("ngIf",X(6,6,b.issueId$));A(9);G("ngIf",X(15,8,b.issue$));A(3);G("ngIf",X(18,10,b.issue$))("ngIfElse",c)}},dependencies:[eA,dC,Jg,ww,Dw,FA,Tz,JA,vK,uK,WK,Uv,Zv,MA,eK,uZ,zT,MT,rX,$v],styles:["header[_ngcontent-%COMP%]{background-color:#fff;background-color:var(--background);position:-webkit-sticky;position:sticky;top:0;z-index:3}header.elevated[_ngcontent-%COMP%]{box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 1px 3px 1px rgba(0,0,0,.15)}.fade-icon-button[_ngcontent-%COMP%]{vertical-align:bottom;opacity:0;-webkit-transition:opacity .25s ease-in-out;transition:opacity .25s ease-in-out}.fade-icon-button[_ngcontent-%COMP%]:focus{opacity:1}.card[_ngcontent-%COMP%]:hover   .fade-icon-button[_ngcontent-%COMP%], .title[_ngcontent-%COMP%]:hover   .fade-icon-button[_ngcontent-%COMP%], .top-actions[_ngcontent-%COMP%]:hover   .fade-icon-button[_ngcontent-%COMP%]{opacity:1}.container[_ngcontent-%COMP%]{width:440px;height:100%;overflow-y:scroll}.issue-summary[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg)}.issue-summary-area[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.has-reacted-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}.title[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;overflow-wrap:anywhere;font-family:Google Sans,Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1rem;letter-spacing:.00625em;font-weight:500;padding:16px 8px}.title[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1rem;letter-spacing:.00625em;font-weight:500;padding:8px}.card-container[_ngcontent-%COMP%]{display:grid}.card[_ngcontent-%COMP%]{padding:8px 8px 8px 16px;border-radius:4px;border:1px solid;border-color:#dadce0;border-color:var(--divider);margin-bottom:16px}.card.no-border[_ngcontent-%COMP%]{border:none}.card-header[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.card-header-inner-left[_ngcontent-%COMP%], .card-header-inner-right[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;gap:8px}.card-header-inner-left[_ngcontent-%COMP%]{font-weight:500;text-transform:uppercase;letter-spacing:.05rem}.card-header-inner-right[_ngcontent-%COMP%]{color:#5f6368;color:var(--muted);font-style:italic}.details[_ngcontent-%COMP%]{width:-webkit-fill-available;width:-moz-fill-available;width:-moz-available;width:fill-available}.status-update[_ngcontent-%COMP%]{padding-left:12px;border-left:4px solid;border-left-color:#1a73e8;border-left-color:var(--primary)}.description[_ngcontent-%COMP%], .status-update[_ngcontent-%COMP%]{overflow-x:auto}.description-note[_ngcontent-%COMP%]{max-height:160px;overflow:hidden}.full-height[_ngcontent-%COMP%]{max-height:100%}.description-area[_ngcontent-%COMP%], .fields-area[_ngcontent-%COMP%], .status-update-area[_ngcontent-%COMP%]{position:relative}.edit-description[_ngcontent-%COMP%], .edit-status-update[_ngcontent-%COMP%]{opacity:0}.edit-description[_ngcontent-%COMP%]:focus, .edit-status-update[_ngcontent-%COMP%]:focus{opacity:1}.description[_ngcontent-%COMP%]:hover   .edit-description[_ngcontent-%COMP%], .status-update[_ngcontent-%COMP%]:hover   .edit-status-update[_ngcontent-%COMP%]{opacity:1}\n/*# sourceMappingURL=issue_sidebar.css.map */"]});var ytc=[[["",8,"tooltip-content"]],[["",8,"chip-content"]]],wZ=function(){this.compactMode=this.labelOnlyMode=!1};wZ.prototype.ngOnInit=function(){};wZ.\u0275fac=function(a){return new (a||wZ)};
wZ.\u0275cmp=r({type:wZ,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&&(Vf(ytc),H(0,"span",0)(1,"onedev-hovercard",null,1)(3,"div",2)(4,"div",3),Wf(5),K()()(),H(6,"div",4)(7,"span",5),Wf(8,1),K()()());if(a&2){var c=S(2),d;A(3);Af("aria-label",b.hovercardAriaLabel);A(3);G("onedevHovercardTrigger",c)("onedevHovercardActive",!b.labelOnlyMode);A(1);Jf("compact-chip",b.compactMode);G("ngClass",null!==(d=b.labelClass)&&void 0!==d?d:"")}},dependencies:[Sv,hK,mK],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 xZ=function(a){this.documentationLinks=a;this.documentationLink=dt()};xZ.prototype.ngOnChanges=function(){this.retentionState?this.retentionExpireTime=An(this.retentionState.scheduledDeletionTime):this.retentionExpireTime=void 0};xZ.\u0275fac=function(a){return new (a||xZ)(B(lL))};
xZ.\u0275cmp=r({type:xZ,selectors:[["retention-help-text"]],inputs:{retentionState:"retentionState",modifiedTime:"modifiedTime"},features:[ld],decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngIf","ngIfElse"],["indefinite",""],["target","_blank",3,"href"],[3,"mode","timestamp","paddingLeftPx"]],template:function(a,b){a&1&&F(0,B2a,6,3,"ng-container",0);a&2&&G("ngIf",b.retentionState&&b.modifiedTime)},dependencies:[Uv,CM],encapsulation:2});var yZ=function(a){this.dateFormatter=a;this.compactMode=!1;this.text=""};yZ.prototype.ngOnChanges=function(){var a;null!=(null==(a=this.retentionState)?void 0:a.scheduledDeletionTime)?this.text=Nhb(An(this.retentionState.scheduledDeletionTime),!this.compactMode):this.text="Indefinite"};yZ.\u0275fac=function(a){return new (a||yZ)(B(AM))};
yZ.\u0275cmp=r({type:yZ,selectors:[["retention-text"]],inputs:{retentionState:"retentionState",compactMode:"compactMode"},features:[ld],decls:1,vars:1,template:function(a,b){a&1&&T(0);a&2&&$f(b.text)},encapsulation:2});var zZ=function(){this.showRetentionInfo=this.dangerZone=this.labelOnlyMode=this.compactMode=this.showOnlyInDangerZone=!1};zZ.prototype.ngOnChanges=function(){this.retentionState&&this.retentionState.retentionPeriod&&this.retentionState.scheduledDeletionTime?(this.dangerZone=D2a(this.retentionState),this.showRetentionInfo=this.showOnlyInDangerZone&&this.dangerZone||!this.showOnlyInDangerZone):this.showRetentionInfo=!1};zZ.\u0275fac=function(a){return new (a||zZ)(B(lL))};
zZ.\u0275cmp=r({type:zZ,selectors:[["b-retention-chip"]],inputs:{showOnlyInDangerZone:"showOnlyInDangerZone",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode",retentionState:"retentionState",modifiedTime:"modifiedTime"},features:[ld],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&&F(0,C2a,5,7,"b-base-chip",0);a&2&&G("ngIf",b.showRetentionInfo)},dependencies:[Uv,wZ,yZ,xZ],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 ztc=ih("transform",[lh("open, open-instant",kh({transform:"none",visibility:"visible"})),lh("void",kh({"box-shadow":"none",visibility:"hidden"})),nh("void => open-instant",jh("0ms")),nh("void <=> open, open-instant => void",jh("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))]);var Atc=["*"],Btc=["content"],Ctc=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Dtc=new bd("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:G2a}),Etc=new bd("MAT_DRAWER_CONTAINER"),AZ=function(a,b,c,d,e){Px.call(this,c,d,e);this._changeDetectorRef=a;this._container=b};Y(AZ,Px);AZ.\u0275dir=Px.\u0275dir;AZ.prototype.ngAfterContentInit=function(){var a=this;this._container._contentMarginChanges.subscribe(function(){a._changeDetectorRef.markForCheck()})};
AZ.\u0275fac=function(a){return new (a||AZ)(B(Fu),B(Jc(function(){return BZ})),B(Hd),B(Mx),B(ef))};
AZ.\u0275cmp=r({type:AZ,selectors:[["mat-drawer-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content"],hostVars:4,hostBindings:function(a,b){a&2&&If("margin-left",b._container._contentMargins.left,"px")("margin-right",b._container._contentMargins.right,"px")},standalone:!0,features:[bg([{provide:Px,useExisting:AZ}]),yf,dg],ngContentSelectors:Atc,decls:1,vars:0,template:function(a){a&1&&(Vf(),Wf(0))},encapsulation:2,changeDetection:0});
var CZ=function(a,b,c,d,e,f,h,k){var q=this;this._elementRef=a;this._focusTrapFactory=b;this._focusMonitor=c;this._platform=d;this._ngZone=e;this._interactivityChecker=f;this._doc=h;this._container=k;this._elementFocusedBeforeDrawerWasOpened=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 mv(!0);this._openedStream=this.openedChange.pipe(He(function(t){return t}),
D(function(){}));this.openedStart=this._animationStarted.pipe(He(function(t){return t.fromState!==t.toState&&0===t.toState.indexOf("open")}),Ue());this._closedStream=this.openedChange.pipe(He(function(t){return!t}),D(function(){}));this.closedStart=this._animationStarted.pipe(He(function(t){return t.fromState!==t.toState&&"void"===t.toState}),Ue());this._destroyed=new E.Subject;this.onPositionChanged=new mv;this._modeChanged=new E.Subject;this.openedChange.subscribe(function(t){t?(q._doc&&(q._elementFocusedBeforeDrawerWasOpened=
q._doc.activeElement),q._takeFocus()):q._isFocusWithinDrawer()&&q._restoreFocus(q._openedVia||"program")});this._ngZone.runOutsideAngular(function(){(0,E.fromEvent)(q._elementRef.nativeElement,"keydown").pipe(He(function(t){return 27===t.keyCode&&!q.disableClose&&!Mg(t)}),bf(q._destroyed)).subscribe(function(t){return q._ngZone.run(function(){q.close();t.stopPropagation();t.preventDefault()})})});this._animationEnd.pipe(Pe(function(t,w){return t.fromState===w.fromState&&t.toState===w.toState})).subscribe(function(t){var w=
t.fromState;t=t.toState;(0===t.indexOf("open")&&"void"===w||"void"===t&&0===w.indexOf("open"))&&q.openedChange.emit(q._opened)})};g=CZ.prototype;g._forceFocus=function(a,b){this._interactivityChecker.isFocusable(a)||(a.tabIndex=-1,this._ngZone.runOutsideAngular(function(){var c=function(){a.removeEventListener("blur",c);a.removeEventListener("mousedown",c);a.removeAttribute("tabindex")};a.addEventListener("blur",c);a.addEventListener("mousedown",c)}));a.focus(b)};
g._focusByCssSelector=function(a,b){(a=this._elementRef.nativeElement.querySelector(a))&&this._forceFocus(a,b)};g._takeFocus=function(){var a=this;if(this._focusTrap){var b=this._elementRef.nativeElement;switch(this.autoFocus){case !1:case "dialog":break;case !0:case "first-tabbable":dQb(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)}}};
g._restoreFocus=function(a){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?Zw(this._focusMonitor,this._elementFocusedBeforeDrawerWasOpened,a):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)};g._isFocusWithinDrawer=function(){var a=this._doc.activeElement;return!!a&&this._elementRef.nativeElement.contains(a)};
g.ngAfterViewInit=function(){this._isAttached=!0;this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement);this._updateFocusTrapState();"end"===this._position&&this._updatePositionInParent("end")};g.ngAfterContentChecked=function(){this._platform.isBrowser&&(this._enableAnimations=!0)};
g.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()};g.open=function(a){return this.toggle(!0,a)};g.close=function(){return this.toggle(!1)};g._closeViaBackdropClick=function(){return this._setOpen(!1,!0,"mouse")};
g.toggle=function(a,b){(a=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};g._setOpen=function(a,b,c){var d=this;(this._opened=a)?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",b&&this._restoreFocus(c));this._updateFocusTrapState();return new Promise(function(e){d.openedChange.pipe(Qe()).subscribe(function(f){return e(f?"open":"close")})})};
g._getWidth=function(){return this._elementRef.nativeElement?this._elementRef.nativeElement.offsetWidth||0:0};g._updateFocusTrapState=function(){if(this._focusTrap){var a;this._focusTrap.enabled=!(null==(a=this._container)||!a.hasBackdrop)}};
g._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)};
Gh.Object.defineProperties(CZ.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=Sg(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=Sg(a);this._autoFocus=a}},opened:{configurable:!0,enumerable:!0,get:function(){return this._opened},set:function(a){this.toggle(Sg(a))}}});CZ.\u0275fac=function(a){return new (a||CZ)(B(Hd),B(ex),B(Yw),B(Vw),B(ef),B(ax),B(Xg,8),B(Etc,8))};
CZ.\u0275cmp=r({type:CZ,selectors:[["mat-drawer"]],viewQuery:function(a,b){a&1&&og(Btc,5);if(a&2){var c;ng(c=qg())&&(b._content=c.first)}},hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer"],hostVars:12,hostBindings:function(a,b){a&1&&Uf("@transform.start",function(c){return b._animationStarted.next(c)})("@transform.done",function(c){return b._animationEnd.next(c)});a&2&&(Af("align",null),Tf("@transform",b._animationState),Jf("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"],standalone:!0,features:[dg],ngContentSelectors:Atc,decls:3,vars:0,consts:[["cdkScrollable",
"",1,"mat-drawer-inner-container"],["content",""]],template:function(a){a&1&&(Vf(),H(0,"div",0,1),Wf(2),K())},dependencies:[Px],encapsulation:2,data:{animation:[ztc]},changeDetection:0});
var BZ=function(a,b,c,d,e,f,h){var k=this;f=void 0===f?!1:f;this._dir=a;this._element=b;this._ngZone=c;this._changeDetectorRef=d;this._animationMode=h;this._drawers=new rg;this.backdropClick=new mv;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(){k._validateDrawers();DZ(k)});e.change().pipe(bf(this._destroyed)).subscribe(function(){return DZ(k)});
this._autosize=f};
BZ.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}));mg(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))&&DZ(a);
a._changeDetectorRef.markForCheck()});this._ngZone.runOutsideAngular(function(){a._doCheckSubject.pipe(Ne(10),bf(a._destroyed)).subscribe(function(){return DZ(a)})})};BZ.prototype.ngOnDestroy=function(){this._contentMarginChanges.complete();this._doCheckSubject.complete();this._drawers.destroy();this._destroyed.next();this._destroyed.complete()};BZ.prototype.open=function(){this._drawers.forEach(function(a){return a.open()})};BZ.prototype.close=function(){this._drawers.forEach(function(a){return a.close()})};
var DZ=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)})};
g=BZ.prototype;g.ngDoCheck=function(){var a=this;this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(function(){return a._doCheckSubject.next()})};
g._watchDrawerToggle=function(a){var b=this;a._animationStarted.pipe(He(function(c){return c.fromState!==c.toState}),bf(this._drawers.changes)).subscribe(function(c){"open-instant"!==c.toState&&"NoopAnimations"!==b._animationMode&&b._element.nativeElement.classList.add("mat-drawer-transition");DZ(b);b._changeDetectorRef.markForCheck()});"side"!==a.mode&&a.openedChange.pipe(bf(this._drawers.changes)).subscribe(function(){return b._setContainerClass(a.opened)})};
g._watchDrawerPosition=function(a){var b=this;a&&a.onPositionChanged.pipe(bf(this._drawers.changes)).subscribe(function(){b._ngZone.onMicrotaskEmpty.pipe(Qe()).subscribe(function(){b._validateDrawers()})})};g._watchDrawerMode=function(a){var b=this;a&&a._modeChanged.pipe(bf((0,E.merge)(this._drawers.changes,this._destroyed))).subscribe(function(){DZ(b);b._changeDetectorRef.markForCheck()})};
g._setContainerClass=function(a){var b=this._element.nativeElement.classList;a?b.add("mat-drawer-container-has-open"):b.remove("mat-drawer-container-has-open")};g._validateDrawers=function(){var a=this;this._start=this._end=null;this._drawers.forEach(function(b){"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)};
g._isPushed=function(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode};g._onBackdropClicked=function(){this.backdropClick.emit();this._closeModalDrawersViaBackdrop()};g._closeModalDrawersViaBackdrop=function(){var a=this;[this._start,this._end].filter(function(b){return b&&!b.disableClose&&a._drawerHasBackdrop(b)}).forEach(function(b){return b._closeViaBackdropClick()})};
g._isShowingBackdrop=function(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)};g._isDrawerOpen=function(a){return null!=a&&a.opened};g._drawerHasBackdrop=function(a){return null==this._backdropOverride?!!a&&"side"!==a.mode:this._backdropOverride};
Gh.Object.defineProperties(BZ.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=Sg(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:Sg(a)}},scrollable:{configurable:!0,
enumerable:!0,get:function(){return this._userContent||this._content}}});BZ.\u0275fac=function(a){return new (a||BZ)(B(Nx,8),B(Hd),B(ef),B(Fu),B(Sx),B(Dtc),B(Du,8))};
BZ.\u0275cmp=r({type:BZ,selectors:[["mat-drawer-container"]],contentQueries:function(a,b,c){a&1&&(pg(c,AZ,5),pg(c,CZ,5));if(a&2){var d;ng(d=qg())&&(b._content=d.first);ng(d=qg())&&(b._allDrawers=d)}},viewQuery:function(a,b){a&1&&og(AZ,5);if(a&2){var c;ng(c=qg())&&(b._userContent=c.first)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container"],hostVars:2,hostBindings:function(a,b){a&2&&Jf("mat-drawer-container-explicit-backdrop",b._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},
outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],standalone:!0,features:[bg([{provide:Etc,useExisting:BZ}]),dg],ngContentSelectors:["mat-drawer","mat-drawer-content","*"],decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(a,b){a&1&&(Vf(Ctc),F(0,E2a,1,2,"div",0),Wf(1),Wf(2,1),F(3,F2a,2,0,"mat-drawer-content"));a&2&&(Nf(0,b.hasBackdrop?0:-1),A(3),Nf(3,b._content?-1:3))},dependencies:[AZ],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;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 Ftc=["*"],Gtc=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],EZ=function(a,b,c,d,e){AZ.call(this,a,b,c,d,e)};Y(EZ,AZ);EZ.\u0275dir=AZ.\u0275dir;EZ.\u0275fac=function(a){return new (a||EZ)(B(Fu),B(Jc(function(){return FZ})),B(Hd),B(Mx),B(ef))};
EZ.\u0275cmp=r({type:EZ,selectors:[["mat-sidenav-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(a,b){a&2&&If("margin-left",b._container._contentMargins.left,"px")("margin-right",b._container._contentMargins.right,"px")},standalone:!0,features:[bg([{provide:Px,useExisting:EZ}]),yf,dg],ngContentSelectors:Ftc,decls:1,vars:0,template:function(a){a&1&&(Vf(),Wf(0))},encapsulation:2,changeDetection:0});
var GZ=function(){CZ.apply(this,arguments);this._fixedInViewport=!1;this._fixedBottomGap=this._fixedTopGap=0};Y(GZ,CZ);
Gh.Object.defineProperties(GZ.prototype,{fixedInViewport:{configurable:!0,enumerable:!0,get:function(){return this._fixedInViewport},set:function(a){this._fixedInViewport=Sg(a)}},fixedTopGap:{configurable:!0,enumerable:!0,get:function(){return this._fixedTopGap},set:function(a){this._fixedTopGap=Vg(a)}},fixedBottomGap:{configurable:!0,enumerable:!0,get:function(){return this._fixedBottomGap},set:function(a){this._fixedBottomGap=Vg(a)}}});
GZ.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(GZ)))(b||GZ)}}();
GZ.\u0275cmp=r({type:GZ,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(a,b){a&2&&(Af("align",null),If("top",b.fixedInViewport?b.fixedTopGap:null,"px")("bottom",b.fixedInViewport?b.fixedBottomGap:null,"px"),Jf("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"],standalone:!0,features:[yf,dg],ngContentSelectors:Ftc,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(a){a&1&&(Vf(),H(0,"div",0,1),Wf(2),K())},dependencies:[Px],encapsulation:2,data:{animation:[ztc]},changeDetection:0});var FZ=function(){BZ.apply(this,arguments);this._content=this._allDrawers=void 0};Y(FZ,BZ);
FZ.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(FZ)))(b||FZ)}}();
FZ.\u0275cmp=r({type:FZ,selectors:[["mat-sidenav-container"]],contentQueries:function(a,b,c){a&1&&(pg(c,EZ,5),pg(c,GZ,5));if(a&2){var d;ng(d=qg())&&(b._content=d.first);ng(d=qg())&&(b._allDrawers=d)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(a,b){a&2&&Jf("mat-drawer-container-explicit-backdrop",b._backdropOverride)},exportAs:["matSidenavContainer"],standalone:!0,features:[bg([{provide:Etc,useExisting:FZ}]),yf,dg],ngContentSelectors:["mat-sidenav",
"mat-sidenav-content","*"],decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(a,b){a&1&&(Vf(Gtc),F(0,H2a,1,2,"div",0),Wf(1),Wf(2,1),F(3,I2a,2,0,"mat-sidenav-content"));a&2&&(Nf(0,b.hasBackdrop?0:-1),A(3),Nf(3,b._content?-1:3))},dependencies:[EZ],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;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 HZ=function(){};HZ.\u0275fac=function(a){return new (a||HZ)};HZ.\u0275mod=Tc({type:HZ});HZ.\u0275inj=Ec({imports:[jz,Tx,Tx,jz]});var Htc=["issueSidenavContainer"],y3a=function(a,b,c){return{low:a,high:b,p0:c}},e4a=function(a){return{id:a}},K4a=function(a,b){return{"bv2-grid-cell-variable-height":a,"rtl-component-path":b}},w5a=function(){return[]},IZ=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I,P){var O=this;this.activeSession=a;this.cdr=b;this.elementRef=c;this.teamsService=d;this.ngZone=e;this.userPreferencesManager=f;this.hotlistFridge=h;this.issueFridge=k;this.bLocation=q;this.issuePagination=t;this.paths=w;this.errorHandler=
y;this.$log=C;this.domSafe=J;this.currentTracker=I;this.anayltics=P;this.ISSUE_STATUS_JS_ICON_NAME=RZb;this.STATUS_JS_FULL_TEXT=Kk;this.STATUS_JS_TERSE=mD;this.lastCheckedIndex=null;this.focusedRowIndexChange=new mv;this.columns=[];this.columnsChange=new mv;this.enableColumnSaving=!1;this.sort=null;this.enableSidebar=!1;this.sortChange=new mv;this.rowClick=new mv;this.init=new mv;this.onRowDragDrop=new mv;this.onNextPage=new mv;this.onPrevPage=new mv;this.selectionCallbacks=[];this.GET_ISSUE_ACCESS_LEVEL_TITLE=
Rp;this.isLoadingTeams=!0;this.isTotalEstimatesEnabled=yD(this.activeSession,"enableAggregationRules");this.enableNewVisibilityChips=yD(this.activeSession,"enableNewVisibilityChips");this.isIssueSidebarOpen=this.isIssueSidebarEnabled=!1;this.destroyed$=new E.ReplaySubject(1);this.starInProgress={};this.readUnreadOptOut=yD(this.activeSession,"readUnreadOptOut");this.enableAddViewCountColumnsOnIlp=yD(this.activeSession,"enableAddViewCountColumnsOnIlp");b=ya(BXa);a.isInternalSession()||(va(b,"minSlo"),
va(b,"responseSlo"),va(b,"assignmentSlo"),va(b,"closureSlo"),va(b,"deletionTime"),va(b,"team"),va(b,"estimate"),va(b,"estimateTotalOpen"),va(b,"estimateTotalComplete"));this.enableAddViewCountColumnsOnIlp||(va(b,"oneDayViewCount"),va(b,"sevenDayViewCount"),va(b,"thirtyDayViewCount"));this.availableColumns=b.map(Tp);this.dragDropLogic=new ipc({ngZone:this.ngZone,nativeElement:this.elementRef.nativeElement,rowFinder:function(U){return Itc(O,U)},onRowDragDrop:function(U){O.onRowDragDrop.emit(U)}})};
g=IZ.prototype;g.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&&yD(this.activeSession,"enableIssueSidebar")||!1;this.init.emit(this)};
g.ngOnChanges=function(a){if(a.searchResults){var b,c=jra((null==(b=this.searchResults)?void 0:b.issues.map(function(e){return new Set([].concat(u(e.hotlistId||[])))}))||[]);this.hotlistFridge.watchSet([].concat(u(c)))}if(a.searchResults||a.columns)for(b=l(this.columns),c=b.next();!c.done;c=b.next())"TEAM"===c.value.label&&Jtc(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}))||[]);Bra(a,d)||JZ(this)}};g.ngOnDestroy=function(){this.dragDropLogic.tearDown();this.destroyed$.next()};g.focus=function(){this.grid.focus()};g.selectAll=function(){if(this.searchResults){for(var a=l(this.searchResults.issues),b=a.next();!b.done;b=a.next())b.value.selected=!0;this.cdr.detectChanges()}JZ(this)};
var Ktc=function(a){if(a.searchResults){for(var b=l(a.searchResults.issues),c=b.next();!c.done;c=b.next())c.value.selected=!1;a.cdr.detectChanges()}JZ(a)};IZ.prototype.hasSelectedIssues=function(){return this.searchResults?this.searchResults.issues.some(function(a){return a.selected}):!1};var S2a=function(a){return a.searchResults?a.searchResults.issues.every(function(b){return b.selected}):!1};
IZ.prototype.someIssuesSelected=function(){return this.searchResults?this.searchResults.issues.some(function(a){return a.selected}):!1};IZ.prototype.getHeaderCheckboxState=function(){if(!this.searchResults)return"unchecked";for(var a=!0,b=!1,c=l(this.searchResults.issues),d=c.next();!d.done;d=c.next())d.value.selected?b=!0:a=!1;return a?"checked":b?"indeterminate":"unchecked"};
IZ.prototype.getSelectedIssues=function(){return this.searchResults?this.searchResults.issues.filter(function(a){return a.selected}):[]};var Mtc=function(a){if(Ltc(a)&&null!=a.focusedRowIndex&&a.searchResults){var b=a.searchResults.issues[a.focusedRowIndex];b&&(b.selected=!b.selected,a.cdr.detectChanges(),JZ(a))}};
IZ.prototype.toggleAllIssueSelection=function(){if(this.searchResults){for(var a=!this.someIssuesSelected(),b=l(this.searchResults.issues),c=b.next();!c.done;c=b.next())c.value.selected=a;this.cdr.detectChanges();JZ(this)}};
var J2a=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()&&N2b(a.issuePagination,a.searchResults.endIndex+1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onNextPage.emit()})},K2a=function(a){null!=a.focusedRowIndex&&0<a.focusedRowIndex?(a.focusedRowIndex--,a.focusedRowIndexChange.emit(a.focusedRowIndex),
a.cdr.detectChanges()):a.searchResults&&a.searchResults.hasPreviousPage()&&N2b(a.issuePagination,a.searchResults.startIndex-1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onPrevPage.emit()})},KZ=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.setUrl(a.paths.editIssue(c.issueId)))};
IZ.prototype.getFocusedIssue=function(){return Ltc(this)&&null!=this.focusedRowIndex&&this.searchResults?this.searchResults.issues[this.focusedRowIndex]:null};var Ntc=function(a,b){a.selectionCallbacks.push(b);b()};
IZ.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=l(d);for(e=d.next();!e.done;e=d.next())e.value.selected=!a;JZ(this)}c.selected=!c.selected;this.lastCheckedIndex=b;JZ(this)};
var JZ=function(a){a=l(a.selectionCallbacks);for(var b=a.next();!b.done;b=a.next())b=b.value,b()},Otc=function(a){Ltc(a)&&null!=a.focusedRowIndex&&a.searchResults&&a.toggleStar(a.searchResults.issues[a.focusedRowIndex])},Ptc=function(a,b){b=void 0===b?!0:b;var c=a.getSelectedIssues();if(0!==c.length){for(var d=l(c),e=d.next();!e.done;e=d.next())e.value.isRead=b;a.cdr.detectChanges();lI(a.issueFridge,c.map(function(f){return f.issueId}),{markRead:b,userActivityType:"MARK_AS_READ_OR_UNREAD"}).then(function(f){for(var h=
l(c),k=h.next();!k.done;k=h.next()){var q=void 0;k.value.lastViewedTime=null!=(q=f)?q:null}}).catch(function(){for(var f=l(c),h=f.next();!h.done;h=f.next())h=h.value,h.isRead=!!h.lastViewedTime&&h.lastViewedTime>=h.majorModifiedTime}).finally(function(){a.cdr.detectChanges()})}};
IZ.prototype.toggleStar=function(a){var b=this;a&&!this.starInProgress[a.issueId]&&(a.starred=!a.starred,this.starInProgress[a.issueId]=!0,T3b(this.issueFridge,String(a.issueId),a.starred).pipe(Qe(),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()}))};
IZ.prototype.issueDescription=function(a){return(a.isClosed?"Closed ":this.readUnreadOptOut||a.isRead?"":"Unread ")+"Issue ID "+a.id+" titled: "+a.title};
var Ltc=function(a){return null!=a.searchResults&&null!=a.focusedRowIndex&&0<=a.focusedRowIndex&&a.focusedRowIndex<a.searchResults.issues.length},Itc=function(a,b){return b?a.searchResults?a.searchResults.issues.findIndex(function(c){return c.id===b}):-1:-1},Jtc=function(a){if(a.searchResults){for(var b=new Set,c=l(a.searchResults.issues),d=c.next();!d.done;d=c.next())d=String(d.value.teamId),"0"!==d&&b.add(d);0<b.size?(a.isLoadingTeams=!0,C4b(a.teamsService,[].concat(u(b))).pipe(bf(a.destroyed$)).subscribe(function(e){if(a.searchResults)for(var f=
l(a.searchResults.issues),h=f.next();!h.done;h=f.next()){h=h.value;var k=String(h.teamId);"0"!==k&&(k=e.get(k))&&(h.team=k.name)}a.isLoadingTeams=!1;a.cdr.detectChanges()})):a.isLoadingTeams=!1}};g=IZ.prototype;g.isIssueGridColumn=function(){return!0};g.isLowPriority=function(a){return 2<=Number(a.priority)};g.isHighPriority=function(a){return 2>Number(a.priority)};g.isP0Priority=function(a){return 0===Number(a.priority)};
g.getComponentPath=function(a){return ci(a)?a.join(" > "):(a=Ds(this.currentTracker,a))&&a.componentPathName?a.componentPathName.join(" > "):""};IZ.\u0275fac=function(a){return new (a||IZ)(B(nt),B(XD,2),B(Hd),B(WI),B(ef),B(LE),B(TH),B(iI),B(bF),B(sG),B(cF),B(FG),B(GE),B(lM),B(SG),B(aI))};
IZ.\u0275cmp=r({type:IZ,selectors:[["b-issues-grid"]],viewQuery:function(a,b){a&1&&(og(hX,7),og(Htc,5));if(a&2){var c;ng(c=qg())&&(b.grid=c.first);ng(c=qg())&&(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:[bg([XD]),ld],decls:6,vars:2,consts:[["hasBackdrop","false",3,"sidebar-enabled",4,"ngIf","ngIfElse"],["issuesGrid",""],["issueWithHovercard",""],["hasBackdrop","false"],["issueSidenavContainer",""],["mode","side","position","end",3,"opened","disableClose","openedChange"],[3,"issueId","closeSidebar","navigateToNextIssue","navigateToPreviousIssue",4,"ngIf"],[4,"ngTemplateOutlet"],[3,"issueId","closeSidebar","navigateToNextIssue",
"navigateToPreviousIssue"],[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 issue-id-cell",4,"forViewCell"],["class","clickable title-cell",3,"bv2-grid-cell-variable-height",4,"forViewCell"],["class","priority-cell clickable",4,"forViewCell"],["class","severity-cell clickable",4,"forViewCell"],["data-stable-cell","status","class","clickable",4,"forViewCell"],["data-stable-cell","type","class","clickable",4,"forViewCell"],["class","clickable",4,"forViewCell"],
["class","clickable datetime-cell",4,"forViewCell"],["class","componentPath-cell clickable",3,"ngClass",4,"forViewCell"],["class","clickable first-letter-capitalized",4,"forViewCell"],[1,"focus-indicator"],[4,"ngIf"],[1,"drag-handle"],[1,"selected-box"],["tabindex","0","aria-label","Select all issues","role","checkbox",1,"keep-focus-ring","b-select-all-toggle",3,"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","issue-id-cell"],[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,"issueId","compactMode"],[3,"trackerId","compactMode"],[3,"retentionState","showOnlyInDangerZone","compactMode","modifiedTime"],[1,"bv2-grid-cell-text"],[1,"row-issue-title",3,"href"],["svgIcon","input_24px","class","navigate-to-idp icon-s",4,"ngIf"],["class","bv2-hotlist-chips",4,"ngIf"],[3,"accessLevel","compactMode"],["svgIcon","input_24px",1,"navigate-to-idp","icon-s"],[1,"bv2-hotlist-chips"],[3,"id","removable",4,"ngFor",
"ngForOf"],[3,"id","removable"],[1,"priority-cell","clickable"],[1,"bv2-priority",3,"ngClass"],[1,"severity-cell","clickable"],["data-stable-cell","status",1,"clickable"],[3,"ngSwitch","title"],["class","icon-s",3,"svgIcon",4,"ngSwitchCase"],[3,"class",4,"ngSwitchDefault"],[1,"icon-s",3,"svgIcon"],["data-stable-cell","type",1,"clickable"],[1,"clickable"],[3,"email",4,"ngIf"],[3,"email"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"clickable","datetime-cell"],["mode",
"datetime",3,"timestamp"],[1,"componentPath-cell","clickable",3,"ngClass"],[1,"clickable","first-letter-capitalized"],[3,"sloId","sloStatus","sloStartTime",4,"ngIf"],[3,"sloId","sloStatus","sloStartTime"],[3,"sloStatus","sloStartTime"],[3,"sloId","sloStatus","sloStartTime","onlyShowMetric",4,"ngIf"],[3,"sloId","sloStatus","sloStartTime","onlyShowMetric"],[3,"sloBounds"],["mode","date",3,"timestamp",4,"ngIf"],["mode","date",3,"timestamp"],["class","animated-loading-bar",4,"ngIf"],[1,"animated-loading-bar"],
["teamNotAssignedMessage","--",3,"teamId","componentId","anchorLinkEnabled"],["issueHovercard","onedevHovercard"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"onedevHovercardTrigger"],[3,"onedevIsHovercardReady","issueId"],["cardBody",""]],template:function(a,b){a&1&&(H(0,"div"),F(1,N2a,6,6,"mat-sidenav-container",0),K(),F(2,x5a,52,59,"ng-template",null,1,tg)(4,z5a,5,2,"ng-template",null,2,tg));if(a&2){var c=S(3);A(1);G("ngIf",b.isIssueSidebarEnabled)("ngIfElse",c)}},dependencies:[pX,
Sv,Tv,Uv,Zv,Vv,Wv,Xv,MA,tz,GZ,FZ,EZ,hX,mX,iX,jX,kX,cX,eX,CM,oX,AO,TW,zZ,qL,nL,cK,hK,iK,mK,jK,JU,vZ,YR,CU,rU,nX,AJ,zJ,FJ,CJ],styles:["mat-sidenav-container.sidebar-enabled[_ngcontent-%COMP%]{height:calc(100vh - 100px)}/*# sourceMappingURL=issues_grid.css.map */"],changeDetection:0});
var LZ=new Sp({name:"focused",sortable:!1,draggable:!1,isMetadata:!0}),Qtc=new Sp({name:"draghandle",sortable:!1,draggable:!1,isMetadata:!0}),MZ=new Sp({name:"selected",sortable:!1,draggable:!1,isMetadata:!0}),NZ=new Sp({name:"starred",sortable:!1,draggable:!1,isMetadata:!0}),Rtc=new Sp({name:"position",sortable:!0,draggable:!1,fullLabel:"Position",label:"POS",isMetadata:!0});var OZ=function(a,b,c){Z.call(this);var d=this;this.snackBar=a;this.issuePicker=b;this.issueApi=c;this.issueAddedToHotlist=new mv;this.onCloseIssuePicker=function(e){e=void 0===e?[]:e;if(0!==e.length&&null!=d.id){var f=e.join(", ");d.snackBar.open(1===e.length?"Adding issue "+f+" to this hotlist":"Adding multiple issues to this hotlist: "+f,void 0,{duration:2500});d.issueApi.issueBulkEdit({bulkEditOps:[{actions:[{fieldName:"hotlists",value:d.id,actionType:"ADD"}],issueIds:e}]}).then(d.didSave,d.gotErr)}};
this.didSave=function(){d.issueAddedToHotlist.emit();d.snackBar.open("Successfully added to hotlist",void 0,{duration:2500})};this.gotErr=function(e){var f,h,k,q,t=null!=(q=null!=(k=null==e?void 0:null==(f=e.error)?void 0:f.message)?k:null==e?void 0:null==(h=e.data)?void 0:h.message)?q:"Error adding issues to the hotlist";d.snackBar.open(t,"close",{panelClass:"error"})}};Y(OZ,Z);OZ.\u0275dir=Z.\u0275dir;OZ.\u0275fac=function(a){return new (a||OZ)(B(BG),B(rW),B(kG))};
OZ.\u0275cmp=r({type:OZ,selectors:[["hotlist-add-issue-btn"]],inputs:{id:["hotlistId","id"]},outputs:{issueAddedToHotlist:"issueAddedToHotlist"},features:[yf],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),Q("click",function(){b.issuePicker.open({title:"Add Issues to this Hotlist",allowMultipleIds:!0},b.onCloseIssuePicker)}),T(1," Add Issue(s) "),K())},dependencies:[eA,dC],encapsulation:2});var PZ=function(a,b,c,d){Z.call(this);var e=this;this.fridge=a;this.snackBar=b;this.dialog=c;this.events=d;this.id$=new E.ReplaySubject(1);this.hotlist$=this.id$.pipe(af(function(f){return e.fridge.watchOne(f)}),Ye({refCount:!0,bufferSize:1}));this.archived$=this.hotlist$.pipe(D(function(f){return!(null==f||!f.archived)}),Pe());this.archiveActionLabel$=this.archived$.pipe(D(function(f){return f?"Unarchive":"Archive"}));this.archiveActionTooltip$=this.archived$.pipe(D(function(f){return f?"Unarchive this hotlist":
"Archive this hotlist, hiding it from most searches"}));this.didSave=function(f){return function(){e.snackBar.open(f?"Hotlist was archived":"Hotlist was unarchived",void 0,{duration:2500});e.events.hotlistChanged.next()}};this.gotErr=function(f){return function(h){var k=f?"archiving":"unarchiving";e.snackBar.open(xn(h)||"Error "+k+" the hotlist","close",{panelClass:"error"})}};this.hotlist$.pipe(bf(this.destroyed$)).subscribe(function(f){e.latestHotlist=f})};Y(PZ,Z);PZ.\u0275dir=Z.\u0275dir;
PZ.prototype.isThinking=function(a){return this.fridge.isThinking(a)};PZ.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};var Ttc=function(a){if(null!=a.latestHotlist){var b=!a.latestHotlist.archived;b?a.dialog.open({title:"Archive Hotlist",content:ch("Do you want to archive this hotlist?"),isDestructive:!0,onConfirm:function(){Stc(a,b)}}):Stc(a,b)}},Stc=function(a,b){a.fridge.save(Object.assign({},a.latestHotlist,{archived:b})).subscribe({next:a.didSave(b),error:a.gotErr(b)})};
PZ.\u0275fac=function(a){return new (a||PZ)(B(TH),B(BG),B(SJ),B(lG))};
PZ.\u0275cmp=r({type:PZ,selectors:[["hotlist-archive-btn"]],inputs:{id:["hotlistId","id"]},features:[yf,ld],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),Q("click",function(){return Ttc(b)}),W(1,"async"),T(2),W(3,"async"),K());if(a&2){var c;G("disabled",b.isThinking(b.id))("matTooltip",null!==(c=X(1,3,b.archiveActionTooltip$))&&void 0!==c?c:"");A(2);V(" ",X(3,5,b.archiveActionLabel$)," ")}},dependencies:[eA,
dC,$v],encapsulation:2});var QZ=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I){uW.call(this,a,b,c,d,e,f,h,k,q,t,C,J,I);this.estadoService=w;this.refreshMonitor=y;this.init=new mv;this.onRefresh=new mv;this.isHotlistAdmin=!1;this.onExportCsv=new mv;this.showHotlistButtons=!1;this.isNonPublicSession=this.activeSession.isNonPublicSession();a=this.estadoService;this.enableEstadoInAppBar=a.enableEstado&&!a.currentTracker.inTracker;this.enableBulkEditUi=yD(this.activeSession,"enableBulkEditUi");this.controllerName="gridControls"};
Y(QZ,uW);QZ.\u0275dir=uW.\u0275dir;g=QZ.prototype;g.ngOnInit=function(){this.init.emit(this)};g.ngOnChanges=function(a){var b=this;a.grid&&this.grid&&Ntc(this.grid,function(){b.onSelectionChange()})};g.getSelectedIssues=function(){var a,b;return null!=(b=null==(a=this.grid)?void 0:a.getSelectedIssues())?b:[]};g.refresh=function(){this.refreshMonitor.refreshRequest.next();this.onRefresh.emit()};g.openInEstado=function(){this.estadoService.openInEstado()};
var Utc=function(a){return a.hasSelectedIssues()&&a.isNonPublicSession};QZ.\u0275fac=function(a){return new (a||QZ)(B(mH),B(XD,2),B(nt),B(aI),B(TE),B(kL),B(KO),B(WP),B(vA),B(GE),B(XW),B(gI),B(rW),B(LE),B(eJ))};
QZ.\u0275cmp=r({type:QZ,selectors:[["b-grid-controls"]],inputs:{grid:"grid",isHotlistAdmin:"isHotlistAdmin",currentHotlistId:"currentHotlistId",showHotlistButtons:"showHotlistButtons"},outputs:{init:"init",onRefresh:"onRefresh",onExportCsv:"onExportCsv"},features:[bg([XD]),yf,ld],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"],[3,"externalWarnings"],["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,"flex-kids-x","justify-flex-end"],[3,"onUpdate"]],template:function(a,b){a&1&&(H(0,"b-button",0),Q("onAction",function(){return b.refresh()}),L(1,"b-icon",1),K(),F(2,A5a,2,4,"b-app-bar-bulk-edit-menus",2)(3,B5a,1,2,"b-copy-issue-id-button",3)(4,C5a,2,2,"div",4)(5,F5a,3,2,"ng-container",5)(6,H5a,3,3,"b-button",6),H(7,"b-app-bar-more-menu",7),Q("exportCsvClicked",function(){return b.onExportCsv.emit()})("flagAsSpamClicked",
function(){return hoc(b)}),K(),H(8,"b-state-modal",8),Q("save",function(){return foc(b)})("close",function(){return b.hotkeys.unpause()}),K(),F(9,K5a,11,6,"ng-template",null,9,tg));a&2&&(A(2),G("ngIf",b.hasSelectedIssues()),A(1),G("ngIf",b.hasSelectedIssues()),A(1),G("ngIf",b.enableBulkEditUi&&b.hasSelectedIssues()),A(1),G("ngIf",b.showHotlistButtons&&!b.hasSelectedIssues()),A(1),G("ngIf",b.enableEstadoInAppBar),A(1),G("showExportCsv",b.isNonPublicSession)("showFlagIssuesAsSpam",Utc(b)),A(1),G("externalWarnings",
b.externalWarnings))},dependencies:[FD,ED,rJ,qU,Uv,SP,PZ,OZ,yS,AD,eA,wA,xA,yA,zA,wU,vU,tU,$v],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var Vtc=function(a){return{displayText:"Admins",values:a}},Wtc=function(a){return[a]},Xtc=function(a){return{displayText:"Appenders",values:a}},Ytc=ch("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?"),RZ=function(a,b,c,d,e,f,h,k,q){Z.call(this);var t=this;this.hotlistAccessPolicyFridge=a;this.links=b;this.snackBar=
c;this.events=d;this.dialog=f;this.permissions=h;this.userApi=k;this.activeSession=q;this.id$=new E.ReplaySubject(1);this.idSubject$=Ck(this.id$.pipe(bf(this.destroyed$)));this.acl$=this.id$.pipe(af(function(w){return t.hotlistAccessPolicyFridge.watchOne(w)}));this.latestCompactPolicy={};this.admins=[];this.appenders=[];this.readers=[];this.accessControlLink=Q6b(this.links);this.validity={};this.isValid=function(){return Object.values(t.validity).every(Boolean)};this.isInvalid=function(){return!t.isValid()};
this.allAppenders=[];this.onPressSave=function(){t.isRevokingAdmin()?t.dialog.open({title:"Change Hotlist Admins",content:Ytc,isDestructive:!0,onConfirm:t.doSave}):t.doSave()};this.doSave=function(){var w=t.idSubject$.value;if(null!=w){var y=t.isRevokingAdmin();w={id:w,admins:gOa(t.admins),appenders:gOa(t.appenders),editors:null,readers:gOa(t.readers),implicitAccess:null,restrictedReaders:null,restrictedPlusReaders:null,inheritedAdmins:null,implicitAppenders:null,implicitEditors:null,implicitReaders:null};
t.hotlistAccessPolicyFridge.save(w).subscribe({next:t.didSave(y,w.id),error:t.gotErr})}};this.didSave=function(w,y){return function(){t.snackBar.open("Access control saved",void 0,{duration:2500});t.events.hotlistChanged.next();t.permissions.poke(y);w&&t.doStar()}};this.gotErr=function(w){t.snackBar.open(xn(w)||"Error saving the hotlist access policy","close",{panelClass:"error"})};this.doStar=function(){var w=t.idSubject$.value;w&&t.userApi.saveFavorite({resourceType:"HOTLIST",resourceId:w,userLogin:t.activeSession.getUserEmail()}).then(function(){t.events.hotlistChanged.next()})};
this.onPressRevert=function(){t.resetEdits()};this.gotAcl=function(w){t.latestPolicy=w;var y,C,J;t.latestCompactPolicy={admins:Qo(null==(y=t.latestPolicy)?void 0:y.admins),appenders:Qo(null==(C=t.latestPolicy)?void 0:C.appenders),readers:Qo(null==(J=t.latestPolicy)?void 0:J.readers)};t.resetEdits()};this.isChanged=function(){var w=t.latestCompactPolicy,y;if(!$h(null!=(y=w.admins)?y:[],t.admins))return!0;var C;if(!$h(null!=(C=w.appenders)?C:[],t.appenders))return!0;var J;return $h(null!=(J=w.readers)?
J:[],t.readers)?!1:!0};this.hasNoChanges=function(){return!t.isChanged()};this.acl$.pipe(bf(this.destroyed$)).subscribe(this.gotAcl);this.subscriptions.add(BX(e,this.isChanged,!1))};Y(RZ,Z);RZ.\u0275dir=Z.\u0275dir;var Ztc=function(a){return[].concat(u(new Set([].concat(u(a.admins),u(a.appenders)))))};RZ.prototype.ngOnChanges=function(a){(a=a.hotlistId)&&this.id$.next(a.currentValue)};
RZ.prototype.resetEdits=function(){var a;this.admins=[].concat(u(null!=(a=this.latestCompactPolicy.admins)?a:[]));var b;this.appenders=[].concat(u(null!=(b=this.latestCompactPolicy.appenders)?b:[]));var c;this.readers=[].concat(u(null!=(c=this.latestCompactPolicy.readers)?c:[]));this.allAppenders=Ztc(this)};RZ.prototype.isRevokingAdmin=function(){var a=this.admins,b,c=null!=(b=this.latestCompactPolicy.admins)?b:[];return this.isRevokingDirectAdmin(a,c,this.activeSession.getUserEmail())};
RZ.prototype.isRevokingDirectAdmin=function(a,b,c){c=void 0===c?"":c;if(tta(a,b))return!1;c="USER:"+c;b=b.includes(c);a=!a.includes(c);return b&&a};RZ.\u0275fac=function(a){return new (a||RZ)(B(LH),B(lL),B(BG),B(lG),B(AX),B(SJ),B(GI),B(SH),B(nt))};
RZ.\u0275cmp=r({type:RZ,selectors:[["b-edit-hotlist-acl"]],inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},features:[yf,ld],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"),T(2,"Admins"),K(),H(3,"p",1),T(4,"Edit access controls, edit name and description, reorder hotlist, add/remove issues"),K(),H(5,"b-multi-user-input",2),Q("usersChange",function(c){b.admins=c;b.allAppenders=Ztc(b)})("isValid",
function(c){return b.validity.admins=c}),K(),H(6,"label"),T(7,"View and append"),K(),H(8,"p",1),T(9,"Reorder hotlist, add/remove issues"),K(),H(10,"b-multi-user-input",3),Q("usersChange",function(c){b.appenders=c;b.allAppenders=Ztc(b)})("isValid",function(c){return b.validity.appenders=c}),K(),H(11,"label"),T(12,"View only"),K(),H(13,"p",1),T(14,"View the hotlist"),K(),H(15,"b-multi-user-input",4),Q("usersChange",function(c){b.readers=c})("isValid",function(c){return b.validity.readers=c}),K()(),
H(16,"p"),T(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),T(19,"access control documentation"),K(),T(20," for an explanation of the settings.\n"),K(),F(21,L5a,5,4,"div",6));a&2&&(A(5),Jf("disabled",b.isReadOnly),G("users",b.admins),A(5),Jf("disabled",b.isReadOnly),G("users",b.appenders)("includeAliases",!0)("containerChips",fg(18,Wtc,fg(16,Vtc,b.admins))),A(5),Jf("disabled",b.isReadOnly),G("users",b.readers)("includeAliases",
!0)("includeViewAliases",!0)("containerChips",fg(22,Wtc,fg(20,Xtc,b.allAppenders))),A(3),G("href",b.accessControlLink,Wd),A(3),G("ngIf",!b.isReadOnly))},dependencies:[Uv,Ew,xw,Bw,eA,dC,UY],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 $tc=["hotlistName"],SZ=function(a,b,c,d){Z.call(this);var e=this;this.fridge=a;this.snackBar=b;this.events=c;this.isReadOnly=!1;this.id$=new E.ReplaySubject(1);this.hotlist$=this.id$.pipe(af(function(f){return e.fridge.watchOne(f)}));this.isArchived=!1;this.localEdits={};this.gotHotlist=function(f){e.latestHotlist=f;var h;e.isArchived=null!=(h=null==f?void 0:f.archived)?h:!1;e.resetEdits(f)};this.gotErr=function(f){e.snackBar.open(xn(f)||"Error saving the hotlist","close",{panelClass:"error"})};
this.didSave=function(){e.snackBar.open("Hotlist saved",void 0,{duration:2500});e.events.hotlistChanged.next()};this.isChanged=function(){var f,h=null!=(f=e.latestHotlist)?f:{};return!$h(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(f){e.gotHotlist(f)});this.subscriptions.add(BX(d,
this.isChanged,!1))};Y(SZ,Z);SZ.\u0275dir=Z.\u0275dir;SZ.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){var b;null==(b=a.hotlistName)||b.nativeElement.focus()})};SZ.prototype.ngOnChanges=function(a){(a=a.hotlistId)&&this.id$.next(a.currentValue)};SZ.prototype.resetEdits=function(a){var b;this.localEdits=null!=(b=ai(a))?b:{}};SZ.\u0275fac=function(a){return new (a||SZ)(B(TH),B(BG),B(lG),B(AX))};
SZ.\u0275cmp=r({type:SZ,selectors:[["b-edit-hotlist-basic"]],viewQuery:function(a,b){a&1&&og($tc,5);if(a&2){var c;ng(c=qg())&&(b.hotlistName=c.first)}},inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},features:[yf,ld],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),T(2,"Name"),K(),H(3,"input",
2,3),Q("ngModelChange",function(c){return b.localEdits.name=c}),K(),H(5,"label",4),T(6,"Description"),K(),H(7,"textarea",5),Q("ngModelChange",function(c){return b.localEdits.description=c}),T(8,"  "),K(),F(9,M5a,7,7,"div",6),K());a&2&&(A(3),G("disabled",b.isReadOnly||b.isArchived)("ngModel",b.localEdits.name),A(4),G("disabled",b.isReadOnly||b.isArchived)("ngModel",b.localEdits.description),A(2),G("ngIf",!b.isReadOnly))},dependencies:[Uv,Ew,Jg,ww,xw,Ow,Dw,Bw,eA,dC,PZ,$v],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 TZ=function(a,b){Z.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)}))};Y(TZ,Z);TZ.\u0275dir=Z.\u0275dir;TZ.prototype.isThinking=function(a){var b=a?"hotlists/"+a:void 0;return this.hotlists.isThinking(a)||this.acls.isThinking(b)};TZ.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};TZ.\u0275fac=function(a){return new (a||TZ)(B(TH),B(LH))};
TZ.\u0275cmp=r({type:TZ,selectors:[["b-edit-hotlist-header"]],inputs:{id:["hotlistId","id"]},features:[yf,ld],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),T(3),K(),F(4,N5a,2,1,"ng-container",2),W(5,"async"),K(),F(6,O5a,2,0,"strong",3),W(7,"async"),F(8,P5a,1,0,"b-spinner",2),K());if(a&2){var c;A(3);V(" Hotlist ",b.id,": ");
A(1);G("ngIf",X(5,4,b.hotlist$));A(2);G("ngIf",null==(c=X(7,6,b.hotlist$))?null:c.archived);A(2);G("ngIf",b.isThinking(b.id))}},dependencies:[Uv,eK,$v],styles:["[_nghost-%COMP%] {\n      display: block;\n    }"]});var UZ=function(a){Z.call(this);this.activeSession=a;this.URLS=Ps;this.id$=new E.ReplaySubject(1);this.enableBulkEditUi=yD(this.activeSession,"enableBulkEditUi")};Y(UZ,Z);UZ.\u0275dir=Z.\u0275dir;UZ.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};UZ.prototype.onPressBack=function(){var a;null==(a=window.history)||a.back()};UZ.\u0275fac=function(a){return new (a||UZ)(B(nt))};
UZ.\u0275cmp=r({type:UZ,selectors:[["b-edit-hotlist-toolbar"]],inputs:{id:["hotlistId","id"]},features:[yf,ld],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),Q("onAction",function(){return b.onPressBack()}),L(2,"b-icon",2),K(),H(3,"a",3),T(4," View Issues "),K(),F(5,Q5a,2,3,"hotlist-add-issue-btn",4),K());a&2&&(A(3),G("href",b.URLS.HOTLIST_VIEW(b.id),Wd),A(2),G("ngIf",b.enableBulkEditUi))},dependencies:[Uv,fA,dC,rJ,AD,OZ,$v],styles:[".button-bar[_ngcontent-%COMP%] {\n      display: flex;\n      align-items: center;\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var auc=new Map([[403,"You do not have permission to view this Hotlist."],[404,"This Hotlist does not exist."]]),VZ=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 f;return null!=(f=e.status)?f:-1}),D(function(e){var f;
return null!=(f=auc.get(e))?f:"unknown error"}),$e(void 0));this.tabIndex=0};VZ.prototype.ngOnInit=function(){this.pageTitle.setTitle("Edit Hotlist "+this.id);window.location.hash.includes("access")&&(this.tabIndex=1)};VZ.\u0275fac=function(a){return new (a||VZ)(B(XO),B(UG),B(GI),B(TH))};
VZ.\u0275cmp=r({type:VZ,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&&(F(0,S5a,13,14,"ng-container",0),W(1,"async"),F(2,T5a,7,1,"ng-container",0),W(3,"async"));a&2&&(G("ngIf",void 0===X(1,2,b.hotlistErrorMsg$)),A(2),G("ngIf",X(3,
4,b.hotlistErrorMsg$)))},dependencies:[Uv,fU,eU,YU,UL,RZ,SZ,TZ,UZ,$v],encapsulation:2});var WZ=function(){};WZ.\u0275fac=function(a){return new (a||WZ)};WZ.\u0275cmp=r({type:WZ,selectors:[["b-error-banner"]],inputs:{error:"error"},decls:1,vars:1,consts:[["messageType","error",4,"ngIf"],["messageType","error"]],template:function(a,b){a&1&&F(0,U5a,3,1,"b-callout",0);a&2&&G("ngIf",b.error)},dependencies:[Uv,MD,ND],encapsulation:2});var XZ=function(){};XZ.\u0275fac=function(a){return new (a||XZ)};XZ.\u0275mod=Tc({type:XZ});XZ.\u0275inj=Ec({imports:[zD,tJ]});var YZ=function(a){this.activeSession=a;this.sessionIsExternal=a.isExternalSession()};YZ.prototype.shouldShowLinks=function(){return!this.sessionIsExternal&&!!zn(this.email)};YZ.prototype.getName=function(){return void 0===this.email?"":this.email.split("@")[0]};YZ.\u0275fac=function(a){return new (a||YZ)(B(nt))};
YZ.\u0275cmp=r({type:YZ,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&&(Vf(),F(0,$5a,17,5,"ng-container",0)(1,a6a,1,0,"ng-template",null,1,tg));if(a&2){var c=S(2);G("ngIf",!!zn(b.email))("ngIfElse",c)}},dependencies:[Uv,Zv,MA,hK,mK],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 ZZ=function(){};ZZ.\u0275fac=function(a){return new (a||ZZ)};ZZ.\u0275mod=Tc({type:ZZ});ZZ.\u0275inj=Ec({imports:[zD,UK]});var Wla=function(a,b,c,d,e,f){return{"bv2-user-chip-external":a,"bv2-user-chip-non-gaia":b,"bv2-user-chip-not-accessible":c,"bv2-user-chip-container":d,selected:e,readonly:f}},$Z=function(a){Z.call(this);this.activeSession=a;this.isReadonly=!0;this.isSelected=!1;this.isWidgetDisabled=!0;this.nestedChips=this.detailedUserType=this.principalType=null;this.displayText=this.value="";this.accessLevel=void 0;this.chipSelection=new mv;this.chipClear=new mv;this.chipRemove=new mv};Y($Z,Z);$Z.\u0275dir=Z.\u0275dir;
g=$Z.prototype;g.isPublicChip=function(){return"ALIAS"===this.principalType&&["public_non_google","public"].includes(this.value)};g.isNonGaiaChip=function(){return"NON_GAIA"===this.principalType};g.isContainerChip=function(){return null!==this.nestedChips};g.isUserChip=function(){return"USER"===this.principalType};g.isGroupChip=function(){return"GROUP"===this.principalType};g.isDomainChip=function(){return"ALIAS"===this.principalType&&["googlers_unrestricted","google_domain"].includes(this.value)};
g.isExternalChip=function(){return"EXTERNAL"===this.detailedUserType||"PUBLIC"===this.detailedUserType||this.isPublicChip()};g.isExternalPartnerAccessViolated=function(){return"EXTERNAL_PARTNER"===this.accessLevel&&this.isPublicChip()};g.isInternalAccessViolated=function(){return"INTERNAL"===this.accessLevel&&(this.isExternalChip()||this.isPublicChip())};
g.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 users, excluding the google.com domain.";case "public":return"All users";default:throw Error("Ae`"+this.value);}};
var buc=function(a){if(a.isGroupChip())return"group";if(a.isDomainChip())return"acl-alias-domain";if(a.isPublicChip())return"public"};$Z.\u0275fac=function(a){return new (a||$Z)(B(nt))};
$Z.\u0275cmp=r({type:$Z,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:[yf],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),Q("focus",function(){return b.chipSelection.emit()})("blur",function(){return b.chipClear.emit()}),H(1,"span",1),F(2,b6a,1,1,"mat-icon",2),K(),H(3,"div",3),F(4,c6a,2,2,"b-person-hovercard",4)(5,d6a,2,2,"b-group-email-card",
4)(6,e6a,2,1,"div",5),K(),F(7,f6a,2,2,"div",6)(8,h6a,7,1,"div",7),K());a&2&&(G("ngClass",Xla(b.isExternalChip(),b.isNonGaiaChip(),b.isInternalAccessViolated()||b.isExternalPartnerAccessViolated(),b.isContainerChip(),b.isSelected,b.isReadonly))("matTooltip",b.getTooltip()),A(2),G("ngIf",buc(b)),A(2),G("ngIf",b.isUserChip()),A(1),G("ngIf",b.isGroupChip()),A(1),G("ngIf",!b.isUserChip()&&!b.isGroupChip()),A(1),G("ngIf",!b.isReadonly&&!b.isWidgetDisabled),A(1),G("ngIf",b.isContainerChip()))},dependencies:[Sv,
Tv,Uv,MA,dC,AO,YZ,$Z],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 a_=function(){};a_.\u0275fac=function(a){return new (a||a_)};a_.\u0275mod=Tc({type:a_});a_.\u0275inj=Ec({imports:[zD,Tw,QC,vP,ZZ,KJ,LR,YP]});kma(UY,[Tv,Uv,Jg,ww,Dw,KR,XP,$Z]);var b_=function(){};b_.\u0275fac=function(a){return new (a||b_)};b_.\u0275mod=Tc({type:b_});b_.\u0275inj=Ec({providers:[{provide:XU,useValue:{enabled:!0}}],imports:[zD,Tw,kC,QC,jU,sJ,AG,hW,HD,SK,XZ,a_,eM]});var c_=function(){};c_.\u0275fac=function(a){return new (a||c_)};c_.\u0275mod=Tc({type:c_});c_.\u0275inj=Ec({imports:[ID,sJ,DW,zD,EL,VP,b_,EW,HD,kC,AA,QC,GW,FW,uU]});var d_=function(a,b,c,d,e){Z.call(this);this.element=a;this.bLocation=b;this.paths=c;this.hotkeys=d;this.cdr=e;this.focusedIndex=0;this.convertUserToString=qi;this.hotlists=[];this.registerKeys()};Y(d_,Z);d_.\u0275dir=Z.\u0275dir;g=d_.prototype;g.setFocusOnIndex=function(a){this.focusedIndex=a};g.isFocused=function(a){return this.focusedIndex===a};g.selectNext=function(){this.focusedIndex+1>=this.hotlists.length||(this.focusedIndex++,this.scrollToFocusedIndex())};
g.selectPrevious=function(){0>this.focusedIndex-1||(this.focusedIndex--,this.scrollToFocusedIndex())};
g.registerKeys=function(){var a=this,b=UE(this.hotkeys,{title:"Browse Controls",hotkeys:[{keys:["j","DOWN"],displayAs:"j / Down",description:"Move to the next hotlist",onPress:function(){a.selectNext();a.cdr.detectChanges()}},{keys:["k","UP"],displayAs:"k / Up",description:"Move to the previous hotlist",onPress:function(){a.selectPrevious();a.cdr.detectChanges()}},{keys:["ENTER"],displayAs:"Enter",description:"View hotlist detail",onPress:function(){var c=a.hotlists[a.focusedIndex];c&&a.editHotlist(c)}}]});
this.destroyed$.subscribe(b)};g.scrollToFocusedIndex=function(){var a=this.element.nativeElement.parentElement;if(a){var b,c,d=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)}}};g.renderRowLabel=function(a){return this.hotlists[a].name};g.editHotlist=function(a){this.bLocation.path(this.paths.editHotlist(a.hotlistId))};
d_.\u0275fac=function(a){return new (a||d_)(B(Hd),B(bF),B(cF),B(TE),B(XD,2))};
d_.\u0275cmp=r({type:d_,selectors:[["b-hotlist-grid"]],inputs:{hotlists:"hotlists"},features:[bg([XD]),yf],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),L(3,"th",2),H(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),T(8," Hotlist name "),K()()()(),H(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),T(13," Description "),K()()()(),H(14,"th")(15,
"div",3)(16,"div",4)(17,"div",5),T(18," Admins "),K()()()(),H(19,"th")(20,"div",3)(21,"div",4)(22,"div",5),T(23," ID "),K()()()()()(),H(24,"tbody"),F(25,k6a,11,9,"tr",6),K()());a&2&&(A(25),G("ngForOf",b.hotlists))},dependencies:[Tv,Uv],encapsulation:2});var e_=function(){};e_.\u0275fac=function(a){return new (a||e_)};e_.\u0275mod=Tc({type:e_});e_.\u0275inj=Ec({imports:[zD]});var f_=function(a,b){this.bLocation=a;this.butterBar=b},cuc=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};f_.prototype.getCount=function(){var a=cuc(this,"c");return a?fi(a):null};var duc=function(a){return(a=cuc(a,"p"))?fi(a):null};f_.prototype.getQuery=function(){return cuc(this,"q")};
f_.prototype.getDisplayColumns=function(){var a=this.bLocation.search().d;return a?(Array.isArray(a)?a:[a]).map(Ci).filter(jl):null};f_.prototype.getSortColumns=function(){var a=this.bLocation.search().s;return a?(Array.isArray(a)?a:[a]).map(Rra).filter(jl):null};
var g_=function(a,b,c){c=void 0===c?!1:c;var d=function(e,f){c?a.bLocation.search(e,f,!0):a.bLocation.search(e,f)};void 0!==b.displayColumns&&d("d",null==b.displayColumns?null:(b.displayColumns||[]).map(function(e){return euc(e)}));void 0!==b.sortColumns&&d("s",null==b.sortColumns?null:(b.sortColumns||[]).map(function(e){var f="ASCENDING"==e.direction?"asc":"desc";return euc(e.fieldId)+":"+f}));void 0!==b.page&&d("p",b.page);void 0!==b.resultsPerPage&&d("c",b.resultsPerPage);void 0!==b.query&&d("q",
b.query)},euc=function(a){return a.isCustomField()?String(a.customFieldId):a.type.toLowerCase()};f_.\u0275fac=function(a){return new (a||f_)(p(bF),p(EG))};f_.\u0275prov=Dc({token:f_,factory:f_.\u0275fac,providedIn:"root"});var h_=function(a,b,c){this.urlPreferences=a;this.userPreferencesManager=b;this.customFieldApi=c};h_.prototype.fetch=function(a,b){a=this.getParameters(a,void 0===b?null:b);return{searchPreferences:no({page:a.page,query:a.query,resultsPerPage:a.resultsPerPage,sortColumns:a.sortColumns}),displayColumns:a.displayColumns}};
h_.prototype.getParameters=function(a,b){var c=this,d=b?function(){return fuc(b)}:function(){return guc(c)},e=b?function(){return huc(b)}:function(){return iuc(c)};d=Promise.resolve(this.urlPreferences.getDisplayColumns()).then(function(k){return i_(k)}).then(null,d).then(function(k){return i_(k)}).then(null,pu(a.displayColumns)).then(function(k){return juc(c,k)});e=Promise.resolve(this.urlPreferences.getSortColumns()).then(function(k){return i_(k)}).then(null,e).then(function(k){return i_(k)}).then(null,
pu(a.sortColumns));var f=Promise.resolve(this.urlPreferences.getCount()).then(function(k){return i_(k)}).then(null,function(){return kuc(c)}).then(function(k){return i_(k)}).then(null,pu(a.resultsPerPage)),h=Promise.resolve(this.urlPreferences.getQuery()).then(function(k){return i_(k)}).then(null,function(){return luc(b,function(k){return k.query})}).then(null,pu(a.query));a=duc(this.urlPreferences)||a.page;return{displayColumns:d,sortColumns:e,resultsPerPage:f,query:h,page:a}};
var i_=function(a){return null==a?Promise.reject(null):a},fuc=function(a){return luc(a,function(b){return b.displayColumn}).then(function(b){return muc(b)})},huc=function(a){return luc(a,function(b){return b.sortOrder}).then(function(b){return nuc(b)})},iuc=function(a){return(0,E.firstValueFrom)(a.userPreferencesManager.sortColumnsPreferences$).then(function(b){return i_(b)}).then(function(b){return nuc(b)})},guc=function(a){return(0,E.firstValueFrom)(a.userPreferencesManager.displayColumnsPreferences$).then(function(b){return i_(b)}).then(function(b){return muc(b)})},
kuc=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 i_(b)})},luc=function(a,b){return a?a.then(function(c){c=b(c);return null==c?Promise.reject(null):c}):Promise.reject(null)},muc=function(a){if(!a||!a.length)return null;a=Pj(a,function(b){return b.customFieldId||b.customFieldName||b.type});return a.map(function(b){return new Bi({customFieldId:b.customFieldId||void 0,customFieldName:b.customFieldName||
void 0,type:b.type})})},nuc=function(a){return a&&a.length?a.map(function(b){return void 0!==b.column?new Fi(new Bi(b.column),b.order):new Fi(new Bi(b.field),b.direction)}).filter(function(b){return"CUSTOM_FIELD"!=b.fieldId.type||null!=b.fieldId.customFieldId}):null},juc=function(a,b){function c(){for(var k=l(b),q=k.next();!q.done;q=k.next())if(q=q.value,q.isCustomField()&&!q.customFieldName){var t=d[q.customFieldId];q.customFieldName=t?t:"Custom field "+q.customFieldId}return b}if(!b)return Promise.resolve([]);
for(var d={},e=[],f=l(b),h=f.next();!h.done;h=f.next())h=h.value,h.customFieldId&&h.isCustomField()&&(h.customFieldName?d[h.customFieldId]=h.customFieldName:e.push(a.customFieldApi.get(h.customFieldId).then(function(k){d[k.customFieldId]=k.name})));return Promise.all(e).then(c,c)};h_.\u0275fac=function(a){return new (a||h_)(p(f_),p(LE),p(yH))};h_.\u0275prov=Dc({token:h_,factory:h_.\u0275fac,providedIn:"root"});var j_=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I){Z.call(this);var P=this;this.cdr=a;this.bLocation=b;this.$log=c;this.butterBar=e;this.analytics=f;this.issuePagination=h;this.gridPreferencesFetcher=k;this.paths=q;this.errorHandler=t;this.domSafe=w;this.timeout=y;this.hotkeys=C;this.appSearchState=I;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 mv;this.resultsLoaded=new mv;this.selectionChange=new mv;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 O;null==(O=P.issuesGrid)||J2a(O)}},{keys:["k"],displayAs:"k",description:"Move to the previous issue in the current panel",
onPress:function(){var O;null==(O=P.issuesGrid)||K2a(O)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var O;null==(O=P.issuesGrid)||Mtc(O)}},{keys:["s"],displayAs:"s",description:"Star/Unstar the current issue",onPress:function(){var O;null==(O=P.issuesGrid)||Otc(O)}},{keys:[Sj("i")],displayAs:"Shift+i",description:"Mark as read",onPress:function(){var O;null==(O=P.issuesGrid)||Ptc(O,!0)}},{keys:[Sj("u")],displayAs:"Shift+u",description:"Mark as unread",
onPress:function(){var O;null==(O=P.issuesGrid)||Ptc(O,!1)}},{keys:[Tj("*","a")],displayAs:"* then a",description:"Select all issues in the current panel",onPress:function(){var O;null==(O=P.issuesGrid)||O.selectAll()}},{keys:[Tj("*","n")],displayAs:"* then n",description:"Deselect all issues in the current panel",onPress:function(){var O;null==(O=P.issuesGrid)||Ktc(O)}},{keys:["o","ENTER"],displayAs:"o / Enter",description:"Open the current issue",onPress:function(O){var U=J.document.activeElement;
if(1===O&&"A"===(null==U?void 0:U.tagName))if(U.href)O=P.paths.getBaseUrl(),U.href.startsWith(O)?b.setUrl(U.href.slice(O.length)):P.domSafe.openInNewTab(U.href);else{var aa;null==(aa=P.issuesGrid)||KZ(aa)}else{var na;null==(na=P.issuesGrid)||KZ(na)}}}];this.destroyed$.subscribe(function(){var O;null==(O=P.unregisterHotkeys)||O.call(P)})};Y(j_,Z);j_.prototype.columnsChange=function(a){this.issueColumns=a};j_.prototype.ngOnInit=function(){this.getIssues();ouc(this)};
var ouc=function(a){var b;null==(b=a.unregisterHotkeys)||b.call(a);a.isFocused?a.unregisterHotkeys=UE(a.hotkeys,{title:"Bookmark Group Dashboard",hotkeys:a.BASE_HOTKEYS}):a.unregisterHotkeys=void 0},X6a=function(a,b){a.issuesGrid=b;Ntc(a.issuesGrid,function(){var c,d={panelId:a.panel.panelId,selectedIssues:null==(c=a.issuesGrid)?void 0:c.getSelectedIssues()};a.selectionChange.emit(d)})};g=j_.prototype;
g.setSort=function(a,b,c){c=void 0===c?!0:c;var d=Ci(a);if(null==d)this.$log.warn("WARNING: Invalid column name: "+a);else{var e=new Fi(d,"ASC"==b?"ASCENDING":"DESCENDING");xa(this.sortPreferences,function(f){return $h(f.fieldId,e.fieldId)});this.sortPreferences=c?[e].concat(this.sortPreferences.slice(0,2)):[e];this.page=1;this.refreshResults()}};
g.getSort=function(){if(!this.sortPreferences.length)return null;var a=this.sortPreferences[0];a={field:"CUSTOM_FIELD"==a.fieldId.type?String(a.fieldId.customFieldId):di(a.fieldId.type),direction:"ASCENDING"==a.direction?"ASC":"DESC"};$h(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};g.initColumns=function(a,b){this.displayColumns=a;this.issueColumnsInternal=[].concat(u(b),u(EXa(a)));this.initialIssueColumns=ai(this.issueColumns);this.isColumnSaveEnabled=!0};
g.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.setUrl(a))};g.goToPage=function(a){this.page=a;this.getIssues()};g.refreshResults=function(){uG(this.issuePagination);this.getIssues()};g.exportCsv=function(){mM(this.domSafe,this.getCsvUrl())};
g.getCsvUrl=function(){this.$log.warn("WARNING: Method getCsvUrl() not implemented.");return""};g.getIssues=function(){var a=this;this.searchResults=null;this.isLoading=!0;var b=this.resource?Promise.resolve(this.resource):this.loadResource();return this.doSearch(b).catch(function(c){a.$log.warn("WARNING: unable to doSearch()",c)}).finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
g.doSearch=function(a){var b=this,c=this.getGridPreferencesDefaults(),d=this.gridPreferencesFetcher.fetch(c,a.then(function(){return{query: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 tG(b.issuePagination,e)});a.catch(function(e){"number"===typeof e?b.goToPage(e):
e&&b.errorHandler.errorHandler(null,e)});return no({searchResultsPage:a,displayColumns:d.displayColumns}).then(function(e){var f=e.searchResultsPage;b.searchResults=f;b.page=f.params.page;b.sortPreferences=f.params.sortColumns||[];b.initialSortPreferences||(b.initialSortPreferences=ai(b.sortPreferences));d.displayColumns.then(function(h){b.initColumns(h,b.getMetaColumns(f))});b.resultsLoaded.emit(b.searchResults.issues);b.timeout.schedule(function(){var h=b.issuePagination.getFocusedIssue();-1!=h&&
(b.focusedRowIndex=h-f.startIndex)})})};g.getGridPreferencesDefaults=function(){return{page:this.page,displayColumns:puc,sortColumns:[],query:"",resultsPerPage:25}};
g.save=function(){var a=this,b=this.issueColumns.slice((this.searchResults?this.getMetaColumns(this.searchResults):quc).length);b=FXa(b).map(function(c){return new Bi(c)});this.resource.displayColumn=b;b=this.sortPreferences.map(function(c){return{direction:c.direction,field:c.fieldId}});this.resource.sortOrder=b;Fs(this.butterBar,"Saving changes to panel...");this.saveResource().then(function(){a.initialIssueColumns=ai(a.issueColumns);a.initialSortPreferences=ai(a.sortPreferences);a.cdr.detectChanges()})};
g.discardChanges=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"discardChanges");this.issueColumns=[].concat(u(this.initialIssueColumns||[]));if(this.initialSortPreferences&&!$h(this.initialSortPreferences,this.sortPreferences)){raa(this.sortPreferences);var a=this.initialSortPreferences;zt(uaa,this.sortPreferences,void 0,0).apply(null,a);this.refreshResults()}};
g.hasParamChanges=function(){return this.resource&&this.isEditable()?this.initialIssueColumns&&!$h(this.initialIssueColumns,this.issueColumns)?!0:!!this.initialSortPreferences&&!$h(this.initialSortPreferences,this.sortPreferences):!1};g.isEditable=function(){var a=this;return!!this.resource&&this.resource.adminUsers.some(function(b){return b.emailAddress===a.currentUserEmail})};g.getMetaColumns=function(){return quc};
g.getSearchParams=function(a){a=ai(a);a.resultsPerPage=10;a.page=this.page;this.sortPreferences.length&&(a.sortColumns=this.sortPreferences);a.returnUrl=this.bLocation.getUrl();return a};
Gh.Object.defineProperties(j_.prototype,{issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){$h(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&&ouc(this)},
get:function(){return this.focusedRowIndexInternal}},isFocused:{configurable:!0,enumerable:!0,get:function(){return null!==this.focusedRowIndex}}});var quc=[LZ,MZ,NZ],puc="priority type title assignee status issueId modifiedTime".split(" ").map(Ci);j_.\u0275fac=function(a){return new (a||j_)(B(XD),B(bF),B(GE),B(nt),B(EG),B(aI),B(sG),B(h_),B(cF),B(FG),B(lM),B(QD),B(TE),B(Window),B(GK))};
j_.\u0275dir=Vc({type:j_,viewQuery:function(a,b){a&1&&og(IZ,5);if(a&2){var c;ng(c=qg())&&(b.issuesGrid=c.first)}},inputs:{panel:"panel",isDashboardEditable:"isDashboardEditable",first:"first",last:"last",focusedRowIndex:"focusedRowIndex"},outputs:{focusedRowIndexChange:"focusedRowIndexChange",resultsLoaded:"resultsLoaded",selectionChange:"selectionChange"},features:[yf]});var k_=function(a,b){this.dialog=a;this.appEvents=b;this.last=this.first=!1};k_.prototype.removePanel=function(){var a=this;this.dialog.open({title:"Remove Item?",content:ch("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)}})};k_.\u0275fac=function(a){return new (a||k_)(B(SJ),B(lG))};
k_.\u0275cmp=r({type:k_,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),L(2,"mat-icon",1),K(),H(3,"mat-menu",null,2),F(5,p6a,6,4,"ng-template",3),K()());if(a&2){var b=S(4);A(1);G("matMenuTriggerFor",b)}},dependencies:[Uv,MA,ZB,XB,YB,WB,eA],encapsulation:2});var l_=function(){};l_.\u0275fac=function(a){return new (a||l_)};l_.\u0275mod=Tc({type:l_});l_.\u0275inj=Ec({imports:[zD,$B,kC]});var m_=function(){};m_.\u0275fac=function(a){return new (a||m_)};m_.\u0275mod=Tc({type:m_});m_.\u0275inj=Ec({imports:[zD,UK]});var n_=function(){};n_.\u0275fac=function(a){return new (a||n_)};n_.\u0275mod=Tc({type:n_});n_.\u0275inj=Ec({imports:[zD,m_]});var o_=function(){};o_.\u0275fac=function(a){return new (a||o_)};o_.\u0275mod=Tc({type:o_});o_.\u0275inj=Ec({imports:[zD,UK,n_]});var p_=function(){};p_.\u0275fac=function(a){return new (a||p_)};p_.\u0275mod=Tc({type:p_});p_.\u0275inj=Ec({imports:[zD,m_]});var q_=function(){this.availablePanels=new Set;this.iconOnly=!1;this.buttonClassname="";this.openSidebar=new mv};q_.\u0275fac=function(a){return new (a||q_)};
q_.\u0275cmp=r({type:q_,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),Q("click",function(){b.openSidebar.emit({panel:void 0})}),yd(),H(1,"svg",1)(2,"g",2),L(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),K()(),F(13,q6a,2,0,"ng-container",13),K());a&2&&(Jf("icon-only-mode",b.iconOnly),
G("ngClass",b.buttonClassname)("disabled",0===b.availablePanels.size),A(13),G("ngIf",!b.iconOnly))},dependencies:[Sv,Uv,eA,dC],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 r_=function(a){this.issueInsightsSidebarService=a;this.iconOnly=!1;this.buttonClassname="";this.availablePanels$=this.issueInsightsSidebarService.availablePanels$;this.shouldShowInsightsGraphMenu$=this.issueInsightsSidebarService.shouldShowInsightsGraphMenu$};r_.prototype.openSidebar=function(a){this.issueInsightsSidebarService.openSidebar(a)};r_.\u0275fac=function(a){return new (a||r_)(B(tZ))};
r_.\u0275cmp=r({type:r_,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&&(F(0,s6a,3,3,"ng-container",0),W(1,"async"));a&2&&G("ngIf",X(1,1,b.availablePanels$))},dependencies:[Uv,q_,$v],encapsulation:2,changeDetection:0});var s_=function(){};s_.\u0275fac=function(a){return new (a||s_)};s_.\u0275mod=Tc({type:s_});s_.\u0275inj=Ec({imports:[zD,kC,$B,EE,QC]});var t_=function(){};t_.\u0275fac=function(a){return new (a||t_)};t_.\u0275mod=Tc({type:t_});t_.\u0275inj=Ec({imports:[hw]});var u_=function(){};u_.\u0275fac=function(a){return new (a||u_)};u_.\u0275mod=Tc({type:u_});u_.\u0275inj=Ec({imports:[hw,QC]});var v_=function(){};v_.\u0275fac=function(a){return new (a||v_)};v_.\u0275mod=Tc({type:v_});v_.\u0275inj=Ec({imports:[t_,hw,QC,u_]});var w_=function(){};w_.\u0275fac=function(a){return new (a||w_)};w_.\u0275mod=Tc({type:w_});w_.\u0275inj=Ec({imports:[hw,px,ry,ny,kC]});var x_=function(){};x_.\u0275fac=function(a){return new (a||x_)};x_.\u0275mod=Tc({type:x_});x_.\u0275inj=Ec({imports:[hw,Tw,w_]});var y_=function(){};y_.\u0275fac=function(a){return new (a||y_)};y_.\u0275mod=Tc({type:y_});y_.\u0275inj=Ec({imports:[zD,QC,v_,jN,x_,UK]});var z_=function(){};z_.\u0275fac=function(a){return new (a||z_)};z_.\u0275mod=Tc({type:z_});z_.\u0275inj=Ec({imports:[hw]});var A_=function(){};A_.\u0275fac=function(a){return new (a||A_)};A_.\u0275mod=Tc({type:A_});A_.\u0275inj=Ec({imports:[hw,Tw,w_,z_]});var B_=function(){};B_.\u0275fac=function(a){return new (a||B_)};B_.\u0275mod=Tc({type:B_});B_.\u0275inj=Ec({imports:[zD,AP,A_]});var C_=function(){};C_.\u0275fac=function(a){return new (a||C_)};C_.\u0275mod=Tc({type:C_});C_.\u0275inj=Ec({imports:[zD,mN,eN,Uw,KP]});var D_=function(){};D_.\u0275fac=function(a){return new (a||D_)};D_.\u0275mod=Tc({type:D_});D_.\u0275inj=Ec({imports:[zD,QC,kC,p_,YM,n_,C_,ry]});var E_=function(){};E_.\u0275fac=function(a){return new (a||E_)};E_.\u0275mod=Tc({type:E_});E_.\u0275inj=Ec({imports:[sJ,tJ,zD,Tw,kC,AA,iW,AG,QC,jN]});var vib=function(a){return!!a&&("object"===typeof a||"function"===typeof a)};var ruc={},suc=(ruc.COMFORTABLE=330,ruc.COZY=300,ruc.COMPACT=270,ruc),F_=function(a){Z.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=l(c);c=d.next().value;var e=d.next().value;d=d.next().value;return null!=d?d:null!=e?e:suc[null!=c?c:"COMFORTABLE"]}));(0,E.combineLatest)([this.rightSidebarWidthChanged$.pipe(Pe()),this.sidebarWidthPreference$]).pipe(He(function(c){c=l(c);var d=c.next().value;return c.next().value!==d}),af(function(c){c=l(c);var d=c.next().value;
c.next();return u1b(b.userPreferencesManager,{rightSidebarWidth:d})}),bf(this.destroyed$)).subscribe()};Y(F_,Z);F_.\u0275dir=Z.\u0275dir;F_.prototype.ngOnInit=function(){};F_.\u0275fac=function(a){return new (a||F_)(B(LE))};
F_.\u0275cmp=r({type:F_,selectors:[["issue-metadata-sidebar"]],inputs:{issueId:"issueId"},features:[yf],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),T(1,"Issue metadata"),K(),H(2,"b-resizable-sidebar",1),Q("widthChanged",function(d){return b.rightSidebarWidthChanged$.next(d)}),W(3,"async"),
H(4,"div",2)(5,"div",3),F(6,t6a,1,1,"edit-issue-metadata",4),K()()());if(a&2){var c;A(2);G("disableToggleBtn",!1)("hideToggleBtnOnOpen",!0)("minWidth",b.RIGHT_SIDEBAR_MIN_WIDTH)("size",null!==(c=X(3,5,b.currentSidebarWidth$))&&void 0!==c?c:0);A(4);G("ngIf",b.issueId)}},dependencies:[Uv,XL,uZ,$v],styles:["[_nghost-%COMP%] {\n      display: inherit;\n    }"],changeDetection:0});var G_=function(){};G_.\u0275fac=function(a){return new (a||G_)};G_.\u0275mod=Tc({type:G_});G_.\u0275inj=Ec({imports:[KJ,aS,zD,nS,PR,y_,v_,WE,UK,s_,aW,D_,lS,MX,QC,eM,E_,B_,DL,XK,lC]});var H_=function(){};H_.\u0275fac=function(a){return new (a||H_)};H_.\u0275mod=Tc({type:H_});H_.\u0275inj=Ec({imports:[kC,QC,Tw,GA,KA,EE,Vz,VK,XK,zD,bW,AP,KJ,SK,G_,kU,sX]});var I_=function(){};I_.prototype.getValue=function(){return this.row[this.column.name]||""};I_.prototype.isCustomField=function(){return this.column.isCustomField};I_.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 $h(this.customFieldValue,a)||(this.customFieldValue=a),this.customFieldValue};
I_.\u0275fac=function(a){return new (a||I_)};I_.\u0275cmp=r({type:I_,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&&F(0,u6a,2,2,"span",0)(1,v6a,1,1,"b-custom-field-value-display",1);a&2&&(G("ngIf",!b.isCustomField()),A(1),G("ngIf",b.isCustomField()))},dependencies:[Uv,qS],encapsulation:2,changeDetection:0});var J_=function(){};J_.\u0275fac=function(a){return new (a||J_)};J_.\u0275mod=Tc({type:J_});J_.\u0275inj=Ec({imports:[zD,QC,rS]});kma(hX,[Tv,Uv,Zv,mX,I_]);var K_=function(){};K_.\u0275fac=function(a){return new (a||K_)};K_.\u0275mod=Tc({type:K_});K_.\u0275inj=Ec({imports:[zD,UK]});var L_=function(){};L_.\u0275fac=function(a){return new (a||L_)};L_.\u0275mod=Tc({type:L_});L_.\u0275inj=Ec({imports:[zD,K_,YM]});var M_=function(){};M_.\u0275fac=function(a){return new (a||M_)};M_.\u0275mod=Tc({type:M_});M_.\u0275inj=Ec({imports:[qX,zD,$B,DD,QC,kC,AA,vz,HZ,HD,J_,m_,o_,YM,p_,KJ,vP,UW,L_,FL,EL,QK,pS,UK,aW,H_,ZR,cW,sU]});var N_=function(a,b,c){this.hotlistsApi=a;this.butterBar=b;this.appEvents=c};
N_.prototype.repositionIssue=function(a,b,c,d,e,f){var h=this,k=b[0].position,q=k>b[1].position,t=b[c],w=b[d].position;Aaa(b,c,d);null==f||f();Fs(this.butterBar,"Saving...",0);return this.hotlistsApi.repositionHotlistIssue(a,t.issueId,w).then(function(){for(var y=k,C=l(b),J=C.next();!J.done;J=C.next())J.value.position=y,y+=q?-1:1;null==f||f();Fs(h.butterBar,"Saved issue position.",4E3);h.appEvents.hotlistChanged.next({hotlistId:a,origin:e});return h.hotlistsApi.get(a)})};
N_.\u0275fac=function(a){return new (a||N_)(p(PF),p(EG),p(lG))};N_.\u0275prov=Dc({token:N_,factory:N_.\u0275fac,providedIn:"root"});var tuc=["actionsMenuIconButton"],O_=function(){this.buttonLabel="";this.buttonIcon="more-settings-vertical"};O_.prototype.trackByIndex=function(a){return a};O_.prototype.onAction=function(a,b){return qe(function(c){if("mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button)return c.return();"action"!==b.type&&"select"!==b.type||b.action(a);we(c)})};O_.prototype.ngOnInit=function(){};O_.\u0275fac=function(a){return new (a||O_)};
O_.\u0275cmp=r({type:O_,selectors:[["b-actions-menu"]],viewQuery:function(a,b){a&1&&og(tuc,5);if(a&2){var c;ng(c=qg())&&(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&&(F(0,w6a,3,4,"button",0),H(1,"mat-menu",null,1)(3,"div",2),F(4,x6a,2,1,"div",3)(5,L6a,3,2,"ng-container",4),K()());a&2&&(G("ngIf",0<b.menuItems.length),A(4),G("ngIf",b.header),A(1),G("ngForOf",b.menuItems)("ngForTrackBy",b.trackByIndex))},dependencies:[ZB,
XB,YB,Sv,Tv,Uv,MA,eA,dC],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 P_=function(){this.pageChange=new mv;this.resultsPerPageChange=new mv;this.resultsPerPageFixed=!1;this.resultsPerPageOptions=[10,25,50,100,250]};P_.prototype.nextPage=function(){this.searchResults&&this.pageChange.emit({page:this.searchResults.params.page+1})};var uuc=function(a){a.searchResults&&a.pageChange.emit({page:a.searchResults.params.page-1})};
Gh.Object.defineProperties(P_.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}})}}});P_.\u0275fac=function(a){return new (a||P_)};
P_.\u0275cmp=r({type:P_,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),F(1,M6a,1,1,"b-actions-menu",1)(2,N6a,6,3,"span",2),H(3,"button",3),Q("click",function(){return uuc(b)})("keydown.enter",function(c){uuc(b);return c.stopPropagation()}),L(4,"mat-icon",4),K(),H(5,"button",5),Q("click",function(){return b.nextPage()})("keydown.enter",function(c){b.nextPage();return c.stopPropagation()}),L(6,"mat-icon",6),K()());a&2&&(A(1),G("ngIf",b.searchResults&&0<b.searchResults.issues.length&&
!b.resultsPerPageFixed),A(1),G("ngIf",b.searchResults&&0<b.searchResults.issues.length),A(1),G("disabled",!(null==b.searchResults?0:b.searchResults.hasPreviousPage())),A(2),G("disabled",!(null==b.searchResults?0:b.searchResults.hasNextPage())))},dependencies:[Uv,MA,eA,O_,bK],encapsulation:2});var Q_=function(){};Q_.\u0275fac=function(a){return new (a||Q_)};Q_.\u0275mod=Tc({type:Q_});Q_.\u0275inj=Ec({imports:[$B,zD,kC,QC]});var R_=function(){};R_.\u0275fac=function(a){return new (a||R_)};R_.\u0275mod=Tc({type:R_});R_.\u0275inj=Ec({imports:[zD,kC,Q_,PK]});var S_=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I,P,O,U){j_.call(this,c,e,f,h,k,q,t,w,y,d,C,I,P,O,U);this.hotlists=a;this.hotlistApi=b;this.appEvents=J;this.resource=null};Y(S_,j_);S_.\u0275dir=j_.\u0275dir;g=S_.prototype;g.ngOnInit=function(){j_.prototype.ngOnInit.call(this)};g.setSort=function(a,b){var c=this.getSort();"position"===a||c&&"position"===c.field?j_.prototype.setSort.call(this,a,b,!1):j_.prototype.setSort.call(this,a,b)};
g.loadResource=function(){var a=this,b=this.hotlistApi.get(this.hotlistId);b.then(function(c){a.resource=c;a.cdr.detectChanges()}).catch(function(c){a.errorHandler.errorHandler(null,c);a.resource=null});return b};
g.saveResource=function(){var a=this;if(this.resource)return this.hotlistApi.updateMetadata(this.hotlistId,this.resource).then(function(b){a.resource=b;a.appEvents.hotlistChanged.next({hotlistId:b.hotlistId,origin:"hotlist-panel"});Fs(a.butterBar,'Saved changes to hotlist "'+b.name+'".');a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"savedParams");a.cdr.detectChanges();return b}).catch(function(b){a.errorHandler.errorHandler(null,b);return Promise.reject(b)});this.butterBar.showWarning("Hotlist is not set at this time.");
return Promise.resolve()};g.getGridPreferencesDefaults=function(){return Object.assign({},j_.prototype.getGridPreferencesDefaults.call(this),{query:"hotlistId:"+this.hotlistId})};g.getMetaColumns=function(a){a=a.params.sortColumns||[];return 0==a.length||1==a.length&&"POSITION"==a[0].fieldId.type?vuc:wuc};g.getSearchParams=function(a){a=j_.prototype.getSearchParams.call(this,a);a.hotlistId=this.hotlistId;return a};
g.repositionIssue=function(a,b){var c=this;this.searchResults&&this.hotlists.repositionIssue(this.hotlistId,this.searchResults.issues,a,b,"hotlist-panel",function(){c.searchResults&&(c.searchResults=c.searchResults.clone())}).then(function(d){c.resource=d;c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"issueDragDrop")})};S_.\u0275fac=function(a){return new (a||S_)(B(N_),B(PF),B(XD,2),B(FG),B(bF),B(GE),B(nt),B(EG),B(aI),B(sG),B(h_),B(cF),B(lM),B(lG),B(QD),B(TE),B(ZF),B(GK))};
S_.\u0275cmp=r({type:S_,selectors:[["b-hotlist-panel"]],inputs:{hotlistId:"hotlistId"},features:[bg([XD]),yf],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),F(3,O6a,2,0,"div",3)(4,P6a,2,0,"div",3)(5,S6a,8,5,"div",3),K(),F(6,T6a,5,0,"div",4),H(7,"b-pagination",5),Q("pageChange",
function(c){return b.goToPage(c.page)}),K()(),F(8,Z6a,4,3,"div",3),K());a&2&&(Af("aria-busy",b.isLoading),A(3),G("ngIf",!b.resource&&!b.isLoading),A(1),G("ngIf",!b.resource&&b.isLoading),A(1),G("ngIf",b.resource),A(1),G("ngIf",b.hasParamChanges()),A(1),G("searchResults",b.searchResults)("resultsPerPageFixed",!0),A(1),G("ngIf",b.resource))},dependencies:[Uv,IZ,eA,dC,P_,k_,eK],encapsulation:2});var wuc=[LZ,MZ,NZ,Rtc],vuc=[LZ,Qtc,MZ,NZ,Rtc],T_=function(){};T_.\u0275fac=function(a){return new (a||T_)};
T_.\u0275mod=Tc({type:T_});T_.\u0275inj=Ec({imports:[zD,M_,kC,QC,R_,l_,SK]});var U_=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I,P){j_.call(this,b,d,e,f,h,k,q,t,w,c,y,C,J,I,P);this.savedSearchApi=a;this.resource=null};Y(U_,j_);U_.\u0275dir=j_.\u0275dir;U_.prototype.ngOnInit=function(){j_.prototype.ngOnInit.call(this)};U_.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};U_.prototype.saveResource=function(){return Promise.resolve()};
U_.\u0275fac=function(a){return new (a||U_)(B(LI),B(XD,2),B(FG),B(bF),B(GE),B(nt),B(EG),B(aI),B(sG),B(h_),B(cF),B(lM),B(QD),B(TE),B(ZF),B(GK))};
U_.\u0275cmp=r({type:U_,selectors:[["b-saved-search-panel"]],inputs:{savedSearchId:"savedSearchId"},features:[bg([XD]),yf],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),F(3,$6a,2,0,"div",3)(4,a7a,2,0,"div",3)(5,d7a,8,5,"div",4),K(),H(6,"b-pagination",5),Q("pageChange",function(c){return b.goToPage(c.page)}),K()(),F(7,i7a,4,3,"div",3),K());a&2&&(Af("aria-busy",b.isLoading),A(3),G("ngIf",!b.resource&&!b.isLoading),A(1),G("ngIf",!b.resource&&b.isLoading),A(1),G("ngIf",b.resource),A(1),G("searchResults",b.searchResults)("resultsPerPageFixed",!0),A(1),G("ngIf",b.resource))},
dependencies:[Uv,IZ,dC,P_,k_,eK],encapsulation:2});var V_=function(){};V_.\u0275fac=function(a){return new (a||V_)};V_.\u0275mod=Tc({type:V_});V_.\u0275inj=Ec({imports:[zD,M_,QC,R_,l_,SK]});var W_=function(){this.label="Team"};W_.prototype.ngOnInit=function(){};W_.\u0275fac=function(a){return new (a||W_)};
W_.\u0275cmp=r({type:W_,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),F(2,j7a,3,3,"span",2),K()());a&2&&(Af("aria-label",b.label),A(2),G("ngForOf",b.teamPath))},dependencies:[Tv,AE],encapsulation:2});var X_=function(){};X_.\u0275fac=function(a){return new (a||X_)};X_.\u0275mod=Tc({type:X_});X_.\u0275inj=Ec({imports:[zD,EE,WR]});var xuc=["form"],yuc=["numberInput"],zuc=/^\d+\.?\d*$/,Auc={DAYS:0,YEARS:1,0:"DAYS",1:"YEARS"},Y_=function(){this.disabled=!1;this.ariaLabel="";this.durationDaysChange=new mv;this.displayUnits=0;this.timeUnitEnum=Auc};
Y_.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()})};Y_.prototype.ngAfterViewInit=function(){};
Y_.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))};Y_.prototype.ngOnDestroy=function(){this.formSubscription&&this.formSubscription.unsubscribe()};Y_.\u0275fac=function(a){return new (a||Y_)};
Y_.\u0275cmp=r({type:Y_,selectors:[["b-duration-picker"]],viewQuery:function(a,b){a&1&&(og(xuc,7),og(yuc,7));if(a&2){var c;ng(c=qg())&&(b.form=c.first);ng(c=qg())&&(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"),T(5," Custom Duration "),K(),H(6,"input",3,4),Q("keydown",function(c){switch(c.key){case "-":case "e":case "E":c.preventDefault()}})("paste",function(c){var d=c.clipboardData.getData("Text");zuc.test(d)||c.preventDefault()}),K()(),H(8,"mat-form-field",2)(9,"mat-select",5)(10,"mat-option",
6),T(11,"days"),K(),H(12,"mat-option",6),T(13,"year(s)"),K()()()()());a&2&&(A(6),G("ngModel",b.displayNumber)("disabled",b.disabled),Af("aria-label",b.ariaLabel),A(3),G("ngModel",b.displayUnits)("disabled",b.disabled),A(1),G("value",b.timeUnitEnum.DAYS),A(2),G("value",b.timeUnitEnum.YEARS))},dependencies:[Ew,Jg,Fw,ww,xw,Nw,Dw,Bw,FA,DA,JA,JP,hA],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 Z_=function(){};Z_.\u0275fac=function(a){return new (a||Z_)};Z_.\u0275mod=Tc({type:Z_});Z_.\u0275inj=Ec({imports:[zD,Tw,KA,GA,KP,sX]});var a0=function(a,b,c){this.dialogRef=a;this.data=b;this.documentationLinks=c};a0.prototype.getDisablingFieldsHelpLink=function(){return this.documentationLinks.getDisablingFieldsHelpLink()};a0.prototype.onNoClick=function(){this.dialogRef.close(!1)};a0.\u0275fac=function(a){return new (a||a0)(B(sA),B(uA),B(lL))};
a0.\u0275cmp=r({type:a0,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),T(1),K(),H(2,"div",1)(3,"p"),T(4,
" The "),H(5,"strong"),T(6),K(),T(7," field will change state from "),H(8,"strong"),T(9),K(),T(10," to "),H(11,"strong"),T(12),K(),T(13,". "),K(),F(14,k7a,6,2,"p",2),H(15,"p"),T(16,"Are you sure?"),K()(),H(17,"div",3)(18,"button",4),Q("click",function(){return b.onNoClick()}),T(19," Cancel "),K(),H(20,"button",5),T(21," Confirm "),K()());a&2&&(A(1),V("Field State Change for ",b.data.fieldName,""),A(5),$f(b.data.fieldName),A(3),$f(b.data.oldFieldState),A(3),$f(b.data.newFieldState),A(2),G("ngIf",b.data.noteText),
A(6),G("mat-dialog-close",!0))},dependencies:[Uv,eA,wA,xA,yA,zA],styles:[".notice[_ngcontent-%COMP%]{font-weight:bold}"]});var Buc=["fieldStateMenuButton"],Cuc=function(a){return{"mat-stroked-button":a}},b0=function(a){this.dialog=a;this.fieldName="";this.fieldState="INHERIT";this.confirmationDialog=this.enabledOnParent=!0;this.disabled=!1;this.fieldStateChange=new mv;this.FieldState=wZb;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."}};b0.prototype.ngOnInit=function(){this.updateMenuButton()};
b0.prototype.ngOnChanges=function(){this.updateMenuButton()};
var Euc=function(a,b){b!==a.fieldState&&(a.confirmationDialog?Duc(a,b):(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b)))},Duc=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);a.dialog.open(a0,{width:"500px",data:{fieldName:a.fieldName,oldFieldState:Fuc(a,a.fieldState),
newFieldState:Fuc(a,b),noteText:e}}).afterClosed().pipe(Qe()).subscribe(function(f){f?(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b),a.disabled=!0):a.focus()})};b0.prototype.updateMenuButton=function(){this.defaultLabel="Default ("+(this.enabledOnParent?this.msgs.visibleName:this.msgs.hiddenName)+")";this.menuLabel=Fuc(this,this.fieldState)};
var Fuc=function(a,b){switch(b){case "INHERIT":return a.defaultLabel;case "DISABLED":return a.msgs.hiddenName;case "ENABLED":return a.msgs.visibleName;default:Oh(b,"Unknown FieldState.")}};b0.prototype.focus=function(){this.disabled=!1;this.fieldStateMenuButton.nativeElement.focus()};b0.\u0275fac=function(a){return new (a||b0)(B(vA))};
b0.\u0275cmp=r({type:b0,selectors:[["b-field-state-menu"]],viewQuery:function(a,b){a&1&&og(Buc,5,Hd);if(a&2){var c;ng(c=qg())&&(b.fieldStateMenuButton=c.first)}},inputs:{fieldName:"fieldName",fieldState:"fieldState",enabledOnParent:"enabledOnParent",confirmationDialog:"confirmationDialog",disabled:"disabled"},outputs:{fieldStateChange:"fieldStateChange"},features:[ld],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),L(4,"span",3)(5,"b-icon",4),K()()(),H(6,"mat-menu",null,5)(8,"div",6)(9,"div",7)(10,"button",8),Q("click",function(){return Euc(b,b.FieldState.INHERIT)}),L(11,"b-icon",9),H(12,"div",10),T(13),K(),H(14,"div",11),T(15),K()()(),L(16,"mat-divider"),H(17,"button",12),Q("click",function(){return Euc(b,b.FieldState.DISABLED)}),H(18,"div",13)(19,"div",14),L(20,
"b-icon",9),H(21,"div",10),T(22),K(),H(23,"div",11),T(24),K()()()(),H(25,"button",12),Q("click",function(){return Euc(b,b.FieldState.ENABLED)}),H(26,"div",13)(27,"div",14),L(28,"b-icon",9),H(29,"div",10),T(30),K(),H(31,"div",11),T(32),K()()()()()());if(a&2){var c=S(7);A(1);G("ngClass",fg(16,Cuc,!b.disabled))("disabled",b.disabled)("matMenuTriggerFor",c);A(3);G("innerHTML",b.menuLabel,Vd);A(6);Jf("b-menu-item-checked",b.fieldState===b.FieldState.INHERIT);A(3);V(" ",b.defaultLabel," ");A(2);V(" ",b.msgs.inheritDescription,
" ");A(2);Jf("b-menu-item-checked",b.fieldState===b.FieldState.DISABLED);A(5);V(" ",b.msgs.hiddenName," ");A(2);V(" ",b.msgs.hiddenDescription," ");A(1);Jf("b-menu-item-checked",b.fieldState===b.FieldState.ENABLED);A(5);V(" ",b.msgs.visibleName," ");A(2);V(" ",b.msgs.visibleDescription," ")}},dependencies:[Sv,eA,CD,ZB,XB,YB,AD],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 c0=function(){};c0.\u0275fac=function(a){return new (a||c0)};c0.\u0275mod=Tc({type:c0});c0.\u0275inj=Ec({imports:[zD,kC,AA,DD,$B,HD,sJ]});var d0=function(a,b){this.dialogRef=b;this.issueId=a.issueId;this.issueTitle=a.issueTitle};d0.prototype.close=function(){this.dialogRef.close(!1)};d0.\u0275fac=function(a){return new (a||d0)(B(uA),B(sA))};
d0.\u0275cmp=r({type:d0,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),T(1,"Unsubscribe From Issue"),K(),H(2,"mat-dialog-content")(3,"div",1),T(4," Are you sure you would like to unsubscribe from the following issue? "),
K(),L(5,"br"),H(6,"div",2)(7,"a",3)(8,"span"),T(9),K()(),T(10," - "),H(11,"span"),T(12),K()(),L(13,"br"),H(14,"div",1),T(15," By unsubscribing, you will no longer receive email updates about this issue. "),K()(),H(16,"mat-dialog-actions")(17,"button",4),Q("click",function(){return b.close()}),T(18," Cancel "),K(),H(19,"button",5),Q("click",function(){b.dialogRef.close(!0)}),T(20," Unsubscribe "),K()());a&2&&(A(7),Xf("href","/issues/",b.issueId,"",Wd),A(2),V("b/",b.issueId,""),A(3),$f(b.issueTitle))},
dependencies:[xA,yA,zA,eA],encapsulation:2});var Guc=function(a,b){return{small:a,medium:b}},Huc=function(a){return{black:a}},e0=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 mv;this.showNotificationSettings=new mv;this.menuLabel="Default";this.menuIcon="notifications_none_24px";this.isAnonymous=this.activeSession.isAnonymous();this.subscriptionInternal="UNKNOWN_SUBSCRIPTION";this.NotificationSubscription=BZb;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"}]])};e0.prototype.ngOnInit=function(){Iuc(this)};e0.prototype.ngOnChanges=function(){this.updateMenuButton()};e0.prototype.updateSubscription=function(a){a!==this.subscriptionInternal&&this.subscriptionChange.emit(a)};e0.prototype.updateMenuButton=function(){var a=this.subscriptions.get(this.subscriptionInternal);a&&(this.menuLabel=a.label,this.menuIcon=a.icon)};
var Iuc=function(a){var b,c;qe(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)(a.matDialogService.open(d0,{width:"400px",data:{issueId:a.issueId,issueTitle:b.snapshot[0].title}}).afterClosed()),3)}if(c=d.yieldResult)a.updateSubscription("UNSUBSCRIBED"),
a.analytics.trackEvent(Kp.EDIT_ISSUE,"unsubscribeUsingDialog");we(d)})};Gh.Object.defineProperties(e0.prototype,{subscription:{configurable:!0,enumerable:!0,set:function(a){null!=a&&(this.subscriptionInternal=a)},get:function(){return this.subscriptionInternal}}});e0.\u0275fac=function(a){return new (a||e0)(B(nt),B(vA),B(iI),B(aI),B(XO))};
e0.\u0275cmp=r({type:e0,selectors:[["b-notification-menu"]],inputs:{subscription:"subscription",iconOnly:"iconOnly",issueId:"issueId"},outputs:{subscriptionChange:"subscriptionChange",showNotificationSettings:"showNotificationSettings"},features:[ld],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=v();H(0,"div")(1,"button",0)(2,"div",1);L(3,"b-icon",2);F(4,l7a,
3,1,"ng-container",3);K()()();H(5,"mat-menu",null,4)(7,"div",5)(8,"div",6)(9,"button",7);Q("click",function(){return b.updateSubscription(b.NotificationSubscription.UNKNOWN_SUBSCRIPTION)});L(10,"b-icon",8);H(11,"div",9);T(12," Default ");K();H(13,"div",10);T(14," receive emails based on your default settings. ");K()();L(15,"mat-divider",11);H(16,"button",12);Q("click",function(h){return b.showNotificationSettings.emit(h)});L(17,"b-icon",13);K()();L(18,"mat-divider");H(19,"div",14)(20,"button",15);
Q("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES)});H(21,"div",16);L(22,"b-icon",8);H(23,"div",9);T(24," All Updates ");K();H(25,"div",10);T(26," receive emails for major and minor updates. ");K()()();H(27,"button",17);Q("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES)})("focus",function(){x(c);var h=S(29);return z(h.toggle(!0))})("blur",function(){x(c);var h=S(29);return z(h.toggle(!1))});H(28,"xap-bubble",
18,19);L(30,"mat-icon",20);F(31,m7a,13,0,"ng-template",null,21,tg);K()()();H(33,"div",14)(34,"button",22);Q("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES)});H(35,"div",16);L(36,"b-icon",8);H(37,"div",9);T(38," Major Updates ");K();H(39,"div",10);T(40," receive emails for major updates only. ");K()()();H(41,"button",17);Q("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES)})("focus",function(){x(c);
var h=S(43);return z(h.toggle(!0))})("blur",function(){x(c);var h=S(43);return z(h.toggle(!1))});H(42,"xap-bubble",18,23);L(44,"mat-icon",20);F(45,n7a,17,0,"ng-template",null,24,tg);K()()();H(47,"button",25);Q("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY)});H(48,"div",14)(49,"div",16);L(50,"b-icon",8);H(51,"div",9);T(52," Closure Only ");K();H(53,"div",10);T(54," only receive emails when the issue is closed. ");K()()()();H(55,"button",25);Q("click",
function(){return b.updateSubscription(b.NotificationSubscription.UNSUBSCRIBED)});H(56,"div",14)(57,"div",16);L(58,"b-icon",8);H(59,"div",9);T(60," None ");K();H(61,"div",10);T(62," unsubscribe from further email updates. ");K()()()()()()}if(a&2){var d=S(6),e=S(32),f=S(46);A(1);Jf("icon-only",b.iconOnly);G("ngClass",gg(26,Guc,b.iconOnly,!b.iconOnly))("matMenuTriggerFor",d)("disabled",b.isAnonymous);Af("aria-label","Notifications Menu, current value is "+b.subscriptions.get(b.subscriptionInternal||
"UNKNOWN_SUBSCRIPTION").label);A(2);G("name",b.menuIcon)("ngClass",fg(29,Huc,"notifications-off"===b.menuIcon));A(1);G("ngIf",!b.iconOnly);A(5);Jf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNKNOWN_SUBSCRIPTION);A(6);G("vertical",!0);A(5);Jf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES);A(7);Af("aria-label","This includes emails about major updates and All title, hotlist, and status changes, Blocking, Blocked By, or Duplicate changes, Changes to Reporter, Verifier, and CCs, changes to Type, Found In, Targeted To, Verified In, In Prod, and Changes to custom fields marked as minor.");
A(1);G("panelTemplate",e)("overlayPositions",b.bubblePosition);A(6);Jf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES);A(7);Af("aria-label","This includes emails about New comments, New status updates, Priority or Severity changes, Assignee changes, Component changes, Issue closure or reopening, and Changes to custom fields marked as major.");A(1);G("panelTemplate",f)("overlayPositions",b.bubblePosition);A(5);Jf("b-menu-item-checked",b.subscriptionInternal===
b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY);A(8);Jf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNSUBSCRIBED)}},dependencies:[Sv,Uv,MA,eA,CD,ZB,XB,YB,AD,mL,dC],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 f0=function(){};f0.\u0275fac=function(a){return new (a||f0)};f0.\u0275mod=Tc({type:f0});f0.\u0275inj=Ec({imports:[zD,kC,DD,$B,HD,sJ,DL,QC]});var g0=function(a,b){this.sloApi=a;this.cdr=b;this.isDisabled=!1;this.dropdownChoices=null;this.onSloSelect=new mv;this.internalBoundId=this.selectedSlo=null;this.lastProcessedIndex=-1;this.requestIndex=0},Juc=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()};
g0.prototype.displayFn=function(a){return(null==a?void 0:a.name)||(null==a?void 0:a.sloId)||""};g0.prototype.updateSelectionOnChange=function(a){if(a=a.option.value)this.boundId=a.sloId;this.onSloSelect.emit(a);this.cdr.detectChanges()};
Gh.Object.defineProperties(g0.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)}}});g0.\u0275fac=function(a){return new (a||g0)(B(bX),B(XD,2))};
g0.\u0275cmp=r({type:g0,selectors:[["slo-picker"]],inputs:{isDisabled:["bv2Disabled","isDisabled"],placeholder:["bv2Placeholder","placeholder"],boundId:"boundId"},outputs:{onSloSelect:"onSloSelect"},features:[bg([XD])],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=v();H(0,"div",0)(1,"input",1,2);Q("ngModelChange",function(e){return b.selectedSlo=e})("click",function(){x(c);var e=S(2);return z(Juc(b,e.value))})("input",function(){x(c);var e=S(2);return z(Juc(b,e.value))});K();H(3,"mat-autocomplete",3,4);Q("optionSelected",function(e){return b.updateSelectionOnChange(e)});F(5,o7a,2,2,"mat-option",5);K()()}if(a&
2){var d=S(4);A(1);G("placeholder",b.placeholder)("ngModel",b.selectedSlo)("disabled",b.isDisabled)("matAutocomplete",d);A(2);G("displayWith",b.displayFn);A(2);G("ngForOf",b.dropdownChoices)}},dependencies:[Tv,qK,pK,hA,Jg,ww,Dw],encapsulation:2});var h0=function(){};h0.\u0275fac=function(a){return new (a||h0)};h0.\u0275mod=Tc({type:h0});h0.\u0275inj=Ec({imports:[zD,rK,Tw]});var Kuc=function(a){return{"empty-list-field-indication":a}},i0=function(a,b){this.documentationLinks=a;this.activeSession=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.issueRetentionDisabled=!1;this.modelChange=new mv;this.validChange=new mv;this.RetentionSelection=IZb;this.indefiniteRetentionComponentsAllowlist=new Set(this.activeSession.getIndefiniteRetentionComponentsAllowlist())};
i0.prototype.ngOnInit=function(){this.initialModel?this.model=this.initialModel:this.model={retentionSelection:"UNSPECIFIED_RETENTION",retentionPeriodDays:null,piiRetentionSelection:"UNSPECIFIED_RETENTION",piiRetentionPeriodDays:null,spiiRetentionPeriodDays:null};wq(this)};i0.prototype.updateSelectionOnChange=function(a){this.model.retentionSelection=a;this.model.retentionPeriodDays=null;this.modelChange.emit(this.model);wq(this)};
var wq=function(a){var b;if(b=xq(a))b=(b=a.model.piiRetentionSelection)&&b!==a.RetentionSelection.UNSPECIFIED_RETENTION&&(a.model.piiRetentionSelection!==a.RetentionSelection.BUGANIZER_DEFAULT||!Luc(a))&&(a.model.piiRetentionSelection!==a.RetentionSelection.CUSTOM_PERIOD||Muc(a));a.validChange.emit(b)},Nuc=function(a){if(!a.isExternal)return!0;var b=a.componentId&&a.indefiniteRetentionComponentsAllowlist.has(a.componentId),c,d,e=(null!=(d=null==(c=a.componentPathInfo)?void 0:c.componentPathId)?d:
[]).some(function(f){return a.indefiniteRetentionComponentsAllowlist.has(f)});return b||e},xq=function(a){var b=a.model.retentionSelection;return b&&b!==a.RetentionSelection.UNSPECIFIED_RETENTION&&(a.model.retentionSelection!==a.RetentionSelection.CUSTOM_PERIOD||!!a.model.retentionPeriodDays&&30<=a.model.retentionPeriodDays&&7300>=a.model.retentionPeriodDays)},q7a=function(a){return a?Bn(a):"[unset period]"},Muc=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},v7a=function(a){if(!xq(a)||Muc(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 "+q7a(e):"Restricted+ retention must not exceed Restricted retention."},Luc=function(a){return a.model.retentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&(!a.model.retentionPeriodDays||60>a.model.retentionPeriodDays)},y7a=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};i0.\u0275fac=function(a){return new (a||i0)(B(lL),B(nt))};
i0.\u0275cmp=r({type:i0,selectors:[["b-retention-settings-form"]],inputs:{initialModel:"initialModel",isExternal:"isExternal",issueRetentionDisabled:"issueRetentionDisabled",componentId:"componentId",componentPathInfo:"componentPathInfo"},outputs:{modelChange:"modelChange",validChange:"validChange"},decls:31,vars:33,consts:[["aria-label","Retention settings form",1,"issue-retention-form",3,"ngClass","disabled","name","ngModel","ngModelChange"],[3,"value"],["aria-label","Custom retention period, must be between 30 days and 20 years",
3,"value"],["class","duration-error",4,"ngIf"],["class","custom-duration",4,"ngIf"],["class","warning-box","id","custom-retention-warning-box",4,"ngIf"],[3,"disabled","value"],["class","warning-box","id","indefinite-retention-warning-box",4,"ngIf"],["aria-label","PII Retention settings form",1,"pii-retention-form",3,"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","custom-retention-warning-box",1,"warning-box"],["id","indefinite-retention-warning-box",1,"warning-box"],[1,"b-restricted-retention-duration-label"],["ariaLabel","Restricted retention duration",3,"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),Q("ngModelChange",function(c){return b.updateSelectionOnChange(c)}),H(1,"p")(2,"b"),T(3,"Issue Retention"),K()(),H(4,"mat-radio-button",1),T(5,
" Buganizer default retention period (for minimal or no PII/SPII): 10 years "),K(),H(6,"mat-radio-button",2),T(7," Custom retention period "),F(8,p7a,2,0,"span",3)(9,r7a,4,3,"div",4)(10,s7a,13,0,"div",5),K(),H(11,"mat-radio-button",6),T(12),F(13,t7a,13,0,"div",7),K()(),H(14,"mat-radio-group",8),Q("ngModelChange",function(c){b.model.piiRetentionSelection=c;b.model.piiRetentionPeriodDays=null;b.model.spiiRetentionPeriodDays=null;b.modelChange.emit(b.model);wq(b)}),H(15,"p"),L(16,"br"),H(17,"b"),T(18,
"Restricted Comments/Attachments Retention "),K(),H(19,"a",9),T(20,"Learn more "),K()(),H(21,"mat-radio-button",1),T(22," Buganizer default retention period : 60 days "),F(23,u7a,2,0,"span",3),K(),H(24,"mat-radio-button",10),T(25," Custom retention period "),F(26,w7a,2,1,"span",3)(27,z7a,16,7,"div",4),K(),H(28,"mat-radio-button",6),T(29," Match Issue Retention "),F(30,A7a,3,0,"div",11),K()());a&2&&(G("ngClass",fg(29,Kuc,b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION))("disabled",
b.issueRetentionDisabled)("name","retentionForm")("ngModel",b.model.retentionSelection),A(4),G("value",b.RetentionSelection.BUGANIZER_DEFAULT),A(2),G("value",b.RetentionSelection.CUSTOM_PERIOD),A(2),G("ngIf",b.model.retentionSelection===b.RetentionSelection.CUSTOM_PERIOD&&!(b.model.retentionPeriodDays&&30<=b.model.retentionPeriodDays&&7300>=b.model.retentionPeriodDays)),A(1),G("ngIf",b.model.retentionSelection===b.RetentionSelection.CUSTOM_PERIOD),A(1),G("ngIf",!!b.model.retentionPeriodDays&&3650<
b.model.retentionPeriodDays),A(1),G("disabled",!Nuc(b))("value",b.RetentionSelection.INDEFINITE_RETENTION),A(1),V(" Indefinite retention period ",Nuc(b)?"":"(Internal components only)"," "),A(1),G("ngIf",b.model.retentionSelection===b.RetentionSelection.INDEFINITE_RETENTION),A(1),G("ngClass",fg(31,Kuc,b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION))("disabled",b.issueRetentionDisabled)("name","piiRetentionForm")("ngModel",b.model.piiRetentionSelection),A(5),G("rel",b.EXTERNAL_LINK_REL),
Af("href",b.documentationLinks.getRestrictedAccessHelpLink(),Wd),A(2),G("value",b.RetentionSelection.BUGANIZER_DEFAULT),A(2),G("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.BUGANIZER_DEFAULT&&Luc(b)),A(1),G("aria-label","Custom Retention Period,"+v7a(b))("disabled",!xq(b))("value",b.RetentionSelection.CUSTOM_PERIOD),A(2),G("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.CUSTOM_PERIOD&&!Muc(b)),A(1),G("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.CUSTOM_PERIOD),
A(1),G("disabled",b.isExternal)("value",b.RetentionSelection.INDEFINITE_RETENTION),A(2),G("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.INDEFINITE_RETENTION&&y7a(b)))},dependencies:[Sv,Uv,ww,Dw,cV,dV,Y_],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 j0=function(){};j0.\u0275fac=function(a){return new (a||j0)};j0.\u0275mod=Tc({type:j0});j0.\u0275inj=Ec({imports:[zD,Tw,iW,Z_]});var Ouc=function(){this.type="component";this.includeChildren=!1},Puc=function(){this.type="tracker"},Quc=function(){this.type="team";this.includeChildren=!1},Ruc=function(){this.type="hotlist"},Suc=function(){this.type="savedsearch"},Tuc=function(){this.type="customfield"};var Uuc=function(a,b){this.query=a;this.cursorIdx=b;this.label=null;this.value={val:"",idx:0};this.value.idx=b},Vuc="componentid c hotlistid h savedsearchid teamid trackerid".split(" "),Wuc=Vuc.concat("accesslevel archived assignee attachment blockedbyid blockingid canonicalid cc cccount collaborator collaboratorcount cl comment commentcount commenter created customfield descendantcount deleted deletionreason deletiontime duplicatecount effortlabel foundin inprod is lastcommenter lastmodifier mention modified modifier mute onedayviewcount opendescendantcount p parentid postmortem priority reporter resolved s sevendayviewcount severity star status t targetedto thirtydayviewcount title type verified verifiedin verifier votecount nearestslo".split(" ")),
Xuc="cl deleted deletionreason deletiontime effortlabel nearestslo postmortem teamid".split(" "),Yuc="(?:\\s|^)(-?)(customfield\\d+|"+Wuc.join("|")+")(:|>|<|>=|<=|=)";var k0=function(a,b,c,d,e,f,h,k,q,t){Z.call(this);var w=this;this.appSearchState=a;this.userApi=b;this.trackerFridge=c;this.currentTracker=d;this.customFieldsApi=e;this.hotlistApi=f;this.savedSearchApi=h;this.componentActions=k;this.teamsService=q;this.activeSession=t;this.query="";this.requestIndex=0;this.producers=[{match:function(y){return Zuc(w,y)}},{updateHeader:function(y){return $uc(w,y)}},{updateHeader:function(y){return avc(w,y)}},{updateHeader:function(y){return bvc(w,y)}},{updateHeader:function(y){return cvc(w,
y)}},{updateHeader:function(y){return dvc(w,y)}},{updateHeader:function(y){return evc(w,y)}}];this.currentSearchContext=null;this.items=[];this.acHeader=null;this.acRefreshed$=new E.Subject;this.refreshRequest$=new E.Subject;this.enableAddViewCountColumnsOnIlp=yD(this.activeSession,"enableAddViewCountColumnsOnIlp");this.refreshRequest$.pipe(Ne(250),bf(this.destroyed$)).subscribe(function(y){fvc(w,y.currentRequestIndex,y.currentSearchContext)});this.sessionIsInternal=t.isInternalSession();a=new Set(Wuc);
this.sessionIsInternal||a.delete("mention");if(!this.sessionIsInternal)for(b=l(Xuc),c=b.next();!c.done;c=b.next())a.delete(c.value);this.isTrackerSearchEnabled()||a.delete("trackerid");this.enableAddViewCountColumnsOnIlp||(a.delete("onedayviewcount"),a.delete("sevendayviewcount"),a.delete("thirtydayviewcount"));this.atoms=Object.freeze(a);this.atomsWithoutOp=Object.freeze(new Set(["customfield"]))};Y(k0,Z);k0.\u0275dir=Z.\u0275dir;k0.prototype.isTrackerSearchEnabled=function(){return!this.currentTracker.inTracker};
var fvc=function(a,b,c){for(var d=!1,e=!1,f=[],h=l(a.producers),k=h.next();!k.done;k=h.next())k=k.value,k.match&&f.push(k.match(c).then(function(q){d||(d=!0,a.items=[]);b<a.requestIndex||a.items.push.apply(a.items,u(q))}).catch(function(q){return q})),k.updateHeader&&f.push(k.updateHeader(c).then(function(q){e||(e=!0,a.acHeader=null);b<a.requestIndex||(a.acHeader=q)}).catch(function(q){return q}));Promise.all(f).finally(function(){d||(a.items=[]);e||(a.acHeader=null);a.acRefreshed$.next()})},Zuc=
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(yD(a.activeSession,"enableCustomFieldSearch")){var d,e;if((null==(d=b.value)?0:d.val.startsWith("cf"))||(null==(e=b.value)?0:e.val.startsWith("customfield")))return gvc(a,b)}if(b.label){if(b.label.customFieldId)return hvc(a,b);switch(b.label.val){case "archived":return Promise.resolve(Aq(ivc,b.value,!0));case "componentid":case "c":return jvc(a,b);case "deleted":return kvc(b);
case "deletionreason":return Promise.resolve(Aq(lvc,b.value,!0));case "hotlistid":case "h":return mvc(a,b);case "savedsearchid":return nvc(a,b);case "status":case "is":return Promise.resolve(Aq(ovc,b.value,!0));case "trackerid":return pvc(a,b);case "teamid":return qvc(a,b);case "type":case "t":return a.matchType(b);case "priority":case "p":return Promise.resolve(Aq(rvc,b.value,!0));case "severity":case "s":return Promise.resolve(Aq(svc,b.value,!0));case "inprod":case "star":case "mute":return kvc(b);
case "accesslevel":return Promise.resolve(Aq(tvc,b.value,!0));default:return Promise.reject(null)}}if(!b.value.val)return Promise.reject(null);c=[];d=D7a(b.value.val);e=l(a.atoms);for(var f=e.next();!f.done;f=e.next())if(f=f.value,d.token!==f&&f.startsWith(d.token)){var h=b.value.idx+(d.negated?1:0);h={type:"atom",startIdx:h,endIdx:h+b.value.val.length,completionValue:f+(a.atomsWithoutOp.has(f)?"":":"),enableShadowPlaceholder:!0};h={trackId:"atom:"+f,name:f,completionCfg:h};yD(a.activeSession,"enableCustomFieldSearch")||
"customfield"!==f||(h.name="customfield[id]:[value]");c.push(h)}c.sort(function(k,q){return Eq(k.name,q.name)});return Promise.resolve(c)},gvc=function(a,b){var c=b.value.val.replace(/^(cf|customfield)/,""),d=v6b(a.appSearchState);if(!c&&!d)return Promise.reject(null);var e=q3b(a.currentTracker)||[];return a.customFieldsApi.query({query:d?"componentid:"+d+" "+c:c,trackerIds:e}).then(function(f){return uvc(a,b,f)})},uvc=function(a,b,c){var d=c.customFields.map(function(h){return h.componentId}).filter(jl);
0<d.length&&a.componentActions.bulkLoad(d);d=[];c=l(c.customFields);for(var e=c.next(),f={};!e.done;f={customField$jscomp$21:f.customField$jscomp$21},e=c.next())f.customField$jscomp$21=e.value,e=a.getComponentPathNames(f.customField$jscomp$21).then(function(h){return function(k){var q=h.customField$jscomp$21,t=b.value.val,w=q.customFieldId,y=b.value.idx;return{id:w,componentPathNames:k,name:q.name,trackId:"customField:"+w,completionCfg:{type:"customField",startIdx:y,endIdx:y+t.length,completionValue:"customfield"+
w+":",matchingString:t}}}}(f)),d.push(e);return Promise.all(d)};k0.prototype.getComponentPathNames=function(a){if(a.componentId){var b=a.componentId;return this.componentActions.get(b).then(function(c){var d;return(null==(d=c.componentPathInfo)?void 0:d.componentPathName)||[]}).catch(function(){return[b]})}return Promise.resolve([])};
var hvc=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 Aq(d,b.value,!1,!1)}):Promise.reject(null)};
k0.prototype.matchType=function(a){return Promise.resolve(Aq(vvc,a.value,!0))};
var kvc=function(a){if(!a.label)return Promise.reject(null);var b=a.label.val;return Promise.resolve(Aq([{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))},jvc=function(a,b){var c=b.value.val;return!c||zq(c,!0)?Promise.reject(null):a.componentActions.search(c,!1).then(function(d){return a.processResponse(b,
d)})};
k0.prototype.processResponse=function(a,b){var c=a.value.val,d=[];b=l(b);for(var e=b.next(),f={};!e.done;f={paths$jscomp$45:f.paths$jscomp$45,startIdx$jscomp$4:f.startIdx$jscomp$4,endIdx$jscomp$4:f.endIdx$jscomp$4},e=b.next()){e=e.value;var h=e.componentId;f.startIdx$jscomp$4=a.value.idx;f.endIdx$jscomp$4=f.startIdx$jscomp$4+c.length;f.paths$jscomp$45=Ds(this.currentTracker,e.componentPathInfo);e={id:h,name:e.name,description:e.description,trackId:"component:"+h,accessLimit:e.accessLimit,trackerId:e.trackerId,completionCfg:{type:"component",
startIdx:f.startIdx$jscomp$4,endIdx:f.endIdx$jscomp$4,completionValue:""+h,matchingString:c},componentPath:f.paths$jscomp$45.componentPathId.map(function(k){return function(q,t){return{trackId:"subcomponent:"+q,id:""+q,name:String(k.paths$jscomp$45.componentPathName[t]),completionCfg:{type:"component",completionValue:String(q),startIdx:k.startIdx$jscomp$4,endIdx:k.endIdx$jscomp$4}}}}(f))};d.push(e)}return d};
var qvc=function(a,b){var c=b.value.val;if(!a.sessionIsInternal||!c||zq(c,!0))return Promise.reject(null);var d=Oj();YI(a.teamsService,c).pipe(bf(a.destroyed$)).subscribe(function(e){var f=b.value.idx,h=f+c.length,k=[];e=l(e);for(var q=e.next(),t={};!q.done;t={pathNames$jscomp$2:t.pathNames$jscomp$2},q=e.next())q=q.value,t.pathNames$jscomp$2=q.pathNames,q={trackId:"team:"+q.teamId,name:q.name,id:q.teamId,label:"Team "+q.teamId,pathIds:q.pathIds,pathNames:q.pathNames,description:q.description,completionCfg:{type:"team",
startIdx:f,endIdx:h,completionValue:String(q.teamId),matchingString:c},teamPath:q.pathIds.map(function(w){return function(y,C){return{trackId:"team:"+y,id:y,name:w.pathNames$jscomp$2[C],completionCfg:{type:"team",completionValue:String(y),startIdx:f,endIdx:h}}}}(t))},k.push(q);d.resolve(k)},function(){d.reject()});return d.promise},$uc=function(a,b){if(!b.label||"componentid"!==b.label.val&&"c"!==b.label.val)return Promise.reject(null);var c=new Ouc;b=b.value.val;return zq(b,!0)?(Bt(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)},cvc=function(a,b){if(!a.isTrackerSearchEnabled()||!b.label||"trackerid"!==b.label.val)return Promise.reject(null);var c=new Puc,d=Oj();b=b.value.val;zq(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},evc=
function(a,b){if(!a.sessionIsInternal||!b.label||"teamid"!==b.label.val)return Promise.reject(null);var c=new Quc,d=Oj(),e=b.value.val;zq(e,!0)?(Bt(e,"+")&&(e=e.slice(0,e.length-1),c.includeChildren=!0),YI(a.teamsService,e).pipe(bf(a.destroyed$)).subscribe(function(f){0<f.length?(f=f[0],c.team={pathNames:f.pathNames,name:f.name,description:f.description}):c.team={pathNames:[e],name:e,description:""};d.resolve(c)},function(){c.team={pathNames:[e],name:e,description:""};d.resolve(c)})):d.resolve(c);
return d.promise},avc=function(a,b){if(!b.label||"hotlistid"!==b.label.val&&"h"!==b.label.val)return Promise.reject(null);var c=new Ruc;b=b.value.val;return zq(b)?a.hotlistApi.get(b).then(function(d){c.hotlist=d;return c}):b?Promise.reject(null):Promise.resolve(c)},bvc=function(a,b){if(!b.label||"savedsearchid"!==b.label.val)return Promise.reject(null);var c=new Suc;b=b.value.val;return zq(b)?a.savedSearchApi.get(b).then(function(d){c.savedSearch=d;return c}):b?Promise.reject(null):Promise.resolve(c)},
dvc=function(a,b){if(b.label&&b.label.customFieldId)var c=b.label.customFieldId;else if(b.value.val.startsWith("customfield"))(b=b.value.val.match("^customfield(\\d+)"))&&(c=b[1]),Hk("search-usage","customfield");else return Promise.reject(null);var d=new Tuc;return c?a.customFieldsApi.get(c).then(function(e){d.customField=e;return d}):Promise.resolve(d)},pvc=function(a,b){var c=b.value.val;if(!a.isTrackerSearchEnabled()||!c||zq(c,!0))return Promise.reject(null);var d=Oj();a.trackerFridge.watchMany({filter:c,
pageSize:5}).pipe(bf(a.destroyed$)).subscribe(function(e){var f=b.value.idx,h=f+c.length,k=[];e=l(e.results);for(var q=e.next();!q.done;q=e.next())q=q.value,k.push({trackId:"trackerid:"+q.trackerId,name:q.name,id:q.trackerId,label:"Tracker "+q.trackerId,completionCfg:{type:"tracker",startIdx:f,endIdx:h,completionValue:q.trackerId,matchingString:c}});d.resolve(k)});return d.promise},mvc=function(a,b){return zq(b.value.val)?Promise.reject(null):a.userApi.getUserHotlists().then(function(c){c=c.map(function(d){var e=
d.hotlistId;return{id:e,name:d.name,trackId:"hotlist:"+e,completionCfg:{type:"hotlist",completionValue:""+e}}});return Aq(c,b.value,!1,!0)})},nvc=function(a,b){return zq(b.value.val)?Promise.reject(null):a.userApi.getUserSavedSearches().then(function(c){c=c.map(function(d){var e=d.searchId;return{id:e,name:d.name,query:d.query,trackId:"savedsearch:"+e,completionCfg:{type:"savedsearch",completionValue:""+e}}});return Aq(c,b.value,!1,!0)})};
k0.\u0275fac=function(a){return new (a||k0)(p(GK),p(SH),p(RG),p(SG),p(yH),p(PF),p(LI),p(kL),p(WI),p(nt))};k0.\u0275prov=Dc({token:k0,factory:k0.\u0275fac,providedIn:"root"});
var ovc="accepted assigned closed duplicate fixed infeasible intended_behavior new not_reproducible obsolete open verified".split(" ").map(function(a){return Bq({name:a,label:"Status",type:"status"})}),vvc="bug customer_issue feature_request internal_cleanup process vulnerability privacy_issue project feature milestone epic story task".split(" ").map(function(a){return Bq({name:a,label:"Type",type:"type",trackIdPrefix:"bugType"})}),rvc=["p0","p1","p2","p3","p4"].map(function(a){return Bq({name:a,
label:"Priority",type:"priority"})}),svc=["s0","s1","s2","s3","s4"].map(function(a){return Bq({name:a,label:"Severity",type:"severity"})}),ivc=["all","true","false"].map(function(a){return Bq({name:a,label:"Archived",type:"archived"})}),lvc=["abuse","pii","user_request","retention"].map(function(a){return Bq({name:a,label:"Deletion Reason",type:"deletionreason",trackIdPrefix:"deletionReason"})}),tvc=[["limit_none","Default access"],["limit_view","Limited visibility"],["limit_append","Limited commenting"],
["limit_view_trusted","Limited visibility + Google"]].map(function(a){var b=l(a);a=b.next().value;b=b.next().value;return Bq({name:b,label:"Issue access level",type:"accesslevel",id:a})});var l0=function(a){this.cdr=a;this.optionsChange=new mv};l0.prototype.ngOnInit=function(){E7a(this)};
var E7a=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},F7a=function(a){a.validator&&(a.errorString=a.validator(),a.cdr.detectChanges())},wvc=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);F7a(a)},xvc=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(", ")};l0.\u0275fac=function(a){return new (a||l0)(B(XD,2))};
l0.\u0275cmp=r({type:l0,selectors:[["slo-element-property-picker"]],inputs:{selectAllText:"selectAllText",validator:"validator",options:"options"},outputs:{optionsChange:"optionsChange"},features:[bg([XD])],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),T(4),T(5," \u00a0 "),K(),L(6,"mat-icon",3),K()(),H(7,"mat-menu",null,4)(9,"div",5),Q("click",function(d){return wvc(b,d)}),H(10,"mat-checkbox",6),Q("change",function(d){b.selectAllValue=d.checked;return wvc(b)}),T(11),K()(),L(12,"mat-divider"),F(13,G7a,4,3,"div",7),W(14,"keyvalue"),K(),F(15,H7a,2,1,"div",8),K());if(a&2){var c=S(8);A(1);Jf("ng-invalid",!!b.errorString);G("matMenuTriggerFor",c);A(3);V(" ",xvc(b)," ");A(5);Af("aria-checked",b.selectAllValue);A(1);G("checked",
!!b.selectAllValue)("indeterminate",null===b.selectAllValue);A(1);V(" ",b.selectAllText," ");A(2);G("ngForOf",X(14,10,b.options.propertyValues));A(2);G("ngIf",!!b.errorString)}},dependencies:[Tv,Uv,MA,eL,ZB,XB,YB,CD,eA,ew],styles:["[_nghost-%COMP%]   .gmat-button[_ngcontent-%COMP%] {padding: 0 10px;}\n[_nghost-%COMP%]   .bv2-property-picker-summary-text[_ngcontent-%COMP%] {text-align: left;}"]});
var yvc=function(a,b){this.displayString=a;this.value=b},zvc=function(a){this.propertyValues=a},Avc=function(a){for(var b=l(Object.keys(a.propertyValues)),c=b.next();!c.done;c=b.next())if(a.propertyValues[c.value].value)return!0;return!1},j8a=function(a){for(var b=l(Object.keys(a.propertyValues)),c=b.next();!c.done;c=b.next())if(!a.propertyValues[c.value].value)return!1;return!0};zvc.prototype.setAll=function(a){for(var b in this.propertyValues)this.propertyValues[b].value=a};var m0=function(){};m0.\u0275fac=function(a){return new (a||m0)};m0.\u0275mod=Tc({type:m0});m0.\u0275inj=Ec({imports:[zD,hL,$B,DD,kC]});var Bvc=function(a,b){this.name=a;this.secondsPerUnit=b},Cq=new Bvc("minute",60),Dq=new Bvc("hour",3600),P7a=new Bvc("day",86400),n0=function(){this.errorString=null;this.objectiveDurationChange=new mv;this.objectiveBusinessDaysChange=new mv;this.intervalUnit=P7a};n0.prototype.ngOnInit=function(){Cvc(this)};n0.prototype.ngOnChanges=function(a){[a.objectiveBusinessDays,a.objectiveDuration,a.dayType].some(function(b){return b&&!b.isFirstChange()})&&Cvc(this)};
var K7a=function(a,b){b=b.name;1!==fi(a.intervalString)&&(b+="s");return b},O7a=function(a){return"BUSINESS"===a.dayType},Cvc=function(a){!O7a(a)&&Dvc(a,P7a)||Dvc(a,Dq)||Dvc(a,Cq);if(0!=a.objectiveBusinessDays||""!=a.businessDayString)a.businessDayString=""+a.objectiveBusinessDays},Dvc=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):(O7a(a)?[Cq,Dq]:[Cq,Dq,P7a]).includes(a.intervalUnit)||
(a.intervalUnit=b),!0):!1},I7a=function(a){a.errorString=a.validator(a.intervalString,a.businessDayString);M7a(a);N7a(a)},M7a=function(a){a.objectiveDuration.seconds=a.intervalUnit.secondsPerUnit*(fi(a.intervalString)||0);a.objectiveDurationChange.emit(a.objectiveDuration)},N7a=function(a){a.objectiveBusinessDays=fi(a.businessDayString)||0;a.objectiveBusinessDaysChange.emit(a.objectiveBusinessDays)};n0.\u0275fac=function(a){return new (a||n0)};
n0.\u0275cmp=r({type:n0,selectors:[["slo-objective-selector"]],inputs:{isDisabled:"isDisabled",validator:"validator",dayType:"dayType",objectiveDuration:"objectiveDuration",objectiveBusinessDays:"objectiveBusinessDays"},outputs:{objectiveDurationChange:"objectiveDurationChange",objectiveBusinessDaysChange:"objectiveBusinessDaysChange"},features:[ld],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&&F(0,Q7a,6,6,"span",0)(1,U7a,3,2,"span",1);a&2&&(G("ngIf",!b.isDisabled),A(1),G("ngIf",b.isDisabled))},dependencies:[Tv,Uv,
Jg,ww,Dw,JP,hA],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 o0=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"]])},Hvc=function(a,b){var c=new Evc,d=Fvc(b,"type",function(f){var h=f.toUpperCase(),k=new Gvc;a.typeStringToEnum.has(h)?k.value=h:k.error='The string "'+f+'" is not a valid type';return k});if(d.error)return c.error=d.error,c;var e=l(d.values);for(d=e.next();!d.done;d=e.next())c.types.push(a.typeStringToEnum.get(d.value));d=Fvc(b,"priority",function(f){var h=f.toUpperCase(),
k=new Gvc;a.priorityStringToEnum.has(h)?k.value=h:k.error='The string "'+f+'" is not a valid priority';return k});if(d.error)return c.error=d.error,c;e=l(d.values);for(d=e.next();!d.done;d=e.next())c.priorities.push(a.priorityStringToEnum.get(d.value));b=Fvc(b,"postmortem",function(f){var h=f.toUpperCase(),k=new Gvc;a.postmortemValuesToCanonical.has(h)?k.value=h:k.error='The string "'+f+'" is not a valid postmortem value';return k});if(b.error)c.error=b.error;else for(b=l(b.values),d=b.next();!d.done;d=
b.next())c.postmortemValues.push(a.postmortemValuesToCanonical.get(d.value));return c},Fvc=function(a,b,c){var d=new Ivc;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};o0.\u0275fac=function(a){return new (a||o0)(p(BD),p(nt))};o0.\u0275prov=Dc({token:o0,factory:o0.\u0275fac,providedIn:"root"});
var Evc=function(){this.types=[];this.priorities=[];this.postmortemValues=[];this.error=""},Ivc=function(){this.values=[];this.error=""},Gvc=function(){this.error=this.value=""};var p0=function(){};p0.prototype.validate=function(a){for(var b={},c=l(Object.entries(this.validators)),d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;e(a.value)||(b[d]=!0)}return Object.keys(b).length?b:null};p0.\u0275fac=function(a){return new (a||p0)};p0.\u0275dir=Vc({type:p0,selectors:[["","customValidators",""]],inputs:{validators:["customValidators","validators"]},features:[bg([{provide:qw,useExisting:p0,multi:!0}])]});var q0=function(a,b,c){this.constants=a;this.sloParseService=b;this.confirmationDialogService=c;this.collection=[];this.boundCollection=[];this.onCollectionUpdate=new mv;this.onValidation=new mv;this.selectedObjectiveBusinessDays=this.selectedObjectiveDuration=null;this.postmortemAllSummaryValue="Either";this.canPerformActionsInternal=!1;this.openRow=null;this.metricChoices=["METRIC_UNSPECIFIED"].concat(Koc);this.dayTypes=["CALENDAR","BUSINESS"];Koc.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},F8a=function(a,b,c){k8a(a);a=l(a.collection);for(var d=a.next();!d.done;d=a.next())d.value.canEdit=!1;b.startEditing();c&&c.stopPropagation()},I8a=function(a,b,c){c=L8a(a,b,c);var d=c.newOffset;
c.valid&&(k8a(a),va(a.collection,b),va(a.boundCollection,b.sloElement),a.collection.splice(d,0,b),a.boundCollection.splice(d,0,b.sloElement),Jvc(a))},L8a=function(a,b,c){b=a.collection.indexOf(b)+c;return{valid:0<=b&&b<a.collection.length,newOffset:b}},k8a=function(a){a=l(a.collection);for(var b=a.next();!b.done;b=a.next())b=b.value,b.stopEditing(),b.canEdit=!0},Kvc=function(a,b){var c=b.map(function(d){return new r0(d,a)});a.openRow=null;a.collection=c;a.boundCollection=b;a.canPerformActions=!a.openRow},
c8a=function(a){return"METRIC_UNSPECIFIED"===a?" - ":Loc.get(a)},q8a=function(a,b){return"TYPE_UNSPECIFIED"!==b&&a.constants.issueTypesDisplayNames.has(b)?a.constants.issueTypesDisplayNames.get(b):" - "},v8a=function(a,b){return"PRIORITY_UNSPECIFIED"!==b&&a.constants.issuePrioritiesDisplayNames.has(b)?a.constants.issuePrioritiesDisplayNames.get(b):" - "},l8a=function(a,b){k8a(a);va(a.collection,b);va(a.boundCollection,b.sloElement);Jvc(a)},X7a=function(a,b){a.confirmationDialogService.open({title:"Are you sure you'd like to clear all the rules?",
content:ch("This won't take effect until you save the changes, but any local changes will be lost."),onConfirm:function(){a.collection=[];a.boundCollection=[];Jvc(a)},onDismiss:function(){}});b.stopPropagation()},V7a=function(a,b){var c=new r0({metric:"METRIC_UNSPECIFIED",matcher:"",dayType:"DAY_TYPE_UNSPECIFIED",objective:{seconds:0,nanos:0},businessDays:0},a,!0);F8a(a,c);a.collection.splice(b,0,c);a.boundCollection.splice(b,0,c.sloElement);Jvc(a)};
q0.prototype.onDrop=function(a){I8a(this,this.collection[a.previousIndex],a.currentIndex-a.previousIndex)};var Jvc=function(a){a.onCollectionUpdate.emit(a.boundCollection)};
Gh.Object.defineProperties(q0.prototype,{collectionInput:{configurable:!0,enumerable:!0,set:function(a){Kvc(this,a)}},canPerformActions:{configurable:!0,enumerable:!0,set:function(a){this.canPerformActionsInternal=a;this.onValidation.emit(a)},get:function(){return this.canPerformActionsInternal}},isDisabled:{configurable:!0,enumerable:!0,set:function(a){this.isDisabledInternal=a;if(this.collection)for(var b=l(this.collection),c=b.next();!c.done;c=b.next())c=c.value,c.canEdit=!a||this.openRow===c},
get:function(){return this.isDisabledInternal}}});q0.\u0275fac=function(a){return new (a||q0)(B(BD),B(o0),B(SJ))};
q0.\u0275cmp=r({type:q0,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),T(4,"Rules"),K(),H(5,"a",2),L(6,"b-icon",3),K(),F(7,Y7a,6,3,"span",4),K(),H(8,"table",5)(9,"thead")(10,"tr",6)(11,"th",7),T(12,"Order"),K(),H(13,"th",8),T(14,"Type"),K(),H(15,"th",9),T(16,"Priority"),K(),H(17,"th",10),T(18,"Postmortem"),K(),H(19,"th",11),T(20,"Metric"),K(),H(21,"th",
12),T(22,"Objective"),K(),H(23,"th",13),T(24," Day Type "),K(),L(25,"th",14),K()(),F(26,O8a,2,3,"tbody",15),K(),H(27,"div"),F(28,P8a,2,0,"div",16),K()()());a&2&&(A(6),G("name","help-outline")("size","small"),A(1),G("ngIf",!b.isDisabled),A(19),G("ngIf",b.collection&&0!=b.collection.length),A(2),G("ngIf",!b.collection||0==b.collection.length))},dependencies:[Tv,Uv,p0,iS,hS,ww,Ow,Dw,AD,FA,ZB,XB,YB,JP,hA,dC,l0,n0],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 r0=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=Avc(d.priorityPickerValues)?null:"Priority can't be empty";d.priorityPickerValid=null===e;return e};this.validateTypePicker=function(){var e=Avc(d.typePickerValues)?null:"Type can't be empty";d.typePickerValid=
null===e;return e};this.validatePostmortemPicker=function(){var e=Avc(d.postmortemPickerValues)?null:"Postmortem can't be empty";d.postmortemPickerValid=null===e;return e};this.validateObjective=function(e,f){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*$/)||!f.match(/^\d*$/))return d.objectiveValid=!1,"Objective must be a positive integer";if(!(""!==e&&"0"!==e||""!==f&&"0"!==f))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=Lvc(a.objective);this.selectedObjectiveBusinessDays=a.businessDays;this.canEdit=!b.isDisabled;this.metricValidators={required:function(e){return Mvc(d,e)}};Nvc(this);this.typePickerValues=Ovc(this.controllerReference.sloParseService.enumTypeToString.keys(),function(e){return 0===
d.parseResult.types.length||d.parseResult.types.includes(e)},function(e){return q8a(d.controllerReference,e)});this.priorityPickerValues=Ovc(this.controllerReference.sloParseService.enumPriorityToString.keys(),function(e){return 0===d.parseResult.priorities.length||d.parseResult.priorities.includes(e)},function(e){return v8a(d.controllerReference,e)});this.postmortemPickerValues=Ovc(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();Mvc(this,this.selectedMetric)},Lvc=function(a){return a?a:{seconds:86400,nanos:0}};r0.prototype.isValid=function(){return this.priorityPickerValid&&this.typePickerValid&&this.postmortemPickerValid&&this.metricSelectorValid&&this.objectiveValid};
var Mvc=function(a,b){b="METRIC_UNSPECIFIED"!==b;return a.metricSelectorValid=b};
r0.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;Pvc(this);this.sloElement.metric=this.selectedMetric;this.sloElement.dayType=this.selectedDayType;this.sloElement.objective=this.selectedObjectiveDuration;this.sloElement.businessDays=this.selectedObjectiveBusinessDays;Nvc(this)}};
var Pvc=function(a){var b=a.getEnumValues(a.typePickerValues),c=a.getEnumValues(a.priorityPickerValues),d=a.getEnumValues(a.postmortemPickerValues);b=Qvc(b,function(f){return a.controllerReference.sloParseService.enumTypeToString.get(f)});c=Qvc(c,function(f){return a.controllerReference.sloParseService.enumPriorityToString.get(f)});d=Qvc(d,function(f){return a.controllerReference.sloParseService.canonicalGroupQueryKeywordToQueryValue.get(f)});var e=[];b&&e.push("type:"+b);c&&e.push("priority:"+c);
d&&e.push("postmortem:"+d);a.matcherText=e.join(" ");a.sloElement.matcher=a.matcherText};r0.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 Qvc=function(a,b){if(0===a.length)return"";if(1===a.length)return b(a[0]);var c=[];a=l(a);for(var d=a.next();!d.done;d=a.next())c.push(b(d.value));return"("+c.join("|")+")"};
r0.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;Nvc(this)}};var Nvc=function(a){a.parseResult=Hvc(a.controllerReference.sloParseService,a.matcherText)},Ovc=function(a,b,c){var d={};a=l(a);for(var e=a.next();!e.done;e=a.next()){e=e.value;var f=b(e),h=c(e);d[""+e]=new yvc(h,f)}return new zvc(d)};var s0=function(){};s0.\u0275fac=function(a){return new (a||s0)};s0.\u0275mod=Tc({type:s0});s0.\u0275inj=Ec({imports:[zD,Tw,KP]});var t0=function(){};t0.\u0275fac=function(a){return new (a||t0)};t0.\u0275mod=Tc({type:t0});t0.\u0275inj=Ec({imports:[zD]});var u0=function(){};u0.\u0275fac=function(a){return new (a||u0)};u0.\u0275mod=Tc({type:u0});u0.\u0275inj=Ec({imports:[zD,t0,jS,Tw,HD,GA,$B,KP,QC,m0,s0]});var v0=function(a,b,c,d,e){Z.call(this);this.element=a;this.cdr=b;this.location=c;this.paths=d;this.hotkeys=e;this.focusedIndex=0;this.slos=[]};Y(v0,Z);v0.\u0275dir=Z.\u0275dir;g=v0.prototype;g.setFocusOnIndex=function(a){this.focusedIndex=a};g.isFocused=function(a){return this.focusedIndex===a};g.selectNext=function(){this.focusedIndex+1>=this.slos.length||(this.focusedIndex++,this.scrollToFocusedIndex())};g.selectPrevious=function(){0>this.focusedIndex-1||(this.focusedIndex--,this.scrollToFocusedIndex())};
g.ngOnInit=function(){var a=this,b=UE(this.hotkeys,{title:"Browse Controls",hotkeys:[{keys:["j","DOWN"],displayAs:"j / Down",description:"Move to the next SLO",onPress:function(){a.selectNext();a.cdr.detectChanges()}},{keys:["k","UP"],displayAs:"k / Up",description:"Move to the previous SLO",onPress:function(){a.selectPrevious();a.cdr.detectChanges()}},{keys:["ENTER"],displayAs:"Enter",description:"View SLO detail",onPress:function(){var c=a.slos[a.focusedIndex];c&&a.editSlo(c);a.cdr.detectChanges()}}]});
this.destroyed$.subscribe(b)};g.scrollToFocusedIndex=function(){var a=this.element.nativeElement.parentElement;if(a){var b,c,d=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)}}};g.renderRowLabel=function(a){return this.slos[a].name};g.editSlo=function(a){this.location.path(this.paths.editSlo(a.sloId))};
v0.\u0275fac=function(a){return new (a||v0)(B(Hd),B(XD,2),B(bF),B(cF),B(TE))};
v0.\u0275cmp=r({type:v0,selectors:[["b-slo-grid"]],inputs:{slos:"slos"},features:[bg([XD]),yf],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),L(3,"th",2),H(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),T(8," SLO name "),K()()()(),H(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),T(13," Description "),K()()()()()(),H(14,"tbody"),F(15,Q8a,7,7,"tr",6),K()());a&2&&(A(15),G("ngForOf",b.slos))},dependencies:[Tv],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 w0=function(){};w0.\u0275fac=function(a){return new (a||w0)};w0.\u0275mod=Tc({type:w0});w0.\u0275inj=Ec({imports:[zD]});var x0=function(a,b){this.log=a;this.dateFormatter=b},Svc=function(a,b){var c=eNa(b.addMask.paths),d=eNa(b.removeMask.paths),e={author:b.author||null,timestamp:b.timestamp||null,diffs:[]},f=b.add;b=b.remove;for(var h=l(new Set([].concat(u(c),u(d)))),k=h.next();!k.done;k=h.next()){var q=k.value;k=Moc.get(q);if("name"===q){var t=Jo(d,q,b.name);q=Jo(c,q,f.name);e.diffs.push(Ko(k,t,q))}else if("description"===q)t=Jo(d,q,b.description),q=Jo(c,q,f.description),e.diffs.push(Ko(k,t,q));else if("parentId"===
q)t=Jo(d,q,String(b.parentId)),q=Jo(c,q,String(f.parentId)),e.diffs.push(Ko(k,t,q));else if("elements"===q){var w=f.elements;t=fNa(d,q,b.elements.map(function(y){return Rvc(y)}));q=fNa(c,q,w.map(function(y){return Rvc(y)}));e.diffs.push({fieldName:k,diffType:"COLLECTION",diff:{removed:t,added:q}})}else a.log.error("Unsupported diff field.")}return e},Rvc=function(a){var b=a.matcher,c=Loc.get(a.metric),d=g8a.get(a.dayType),e=[];0<a.businessDays&&e.push(a.businessDays+" day"+(1<a.businessDays?"s":""));
0<a.objective.seconds&&e.push(b9b(1E3*a.objective.seconds));a=e.join(", ");return'("'+b+'", '+c+") - "+(d+" days - "+a)};x0.\u0275fac=function(a){return new (a||x0)(p(GE),p(AM))};x0.\u0275prov=Dc({token:x0,factory:x0.\u0275fac,providedIn:"root"});var y0=function(){};y0.\u0275fac=function(a){return new (a||y0)};y0.\u0275mod=Tc({type:y0});y0.\u0275inj=Ec({imports:[zD,pM,kC,AA]});var Vvc=function(a,b){this.$log=b;this.templateAttributes={};this.templateCustomFields={};b=l(Tvc);for(var c=b.next();!c.done;c=b.next())if(c=c.value,a[c]){var d=a[c],e=void 0;Array.isArray(d)?e=d.map(function(f){return"string"===typeof f?ii(f):""}):e="string"===typeof d?ii(d):"";this.templateAttributes[c]=e}b=l(Uvc);for(c=b.next();!c.done;c=b.next())c=c.value,a[c]&&(this.templateAttributes[c]=a[c]);if(a=a.customFields)for(a=Array.isArray(a)?a:[a],a=l(a),b=a.next();!b.done;b=a.next())c=b.value.split(":"),
b=c[0],c=c.slice(1).join(":"),Ei(c)||(this.templateCustomFields[b]=c)},Xvc=function(a){return 0!==Object.keys(a.templateCustomFields||{}).length||Wvc.some(function(b){return null!=a.templateAttributes[b]})},bwc=function(a,b,c){null!=c&&(Yvc(a,c),Zvc(a,b,c),$vc(b,c));c=l(Object.entries(a.templateAttributes));for(var d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;awc[d](b,e)}a.templateAttributes={};a.templateCustomFields={}},Zvc=function(a,b,c){null==b.customField&&
(b.customField=[]);for(var d={},e=l(b.customField),f=e.next();!f.done;f=e.next())f=f.value,d[f.customFieldId]=f;e=l(Object.entries(a.templateCustomFields));var h=e.next();for(f={};!h.done;f={customFieldId$jscomp$21:f.customFieldId$jscomp$21},h=e.next()){var k=l(h.value);h=k.next().value;k=k.next().value;f.customFieldId$jscomp$21=fi(h);k={customFieldId:f.customFieldId$jscomp$21,value:k};h=a.getCustomFieldValue(k,c);null!=d[f.customFieldId$jscomp$21]?(k=b.customField.findIndex(function(q){return function(t){return t.customFieldId===
q.customFieldId$jscomp$21}}(f)),b.customField[k]=h):(b.customField.push(h),d[k.customFieldId]=h)}};
Vvc.prototype.getCustomFieldValue=function(a,b){var c={customFieldId:a.customFieldId};if(a.value){b=this.getCustomFieldType(c,b);var d=[];switch(b){case "TEXT":c.textValue=a.value;break;case "DATE":c.dateValue=CJa(a.value)||void 0;break;case "ENUM":c.enumValue=a.value;break;case "NUMERIC":c.numericValue=DJa(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 CJa(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 DJa(e)}).filter(function(e){return null!==e});c.repeatedNumericValue={values:d};break;default:this.$log.warn("Invalid custom field type '"+b+"'.")}}return c};Vvc.prototype.getCustomFieldType=function(a,b){var c,d;return null!=(d=null==(c=b[a.customFieldId])?void 0:c.type)?d:""};
var Yvc=function(a,b){a.templateCustomFields=cc(a.templateCustomFields,function(c,d){return!!b[d]})},$vc=function(a,b){if(null!=a.customField){a=l(a.customField);for(var c=a.next(),d={};!c.done;d={allowedValues:d.allowedValues},c=a.next()){c=c.value;var e=b[c.customFieldId];if(e&&e.type&&e.type.includes("ENUM")){d.allowedValues=e.allowedValue||[];var f=e.required&&e.typedDefaultValue;e.type.includes("REPEATED")?(c.repeatedEnumValue=c.repeatedEnumValue||{values:[]},c.repeatedEnumValue.values=c.repeatedEnumValue.values.filter(function(h){return function(k){return h.allowedValues.includes(k)}}(d)),
!c.repeatedEnumValue.values.length&&f&&(c.repeatedEnumValue=e.typedDefaultValue.repeatedEnumValue)):d.allowedValues.includes(c.enumValue)||(c.enumValue=f?e.typedDefaultValue.enumValue:"")}}}},Tvc="title type priority severity assignee verifier reporter collaborators cc hotlistIds blockedByIssueIds blockingIssueIds foundIn targetedTo".split(" "),Uvc=["inProd"],Wvc="severity foundIn inProd reporter verifier targetedTo blockedByIssueIds blockingIssueIds".split(" "),z0={},awc=(z0.cc=function(a,b){a.ccUsers=
U8a(b,a.ccUsers||[])},z0.collaborators=function(a,b){a.collaboratorsUsers=U8a(b,a.collaboratorsUsers||[])},z0.title=function(a,b){"string"===typeof b&&(a.title=b)},z0.assignee=function(a,b){T8a(b,function(c){a.assigneeUser=c})},z0.reporter=function(a,b){T8a(b,function(c){a.reporterUser=c})},z0.verifier=function(a,b){T8a(b,function(c){a.verifierUser=c})},z0.hotlistIds=function(a,b){if(b=R8a(b)){a.hotlistId||(a.hotlistId=[]);b=l(b);for(var c=b.next();!c.done;c=b.next())a.hotlistId.push(c.value)}},z0.blockingIssueIds=
function(a,b){if(b=R8a(b))a.blockingIssueId=b.map(String)},z0.blockedByIssueIds=function(a,b){if(b=R8a(b))a.blockedByIssueId=b.map(String)},z0.foundIn=function(a,b){"string"===typeof b&&(a.foundInVersion=b.split(","))},z0.targetedTo=function(a,b){"string"===typeof b&&(a.targetedToVersion=b.split(","))},z0.inProd=function(a,b){a.inProd="true"===b},z0.priority=function(a,b){if(b=S8a(d_b,b))a.priority=Uh(b)},z0.severity=function(a,b){if(b=S8a(g_b,b))a.severity=gra(b)},z0.type=function(a,b){if(b=S8a(f_b,
b))a.type=fra(b)},z0);var A0=function(a,b){this.issueRelationshipApi=a;this.issueApi=b};
A0.prototype.bulkEdit=function(a){var b=this,c,d,e,f,h,k,q,t,w,y,C,J,I;return qe(function(P){switch(P.nextAddress){case 1:c=a.actions[0];d=String(c.value);e=a.issueIds;f=c.actionType;if("ADD"!==f&&"REMOVE"!==f)throw Error("Ce");h={};k=[];q=[];t=xta(e);w=l(t.reverse());y=w.next();case 2:if(y.done){P.jumpTo(4);break}C=y.value;re(P,5);return"ADD"===f?(J=C.map(function(O){return{targetIssueId:O,afterIssueId:void 0}}),P.yield((0,E.firstValueFrom)(d4b(b.issueRelationshipApi,d,J)),8)):P.yield((0,E.firstValueFrom)(e4b(b.issueRelationshipApi,
d,C)),8);case 8:return P.yield(b.issueApi.batchGetIssues(C).then(function(O){return O.map(function(U){return h[U.issueId]=U})}),11);case 11:tt(P,3);break;case 5:I=ve(P);if(!wn(I))throw I;q.push(I);k.push.apply(k,u(C));case 3:y=w.next();P.jumpTo(2);break;case 4:return P.return({finishedIssues:h,notFinishedIssueIds:k,errors:q})}})};A0.\u0275fac=function(a){return new (a||A0)(p(DI),p(kG))};A0.\u0275prov=Dc({token:A0,factory:A0.\u0275fac,providedIn:"root"});var B0=function(a,b){Z.call(this);this.routerEvents=a;this.bLocation=b;this.history=[]};Y(B0,Z);B0.\u0275dir=Z.\u0275dir;B0.prototype.install=function(){var a=this;this.subscriptions.add(this.routerEvents.routeChangeSuccess.subscribe(function(){a.history.push(a.bLocation.getUrl());21<a.history.length&&a.history.shift()}))};B0.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()};B0.prototype.hasPreviousPage=function(){return 1<this.history.length};
var C0=function(a){if(a.hasPreviousPage()){a.history.pop();var b=a.history.pop();b?a.bLocation.setUrl(b):a.bLocation.setUrl("/")}else a.bLocation.setUrl("/")};B0.\u0275fac=function(a){return new (a||B0)(p(JE),p(bF))};B0.\u0275prov=Dc({token:B0,factory:B0.\u0275fac,providedIn:"root"});var D0=function(a,b,c){this.bLocation=a;this.routeParams=b;this.domSafe=c},cwc=function(a,b,c){var d=a.routeParams.redirectUrl;if(d&&d.startsWith("http")){if(c&&Bt(d,"id=")||Bt(d,"bugId="))d+=c;mM(a.domSafe,d)}else{var e;a.bLocation.replaceUrl(null!=(e=d)?e:b)}};D0.\u0275fac=function(a){return new (a||D0)(p(bF),p(XO),p(lM))};D0.\u0275prov=Dc({token:D0,factory:D0.\u0275fac,providedIn:"root"});var E0=function(a,b){Z.call(this);var c=this;this.routerEvents=a;this.documentVisibility=b;this.validNavigations=0;this.ignoringNextNav=!1;this.mostRecentlyMeasured="";this.tabWasHidden=!1;this.onNavStart=function(){c.ignoringNextNav||(O1b("appNavStart"),c.mostRecentlyMeasured="")};this.onNavSuccess=function(){c.ignoringNextNav?c.ignoringNextNav=!1:c.validNavigations++}};Y(E0,Z);E0.\u0275dir=Z.\u0275dir;
E0.prototype.install=function(){var a=this;Fk()&&(this.subscriptions.add(this.routerEvents.routeChangeStart.subscribe(this.onNavStart)),this.subscriptions.add(this.routerEvents.routeChangeSuccess.subscribe(this.onNavSuccess)),this.subscriptions.add(this.routerEvents.routeUpdate.subscribe(function(){a.onNavStart();a.onNavSuccess()})),this.subscriptions.add(this.documentVisibility.visibilityState$.pipe(He(function(b){return"visible"!==b}),Qe()).subscribe(function(){a.tabWasHidden=!0})))};
var dwc=function(a,b){O1b(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)&&Fk())if(null===b)console.warn("window.performance does not support endMark `null`");else try{window.performance.measure(e,c,b)}catch(f){console.warn("route_performance",f)}}};E0.\u0275fac=function(a){return new (a||E0)(p(JE),p(F0))};
E0.\u0275prov=Dc({token:E0,factory:E0.\u0275fac,providedIn:"root"});var F0=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}))};Gh.Object.defineProperties(F0.prototype,{currentVisibility:{configurable:!0,enumerable:!0,get:function(){return this.window.document.visibilityState}}});F0.\u0275fac=function(a){return new (a||F0)(p(ZF))};
F0.\u0275prov=Dc({token:F0,factory:F0.\u0275fac,providedIn:"root"});var ewc={provide:u2b,useValue:function(a){return a.replace(/(action\/components\/[0-9]+)\/(move|updateSlo|updateTeam)/,"$1")},multi:!0},fwc={provide:u2b,useValue:function(a){return a.replace(/(action\/hotlists\/[0-9]+)\/archive/,"$1")},multi:!0};var G0=function(a){this.activeSession=a};G0.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)};G0.\u0275fac=function(a){return new (a||G0)(p(nt))};G0.\u0275prov=Dc({token:G0,factory:G0.\u0275fac,providedIn:"root"});var gwc={provide:Ky,useClass:G0,multi:!0};var H0=function(a){this.http=a};Y(H0,SD);g=H0.prototype;g.get=function(a){return this.request("get",a)};g.delete=function(a){return this.request("delete",a)};g.post=function(a){return this.request("post",a,a.body)};g.put=function(a){return this.request("put",a,a.body)};g.request=function(a,b,c){var d=b.options;d=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(V8a(b.responseConstructor)))};
H0.\u0275fac=function(a){return new (a||H0)(p(Jy))};H0.\u0275prov=Dc({token:H0,factory:H0.\u0275fac,providedIn:"root"});var I0=function(a){this.jspbExecutor=a};Y(I0,TD);I0.prototype.get=function(a){return(0,E.firstValueFrom)(this.jspbExecutor.get(a))};I0.prototype.delete=function(a){return(0,E.firstValueFrom)(this.jspbExecutor.delete(a))};I0.prototype.post=function(a){return(0,E.firstValueFrom)(this.jspbExecutor.post(a))};I0.prototype.put=function(a){return(0,E.firstValueFrom)(this.jspbExecutor.put(a))};
I0.\u0275fac=function(a){return new (a||I0)(p(H0))};I0.\u0275prov=Dc({token:I0,factory:I0.\u0275fac,providedIn:"root"});var J0=function(){};J0.\u0275fac=function(a){return new (a||J0)};J0.\u0275mod=Tc({type:J0});J0.\u0275inj=Ec({providers:[{provide:SD,useClass:H0},{provide:TD,useClass:I0}],imports:[zD]});var hwc=function(a){this.lookupId_=a;this.displayName_="";this.forceDisplayNameOverride_=!1};g=hwc.prototype;g.getId=function(){return this.lookupId_};g.setDisplayName=function(a){this.displayName_=a;return this};g.getDisplayName=function(){return this.displayName_};g.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride_};
g.equals=function(a){return a?this===a?!0:this.getId().equals(a.getId())&&this.getDisplayName()===a.getDisplayName()&&this.getForceDisplayNameOverride()===a.getForceDisplayNameOverride():!1};var K0=function(a){this.internalArray_=m(a)};Y(K0,n);g=K0.prototype;g.getEnableClearcut=function(){return Hi(this,1,!1)};g.setEnableClearcut=function(a){return cj(this,1,a)};g.getClientId=function(){return Li(this,2,0)};g.setClientId=function(a){return hj(this,2,a)};g.getSocialApplication=function(){return Li(this,3,0)};g.getSocialApplicationOrUndefined=function(){return ss(this,3)};g.getComponentFlow=function(){return Li(this,4,0)};g.setComponentFlow=function(a){return hj(this,4,a)};
g.getInterfaceType=function(){return Li(this,5,0)};g.setInterfaceType=function(a){return hj(this,5,a)};var L0=function(a){this.internalArray_=m(a)};Y(L0,n);var M0=function(a){this.internalArray_=m(a)};Y(M0,n);M0.prototype.getApplication=function(){return Li(this,1,0)};M0.prototype.setApplication=function(a){return hj(this,1,a)};M0.prototype.getApplicationOrUndefined=function(){return ss(this,1)};M0.prototype.getIsEnabled=function(){return Hi(this,2,!1)};var iwc=function(a){this.internalArray_=m(a)};Y(iwc,n);g=iwc.prototype;g.getClearcut=function(){return vi(this,K0,1)};g.setClearcut=function(a){ej(this,K0,1,a)};g.hasClearcut=function(){return Pi(this,K0,1)};g.getExperiments=function(){return vi(this,M0,2)};g.setExperiments=function(a){ej(this,M0,2,a)};g.hasExperiments=function(){return Pi(this,M0,2)};var jwc=tda(iwc);var kwc;var lwc=function(){this.actionListeners=new Map};lwc.prototype.subscribe=function(a,b){this.actionListeners.has(a)?this.actionListeners.get(a).push(b):this.actionListeners.set(a,[b])};lwc.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)}};
lwc.prototype.notify=function(a){var b=$c.apply(1,arguments);if(this.actionListeners.has(a)){var c=this.actionListeners.get(a);c=l(c);for(var d=c.next();!d.done;d=c.next()){d=d.value;try{d.apply(null,b)}catch(e){}}}};var mwc=function(){this.actionEventDispatcher=new lwc};var nwc=function(){var a=Bb(kwc||(kwc=jwc("[[true,49,740,4],[7,true]]")));this.injectorService=new mwc;a.hasClearcut()||a.setClearcut(new K0);a.hasExperiments()||a.setExperiments(new M0);this.internal=a};var $8a=function(a){this.root=a;this.length=0};g=$8a.prototype;g.getItems=function(){return Array.from(this.root.childNodes)};g.append=function(a){this.root.appendChild(a);++this.length};g.insert=function(a,b){if(0>a||a>this.length)throw new RangeError("Ee");if(a===this.length)this.append(b);else{var c=this.getItems();this.root.insertBefore(b,c[a]);++this.length}};g.remove=function(a){if(0>a||a>=this.length)throw new RangeError("Ee");var b=this.getItems();this.root.removeChild(b[a]);--this.length};
g.clear=function(){uVb(this.root);this.length=0};g.getRoot=function(){return this.root};var Y8a=function(a){return Zq('<ul id="'+br(a.id)+'" peoplekit-id="'+br("rymPhb")+'" role="listbox" aria-multiselectable="true" class="'+br("peoplekitComponentsListImplList")+'"></ul>')};var Z8a=Oq.getInstance();var o9a=function(a){this.isActive=!1;this.multiActivateAnchorIndex=this.spotlightIndex=-1;this.secondaryEventTargets=[];this.list=[].concat(u(a));this.activeItems=new Set([]);this.hideContextMenu=function(){}};g=o9a.prototype;
g.remove=function(a,b){var c=-1;a=l(a);for(var d=a.next();!d.done;d=a.next())d=d.value,c=this.list.indexOf(d),this.list.splice(c,1),this.activeItems.delete(d),b||(c<this.spotlightIndex?--this.spotlightIndex:c===this.spotlightIndex&&this.reset());0<=c&&b&&(this.isActive=!1,this.goToIndex(c,0))};
g.insert=function(a,b,c){this.list.splice.apply(this.list,[a,0].concat(u(b)));c?(owc(this),pwc(this,a,a+b.length-1),this.spotlightIndex=a,this.list[this.spotlightIndex].spotlight()):0<=a&&a<=this.spotlightIndex&&(this.spotlightIndex+=b.length)};g.size=function(){return this.list.length};g.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};
g.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};g.goToItem=function(a,b){a=this.list.indexOf(a);return this.goToIndex(a,b)};
g.goToIndex=function(a,b){this.hideContextMenu();if(!this.list.length||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:owc(this);qwc(this);break;case 3:qwc(this);break;case 1:a=b9a(this.spotlightIndex,c,this.multiActivateAnchorIndex);b=b9a(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);pwc(this,this.multiActivateAnchorIndex,this.spotlightIndex)}this.list[this.spotlightIndex].spotlight();return!0};g.getSpotlitItem=function(){return this.isActive?this.list[this.spotlightIndex]:void 0};g.getActiveItems=function(){var a=this;return this.list.filter(function(b){return a.activeItems.has(b)})};
g.getItem=function(a){for(var b=l(this.list),c=b.next();!c.done;c=b.next()){c=c.value;var d=c.getRoot();if(d===a||d.contains(a))return c}};g.getIndexOf=function(a){return this.list.indexOf(a)};g.clear=function(){this.reset();this.list.length=0};g.reset=function(){this.hideContextMenu();owc(this);var a=this.getSpotlitItem();a&&a.unspotlight();this.spotlightIndex=-1;this.isActive=!1};g.setSecondaryEventTargets=function(a){this.secondaryEventTargets=a};
g.onKeyDown=function(a){var b=[this.getSpotlitItem()].concat(u(this.secondaryEventTargets));b=l(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}};g.onContextMenu=function(a,b){this.hideContextMenu();var c=a.event;if(c=c.target===c.currentTarget?this.getSpotlitItem():this.getItem(c.target))this.hideContextMenu=c.onContextMenu(a,b)};
var qwc=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},owc=function(a){for(var b=l(a.activeItems),c=b.next();!c.done;c=b.next())c=c.value,c.deactivate(),c.unspotlight();a.activeItems.clear()},pwc=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 rwc=function(a){this.delegate=a};g=rwc.prototype;g.prev=function(a){a=this.delegate.prev(a);swc(this);return a};g.next=function(a){a=this.delegate.next(a);swc(this);return a};g.size=function(){return this.delegate.size()};g.goToItem=function(a,b){a=this.delegate.goToItem(a,b);swc(this);return a};g.goToIndex=function(a,b){a=this.delegate.goToIndex(a,b);swc(this);return a};g.getSpotlitItem=function(){return this.delegate.getSpotlitItem()};g.getActiveItems=function(){return this.delegate.getActiveItems()};
g.getItem=function(a){return this.delegate.getItem(a)};g.getIndexOf=function(a){return this.delegate.getIndexOf(a)};g.clear=function(){this.delegate.clear()};g.reset=function(){this.delegate.reset()};g.setSecondaryEventTargets=function(a){this.delegate.setSecondaryEventTargets(a)};g.onKeyDown=function(a){this.delegate.onKeyDown(a)};g.onContextMenu=function(a,b){this.delegate.onContextMenu(a,b)};g.remove=function(a,b){this.delegate.remove(a,b)};g.insert=function(a,b,c){this.delegate.insert(a,b,c)};
var swc=function(a){(a=a.delegate.getSpotlitItem())&&e9a(a.getRoot())};var F9a=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};g=F9a.prototype;g.append=function(a){this.root.insertBefore(a,this.marker);++this.length};g.insert=function(a,b){if(0>a||a>this.length)throw new RangeError("Ee");a===this.length?this.append(b):(this.root.insertBefore(b,this.root.childNodes[a]),++this.length)};
g.remove=function(a){if(0>a||a>=this.length)throw new RangeError("Ee");this.removeItem(this.root.childNodes[a])};g.removeItem=function(a){try{this.root.removeChild(a),--this.length}catch(b){}};g.clear=function(){for(;this.root.firstChild&&this.root.firstChild!==this.marker;)this.root.removeChild(this.root.firstChild);this.length=0};g.getRoot=function(){return this.root};g.getItems=function(){return Array.from(this.root.childNodes)};var twc=function(a,b,c,d){this.loggingToken=d;(new hwc(a)).setDisplayName(b).forceDisplayNameOverride_=c};twc.prototype.getLoggingToken=function(){return this.loggingToken};var uwc=function(){};uwc.prototype.getDisplayNameMatches=function(){return[]};uwc.prototype.getDisplayValueMatches=function(){return[]};uwc.prototype.getGivenNameMatches=function(){return[]};var vwc=new uwc;var f9a=function(a,b,c){this.resultType_=a;this.targets_=b;this.memberCount_=c};g=f9a.prototype;g.getResultType=function(){return this.resultType_};g.getTargetList=function(){return this.targets_};g.getMemberList=function(){return[]};g.getTotalMemberCount=function(){return this.memberCount_};g.getPrimaryTarget=function(){throw Error("Ge");};g.getDisplayName=function(){return""};g.getDisplayValue=function(){return""};g.getDescription=function(){return""};g.getPhotoUrl=function(){return""};
g.getMatchInfo=function(){return vwc};g.getExtendedData=function(){return null};var wwc=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 Nr=function(){this.url_="";this.sourceType_=this.type_=0;this.glyph_=""};g=Nr.prototype;g.getUrl=function(){return this.url_};g.setUrl=function(a){this.url_=a||"";return this};g.getType=function(){return this.type_};g.setType=function(a){this.type_=a;return this};g.getSourceType=function(){return this.sourceType_};g.setSourceType=function(a){this.sourceType_=a||0;return this};g.getGlyph=function(){return this.glyph_};g.setGlyph=function(a){this.glyph_=a||"";return this};
var xwc=(new Nr).setType(1).setUrl("https://lh3.googleusercontent.com/a/default-user"),ywc=new Nr;var N0=function(a){this.id_=a;this.value_=this.id_.getOriginalValue();this.description_=this.canonicalValue_="";this.name_=null;this.photo_=ur(this.id_)?ywc:xwc;this.tags_=[];this.sourceIds_=rbb.includes(this.id_.getType())?[this.id_]:[];8===this.id_.getType()&&this.sourceIds_.push(obb(this.id_.getOriginalValue()));this.isMe_=17===this.id_.getType();this.dataSource_=0;this.resultType_=wwc.get(this.id_.getType())||0;this.personLoggingId_=this.fieldLoggingId_="";this.orgState_=0;this.extendedData_=
this.originatingField_=this.emailSecurityInfo_=null};g=N0.prototype;g.getId=function(){return this.id_};g.getTargetType=function(){return this.id_.getType()};g.getValue=function(){return this.value_};g.setValue=function(a){this.value_=Iq(a);return this};g.getDisplayValue=function(){switch(this.getTargetType()){case 8:var a=this.getOriginatingField();return Iq(a&&a.getValue());case 1:case 2:case 6:case 7:return this.getValue();default:return""}};
g.getCanonicalValue=function(){return this.canonicalValue_||this.value_};g.setCanonicalValue=function(a){this.canonicalValue_=Iq(a);return this};g.getName=function(){return this.name_};g.setName=function(a){this.name_=a;return this};g.getDescription=function(){return this.description_};g.setDescription=function(a){this.description_=Iq(a);return this};g.getPhoto=function(){return this.photo_};g.setPhoto=function(a){a&&a.getUrl()&&1!==a.getType()?this.photo_=a:this.photo_=ur(this.id_)?ywc:xwc};
g.getTagList=function(){return this.tags_};var wbb=function(a,b){a.tags_=b||[]};g=N0.prototype;g.getSourceIdList=function(){return this.sourceIds_};g.getProfileId=function(){return this.getSourceIdList().filter(function(a){return 3===a.getType()}).map(function(a){return a.getOriginalValue()}).find(Boolean)||""};g.getContactId=function(){return this.getSourceIdList().filter(function(a){return 4===a.getType()}).map(function(a){return a.getOriginalValue()}).find(Boolean)||""};g.getLoggingToken=function(){return new is};
g.getIsMe=function(){return this.isMe_};var ubb=function(a,b){a.isMe_=b;return a};g=N0.prototype;g.getIsPersonalResult=function(){return 1===this.dataSource_};g.getDataSource=function(){return this.dataSource_};g.setDataSource=function(a){this.dataSource_=a;return this};g.getResultType=function(){return this.resultType_};g.getFieldLoggingId=function(){return this.fieldLoggingId_};g.setFieldLoggingId=function(a){this.fieldLoggingId_=Iq(a)};g.getPersonLoggingId=function(){return this.personLoggingId_};
g.setPersonLoggingId=function(a){this.personLoggingId_=Iq(a)};g.getOrgState=function(){return this.orgState_};g.getOriginatingField=function(){return this.originatingField_};var gcb=function(a,b){a.originatingField_=b;return a};N0.prototype.getEmailSecurityInfo=function(){return this.emailSecurityInfo_};var ybb=function(a,b){a.emailSecurityInfo_=b},Mr=function(a){return new N0(a)};N0.prototype.getExtendedData=function(){return this.extendedData_};var zwc=function(a){this.internalId=a;this.displayNameOverride="";this.forceDisplayNameOverride=!1;a=Mr(this.internalId).setDataSource(3);this.internalResult=new tq(g9a(0,[a]));this.internalSelectionToken=new twc(this.internalId,this.displayNameOverride,this.forceDisplayNameOverride,null)};g=zwc.prototype;g.id=function(){return this.internalId};g.selectionToken=function(){return this.internalSelectionToken};g.targets=function(){return this.internalResult.getTargetList()};g.result=function(){return this.internalResult};
g.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride};g.getDisplayNameWithOverrideApplied=function(){return this.displayNameOverride};g.isPlaceholder=function(){return!0};var m9a=function(a,b){this.root=a;this.options=b};g=m9a.prototype;g.activate=function(){this.root.classList.add("isActive")};g.deactivate=function(){this.root.classList.remove("isActive")};g.spotlight=function(){};g.unspotlight=function(){};g.getRoot=function(){return this.root};g.getSelection=function(){return new zwc(qbb(this.options.id))};g.toggleSelection=function(){};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};var l9a=function(a){var b=a.keyboardShortcut,c=a.densityClass,d=a.ariaLabel,e=a.id,f=a.iconUrl;a=a.label;Array.isArray(b);c='<div role="menuitem" id="'+br(e)+'" peoplekit-id="'+br("UhZROb")+'" class="'+br("peoplekitComponentsContextmenuitemImplMenuItem")+" "+br(c)+'"'+(d?' aria-label="'+br(d)+'"':"")+'><div class="'+br("peoplekitComponentsContextmenuitemImplRow")+'">'+(f?'<img class="'+br("peoplekitComponentsContextmenuitemImplIcon")+" "+br("peoplekitComponentsContextmenuitemImplLeft")+'" src="'+
br(Qfc(f))+'" draggable="false" alt=""/>':"")+'<div class="'+br("peoplekitComponentsContextmenuitemImplLabel")+" "+br("peoplekitComponentsContextmenuitemImplCenter")+'">'+cr(a)+"</div>";0<b.length&&(c+='<div class="'+br("peoplekitComponentsContextmenuitemImplKeyboardShortcut")+" "+br("peoplekitComponentsContextmenuitemImplRight")+'"><span dir="ltr">',c+=cr(b.join("+"))+"</span></div>");return Zq(c+"</div></div>")};var abb=new Map([["pcw-select",3],["pcw-deselect",3],["pcw-click",3],["pcw-input",15]]);var i9a=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 Pq=function(a,b){this.ariaParent=a;this.delegate=b};g=Pq.prototype;g.update=function(){var a=this.getSpotlitItem();a?(a=a.getRoot(),SE(this.ariaParent,a)):SE(this.ariaParent,null)};g.prev=function(a){a=this.delegate.prev(a);this.update();return a};g.next=function(a){a=this.delegate.next(a);this.update();return a};g.size=function(){return this.delegate.size()};g.goToItem=function(a,b){a=this.delegate.goToItem(a,b);this.update();return a};
g.goToIndex=function(a,b){a=this.delegate.goToIndex(a,b);this.update();return a};g.getSpotlitItem=function(){return this.delegate.getSpotlitItem()};g.getActiveItems=function(){return this.delegate.getActiveItems()};g.getItem=function(a){return this.delegate.getItem(a)};g.getIndexOf=function(a){return this.delegate.getIndexOf(a)};g.clear=function(){this.delegate.clear();this.update()};g.reset=function(){this.delegate.reset();this.update()};g.setSecondaryEventTargets=function(a){this.delegate.setSecondaryEventTargets(a)};
g.onKeyDown=function(a){this.delegate.onKeyDown(a)};g.onContextMenu=function(a,b){var c=this;this.delegate.onContextMenu(a,function(){c.update();b()})};g.remove=function(a,b){this.delegate.remove(a,b);this.update()};g.insert=function(a,b,c){this.delegate.insert(a,b,c);this.update()};var O0=function(a){this.event=a;this.hasStoppedPropagationInternal=!1};O0.prototype.stopPropagation=function(){this.event.stopPropagation();this.hasStoppedPropagationInternal=!0};O0.prototype.preventDefault=function(){this.event.preventDefault()};var q9a=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=Lq(this)};g=q9a.prototype;
g.attach=function(a,b){var c=this;this.detach();this.navigatable=b;this.input=a;this.eventHandler.listen(this.input,"keydown",function(d){return c.onKeyDown(new O0(d))});this.eventHandler.listen(this.input,"contextmenu",function(d){return c.onContextMenu(new O0(d))});this.eventHandler.listen(this.input,"blur",function(){return c.onBlur()})};g.detach=function(){this.eventHandler.removeAll();this.navigatable=this.input=null};
g.onKeyDown=function(a){if(this.navigatable&&(this.navigatable.onKeyDown(a),!a.hasStoppedPropagationInternal))switch(a.event.keyCode){case 40:this.navigatable.next(0)||this.navigatePastEndCallback();a.stopPropagation();a.preventDefault();break;case 38:this.navigatable.prev(0)||this.navigatePastBeginCallback();a.stopPropagation();a.preventDefault();break;case 36:if(!this.options.shouldReactToHomeEnd)break;this.navigatable.goToIndex(0,0);a.stopPropagation();a.preventDefault();break;case 35:this.options.shouldReactToHomeEnd&&
(this.navigatable.goToIndex(this.navigatable.size()-1,0),a.stopPropagation(),a.preventDefault())}};g.onClick=function(a,b){if(!this.navigatable)return!1;this.navigatable.goToItem(a,0);b.stopPropagation();return!0};g.onContextMenu=function(a){if(this.navigatable)this.navigatable.onContextMenu(a,function(){})};g.reset=function(){this.navigatable&&this.navigatable.reset()};g.onBlur=function(){this.reset()};var Awc=Object.freeze(new Sq(NaN,NaN)),Bwc=Object.freeze(new yR(NaN,NaN,NaN,NaN)),Wq=function(a,b){this.root=a;this.options=b;this.lastPosition=Awc;this.lastBounds=Bwc;this.anchorUpdateTimer=new vB(15);this.eventHandler=Lq(this);this.attach()};Wq.prototype.attach=function(){var a=this;this.eventHandler.listen(this.anchorUpdateTimer,"tick",function(){return Cwc(a)})};Wq.prototype.isShown=function(){return"none"!=this.root.style.display};Wq.prototype.dispose=function(){this.hide();this.eventHandler.removeAll()};
Wq.prototype.show=function(a){this.anchor=a;this.lastPosition=Awc;this.lastBounds=Bwc;CR(this.root,!0);Cwc(this);this.anchorUpdateTimer.start()};
var Cwc=function(a){var b;if(b=a.anchor){if(!(b=!a.lastPosition.equals(BR(a.anchor)))){b=a.lastBounds;var c=Qq(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=Qq(c),b=(c=Rq(c))?b.intersection(t9a(c)):!1)}if(b){c=a.anchor;b=a.root;var d=a.options,e=d.anchorCorner||9,f=d.popupCorner||8;d=void 0===d.moveAboveAnchorIfOffscreen?!0:d.moveAboveAnchorIfOffscreen;Vq(b,"","");b.style.height=AR("",!0);var h=x9a(c,e,b,f,d);c=x9a(c,e^1,b,f^1,d);h.height>=
c.height||!d?A9a(b,h):A9a(b,c);a.lastPosition=BR(a.anchor);a.lastBounds=Qq(a.root)}};Wq.prototype.hide=function(){this.root.style.cssText="";CR(this.root,!1);this.anchorUpdateTimer.stop();this.lastPosition=Awc;this.lastBounds=Bwc};var Dwc=new YA;Dwc.altKey=!0;Dwc.keyCode=39;(new YA).keyCode=13;var Ewc=function(){VA.call(this)};Y(Ewc,VA);Ewc.prototype.init=function(){};new Ewc;var Fwc=!Hq&&!haa(),Gwc=function(a,b){if(/-[a-z]/.test(b))return null;if(Fwc&&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 Yq=function(a,b,c,d,e){this.root=a;this.anchor=b;this.container=d;this.appearanceConfig=e;this.popup=B9a(this.root,{});this.navigatable=p9a(c);this.navigationEventHandler=r9a({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=Lq(this);this.eventHandler.listen(this.root,"mouseover",function(f){f.stopPropagation()});
this.eventHandler.listen(this.root,"mouseout",function(f){f.stopPropagation()});this.eventHandler.listen(this.root,"mouseenter",function(f){f.stopPropagation()});this.hide()};
Yq.prototype.append=function(a){var b=this;this.contextMenuItemOptions.set(a.id,a);var c=n9a(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(Mq(e))}d.stopPropagation();Hwc(b,a);b.hide()});this.navigatable.insert(this.navigatable.size(),[c],!1)};
Yq.prototype.show=function(){for(var a=l(this.beforeShowCallbacks.values()),b=a.next();!b.done;b=a.next())b=b.value,b();this.popup.show(this.anchor);this.navigationEventHandler.attach(this.root,this.navigatable);this.navigatable.next(0)};Yq.prototype.hide=function(){this.popup.hide();this.navigatable.reset();this.navigationEventHandler.detach();for(var a=l(this.afterHideCallbacks.values()),b=a.next();!b.done;b=a.next())b=b.value,b()};
Yq.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(Mq(c));b=b.getSelection().id().getValue();b=this.contextMenuItemOptions.get(b);Hwc(this,b);this.hide();a.stopPropagation();a.preventDefault()}}};
var Iwc=function(a,b){a.itemSelectedCallbacks.add(b)},Jwc=function(a,b){a.afterHideCallbacks.add(b)},Hwc=function(a,b){a=l(a.itemSelectedCallbacks.values());for(var c=a.next();!c.done;c=a.next())c=c.value,c(b)};Yq.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 E9a=function(){return Zq('<div peoplekit-id="'+br("xl07Ob")+'" class="'+br("peoplekitComponentsContextmenuImplMenu")+'" role="menu"></div>')};var I9a=function(a){var b=this;this.root=a;this.internalIsDisabled=!1;this.eventHandler=Lq(this);this.eventHandler.listen(this.root,"click",function(c){var d;null==(d=b.onClick)||d.call(b,c)})};g=I9a.prototype;g.getRoot=function(){return this.root};g.enable=function(){this.root.classList.remove("isDisabled");this.root.setAttribute("aria-disabled","false");this.internalIsDisabled=!1};
g.disable=function(){this.root.classList.add("isDisabled");this.root.setAttribute("aria-disabled","true");this.internalIsDisabled=!0};g.isDisabled=function(){return this.internalIsDisabled};g.dispose=function(){this.eventHandler.removeAll();this.onClick=void 0};var H9a=function(a){a=a.label;return Zq('<button class="'+br("peoplekitComponentsButtonLabelLabelButton")+'">'+cr(a)+"</button>")};var c$a=function(a,b,c){var d=this;this.root=a;this.actionListeners=[];this.eventHandler=Lq(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=Xq(this.root,"Sx9Kwc");this.startFocusableElement=Xq(this.root,"tYwGbe");this.endFocusableElement=Xq(this.root,"dYgZK");this.eventHandler.listen(this.root,"click",function(){return d.onScrimClick()});this.eventHandler.listen(this.dialog,
"click",function(e){return d.onDialogClick(e)});this.eventHandler.listen(this.dialog,"keydown",function(e){return d.onDialogKeyDown(e)});this.eventHandler.listen(this.startFocusableElement,"focus",function(){return d.onStartFocusableElementFocus()});this.eventHandler.listen(this.endFocusableElement,"focus",function(){return d.onEndFocusableElementFocus()});this.focusFirstFocusableElement()};g=c$a.prototype;g.subscribeToAction=function(a){this.actionListeners.push(a)};
g.dispatchAction=function(a){var b=this.actionButtons.get(a);if(b&&!b.isDisabled()){for(var c=l(this.actionListeners),d=c.next();!d.done;d=c.next())d=d.value,d(a);a=b.getRoot();a.dispatchEvent(Mq(a))}};g.getRoot=function(){return this.root};g.onDialogClick=function(a){a.stopPropagation()};g.onDialogKeyDown=function(a){27===a.keyCode&&(this.dispatchAction(0),a.stopPropagation())};g.onStartFocusableElementFocus=function(){this.focusLastFocusableElement()};g.onEndFocusableElementFocus=function(){this.focusFirstFocusableElement()};
g.focusFirstFocusableElement=function(){var a=C9a(this.dialog);a.length&&a[0].focus()};g.focusLastFocusableElement=function(){var a=C9a(this.dialog);a.length&&a[a.length-1].focus()};g.onScrimClick=function(){this.dispatchAction(0)};g.onButtonClick=function(a){this.dispatchAction(a)};
g.dispose=function(){this.eventHandler.removeAll();this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.actionListeners.length=0;for(var a=l(this.actionButtons.values()),b=a.next();!b.done;b=a.next())b.value.dispose();this.actionButtons.clear()};var b$a=function(a){var b=a.content;a=a.header;return Zq('<div peoplekit-id="'+br("GGAcbc")+'" class="'+br("peoplekitComponentsDialogImplScrim")+'" role="dialog" aria-modal="true"><div peoplekit-id="'+br("tYwGbe")+'" tabindex="0" role="application"></div><div peoplekit-id="'+br("Sx9Kwc")+'" class="'+br("peoplekitComponentsDialogImplDialog")+'" tabindex="-1">'+(a?'<div class="'+br("peoplekitComponentsDialogImplHeader")+'">'+cr(a)+"</div>":"")+'<div class="'+br("peoplekitComponentsDialogImplContent")+
'">'+cr(b)+'</div><div class="'+br("peoplekitComponentsDialogImplActions")+'">'+Zq(Kwc("IbE0S"))+Zq('<div class="'+br("peoplekitComponentsDialogImplActionDivider")+'"></div>')+Zq(Kwc("McfNlf"))+'</div></div><div peoplekit-id="'+br("dYgZK")+'" tabindex="0" role="application"></div></div>')},Kwc=function(a){return Zq('<div peoplekit-id="'+br(a)+'"></div>')};var N9a=function(a,b){var c=this;this.root=a;this.closeButton=b;this.actionListeners=[];this.eventHandler=Lq(this);this.dialog=Xq(this.root,"Sx9Kwc");this.startFocusableElement=Xq(this.root,"tYwGbe");this.endFocusableElement=Xq(this.root,"dYgZK");b.onClick=function(){c.dispatchAction(2)};this.eventHandler.listen(this.root,"click",function(){c.onScrimClick()});this.eventHandler.listen(this.dialog,"click",function(d){c.onDialogClick(d)});this.eventHandler.listen(this.dialog,"keydown",function(d){c.onDialogKeyDown(d)});
this.eventHandler.listen(this.startFocusableElement,"focus",function(){c.onStartFocusableElementFocus()});this.eventHandler.listen(this.endFocusableElement,"focus",function(){c.onEndFocusableElementFocus()});this.focusFirstFocusableElement()};g=N9a.prototype;g.subscribeToAction=function(a){this.actionListeners.push(a)};g.dispatchAction=function(a){if(!this.closeButton.isDisabled()&&2===a)for(var b=l(this.actionListeners),c=b.next();!c.done;c=b.next())c=c.value,c(a)};g.getRoot=function(){return this.root};
g.dispose=function(){this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.eventHandler.removeAll();this.actionListeners.length=0;this.closeButton.dispose()};g.onDialogClick=function(a){a.stopPropagation()};g.onDialogKeyDown=function(a){27===a.keyCode&&(this.dispatchAction(2),a.stopPropagation())};g.onStartFocusableElementFocus=function(){this.focusLastFocusableElement()};g.onEndFocusableElementFocus=function(){this.focusFirstFocusableElement()};
g.focusFirstFocusableElement=function(){var a=C9a(this.dialog);a.length&&a[0].focus()};g.focusLastFocusableElement=function(){var a=C9a(this.dialog);a.length&&a[a.length-1].focus()};g.onScrimClick=function(){this.dispatchAction(2)};var M9a=function(a){var b=a.content;a=a.header;return Zq('<div peoplekit-id="'+br("GGAcbc")+'" class="'+br("peoplekitComponentsDialogInfoScrim")+'" role="dialog" aria-modal="true"><div peoplekit-id="'+br("tYwGbe")+'" tabindex="0" role="application"></div><div peoplekit-id="'+br("Sx9Kwc")+'" class="'+br("peoplekitComponentsDialogInfoDialog")+'" tabindex="-1" role="dialog">'+(a?'<div class="'+br("peoplekitComponentsDialogInfoHeader")+'">'+cr(a)+"</div>":"")+'<div class="'+br("peoplekitComponentsDialogInfoContent")+
'"><div class="'+br("peoplekitComponentsDialogInfoDescription")+'">'+cr(b)+'</div></div><div class="'+br("peoplekitComponentsDialogInfoActions")+'">'+Zq('<div peoplekit-id="'+br("TvD9Pc")+'"></div>')+'</div></div><div peoplekit-id="'+br("dYgZK")+'" tabindex="0" role="application"></div></div>')},P9a=function(a){a=a.header;return Zq('<div class="'+br("peoplekitComponentsDialogInfoTextHeader")+'">'+cr(a)+"</div>")},Lwc=function(a){var b=a.description,c=a.learnMoreLinkUrl;a=a.learnMoreLinkText;return Zq('<div class="'+
br("peoplekitComponentsDialogInfoDescription")+'">'+cr(b)+'  <a href="'+br(qR(c))+'" target="_blank" class="'+br("peoplekitComponentsDialogInfoLearnMoreLink")+'" peoplekit-id="'+br("lh87ke")+'">'+cr(a)+"</a></div>")};var K9a=new Map([[0,"peoplekitThemeLight"],[1,"peoplekitThemeDark"]]);var U9a=function(a){var b=a.imageUrls,c=a.backupUrl,d=a.size,e=a.preloadSize,f=a.pixelRatio;Array.isArray(b);a=Zq;var h='<div class="'+br("peoplekitComponentsAvatarImplAvatarContainer")+'" style="width: '+br(rR(d))+"px; height: "+br(rR(d))+'px"><div peoplekit-id="'+br("YLEF4c")+'" class="'+br("peoplekitComponentsAvatarImplAvatar")+'" style="width: '+br(rR(d))+"px; height: "+br(rR(d))+'px">';Array.isArray(b);1==b.length?(Array.isArray(b),b=Zq('<div class="'+br("peoplekitComponentsAvatarImplContainer")+
'">'+P0(b[0],c,d,e,f)+"</div>")):2==b.length?(Array.isArray(b),b=Zq('<div class="'+br("peoplekitComponentsAvatarImplContainer")+'"><div class="'+br("peoplekitComponentsAvatarImplColumn")+'">'+P0(b[0],c,d,e,f)+"</div>"+Q0()+'<div class="'+br("peoplekitComponentsAvatarImplColumn")+'">'+P0(b[1],c,d,e,f)+"</div></div>")):3==b.length?(Array.isArray(b),b=Zq('<div class="'+br("peoplekitComponentsAvatarImplContainer")+'"><div class="'+br("peoplekitComponentsAvatarImplColumn")+'">'+P0(b[0],c,d,e,f)+"</div>"+
Q0()+'<div class="'+br("peoplekitComponentsAvatarImplColumn")+'"><div class="'+br("peoplekitComponentsAvatarImplRow")+'">'+P0(b[1],c,Math.round(.5*d),e,f)+"</div>"+Q0()+'<div class="'+br("peoplekitComponentsAvatarImplRow")+'">'+P0(b[2],c,Math.round(.5*d),e,f)+"</div></div></div>")):(Array.isArray(b),b=Zq('<div class="'+br("peoplekitComponentsAvatarImplContainer")+'"><div class="'+br("peoplekitComponentsAvatarImplColumn")+'"><div class="'+br("peoplekitComponentsAvatarImplRow")+'">'+P0(b[0],c,Math.round(.5*
d),e,f)+"</div>"+Q0()+'<div class="'+br("peoplekitComponentsAvatarImplRow")+'">'+P0(b[2],c,Math.round(.5*d),e,f)+"</div></div>"+Q0()+'<div class="'+br("peoplekitComponentsAvatarImplColumn")+'"><div class="'+br("peoplekitComponentsAvatarImplRow")+'">'+P0(b[1],c,Math.round(.5*d),e,f)+"</div>"+Q0()+'<div class="'+br("peoplekitComponentsAvatarImplRow")+'">'+P0(b[3],c,Math.round(.5*d),e,f)+"</div></div></div>"));b=Zq(b);return a(h+b+'</div><div peoplekit-id="'+br("Btuy5e")+'" class="'+br("peoplekitComponentsAvatarImplAvatarBadge")+
'">'+Zq('<img class="'+br("peoplekitComponentsAvatarImplBadgeIconImage")+'" peoplekit-id="'+br("m6fZne")+'" draggable="false" alt="">')+"</div></div>")},P0=function(a,b,c,d,e){var f='<div peoplekit-id="'+br("IHgMKc")+'" class="'+br("peoplekitComponentsAvatarImplImageRoot")+'">',h=qR(hac(a,c,c,e));h=Cfc(h);a=qR(hac(a,d,d,e));a=Cfc(a);b=qR(hac(b,c,c,e));b=Cfc(b);h='<img peoplekit-id="'+br("HiaYvf")+'" class="'+br("peoplekitComponentsAvatarImplImage")+'" style="width: '+br(rR(c))+"px; height: "+br(rR(c))+
'px;" data-preload-src="'+br(a)+'" data-src="'+br(h)+'" data-backup-src="'+br(b)+'" draggable="false" alt="">';c=Zq('<svg xmlns="http://www.w3.org/2000/svg" height="'+br(c)+'px" viewBox="0 0 24 24" width="'+br(c)+'px" class="'+br("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 Zq(f+(h+c+"</div>"))},Q0=function(){return Zq('<div class="'+br("peoplekitComponentsAvatarImplDivider")+'"></div>')};var Mwc=new Map([[0,"light_theme"],[1,"dark_theme"]]);var Nwc=new Map([[1,"badge_active"],[2,"badge_inactive"],[3,"badge_idle"],[4,"badge_do_not_disturb"],[5,"badge_video"]]),Owc=new Map([[1,"Active."],[2,"Inactive."],[3,"Idle."],[4,"Do Not Disturb."],[5,"In Video Call."]]),W9a=function(a,b){this.appearance=b;this.root=a;Pwc(this)};g=W9a.prototype;
g.setBadge=function(a){var b=Xq(this.root,"Btuy5e");if(0===a.badgeType)b.classList.remove("visible");else{var c=Nwc.get(a.badgeType)||"";if(c){var d=this.appearance.getTheme();c="https://www.gstatic.com/people/peoplekit/icons/"+(Mwc.get(d)||"light_theme")+"/"+c+".svg"}else c="";a=Owc.get(a.badgeType)||"";d=Xq(b,"m6fZne");c&&(d.src=c);d.alt=a;b.classList.add("visible")}};g.getAllIds=function(){return[]};g.updateWaldo=function(){};g.updateHubAvailabilityDot=function(){};
g.getSupportedIntelligenceFeatures=function(){return[]};g.initializeIntelligence=function(){};
var Pwc=function(a){a=l(Array.from(a.root.querySelectorAll('[peoplekit-id="IHgMKc"]')));for(var b=a.next(),c={};!b.done;c={img$jscomp$10:c.img$jscomp$10,src$jscomp$66:c.src$jscomp$66,imageRoot:c.imageRoot,backupSrc:c.backupSrc},b=a.next())c.imageRoot=b.value,c.img$jscomp$10=Xq(c.imageRoot,"HiaYvf"),b=Gwc(c.img$jscomp$10,"preloadSrc"),c.src$jscomp$66=Gwc(c.img$jscomp$10,"src"),c.backupSrc=Gwc(c.img$jscomp$10,"backupSrc"),T9a(c.src$jscomp$66)?c.img$jscomp$10.src=c.src$jscomp$66:T9a(b)?(c.img$jscomp$10.src=
b,cq(function(d){return function(){d.img$jscomp$10.src=d.src$jscomp$66}}(c),0)):(c.imageRoot.classList.add("isLoading"),c.img$jscomp$10.onload=function(d){return function(){d.imageRoot.classList.remove("isLoading")}}(c),c.img$jscomp$10.onerror=function(d){return function(){d.img$jscomp$10.getAttribute("src")===d.backupSrc?(d.img$jscomp$10.onerror=null,d.imageRoot.classList.remove("isLoading"),d.imageRoot.classList.add("isNotLoaded")):d.img$jscomp$10.src=d.backupSrc}}(c),c.img$jscomp$10.src=c.src$jscomp$66)};var $q=function(){this.theme=this.density=0};$q.prototype.getDensity=function(){return this.density};$q.prototype.setDensity=function(a){this.density=a};$q.prototype.getTheme=function(){return this.theme};$q.prototype.setTheme=function(a){this.theme=a};var er=function(a){this.dialog=a};er.prototype.subscribeToAction=function(a){this.dialog.subscribeToAction(a)};er.prototype.dispatchAction=function(a){this.dialog.dispatchAction(a)};er.prototype.getRoot=function(){return this.dialog.getRoot()};er.prototype.dispose=function(){this.dialog.dispose()};var R0=function(a){this.delegate=a};g=R0.prototype;g.getAllIds=function(){return this.delegate.getAllIds()};g.toggleSelection=function(){this.delegate.toggleSelection()};g.activate=function(){this.delegate.activate()};g.deactivate=function(){this.delegate.deactivate()};g.spotlight=function(){this.delegate.spotlight()};g.unspotlight=function(){this.delegate.unspotlight()};g.getRoot=function(){return this.delegate.getRoot()};g.getSelection=function(){return this.delegate.getSelection()};
g.onKeyDown=function(a){this.delegate.onKeyDown(a)};g.onContextMenu=function(a,b){return this.delegate.onContextMenu(a,b)};g.updateWaldo=function(a,b){this.delegate.updateWaldo(a,b)};g.updateHubAvailabilityDot=function(a,b){this.delegate.updateHubAvailabilityDot(a,b)};g.getSupportedIntelligenceFeatures=function(){return this.delegate.getSupportedIntelligenceFeatures()};g.initializeIntelligence=function(){this.delegate.initializeIntelligence()};g.addTag=function(a){this.delegate.addTag(a)};
g.setMetaIcon=function(a){this.delegate.setMetaIcon(a)};g.dispose=function(){this.delegate.dispose()};var qr=function(a,b,c,d,e){this.delegate=a;var f=this;this.appearanceConfig=b;this.clientConfig=c;this.result=d;this.ariaParent=e;this.groupMembers=this.result.getMemberList();this.dispatcher=this.clientConfig.injectorService.actionEventDispatcher;this.contextMenuContainer=Xq(a.getRoot(),"QL45qe");this.eventHandler=Lq(this);this.eventHandler.listen(document,"click",function(h){f.contextMenuContainer.contains(h.target)||S0(f)});this.eventHandler.listen(document,"keydown",function(h){if(f.contextMenu)f.contextMenu.onKeyDown(new O0(h))})};
Y(qr,R0);qr.prototype.onKeyDown=function(a){if(this.contextMenu)this.contextMenu.onKeyDown(a);else R0.prototype.onKeyDown.call(this,a)};
qr.prototype.onContextMenu=function(a,b){var c=this;a.stopPropagation();a.preventDefault();this.activate();this.contextMenu&&S0(this);this.contextMenu=G9a(this.contextMenuContainer,this.getRoot(),this.ariaParent,this.appearanceConfig);a=this.appearanceConfig.getTheme();this.contextMenu.append(j9a(a));Iwc(this.contextMenu,function(d){switch(d.id){case "ENOWEf":2>c.groupMembers.length?Qwc(c):Rwc(c);break;default:throw Error("Je`"+d.id);}S0(c)});Jwc(this.contextMenu,function(){S0(c);b()});this.contextMenu.show();
return function(){S0(c)}};qr.prototype.dispose=function(){this.eventHandler.removeAll();R0.prototype.dispose.call(this)};
var Qwc=function(a){Swc(a);a.dispatcher.notify(8);a.hideConfirmationDialog=d$a(D9a(a.getRoot()),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));Swc(a)})},Swc=function(a){var b;null==(b=a.hideConfirmationDialog)||b.dispose();a.hideConfirmationDialog=void 0;a.dispatcher.notify(9,a.getRoot())},Rwc=function(a){Twc(a);a.dispatcher.notify(8);
a.hideGroupErrorDialog=R9a(a.getRoot().ownerDocument.body,a.appearanceConfig);a.hideGroupErrorDialog.subscribeToAction(function(){Twc(a)})},Twc=function(a){var b;null==(b=a.hideGroupErrorDialog)||b.dispose();a.hideGroupErrorDialog=void 0;a.dispatcher.notify(9,a.getRoot())},S0=function(a){var b;null==(b=a.contextMenu)||b.dispose();a.contextMenu=void 0;a.dispatcher.notify(7,a.getRoot())};var u$a=function(a){a=a.memberCount;return(new zM("{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)},t$a=function(a){a=a.memberNames;Array.isArray(a);return a.join(", ")};var jr=function(a){this.internalArray_=m(a)};Y(jr,n);jr.prototype.getRequestType=function(){return Li(this,1,0)};jr.prototype.setRequestType=function(a){return hj(this,1,a)};var Uwc=function(){var a=new jr,b=new L0;this.experimentFlags_=ej(a,L0,107,b)};Uwc.prototype.getExperimentFlags=function(){return this.experimentFlags_};Uwc.prototype.getExperimentIds=function(){return[]};var Eab=function(a,b){this.cache=b;this.overriddenExperiments=vi(a,L0,3)||new L0};Eab.prototype.getExperiments=function(){var a,b=(null==(a=this.cache.getExperimentFlags())?void 0:vi(a,L0,107))||new L0;a=this.overriddenExperiments;Gi(a,3)&&cj(b,3,Hi(a,3,!1));Gi(a,4)&&cj(b,4,Hi(a,4,!0));return b};Eab.prototype.getExperimentIds=function(){return this.cache.getExperimentIds()};var Vwc=function(a){this.internalArray_=m(a)};Y(Vwc,n);g=Vwc.prototype;g.getCacheStaleSec=function(){return Xh(this,4,14400)};g.getCacheExpiredSec=function(){return Xh(this,5,1209600)};g.getRpcTimeoutSec=function(){return Xh(this,7,60)};g.getApiKey=function(){return xi(this,8,"")};g.setApiKey=function(a){return gj(this,8,a)};g.getEnableClearcut=function(){return Hi(this,13,!0)};g.setEnableClearcut=function(a){return cj(this,13,a)};var Cab=tda(Vwc);var Bab;var Wwc=function(){};Wwc.prototype.getExperimentFlags=function(){return new jr};Wwc.prototype.getExperimentIds=function(){return[]};var Dr=function(){};Dr.prototype.prefetch=function(){};Dr.prototype.loadExperiments=function(){return new Wwc};var T0=function(a){this.internalArray_=m(a)};Y(T0,n);T0.prototype.getVersion=function(){return Ui(this,1)};T0.prototype.setVersion=function(a){return nj(this,1,a)};T0.prototype.getVersionOrUndefined=function(){return Zt(this,1)};var U0=function(a){this.internalArray_=m(a)};Y(U0,n);g=U0.prototype;g.getApplication=function(){return Li(this,1,0)};g.setApplication=function(a){return hj(this,1,a)};g.getApplicationOrUndefined=function(){return ss(this,1)};g.getVersion=function(){return Ui(this,2)};g.setVersion=function(a){return nj(this,2,a)};g.getVersionOrUndefined=function(){return Zt(this,2)};var Xwc=function(a){this.internalArray_=m(a)};Y(Xwc,n);g=Xwc.prototype;g.getRequestType=function(){return Li(this,1,0)};g.setRequestType=function(a){return hj(this,1,a)};g.getProfileId=function(){return xi(this,2)};g.getProfileId_legacyNullable=function(){return wj(this,2)};g.setProfileId=function(a){return gj(this,2,a)};g.hasProfileId=function(){return yi(this,2)};g.getCaller=function(){return vi(this,T0,3)};g.setCaller=function(a){return ej(this,T0,3,a)};
g.getInstanceId=function(){return xi(this,4)};g.setInstanceId=function(a){return gj(this,4,a)};g.clearInstanceId=function(){lm(this,4)};g.hasInstanceId=function(){return yi(this,4)};g.getInstanceIdOrUndefined=function(){return $t(this,4)};g.getClient=function(){return vi(this,U0,5)};g.setClient=function(a){return ej(this,U0,5,a)};g.hasClient=function(){return Pi(this,U0,5)};var gr=function(a){this.internalArray_=m(a)};Y(gr,n);gr.prototype.getErrorType=function(){return Li(this,2,1)};gr.prototype.setErrorType=function(a){return hj(this,2,a)};gr.prototype.getErrorMessage=function(){return xi(this,3)};gr.prototype.setErrorMessage=function(a){gj(this,3,a)};var ir=function(a){this.internalArray_=m(a)};Y(ir,n);g=ir.prototype;g.getExperimentFlags=function(){return vi(this,jr,1)};g.setExperimentFlags=function(a){return ej(this,jr,1,a)};g.hasExperimentFlags=function(){return Pi(this,jr,1)};g.getError=function(){return vi(this,gr,2)};g.setError=function(a){ej(this,gr,2,a)};g.hasError=function(){return Pi(this,gr,2)};g.getSource=function(){return Li(this,3,0)};g.setSource=function(a){return hj(this,3,a)};g.hasSource=function(){return Ji(this,3)};
g.getSourceOrUndefined=function(){return ss(this,3)};g.getInstanceId=function(){return xi(this,4)};g.setInstanceId=function(a){return gj(this,4,a)};g.clearInstanceId=function(){lm(this,4)};g.hasInstanceId=function(){return yi(this,4)};g.getInstanceIdOrUndefined=function(){return $t(this,4)};g.getExperimentIdsList=function(){return Zh(this,5)};g.setExperimentIdsList=function(a){return ap(this,5,a)};g.getExperimentIds=function(){return Wt(this,5)};g.setExperimentIds=function(a){au(this,5,a)};
ir.repeatedFields_=[5];var Ywc=function(a,b){this.client_=a;this.runtime_=b;f$a();this.apiKey_=a.getApiKey();this.apiRoot_=xi(this.client_,10)||nOa("peoplestackwebexperiments-pa",this.runtime_.getPeopleApiEnv())};Ywc.prototype.getClient=function(){return this.client_};Ywc.prototype.getApiKey=function(){return this.apiKey_};var Zwc=function(a){this.internalArray_=m(a)};Y(Zwc,n);g=Zwc.prototype;g.getExperimentFlags=function(){return vi(this,jr,1)};g.setExperimentFlags=function(a){return ej(this,jr,1,a)};g.hasExperimentFlags=function(){return Pi(this,jr,1)};g.getObfuscatedGaiaId=function(){return wj(this,2)};g.getObfuscatedGaiaId_legacyNullable=function(){return wj(this,2)};g.setObfuscatedGaiaId=function(a){gj(this,2,a)};g.getExperimentIdsList=function(){return Zh(this,3)};
g.setExperimentIdsList=function(a){return ap(this,3,a)};g.getExperimentIds=function(){return Wt(this,3)};g.setExperimentIds=function(a){au(this,3,a)};var $wc=ac(Zwc);Zwc.repeatedFields_=[3];var axc=function(a){var b=void 0;b=void 0===b?Date.now:b;this.clientConfig_=a;this.now_=b},bxc=function(a,b,c){a=a.now_()-1E3*c;return b>a};axc.prototype.getCacheState=function(a){var b=Xh(this.clientConfig_.getClient(),3,1800);if(bxc(this,a,b))return 1;b=this.clientConfig_.getClient().getCacheStaleSec();if(bxc(this,a,b))return 2;b=this.clientConfig_.getClient().getCacheExpiredSec();return bxc(this,a,b)?3:4};var hr=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};Y(hr,Error);var cxc=function(a,b){b=void 0===b?null:b;var c=g$a(a);a=a.getProfileId()||b;return c&&a?JSON.stringify([c,a]):null},dxc=new hr(6);var exc=function(){};var V0=function(){};At(V0,exc);V0.prototype.getCount=function(){for(var a=0,b=l(this),c=b.next();!c.done;c=b.next())a++;return a};V0.prototype[Symbol.iterator]=function(){return f2b(this.__iterator__(!0)).toEs6()};V0.prototype.clear=function(){var a=Array.from(this);a=l(a);for(var b=a.next();!b.done;b=a.next())this.remove(b.value)};var fxc=function(a){this.storage_=a};At(fxc,V0);g=fxc.prototype;g.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";}};g.get=function(a){a=this.storage_.getItem(a);if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};g.remove=function(a){this.storage_.removeItem(a)};g.getCount=function(){return this.storage_.length};
g.__iterator__=function(a){var b=0,c=this.storage_,d=new eF;d.next=function(){if(b>=c.length)return e2b;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};g.clear=function(){this.storage_.clear()};g.key=function(a){return this.storage_.key(a)};var i$a=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.storage_=a};At(i$a,fxc);var W0=function(a,b){this.mechanism_=a;this.prefix_=b+"::"};At(W0,V0);W0.prototype.set=function(a,b){this.mechanism_.set(this.prefix_+a,b)};W0.prototype.get=function(a){return this.mechanism_.get(this.prefix_+a)};W0.prototype.remove=function(a){this.mechanism_.remove(this.prefix_+a)};
W0.prototype.__iterator__=function(a){var b=this.mechanism_[Symbol.iterator](),c=this,d=new eF;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 lr=function(a,b){var c=void 0,d=void 0;b=void 0===b?new i$a:b;c=void 0===c?mXb:c;d=void 0===d?jXb:d;this.clientConfig_=a;this.transformer_=new axc(this.clientConfig_);this.localStorage_=b;this.serializeJson_=c;this.isValidJson_=d;this.prefix_="PeopleStackExperiments";this.storage_=new W0(this.localStorage_,this.prefix_)};
lr.prototype.set=function(a,b){var c=cxc(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw dxc;a={keyPath:c,experiments:b.serialize(),lastUpdated:Date.now(),instanceId:a.getInstanceId()};this.storage_.set(c,this.serializeJson_(a));return c};
lr.prototype.get=function(a){a=cxc(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:$wc(a.experiments),lastUpdated:new Date(a.lastUpdated),state:b.getCacheState(a.lastUpdated),instanceId:a.instanceId}}else a=null;return a};lr.prototype.delete=function(a){this.storage_.remove(a);return!0};
lr.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 mr=function(a){var b=void 0;b=void 0===b?new Map:b;this.clientConfig_=a;this.transformer_=new axc(this.clientConfig_);this.cache_=b};mr.prototype.set=function(a,b){var c=cxc(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw dxc;this.cache_.set(c,{keyPath:c,experiments:b,lastUpdated:new Date,state:1,instanceId:a.getInstanceId()});return c};
mr.prototype.get=function(a){a=cxc(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};mr.prototype.delete=function(a){this.cache_.delete(a);return!0};mr.prototype.clean=function(){var a=this;this.cache_.forEach(function(b,c){4===a.transformer_.getCacheState(b.lastUpdated.getTime())&&a.cache_.delete(c)})};var gxc=function(){};g=gxc.prototype;g.start=function(){};g.stop=function(){};g.count=function(){};g.latency=function(){};g.error=function(){};g.status=function(){};g.logError=function(){};var hxc=function(a){this.internalArray_=m(a)};Y(hxc,n);g=hxc.prototype;g.getCaller=function(){return vi(this,T0,1)};g.setCaller=function(a){return ej(this,T0,1,a)};g.getClient=function(){return vi(this,U0,2)};g.setClient=function(a){return ej(this,U0,2,a)};g.hasClient=function(){return Pi(this,U0,2)};var ixc=function(a){this.internalArray_=m(a)};Y(ixc,n);g=ixc.prototype;g.getRequestType=function(){return Li(this,1,0)};g.setRequestType=function(a){return hj(this,1,a)};g.setProperties=function(a){return ej(this,hxc,3,a)};g.getInstanceId=function(){return xi(this,4)};g.setInstanceId=function(a){return gj(this,4,a)};g.clearInstanceId=function(){lm(this,4)};g.hasInstanceId=function(){return yi(this,4)};g.getInstanceIdOrUndefined=function(){return $t(this,4)};var jxc=new mC("/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",ixc,Zwc,function(a){return a.serialize()},$wc);var kxc=function(a){this.client_=new NC({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};kxc.prototype.getExperimentFlags=function(a,b){return OC(this.client_,this.hostname_+"/$rpc/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",a,b||{},jxc)};var lxc=function(a,b){this.clientRequest_=a;this.rpcClient_=b;this.metric_=new gxc};lxc.prototype.getMetric=function(){return this.metric_};lxc.prototype.send=function(a){var b=this,c;return qe(function(d){var e=(new hxc).setCaller(b.clientRequest_.getCaller()).setClient(b.clientRequest_.getClient());c=(new ixc).setRequestType(b.clientRequest_.getRequestType()).setInstanceId(b.clientRequest_.getInstanceIdOrUndefined()).setProperties(e);return d.return(b.rpcClient_.getExperimentFlags(c,a))})};
lxc.prototype.close=function(){};lxc.prototype.processResponse=function(a){return a};var mxc=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var nxc=function(a,b){this.config_=a;this.request_=b;this.resolver_=new mxc;this.rpcPromise_=null;this.state_=0};g=nxc.prototype;g.resultPromise=function(){return this.resolver_.promise};g.isPending=function(){return 1===this.state_};g.cancel=function(){switch(this.state_){case 1:this.rpcPromise_.cancel();break;case 0:this.state_=2,this.rpcPromise_=QVb(new uB),this.resolver_.reject(1)}};
g.send=function(){var a=this;if(0!==this.state_)return this.resultPromise();var b=mOa(this.config_.apiKey);this.config_.customAuthHeaders&&(b=Object.assign({},b,this.config_.customAuthHeaders));this.state_=1;b=this.request_.send(b);this.rpcPromise_=$Vb(TVb([b,iWb(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()};
g.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)};
g.onError_=function(a,b){b=void 0===b?0:b;if("TIMEOUT"===a)var c=4;else a instanceof uB?c=1:a&&"object"===typeof a?(c=a.code||2,2===c&&(c=Vo("result.error.code",a)||a.status,c=Number(c),c=Kdc.has(c)?Kdc.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 oxc=Symbol("Ke"),pxc=function(){};pxc.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[oxc]=d)}return c})};var qxc=function(a){this.request_=a;this.metric_=this.request_.getMetric();this.metric_.start("total");this.metric_.start("blocked");this.contentLength_=0};qxc.prototype.getMetric=function(){return this.metric_};qxc.prototype.send=function(a){this.metric_.stop("blocked");this.metric_.count();this.metric_.start("network");return this.request_.send(a)};
qxc.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[oxc]||0}};qxc.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 rxc=function(a){this.config_=a;this.pendingRpcs_=new Set},txc=function(a,b){b=new qxc(b);b=new nxc(a.config_,b);a.pendingRpcs_.add(b);sxc(a,b);return b.resultPromise()},sxc=function(a,b){qe(function(c){if(1==c.nextAddress)return re(c,2,3),c.yield(b.send(),3);if(2!=c.nextAddress)return te(c),a.pendingRpcs_.delete(b),ue(c,0);ve(c);return c.jumpTo(3)})};var k$a=function(a){this.clientConfig_=a;this.inflightRequests_=new Map;a={apiKey:this.clientConfig_.getApiKey(),timeoutSec:this.clientConfig_.getClient().getRpcTimeoutSec()};this.dispatcher_=new rxc(a);this.rpcClient_=new kxc(this.clientConfig_.apiRoot_)},vxc=function(a,b){var c,d,e,f;return qe(function(h){switch(h.nextAddress){case 1:var k=uxc(b);if(c=a.inflightRequests_.get(k)||null)return h.return(c);d=new lxc(b,a.rpcClient_);re(h,2,3);e=txc(a.dispatcher_,d);k=uxc(b);a.inflightRequests_.set(k,
e);return h.yield(e,5);case 5:return f=h.yieldResult,h.return(f);case 3:te(h);k=uxc(b);a.inflightRequests_.delete(k);ue(h,0);break;case 2:throw ve(h),Error("Le");}})},uxc=function(a){a=g$a(a);if(!a)throw dxc;return a};var wxc=function(a){this.internalArray_=m(a)};Y(wxc,n);g=wxc.prototype;g.getInstanceId=function(){return xi(this,1)};g.setInstanceId=function(a){return gj(this,1,a)};g.clearInstanceId=function(){lm(this,1)};g.hasInstanceId=function(){return yi(this,1)};g.getInstanceIdOrUndefined=function(){return $t(this,1)};g.getRequestId=function(){return xi(this,2)};g.getRequestType=function(){return Li(this,4,0)};g.setRequestType=function(a){return hj(this,4,a)};g.getSourceType=function(){return Li(this,6,0)};
g.setSourceType=function(a){return hj(this,6,a)};g.getClient=function(){return Li(this,7,0)};g.setClient=function(a){return hj(this,7,a)};g.hasClient=function(){return Ji(this,7)};g.getErrorType=function(){return Li(this,8,0)};g.setErrorType=function(a){return hj(this,8,a)};var l$a=function(a){var b=a.getClient();a=a.runtime_.getPeopleApiEnv();this.logContext_=ns(new ps,"PeopleExperiments").setEnvironment(a).setLogSource(1250).setVersion("1.0.1").setBaselineCl(585752539).setEnableClearcut(b.getEnableClearcut())};g=l$a.prototype;g.getLogContext=function(){return this.logContext_};g.createCountMetric=function(){throw Error("Wa");};g.createStatusMetric=function(){throw Error("Wa");};g.createErrorMetric=function(){throw Error("Wa");};
g.createLatencyMetric=function(a,b){a=b.source();b=Math.round(1E3*b.duration());nj(a,3,b);return a};var xxc=function(a,b){this.metrics_=a;this.state_=new LQ(b);this.label_="total";this.source=b};xxc.prototype.start=function(){this.metrics_.start(this.state_,this.label_)};xxc.prototype.stop=function(){this.metrics_.stop(this.state_,this.label_);this.metrics_.latency(this.state_)};var m$a=function(a,b){this.worker_=a;this.metrics_=Gr(b)},yxc=function(a,b){var c=new wxc,d=f$a();c=gj(c,2,d).setRequestType(a.getRequestType());return hj(c,5,b).setClient(a.getClient().getApplicationOrUndefined())};
m$a.prototype.updateExperimentsCache=function(a,b){b=void 0===b?2:b;var c=this,d,e,f,h;return qe(function(k){if(1==k.nextAddress)return d=yxc(a,b),e=new xxc(c.metrics_,d),e.start(),k.yield(c.worker_.updateExperimentsCache(a,b),2);f=k.yieldResult;d.setSourceType(f.getSourceOrUndefined());d.setInstanceId(f.getInstanceIdOrUndefined());(h=f.getError())&&d.setErrorType(h.getErrorType());e.stop();return k.return(f)})};
m$a.prototype.getCachedExperiments=function(a,b){b=void 0===b?0:b;var c=yxc(a,b),d=new xxc(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 zxc=function(a){this.timer=a;this.count=0},o$a=function(a,b){this.clientConfig_=a;this.worker_=b;this.refreshers_=new Map;this.refreshRateMs_=1E3*Xh(this.clientConfig_.getClient(),11,14400);this.eventHandler_=new Kq(this)};o$a.prototype.updateExperimentsCache=function(a,b){try{return Axc(this,a),this.worker_.updateExperimentsCache(a,b)}catch(c){return Promise.resolve(kr(c))}};o$a.prototype.getCachedExperiments=function(a,b){try{return Axc(this,a),this.worker_.getCachedExperiments(a,b)}catch(c){return kr(c)}};
var Axc=function(a,b){var c=g$a(b);if(!c)throw new hr(6);if(a.refreshers_.has(c))a.refreshers_.get(c).count=0;else{var d=new vB(a.refreshRateMs_);a.eventHandler_.listen(d,"tick",function(){if(a.worker_){b.clearInstanceId();a.worker_.updateExperimentsCache(b,1);var e=a.refreshers_.get(c);e.count++;var f=Xh(a.clientConfig_.getClient(),12,18);e.count>=f&&(e.timer.stop(),a.refreshers_.delete(c))}});d.start();a.refreshers_.set(c,new zxc(d))}a.refreshers_.get(c)};var Bxc=function(){},n$a=function(a,b){this.cache_=a;this.loader_=b};
n$a.prototype.updateExperimentsCache=function(a,b){var c=this,d,e,f,h;return qe(function(k){if(1==k.nextAddress){e=d=null;try{d=Cxc(c,a)}catch(y){e=y}if(d&&3!==d.state)return k.return(c.getCachedExperiments(a,b));re(k,3);return k.yield(Dxc(c,a),5)}if(3!=k.nextAddress){f=k.yieldResult;var q=k.return,t=e;t=void 0===t?null:t;var w=(new ir).setExperimentFlags(f.getExperimentFlags()).setExperimentIdsList(f.getExperimentIdsList()).setSource(1).setInstanceId(a.getInstanceIdOrUndefined());t&&w.setError(h$a(t));
return q.call(k,w)}h=ve(k);return k.return(kr(h))})};n$a.prototype.getCachedExperiments=function(a){try{var b=Cxc(this,a);if(b){var c=(new ir).setExperimentFlags(b.experiments.getExperimentFlags()).setExperimentIdsList(b.experiments.getExperimentIdsList()).setInstanceId(b.instanceId).setSource(2);1!==b.state&&Dxc(this,a).catch(Bxc);return c}Dxc(this,a).catch(Bxc);return kr()}catch(d){return kr(d)}};
var Cxc=function(a,b){try{var c=a.cache_.get(b);return c&&c.experiments.hasExperimentFlags()?c:null}catch(d){if(d instanceof hr)throw d;throw new hr(3);}},Dxc=function(a,b){var c,d;return qe(function(e){if(1==e.nextAddress)return re(e,2),b.hasInstanceId()||b.setInstanceId(f$a()),e.yield(vxc(a.loader_,b),4);if(2!=e.nextAddress)return c=e.yieldResult,a.cache_.set(b,c),e.return(c);d=ve(e);if(d instanceof hr)throw d;throw new hr(2);})};var j$a;var Exc=function(a){this.clientConfig_=a;this.worker_=p$a(this.clientConfig_)};Exc.prototype.getCachedExperiments=function(a){return this.worker_.getCachedExperiments(a,0)};var Er=function(){this.peopleApiEnv_=4};Er.prototype.getPeopleApiEnv=function(){return this.peopleApiEnv_};Er.prototype.setPeopleApiEnv=function(a){this.peopleApiEnv_=a;return this};var Fxc=function(a,b){this.client_=a;this.request_=b;this.response_=null};Fxc.prototype.getExperimentFlags=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentFlags()};Fxc.prototype.getExperimentIds=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentIdsList()};var Dab=function(a,b){this.clientConfig_=a;this.requestType_=b};Dab.prototype.prefetch=function(a){var b=new Ywc(this.clientConfig_,new Er);a=Gxc(this,a,"");p$a(b).updateExperimentsCache(a,2)};Dab.prototype.loadExperiments=function(a,b,c){var d=new Ywc(this.clientConfig_,b),e=Gxc(this,a,c);p$a(d).updateExperimentsCache(e,2);b=new Exc(new Ywc(this.clientConfig_,b));a=Gxc(this,a,c);return new Fxc(b,a)};var Gxc=function(a,b,c){var d=new T0;b=(new U0).setApplication(b);return(new Xwc).setProfileId(c).setRequestType(a.requestType_).setCaller(d).setClient(b)};var nr=new Eab(new M0,new Uwc);var s$a=Oq.getInstance();var w$a=Oq.getInstance();var Hxc=new aA(cN.WEEKDAY_MONTH_DAY_MEDIUM),Ixc=new aA(7);new aA(cN.WEEKDAY_MONTH_DAY_MEDIUM);var Jxc=new Map([[0,2],[1,1],[2,3],[3,4],[4,2],[5,5]]);var Kxc=function(a){var b=a.iconUrl,c=a.altText,d=a.persistentText;a=a.styleClass;return Zq('<div class="'+br("peoplekitComponentsTagTag")+" "+(a?br(a):"")+'" peoplekit-id="'+br("mQXP")+'">'+(b?'<img class="'+br("peoplekitComponentsTagIcon")+'" src="'+br(Qfc(b))+'" alt="'+br(c)+'"><div'+(d?"":' class="'+br("peoplekitComponentsTagUnrollingAltText")+'"')+'><div class="'+br("peoplekitComponentsTagText")+'">'+cr(c)+"</div></div>":'<div class="'+br("peoplekitComponentsTagText")+'">'+cr(c)+"</div>")+"</div>")};var y$a=function(a,b,c,d,e,f){var h=this;this.root=a;this.avatar=e;this.features=f;this.isIntelligenceInitialized=this.isOutOfOffice=!1;Lxc(this,{tags:d});W8a(a,b.getPrimaryTarget());c.getResultDecorationConfigRequestCallback()(b,function(k){Lxc(h,k)})};g=y$a.prototype;g.getAllIds=function(){return[]};g.toggleSelection=function(){};g.activate=function(){this.root.classList.add("isActive")};g.deactivate=function(){this.root.classList.remove("isActive")};g.spotlight=function(){};g.unspotlight=function(){};
g.getRoot=function(){return this.root};g.getSelection=function(){throw Error("Ne");};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};
g.updateWaldo=function(a){if(this.getSupportedIntelligenceFeatures().includes(1)){var b=Xq(this.root,"Z306Oe");if(this.isOutOfOffice=4===a.getCurrentStatus()){if(4!==a.getCurrentStatus())throw Error("Me");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 "+Ixc.format(c):"Out of office - back on "+Hxc.format(c);pB(b,String(c));this.root.classList.add("isOutOfOffice")}else pB(b,
""),this.root.classList.remove("isOutOfOffice")}};g.updateHubAvailabilityDot=function(a){this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:Jxc.get(a.getType()||0)||2})};g.getSupportedIntelligenceFeatures=function(){return this.features};g.addTag=function(a){var b=Xq(this.root,"x00ATb");a:switch(a.style||0){case 1:var c="isWarning";break a;default:c=""}a=fp(Kxc,Object.assign({},a,{styleClass:c}));b.appendChild(a)};
g.setMetaIcon=function(a){var b=Array.from(this.root.querySelectorAll('[peoplekit-id="SC3Htd"]'))[0];b&&(b.src=a.iconUrl,b.alt=a.altText)};var Lxc=function(a,b){for(var c=l(b.tags||[]),d=c.next();!d.done;d=c.next())a.addTag(d.value);b.metaIcon&&a.setMetaIcon(b.metaIcon)};y$a.prototype.initializeIntelligence=function(){this.isIntelligenceInitialized||(this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:2}),this.isIntelligenceInitialized=!0)};y$a.prototype.dispose=function(){};var T$a=function(a,b,c,d,e){this.delegate=z$a(a,b,c,d,e,[2]);this.root=a;this.root.setAttribute("aria-selected","true");this.id=b.getPrimaryTarget().getId();this.selection=new zwc(Tr)};Y(T$a,R0);T$a.prototype.getAllIds=function(){return[this.id]};T$a.prototype.getSelection=function(){return this.selection};var Mxc=function(a,b,c,d,e,f,h,k){d=void 0===d?"":d;e=void 0===e?!1:e;return Zq('<div role="option" class="'+br("peoplekitComponentsResultlistitemResultListItem")+" "+br(d)+'" id="'+br(a)+'" peoplekit-id="'+br(a)+'" aria-disabled="'+br(e)+'" aria-selected="false"><div class="'+br("peoplekitComponentsResultlistitemResultListItemRow")+'"><div class="'+br("peoplekitComponentsResultlistitemLeft")+'" data-hovercard-id="'+br(b)+'" data-name="'+br(dr(c))+'">'+cr(f)+'</div><div class="'+br("peoplekitComponentsResultlistitemCenter")+
'">'+cr(h)+'</div><div class="'+br("peoplekitComponentsResultlistitemRight")+'" peoplekit-id="'+br("QChpEe")+'">'+cr(k)+'</div></div><div peoplekit-id="'+br("Z306Oe")+'" class="'+br("peoplekitComponentsResultlistitemOutOfOffice")+'"></div><div peoplekit-id="'+br("QL45qe")+'"></div></div>')},Nxc=function(a,b,c,d){return Zq('<div class="'+br("peoplekitComponentsResultlistitemLabelContainer")+'"><div class="'+br("peoplekitComponentsResultlistitemLabel")+" "+br("peoplekitComponentsResultlistitemLabelRow")+
'"><div class="'+br("peoplekitComponentsResultlistitemLabelText")+'" data-hovercard-id="'+br(b)+'" data-name="'+br(dr(a))+'" translate="no">'+cr(dr(a))+'</div><div peoplekit-id="'+br("x00ATb")+'" class="'+br("peoplekitComponentsResultlistitemTags")+'"></div></div>'+(c?'<div class="'+br("peoplekitComponentsResultlistitemSublabel")+" "+br("peoplekitComponentsResultlistitemLabelRow")+'"><div class="'+br("peoplekitComponentsResultlistitemSublabelText")+'" data-hovercard-id="'+br(b)+'" data-name="'+br(dr(a))+
'"'+(d?"":' translate="no"')+">"+cr(dr(c))+"</div></div>":"")+"</div>")},Oxc=function(a){return Zq('<div class="'+br("peoplekitComponentsResultlistitemAvatar")+'"><div class="'+br("peoplekitComponentsResultlistitemAvatarContainer")+'" peoplekit-id="'+br("d6MZcd")+'"></div>'+(a?cr(a):"")+"</div>")},Pxc=function(){var a=Zq,b='<div class="'+br("peoplekitComponentsResultlistitemAvatarSelectionOverlay")+'"><div class="'+br("peoplekitComponentsResultlistitemWhiteCheck")+'">';var c=Zq('<svg viewBox="0 0 24 24" class="'+
(br("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(Oxc(oR(b+c+"</div></div>")))},Qxc=function(){return Zq('<img class="'+br("peoplekitComponentsResultlistitemMetaIcon")+'" peoplekit-id="'+br("SC3Htd")+'" alt="" src=""/>')};var S$a=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.disableReason,f=a.allowSublabelTranslation;return Zq(Mxc(a.id,b,c,"isDisabled "+a.densityClass,!0,oR(""+Oxc()),oR(""+Nxc(c,b,d,f)),oR('<div class="'+br("peoplekitComponentsResultlistitemDisabledDisableReasonContainer")+'">'+cr(e)+"</div>")))},R$a=function(){var a=Zq,b='<div class="'+br("peoplekitComponentsResultlistitemDisabledIconIndicator")+'" aria-label="'+br(". Already selected")+'">';var c=Zq('<svg xmlns="http://www.w3.org/2000/svg" height="18px" viewBox="0 0 24 24" width="18px" class="'+
(br("peoplekitComponentsResultlistitemDisabledSelectedIcon")+'"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/></svg>'));return a(b+c+"</div>")};var sr=function(a){this.delegate=a;var b=this;this.eventHandler=Lq(this);this.eventHandler.listen(this.getRoot(),"click",function(c){b.onClick(c)})};Y(sr,R0);sr.prototype.onClick=function(){this.toggleSelection()};var A$a=function(a,b){this.internalResult=a;this.displayNameOverride=b;this.forceDisplayNameOverride=!1;a=this.internalResult.getTargetList()[0];if(!a)throw new RangeError("Oe");this.target=a;a=this.target.getLoggingToken();b=this.target.getId();this.internalSelectionToken=new twc(b,this.displayNameOverride,this.forceDisplayNameOverride,a)};g=A$a.prototype;g.id=function(){return this.target.getId()};g.selectionToken=function(){return this.internalSelectionToken};g.targets=function(){return[this.target]};
g.result=function(){return this.internalResult};g.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride};g.getDisplayNameWithOverrideApplied=function(){return this.forceDisplayNameOverride?this.displayNameOverride:this.displayNameOverride||this.internalResult.getDisplayName()};g.isPlaceholder=function(){return!1};var Rxc=function(a,b,c,d,e,f){this.delegate=z$a(a,b,d,e,f,[]);this.root=a;this.result=b;this.selectionsState=c;this.id=b.getPrimaryTarget().getId();this.selection=new zwc(Tr)};Y(Rxc,R0);Rxc.prototype.getAllIds=function(){return[this.id]};Rxc.prototype.toggleSelection=function(){for(var a=l(this.result.getMemberList()),b=a.next();!b.done;b=a.next())b=B$a(b.value),this.selectionsState.select(b);this.root.dispatchEvent(h9a("pcw-select",this.root))};Rxc.prototype.getSelection=function(){return this.selection};var Sxc=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return Zq(Mxc(a.id,b,c,a.densityClass,void 0,oR(""+Oxc()),oR(""+Nxc(c,b,d,e)),oR(""+Qxc())))};var tr=function(a,b){this.delegate=a;var c=this;this.selectionsState=b;this.id=a.getAllIds()[0];b.get(this.id)&&Txc(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){Txc(c,d)};Uxc(this.selectionsState,this.onDeselectionCallback);Vxc(this.selectionsState,this.onSelectionCallback)};Y(tr,R0);
tr.prototype.toggleSelection=function(){if(this.selectionsState.get(this.id)){var a=this.getRoot();a=h9a("pcw-deselect",a)}else a=this.getRoot(),a=h9a("pcw-select",a);this.getRoot().dispatchEvent(a);this.selectionsState.toggle(this.getSelection(),1)};var Txc=function(a,b){b.id().equals(a.id)&&(a.getRoot().classList.add("isSelected"),a.getRoot().setAttribute("aria-selected","true"))};tr.prototype.dispose=function(){this.selectionsState.deselectionCallbacks.remove(this.onDeselectionCallback);this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback)};var rr=function(a,b,c,d,e,f,h){this.delegate=z$a(a,b,d,e,f,[2]);this.selectionsState=c;this.clientConfig=h;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||B$a(b,b.getDisplayName())};Y(rr,R0);rr.prototype.onContextMenu=function(a,b){Hi(this.clientConfig.internal,7,!1)&&a.preventDefault();return R0.prototype.onContextMenu.call(this,a,b)};rr.prototype.getAllIds=function(){return[this.id]};rr.prototype.getSelection=function(){return this.selection};var P$a=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return Zq(Mxc(a.id,b,c,a.densityClass,void 0,oR(""+Pxc()),oR(""+Nxc(c,b,d,e)),oR(""+Qxc())))};var Wxc=function(a,b,c,d,e,f,h){this.delegate=z$a(a,b,d,e,f,[]);this.selectionsState=c;this.clientConfig=h;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||B$a(b)};Y(Wxc,R0);Wxc.prototype.onContextMenu=function(a,b){Hi(this.clientConfig.internal,7,!1)&&a.preventDefault();return R0.prototype.onContextMenu.call(this,a,b)};Wxc.prototype.getAllIds=function(){return[this.id]};Wxc.prototype.getSelection=function(){return this.selection};var Xxc=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return Zq(Mxc(a.id,b,c,a.densityClass,void 0,oR(""+Pxc()),oR(""+Nxc(c,b,d,e)),oR(""+Qxc())))};var Yxc=function(a){return"To unhide this suggestion, press "+a.shortcutKey+" + Enter.  "};var H$a=function(a,b,c,d,e,f){var h=this;this.root=a;this.enabledIcon=b;this.disabledIcon=c;this.tooltip=d;this.disableDomNavigation=e;this.internalIsDisabled=!1;this.eventHandler=Lq(this);this.onClick=f;this.eventHandler.listen(this.root,"click",function(k){var q;null==(q=h.onClick)||q.call(h,k)});this.disableDomNavigation?this.root.tabIndex=-1:(this.eventHandler.listen(this.root,"focus",function(){h.activate()}),this.eventHandler.listen(this.root,"blur",function(){h.deactivate()}))};g=H$a.prototype;
g.getRoot=function(){return this.root};g.enable=function(){this.root.disabled=!1;var a=this.root.querySelector("img");a&&(a.src=this.enabledIcon);this.internalIsDisabled=!1};g.disable=function(){this.root.disabled=!0;var a=this.root.querySelector("img");a&&this.disabledIcon&&(a.src=this.disabledIcon);this.internalIsDisabled=!0};g.isDisabled=function(){return this.internalIsDisabled};
g.dispose=function(){this.eventHandler.removeAll();this.onClick=void 0;if(this.tooltip){var a=this.tooltip.tooltipEventTracker;a.eventHandler.removeAll();a.anchor&&(a.hideTooltip(),a.hideCallback=void 0,a.showCallback=void 0,a.hideTimeout=void 0,a.showTimeout=void 0,a.displayed=!1,a.anchor=void 0,document.body.removeEventListener("keydown",a.tooltipKeydownHandler))}};g.activate=function(){this.root.classList.add("isFocused");this.tooltip&&this.tooltip.showTooltip()};
g.deactivate=function(){this.root.classList.remove("isFocused");this.tooltip&&this.tooltip.hideTooltip()};g.isActive=function(){return this.root.classList.contains("isFocused")};var Zxc=0;var D$a=function(a){var b=a.icon,c=a.ariaLabel,d="";c=(a=a.tooltipLabel?"tt-c"+Zxc++:"")?' data-tooltip-id="'+br(a)+'" aria-labelledby="'+br(a)+'"':c?' aria-label="'+br(c)+'"':"";d+='<button class="'+br("peoplekitComponentsButtonIconIconButton")+'"'+c+">"+Zq('<span><img src="'+br(Qfc(b))+'" draggable="false" aria-hidden="true" alt="" class="'+br("peoplekitComponentsButtonIconAdaptableIcon")+'"/></span>')+"</button>";return Zq(d)};var pr=function(a,b,c){var d=this;this.tooltip=a;this.showDelayMs=b;this.hideDelayMs=c;this.displayed=!1;this.tooltipKeydownHandler=function(e){if(!d.anchor)throw Error("Qe");if("Escape"===e.key){var f=document.activeElement;f&&d.tooltip.contains(f)&&d.anchor.focus();d.hideTooltip();e.stopPropagation()}};this.eventHandler=Lq(this)};
pr.prototype.showTooltip=function(){if(!this.isDisplayed()&&this.anchor){this.displayed=!0;var a;null==(a=this.showCallback)||a.call(this);$xc(this);document.body.addEventListener("keydown",this.tooltipKeydownHandler)}};pr.prototype.hideTooltip=function(){if(this.isDisplayed()&&this.anchor){this.displayed=!1;var a;null==(a=this.hideCallback)||a.call(this);ayc(this);document.body.removeEventListener("keydown",this.tooltipKeydownHandler)}};pr.prototype.isDisplayed=function(){return this.displayed};
pr.prototype.getAnchorElement=function(){return this.anchor};
var byc=function(a,b){a.hideCallback=b.hideTooltipCallback;a.showCallback=b.showTooltipCallback},fyc=function(a,b){if(a.anchor)throw Error("Pe");a.anchor=b;cyc(a);dyc(a);eyc(a)},gyc=function(a){ayc(a);$xc(a);a.showTimeout=setTimeout(function(){a.showTooltip()},a.showDelayMs)},hyc=function(a){ayc(a);$xc(a);a.hideTimeout=setTimeout(function(){a.hideTooltip()},a.hideDelayMs)},cyc=function(a){if(!a.anchor)throw Error("Qe");a.eventHandler.listen(a.anchor,"mouseenter",function(){a.isDisplayed()?a.showTooltip():
gyc(a)});a.eventHandler.listen(a.anchor,"touchstart",function(){gyc(a)});a.eventHandler.listen(a.anchor,"focus",function(b){a.tooltip.contains(b.relatedTarget)||gyc(a)});a.eventHandler.listen(a.anchor,"touchend",function(){$xc(a)});a.eventHandler.listen(a.anchor,"mouseleave",function(){hyc(a)});a.eventHandler.listen(a.anchor,"blur",function(){a.hideTooltip()})},dyc=function(a){a.eventHandler.listen(a.tooltip,"mouseenter",function(){gyc(a)});a.eventHandler.listen(a.tooltip,"mouseleave",function(){hyc(a)});
a.eventHandler.listen(a.tooltip,"focusout",function(b){b=b.relatedTarget;var c,d=!(null==(c=a.anchor)||!c.contains(b));a.tooltip.contains(b)||d||a.hideTooltip()})},eyc=function(a){a.eventHandler.listen(window,"touchmove",function(){hyc(a)});a.eventHandler.listen(window,"focus",function(b){b.target!==a.anchor&&hyc(a)});a.eventHandler.listen(window,"blur",function(b){b.target===window&&a.hideTooltip()})},$xc=function(a){clearTimeout(a.showTimeout);a.showTimeout=void 0},ayc=function(a){clearTimeout(a.hideTimeout);
a.hideTimeout=void 0};var F$a=function(a,b){this.tooltip=a;this.tooltipEventTracker=b;this.popupService=B9a(this.tooltip,{anchorCorner:3,popupCorner:2})},G$a=function(a,b){fyc(a.tooltipEventTracker,b);byc(a.tooltipEventTracker,{showTooltipCallback:function(){a.showTooltipCallback()},hideTooltipCallback:function(){a.hideTooltipCallback()}})};g=F$a.prototype;g.showTooltip=function(){this.tooltipEventTracker.showTooltip()};g.hideTooltip=function(){this.tooltipEventTracker.hideTooltip()};g.getRoot=function(){return this.tooltip};
g.isDisplayed=function(){return this.tooltipEventTracker.isDisplayed()};g.showTooltipCallback=function(){this.popupService.show(this.tooltipEventTracker.getAnchorElement())};g.hideTooltipCallback=function(){this.popupService.hide()};var E$a=function(a){var b=a.label,c=a.ariaLabel,d=a.classes,e=a.attributes,f=Zq;a='<div id="'+br(a.id)+'" peoplekit-id="'+br("suEOdc")+'" class="'+br("peoplekitComponentsTooltipImplTooltip")+(d?" "+br(d):"")+'" style="display: none;" aria-hidden="true"'+(c?' aria-label="'+br(c)+'"':"");e?(nR(e,vfc)?e=e.getContent():(e=String(e),e=Ufc.test(e)?e:"zSoyz"),nR(e,vfc)&&(e=e.getContent()),e=(e&&!e.startsWith(" ")?" ":"")+e):e="";return f(a+e+">"+cr(b)+"</div>")};var J$a=function(a,b,c){this.delegate=a;var d=this;this.secondaryActionConfig=c;for(var e=Xq(a.getRoot(),"QChpEe");e.firstChild;)e.removeChild(e.firstChild);this.secondaryActionButton=I$a(e,Object.assign({},{density:b.getDensity()},c));this.buttonRoot=this.secondaryActionButton.getRoot();this.buttonRoot.style.display="none";this.buttonRoot.id=a.getRoot().id+"-2ab";c.disableDomNavigation&&QE(this.buttonRoot,"menuitem");Jq({element:this.buttonRoot,veid:163534,actions:["impression","pcw-click"],componentId:"peoplekitweb"});
this.secondaryActionButton.onClick=function(f){var h;null==(h=c.onClick)||h.call(c,f);d.buttonRoot.dispatchEvent(Mq(d.buttonRoot))};this.eventHandler=Lq(this);this.eventHandler.listen(a.getRoot(),"mouseover",this.displaySecondaryActionButton);this.eventHandler.listen(a.getRoot(),"mouseleave",this.hideSecondaryActionButton)};Y(J$a,R0);g=J$a.prototype;g.activate=function(){this.getRoot().classList.add("isActive");this.displaySecondaryActionButton()};
g.deactivate=function(){this.getRoot().classList.remove("isActive");this.secondaryActionButton.deactivate();this.hideSecondaryActionButton()};
g.onKeyDown=function(a){var b=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(),RE(this.buttonRoot,"hidden","true"),a.stopPropagation(),a.preventDefault()):(this.secondaryActionButton.activate(),RE(this.buttonRoot,"hidden","false"),a.stopPropagation(),a.preventDefault())}if(c||
b&&this.secondaryActionButton.isActive())this.buttonRoot.click(),a.stopPropagation(),a.preventDefault()};g.dispose=function(){this.eventHandler.removeAll();this.secondaryActionButton.dispose();R0.prototype.dispose.call(this)};g.displaySecondaryActionButton=function(){this.buttonRoot.style.display=""};g.hideSecondaryActionButton=function(){this.getRoot().classList.contains("isActive")||(this.buttonRoot.style.display="none")};var iyc={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"},jyc=Yxc({shortcutKey:"Ctrl"}),kyc=Yxc({shortcutKey:"\u2318"}),M$a=function(a,b,c,d){var e=0===b.getTheme()?iyc.LIGHT_THEME:iyc.DARK_THEME,f=naa()?kyc:jyc;R0.call(this,K$a(a,b,{icon:e,tooltipLabel:"Unhide suggestion",ariaLabel:f,onClick:function(k){h.onButtonClick(k)},disableDomNavigation:!0},d));var h=
this;this.appearanceConfig=b;this.clientConfig=c;this.dispatcher=this.clientConfig.injectorService.actionEventDispatcher};Y(M$a,R0);M$a.prototype.onButtonClick=function(a){lyc(this);a.stopPropagation()};
var lyc=function(a){a.unhideConfirmationDialog&&myc(a);a.dispatcher.notify(8);a.unhideConfirmationDialog=d$a(D9a(a.getRoot()),a.getSelection(),a.appearanceConfig,1);a.unhideConfirmationDialog.subscribeToAction(function(b){1===b&&a.dispatcher.notify(4,a.getAllIds());myc(a)})},myc=function(a){var b;null==(b=a.unhideConfirmationDialog)||b.dispose();a.unhideConfirmationDialog=void 0;a.dispatcher.notify(9,a.getRoot())};var nyc=function(a){this.internalArray_=m(a)};Y(nyc,n);g=nyc.prototype;g.getIdCase=function(){return sn(this,X0)};g.getProfileId=function(){return xi(this,kl(this,X0,1))};g.setProfileId=function(a){return vl(this,1,X0,a)};g.hasProfileId=function(){return null!=qq(this,1,X0)};g.getEmail=function(){return xi(this,kl(this,X0,2))};g.setEmail=function(a){return vl(this,2,X0,a)};g.hasEmail=function(){return null!=qq(this,2,X0)};g.getPhone=function(){return xi(this,kl(this,X0,3))};
g.setPhone=function(a){return vl(this,3,X0,a)};g.hasPhone=function(){return null!=qq(this,3,X0)};var X0=[1,2,3],oyc=function(a){if(null!=a)return $b(a),{profileId:Zb(qq(a,1,X0)),email:Zb(qq(a,2,X0)),phone:Zb(qq(a,3,X0))}};var Xr=function(a){this.internalArray_=m(a)};Y(Xr,n);Xr.prototype.getHideType=function(){return ds(this,1)};Xr.prototype.getHiddenKeysList=function(){return zi(this,nyc,3)};Xr.repeatedFields_=[3];var pyc=function(a){if(null!=a)return $b(a),{hideType:Zb(ds(a,1)),hiddenKeysList:Yb(a.getHiddenKeysList(),oyc),familyStatus:Zb(ds(a,2)),birthdayStatus:Zb(ds(a,4)),suggestionConfidence:Zb(ds(a,5))}};var Qbb=Xb(417869137,{peopleStackPersonData:0},Xr,pyc);var L$a=function(){};L$a.prototype.filterResult=function(a){var b,c;return 1===(null==(b=a.getExtendedData())?void 0:null==(c=b.getExtension(Qbb))?void 0:c.getHideType())?a:null};L$a.prototype.reset=function(){};var V$a=new Map([[1,Q$a()],[4,Q$a()],[5,U$a(1)],[6,U$a(2)],[2,function(a){var b=a.result,c=a.resultConfig,d=a.appearanceConfig,e=a.resultCustomizationConfig,f=a.clientConfig;var h=a.selectionsState;var k=x$a(b,c,e,a.isRightToLeft,Hi(f.internal,6,!1),fr(d.getDensity())),q=fp(Xxc,k);Jq({element:q,veid:25285,actions:["impression","pcw-select","pcw-deselect"],pairs:[C$a(b.getPrimaryTarget().getLoggingToken())],componentId:"peoplekitweb"});var t=Xq(q,"d6MZcd"),w=e$a(d.getDensity()),y;e=null!=(y=e.backupAvatarUrl)?
y:"";d=ar(t,k.photos,w,w,d,e);b=new Wxc(q,b,h,c,k.tags,d,f);h=new sr(new tr(b,h));return O$a(N$a(h,a),a)}],[3,function(a){var b=a.result;var c=a.resultConfig,d=a.resultCustomizationConfig,e=a.appearanceConfig,f=a.selectionsState,h=x$a(b,c,d,a.isRightToLeft,Hi(a.clientConfig.internal,6,!1),fr(e.getDensity())),k=fp(Sxc,h);Jq({element:k,veid:25285,actions:["impression","pcw-select","pcw-deselect"],pairs:[C$a(b.getPrimaryTarget().getLoggingToken())],componentId:"peoplekitweb"});var q=Xq(k,"d6MZcd"),t=
e$a(e.getDensity()),w;d=null!=(w=d.backupAvatarUrl)?w:"";e=ar(q,h.photos,t,t,e,d);b=new sr(new Rxc(k,b,f,c,h.tags,e));return N$a(b,a)}]]);var fab=function(a,b,c,d,e,f,h,k){this.list=a;this.resultConfig=b;this.appearanceConfig=c;this.clientConfig=d;this.selectionsState=e;this.interactions=h;this.ariaParent=k;this.results=[];this.intelligentCollection=f.create();this.navigatable=new rwc(new o9a(this.results))};g=fab.prototype;g.register=function(a){this.results.push(a);this.navigatable.insert(this.navigatable.size(),[a],!1);this.intelligentCollection.append([a])};
g.append=function(a,b){a=l(a);for(var c=a.next();!c.done;c=a.next())c=W$a(c.value,b,this.selectionsState,this.resultConfig,this.appearanceConfig,this.clientConfig,DR(this.list.getRoot()),this.interactions,this.ariaParent),this.list.append(c.getRoot()),this.register(c)};g.clear=function(){this.list.clear();this.navigatable.clear();this.intelligentCollection.clear();for(var a=l(this.results),b=a.next();!b.done;b=a.next())b.value.dispose();this.results.length=0};g.reset=function(){this.navigatable.reset()};
g.getNavigatable=function(){return this.navigatable};g.getResultListItems=function(){return this.results};var Y0=function(a){this.delegate=a};g=Y0.prototype;g.getHeader=function(){return this.delegate.getHeader()};g.getActionItems=function(){return this.delegate.getActionItems()};g.dispose=function(){this.delegate.dispose()};g.getRoot=function(){return this.delegate.getRoot()};g.activate=function(){this.delegate.activate()};g.deactivate=function(){this.delegate.deactivate()};g.spotlight=function(){this.delegate.spotlight()};g.unspotlight=function(){this.delegate.unspotlight()};g.getSelection=function(){return this.delegate.getSelection()};
g.toggleSelection=function(){this.delegate.toggleSelection()};g.onKeyDown=function(a){this.delegate.onKeyDown(a)};g.onContextMenu=function(a,b){return this.delegate.onContextMenu(a,b)};var qyc=function(a){var b=a.id,c=a.groupName;a=a.classes;return Zq('<div class="'+br("peoplekitComponentsGroupingHeaderCollapsibleChevronContainer")+" "+(a?" "+br(a):"")+'" peoplekit-id="'+br("wgPSWd")+'" id="'+br(b)+'" aria-expanded="false" role="menuitem" aria-label="'+br("To expand "+c+" group, press enter")+'"><svg class="'+br("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>')},
ryc=function(a){return"To "+a.action+" "+a.groupName+" group, press enter"};var wr=function(a,b,c){this.delegate=a;var d=this;this.isCollapsed=b;this.interactionListener=c;this.eventHandler=Lq(this);this.chevron=fp(qyc,{id:Gq(Oq.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);Xq(this.getRoot(),"QChpEe").appendChild(this.chevron);b||(this.chevron.classList.toggle("rotate"),RE(this.chevron,"expanded",!0),H1b(this.chevron,ryc({groupName:this.getHeader(),action:"collapse"})))};Y(wr,Y0);wr.prototype.getActionItems=function(){return this.groupingHeaderActionItems};wr.prototype.dispose=function(){this.eventHandler.removeAll();Y0.prototype.dispose.call(this)};
wr.prototype.toggleView=function(){this.isCollapsed=!this.isCollapsed;this.chevron.classList.toggle("rotate");this.interactionListener(this.isCollapsed);var a=this.isCollapsed?"expand":"collapse";RE(this.chevron,"expanded",!this.isCollapsed);H1b(this.chevron,ryc({groupName:this.getHeader(),action:a}))};var syc=function(a){var b=a.id,c=a.ariaLabel;a=a.classes;return Zq('<div class="'+br("peoplekitComponentsGroupingHeaderInfoInfoIconContainer")+" "+(a?" "+br(a):"")+'" peoplekit-id="'+br("CLghmc")+'" id="'+br(b)+'" aria-label="'+br(c)+'"><svg class="'+br("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 uyc=function(a,b,c,d){this.delegate=a;var e=this;this.infoGroupConfig=b;this.appearanceConfig=c;this.infoGroupingHeaderVeIds=d;this.infoIcon=fp(syc,{id:Gq(Oq.getInstance()),ariaLabel:"For more information about "+this.getHeader()+", press enter.",classes:"TdcT2c"});Xq(this.getRoot(),"xiK4Cd").appendChild(this.infoIcon);void 0!==this.infoGroupingHeaderVeIds.infoIconVeId&&Jq({element:this.infoIcon,veid:this.infoGroupingHeaderVeIds.infoIconVeId,actions:["impression","pcw-click"],componentId:"peoplekitweb"});
this.eventHandler=Lq(this);this.eventHandler.listen(this.infoIcon,"click",function(){tyc(e)});this.groupingHeaderActionItems=a.getActionItems().slice();this.groupingHeaderActionItems.push({focus:function(){e.infoIcon.classList.add("isSpotlit")},unfocus:function(){e.infoIcon.classList.remove("isSpotlit")},onKeyDown:function(f){13===f.event.keyCode&&(tyc(e),f.stopPropagation(),f.preventDefault())}})};Y(uyc,Y0);
var tyc=function(a){a.infoIcon.dispatchEvent(Mq(a.infoIcon));var b=P9a({header:a.infoGroupConfig.infoDialogHeader}),c=Lwc({description:a.infoGroupConfig.learnMoreMessage,learnMoreLinkUrl:a.infoGroupConfig.learnMoreUrl,learnMoreLinkText:a.infoGroupConfig.learnMoreLinkText}),d=a.getRoot().ownerDocument.activeElement,e=D9a(a.getRoot()),f=O9a(e,c,a.appearanceConfig,b),h=Xq(f.getRoot(),"lh87ke");void 0!==a.infoGroupingHeaderVeIds.learnMoreLinkVeId&&Jq({element:h,veid:a.infoGroupingHeaderVeIds.learnMoreLinkVeId,
actions:["impression","pcw-click"],componentId:"peoplekitweb"});a.eventHandler.listen(h,"click",function(){h.dispatchEvent(Mq(h))});f.subscribeToAction(function(k){2===k&&(f.dispose(),d&&d.focus())})};uyc.prototype.getActionItems=function(){return this.groupingHeaderActionItems};uyc.prototype.dispose=function(){this.eventHandler.removeAll();Y0.prototype.dispose.call(this)};var Y$a=function(a,b){this.root=a;this.header=b};g=Y$a.prototype;g.getHeader=function(){return this.header};g.getActionItems=function(){return[]};g.dispose=function(){};g.getRoot=function(){return this.root};g.activate=function(){};g.deactivate=function(){};g.spotlight=function(){};g.unspotlight=function(){};g.getSelection=function(){throw Error("Ne");};g.toggleSelection=function(){};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};var X$a=function(a){var b=Zq;var c=a.id;a=a.header;c=Zq('<div class="'+br("peoplekitComponentsGroupingHeaderGroupingHeader")+'" id="'+br(c)+'" peoplekit-id="'+br("XLuqBd")+'" role="menu"><div class="'+br("peoplekitComponentsGroupingHeaderGroupingHeaderRow")+'"><div class="'+br("peoplekitComponentsGroupingHeaderHeader")+'">'+cr(a)+'</div><div class="'+br("peoplekitComponentsGroupingHeaderAction")+'"><div class="'+br("peoplekitComponentsGroupingHeaderActionRow")+'"><div class="'+br("peoplekitComponentsGroupingHeaderLeft")+
'" peoplekit-id="'+br("xiK4Cd")+'"></div><div class="'+br("peoplekitComponentsGroupingHeaderRight")+'" peoplekit-id="'+br("QChpEe")+'"></div></div></div></div></div>');return b(c)};var vyc=function(a){this.delegate=a};Y(vyc,Y0);vyc.prototype.spotlight=function(){var a=this.getActionItems();a.length&&(this.activeActionItemIndex=0,a[this.activeActionItemIndex].focus())};vyc.prototype.unspotlight=function(){void 0!==this.activeActionItemIndex&&(this.getActionItems()[this.activeActionItemIndex].unfocus(),this.activeActionItemIndex=void 0)};
vyc.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 Z0=function(a){this.delegate=a};g=Z0.prototype;g.append=function(a){this.delegate.append(a)};g.isInteractive=function(){return this.delegate.isInteractive()};g.getGroupName=function(){return this.delegate.getGroupName()};g.getHeader=function(){return this.delegate.getHeader()};g.getItems=function(){return this.delegate.getItems()};g.getRoot=function(){return this.delegate.getRoot()};g.dispose=function(){this.delegate.dispose()};var zr=function(a,b){this.delegate=a;var c=this;this.listContainer=Xq(this.getRoot(),"tjneg");a=a.getHeader();if(!a)throw Error("Se");this.collapsibleHeader=$$a(a,b.isInitiallyCollapsed,function(d){c.interactionListener(d)});Xq(this.collapsibleHeader.getRoot(),"wgPSWd").setAttribute("aria-controls",this.listContainer.id);b.isInitiallyCollapsed&&this.listContainer.classList.add("collapsed")};Y(zr,Z0);zr.prototype.isInteractive=function(){return!0};zr.prototype.getHeader=function(){return this.collapsibleHeader};
zr.prototype.dispose=function(){this.collapsibleHeader.dispose();Z0.prototype.dispose.call(this)};zr.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 yr=function(a,b,c){this.delegate=a;a=a.getHeader();if(!a)throw Error("Te");var d={};1===b.infoType&&(d={infoIconVeId:185198,learnMoreLinkVeId:185199});this.infoHeader=new uyc(a,b,c,d)};Y(yr,Z0);yr.prototype.isInteractive=function(){return!0};yr.prototype.getHeader=function(){return this.infoHeader};yr.prototype.dispose=function(){this.infoHeader.dispose();Z0.prototype.dispose.call(this)};var xr=function(a,b){this.delegate=a;this.groupName=b;this.header=Z$a(b);Xq(a.getRoot(),"Bm3u4d").appendChild(this.header.getRoot())};Y(xr,Z0);xr.prototype.getGroupName=function(){return this.groupName};xr.prototype.getHeader=function(){return this.header};xr.prototype.dispose=function(){this.header.dispose();Z0.prototype.dispose.call(this)};var wyc=function(a){this.root=a;this.items=[];this.list=a9a(Xq(a,"tjneg"))};g=wyc.prototype;g.append=function(a){this.items.push(a);this.list.append(a.getRoot())};g.isInteractive=function(){return!1};g.getGroupName=function(){return""};g.getHeader=function(){};g.getItems=function(){return this.items};g.getRoot=function(){return this.root};g.dispose=function(){for(var a=l(this.items),b=a.next();!b.done;b=a.next())b.value.dispose();this.list.clear();this.items=[]};var xyc=function(a,b,c){this.delegate=a;var d=this;this.resultListGroupConfig=b;this.navigatable=c;this.listContainer=Xq(this.getRoot(),"tjneg");var e,f;this.isCollapsed=null!=(f=null==(e=this.resultListGroupConfig.collapsibleGroupConfig)?void 0:e.isInitiallyCollapsed)?f:!1;(this.header=a.getHeader())&&this.header.getActionItems().length&&(this.header=new vyc(this.header),this.navigatable.insert(this.navigatable.size(),[this.header],!1));this.mutationObserver=new MutationObserver(function(h){d.onMutation(h)});
this.mutationObserver.observe(this.listContainer,{attributes:!0})};Y(xyc,Z0);g=xyc.prototype;g.append=function(a){this.isCollapsed||this.navigatable.insert(this.navigatable.size(),[a],!1);Z0.prototype.append.call(this,a)};g.getHeader=function(){return this.header};g.dispose=function(){this.mutationObserver.disconnect();Z0.prototype.dispose.call(this)};g.getItems=function(){return this.isCollapsed?[]:Z0.prototype.getItems.call(this)};
g.onMutation=function(a){if(this.header){a=l(a);for(var b=a.next();!b.done;b=a.next())b=b.value,"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),e9a(this.getRoot())))}};var yyc=function(a){var b=a.listId;return Zq('<div id="'+br(a.id)+'" peoplekit-id="'+br("E9WxSb")+'" role="group"><div peoplekit-id="'+br("Bm3u4d")+'"></div><div id="'+br(b)+'" role="region" class="'+br("peoplekitComponentsResultListGroupListContainer")+'" peoplekit-id="'+br("tjneg")+'"></div></div>')};var kab=function(a,b,c,d,e,f,h,k){this.list=a;this.resultConfig=b;this.appearanceConfig=c;this.clientConfig=d;this.selectionsState=e;this.interactions=f;this.grouping=h;this.ariaParent=k;this.groups=new Map;this.navigatable=new rwc(new o9a([]));this.list.getRoot().removeAttribute("role")};g=kab.prototype;
g.append=function(a,b){a=l(a);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=this.grouping.getGroupId(d);var e=this.groups.get(c);d=W$a(d,b,this.selectionsState,this.resultConfig,this.appearanceConfig,this.clientConfig,DR(this.list.getRoot()),this.interactions,this.ariaParent);if(c&&!e){e=this.grouping;var f=this.navigatable,h=this.appearanceConfig,k=[aab,cab,dab],q=Gq(Oq.getInstance()),t=Gq(Oq.getInstance());t=fp(yyc,{id:q,listId:t});q=bab();t=new wyc(t);k=l(k);for(var w=k.next();!w.done;w=
k.next())w=w.value,t=w(t,e,c,h);e=new xyc(t,q,f);this.groups.set(c,e);this.list.append(e.getRoot())}e.append(d)}};g.clear=function(){this.list.clear();this.navigatable.clear();for(var a=l(this.groups.values()),b=a.next();!b.done;b=a.next())b.value.dispose();this.groups.clear()};g.reset=function(a){this.navigatable.reset();this.grouping.reset(a)};g.getNavigatable=function(){return this.navigatable};
g.getResultListItems=function(){for(var a=[],b=l(this.groups.values()),c=b.next();!c.done;c=b.next())a.push.apply(a,u(c.value.getItems()));return a};var hab=function(a,b,c){this.delegate=a;this.list=b;this.grouping=c;this.renderedGroups=new Set};g=hab.prototype;g.append=function(a,b){a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.grouping.getGroupId(c);if(d&&!this.renderedGroups.has(d)){var e=this.grouping.getGroupName(d);if(e&&(e=Z$a(e),this.list.append(e.getRoot()),e.getActionItems().length)){var f=this.getNavigatable();f.insert(f.size(),[e],!1)}this.renderedGroups.add(d)}this.delegate.append([c],b)}};
g.clear=function(){this.renderedGroups.clear();this.delegate.clear()};g.reset=function(a){this.grouping.reset(a);this.renderedGroups.clear();this.delegate.reset(a)};g.getNavigatable=function(){return this.delegate.getNavigatable()};g.getResultListItems=function(){return this.delegate.getResultListItems()};var iab=function(a,b){this.delegate=a;this.interactions=b};g=iab.prototype;g.append=function(a,b){a=l(a);for(var c=a.next();!c.done;c=a.next())c=c.value,this.delegate.append([c],b),this.interactions.display(c)};g.clear=function(){this.delegate.clear()};g.reset=function(a){this.delegate.reset(a)};g.getNavigatable=function(){return this.delegate.getNavigatable()};g.getResultListItems=function(){return this.delegate.getResultListItems()};var eab=function(a){a=a.header;var b=Zq,c='<div peoplekit-id="'+br("aittld")+'">';if(null==a)throw Error("Ld");return b(c+(0<a.length?'<div class="'+br("peoplekitUiResultlistHeader")+'">'+cr(a)+"</div>":"")+'<div peoplekit-id="'+br("tjneg")+'"></div></div>')};var Nab=function(a){this.label=a};Nab.prototype.getGroupId=function(a){return a.getTargetList().some(function(b){return 2!==b.getDataSource()})?"non_directory":"directory"};Nab.prototype.getGroupName=function(a){switch(a){case "directory":return this.label;case "non_directory":return"";default:return a}};var bab=function(){throw Error("Ue");};Nab.prototype.reset=function(){};var Oab=function(a){this.label=a};Oab.prototype.getGroupId=function(a){return 7!==a.getResultType()?"suggestions":"non_suggestions"};Oab.prototype.getGroupName=function(a){switch(a){case "suggestions":return this.label;case "non_suggestions":return"";default:return a}};Oab.prototype.reset=function(){};var zyc=function(a){this.delegate=a};g=zyc.prototype;g.search=function(a,b,c,d){this.delegate.search(a,b,c,d)};g.attach=function(){this.delegate.attach()};g.detach=function(){this.delegate.detach()};g.isShown=function(){return this.delegate.isShown()};g.onKeyDown=function(a){this.delegate.onKeyDown(a)};g.dispose=function(){this.delegate.dispose()};g.getNavigatable=function(){return this.delegate.getNavigatable()};g.getRoot=function(){return this.delegate.getRoot()};var Hr=function(a,b,c,d,e,f){this.delegate=a;var h=this;this.peopleStore=b;this.clientConfig=d;this.autocompleteConfig=e;this.navigationInput=f;this.navigatable=this.getNavigatable();this.previouslyActiveElement=null;this.hideListener=function(k){return Ayc(h,k)};this.unhideListener=function(k){return Byc(h,k)};this.onContextMenuDisposedListener=function(k){if(h.navigationInput!==document.activeElement){var q;null==(q=h.navigatable.getItem(k))||q.deactivate();h.navigatable.reset()}};this.saveActiveElement=
function(){h.previouslyActiveElement=document.activeElement};this.onDialogDisposedListener=function(k){h.navigationInput===h.previouslyActiveElement&&(k=h.navigatable.getItem(k))&&h.navigatable.goToItem(k,0);var q;null==(q=h.previouslyActiveElement)||q.focus();h.previouslyActiveElement=null};this.hide=c.getHide();this.dispatcher=this.clientConfig.injectorService.actionEventDispatcher;this.dispatcher.subscribe(1,this.hideListener);this.dispatcher.subscribe(4,this.unhideListener);this.dispatcher.subscribe(7,
this.onContextMenuDisposedListener);this.dispatcher.subscribe(8,this.saveActiveElement);this.dispatcher.subscribe(9,this.onDialogDisposedListener)};Y(Hr,zyc);Hr.prototype.search=function(a,b,c,d){this.currentSearchState={query:a,anchor:b,showSuggestions:c,listener:d};zyc.prototype.search.call(this,a,b,c,d)};
Hr.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);zyc.prototype.dispose.call(this)};
var Ayc=function(a,b){return qe(function(c){switch(c.nextAddress){case 1:return re(c,2),c.yield(a.hide.hideResults(b),4);case 4:return c.yield(a.refreshResults(),5);case 5:tt(c,0);break;case 2:ve(c),Cyc(a),we(c)}})},Byc=function(a,b){return qe(function(c){switch(c.nextAddress){case 1:return re(c,2),c.yield(a.hide.unhideResults(b),4);case 4:return c.yield(a.refreshResults(),5);case 5:tt(c,0);break;case 2:ve(c),Dyc(a),we(c)}})};
Hr.prototype.refreshResults=function(){var a=this;return qe(function(b){if(1==b.nextAddress)return a.getRoot().classList.add("isLoading"),a.peopleStore.flushCache(2),b.yield(a.peopleStore.warmUpCache(),2);a.currentSearchState?zyc.prototype.search.call(a,a.currentSearchState.query,a.currentSearchState.anchor,a.currentSearchState.showSuggestions,a.currentSearchState.listener):a.getRoot().classList.remove("isLoading");we(b)})};
var Cyc=function(a){a.hideErrorDialog=Q9a(a.getRoot(),a.autocompleteConfig);a.hideErrorDialog.subscribeToAction(function(){var b;null==(b=a.hideErrorDialog)||b.dispose()})},Dyc=function(a){a.unhideErrorDialog=S9a(a.getRoot(),a.autocompleteConfig);a.unhideErrorDialog.subscribeToAction(function(){var b;null==(b=a.unhideErrorDialog)||b.dispose()})};var Eyc=function(a,b){Pq.call(this,a,b)};Y(Eyc,Pq);Eyc.prototype.onKeyDown=function(a){if(9===a.event.keyCode){var b=this.getSpotlitItem();if(b){b=b.getRoot();var c=this.ariaParent;var d=G1b(c,"activedescendant");c=gB(c).getElementById(d);(d=b.querySelector('[id="'+(b.id+'-2ab"]')))?SE(this.ariaParent,c===d?b:d):mab(b)&&(b=Array.from(b.querySelectorAll('[class~="TdcT2c"]')),c=c?b.indexOf(c):-1,-1!==c&&SE(this.ariaParent,b[(c+1)%b.length]))}}Pq.prototype.onKeyDown.call(this,a)};
Eyc.prototype.next=function(a){a=Pq.prototype.next.call(this,a);var b=this.getSpotlitItem();b&&(b=b.getRoot(),mab(b)&&Fyc(this,b));return a};Eyc.prototype.prev=function(a){a=Pq.prototype.prev.call(this,a);var b=this.getSpotlitItem();b&&(b=b.getRoot(),mab(b)&&Fyc(this,b));return a};var Fyc=function(a,b){(b=b.querySelector('[class~="TdcT2c"]'))&&SE(a.ariaParent,b)};var Vab=function(a,b,c,d,e,f,h,k){this.root=a;this.navigationInput=b;this.resultList=c;this.session=d;this.health=e;this.config=f;this.noResultsMessage=h;this.clientConfig=k;this.attached=!1;this.resultsLoadingCompleteListeners=[];this.navigatable=new Eyc(this.navigationInput,this.resultList.getNavigatable());this.navigatable.setSecondaryEventTargets([this]);this.navigationEventHandler=r9a({getPrevKeyCode:function(){return 38},getNextKeyCode:function(){return 40}},{shouldReactToHomeEnd:!1});this.eventHandler=
Lq(this);Fq(this.root,0)};g=Vab.prototype;g.search=function(a,b,c,d){var e=this;this.resultList.reset(a);this.resultList.clear();this.root.classList.remove("noResults");this.root.classList.add("isLoading");Fq(this.root,1);if(a){var f=Gyc(this.health);f.start();this.session.search(a,function(k){e.update(k,d,f,!0)})}else if(c){var h=Gyc(this.health);h.start();this.session.suggest(function(k){e.update(k,d,h,!1)})}};
g.attach=function(){var a=this;this.attached||(this.attached=!0,this.navigationEventHandler.attach(this.navigationInput,this.navigatable),this.eventHandler.listen(this.root,"mousedown",function(b){b.preventDefault();b.stopPropagation()}),Hi(this.clientConfig.internal,9,!1)&&this.eventHandler.listen(this.root,"contextmenu",function(b){var c=a.navigatable.getItem(b.target);c&&(a.navigatable.getSpotlitItem()!==c&&a.navigatable.goToItem(c,0),a.navigatable.onContextMenu(new O0(b),function(){}))}))};
g.detach=function(){this.attached=!1;this.navigatable.reset();this.navigationEventHandler.detach();this.eventHandler.removeAll();this.session.cancel();Fq(this.root,0)};g.isShown=function(){return!0};g.dispose=function(){this.detach();this.root.parentNode&&this.root.parentNode.removeChild(this.root)};
g.update=function(a,b,c,d){var e=a.getResults();a=a.getMetadata();this.root.classList.remove("isLoading");var f=a.getQuery();this.resultList.append(e,{query:f});e=this.resultList.getResultListItems();this.attach();var h=!1;0<e.length||this.navigatable.size()?(h=!0,this.root.classList.remove("noResults")):a.getIsLastCallback()&&(h=this.noResultsMessage.update({query:f}),this.root.classList.add("noResults"));b({count:e.length,hasContent:h});Hi(this.clientConfig.internal,7,!1)&&document.activeElement!==
this.navigationInput||(d&&this.config.getAutoActivateFirstSearchResult()||!d&&this.config.getAutoActivateFirstSuggestion())&&!this.navigatable.getSpotlitItem()&&(e.length?this.navigatable.goToItem(e[0],0):this.navigatable.size()&&this.navigatable.goToIndex(0,0));if(a.getIsLastCallback())for(Fq(this.root,0===a.getCode()?2:3,a.getCode()),b={query:f,resultCount:e.length},d=l(this.resultsLoadingCompleteListeners),a=d.next();!a.done;a=d.next())a=a.value,a(b);else Fq(this.root,4);c.stop()};
g.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=l(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()))};
g.getNavigatable=function(){return this.navigatable};g.getRoot=function(){return this.root};var Mab=function(){var a=Zq,b='<div class="'+br("peoplekitComponentsAutocompleteInlineContainer")+'" peoplekit-id="'+br("yDHfq")+'"><div class="'+br("peoplekitComponentsAutocompleteInlineListContainer")+'">';var c=oR('<div peoplekit-id="'+br("tjneg")+'"></div>');c=Zq('<div tabindex="-1" class="'+br("peoplekitComponentsScrollboxScrollbar")+'" peoplekit-id="'+br("I8ejUe")+'">'+cr(c)+"</div>");b=b+c+'</div><div class="'+br("peoplekitComponentsAutocompleteInlineCircularProgress")+'">';c='<div class="'+
br("peoplekitComponentsCircularprogressCircularProgress")+(" "+br("isActive"))+'" data-loadingmessage="'+br("Loading...")+'" data-active="true"><div class="'+br("peoplekitComponentsCircularprogressMessageContainer")+'" aria-live="polite" jsname="'+br("vyyg5")+'">'+cr("Loading...")+'</div><div class="'+br("peoplekitComponentsCircularprogressCircularProgressContainer")+'"><div class="'+br("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+br("peoplekitComponentsCircularprogressColorOne")+
" "+br("exportColorOne")+'"><div class="'+br("peoplekitComponentsCircularprogressCircleClipper")+" "+br("peoplekitComponentsCircularprogressLeft")+'"><div class="'+br("peoplekitComponentsCircularprogressCircle")+" "+br("exportCircle")+'"></div></div><div class="'+br("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+br("peoplekitComponentsCircularprogressCircle")+" "+br("exportCircle")+'"></div></div><div class="'+br("peoplekitComponentsCircularprogressCircleClipper")+" "+br("peoplekitComponentsCircularprogressRight")+
'"><div class="'+br("peoplekitComponentsCircularprogressCircle")+" "+br("exportCircle")+'"></div></div></div><div class="'+br("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+br("peoplekitComponentsCircularprogressColorTwo")+" "+br("exportColorTwo")+'"><div class="'+br("peoplekitComponentsCircularprogressCircleClipper")+" "+br("peoplekitComponentsCircularprogressLeft")+'"><div class="'+br("peoplekitComponentsCircularprogressCircle")+" "+br("exportCircle")+'"></div></div><div class="'+
br("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+br("peoplekitComponentsCircularprogressCircle")+" "+br("exportCircle")+'"></div></div><div class="'+br("peoplekitComponentsCircularprogressCircleClipper")+" "+br("peoplekitComponentsCircularprogressRight")+'"><div class="'+br("peoplekitComponentsCircularprogressCircle")+" "+br("exportCircle")+'"></div></div></div><div class="'+br("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+br("peoplekitComponentsCircularprogressColorThree")+
" "+br("exportColorThree")+'"><div class="'+br("peoplekitComponentsCircularprogressCircleClipper")+" "+br("peoplekitComponentsCircularprogressLeft")+'"><div class="'+br("peoplekitComponentsCircularprogressCircle")+" "+br("exportCircle")+'"></div></div><div class="'+br("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+br("peoplekitComponentsCircularprogressCircle")+" "+br("exportCircle")+'"></div></div><div class="'+br("peoplekitComponentsCircularprogressCircleClipper")+" "+br("peoplekitComponentsCircularprogressRight")+
'"><div class="'+br("peoplekitComponentsCircularprogressCircle")+" "+br("exportCircle")+'"></div></div></div><div class="'+br("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+br("peoplekitComponentsCircularprogressColorFour")+" "+br("exportColorFour")+'"><div class="'+br("peoplekitComponentsCircularprogressCircleClipper")+" "+br("peoplekitComponentsCircularprogressLeft")+'"><div class="'+br("peoplekitComponentsCircularprogressCircle")+" "+br("exportCircle")+'"></div></div><div class="'+
br("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+br("peoplekitComponentsCircularprogressCircle")+" "+br("exportCircle")+'"></div></div><div class="'+br("peoplekitComponentsCircularprogressCircleClipper")+" "+br("peoplekitComponentsCircularprogressRight")+'"><div class="'+br("peoplekitComponentsCircularprogressCircle")+" "+br("exportCircle")+'"></div></div></div></div></div>';c=Zq(c);return a(b+c+"</div></div>")},Pab=function(){return Zq('<div class="'+br("peoplekitComponentsAutocompleteInlineNoResultsContainer")+
'"></div>')};var Rab=function(a){a=a||{};var b=a.primaryMessage,c=a.contextMessage,d=a.learnMoreUrl,e=a.urlText;a=a.jsname;a='<div class="'+br("peoplekitComponentsNoResultsMessageNoResultsMessage")+'"'+(a?' jsname="'+br(a)+'"':"")+'><p class="'+br("peoplekitComponentsNoResultsMessageHeader")+'">';a=b?a+cr(b):a+"No results";a+="</p>";if(c||d)a+='<p class="'+br("peoplekitComponentsNoResultsMessageExplanation")+'">'+(c?cr(c)+(d?" ":""):""),d&&(a+='<a jsname="'+br("viORvd")+'" class="'+br("peoplekitComponentsNoResultsMessageLearnMoreLink")+
'" target="_blank" href="'+br(qR(d))+'">',a=e?a+cr(e):a+"Learn more",a+="</a>"),a+="</p>";return Zq(a+"</div>")};var Qab=function(a,b){this.parent=a;this.config=b};Qab.prototype.update=function(a){this.root&&this.root.remove();a=this.config.display(a);if(!a)return!1;this.root=fp(Rab,a);this.parent.appendChild(this.root);return!0};var Uab=function(){};Uab.prototype.update=function(){return!1};var Sab=function(){};Sab.prototype.update=function(){return!0};var Wab=function(a,b,c,d,e){var f=this;this.root=a;this.navigationInput=b;this.inlineAutocomplete=c;this.selectionsState=d;this.config=e;this.lastShowTime=0;this.popup=B9a(this.root,{moveAboveAnchorIfOffscreen:this.config.getMoveAutocompleteAboveAnchorIfOffscreen()});this.inlineAutocomplete.getNavigatable().setSecondaryEventTargets([this.inlineAutocomplete,this]);this.eventHandler=Lq(this);this.onSelectionCallback=function(){f.onSelect()};this.onSelectionAttemptedCallback=function(){f.hide()};this.attach()};
g=Wab.prototype;g.search=function(a,b,c,d){var e=this;this.hide();this.inlineAutocomplete.search(a,b,c,function(f){e.anchor=b;e.update(f);d(f)})};g.attach=function(){var a=this;Vxc(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())})};g.onSelect=function(){this.hide()};
g.onKeyDown=function(a){this.isShown()&&27===a.event.keyCode&&(this.hide(),a.preventDefault(),a.stopPropagation())};g.detach=function(){this.hide()};g.isShown=function(){return this.popup.isShown()};g.dispose=function(){this.detach();this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback);this.selectionsState.selectionAttemptedCallbacks.remove(this.onSelectionAttemptedCallback);this.eventHandler.removeAll();this.inlineAutocomplete.dispose();this.root.parentNode&&this.root.parentNode.removeChild(this.root)};
g.getNavigatable=function(){return this.inlineAutocomplete.getNavigatable()};g.getRoot=function(){return this.root};g.update=function(a){a.hasContent&&this.show()};
g.show=function(){this.navigationInput.setAttribute("aria-expanded","true");this.lastShowTime=Date.now();var a=this.navigationInput.clientWidth;a:{var b=this.config.getDensity();switch(b){case 0:b=300;break a;case 1:b=300;break a;case 2:b=240;break a;default:throw Error("Fe`"+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("Fe`"+c);}}this.root.style.width=AR(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("Fe`"+a);}this.root.style.maxHeight=this.config.getAutocompleteMaxResultsBeforeScroll()*a+"px";this.root.style.minHeight=a+"px";this.popup.show(this.anchor)};g.hide=function(){this.popup.hide();this.navigationInput.setAttribute("aria-expanded","false");this.inlineAutocomplete.detach()};var Lab=function(){return Zq('<div class="'+br("peoplekitComponentsAutocompletePopupContainer")+'" peoplekit-id="'+br("noeiCf")+'" style="display: none;"></div>')};var Hyc=function(){this.batches=new Map};Hyc.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 nab=function(a,b){this.service=a;this.resolveComponents=b};
nab.prototype.update=function(a){var b=this;a=l([].concat(u(a.batches.values())));for(var c=a.next();!c.done;c=a.next()){var d=c.value;if(d.features.length){c=this.service.for(d.ids);d=l(d.features);for(var e=d.next();!e.done;e=d.next())switch(e.value){case 1:c=c.withWaldo(function(f){Iyc(b,f.values,function(h,k,q){q.updateWaldo(k,h)})});break;case 2:c=c.withHubAvailabilityDot(function(f){Iyc(b,f.values,function(h,k,q){q.updateHubAvailabilityDot(k,h)})})}c.execute()}}};
var Iyc=function(a,b,c){b=l(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;for(var e=d.getLookupId(),f=l(a.resolveComponents(e)),h=f.next();!h.done;h=f.next())c(e,d,h.value)}};var Jyc=new Set([1,3,20]),Kyc=function(a){var b=this;this.idToComponent=new Map;this.updater=oab(a,function(c){return b.resolveComponents(c)})};g=Kyc.prototype;
g.append=function(a){var b=a.filter(function(f){return f.getAllIds().some(function(h){return Jyc.has(h.getType())})});a=[];b=l(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;c.initializeIntelligence();for(var d=l(c.getAllIds()),e=d.next();!e.done;e=d.next())e=e.value,a.push(e),e=String(e),this.idToComponent.has(e)||this.idToComponent.set(e,[]),this.idToComponent.get(e).push(c)}this.refresh(a)};
g.remove=function(a){a=l(a);for(var b=a.next(),c={};!b.done;c={component$jscomp$93:c.component$jscomp$93},b=a.next()){c.component$jscomp$93=b.value;b=l(c.component$jscomp$93.getAllIds());for(var d=b.next();!d.done;d=b.next()){d=String(d.value);var e=this.idToComponent.get(d);e&&this.idToComponent.set(d,e.filter(function(f){return function(h){return h!==f.component$jscomp$93}}(c)))}}};g.resolveComponents=function(a){return this.idToComponent.get(String(a))||[]};
g.refresh=function(a){var b=new Hyc;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.resolveComponents(c);d=l(d);for(var e=d.next();!e.done;e=d.next())b.add(c,e.value.getSupportedIntelligenceFeatures())}this.updater.update(b)};g.clear=function(){this.idToComponent.clear()};var Lyc=function(){};Lyc.prototype.append=function(){};Lyc.prototype.remove=function(){};Lyc.prototype.refresh=function(){};Lyc.prototype.clear=function(){};var Kab=function(a){this.peopleIntelligence=a};Kab.prototype.create=function(){return this.peopleIntelligence?new Kyc(this.peopleIntelligence):new Lyc};var Myc=function(){this.label="";this.type=0};g=Myc.prototype;g.getAutocompleteGroupingType=function(){return this.type};g.setAutocompleteGroupingType=function(a){this.type=a};g.getAutocompleteGroupingLabel=function(){return this.label};g.setAutocompleteGroupingLabel=function(a){this.label=a};g.getAutocompleteCustomGrouping=function(){return this.customGrouping};var Nyc=function(){this.decorationConfigRequest=function(){};this.resultCustomizationCallback=function(){return{}}};g=Nyc.prototype;g.getAllowResultDeselection=function(){return!1};g.getWarnForExternalSelections=function(){return!1};g.getResultDecorationConfigRequestCallback=function(){return this.decorationConfigRequest};g.getResultCustomizationCallback=function(){return this.resultCustomizationCallback};g.setResultCustomizationCallback=function(a){this.resultCustomizationCallback=a};var Oyc=function(a){this.header="";this.showSuggestions=!1;this.autoActivateFirstSuggestion=!0;this.maxResultsBeforeScroll=7;this.moveAutocompleteAboveAnchorIfOffscreen=!0;this.entryPoint=0;this.noResultsMessage=null;this.autoActivateFirstSearchResult=!0;this.clearSelectionsOnSearch=!1;this.environmentConfig=a;this.grouping=new Myc;this.result=new Nyc;this.appearance=new $q};g=Oyc.prototype;g.getEnvironmentConfig=function(){return this.environmentConfig};g.getAutocompleteHeader=function(){return this.header};
g.setAutocompleteHeader=function(a){this.header=a};g.getShowSuggestions=function(){return this.showSuggestions};g.setShowSuggestions=function(a){this.showSuggestions=a};g.getAutocompleteMaxResultsBeforeScroll=function(){return this.maxResultsBeforeScroll};g.setAutocompleteMaxResultsBeforeScroll=function(a){this.maxResultsBeforeScroll=Math.max(Math.min(20,a),3)};g.getMoveAutocompleteAboveAnchorIfOffscreen=function(){return this.moveAutocompleteAboveAnchorIfOffscreen};
g.setMoveAutocompleteAboveAnchorIfOffscreen=function(a){this.moveAutocompleteAboveAnchorIfOffscreen=a};g.getAutoActivateFirstSuggestion=function(){return this.autoActivateFirstSuggestion};g.setAutoActivateFirstSuggestion=function(a){this.autoActivateFirstSuggestion=a};g.getAutoActivateFirstSearchResult=function(){return this.autoActivateFirstSearchResult};g.setAutoActivateFirstSearchResult=function(a){this.autoActivateFirstSearchResult=a};g.setEntryPoint=function(a){this.entryPoint=a};
g.getEntryPoint=function(){return this.entryPoint};g.getNoResultsMessage=function(){return this.noResultsMessage};g.setNoResultsMessage=function(a){this.noResultsMessage=a};g.getUseTabForResultSelection=function(){return!0};g.getClearSelectionsOnSearch=function(){return this.clearSelectionsOnSearch};g.setClearSelectionsOnSearch=function(a){this.clearSelectionsOnSearch=a};g.getAutocompleteGroupingType=function(){return this.grouping.getAutocompleteGroupingType()};g.setAutocompleteGroupingType=function(a){this.grouping.setAutocompleteGroupingType(a)};
g.getAutocompleteGroupingLabel=function(){return this.grouping.getAutocompleteGroupingLabel()};g.setAutocompleteGroupingLabel=function(a){this.grouping.setAutocompleteGroupingLabel(a)};g.getAutocompleteCustomGrouping=function(){return this.grouping.getAutocompleteCustomGrouping()};g.getAllowResultDeselection=function(){return this.result.getAllowResultDeselection()};g.getWarnForExternalSelections=function(){return this.result.getWarnForExternalSelections()};
g.getResultDecorationConfigRequestCallback=function(){return this.result.getResultDecorationConfigRequestCallback()};g.getResultCustomizationCallback=function(){return this.result.getResultCustomizationCallback()};g.setResultCustomizationCallback=function(a){this.result.setResultCustomizationCallback(a)};g.getDensity=function(){return this.appearance.getDensity()};g.setDensity=function(a){this.appearance.setDensity(a)};g.getTheme=function(){return this.appearance.getTheme()};g.setTheme=function(a){this.appearance.setTheme(a)};var Pyc=function(a){this.environmentConfig=a;this.autocomplete=new Oyc(a);this.autocomplete.setClearSelectionsOnSearch(!0)};g=Pyc.prototype;g.getEnvironmentConfig=function(){return this.environmentConfig};g.getAutocompleteHeader=function(){return this.autocomplete.getAutocompleteHeader()};g.setAutocompleteHeader=function(a){this.autocomplete.setAutocompleteHeader(a)};g.getShowSuggestions=function(){return this.autocomplete.getShowSuggestions()};g.setShowSuggestions=function(a){this.autocomplete.setShowSuggestions(a)};
g.getAutocompleteMaxResultsBeforeScroll=function(){return this.autocomplete.getAutocompleteMaxResultsBeforeScroll()};g.setAutocompleteMaxResultsBeforeScroll=function(a){this.autocomplete.setAutocompleteMaxResultsBeforeScroll(a)};g.getMoveAutocompleteAboveAnchorIfOffscreen=function(){return this.autocomplete.getMoveAutocompleteAboveAnchorIfOffscreen()};g.setMoveAutocompleteAboveAnchorIfOffscreen=function(a){this.autocomplete.setMoveAutocompleteAboveAnchorIfOffscreen(a)};
g.getAutoActivateFirstSuggestion=function(){return this.autocomplete.getAutoActivateFirstSuggestion()};g.setAutoActivateFirstSuggestion=function(a){this.autocomplete.setAutoActivateFirstSuggestion(a)};g.getAutoActivateFirstSearchResult=function(){return this.autocomplete.getAutoActivateFirstSearchResult()};g.setAutoActivateFirstSearchResult=function(a){this.autocomplete.setAutoActivateFirstSearchResult(a)};g.setEntryPoint=function(a){this.autocomplete.setEntryPoint(a)};g.getEntryPoint=function(){return this.autocomplete.getEntryPoint()};
g.getNoResultsMessage=function(){return this.autocomplete.getNoResultsMessage()};g.setNoResultsMessage=function(a){this.autocomplete.setNoResultsMessage(a)};g.getUseTabForResultSelection=function(){return this.autocomplete.getUseTabForResultSelection()};g.getClearSelectionsOnSearch=function(){return this.autocomplete.getClearSelectionsOnSearch()};g.setClearSelectionsOnSearch=function(a){this.autocomplete.setClearSelectionsOnSearch(a)};g.getAutocompleteGroupingType=function(){return this.autocomplete.getAutocompleteGroupingType()};
g.setAutocompleteGroupingType=function(a){this.autocomplete.setAutocompleteGroupingType(a)};g.getAutocompleteGroupingLabel=function(){return this.autocomplete.getAutocompleteGroupingLabel()};g.setAutocompleteGroupingLabel=function(a){this.autocomplete.setAutocompleteGroupingLabel(a)};g.getAutocompleteCustomGrouping=function(){return this.autocomplete.getAutocompleteCustomGrouping()};g.getAllowResultDeselection=function(){return this.autocomplete.getAllowResultDeselection()};
g.getWarnForExternalSelections=function(){return this.autocomplete.getWarnForExternalSelections()};g.getResultDecorationConfigRequestCallback=function(){return this.autocomplete.getResultDecorationConfigRequestCallback()};g.getResultCustomizationCallback=function(){return this.autocomplete.getResultCustomizationCallback()};g.setResultCustomizationCallback=function(a){this.autocomplete.setResultCustomizationCallback(a)};g.getDensity=function(){return this.autocomplete.getDensity()};g.setDensity=function(a){this.autocomplete.setDensity(a)};
g.getTheme=function(){return this.autocomplete.getTheme()};g.setTheme=function(a){this.autocomplete.setTheme(a)};var Qyc=Object.freeze(new Map([[5,1]]));var Ryc=function(){this.entryPoint_=0};Ryc.prototype.getPeoplekitEntryPoint=function(){return this.entryPoint_};Ryc.prototype.setPeoplekitEntryPoint=function(a){this.entryPoint_=a;return this};Ryc.prototype.serialize=function(){return[this.entryPoint_].toString()};var Syc=Object.freeze(new Ryc);var Tyc=function(){this.originator_=0};Tyc.prototype.setOriginator=function(a){this.originator_=a;return this};Tyc.prototype.getOriginator=function(){return this.originator_};var Gab=function(a,b,c){var d=this;this.reporter=a.getReporter((new Ryc).setPeoplekitEntryPoint(c));Vxc(b,function(e,f,h){d.select(e,h)},0);Uxc(b,function(e,f,h){d.deselect(e,h)},0);Uyc(b,function(e,f,h,k){d.replace(e,k)})};g=Gab.prototype;g.display=function(a){this.reporter.reportDisplay(pab(a.getTargetList()))};g.select=function(a,b){if(!a.isPlaceholder())switch(b){case 1:case 12:case 5:this.reporter.reportSelect(Ar([a]),(new Tyc).setOriginator(Qyc.get(b)||0));break;case 6:this.reporter.reportExternalSelect(Ar([a]))}};
g.deselect=function(a,b){if(!a.isPlaceholder())switch(b){case 7:case 8:case 1:this.reporter.reportDeselect(Ar([a]))}};g.dismiss=function(a){this.reporter.reportDismiss(Ar(a))};g.save=function(a){this.reporter.reportSave(Ar(a))};g.send=function(a){this.reporter.reportSend(Ar(a))};g.replace=function(a,b){switch(b){case 5:case 6:this.select(a,b)}};var Vyc=function(){this.isBatchingInternal=!1;this.timerId=this.lastBatchTime=0};Vyc.prototype.call=function(a){var b=this;if(!this.isBatchingInternal){var c=Date.now(),d=c-this.lastBatchTime;this.lastBatchTime=c;this.isBatchingInternal=!0;this.timerId=cq(function(){b.isBatchingInternal=!1;a()},100<d?0:100)}};Vyc.prototype.cancel=function(){dq(this.timerId);this.isBatchingInternal=!1};var bbb=function(a,b,c,d,e,f){var h=this;this.root=a;this.autocomplete=b;this.selectionsState=c;this.interactions=d;this.tracker=e;this.config=f;this.selectionChangedListeners=[];this.selectionChangedAutoBatcher=new Vyc;Vxc(this.selectionsState,function(){Wyc(h,!1)});Uxc(this.selectionsState,function(){Wyc(h,!0)})};g=bbb.prototype;
g.search=function(a,b){this.config.getClearSelectionsOnSearch()&&this.selectionsState.clear();var c=!1;this.autocomplete.search(a,b,this.config.getShowSuggestions(),function(d){0<d.count&&!c&&(c=!0)})};g.select=function(a){this.selectionsState.select(a)};g.deselect=function(a){this.selectionsState.deselect(a)};g.isShown=function(){return this.autocomplete.isShown()};
g.report=function(a,b){b=void 0===b?[]:b;b=b.length?b:this.selectionsState.asArray();var c=this.interactions;switch(a){case 1:c.reporter.reportProceed(Ar(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(Ar(b))}};g.cancel=function(){this.autocomplete.detach()};
g.dispose=function(){this.tracker.stop();this.selectionChangedListeners.length=0;this.selectionsState.clear();this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.autocomplete.dispose()};
var etc=function(a,b){a.selectionChangedListeners.push({listener:b,listenToDeselections:!1})},Wyc=function(a,b){a.selectionChangedAutoBatcher.call(function(){for(var c=a.selectionsState.asArray(),d=l(a.selectionChangedListeners),e=d.next();!e.done;e=d.next()){var f=e.value;e=f.listener;f=f.listenToDeselections;b&&!f||e(c,b)}})};var Fab=function(a){a=a||{};a=a.classes;return Zq('<div peoplekit-id="'+br("nVhUhf")+'"'+(a?' class="'+br(a)+'"':"")+"></div>")};var Xyc=function(a){this.internalArray_=m(a)};Y(Xyc,n);g=Xyc.prototype;g.getClientId=function(){return Li(this,1,0)};g.setClientId=function(a){return hj(this,1,a)};g.getEntryPoint=function(){return Li(this,5,0)};g.setEntryPoint=function(a){return hj(this,5,a)};g.getSocialClient=function(){return vi(this,zQ,2)};g.setSocialClient=function(a){return ej(this,zQ,2,a)};g.setVersionName=function(a){return gj(this,3,a)};g.getBaselineCl=function(){return Ui(this,4)};
g.setBaselineCl=function(a){return nj(this,4,a)};g.hasBaselineCl=function(){return Ti(this,4)};g.getBaselineClOrUndefined=function(){return Zt(this,4)};g.getComponentFlow=function(){return Li(this,7,0)};g.setComponentFlow=function(a){return hj(this,7,a)};var Yyc=function(a){this.internalArray_=m(a)};Y(Yyc,n);var Zyc=function(a){this.internalArray_=m(a)};Y(Zyc,n);g=Zyc.prototype;g.getLabel=function(){return Li(this,1,0)};g.setLabel=function(a){return hj(this,1,a)};g.hasLabel=function(){return Ji(this,1)};g.getValue=function(){return Ui(this,2,1)};g.setValue=function(a){return nj(this,2,a)};g.hasValue=function(){return Ti(this,2)};var a1=function(a){this.internalArray_=m(a)};Y(a1,n);a1.prototype.getLabel=function(){return xi(this,1)};a1.prototype.setLabel=function(a){return gj(this,1,a)};a1.prototype.hasLabel=function(){return yi(this,1)};a1.prototype.getCause=function(){return xi(this,2)};var $yc=function(a){this.internalArray_=m(a)};Y($yc,n);g=$yc.prototype;g.getLabel=function(){return Li(this,1,0)};g.setLabel=function(a){return hj(this,1,a)};g.hasLabel=function(){return Ji(this,1)};g.setLatencyUsec=function(a){nj(this,2,a)};g.getCacheStatus=function(){return Li(this,3,0)};g.setCacheStatus=function(a){return hj(this,3,a)};var b1=function(a){this.internalArray_=m(a)};Y(b1,n);b1.prototype.getInterfaceType=function(){return Li(this,1,0)};b1.prototype.setInterfaceType=function(a){return hj(this,1,a)};var azc=function(a){this.internalArray_=m(a)};Y(azc,n);g=azc.prototype;g.getCount=function(){return vi(this,Zyc,3)};g.setCount=function(a){return ej(this,Zyc,3,a)};g.getLatency=function(){return vi(this,$yc,4)};g.setLatency=function(a){return ej(this,$yc,4,a)};g.getError=function(){return vi(this,a1,5)};g.setError=function(a){ej(this,a1,5,a)};g.hasError=function(){return Pi(this,a1,5)};var bzc=function(a){this.internalArray_=m(a)};Y(bzc,n);bzc.prototype.setElementIndex=function(a){dj(this,2,a)};bzc.repeatedFields_=[3];var c1=function(a){this.internalArray_=m(a)};Y(c1,n);c1.prototype.getClientInterface=function(){return vi(this,Xyc,3)};c1.prototype.setClientInterface=function(a){return ej(this,Xyc,3,a)};c1.prototype.getMetadata=function(){return vi(this,Yyc,4)};c1.prototype.setMetadata=function(a){ej(this,Yyc,4,a)};var Hab=function(a,b){this.entryPoint=b;this.logContext=Lcb(ns(new ps,"PeopleKit").setLogSource(624).setApplication(a.getSocialApplicationOrUndefined()).setEnvironment(0).setVersion("1.0").setBaselineCl(585752539).setEnableClearcut(a.getEnableClearcut()),nr.getExperimentIds());this.clientId=a.getClientId();this.componentFlow=a.getComponentFlow()};g=Hab.prototype;g.getLogContext=function(){return this.logContext};g.createCountMetric=function(){throw Error("Wa");};
g.createStatusMetric=function(){throw Error("Wa");};g.createLatencyMetric=function(a,b){b=b.source();a=(new c1).setClientInterface((new Xyc).setClientId(this.clientId).setSocialClient(a.getSocialClient()).setVersionName(this.getLogContext().getVersionOrUndefined()).setBaselineCl(this.getLogContext().getBaselineClOrUndefined()).setComponentFlow(this.componentFlow).setEntryPoint(this.entryPoint));return ej(a,azc,2,b)};g.createErrorMetric=function(){throw Error("Wa");};var czc=function(a,b){this.count=0;this.metrics=a;this.label="total";a=new azc;a=hj(a,1,4);var c=new b1;b=hj(c,2,2).setInterfaceType(b);this.dataEntry=ej(a,b1,2,b).setLatency((new $yc).setLabel(8));this.state=new LQ(this.dataEntry)};czc.prototype.start=function(){this.count=0;this.metrics.start(this.state,this.label)};
czc.prototype.stop=function(a){a=void 0===a?function(){}:a;this.metrics.stop(this.state,this.label);var b=MQ(this.state,this.label),c;null==(c=this.dataEntry.getLatency())||c.setLatencyUsec(b);a(b);var d;null!=(d=vi(this.dataEntry,b1,2))&&dj(d,3,this.count);this.metrics.latency(this.state);++this.count};var Jab=function(a,b){this.metrics=a;this.userInterfaceType=b};var Iab=function(a){this.trackers=a},Gyc=function(a){a=a.trackers;return new czc(a.metrics,a.userInterfaceType)};var d1=function(){this.itemsByPriority=[]};d1.prototype.add=function(a,b){this.itemsByPriority[b]||(this.itemsByPriority[b]=new Set);this.itemsByPriority[b].add(a)};d1.prototype.remove=function(a){for(var b=l(this.itemsByPriority),c=b.next();!c.done;c=b.next())(c=c.value)&&c.delete(a)};d1.prototype.asArray=function(){return this.itemsByPriority.flatMap(function(a){return[].concat(u(a))})};var Fr=function(){this.selectionCallbacks=new d1;this.deselectionCallbacks=new d1;this.selectionReplacedCallbacks=new d1;this.selectionAttemptedCallbacks=new d1;this.selectionsState=[]};
Fr.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 Br(a,b,c,this.selectionAttemptedCallbacks.asArray()),!1;0<=b?(this.selectionsState.splice(b,0,a),Br(a,b,c,this.selectionCallbacks.asArray())):(this.selectionsState.push(a),Br(a,this.selectionsState.length-1,c,this.selectionCallbacks.asArray()));return!0};
Fr.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),Br(a,d,b,this.deselectionCallbacks.asArray()))};Fr.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 Vxc=function(a,b,c){a.selectionCallbacks.add(b,void 0===c?2:c)},Uxc=function(a,b,c){a.deselectionCallbacks.add(b,void 0===c?2:c)},Uyc=function(a,b){a.selectionReplacedCallbacks.add(b,0)};g=Fr.prototype;g.get=function(a){var b=String(a);return this.selectionsState.find(function(c){return b===String(c.id())})};g.at=function(a){return this.selectionsState[a]};
g.replace=function(a,b,c){c=void 0===c?0:c;var d=String(a),e=this.selectionsState.findIndex(function(f){return d===String(f.id())});if(0>e||!a.equals(b.id())&&this.get(b.id()))return!1;this.selectionsState[e]=b;qab(b,e,a,c,this.selectionReplacedCallbacks.asArray());return!0};g.pop=function(a){a=void 0===a?0:a;var b=this.selectionsState.pop();if(b)return Br(b,this.selectionsState.length,a,this.deselectionCallbacks.asArray()),b};
g.indexOf=function(a){var b=String(a);return this.selectionsState.findIndex(function(c){return b===String(c.id())})};g.asArray=function(){return this.selectionsState.slice()};g.size=function(){return this.selectionsState.length};g.clear=function(){for(;0<this.selectionsState.length;)this.deselect(this.selectionsState[0])};for(var dzc={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"}},rab=vab(dzc),ezc=new Map,fzc=l(Object.keys(dzc)),gzc=fzc.next();!gzc.done;gzc=fzc.next()){var hzc=gzc.value;ezc.set(dzc[hzc].xid,dzc[hzc].string)}
var tab=vab({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 e1=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_=[]},f1=function(a,b){return b?a.tracks_.has(a.maybeXidEventLabel_(b)):0!=a.tracks_.size};g=e1.prototype;g.getIndex=function(){return this.index_};g.setComponentID=function(a){this.componentID_=a};g.getComponentID=function(){return this.componentID_};
g.isMutable=function(){return this.mutable_};g.setAttribute=function(a){this.attribute_=a;return this};g.getAttribute=function(){return this.attribute_};var izc=function(a,b){for(var c=0;c<a.metadataHandlers_.length;++c)a.metadataHandlers_[c](b)};e1.prototype.maybeXidEventLabel_=function(a){return this.xidTagComponents_?sab(a):a};e1.prototype.maybeXidPartLabel_=function(a){return this.xidTagComponents_?uab(a):a};var jzc=function(a){e1.call(this,a)};Y(jzc,e1);var g1=function(a){this.internalArray_=m(a)};Y(g1,n);var kzc=function(a){if(null!=a)return $b(a),{timeUsec:Zb(Ut(a,1)),serverIp:Zb(tba(ds(a,2))),processId:Zb(tba(ds(a,3)))}},lzc=[0,KLb,NLb,-1];var h1=function(a){this.internalArray_=m(a)};Y(h1,n);h1.prototype.getBase=function(){return vi(this,g1,1)};h1.prototype.setBase=function(a){return ej(this,g1,1,a)};var mzc=function(a){if(null!=a)return $b(a),{base:kzc(a.getBase()),clientCounter:Zb(Ut(a,2))}},nzc=[0,lzc,KLb];var i1=function(a){this.internalArray_=m(a)};Y(i1,n);i1.prototype.getBase=function(){return Wt(this,1)};i1.prototype.setBase=function(a){return au(this,1,a)};i1.prototype.getOffset=function(){return Xh(this,2,0)};i1.prototype.setOffset=function(a){dj(this,2,a)};i1.repeatedFields_=[1];var ozc=[0,LLb,bu];var j1=function(a){this.internalArray_=m(a)};Y(j1,n);j1.prototype.setVeIndex=function(a){dj(this,1,a)};j1.prototype.setElementIndex=function(a){dj(this,5,a)};j1.prototype.getResultIndex=function(){return Xh(this,6,-1)};j1.prototype.setResultIndex=function(a){dj(this,6,a)};
var pzc=[0,bu,-1,2,bu,-4,OLb,bu,MLb,nzc,bu,ozc],qzc=function(a){return function(b){var c=new xLb;dda(b.internalArray_,c,cda(a));mda(c,c.encoder_.end());b=new Uint8Array(c.totalLength_);for(var d=c.blocks_,e=d.length,f=0,h=0;h<e;h++){var k=d[h];b.set(k,f);f+=k.length}c.blocks_=[b];return b}}(pzc);var rzc=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};rzc.prototype.getTag=function(){return this.veTag_};rzc.prototype.getElement=function(){return this.el_};var tzc=function(a){var b=szc++;a.traversalOrder_=b};rzc.prototype.setParent=function(a){this.parent_=a};rzc.prototype.getParent=function(){return this.parent_};
var uzc=function(a){if(a.impressionEventID){var b=new j1;b.setVeIndex(a.traversalOrder_);dj(b,2,a.getTag().visualElementID_);ej(b,h1,13,a.impressionEventID);a=qzc(b);return"0"+Caa(a,4)}};var Xab=function(a){this.internalArray_=m(a)};Y(Xab,n);g=Xab.prototype;g.getClientId=function(){return Li(this,1,0)};g.setClientId=function(a){return hj(this,1,a)};g.getEntryPoint=function(){return Li(this,2,0)};g.setEntryPoint=function(a){return hj(this,2,a)};g.getApplication=function(){return Li(this,3,0)};g.setApplication=function(a){return hj(this,3,a)};g.getApplicationOrUndefined=function(){return ss(this,3)};g.setVersionName=function(a){return gj(this,4,a)};
g.getBaselineCl=function(){return Ui(this,5)};g.setBaselineCl=function(a){return nj(this,5,a)};g.hasBaselineCl=function(){return Ti(this,5)};g.getBaselineClOrUndefined=function(){return Zt(this,5)};g.getMetadata=function(){return vi(this,Yyc,6)};g.setMetadata=function(a){ej(this,Yyc,6,a)};g.setSharekitEntryPoint=function(a){hj(this,7,a)};g.getSharekitEntryPointOrUndefined=function(){return ss(this,7)};var Yab=function(a){this.context_=a};Yab.prototype.createNewTag=function(a){return new jzc(a)};Yab.prototype.addEventMetadata=function(a){YWb(a,this.context_.serialize())};var vzc=function(){this.client_info=this.global_metadata=this.ve_metadata=void 0;this.testCodes=[]};var wzc=function(){};wzc.prototype.impressionEvent=function(){return[]};wzc.prototype.interactionEvent=function(){return[]};wzc.prototype.visibilityEvent=function(){return[]};var zzc=function(){if(!xzc){var a=xzc=new g1,b=1E3*Date.now();nj(a,1,b);lm(xzc,2,sba());lm(xzc,3,sba())}a=(new h1).setBase(xzc);b=++yzc;return nj(a,2,b)},yzc=0,xzc=void 0;var k1=function(a){this.internalArray_=m(a,1)};Y(k1,n);var l1=function(a){this.internalArray_=m(a)};Y(l1,n);var m1=function(a){this.internalArray_=m(a)};Y(m1,n);m1.prototype.getEvent=function(){return ql(this,g1,1,Azc)};m1.prototype.setVed=function(a){return vl(this,5,Bzc,a)};var Azc=[1,3,4],Bzc=[2,5];var Czc=function(a){this.internalArray_=m(a,7)};Y(Czc,n);g=Czc.prototype;g.getTarget=function(){return vi(this,m1,1)};g.setTarget=function(a){return ej(this,m1,1,a)};g.getType=function(){return Li(this,2,0)};g.setType=function(a){return hj(this,2,a)};g.hasType=function(){return Ji(this,2)};var Dzc=function(a){var b=Date.now();b=Number.isFinite(b)?1E3*b:void 0;nj(a,4,b)};var n1=function(a){this.internalArray_=m(a)};Y(n1,n);n1.repeatedFields_=[1];var Ezc=function(a){this.internalArray_=m(a)};Y(Ezc,n);Ezc.prototype.getOffset=function(){return Xh(this,2,0)};Ezc.prototype.setOffset=function(a){dj(this,2,a)};Ezc.repeatedFields_=[1];var Fzc=function(a){this.internalArray_=m(a)};Y(Fzc,n);Fzc.prototype.getEventId=function(){return ql(this,g1,1,Gzc)};Fzc.prototype.setEventId=function(a){wl(this,1,Gzc,a)};var Gzc=[1,2],Hzc=[3,6];var Izc=function(a){this.internalArray_=m(a)};Y(Izc,n);var o1=function(a){this.internalArray_=m(a,233)};Y(o1,n);o1.prototype.setUiType=function(a){return dj(this,1,a)};o1.prototype.setElementIndex=function(a){dj(this,3,a)};var Jzc=function(a,b){ap(a,4,b)};o1.prototype.getResultIndex=function(){return Tt(this,7)};o1.prototype.setResultIndex=function(a){dj(this,7,a)};o1.prototype.setVisible=function(a){return hj(this,6,a)};var Kzc={};o1.repeatedFields_=[4];
var Lzc=function(a){if(null!=a){$b(a);var b=Zb(Tt(a,1)),c=Xh(a,3,-1),d=Zb(Zh(a,4)),e=Zb(wj(a,5)),f=Zb(Tt(a,7));var h=vi(a,Fzc,11);if(null!=h){$b(h);var k=kzc(h.getEventId());var q=mzc(ql(h,h1,2,Gzc)),t=Xh(h,kl(h,Hzc,3),-1);h=ql(h,Ezc,6,Hzc);null!=h?($b(h),h={identifierBaseList:Zb(Zh(h,1)),offset:Xh(h,2,0)}):h=void 0;k={eventId:k,clientEventId:q,featureIndex:t,featureOffsetIdentifier:h}}else k=void 0;q=Li(a,6,0);t=Zb(wj(a,17));h=Hi(a,130,!1);var w=Xh(a,149,-1);var y=vi(a,Izc,232);if(null!=y){$b(y);
y=vi(y,m1,1);if(null!=y){$b(y);var C=kzc(y.getEvent()),J=mzc(ql(y,h1,3,Azc)),I=Zb(qq(y,4,Azc));var P=ql(y,j1,2,Bzc);if(null!=P){$b(P);var O=Xh(P,1,-1),U=Xh(P,11,-1);var aa=vi(P,i1,15);null!=aa?($b(aa),aa={baseList:Zb(Zh(aa,1)),offset:Xh(aa,2,0)}):aa=void 0;P={veIndex:O,nonArchivalVeIndex:U,veOffsetIdentifier:aa,veType:Zb(Tt(P,2)),odelaySeLinker:Zb(Tt(P,8)),elementIndex:Xh(P,5,-1),resultIndex:Xh(P,6,-1),pageStart:Zb(Tt(P,7)),resultGroupElementIndex:Xh(P,9,-1),doNotLogUrl:Hi(P,10,!1),resultFprint:Zb(TYa(P,
12)),veEventId:mzc(vi(P,h1,13)),youtubeVeCounter:Xh(P,14,-1)}}else P=void 0;y={event:C,clientEvent:J,ei:I,rootVe:P,ved:Zb(qq(y,5,Bzc))}}else y=void 0;y={reference:y}}else y=void 0;b={uiType:b,elementIndex:c,containsElementsList:d,targetUrl:e,resultIndex:f,featureTreeRef:k,visible:q,language:t,doNotLogUrls:h,adImpressionIndex:w,dataElement:y};qda(a,b,Kzc);return b}};var p1=function(a){this.internalArray_=m(a,17)};Y(p1,n);g=p1.prototype;g.setVed=function(a){return gj(this,11,a)};g.setUiType=function(a){return dj(this,1,a)};g.setVeIndex=function(a){dj(this,2,a)};g.getResultIndex=function(){return Xh(this,7,-1)};g.setResultIndex=function(a){dj(this,7,a)};g.setElementIndex=function(a){dj(this,8,a)};var Mzc=function(a,b){Zl(a,14,b)};p1.repeatedFields_=[14];var q1=function(a){this.internalArray_=m(a)};Y(q1,n);q1.prototype.getEventId=function(){return vi(this,h1,1)};q1.prototype.setEventId=function(a){ej(this,h1,1,a)};q1.repeatedFields_=[2];var Nzc=function(a){this.userAction=a};var Ozc=function(){};Ozc.prototype.createNewTag=function(a){return new e1(a)};Ozc.prototype.addEventMetadata=function(){};var r1=function(a){this.internalArray_=m(a)};Y(r1,n);var Pzc=function(a,b){Zl(a,1,b)};r1.prototype.addPath=function(a,b){return mq(this,1,o1,a,b)};r1.prototype.setPath=function(a,b){return Qt(this,1,o1,a,b)};r1.repeatedFields_=[1];var Qzc=Xb(100,{coreGraftMetadata:0},r1,function(a){if(null!=a)return $b(a),{pathList:Yb(zi(a,o1,1),Lzc)}});var s1=function(a){this.internalArray_=m(a)};Y(s1,n);var t1=function(a){this.internalArray_=m(a)};Y(t1,n);t1.prototype.getTimestamp=function(){return vi(this,s1,1)};t1.prototype.setTimestamp=function(a){return ej(this,s1,1,a)};t1.prototype.hasTimestamp=function(){return Pi(this,s1,1)};var Rzc=function(a){if(null!=a)return $b(a),a=a.getTimestamp(),null!=a?($b(a),a={clientWallClockTimestamp:Zb(Ni(a,1))}):a=void 0,{timestamp:a}};var Szc=Xb(126,{coreInteractionMetadata:0},t1,Rzc);var Tzc=Xb(618,{coreVeMetadata:0},t1,Rzc);Kzc[618]=Tzc;var Uzc=function(a){this.internalArray_=m(a)};Y(Uzc,n);var Vzc=Xb(273,{attentionData:0},Uzc,function(a){if(null!=a)return $b(a),{isTracked:Zb(Vr(a,1))}});Kzc[273]=Vzc;var Ir=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};Y(Ir,wzc);Ir.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=Wzc(this,c,b);b=this.enableBatching_?Xzc(this,d,b):Yzc(this,d,b);return a.concat(b)};
Ir.prototype.interactionEvent=function(a,b){var c=new HB,d=new q1,e=zzc();d.setEventId(e);e=new p1;a.serverVed_?e.setVed(a.serverVed_):e.setUiType(a.getTag().visualElementID_).setVeIndex(a.traversalOrder_);Mzc(dj(e,3,b.userAction),this.getAncestry_(a));this.setTimestamp(e);b=new l1;ej(b,h1,1,a.impressionEventID);ej(d,h1,3,a.impressionEventID);ej(d,p1,4,e);ej(d,l1,9,b);IB(c,d.serialize());return[c]};
Ir.prototype.visibilityEvent=function(a,b){for(var c=[],d=new Map,e=0;e<a.length;++e){var f=a[e],h=f.getElement(),k=f.rootImpressionEventID,q=d.get(k);q=q?q:[];var t=new r1;this.enableAncestryLoggingForGrafts_&&Pzc(t,this.getAncestry_(f));if(f.neverShown||f1(f.getTag(),"vis"))if(h=this.isVisible_(h,b),f.hidden&&h){h=new Czc;h.setType(1);var w=Zzc(f);h.setTarget(w);Dzc(h);this.enableAncestryLoggingForGrafts_&&Wr(h,Qzc,t);q.push(h);f.hidden=!1;f.neverShown=!1}else f.hidden||h||(h=new Czc,h.setType(2),
w=Zzc(f),h.setTarget(w),Dzc(h),this.enableAncestryLoggingForGrafts_&&Wr(h,Qzc,t),q.push(h),f.hidden=!0);d.set(k,q)}a=l(d.keys());for(b=a.next();!b.done;b=a.next())b=b.value,f=d.get(b),f.length&&(e=new n1,Zl(e,1,f),f=new q1,k=zzc(),q=new l1,ej(q,h1,1,b),f.setEventId(k),ej(f,h1,3,b),ej(f,n1,7,e),ej(f,l1,9,q),b=new HB,IB(b,f.serialize()),c.push(b));return c};
Ir.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=vgc(b,new yR(a.left,a.top,a.width,a.height)))&&10<=b.width&&10<=b.height?!0:!1};
var Wzc=function(a,b,c){for(var d=[],e={},f=b.length-1;0<=f;e={impressionEventID:e.impressionEventID,clientVeProto$jscomp$7:e.clientVeProto$jscomp$7,testCodes$jscomp$1:e.testCodes$jscomp$1},f--){e.clientVeProto$jscomp$7=new q1;e.testCodes$jscomp$1=[];e.impressionEventID=zzc();e.clientVeProto$jscomp$7.setEventId(e.impressionEventID);var h=new l1;ej(h,h1,1,e.impressionEventID);ej(e.clientVeProto$jscomp$7,l1,9,h);if(h=VWb(window.location.href,"ved"))h=(new p1).setVed(h),ej(e.clientVeProto$jscomp$7,p1,
4,h);b[f].forEach(function(k){return function(q,t){t.impressionEventID=k.impressionEventID;t.rootImpressionEventID=k.impressionEventID;var w=this.getVisualElementLiteProto_(t);q.length&&Jzc(w,q);q=t.getElement();this.isVisible_(q,c)?(t.neverShown=!1,t.hidden=!1):w.setVisible(1);this.enableAttentionLogging_&&f1(t.getTag(),"hover")&&void 0!==t.traversalOrder_&&(q.setAttribute("data-hveid",Number(t.traversalOrder_)),0===zi(k.clientVeProto$jscomp$7,o1,2).length&&uzc(t)&&(q.setAttribute("decode-data-ved",
"1"),q.setAttribute("data-ved",uzc(t)+"")));this.setTimestamp(w);mq(k.clientVeProto$jscomp$7,2,o1,w);k.testCodes$jscomp$1=k.testCodes$jscomp$1.concat(t.getTag().testCodes_)}}(e),a);h=new HB;IB(h,e.clientVeProto$jscomp$7.serialize());ap(h,20,e.testCodes$jscomp$1);d.push(h)}return d},Xzc=function(a,b,c){for(var d=[],e=new Map,f=b.length-1;0<=f;f--){var h=b[f],k=h.keys().next().value.rootImpressionEventID,q=e.get(k)||[];q.push(h);e.set(k,q)}e.forEach(function(t,w){var y=0,C=[],J=new q1,I=[],P=zzc();
J.setEventId(P);ej(J,h1,3,w);var O=new l1;ej(O,h1,1,w);ej(J,l1,9,O);for(O=0;O<t.length;O++)for(var U=t[O],aa=U.keys(),na=aa.next().value,sa=U.get(na),Ba={},Pa=0;Pa<sa.length;Ba={startingOffset:Ba.startingOffset,cloneTreeRootIndex:Ba.cloneTreeRootIndex},++Pa){var Ja=na;Ba.cloneTreeRootIndex=0;Ba.startingOffset=sa[Pa];var cb=U.size;Pa!=sa.length-1&&(cb=sa[Pa+1]);for(var qb=Ba.startingOffset;qb<cb;++qb){var Ra=aa.next().value;qb==Ba.startingOffset&&(Ja=Ra,Ba.cloneTreeRootIndex=y);Ra.impressionEventID=
P;Ra.rootImpressionEventID=w;Ra.traversalOrder_=y;var fa=U.get(Ra),wa=this.getVisualElementLiteProto_(Ra);fa.length&&Jzc(wa,fa.map(function(Ca){return function(Wa){return Wa-Ca.startingOffset+Ca.cloneTreeRootIndex}}(Ba)));fa=Ra.getElement();this.isVisible_(fa,c)?(Ra.neverShown=!1,Ra.hidden=!1):wa.setVisible(1);this.setTimestamp(wa);mq(J,2,o1,wa);I=I.concat(Ra.getTag().testCodes_);y++}cb=new Czc;cb.setType(3);qb=Zzc(na);cb.setTarget(qb);qb=new m1;Ra=new j1;wa=new r1;Ra.setVeIndex(Ja.traversalOrder_);
dj(Ra,2,Ja.getTag().visualElementID_);wl(qb,2,Bzc,Ra);ej(cb,m1,3,qb);this.enableAncestryLoggingForGrafts_&&(Pzc(wa,this.getAncestry_(Ja)),Wr(cb,Qzc,wa));C.push(cb)}C.length&&(t=new n1,Zl(t,1,C),ej(J,n1,7,t));C=new HB;IB(C,J.serialize());ap(C,20,I);d.push(C)},a);return d},Yzc=function(a,b,c){for(var d=[],e=b.length-1;0<=e;e--)for(var f=b[e],h=f.keys(),k=h.next().value,q=f.get(k),t={},w=0;w<q.length;t={startingOffset$jscomp$1:t.startingOffset$jscomp$1},++w){t.startingOffset$jscomp$1=q[w];var y=f.size;
w!=q.length-1&&(y=q[w+1]);var C=new q1,J=[],I=zzc(),P=new l1;ej(P,h1,1,k.impressionEventID);C.setEventId(I);ej(C,h1,3,k.impressionEventID);hj(C,5,3);ej(C,l1,9,P);P=new p1;k.serverVed_?P.setVed(k.serverVed_):P.setUiType(k.getTag().visualElementID_).setVeIndex(k.traversalOrder_);Mzc(P,a.getAncestry_(k));ej(C,p1,4,P);for(P=t.startingOffset$jscomp$1;P<y;++P){var O=h.next().value;O.impressionEventID=I;O.rootImpressionEventID=k.rootImpressionEventID;void 0!=O.traversalOrder_&&(O.traversalOrder_-=t.startingOffset$jscomp$1);
var U=f.get(O),aa=a.getVisualElementLiteProto_(O);U.length&&Jzc(aa,U.map(function(na){return function(sa){return sa-na.startingOffset$jscomp$1}}(t)));U=O.getElement();a.isVisible_(U,c)?(O.neverShown=!1,O.hidden=!1):aa.setVisible(1);a.enableAttentionLogging_&&f1(O.getTag(),"hover")&&void 0!==O.traversalOrder_&&(U.setAttribute("data-hveid",Number(O.traversalOrder_)),0===zi(C,o1,2).length&&uzc(O)&&(U.setAttribute("decode-data-ved","1"),U.setAttribute("data-ved",uzc(O)+"")));a.setTimestamp(aa);mq(C,2,
o1,aa);J=J.concat(O.getTag().testCodes_)}y=new HB;IB(y,C.serialize());ap(y,20,J);d.push(y)}return d};Ir.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};
Ir.prototype.getVisualElementLiteProto_=function(a){var b=(new o1).setUiType(a.getTag().visualElementID_);Number.isFinite(a.getTag().getIndex())&&b.setElementIndex(a.getTag().getIndex());izc(a.getTag(),b);this.enableAttentionLogging_&&f1(a.getTag(),"hover")&&(a=new Uzc,cj(a,1,!0),Wr(b,Vzc,a));return b};
var Zzc=function(a){var b=new m1;if(a.serverVed_)b.setVed(a.serverVed_);else{var c=new j1;wl(b,3,Azc,a.impressionEventID);c.setVeIndex(a.traversalOrder_);dj(c,2,a.getTag().visualElementID_);wl(b,2,Bzc,c)}return b};
Ir.prototype.setTimestamp=function(a){var b=Date.now();b=Number.isFinite(b)?b.toString():void 0;if(a instanceof p1&&(!vi(a,k1,15)||!vi(a,k1,15).getExtension(Szc))){var c=new t1,d=new s1,e=vi(a,k1,15);e||(e=new k1);mj(d,1,b);c.setTimestamp(d);Wr(e,Szc,c);ej(a,k1,15,e)}a instanceof o1&&(c=new t1,d=new s1,mj(d,1,b),c.setTimestamp(d),Wr(a,Tzc,c))};var $zc=1;(function(){for(var a=["ms","moz","webkit","o"],b=0;b<a.length&&!window.requestAnimationFrame;++b)window.requestAnimationFrame=window[a[b]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[a[b]+"CancelAnimationFrame"]||window[a[b]+"CancelRequestAnimationFrame"];if(!window.requestAnimationFrame){var c=0;window.requestAnimationFrame=function(d){var e=(new Date).getTime(),f=Math.max(0,16-(e-c));c=e+f;return window.setTimeout(function(){d(e+f)},f)};window.cancelAnimationFrame||(window.cancelAnimationFrame=
function(d){clearTimeout(d)})}})();var aAc=function(){},bAc=[[],[]],cAc=0,dAc=new Set,eAc=null,fAc=0,gAc=0,hAc=0,iAc=0,jAc=0,kAc=function(a){this.mutate_=this.measure_=void 0;this.runInCurrentFrameIfPossible_=!1;this.window_=window;this.context_=a;this.state_ctor_=aAc};g=kAc.prototype;g.measure=function(a){this.measure_=a;return this};g.mutate=function(a){this.mutate_=a;return this};g.runInCurrentFrameIfPossible=function(){this.runInCurrentFrameIfPossible_=!0;return this};
g.window=function(a){this.window_=a;return this};g.build=function(){return lAc({measure:this.measure_,mutate:this.mutate_,stateCtor:this.state_ctor_,window:this.window_,runInCurrentFrameIfPossible:this.runInCurrentFrameIfPossible_},this.context_)};
var lAc=function(a,b){var c=jAc++,d=Math.max(a.measure?a.measure.length:0,a.mutate?a.mutate.length:0),e={id:c,measureFn:a.measure,mutateFn:a.mutate,context:b,args:[]},f=e;return function(){var h=0!==f.phase;h&&(f=Object.assign({phase:0},e));b||(f.context=this);f.args=Array.prototype.slice.call(arguments);d>arguments.length&&f.args.push(new a.stateCtor);h&&(h=cAc,!a.runInCurrentFrameIfPossible||0==iAc||a.measure&&1!=iAc||(h=(h+1)%2),bAc[h].push(f));return mAc(a.window)}},nAc=function(a,b){var c={};
iAc=1;for(var d=0;d<a.length;++d){var e=a[d];e.args[e.args.length-1]&&(e.args[e.args.length-1].now=b);if(e.measureFn){e.phase=1;try{e.measureFn.apply(e.context,e.args)}catch(f){c[d]=!0,ea(f)}}}iAc=2;for(d=0;d<a.length;++d)if(e=a[d],e.args[e.args.length-1]&&(e.args[e.args.length-1].now=b),!c[d]&&e.mutateFn){e.phase=2;try{e.mutateFn.apply(e.context,e.args)}catch(f){ea(f)}}0<fAc&&1<b&&(a=b-fAc,500>a&&($zc++,100<a&&gAc++,hAc<a&&(hAc=a)));fAc=dAc.size&&1<b?b:0},mAc=function(a){if(!dAc.has(a)){dAc.size||
(eAc=new mxc);dAc.add(a);var b=eAc.resolve;a.requestAnimationFrame(function(c){dAc.clear();var d=bAc[cAc];cAc=(cAc+1)%2;try{nAc(d,c)}finally{iAc=0,d.length=0}b()})}return eAc.promise};var oAc=function(a,b){this.tagPopulator_=a;this.expectXidTagComponents_=b||!1;this.componentID_=void 0},u1=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||Ei(d)||d!=c.getTag().getAttribute()));if(d)return c;d=b.getAttribute("jslog");if(!d)return null;d=pAc(a,d);if(!d||(d.getComponentID()||a.componentID_)&&
d.getComponentID()!=a.componentID_)return null;a=new rzc(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(nLb.length){var f=nLb.pop();f.setOptions();f.decoder_.init(c,void 0,void 0,void 0);var h=f}else h=new Jt(c);try{var k=new j1,q=k.internalArray_;Uca(pzc)(q,h);hb&&delete q[hb];var t=k;break b}finally{h.free()}t=
void 0}e=vi(t,h1,13)}catch(w){e=null}}e&&(a.impressionEventID=e,a.rootImpressionEventID=e)}return b.LSWHIf=a},pAc=function(a,b){if(Ei(b))return null;var c=b.split(";"),d=Number(c[0].trim());if(isNaN(d))return null;d=a.tagPopulator_.createNewTag(d);for(var e=1;e<c.length;e++){var f=c[e].trim();if(!Ei(f)){var h=LMb(f);if(2>h.length)return null;f=h[0].trim();h=h[1].trim();if(Ei(f)||Ei(h))return null;switch(f){case a.maybeXidPartLabel_("track"):f=h.split(",");for(h=0;h<f.length;++h){var k=f[h].trim();
if(a.expectXidTagComponents_){if(!d.xidTagComponents_)throw Error("Xe");if(!ezc.has(k))throw Error("Ye`"+k);d.tracks_.add(k)}else d.tracks_.add(d.maybeXidEventLabel_(k))}break;case a.maybeXidPartLabel_("index"):d.index_=Number(h);break;case a.maybeXidPartLabel_("tc"):f=h.split(",");f=f.map(Number);f=f.filter(Number.isInteger);d.testCodes_=f;break;case "cid":d.setComponentID(h);break;case a.maybeXidPartLabel_("mutable"):"true"==h?d.mutable_=!0:"rci"==h&&(d.mutable_=!0,d.retain_cached_impression_=!0)}}}return d.setAttribute(b)};
oAc.prototype.maybeXidPartLabel_=function(a){return this.expectXidTagComponents_?uab(a):a};oAc.prototype.setComponentID=function(a){this.componentID_=a};oAc.prototype.getComponentID=function(){return this.componentID_};var qAc=function(a,b){this.visualElementProvider_=a;this.traverseShadowDom_=void 0===b?!1:b},sAc=function(a,b){return rAc(a,b).filter(function(c){return null!=u1(this.visualElementProvider_,c)},a)},tAc=function(a,b){var c=a.visualElementProvider_;a=[];for(var d=void 0,e={},f=0;f<b.length;e={parent$jscomp$185:e.parent$jscomp$185},++f){var h=u1(c,b[f]);void 0==h.traversalOrder_&&void 0==h.serverVed_&&(e.parent$jscomp$185=void 0,yab(b[f],function(k){return function(q){q=u1(c,q);return null!=q?(k.parent$jscomp$185=
q,!0):!1}}(e),!1),e.parent$jscomp$185?d&&d.has(e.parent$jscomp$185)||(d=new Map,a.unshift(d),d.set(e.parent$jscomp$185,[]),szc=1):(d=new Map,a.unshift(d),szc=0),tzc(h),h.setParent(e.parent$jscomp$185),d.set(h,[]),e.parent$jscomp$185&&d.get(e.parent$jscomp$185).push(h.traversalOrder_))}return a},uAc=function(a,b){var c=a.visualElementProvider_;return b.map(function(d){return u1(c,d)})},rAc=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},szc=0;var vAc=function(a,b){XA.call(this,"visibilitychange");this.hidden=a;this.visibilityState=b};Y(vAc,XA);var wAc=function(a){bp.call(this);this.domHelper_=a||ep();if(this.eventType_=this.getBrowserEventType_())this.eventKey_=cp(this.domHelper_.document_,this.eventType_,yt(this.handleChange_,this))};At(wAc,bp);g=wAc.prototype;g.getBrowserEventType_=Zo(function(){var a=!!this.getHiddenPropertyName_(),b="hidden"!=this.getHiddenPropertyName_();if(a){var c;b?c=(((Et?"Webkit":Dt?"Moz":Hq?"ms":null)||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});
g.getHiddenPropertyName_=Zo(function(){return ugc("hidden",this.domHelper_.document_)});g.getVisibilityStatePropertyName_=Zo(function(){return ugc("visibilityState",this.domHelper_.document_)});g.handleChange_=function(){var a=this.getHiddenPropertyName_()?this.domHelper_.document_[this.getVisibilityStatePropertyName_()]:null;a=new vAc(!!this.domHelper_.document_[this.getHiddenPropertyName_()],a);this.dispatchEvent(a)};g.disposeInternal=function(){dB(this.eventKey_);wAc.superClass_.disposeInternal.call(this)};var v1=function(a,b,c,d,e,f,h){var k=this,q=void 0===d?{}:d,t=void 0===q.backgroundJobDeferrer?void 0:q.backgroundJobDeferrer;d=void 0===q.expectXidTagComponents?!1:q.expectXidTagComponents;q=void 0===q.traverseShadowDom?!1:q.traverseShadowDom;Kq.call(this);this.eventBuilder_=a;this.expectXidTagComponents_=d;this.metadataHandler_=b||new Ozc;this.visualElementProvider_=new oAc(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 wAc;this.logImpressionsTask_=(new kAc(this)).measure(t?function(){return t().then(k.handleImpressions_.bind(k))}:this.handleImpressions_).runInCurrentFrameIfPossible().build();this.logImpressionsThrottle_=new wqc(this.logImpressionsTask_,500,this);this.traverser_=h||new qAc(this.visualElementProvider_,q);this.listeners_=[];this.impressionListeners_=
[];this.eventBuilder_ instanceof wzc&&(this.eventHandler_=this.eventBuilder_);this.zwiebackId_=e;this.windowProvider_=f};At(v1,Kq);v1.prototype.setComponentID=function(a){this.visualElementProvider_.setComponentID(a)};v1.prototype.logImpressions=function(){this.domHelper_&&this.logImpressionsThrottle_.fire()};
var yAc=function(a,b,c,d){var e=xAc(d),f=a.getIndex(c);var h=new bzc;h=hj(h,4,b);h=dj(h,1,c.getTag().visualElementID_);e=ap(h,3,e);null!=f&&e.setElementIndex(f);f=new vzc;f.ve_metadata=a.getMetadata(c,d);f.global_metadata=a.invariantData_;f.client_info=a.appInfo_;c=YWb(new HB,e.serialize());c=ap(c,20,f.testCodes);a.transport_&&NB(a.transport_,c);if(null!=b)for(b=new Nzc(b),c=0;c<a.listeners_.length;c++)a.listeners_[c](b)};v1.prototype.log=function(a){this.transport_&&NB(this.transport_,a)};
var zAc=function(a){for(var b=0;b<a.impressionListeners_.length;b++)a.impressionListeners_[b]()};v1.prototype.getIndex=function(a){return a.getTag().getIndex()};var xAc=function(a){return a.map(function(b){return b.getTag().visualElementID_})};v1.prototype.getMetadata=function(a,b){var c=new o1;izc(a.getTag(),c);for(a=0;a<b.length;++a)izc(b[a].getTag(),c);return c};
var AAc=function(a,b,c){var d,e=a.visualElementProvider_,f=a.eventToTracksLabelMap_[b];yab(c,function(h){if(!oB(h))return!1;h=u1(e,h);var k;if(k=null!=h)if(k=h.getTag(),this.expectXidTagComponents_){if(!k.xidTagComponents_)throw Error("Xe");if(!ezc.has(f))throw Error("Ye`"+f);k=k.tracks_.has(f)}else k=f1(k,f);return k?(d=h,!0):!1}.bind(a),!0);return d};
v1.prototype.getAncestry_=function(a){var b=[],c=this.visualElementProvider_;yab(a,function(d){if(!oB(d))return!1;d=u1(c,d);null!=d&&b.push(d);return!1},!1);return b};
v1.prototype.handleImpressions_=function(){var a=this.pageVisibilityMonitor_;if(!a.domHelper_.document_[a.getHiddenPropertyName_()]&&this.root_){if(a=!!(window.performance&&window.performance.mark&&window.performance.measure&&window.performance.clearMeasures&&window.performance.clearMarks))window.performance.clearMeasures("ZVwBtb"),window.performance.clearMarks("KtiTlc"),window.performance.mark("KtiTlc");var b=sAc(this.traverser_,this.root_);if(this.eventHandler_){var c=this.windowProvider_?this.domHelper_.getViewportSize(this.windowProvider_()):
this.domHelper_.getViewportSize();c=new yR(0,0,c.width,c.height);var d=tAc(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]),gj(d[e],28,this.zwiebackId_),this.transport_&&NB(this.transport_,d[e])}b=uAc(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_&&gj(b[c],28,this.zwiebackId_),this.transport_&&
NB(this.transport_,b[c]);zAc(this)}else{c=[];d=this.windowProvider_?this.domHelper_.getViewportSize(this.windowProvider_()):this.domHelper_.getViewportSize();d=new yR(0,0,d.width,d.height);for(e=0;e<b.length;e++){var f=b[e];this.isVisible_(f,d)&&(f=u1(this.visualElementProvider_,f))&&f1(f.getTag(),"impression")&&c.push(f)}for(b=0;b<c.length;b++)d=c[b],d.loggedImpression_||(e=this.getAncestry_(d.getElement()),yAc(this,void 0,d,e),zAc(this),d.loggedImpression_=!0)}a&&window.performance.measure("ZVwBtb",
"KtiTlc")}};v1.prototype.isVisible_=function(a,b){if(a.hasAttribute("ve-visible"))return"true"==a.getAttribute("ve-visible");a=a.getBoundingClientRect();return(b=vgc(b,new yR(a.left,a.top,a.width,a.height)))&&10<=b.width&&10<=b.height?!0:!1};v1.prototype.maybeXidEventLabel_=function(a){return this.expectXidTagComponents_?sab(a):a};var Jr=function(a,b,c,d,e,f,h,k,q,t,w,y){e=void 0===e?!1:e;q=void 0===q?!1:q;k||(b=new $o(b,c),d&&(b.destinationUrl=d),f&&(b.backgroundJobDeferrer=f),k=b.build());v1.call(this,a,h||null,k,{expectXidTagComponents:e,backgroundJobDeferrer:f,traverseShadowDom:q},t,w,y);this.clearcut_=k;this.clearcut_.setClientSideLogOnlyForDevelopment(!1);a=this.clearcut_;a.useSendBeaconForFinalFlush=a.isSendBeaconSupported;this.clearcut_.useGetRequestForFinalFlush=!0};Y(Jr,v1);Jr.prototype.setClearcutClientInfo=function(a){this.clearcut_.setClearcutClientInfo(a)};
Jr.prototype.setBuildLabel=function(a){this.clearcut_.setBuildLabel(a)};Jr.prototype.setClientSideLogOnlyForDevelopment=function(a){this.clearcut_.setClientSideLogOnlyForDevelopment(a)};var $ab=function(){};$ab.prototype.start=function(){};$ab.prototype.stop=function(){};var BAc=function(a){this.tracker=a};var CAc=function(a,b){this.root=a;this.handler=b;this.eventHandler=new Kq(this)};
CAc.prototype.observe=function(a){var b=this;this.observer||(this.observer=new MutationObserver(function(c){b.onMutation(c)}),this.observer.observe(this.root,{childList:!0,subtree:!0}),this.eventHandler.listen(this.root,a,function(c){var d=b.handler.tracker,e=c.type,f=d.eventToActionMap_[e];if(f&&(e=AAc(d,e,c.target)))if(d.eventHandler_)for(f=d.eventHandler_.interactionEvent(e,new Nzc(f)),e=0;e<f.length;++e)d.metadataHandler_.addEventMetadata(f[e]),d.zwiebackId_&&gj(f[e],28,d.zwiebackId_),d.transport_&&
NB(d.transport_,f[e]);else{var h=d.getAncestry_(e.getElement());yAc(d,f,e,h)}c.stopPropagation()}))};CAc.prototype.dispose=function(){var a;null==(a=this.observer)||a.disconnect();this.eventHandler.removeAll()};CAc.prototype.onMutation=function(a){a=l(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,"childList"===b.type){b=l(b.addedNodes);for(var c=b.next();!c.done;c=b.next())c=c.value,c instanceof Element&&(c.querySelectorAll("[jsLog]").length||c.getAttribute("jsLog"))&&this.handler.tracker.logImpressions()}};var Zab=function(a,b){this.root=a;this.tracker=b;this.observer=new CAc(this.root,new BAc(this.tracker))};
Zab.prototype.start=function(a){var b=this.tracker,c=this.root;b.domHelper_=new fB;b.root_=c||b.domHelper_.document_.body;c=b.domHelper_.document_;"interactive"!=c.readyState&&"complete"!=c.readyState||b.logImpressions();b.listenOnce(c,"load",b.logImpressions,!1);b.listenOnce(c,"DOMContentLoaded",b.logImpressions,!1);b.listen(b.pageVisibilityMonitor_,"visibilitychange",b.logImpressions,!1);b.listen(c,"scroll",b.logImpressions,!0);b=l(a);for(c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;
d=d.next().value;var e=this.tracker;e.eventToActionMap_[c]=d;e.eventToTracksLabelMap_[c]=e.maybeXidEventLabel_(c)}this.observer.observe([].concat(u(a.keys())))};Zab.prototype.stop=function(){this.observer.dispose();this.tracker.dispose()};var ws=function(a){this.internalArray_=m(a)};Y(ws,n);var w1=function(a,b){return cj(a,1,b)};ws.prototype.getProvenance=function(){return Li(this,2,0)};ws.prototype.setProvenance=function(a){return hj(this,2,a)};ws.prototype.getCode=function(){return Li(this,3,0)};ws.prototype.setCode=function(a){return hj(this,3,a)};var x1=function(a){this.internalArray_=m(a)};Y(x1,n);x1.prototype.getSource=function(){return vi(this,ws,1)};x1.prototype.setSource=function(a){return ej(this,ws,1,a)};x1.prototype.hasSource=function(){return Pi(this,ws,1)};var y1=function(a,b){return hj(a,2,b)},z1=function(a,b){return hj(a,3,b)};var DAc=function(){this.filter_=null;this.originator_=this.queryScope_=0;this.useOriginalDisplayValue_=!1};g=DAc.prototype;g.getFilter=function(){return this.filter_};g.setFilter=function(a){this.filter_=a;return this};g.getQueryScope=function(){return this.queryScope_};g.setQueryScope=function(a){this.queryScope_=a;return this};g.getOriginator=function(){return this.originator_};g.setOriginator=function(a){this.originator_=a;return this};
g.clone=function(){var a=(new DAc).setFilter(this.getFilter()).setOriginator(this.getOriginator()).setQueryScope(this.getQueryScope());a.useOriginalDisplayValue_=this.useOriginalDisplayValue_;return a};var EAc=function(){this.isLastCallback_=this.isFirstCallback_=!1;this.notFoundIdList_=[];this.code_=2;this.cacheState_=new x1};g=EAc.prototype;g.getIsFirstCallback=function(){return this.isFirstCallback_};g.getIsLastCallback=function(){return this.isLastCallback_};g.getCode=function(){return this.code_};g.getCacheState=function(){return this.cacheState_};g.setIsFirstCallback=function(a){this.isFirstCallback_=a;return this};g.setIsLastCallback=function(a){this.isLastCallback_=a;return this};
g.setCallbackNumber=function(){return this};g.setCode=function(a){this.code_=a;return this};g.setCacheState=function(a){this.cacheState_=a;return this};var FAc=function(a,b){this.results_=a;this.metadata_=b};FAc.prototype.getResults=function(){return this.results_};FAc.prototype.getMetadata=function(){return this.metadata_};var A1=function(a){this.internalArray_=m(a)};Y(A1,n);g=A1.prototype;g.getQuery=function(){return xi(this,1,"")};g.setQuery=function(a){return gj(this,1,a)};g.clearQuery=function(){lm(this,1)};g.hasQuery=function(){return yi(this,1)};g.getIsFirstCallback=function(){return Hi(this,2,!1)};g.setIsFirstCallback=function(a){return cj(this,2,a)};g.getIsLastCallback=function(){return Hi(this,3,!1)};g.setIsLastCallback=function(a){return cj(this,3,a)};g.setCallbackNumber=function(a){return dj(this,4,a)};
g.getNextPageToken=function(){return xi(this,5,"")};g.getCode=function(){return Li(this,6,2)};g.setCode=function(a){return hj(this,6,a)};g.getCacheState=function(){return vi(this,x1,7)};g.setCacheState=function(a){return ej(this,x1,7,a)};g.hasCacheState=function(){return Pi(this,x1,7)};var B1=function(a,b){this.results_=a;this.metadata_=b};B1.prototype.getResults=function(){return this.results_};B1.prototype.getMetadata=function(){return this.metadata_};var GAc={create:function(a,b,c,d,e){e=void 0===e?new Cr:e;return Aab(a,b,c,d,new nwc,{sessionOptions:e})},createWith:function(a,b,c,d,e){e=void 0===e?{}:e;return Aab(a,b,c,d,new nwc,e)},createConfig:function(a){var b;void 0===a?b=new Ddc(VQ.apiEnv,new Edc(VQ.userProfileId)):b=a;return new Pyc(b)}};var ms=function(a){this.internalArray_=m(a)};Y(ms,n);g=ms.prototype;g.getTimestamp=function(){return Ui(this,1)};g.setTimestamp=function(a){return nj(this,1,a)};g.hasTimestamp=function(){return Ti(this,1)};g.getAffinityVersion=function(){return Xh(this,2)};g.setAffinityVersion=function(a){dj(this,2,a)};g.getAffinityVersionOrUndefined=function(){return Yt(this,2)};g.getNextPageToken=function(){return xi(this,4)};g.getCode=function(){return Li(this,6,0)};g.setCode=function(a){return hj(this,6,a)};var HAc=function(){this.bits_=[]};g=HAc.prototype;g.and=function(a){for(var b=new HAc,c=l(this),d=c.next();!d.done;d=c.next())d=d.value,a.bits_[d]&&(b.bits_[d]=!0);return b};g.or=function(a){for(var b=new HAc,c=l(this),d=c.next();!d.done;d=c.next())b.bits_[d.value]=!0;a=l(a);for(d=a.next();!d.done;d=a.next())b.bits_[d.value]=!0;return b};g.get=function(a){return!!this.bits_[a]};g.set=function(a){this.bits_[a]=!0};g.setAll=function(a){var b=a;for(a+=NaN;b<a;b++)this.bits_[b]=!0};
g.clear=function(a){this.bits_[a]=!1};HAc.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 ebb=RegExp("[\\s,;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a]+","g"),gbb=/^[<"']|[>"']$/g,cbb=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"),IAc=/[^a-z0-9]+/gi,fbb=String.prototype.normalize?function(a){return a.normalize("NFKC")}:function(a){return a};var JAc=function(a,b){this.key=a;this.terms=hbb(b)};var C1=function(a,b,c){b=void 0===b?"":b;c=void 0===c?new HAc:c;this.items_=a;this.prefix_=b;this.matchIndices_=c;this.childNodes_={};this.isExpanded_="\u2026"===b};C1.prototype.cloneNode=function(a){for(var b=[],c=l(this.items_),d=c.next();!d.done&&(d=d.value,!a.loadOrSkip(d.key)||(b.push(d),!a.isDone()));d=c.next());return new C1(b)};
C1.prototype.getMatches=function(a){for(var b=[],c=l(this.prefix_?this.matchIndices_:jbb(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};
C1.prototype.search=function(a){var b=this;return a.length?a.map(function(c){for(var d=b,e=0;e<c.length;e++){var f=c.charAt(e),h=d;if(!h.isExpanded_){for(var k=l(h.prefix_?h.matchIndices_:jbb(h.items_.length)),q=k.next();!q.done;q=k.next()){var t=h;q=q.value;for(var w=t.prefix_+"\ufdc7",y=l(t.items_[q].terms),C=y.next();!C.done;C=y.next())C=C.value,C.length<=t.prefix_.length||C<t.prefix_||C>w||(C=C.charAt(t.prefix_.length),t.childNodes_[C]||(t.childNodes_[C]=new C1(t.items_,t.prefix_+C)),t.childNodes_[C].matchIndices_.set(q))}h.isExpanded_=
!0}d=d.childNodes_[f]||D1;if(d===D1)break}return d}).reduce(function(c,d){return c.and(d)}):this};var KAc=function(a){a.isExpanded_=!1;for(var b=l(Object.keys(a.childNodes_)),c=b.next();!c.done;c=b.next())c=a.childNodes_[c.value],c.isExpanded_&&KAc(c)};C1.prototype.and=function(a){a=this.matchIndices_.and(a.matchIndices_);return new C1(this.items_,"\u2026",a)};C1.prototype.or=function(a){a=this.matchIndices_.or(a.matchIndices_);return new C1(this.items_,"\u2026",a)};var D1=new C1([]);
D1.isExpanded_=!0;var LAc=function(a,b,c){this.expiry_=a;this.value_=b;this.stale_=c};LAc.prototype.getExpiry=function(){return this.expiry_};LAc.prototype.getValue=function(){return this.value_};LAc.prototype.isExpired=function(){return this.expiry_<Date.now()};LAc.prototype.isStale=function(){return this.stale_<Date.now()};var MAc=function(a){this.shouldEvictItem_=a;this.items_=new Map};g=MAc.prototype;g.size=function(){return this.items_.size};g.clear=function(){this.items_.clear()};g.has=function(a){return this.items_.has(a)};g.get=function(a){var b=this.items_.get(a);this.items_.has(a)&&(this.items_.delete(a),this.items_.set(a,b));return b};
g.set=function(a,b){this.items_.has(a)&&this.items_.delete(a);this.items_.set(a,b);b=l(this.items_.entries().next().value);a=b.next().value;b=b.next().value;this.shouldEvictItem_(a,b)&&this.items_.delete(a);return this};g.delete=function(a){return this.items_.delete(a)};g.compact=function(){for(var a=0,b=l(this.items_),c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;this.shouldEvictItem_(c,d)&&(this.items_.delete(c),a++)}return a};
var NAc=function(){var a=new MAc(function(){return 1E3<a.size()});return a};var OAc=function(a,b){var c=this;this.capacity_=a;this.itemFactory_=b;this.delegate_=new MAc(function(d,e){return e.isExpired()||c.delegate_.size()>c.capacity_})};g=OAc.prototype;g.get=function(a){var b=this.delegate_.get(a);if(b)if(b.isExpired())this.delegate_.delete(a);else return b.getValue()};g.set=function(a,b){b=this.itemFactory_(b);this.delegate_.set(a,b);return this};g.has=function(a){return!!this.get(a)};g.size=function(){return this.delegate_.size()};g.clear=function(){this.delegate_.clear()};
g.delete=function(a){return this.delegate_.delete(a)};g.compact=function(){return this.delegate_.compact()};var E1=function(a,b){return new OAc(a,function(c){var d=Date.now()+b;return new LAc(d,c,d)})};var F1=function(a){this.internalArray_=m(a)};Y(F1,n);g=F1.prototype;g.getSuggestMaxResults=function(){return Xh(this,1,10)};g.getSearchMaxResults=function(){return Xh(this,2,10)};g.getCacheSize=function(){return Xh(this,3,500)};g.setCacheSize=function(a){dj(this,3,a)};g.hasCacheSize=function(){return Ii(this,3)};g.getCacheStaleSec=function(){return pl(this,4,86400)};g.getCacheExpiredSec=function(){return pl(this,5,1209600)};g.getRpcTimeoutSec=function(){return pl(this,12,60)};
g.getSuggestFormat=function(){return Li(this,15,1)};g.getSearchFormat=function(){return Li(this,16,1)};F1.repeatedFields_=[24,25];var lbb=new Set([10,11]);var PAc=function(a){this.interleaveGroups_=Hi(a,33,!1)},QAc=function(a,b,c){return b.filter(function(d){return 8!==d.provenance}).sort(function(d,e){a:{var f=a.interleaveGroups_;switch(c){case 2:d=mbb(d,e,f,!0);break a;default:d=nbb(d,e,f)}}return d}).map(function(d){return String(d.id)})};var RAc=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new PAc(e);this.indexes_=E1(Xh(e,8,250),1E3*pl(e,9,3600));this.maxResults_=e.getSearchMaxResults()};g=RAc.prototype;g.getCacheType=function(){return 3};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d;return qe(function(e){switch(e.nextAddress){case 1:c=w1(new ws,!0).setProvenance(7).setCode(0);if(b.canSkipFetch_(a))return e.return(w1(c,!1));re(e,2);return e.yield(b.adapter_.search(a.getPrefix(),b.maxResults_),4);case 4:d=e.yieldResult;tt(e,3);break;case 2:return ve(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new ms),e.return(c)}catch(f){return e.return(c.setCode(13))}}})};
g.canSkipFetch_=function(a){return a.isSuggestQuery()?!0:3===a.queryScope()?!1:this.indexes_.has(a.getPrefix())?!0:!1};g.index=function(a,b){for(var c=QAc(this.ranker_,b,1),d=l(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=SAc(this.trieFactory_,c);this.indexes_.set(a.getPrefix(),b)};g.search=function(a){return a.isSuggestQuery()||!this.indexes_.has(a.getPrefix())?[]:this.indexes_.get(a.getPrefix()).search([]).getMatches(a.getCollector())};
g.getName=function(){return this.adapter_.getName()};var TAc=function(a,b,c){this.adapter_=a;this.targetFactory_=b;this.indexer_=c};TAc.prototype.getStageType=function(){return 2};TAc.prototype.index_=function(a,b){for(var c=l(a),d=c.next();!d.done;d=c.next())this.targetFactory_.processItem(d.value);this.indexer_.storeItems(a,b)};
TAc.prototype.lookup=function(a){var b=this,c,d,e,f,h,k,q,t,w;return qe(function(y){switch(y.nextAddress){case 1:return c=new Map,d=w1(new ws,!0).setProvenance(7).setCode(0),e=3===a.queryScope(),f=UAc(a),re(y,2),y.yield(b.adapter_.lookup(f),4);case 4:h=y.yieldResult;tt(y,3);break;case 2:return ve(y),d.setCode(13),a.notify(c,[],d),y.return();case 3:b.index_(h,e);k=l(f);for(q=k.next();!q.done;q=k.next())t=q.value,(w=b.indexer_.load(t,a.getFormat(),a.getOptions().useOriginalDisplayValue_))&&c.set(t,
w);a.notify(c,[],d);we(y)}})};var VAc=function(a,b){this.metrics_=a;this.state_=new LQ(b);this.source=b;this.label_="total"};VAc.prototype.call=function(){this.metrics_.count(this.state_);this.metrics_.start(this.state_,this.label_)};VAc.prototype.result=function(a){this.metrics_.stop(this.state_,this.label_);this.metrics_.status(this.state_,a)};var WAc=function(a,b){this.metrics_=a;this.state_=new LQ(b);this.source=b};WAc.prototype.increment=function(a){this.metrics_.count(this.state_,void 0===a?1:a)};var XAc=function(a,b){this.metrics_=a;this.state_=new LQ(b);this.source=b};XAc.prototype.report=function(){this.metrics_.error(this.state_)};var $r=function(a){this.internalArray_=m(a)};Y($r,n);$r.prototype.hasNoChanges=function(){return Gi(this,12)};var Zr=function(a){this.internalArray_=m(a)};Y(Zr,n);Zr.prototype.getEventType=function(){return Li(this,1,0)};Zr.prototype.setEventType=function(a){return hj(this,1,a)};var as=function(a,b){return hj(a,2,b)},Ubb=function(a,b){return hj(a,3,b)};g=Zr.prototype;g.getErrorType=function(){return Li(this,6,0)};g.setErrorType=function(a){return hj(this,6,a)};g.getIdType=function(){return Li(this,8,0)};g.setIdType=function(a){hj(this,8,a)};g.getResultIndex=function(){return Xh(this,9,0)};
g.setResultIndex=function(a){dj(this,9,a)};g.getToken=function(){return xi(this,10,"")};g.setToken=function(a){return gj(this,10,a)};g.getCacheState=function(){return vi(this,x1,11)};g.setCacheState=function(a){return ej(this,x1,11,a)};g.hasCacheState=function(){return Pi(this,x1,11)};g.getQueryLength=function(){return Xh(this,14)};g.setQueryLength=function(a){return dj(this,14,a)};g.hasQueryLength=function(){return Ii(this,14)};g.getItemCount=function(){return Xh(this,15)};
g.setItemCount=function(a){return dj(this,15,a)};g.hasItemCount=function(){return Ii(this,15)};g.getLookupInfo=function(){return vi(this,$r,16)};g.setLookupInfo=function(a){return ej(this,$r,16,a)};g.hasLookupInfo=function(){return Pi(this,$r,16)};g.getQueryScope=function(){return Li(this,17,0)};g.setQueryScope=function(a){return hj(this,17,a)};g.hasQueryScope=function(){return Ji(this,17)};var YAc=function(a,b){this.delegate_=a;this.trackers_=b;this.name=a.name};YAc.prototype.search=function(a){var b=this,c,d;return qe(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(66),c.start(),re(e,2,3),e.yield(b.delegate_.search(a),5);case 5:return e.return(e.yieldResult);case 3:te(e);c.stop();ue(e,0);break;case 2:throw d=ve(e),b.trackers_.error(36,11).report(),d;}})};
YAc.prototype.lookup=function(a){var b=this,c,d;return qe(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(67),c.start(),re(e,2,3),e.yield(b.delegate_.lookup(a),5);case 5:return e.return(e.yieldResult);case 3:te(e);c.stop();ue(e,0);break;case 2:throw d=ve(e),b.trackers_.error(37,11).report(),d;}})};var ZAc=function(a,b){this.delegate_=a;this.trackers_=b;this.name=a.name};ZAc.prototype.getPosition=function(){try{return this.delegate_.getPosition()}catch(a){throw this.trackers_.error(38,11).report(),a;}};
ZAc.prototype.warmUpCache=function(){var a=this,b,c;return qe(function(d){switch(d.nextAddress){case 1:return b=a.trackers_.latency(65),b.start(),re(d,2,3),d.yield(a.delegate_.warmUpCache(),5);case 5:return d.return(d.yieldResult);case 3:te(d);b.stop();ue(d,0);break;case 2:throw c=ve(d),a.trackers_.error(35,11).report(),c;}})};ZAc.prototype.needsWarmUp=function(){try{return this.delegate_.needsWarmUp()}catch(a){throw this.trackers_.error(38,11).report(),a;}};var $Ac=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new PAc(e);this.index_=D1};g=$Ac.prototype;g.getCacheType=function(){switch(this.adapter_.getPosition()){case 1:return 2;case 2:return 3;default:return 0}};g.flush=function(){this.index_=D1};
g.fetch=function(a){var b=this,c,d;return qe(function(e){switch(e.nextAddress){case 1:c=w1(new ws,!0).setProvenance(7).setCode(0);if(b.index_!=D1&&!b.adapter_.needsWarmUp())return e.return(w1(c,!1));re(e,2);return e.yield(b.adapter_.warmUpCache(),4);case 4:d=e.yieldResult;tt(e,3);break;case 2:return ve(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new ms),e.return(c)}catch(f){return e.return(c.setCode(13))}}})};
g.index=function(a,b){a=QAc(this.ranker_,b,1);for(var c=l(b),d=c.next();!d.done;d=c.next())this.targetFactory_.processItem(d.value);this.storage_.storeItems(1,b);this.index_=SAc(this.trieFactory_,a)};g.search=function(a){var b=this;this.adapter_.needsWarmUp()&&Promise.resolve().then(function(){return b.fetch(a)});return this.index_.search(a.getTerms()).getMatches(a.getCollector())};g.getName=function(){return this.adapter_.getName()};var aBc=function(a,b,c){this.indexLatency_=a;this.searchLatency_=b;this.errorType_=c};aBc.prototype.getErrorType=function(){return this.errorType_};var G1=function(a,b,c){this.delegate_=a;this.trackers_=b;this.indexingLabel_=c.indexLatency_;this.searchLabel_=c.searchLatency_;this.errorLabel_=c.getErrorType()};g=G1.prototype;g.getCacheType=function(){return this.delegate_.getCacheType()};g.flush=function(){try{this.delegate_.flush()}catch(a){throw this.trackers_.error(this.errorLabel_,15).report(),a;}};g.fetch=function(a){try{return this.delegate_.fetch(a)}catch(b){throw this.trackers_.error(this.errorLabel_,14).report(),b;}};
g.index=function(a,b,c){var d=this.trackers_.latency(this.indexingLabel_);d.start();try{this.delegate_.index(a,b,c)}catch(e){throw this.trackers_.error(this.errorLabel_,10).report(),e;}finally{d.stop()}};g.search=function(a){var b=this.trackers_.latency(this.searchLabel_);b.start();try{return this.delegate_.search(a)}catch(c){throw this.trackers_.error(this.errorLabel_,13).report(),c;}finally{b.stop()}};g.getName=function(){return this.delegate_.getName()};var bBc=function(a,b){this.provider_=a;this.itemFactory_=b};bBc.prototype.search=function(a,b){var c=this,d;return qe(function(e){if(1==e.nextAddress)return 1>b?e.return([]):e.yield(c.provider_.search((new Xsc).setQuery(a).setMaxResults(b)),2);d=e.yieldResult;return e.return(cBc(d))})};bBc.prototype.lookup=function(a){var b=this,c;return qe(function(d){if(1==d.nextAddress)return a.length?d.yield(b.provider_.lookup(a),2):d.return([]);c=d.yieldResult;return d.return(cBc(c))})};
bBc.prototype.getName=function(){return this.provider_.name};var dBc=function(a,b){this.provider_=a;this.itemFactory_=b};dBc.prototype.getPosition=function(){return this.provider_.getPosition()};dBc.prototype.needsWarmUp=function(){return this.provider_.needsWarmUp()};dBc.prototype.warmUpCache=function(){var a=this,b;return qe(function(c){if(1==c.nextAddress)return c.yield(a.provider_.warmUpCache(),2);b=c.yieldResult;return c.return(cBc(b))})};dBc.prototype.getName=function(){return this.provider_.name};var eBc=new aBc(68,69,38);var fBc=function(){},gBc=function(a){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=void 0,e=[],f=l(c.getTargetList()),h=f.next();!h.done;h=f.next())h=sbb(c,h.value,7),e.push(String(h.id)),h.coalescedKeys=e,d||(d=h),b.push(h);d&&ur(d.id)&&(e=void 0,d.totalMemberCount=null!=(e=c.getTotalMemberCountOrUndefined())?e:void 0,d.memberKeys=c.getMemberList().map(function(k){for(var q=l(k.getTargetList()).next();!q.done;)return k=sbb(k,q.value,8),b.push(k),String(k.id)}))}return b},
cBc=function(a){a=a.getResultList();return gBc(a)};var hBc=function(){};hBc.prototype.processItem=function(){};var iBc=new hBc;var jBc=function(a,b,c){this.encryptionSupport_=a;this.certificateStatus_=b;this.certificateExpirySec_=c};jBc.prototype.getEncryptionSupport=function(){return this.encryptionSupport_};var zbb=function(a,b,c){a=void 0===a?1:a;b=void 0===b?0:b;c=void 0===c?!1:c;4===a&&Date.now()/1E3>b&&(a=3);return new jBc(4===a?c?4:3:c?2:1,a,b)};var kBc=function(){this.iconUrl_=this.altText_=""},xbb=function(a){var b=new kBc;b.altText_=a||"";return b};kBc.prototype.getIconUrl=function(){return this.iconUrl_};kBc.prototype.setIconUrl=function(a){this.iconUrl_=a||"";return this};var lBc=function(a){this.delegate_=a};lBc.prototype.processItem=function(a){a.target=Abb(a);this.delegate_.processItem(a);a.resultData&&delete a.resultData;a.targetData&&delete a.targetData};var mBc=function(){};
mBc.prototype.configure=function(a){var b=a.clientConfig,c=a.trackers,d=a.storage,e=a.indexer,f=a.trieFactory,h=a.prefixCaches;a=a.lookupStages;var k=b.runtimeConfig_.customDataConfig_;if(k){b=b.getClient();var q=new fBc;var t=void 0===t?iBc:t;t=new lBc(t);for(var w=[],y=l(k.staticDataProviders_.reverse()),C=y.next();!C.done;C=y.next()){var J=C=C.value;J=new ZAc(J,c);J=new G1(new $Ac(new dBc(J,q),t,f,d,b),c,eBc);switch(C.getPosition()){case 1:w.push(J);break;case 2:h.push(J);break;default:throw Error("Ze");
}}w.length&&h.splice.apply(h,[0,0].concat(u(w)));k=l(k.dynamicDataProviders_);for(w=k.next();!w.done;w=k.next())y=w=w.value,y=new YAc(y,c),y=new RAc(new bBc(y,q),t,f,d,b),y=new G1(y,c,eBc),h.push(y),w=new YAc(w,c),a.push(new TAc(new bBc(w,q),t,e))}};var H1=function(a){this.internalArray_=m(a)};Y(H1,n);g=H1.prototype;g.getEnableClearcut=function(){return Hi(this,1,!1)};g.setEnableClearcut=function(a){return cj(this,1,a)};g.getSocialApplication=function(){return Li(this,2,0)};g.getSocialApplicationOrUndefined=function(){return ss(this,2)};g.setEventSources=function(a){Qt(this,5,rs,a)};H1.repeatedFields_=[5,6];var I1=function(a){this.internalArray_=m(a)};Y(I1,n);I1.prototype.getApplication=function(){return Li(this,1,0)};I1.prototype.setApplication=function(a){return hj(this,1,a)};I1.prototype.getApplicationOrUndefined=function(){return ss(this,1)};I1.prototype.getIsEnabled=function(){return Hi(this,2,!1)};var J1=function(a){this.internalArray_=m(a)};Y(J1,n);J1.prototype.getApiKey=function(){return xi(this,1,"")};J1.prototype.setApiKey=function(a){return gj(this,1,a)};var K1=function(a){this.internalArray_=m(a)};Y(K1,n);g=K1.prototype;g.getClientId=function(){return xi(this,1,"CLIENT_UNSPECIFIED")};g.setClientId=function(a){return gj(this,1,a)};g.getAffinityType=function(){return xi(this,4,"AFFINITY_TYPE_UNKNOWN")};g.setAffinityType=function(a){return gj(this,4,a)};g.getContainerType=function(){return JLb(this,7)};K1.repeatedFields_=[7,8];var nBc=function(a){this.internalArray_=m(a)};Y(nBc,n);g=nBc.prototype;g.getClient=function(){return vi(this,F1,1)};g.setClient=function(a){return ej(this,F1,1,a)};g.hasClient=function(){return Pi(this,F1,1)};g.getGapi=function(){return vi(this,J1,2)};g.getPeopleApi=function(){return vi(this,K1,3)};g.getClearcut=function(){return vi(this,H1,4)};g.setClearcut=function(a){ej(this,H1,4,a)};g.hasClearcut=function(){return Pi(this,H1,4)};g.getExperiments=function(){return vi(this,I1,5)};
g.setExperiments=function(a){ej(this,I1,5,a)};g.hasExperiments=function(){return Pi(this,I1,5)};var oBc=tda(nBc);var pBc;var L1=function(a,b){this.delegate_=a;this.runtimeConfig_=b||new ctc;a=this.getPeopleApi();aj(a,7).length||oj(a,7,[2,8,1,7,10,11]);Yh(a,8).length||pj(a,8,["person.name","person.photo","person.email","person.phone","person.metadata"]);b=l(Yh(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":Pb(a,8,tb,c+".metadata.verified")}};L1.prototype.getClient=function(){this.delegate_.hasClient()||this.delegate_.setClient(new F1);return this.delegate_.getClient()};
L1.prototype.getGapi=function(){if(!Pi(this.delegate_,J1,2)){var a=this.delegate_,b=new J1;ej(a,J1,2,b)}return this.delegate_.getGapi()};L1.prototype.getPeopleApi=function(){if(!Pi(this.delegate_,K1,3)){var a=this.delegate_,b=new K1;ej(a,K1,3,b)}return this.delegate_.getPeopleApi()};L1.prototype.getClearcut=function(){this.delegate_.hasClearcut()||this.delegate_.setClearcut(new H1);return this.delegate_.getClearcut()};
var qBc=function(a){a.delegate_.hasExperiments()||a.delegate_.setExperiments(new I1);return a.delegate_.getExperiments()};L1.prototype.getAuthErrorHandler=function(){return this.runtimeConfig_.getAuthErrorHandler()};var rBc=function(a){a=a.getClient();return Xh(a,6,500)?Math.min(Math.round(Xh(a,6,500)/4),500):500};var sBc;var qs=null;var tBc=function(a,b){this.isOrgStateEnabled_=a.runtimeConfig_.isOrgStateEnabled_;this.delegate_=b};tBc.prototype.processItem=function(a){this.delegate_.processItem(a);a=a.target;this.isOrgStateEnabled_||(a.orgState_=0)};var M1=function(a){this.internalArray_=m(a)};Y(M1,n);M1.prototype.setDevice=function(a){return hj(this,1,a)};var uBc=function(a){this.internalArray_=m(a)};Y(uBc,n);g=uBc.prototype;g.getAffinityType=function(){return ds(this,1)};g.setAffinityType=function(a){return hj(this,1,a)};g.getQuery=function(){return wj(this,2)};g.setQuery=function(a){return gj(this,2,a)};g.clearQuery=function(){lm(this,2)};g.hasQuery=function(){return yi(this,2)};g.setClientInformation=function(a){ej(this,M1,3,a)};g.setMaxResults=function(a){return dj(this,4,a)};var vBc=function(a){this.internalArray_=m(a)};Y(vBc,n);var wBc=function(a){if(null!=a)return $b(a),{featureType:Li(a,1,0),weight:pl(a,2,0),exponent:pl(a,3,1)}};var N1=function(a){this.internalArray_=m(a)};Y(N1,n);g=N1.prototype;g.getAffinityVersion=function(){return Tt(this,1)};g.setAffinityVersion=function(a){dj(this,1,a)};g.getAffinityVersionOrUndefined=function(){return Yt(this,1)};g.getAffinityType=function(){return wj(this,4)};g.setAffinityType=function(a){return gj(this,4,a)};N1.repeatedFields_=[3];var xBc=function(a){this.internalArray_=m(a)};Y(xBc,n);var yBc=function(a){this.internalArray_=m(a)};Y(yBc,n);var zBc=function(a){this.internalArray_=m(a)};Y(zBc,n);zBc.prototype.getCode=function(){return xi(this,1)};zBc.prototype.setCode=function(a){return gj(this,1,a)};var O1=function(a){this.internalArray_=m(a)};Y(O1,n);O1.prototype.getPhoneNumber=function(){return vi(this,yBc,1)};O1.prototype.getType=function(){return xi(this,3)};O1.prototype.setType=function(a){return gj(this,3,a)};O1.prototype.hasType=function(){return yi(this,3)};var ABc=function(a){this.internalArray_=m(a)};Y(ABc,n);var Yr=function(a){this.internalArray_=m(a)};Y(Yr,n);
var BBc=function(a){if(null!=a){$b(a);var b=Zb(ds(a,1));var c=vi(a,ABc,2);if(null!=c){$b(c);c=vi(c,O1,1);if(null!=c){$b(c);var d=c.getPhoneNumber();if(null!=d){$b(d);var e=Zb(wj(d,1));d=vi(d,xBc,2);null!=d?($b(d),d={nationalNumber:Zb(wj(d,1)),internationalNumber:Zb(wj(d,2)),countryCode:Zb(Tt(d,3)),regionCode:Zb(wj(d,4)),isValid:Zb(Vr(d,5)),validationResult:Zb(ds(d,6))}):d=void 0;e={e164:e,i18nData:d}}else e=void 0;d=vi(c,zBc,2);null!=d?($b(d),d={code:Zb(wj(d,1)),countryCode:Zb(wj(d,2))}):d=void 0;
c={phoneNumber:e,shortCode:d,type:Zb(wj(c,3)),formattedType:Zb(wj(c,4))}}else c=void 0;c={structuredPhone:c}}else c=void 0;return{grammaticalGender:b,phoneExtendedData:c,suggestionConfidence:Zb(ds(a,3))}}};var P1=function(a){this.internalArray_=m(a)};Y(P1,n);P1.prototype.getValue=function(){return wj(this,1)};P1.prototype.getValue_legacyNullable=function(){return wj(this,1)};P1.prototype.setValue=function(a){return gj(this,1,a)};P1.prototype.hasValue=function(){return yi(this,1)};var Q1=function(a){this.internalArray_=m(a)};Y(Q1,n);g=Q1.prototype;g.getLoggingId=function(){return rq(this,1)};g.setLoggingId=function(a){lm(this,1,bb(a,!1,!0,!1))};g.getValue=function(){return pq(this,2)};g.getValue_legacyNullable=function(){return pq(this,2)};g.setValue=function(a){return lm(this,2,kb(a))};g.hasValue=function(){return null!=pq(this,2)};var CBc=function(a){if(null!=a)return $b(a),{loggingId:sda(a.getLoggingId()),value:Zb(pq(a,2))}};var DBc=function(a){this.internalArray_=m(a)};Y(DBc,n);g=DBc.prototype;g.getValue=function(){return wj(this,1)};g.getValue_legacyNullable=function(){return wj(this,1)};g.setValue=function(a){return gj(this,1,a)};g.hasValue=function(){return yi(this,1)};g.getGivenName=function(){return wj(this,2)};g.setGivenName=function(a){return gj(this,2,a)};g.hasGivenName=function(){return yi(this,2)};g.getFamilyName=function(){return wj(this,3)};g.setFamilyName=function(a){return gj(this,3,a)};
g.hasFamilyName=function(){return yi(this,3)};g.getSourceType=function(){return ds(this,4)};g.setSourceType=function(a){return hj(this,4,a)};var EBc=function(a){this.internalArray_=m(a)};Y(EBc,n);g=EBc.prototype;g.getUrl=function(){return wj(this,1)};g.setUrl=function(a){return gj(this,1,a)};g.hasUrl=function(){return yi(this,1)};g.getType=function(){return ds(this,2)};g.setType=function(a){return hj(this,2,a)};g.hasType=function(){return Ji(this,2)};g.getGlyph=function(){return wj(this,3)};g.setGlyph=function(a){return gj(this,3,a)};var R1=function(a){this.internalArray_=m(a)};Y(R1,n);g=R1.prototype;g.getPhoto=function(){return vi(this,EBc,1)};g.setPhoto=function(a){ej(this,EBc,1,a)};g.hasPhoto=function(){return Pi(this,EBc,1)};g.getName=function(){return vi(this,DBc,2)};g.setName=function(a){return ej(this,DBc,2,a)};g.hasName=function(){return Pi(this,DBc,2)};g.getAffinity=function(){return vi(this,Q1,3)};g.hasAffinity=function(){return Pi(this,Q1,3)};g.getPrimary=function(){return Vr(this,4)};
var FBc=function(a){if(null!=a){$b(a);var b=a.getPhoto();null!=b?($b(b),b={url:Zb(wj(b,1)),type:Zb(ds(b,2)),glyph:Zb(wj(b,3))}):b=void 0;var c=a.getName();null!=c?($b(c),c={value:Zb(wj(c,1)),givenName:Zb(wj(c,2)),familyName:Zb(wj(c,3)),sourceType:Zb(ds(c,4))}):c=void 0;return{photo:b,name:c,affinity:CBc(a.getAffinity()),primary:Zb(Vr(a,4))}}};var S1=function(a){this.internalArray_=m(a)};Y(S1,n);S1.prototype.getStatus=function(){return ds(this,2)};S1.prototype.setStatus=function(a){return hj(this,2,a)};S1.prototype.hasStatus=function(){return Ji(this,2)};var GBc=function(a){if(null!=a)return $b(a),{expirationTimestampSeconds:Zb(Ut(a,1)),status:Zb(ds(a,2)),configurationName:Zb(wj(a,3))}};var HBc=function(a){this.internalArray_=m(a)};Y(HBc,n);var cs=function(a){this.internalArray_=m(a)};Y(cs,n);cs.prototype.getState=function(){return ds(this,2)};cs.prototype.setState=function(a){return hj(this,2,a)};var IBc=function(a){if(null!=a)return $b(a),{contextType:Zb(ds(a,1)),state:Zb(ds(a,2))}};var T1=function(a){this.internalArray_=m(a)};Y(T1,n);T1.prototype.getApplication=function(){return Li(this,1,0)};T1.prototype.setApplication=function(a){return hj(this,1,a)};T1.prototype.getApplicationOrUndefined=function(){return ss(this,1)};T1.repeatedFields_=[2];var U1=function(a){this.internalArray_=m(a)};Y(U1,n);U1.prototype.getValue=function(){return wj(this,1)};U1.prototype.getValue_legacyNullable=function(){return wj(this,1)};U1.prototype.setValue=function(a){return gj(this,1,a)};U1.prototype.hasValue=function(){return yi(this,1)};U1.repeatedFields_=[2];var Pr=function(a){this.internalArray_=m(a)};Y(Pr,n);g=Pr.prototype;g.getProfileId=function(){return wj(this,1)};g.getProfileId_legacyNullable=function(){return wj(this,1)};g.setProfileId=function(a){return gj(this,1,a)};g.hasProfileId=function(){return yi(this,1)};g.getEmail=function(){return qq(this,2,Sr)};g.getEmail_legacyNullable=function(){return qq(this,2,Sr)};g.setEmail=function(a){return vl(this,2,Sr,a)};g.hasEmail=function(){return null!=qq(this,2,Sr)};
g.getPhone=function(){return qq(this,3,Sr)};g.getPhone_legacyNullable=function(){return qq(this,3,Sr)};g.setPhone=function(a){return vl(this,3,Sr,a)};g.hasPhone=function(){return null!=qq(this,3,Sr)};var Sr=[2,3];var V1=function(a){this.internalArray_=m(a)};Y(V1,n);V1.prototype.getDisplayValue=function(){return wj(this,1)};V1.prototype.getCanonicalValue=function(){return wj(this,2)};V1.prototype.setCanonicalValue=function(a){return gj(this,2,a)};V1.prototype.getOriginalValue=function(){return wj(this,3)};var JBc=function(a){this.internalArray_=m(a)};Y(JBc,n);JBc.prototype.getStatus=function(){return ds(this,1)};JBc.prototype.setStatus=function(a){return hj(this,1,a)};JBc.prototype.hasStatus=function(){return Ji(this,1)};var KBc=function(a){this.internalArray_=m(a)};Y(KBc,n);var Gbb=function(a){this.internalArray_=m(a)};Y(Gbb,n);g=Gbb.prototype;g.getIdCase=function(){return sn(this,W1)};g.getProfileId=function(){return qq(this,1,W1)};g.getProfileId_legacyNullable=function(){return qq(this,1,W1)};g.setProfileId=function(a){return vl(this,1,W1,a)};g.hasProfileId=function(){return null!=qq(this,1,W1)};g.getContactId=function(){return qq(this,2,W1)};g.setContactId=function(a){vl(this,2,W1,a)};
var W1=[1,2],LBc=function(a){if(null!=a)return $b(a),{profileId:Zb(qq(a,1,W1)),contactId:Zb(qq(a,2,W1))}};var X1=function(a){this.internalArray_=m(a)};Y(X1,n);g=X1.prototype;g.getValueCase=function(){return sn(this,Qr)};g.getDisplayInfo=function(){return vi(this,R1,1)};g.hasDisplayInfo=function(){return Pi(this,R1,1)};g.getEmail=function(){return ql(this,U1,2,Qr)};g.setEmail=function(a){return wl(this,2,Qr,a)};g.hasEmail=function(){return cm(this,U1,2,Qr)};g.getPhone=function(){return ql(this,V1,3,Qr)};g.setPhone=function(a){return wl(this,3,Qr,a)};g.hasPhone=function(){return cm(this,V1,3,Qr)};
g.getIsSelf=function(){return Vr(this,6)};g.getTypeLabel=function(){return wj(this,10)};X1.repeatedFields_=[5];
var Qr=[2,3,4],MBc=function(a){if(null!=a){$b(a);var b=FBc(a.getDisplayInfo());var c=a.getEmail();if(null!=c){$b(c);var d=Zb(wj(c,1));var e=Yb(zi(c,S1,2),GBc);var f=vi(c,HBc,3);null!=f?($b(f),f={smtpServerSupportsTls:Zb(Vr(f,1)),usesConfusingCharacters:Zb(Vr(f,2))}):f=void 0;c=vi(c,T1,4);null!=c?($b(c),c={application:Li(c,1,0),stateStatusList:Yb(zi(c,cs,2),IBc)}):c=void 0;d={value:d,certificatesList:e,securityInfo:f,internalExternal:c}}else d=void 0;e=a.getPhone();null!=e?($b(e),e={displayValue:Zb(wj(e,
1)),canonicalValue:Zb(wj(e,2)),originalValue:Zb(wj(e,3))}):e=void 0;c=ql(a,Pr,4,Qr);null!=c?($b(c),c={profileId:Zb(wj(c,1)),email:Zb(qq(c,2,Sr)),phone:Zb(qq(c,3,Sr)),clientData:Zb(wj(c,4))}):c=void 0;f=Yb(zi(a,Gbb,5),LBc);var h=Zb(Vr(a,6)),k=Zb(Vr(a,7)),q=Zb(Vr(a,8)),t=BBc(vi(a,Yr,9)),w=Zb(wj(a,10)),y=Zb(Vr(a,11));var C=vi(a,KBc,12);null!=C?($b(C),C={directUserMemberCount:Zb(Ut(C,1)),directGroupMemberCount:Zb(Ut(C,2))}):C=void 0;var J=vi(a,JBc,13);null!=J?($b(J),J={status:Zb(ds(J,1)),clientData:Zb(wj(J,
2))}):J=void 0;a=vi(a,P1,14);null!=a?($b(a),a={value:Zb(wj(a,1))}):a=void 0;return{displayInfo:b,email:d,phone:e,inAppTarget:c,sourceIdsList:f,isSelf:h,isGoogleGroup:k,isPersonal:q,peopleStackFieldExtendedData:t,typeLabel:w,isBlocked:y,rosterDetails:C,reachability:J,disambiguationLabel:a}}};var NBc=function(a){this.internalArray_=m(a)};Y(NBc,n);g=NBc.prototype;g.getDisplayInfo=function(){return vi(this,R1,1)};g.hasDisplayInfo=function(){return Pi(this,R1,1)};g.getMembersList=function(){return zi(this,X1,2)};g.setMembersList=function(a){return Zl(this,2,a)};g.getLabelId=function(){return wj(this,3)};NBc.repeatedFields_=[2];var OBc=function(a){this.internalArray_=m(a)};Y(OBc,n);OBc.prototype.getHideType=function(){return ds(this,1)};OBc.prototype.getHiddenKeysList=function(){return zi(this,nyc,3)};OBc.repeatedFields_=[3];var PBc=function(a){this.internalArray_=m(a)};Y(PBc,n);PBc.prototype.getRelation=function(){return ds(this,1)};PBc.prototype.setRelation=function(a){hj(this,1,a)};var QBc=function(a){if(null!=a)return $b(a),{relation:Zb(ds(a,1))}};var RBc=function(a){this.internalArray_=m(a)};Y(RBc,n);RBc.prototype.getDescription=function(){return wj(this,6)};RBc.prototype.setDescription=function(a){return gj(this,6,a)};RBc.prototype.hasDescription=function(){return yi(this,6)};var SBc=function(a){this.internalArray_=m(a)};Y(SBc,n);var Ur=function(a){this.internalArray_=m(a,5)};Y(Ur,n);Ur.prototype.getIsPlaceholder=function(){return Hi(this,2)};Ur.prototype.setIsPlaceholder=function(a){cj(this,2,a)};Ur.prototype.getContactId=function(){return Ui(this,4)};Ur.prototype.setContactId=function(a){nj(this,4,a)};
var TBc={},UBc=function(a){if(null!=a){$b(a);var b=vi(a,RBc,1);if(null!=b){$b(b);var c=Zb(ds(b,4)),d=Zb(ds(b,1)),e=Zb(Ut(b,2)),f=Zb(wj(b,3)),h=Zb(wj(b,5)),k=Zb(wj(b,6)),q=Zb(ds(b,7));var t=vi(b,SLb,8);if(null!=t){$b(t);var w=ql(t,QLb,1,TLb);null!=w?($b(w),w={}):w=void 0;t=ql(t,RLb,2,TLb);null!=t?($b(t),t=t.getCustomerId(),null!=t?($b(t),t={customerId:Zb(wj(t,1))}):t=void 0,t={customerId:t}):t=void 0;w={consumerInfo:w,customerInfo:t}}else w=void 0;t=vi(b,cu,9);null!=t?($b(t),t={valueList:Yb(t.getValueList(),
VLb)}):t=void 0;b={entityType:c,presence:d,memberCount:e,avatarUrl:f,developerName:h,description:k,dndState:q,organizationInfo:w,segmentedMembershipCounts:t,isMembershipVisibleToCaller:Zb(Vr(b,10))}}else b=void 0;c=Zb(Vr(a,2));d=vi(a,SBc,3);null!=d?($b(d),d={actorId:Zb(wj(d,1)),subtitle:Zb(wj(d,2))}):d=void 0;b={dynamiteExtendedData:b,isPlaceholder:c,paisaExtendedData:d,contactId:Zb(Ut(a,4))};qda(a,b,TBc);return b}};var Y1=function(a){this.internalArray_=m(a)};Y(Y1,n);Y1.prototype.getAffinity=function(){return vi(this,Q1,2)};Y1.prototype.hasAffinity=function(){return Pi(this,Q1,2)};Y1.prototype.getGroupMemberInfo=function(){return vi(this,PBc,6)};Y1.repeatedFields_=[1];
var VBc=function(a){if(null!=a){$b(a);var b=CBc(a.getAffinity()),c=Yb(zi(a,X1,1),MBc),d=UBc(vi(a,Ur,3));var e=vi(a,OBc,4);null!=e?($b(e),e={hideType:Zb(ds(e,1)),hiddenKeysList:Yb(e.getHiddenKeysList(),oyc),familyStatus:Zb(ds(e,2))}):e=void 0;return{affinity:b,contactMethodsList:c,clientSpecificData:d,peopleStackExtendedData:e,peopleStackPersonExtendedData:pyc(vi(a,Xr,5)),groupMemberInfo:QBc(a.getGroupMemberInfo())}}};var WBc=function(a){this.internalArray_=m(a)};Y(WBc,n);WBc.prototype.getOwnersList=function(){return zi(this,Y1,2)};WBc.prototype.setOwnersList=function(a){return Zl(this,2,a)};WBc.repeatedFields_=[2];var icb=function(a){this.internalArray_=m(a)};Y(icb,n);icb.prototype.getIdCase=function(){return sn(this,hs)};var hs=[1,2],XBc=function(a){if(null!=a)return $b(a),{rosterEmail:Zb(qq(a,1,hs)),externalResourceId:Zb(qq(a,2,hs))}};var YBc=function(a){this.internalArray_=m(a)};Y(YBc,n);var Z1=function(a){this.internalArray_=m(a)};Y(Z1,n);Z1.prototype.getType=function(){return ds(this,1)};Z1.prototype.setType=function(a){return hj(this,1,a)};Z1.prototype.hasType=function(){return Ji(this,1)};Z1.prototype.getGroupMemberInfo=function(){return vi(this,PBc,2)};var ZBc=function(a){if(null!=a)return $b(a),{type:Zb(ds(a,1)),groupMemberInfo:QBc(a.getGroupMemberInfo())}};var a2=function(a){this.internalArray_=m(a)};Y(a2,n);g=a2.prototype;g.getDisplayInfo=function(){return vi(this,R1,1)};g.hasDisplayInfo=function(){return Pi(this,R1,1)};g.getMembersList=function(){return zi(this,Y1,2)};g.setMembersList=function(a){return Zl(this,2,a)};g.getGroupId=function(){return wj(this,4)};g.setGroupId=function(a){gj(this,4,a)};g.hasGroupId=function(){return yi(this,4)};a2.repeatedFields_=[2,10,6];var b2=function(a){this.internalArray_=m(a)};Y(b2,n);b2.prototype.getGroup=function(){return ql(this,a2,2,c2)};b2.prototype.setGroup=function(a){wl(this,2,c2,a)};
var c2=[1,2,3],$Bc=function(a){if(null!=a){$b(a);var b=VBc(ql(a,Y1,1,c2));var c=a.getGroup();if(null!=c){$b(c);var d=FBc(c.getDisplayInfo()),e=Yb(c.getMembersList(),VBc),f=Yb(zi(c,Z1,10),ZBc),h=Zb(Tt(c,3)),k=Zb(wj(c,4)),q=Zb(wj(c,5)),t=Yb(zi(c,icb,6),XBc);var w=vi(c,YBc,7);null!=w?($b(w),w={endtimeUtc:XLb(vi(w,Xi,1))}):w=void 0;var y=vi(c,WBc,8);null!=y?($b(y),y={creator:VBc(vi(y,Y1,1)),ownersList:Yb(y.getOwnersList(),VBc)}):y=void 0;c={displayInfo:d,membersList:e,userSetsList:f,fullGroupSize:h,groupId:k,
groupType:q,groupAlternateIdList:t,groupEndtime:w,groupAdministration:y,createdAtUtc:XLb(vi(c,Xi,9))}}else c=void 0;a=ql(a,NBc,3,c2);null!=a?($b(a),a={displayInfo:FBc(a.getDisplayInfo()),membersList:Yb(a.getMembersList(),MBc),labelId:Zb(wj(a,3))}):a=void 0;return{person:b,group:c,contactLabel:a}}};var d2=function(a){this.internalArray_=m(a)};Y(d2,n);var aCc=ac(d2);d2.repeatedFields_=[1];var bCc=new mC("/peoplestack.PeopleStackAutocompleteService/Autocomplete",uBc,d2,function(a){return a.serialize()},aCc);var cCc=function(a){this.internalArray_=m(a)};Y(cCc,n);g=cCc.prototype;g.getAffinityType=function(){return ds(this,1)};g.setAffinityType=function(a){return hj(this,1,a)};g.setClientInformation=function(a){ej(this,M1,2,a)};g.getName=function(){return wj(this,3)};g.setName=function(a){return gj(this,3,a)};g.hasName=function(){return yi(this,3)};g.getNameOrUndefined=function(){return $t(this,3)};cCc.repeatedFields_=[7];var dCc=function(a){this.internalArray_=m(a)};Y(dCc,n);dCc.prototype.getGroup=function(){return vi(this,a2,1)};dCc.prototype.setGroup=function(a){ej(this,a2,1,a)};var eCc=new mC("/peoplestack.PeopleStackAutocompleteService/CreateGroup",cCc,dCc,function(a){return a.serialize()},ac(dCc));var bs=function(a){this.internalArray_=m(a)};Y(bs,n);g=bs.prototype;g.getIdCase=function(){return sn(this,e2)};g.getEmail=function(){return qq(this,1,e2)};g.getEmail_legacyNullable=function(){return qq(this,1,e2)};g.setEmail=function(a){return vl(this,1,e2,a)};g.hasEmail=function(){return null!=qq(this,1,e2)};g.getPhone=function(){return qq(this,2,e2)};g.getPhone_legacyNullable=function(){return qq(this,2,e2)};g.setPhone=function(a){return vl(this,2,e2,a)};
g.hasPhone=function(){return null!=qq(this,2,e2)};g.getProfileId=function(){return qq(this,3,e2)};g.getProfileId_legacyNullable=function(){return qq(this,3,e2)};g.setProfileId=function(a){return vl(this,3,e2,a)};g.hasProfileId=function(){return null!=qq(this,3,e2)};var e2=[1,2,3];var fCc=function(a){this.internalArray_=m(a)};Y(fCc,n);g=fCc.prototype;g.getAffinityType=function(){return ds(this,1)};g.setAffinityType=function(a){return hj(this,1,a)};g.setClientInformation=function(a){ej(this,M1,2,a)};g.setIdsList=function(a){Zl(this,3,a)};g.setIds=function(a){return Qt(this,3,bs,a)};fCc.repeatedFields_=[3];var gCc=function(a){this.internalArray_=m(a)};Y(gCc,n);gCc.prototype.getId=function(){return vi(this,bs,1)};gCc.prototype.setId=function(a){return ej(this,bs,1,a)};var hCc=[2,3];var iCc=function(a){this.internalArray_=m(a)};Y(iCc,n);var jCc=ac(iCc);iCc.repeatedFields_=[1];var kCc=new mC("/peoplestack.PeopleStackAutocompleteService/Lookup",fCc,iCc,function(a){return a.serialize()},jCc);var f2=function(a){this.internalArray_=m(a)};Y(f2,n);f2.prototype.getAffinityType=function(){return ds(this,1)};f2.prototype.setAffinityType=function(a){return hj(this,1,a)};f2.prototype.setClientInformation=function(a){ej(this,M1,2,a)};var lCc=function(a){this.internalArray_=m(a)};Y(lCc,n);var mCc=new mC("/peoplestack.PeopleStackAutocompleteService/Warmup",f2,lCc,function(a){return a.serialize()},ac(lCc));var nCc=function(a){var b={unaryInterceptors:[new pxc]};b=b||{};b.format="jspb";this.client_=new NC(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};nCc.prototype.autocomplete=function(a,b){return OC(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Autocomplete",a,b||{},bCc)};nCc.prototype.lookup=function(a,b){return OC(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Lookup",a,b||{},kCc)};
nCc.prototype.createGroup=function(a,b){return OC(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/CreateGroup",a,b||{},eCc)};var Pbb=Xb(417869898,{clientSpecificData:0},Ur,UBc);var Sbb=Xb(417866180,{peopleStackFieldData:0},Yr,BBc);var oCc=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},Mbb=function(a){if(!a)return 0;a=Array.from(a).map(oCc);a.sort();for(var b=1,c=0,d=a.length;c<d;c++)b=(b<<5)-b+a[c];return b};var Bbb=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 pCc=function(a){this.leanResponseProcessorConfig_=a},qCc=function(a,b,c,d){d=void 0===d?!1:d;for(var e=[],f=Rbb(b),h=[],k=l(zi(b,X1,1)),q=k.next();!q.done;q=k.next()){q=q.value;var t=Fbb(q);if(t.equals(Tr)){if(!a.leanResponseProcessorConfig_.allowEmptyTargets&&!d)continue;var w=Nbb(q);if(!w)continue;t=qbb(w)}h.push(String(t));var y=w=void 0;t={id:t,containerIds:Hbb(q),coalescedKeys:h,isMe:!!q.getIsSelf(),dataSource:Ibb(b,q),provenance:c,isPrimary:Lbb(null!=(w=q.getDisplayInfo())?w:null),itemAffinity:Kbb(b),
fieldAffinity:Jbb(null!=(y=q.getDisplayInfo())?y:null),contactMethod:q,person:b};f&&(t.resultExtendedData=f);if(q=Tbb(q))t.targetExtendedData=q;e.push(t)}e.length&&e.every(function(C){return!C.isPrimary})&&(e[0].isPrimary=!0);return e},rCc=function(a,b,c){var d=Lr(Cbb(wj(b,5)),b.getGroupId()||""),e=b.getMembersList().map(function(q){return qCc(a,q,8,!0)}),f=e.filter(function(q){return q&&q.length}).map(function(q){return String(q[0].id)}),h,k;d=[{id:d,containerIds:[d],memberKeys:f,totalMemberCount:null!=
(h=Yt(b,3))?h:void 0,provenance:c,isPrimary:!0,itemAffinity:Jbb(null!=(k=b.getDisplayInfo())?k:null),fieldAffinity:-Infinity,group:b}];b=l(e);for(c=b.next();!c.done;c=b.next())d.push.apply(d,u(c.value));return d},sCc=function(a,b){var c=zdc(a.getLabelId()||""),d=a.getMembersList().map(function(h){if(h.hasEmail()&&h.getEmail().getValue()){var k,q;var t={id:Or(h.getEmail().getValue()),containerIds:Hbb(h),contactMethod:h,provenance:8,isMe:!1,dataSource:1,isPrimary:Lbb(null!=(k=h.getDisplayInfo())?k:
null),itemAffinity:-Infinity,fieldAffinity:Jbb(null!=(q=h.getDisplayInfo())?q:null)};if(h=Tbb(h))t.targetExtendedData=h}else t=null;return t}).filter(Boolean),e=d.map(function(h){return String(h.id)}),f;return[{id:c,containerIds:[c],memberKeys:e,totalMemberCount:d.length,provenance:b,dataSource:1,isPrimary:!0,itemAffinity:Jbb(null!=(f=a.getDisplayInfo())?f:null),fieldAffinity:-Infinity,isMe:!1,contactLabel:a}].concat(u(d))},tCc=function(a,b,c){switch(sn(b,c2)){case 1:return qCc(a,ql(b,Y1,1,c2),c);
case 2:return rCc(a,b.getGroup(),c);case 3:return sCc(ql(b,NBc,3,c2),c);default:return[]}},uCc=function(a,b,c){return zi(b,b2,1).flatMap(function(d){return tCc(a,d,c)})};var Wbb=new Map([[0,1],[1,2],[2,3],[3,4]]);var vCc=function(a){this.internalArray_=m(a)};Y(vCc,n);g=vCc.prototype;g.getLabel=function(){return ds(this,1)};g.setLabel=function(a){return hj(this,1,a)};g.hasLabel=function(){return Ji(this,1)};g.getItemCount=function(){return Tt(this,2)};g.setItemCount=function(a){return dj(this,2,a)};g.hasItemCount=function(){return Ii(this,2)};g.getLookupInfo=function(){return vi(this,$r,3)};g.setLookupInfo=function(a){return ej(this,$r,3,a)};g.hasLookupInfo=function(){return Pi(this,$r,3)};
g.getQueryLength=function(){return Tt(this,4)};g.setQueryLength=function(a){return dj(this,4,a)};g.hasQueryLength=function(){return Ii(this,4)};g.getQueryScope=function(){return Li(this,5,0)};g.setQueryScope=function(a){return hj(this,5,a)};g.hasQueryScope=function(){return Ji(this,5)};var wCc=function(a){this.internalArray_=m(a)};Y(wCc,n);g=wCc.prototype;g.getLabel=function(){return ds(this,1)};g.setLabel=function(a){return hj(this,1,a)};g.hasLabel=function(){return Ji(this,1)};g.getStatus=function(){return ds(this,2)};g.setStatus=function(a){return hj(this,2,a)};g.hasStatus=function(){return Ji(this,2)};g.setLatencyUsec=function(a){nj(this,3,a)};g.getResultIndex=function(){return Tt(this,4)};g.setResultIndex=function(a){dj(this,4,a)};
g.getDataSource=function(){return ds(this,7)};g.setDataSource=function(a){return hj(this,7,a)};g.hasDataSource=function(){return Ji(this,7)};g.getItemCount=function(){return Tt(this,8)};g.setItemCount=function(a){return dj(this,8,a)};g.hasItemCount=function(){return Ii(this,8)};g.getLookupInfo=function(){return vi(this,$r,10)};g.setLookupInfo=function(a){return ej(this,$r,10,a)};g.hasLookupInfo=function(){return Pi(this,$r,10)};g.setStatusCode=function(a){hj(this,11,a)};
g.getQueryLength=function(){return Tt(this,13)};g.setQueryLength=function(a){return dj(this,13,a)};g.hasQueryLength=function(){return Ii(this,13)};g.getQueryScope=function(){return Li(this,14,0)};g.setQueryScope=function(a){return hj(this,14,a)};g.hasQueryScope=function(){return Ji(this,14)};var xCc=function(a){this.internalArray_=m(a)};Y(xCc,n);var yCc=function(a){this.internalArray_=m(a)};Y(yCc,n);g=yCc.prototype;g.getDataSource=function(){return ds(this,3)};g.setDataSource=function(a){return hj(this,3,a)};g.hasDataSource=function(){return Ji(this,3)};g.getType=function(){return ds(this,4)};g.setType=function(a){return hj(this,4,a)};g.hasType=function(){return Ji(this,4)};g.getValue=function(){return Ui(this,2,1)};g.setValue=function(a){return nj(this,2,a)};g.hasValue=function(){return Ti(this,2)};g.getLabel=function(){return wj(this,1)};
g.setLabel=function(a){return gj(this,1,a)};g.hasLabel=function(){return yi(this,1)};var g2=function(a){this.internalArray_=m(a)};Y(g2,n);g=g2.prototype;g.setStatusCode=function(a){hj(this,5,a)};g.getLabel=function(){return wj(this,1)};g.setLabel=function(a){return gj(this,1,a)};g.hasLabel=function(){return yi(this,1)};g.getCause=function(){return wj(this,2)};g.getType=function(){return ds(this,3)};g.setType=function(a){return hj(this,3,a)};g.hasType=function(){return Ji(this,3)};var h2=function(a){this.internalArray_=m(a)};Y(h2,n);g=h2.prototype;g.getType=function(){return ds(this,3)};g.setType=function(a){return hj(this,3,a)};g.hasType=function(){return Ji(this,3)};g.setLatencyUsec=function(a){nj(this,2,a)};g.getLabel=function(){return wj(this,1)};g.setLabel=function(a){return gj(this,1,a)};g.hasLabel=function(){return yi(this,1)};var i2=function(a){this.internalArray_=m(a)};Y(i2,n);i2.prototype.getLabel=function(){return ds(this,1)};i2.prototype.setLabel=function(a){return hj(this,1,a)};i2.prototype.hasLabel=function(){return Ji(this,1)};var zCc=function(a){this.internalArray_=m(a)};Y(zCc,n);g=zCc.prototype;g.getLabel=function(){return ds(this,1)};g.setLabel=function(a){return hj(this,1,a)};g.hasLabel=function(){return Ji(this,1)};g.getStatus=function(){return ds(this,2)};g.setStatus=function(a){return hj(this,2,a)};g.hasStatus=function(){return Ji(this,2)};g.setLatencyUsec=function(a){nj(this,3,a)};g.getErrorCode=function(){return Ut(this,4)};g.hasErrorCode=function(){return Ti(this,4)};g.setStatusCode=function(a){hj(this,7,a)};
g.setBlockedUsec=function(a){return nj(this,8,a)};var j2=function(a){this.internalArray_=m(a)};Y(j2,n);g=j2.prototype;g.getClientInterface=function(){return vi(this,AQ,1)};g.setClientInterface=function(a){return ej(this,AQ,1,a)};g.getEventType=function(){return ds(this,3)};g.getEventType_legacyNullable=function(){return ds(this,3)};g.setEventType=function(a){return hj(this,3,a)};g.getCacheStatus=function(){return vi(this,xCc,12)};g.setCacheStatus=function(a){return ej(this,xCc,12,a)};g.getCount=function(){return vi(this,yCc,4)};
g.setCount=function(a){return ej(this,yCc,4,a)};g.getLatency=function(){return vi(this,h2,5)};g.setLatency=function(a){return ej(this,h2,5,a)};g.getError=function(){return vi(this,g2,6)};g.setError=function(a){ej(this,g2,6,a)};g.hasError=function(){return Pi(this,g2,6)};g.setRpcRequest=function(a){return ej(this,i2,7,a)};g.setRpcResponse=function(a){return ej(this,zCc,8,a)};g.setApiCall=function(a){return ej(this,vCc,9,a)};g.setApiResult=function(a){return ej(this,wCc,10,a)};var k2=function(a,b,c,d,e){this.leanResponseProcessor_=a;this.grpcClient_=b;e?a=Vbb(e):(a=new Zr,Ubb(a.setEventType(4),4));this.sourceInfo_=a;this.provenance_=e?2:1;this.trackers_=d;this.query_=e;this.affinity_=Li(c.getPeopleApi(),5,0);this.searchMaxResults_=c.getClient().getSearchMaxResults();this.cacheSize_=c.getClient().getCacheSize()};k2.prototype.getMetric=function(){return new ACc(this.trackers_.metrics_,this.sourceInfo_)};
k2.prototype.send=function(a){var b=new uBc;b.setAffinityType(this.affinity_).setQuery(this.query_).setClientInformation((new M1).setDevice(1));this.query_.length?b.setMaxResults(this.searchMaxResults_):b.setMaxResults(this.cacheSize_);return this.grpcClient_.autocomplete(b,a)};k2.prototype.processResponse=function(a){var b=uCc(this.leanResponseProcessor_,a,this.provenance_),c=new ms;Pi(a,N1,2)&&c.setAffinityVersion(vi(a,N1,2).getAffinityVersion());return{data:b,metadata:c}};k2.prototype.close=function(){};var BCc=function(a,b,c,d,e,f){this.leanResponseProcessor_=a;this.grpcClient_=b;a=new Zr;Ubb(a.setEventType(4),7).setIdType(e);this.sourceInfo_=a;this.provenance_=3;this.keys_=f;this.type_=e;this.trackers_=d;this.affinity_=Li(c.getPeopleApi(),5,0)};BCc.prototype.getMetric=function(){return new ACc(this.trackers_.metrics_,this.sourceInfo_)};
BCc.prototype.send=function(a){var b=this,c=new fCc;c.setAffinityType(this.affinity_).setClientInformation((new M1).setDevice(1));c.setIdsList(this.keys_.map(function(d){return acb(b.type_,d)}).filter(function(d){return!!d}));return this.grpcClient_.lookup(c,a)};
BCc.prototype.processResponse=function(a){var b=this.leanResponseProcessor_,c=this.provenance_,d=new Map;a=l(zi(a,gCc,1));for(var e=a.next();!e.done;e=a.next())if(e=e.value,cm(e,b2,2,hCc)){var f=tCc(b,ql(e,b2,2,hCc),c);switch(e.getId().getIdCase()){case 1:d.set(e.getId().getEmail_legacyNullable(),f);break;case 2:d.set(e.getId().getPhone_legacyNullable(),f);break;case 3:d.set(e.getId().getProfileId_legacyNullable(),f)}}return{data:d,metadata:new ms}};BCc.prototype.close=function(){};var CCc=function(a){this.internalArray_=m(a)};Y(CCc,n);var DCc=Xb(342338249,{leanOfflineData:0},CCc,function(a){if(null!=a){$b(a);var b=vi(a,d2,1);null!=b?($b(b),a=Yb(zi(b,b2,1),$Bc),b=vi(b,N1,2),null!=b?($b(b),b={affinityVersion:Zb(Tt(b,1)),affinityThreshold:Zb(pq(b,2)),featureList:Yb(zi(b,vBc,3),wBc),affinityType:Zb(wj(b,4)),suggestionConfidenceEnabled:Hi(b,5,!1)}):b=void 0,a={resultsList:a,affinityResponseContext:b}):a=void 0;return{leanAutocomplete:a}}});var ECc=function(){};ECc.prototype.write=function(a,b){var c=new CCc;b=ej(c,d2,1,b);Wr(a,DCc,b)};ECc.prototype.read=function(a){return(a=a.getExtension(DCc))?vi(a,d2,1):null};var FCc=function(a,b,c){this.grpcClient_=a;this.sourceInfo_=Vbb("");this.trackers_=c;this.affinity_=Li(b.getPeopleApi(),5,0)};FCc.prototype.getMetric=function(){return new ACc(this.trackers_.metrics_,this.sourceInfo_)};FCc.prototype.send=function(a){var b=new f2;b.setAffinityType(this.affinity_).setClientInformation((new M1).setDevice(1));var c=this.grpcClient_;return OC(c.client_,c.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Warmup",b,a||{},mCc)};
FCc.prototype.processResponse=function(){return{data:[],metadata:new ms}};FCc.prototype.close=function(){};var GCc=new iYb;var l2=function(a,b,c){this.delegate_=a;this.runtimeConfig_=b;this.offlineResponse_=c};l2.prototype.send=function(a){var b=this;return qe(function(c){return b.runtimeConfig_.isOffline_()?c.return(GCc):c.return(b.delegate_.send(a))})};l2.prototype.getMetric=function(){return this.delegate_.getMetric()};l2.prototype.processResponse=function(a){return a===GCc?this.offlineResponse_:this.delegate_.processResponse(a)};l2.prototype.close=function(a){this.delegate_.close(a)};
var HCc={data:[],metadata:cj(new ms,5,!0).setCode(14)},ICc={data:new Map,metadata:cj(new ms,5,!0).setCode(14)};cj(new ms,5,!0).setCode(14);cj(new ms,5,!0).setCode(14);cj(new ms,5,!0).setCode(14);var JCc=function(a){this.internalArray_=m(a)};Y(JCc,n);g=JCc.prototype;g.getTimestamp=function(){return Ui(this,1)};g.setTimestamp=function(a){return nj(this,1,a)};g.hasTimestamp=function(){return Ti(this,1)};g.getOwner=function(){return xi(this,2)};g.setOwner=function(a){return gj(this,2,a)};var KCc=Xb(342656659,{metadata:0},JCc,function(a){if(null!=a)return $b(a),{timestamp:Zb(Ut(a,1)),owner:Zb(wj(a,2))}});var m2=function(a,b,c,d,e){this.delegate_=a;this.offlineStorage_=b;this.offlineDataTransformer_=c;this.owner_=d;this.storageTaskDelayMillis_=e;this.offlineMetadata_=null};m2.prototype.store_=function(a,b){var c=new Zsc;Wr(c,KCc,(new JCc).setTimestamp(b).setOwner(String(this.owner_)));this.offlineDataTransformer_.write(c,a);this.offlineStorage_.store(c)};
var LCc=function(a){var b,c;return qe(function(d){if(1==d.nextAddress)return re(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(KCc);c=a.offlineMetadata_?Bdc(a.offlineMetadata_.getOwner()):Tr;return a.owner_.equals(c)?d.return(a.offlineDataTransformer_.read(b)):d.return(null)}ve(d);return d.return(null)})};
m2.prototype.send=function(a){var b=this,c,d,e,f,h;return qe(function(k){switch(k.nextAddress){case 1:return re(k,2),k.yield(b.delegate_.send(a),4);case 4:c=k.yieldResult;d=Date.now();if(c!==GCc){k.jumpTo(5);break}return k.yield(LCc(b),6);case 6:return e=k.yieldResult,k.return(e||GCc);case 5:return setTimeout(function(){b.store_(c,d)},b.storageTaskDelayMillis_),k.return(c);case 2:return f=ve(k),k.yield(LCc(b),7);case 7:return(h=k.yieldResult)?k.return(h):k.return(Promise.reject(f))}})};
m2.prototype.getMetric=function(){return this.delegate_.getMetric()};m2.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};m2.prototype.close=function(a){this.delegate_.close(a)};var MCc=function(a,b){this.config_=a;this.trackers_=b;b=this.config_;b={apiKey:b.runtimeConfig_.getApiKey()||(7===b.runtimeConfig_.getPeopleApiEnv()?xi(b.getGapi(),2,""):b.getGapi().getApiKey()),timeoutSec:a.getClient().getRpcTimeoutSec(),authErrorHandler:a.runtimeConfig_.getAuthErrorHandler(),customAuthHeaders:a.runtimeConfig_.customAuthHeaders_};this.dispatcher_=new rxc(b);b=nOa("peoplestack-pa",a.runtimeConfig_.getPeopleApiEnv());this.grpcPeopleStackClient_=new nCc(b);this.offlineDataTransformer_=
new ECc;a=Hi(a.getClient(),22,!1);this.leanResponseProcessor_=new pCc({allowEmptyTargets:a})};MCc.prototype.loadRankedItems=function(){var a=new k2(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,"");a=new l2(a,this.config_.runtimeConfig_,HCc);var b=this.config_,c=this.offlineDataTransformer_,d=b.runtimeConfig_.offlineStorage_;if(d){var e=b.runtimeConfig_.getUserEmail();e&&(e=Or(e),b=Xh(b.getPeopleApi(),14,5E3),a=new m2(a,d,c,e,b))}return txc(this.dispatcher_,a)};
MCc.prototype.warmUpServer=function(){var a=new FCc(this.grpcPeopleStackClient_,this.config_,this.trackers_);a=new l2(a,this.config_.runtimeConfig_,HCc);return txc(this.dispatcher_,a)};MCc.prototype.loadAutocompleteItems=function(a){a=a.getPrefix();a=new k2(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,a);a=new l2(a,this.config_.runtimeConfig_,HCc);return txc(this.dispatcher_,a)};
MCc.prototype.loadLookupItems=function(a,b){a=new BCc(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,a,b);a=new l2(a,this.config_.runtimeConfig_,ICc);return txc(this.dispatcher_,a)};var bcb=new Map([[1,1],[2,2]]);var ecb=new Map([[3,3],[1,2],[2,1]]),NCc=new Map([[2,1],[4,2],[3,3],[1,4]]),OCc=function(a){this.delegate_=a};
OCc.prototype.processItem=function(a){if(a.person||a.contactMethod){switch(a.contactMethod.getValueCase()){case 2:var b=a.contactMethod.getEmail();var c=es(b.getValue()),d=a.id.normalizedValue_;c=Mr(a.id).setValue(c).setCanonicalValue(d);if(zi(b,S1,2).length||Pi(b,HBc,3)){d=1;var e=0;if(zi(b,S1,2).length){var f=zi(b,S1,2)[0];e=Ut(f,1)||e;d=NCc.get(f.getStatus())||d}f=Pi(b,HBc,3)&&!!Vr(vi(b,HBc,3),1);d=zbb(d,e,f)}else d=null;d&&(c.emailSecurityInfo_=d);Pi(b,T1,4)&&(b=ccb(vi(b,T1,4)),c.orgState_=b);
Vr(a.contactMethod,7)&&(c.resultType_=2);b=c;break;case 3:c=a.contactMethod.getPhone();b=es(c.getCanonicalValue());c=es(c.getOriginalValue())||es(c.getDisplayValue())||b;b=Mr(a.id).setValue(c).setCanonicalValue(b);break;case 4:b=ql(a.contactMethod,Pr,4,Qr);b=hcb(a,b);break;default:b=Mr(a.id||Tr)}b.setDataSource(a.dataSource||0);a.containerIds&&(b.sourceIds_=a.containerIds||[]);ubb(b,!!a.isMe);a.person&&a.person.hasAffinity()&&b.setPersonLoggingId(dcb(rda(rq(a.person.getAffinity(),1))||""));a.contactMethod.hasDisplayInfo()&&
fcb(b,a.contactMethod.getDisplayInfo());yi(a.contactMethod,10)&&wbb(b,[xbb(a.contactMethod.getTypeLabel())]);a.targetExtendedData&&(b.extendedData_=a.targetExtendedData);a.target=b}else a.group?jcb(a,a.group.getDisplayInfo()):a.contactLabel&&jcb(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 ACc=function(a,b){this.metrics_=a;this.state_=new LQ(b)};g=ACc.prototype;g.start=function(a){this.metrics_.start(this.state_,a)};g.stop=function(a){this.metrics_.stop(this.state_,a)};g.count=function(){this.metrics_.count(this.state_)};g.latency=function(){this.metrics_.latency(this.state_)};g.error=function(){this.metrics_.error(this.state_)};
g.status=function(a,b,c){b=void 0===b?0:b;c=void 0===c?0:c;if(b){var d=this.state_.source();hj(d,13,b)}c&&(b=this.state_.source(),dj(b,12,c));this.metrics_.status(this.state_,a)};g.logError=function(a,b){this.metrics_.logError(a,b)};var PCc=function(a){this.metrics_=a};PCc.prototype.error=function(a,b){var c=this.metrics_,d=new Zr;a=d.setEventType(3).setErrorType(a);hj(a,7,b);return new XAc(c,d)};PCc.prototype.latency=function(a){var b=this.metrics_,c=new Zr,d=c.setEventType(2);hj(d,5,a);return new xxc(b,c)};PCc.prototype.count=function(a){var b=this.metrics_,c=new Zr,d=c.setEventType(1);hj(d,4,a);return new WAc(b,c)};PCc.prototype.api=function(a){return new VAc(this.metrics_,a)};var QCc=function(a,b){this.ranker_=new PAc(a.getClient());this.loader_=new MCc(a,b);b=iBc;b=void 0===b?iBc:b;this.targetFactory_=new tBc(a,new OCc(b))};var RCc=function(){this.cacheConfigurators_=[];this.grpcClient_=null};var kcb=function(a){this.delegate_=a};Y(kcb,hZ);var SCc=function(a){this.keys_=new Set(a)};SCc.prototype.loadOrSkip=function(a){return this.keys_.delete(a)?a:null};SCc.prototype.isDone=function(){return!this.keys_.size};var TCc=function(a){this.keys_=a;this.foundKeys_=new Set;this.delegate_=new SCc(a)};TCc.prototype.loadOrSkip=function(a){return this.delegate_.loadOrSkip(a)?(this.foundKeys_.add(a),!0):!1};TCc.prototype.isDone=function(){return this.delegate_.isDone()};var UCc=function(a){return a.keys_.filter(function(b){return!a.foundKeys_.has(b)})};var VCc=new ws,WCc=function(a,b,c){this.itemResolver_=a;this.trieFactory_=b;this.indexes_=E1(Xh(c,31,5),1E3*pl(c,32,3600))};g=WCc.prototype;g.getCacheType=function(){return 2};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d,e,f;return qe(function(h){if(1==h.nextAddress){c=a.getBoostKey();if(!c.cacheKey||b.indexes_.get(c.cacheKey))return h.return(VCc);d=c.ids.map(function(k){if(ydc.includes(Bdc(k).getType()))return k;var q=n2(b.itemResolver_,k);return q?String(q.id):k});e=new TCc(d);return h.yield(XCc(b.trieFactory_,e,a.getFormat(),c.primingTimeoutMillis),2)}f=h.yieldResult;b.indexes_.set(c.cacheKey,f);return h.return(VCc)})};
g.search=function(a){var b=a.getBoostKey();if(!b.cacheKey)return[];this.indexes_.has(b.cacheKey)||this.fetch(a);return(this.indexes_.get(b.cacheKey)||D1).search(a.getTerms()).getMatches(a.getCollector()).map(lcb)};g.index=function(){};g.getName=function(){};var YCc=new aBc(60,61,34);var ZCc=function(){};ZCc.prototype.configure=function(a){var b=a.storage,c=a.trackers,d=a.trieFactory,e=a.prefixCaches;a=a.clientConfig.getClient();Hi(a,30,!1)&&(b=new WCc(b,d,a),c=new G1(b,c,YCc),e.unshift(c))};var $Cc=function(){return Date.now()},aDc=function(a,b,c){this.staleMillis_=1E3*a;this.expiredMillis_=1E3*b;this.nowFn_=c;this.timestamp_=0};g=aDc.prototype;g.isStale=function(){return this.timestamp_+this.staleMillis_<=this.nowFn_()};g.isExpired=function(){return this.timestamp_+this.expiredMillis_<=this.nowFn_()};g.getStatus=function(){return this.isExpired()?1:this.isStale()?3:2};g.getTimestamp=function(){return this.timestamp_};g.setTimestamp=function(a){this.timestamp_=a};
g.markAsFresh=function(){this.timestamp_=this.nowFn_()};g.markAsStale=function(){var a=this.nowFn_()-this.staleMillis_;a<this.timestamp_&&(this.timestamp_=a)};var ncb=new Map([[1,1],[2,2],[3,3],[8,6],[6,7],[7,5],[4,4],[9,9]]),mcb=new Map([[1,7],[2,5]]);var bDc=function(a,b){this.delegate_=a;this.extendedData_=b};Y(bDc,hZ);bDc.prototype.getExtendedData=function(){return this.extendedData_};var cDc=function(a,b,c){this.group_=a;this.members_=b;this.totalMemberCount_=vr(this.group_.getId())?this.members_.length:c;this.resultType_=wwc.get(this.group_.getTargetType())||0};g=cDc.prototype;g.getResultType=function(){return this.resultType_};g.getTargetList=function(){return[this.group_]};g.getMemberList=function(){return this.members_};g.getTotalMemberCount=function(){return this.totalMemberCount_};g.getPrimaryTarget=function(){throw Error("Ge");};g.getDisplayName=function(){return""};
g.getDisplayValue=function(){return""};g.getDescription=function(){return""};g.getPhotoUrl=function(){return""};g.getMatchInfo=function(){return vwc};g.getExtendedData=function(){return null};var pcb=function(a,b){this.delegate_=a;this.loggingToken_=b};Y(pcb,Ssc);pcb.prototype.getLoggingToken=function(){return this.loggingToken_};var dDc=function(a){this.itemResolver_=a};dDc.prototype.create=function(a,b){var c=this,d=Bdc(a);a=n2(this.itemResolver_,a);if(!a)return null;if(ur(d))return d=(a.memberKeys||[]).map(function(h){return c.create(h,b)}).filter(Boolean),this.createGroup(a,d,b);var e,f=2===b&&1<(null==(e=a.coalescedKeys)?void 0:e.length)?a.coalescedKeys.map(function(h){return n2(c.itemResolver_,h)}).filter(Boolean):[a];return eDc(f,d,b)};
var eDc=function(a,b,c){var d=[],e=0,f=null,h=null;a=l(a);for(var k=a.next();!k.done;k=a.next()){k=k.value;var q=k.target,t=q.getId().equals(b);if(!e||t)e=q.getResultType();q=qcb(q,k.provenance,c);t?(h=void 0,f=null!=(h=k.totalMemberCount)?h:null,d.unshift(q),h=k.resultExtendedData):d.push(q)}b=g9a(e,d,f);return h?new bDc(b,h):b};
dDc.prototype.createGroup=function(a,b,c){c=qcb(a.target,a.provenance,c);var d,e=null!=(d=a.totalMemberCount)?d:null;b=new tq(new cDc(c,null!=b?b:[],null!=e?e:null));return(a=a.resultExtendedData)?new bDc(b,a):b};var rcb=[1,2,3,4,5,6,9,7,8],fDc=function(a,b){this.targetFactory_=a;this.resultFactory_=new dDc(this);a=b.getCacheStaleSec();var c=b.getCacheExpiredSec();var d=void 0===d?$Cc:d;this.expiry_=new aDc(a,c,d);this.affinityVersion_=0;this.ttlStorage_=new Map;this.lruStorage_=E1(Xh(b,6,500),1E3*Xh(b,7,43200));this.idTypes_=new Set(aj(b,25))};fDc.prototype.load=function(a,b){var c;return null!=(c=this.resultFactory_.create(a,b))?c:null};
var n2=function(a,b){return a.ttlStorage_.get(b)||a.lruStorage_.get(b)||null};g=fDc.prototype;g.getExpiry=function(){return this.expiry_};g.getAffinityVersion=function(){return this.affinityVersion_};g.markAsFresh=function(a){this.affinityVersion_=a.getAffinityVersion();a.hasTimestamp()?this.expiry_.setTimestamp(a.getTimestamp()):this.expiry_.markAsFresh();this.lruStorage_.compact()};g.markAsStale=function(){this.expiry_.markAsStale()};
g.flush=function(){this.ttlStorage_.clear();this.lruStorage_.clear();this.affinityVersion_=0;this.expiry_.timestamp_=0};g.storeItems=function(a,b,c,d){c=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 f=b[e];b.splice(e,1);b.unshift(f)}}c&&b.reverse();b=l(b);for(e=b.next();!e.done;e=b.next())this.store_(a,e.value,c,d)};
g.store_=function(a,b,c,d){if(!this.idTypes_.size||!ydc.includes(b.id.getType())||this.idTypes_.has(b.id.getType())){var e=!1,f=String(b.id),h=(b.containerIds||[]).map(String),k=gDc(this,a,f);hDc(this,a,f,b,c)&&(k(f,b),e=!0);h=l(h);for(var q=h.next();!q.done;q=h.next())q=q.value,hDc(this,a,q,b,c)&&(k(q,b),e=!0);b.isMe&&(h=String(Adc),hDc(this,a,h,b,c)&&(k(h,b),e=!0));d&&f!==d&&hDc(this,a,d,b,c)&&(k(d,b),e=!0);e&&!b.target&&this.targetFactory_.processItem(b)}};
var hDc=function(a,b,c,d,e){var f=n2(a,c);if(!f)return!0;1===b&&a.lruStorage_.has(c)&&(b=a.lruStorage_.get(c),a.ttlStorage_.set(c,b),a.lruStorage_.delete(c));return e&&(f.id.equals(d.id)||String(f.id)!==c)?!0:f.id.equals(d.id)?tcb(d)&&!tcb(f)||iDc(a,f)<iDc(a,d)||scb(d)<scb(f)||18===d.id.getType()&&18===f.id.getType()?!0:!1:String(d.id)===c},iDc=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},gDc=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 ucb=function(a,b){this.delegate_=a;this.displayValue_=b};Y(ucb,Ssc);ucb.prototype.getDisplayValue=function(){return this.displayValue_};var wcb=function(){};wcb.prototype.createFromQuery=function(a){var b=a.getPrefix();if(0!==a.getCollector().resultCount()||!a.isEmailAddress())return null;b=Mr(Or(b)).setValue(b).setDataSource(3);b=g9a(b.getResultType(),[b],null);return(a=a.getResultFilter())?a.filterResult(b):b};wcb.prototype.createFromLookupId=function(a){if(1!==a.getType()||!rdc(a.getValue()))return null;a=Mr(a).setValue(a.getOriginalValue()).setDataSource(3);return g9a(a.getResultType(),[a],null)};var jDc=function(){};jDc.prototype.createFromQuery=function(){return null};jDc.prototype.createFromLookupId=function(){return null};var xcb=new jDc;var kDc=function(a,b,c,d,e){this.format=b;this.listener=c;this.options=d;this.callbackNumber=0;this.hasErrorCode=!1;this.remainingIds=new Map(a.map(function(f){return[String(f),f]}));this.notNotifiedIds=new Map(a.map(function(f){return[String(f),f]}));this.placeholderFactory=ycb(e.getClient())};g=kDc.prototype;g.isCancelled=function(){return!1};g.getFormat=function(){return this.format};g.getOptions=function(){return this.options};g.queryScope=function(){return this.options.getQueryScope()};
g.getResultFilter=function(){return this.options.getFilter()};g.isDone=function(){return 0===this.remainingIds.size};var UAc=function(a){return Array.from(a.remainingIds.values())};kDc.prototype.hasError=function(){return this.hasErrorCode};
kDc.prototype.notify=function(a,b,c){if(a.size||b.length||this.isDone()||zcb(c.getCode())){var d=new Map,e=this.getResultFilter();a=l(a);for(var f=a.next();!f.done;f=a.next()){var h=l(f.value);f=h.next().value;h=h.next().value;this.notNotifiedIds.delete(String(f));if(h=e?e.filterResult(h):h)d.set(f,h),this.remainingIds.delete(String(f))}a=[];b=l(b);for(f=b.next();!f.done;f=b.next())f=f.value,this.notNotifiedIds.delete(String(f)),this.remainingIds.delete(String(f)),(h=this.placeholderFactory.createFromLookupId(f))&&
e&&(h=e.filterResult(h)),h?d.set(f,h):a.push(f);d=vcb(d,this.options);zcb(c.getCode())&&(this.hasErrorCode=!0);e=(new EAc).setCallbackNumber(this.callbackNumber).setIsFirstCallback(0===this.callbackNumber).setIsLastCallback(this.isDone()).setCode(c.getCode());e.notFoundIdList_=a;d=new FAc(d,e);this.callbackNumber++;this.listener(d,c)}};var lDc=function(a,b,c){this.stages=a;this.indexer=b;this.clientConfig=c};lDc.prototype.flush=function(){this.indexer.flush()};
lDc.prototype.lookup=function(a,b,c,d){var e=this,f,h,k,q,t,w;return qe(function(y){switch(y.nextAddress){case 1:null==(f=d.getFilter())||f.reset(""),h=new kDc(a,b,c,d,e.clientConfig),k=new Set,1!==h.queryScope()&&2!==h.queryScope()||k.add(2),3===h.queryScope()&&k.add(1),q=l(e.stages),t=q.next();case 2:if(t.done){y.jumpTo(4);break}w=t.value;if(h.isDone()||h.isCancelled()){y.jumpTo(4);break}if(k.has(w.getStageType())){y.jumpTo(3);break}return y.yield(w.lookup(h),3);case 3:t=q.next();y.jumpTo(2);break;
case 4:if(!h.isDone()){if(0===h.queryScope()&&!h.hasError()){var C=e.indexer,J=Array.from(h.notNotifiedIds.values());J=l(J);for(var I=J.next();!I.done;I=J.next())I=String(I.value),C.notFoundIds.set(I,I)}h.notify(new Map,UAc(h),w1((new ws).setProvenance(10),!1).setCode(0))}e.indexer.compact();return y.return()}})};var mDc=function(a,b){this.storage=a;a=b.getClient();this.notFoundIds=E1(Xh(a,10,500),1E3*pl(a,11,600))};g=mDc.prototype;g.compact=function(){this.notFoundIds.compact()};g.flush=function(){this.notFoundIds.clear()};g.store=function(a,b,c,d){if(!Hi(c,5))for(cj(c,5,!0),b=l(b),c=b.next();!c.done;c=b.next()){var e=l(c.value);c=e.next().value;e=e.next().value;c=String(Lr(a,String(c)));this.storeItems(e,d,c)}};g.storeItems=function(a,b,c){this.storage.storeItems(2,a,b,c)};
g.load=function(a,b,c){b=this.storage.load(String(a),b);c&&b&&(b=m_a(a).filterResult(b));return b};var nDc={ids:[],cacheKey:"",primingTimeoutMillis:0};var oDc=function(){};oDc.prototype.loadOrSkip=function(){return null};oDc.prototype.resultCount=function(){return 0};oDc.prototype.isDone=function(){return!0};var pDc=new oDc;var qDc=function(){this.prefix_="";this.terms_=[];this.format_=0;this.collector_=pDc;this.boostKey_=nDc;this.listener_=function(){}};g=qDc.prototype;g.getPrefix=function(){return this.prefix_};g.getTerms=function(){return this.terms_};g.getFormat=function(){return this.format_};g.getCollector=function(){return this.collector_};g.getBoostKey=function(){return this.boostKey_};g.getListener=function(){return this.listener_};g.isDone=function(){return!0};g.isCancelled=function(){return!0};
g.isSuggestQuery=function(){return!0};g.isEmailAddress=function(){return!1};g.queryScope=function(){return 0};g.getResultFilter=function(){return null};g.shouldSkipCache=function(){return!1};var rDc=new qDc;var sDc=function(){this.fetchDone_=Promise.resolve((new ws).setCode(0))};g=sDc.prototype;g.getCacheType=function(){return 0};g.flush=function(){};g.fetch=function(){return this.fetchDone_};g.index=function(){};g.search=function(){return[]};g.getName=function(){};var tDc=new sDc;var uDc=function(a){a=Array.from(new Set(a));this.primary_=a.find(function(b){return 1===b.getCacheType()})||tDc;this.prefetched_=a.filter(function(b){return 2===b.getCacheType()||1===b.getCacheType()});this.lazyLoaded_=a.filter(function(b){return 3===b.getCacheType()})};
uDc.prototype.prefetch=function(a){var b=this,c,d,e,f,h;return qe(function(k){if(1==k.nextAddress)return k.yield(b.primary_.fetch(a),2);if(3!=k.nextAddress){c=k.yieldResult;if(0!==c.getCode())return k.return(c);d=l(b.lazyLoaded_);for(e=d.next();!e.done;e=d.next())f=e.value,f.flush();h=b.prefetched_.filter(function(q){return q!==b.primary_}).map(function(q){q.flush();return q.fetch(a)});return h.length?k.yield(Promise.all(h),3):k.jumpTo(3)}return k.return(c)})};
uDc.prototype.warmUpSession=function(a){var b=this;if(1===a.queryScope())return Promise.resolve([(new ws).setProvenance(2).setCode(1)]);var c=this.prefetched_.filter(function(d){return d!==b.primary_});2!==a.queryScope()&&c.push.apply(c,u(this.lazyLoaded_));return Promise.all(c.map(function(d){return d.fetch(a)}))};
var vDc=function(a){var b=[a.primary_].concat(u(a.prefetched_.filter(function(d){return d!==a.primary_})),u(a.lazyLoaded_)).reverse();b=l(b);for(var c=b.next();!c.done;c=b.next())c.value.flush()},wDc=function(a,b){var c=[];a=l(a.prefetched_);for(var d=a.next();!d.done;d=a.next()){d=d.value;if(b.isDone()||b.isCancelled())break;b.shouldSkipCache(d.getName())||c.push.apply(c,u(d.search(b)))}return c},yDc=function(a,b,c){var d,e,f,h,k;return qe(function(q){if(1==q.nextAddress){if(2===b.queryScope())return q.return();
d=a.lazyLoaded_.filter(function(t){return!b.shouldSkipCache(t.getName())});e=d[d.length-1];f=l(d);h=f.next()}if(3!=q.nextAddress){if(h.done)return q.jumpTo(0);k=h.value;return b.isDone()||b.isCancelled()?q.return():q.yield(xDc(k,b,c,e===k),3)}h=f.next();return q.jumpTo(2)})},xDc=function(a,b,c,d){var e,f;return qe(function(h){if(1==h.nextAddress)return 1===b.queryScope()?(e=w1((new ws).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();
f=a.search(b);c(f,e,d);we(h)})};var zDc=function(a,b,c,d,e){this.clientInfo_=a.getClient();this.trackers_=b;this.storage_=e;this.lookupCache_=d;this.prefixSearch_=c;this.sessionWarming_=this.cacheWarming_=null};g=zDc.prototype;g.getLastUpdatedTimestamp=function(){return this.storage_.getExpiry().getTimestamp()};g.getAffinityVersion=function(){return this.storage_.getAffinityVersion()};
g.warmUpCache=function(){ADc(this,rDc);return this.cacheWarming_&&this.storage_.getExpiry().isExpired()?this.cacheWarming_:Promise.resolve(z1(y1((new x1).setSource(w1(new ws,!1).setProvenance(1).setCode(0)),o2(this)),o2(this)))};g.flushCache=function(a){switch(a){case 2:return BDc(this),Promise.resolve(new x1);case 1:return this.storage_.markAsStale(),Promise.resolve(new x1);default:return this.warmUpCache()}};
g.warmUpSession=function(a){var b=this,c,d,e,f,h;return qe(function(k){switch(k.nextAddress){case 1:c=y1(new x1,o2(b));ADc(b,a);if(!b.cacheWarming_){k.jumpTo(2);break}return k.yield(b.cacheWarming_,2);case 2:return re(k,4,5),b.sessionWarming_||(b.sessionWarming_=b.prefixSearch_.warmUpSession(a)),k.yield(b.sessionWarming_,7);case 7:return d=k.yieldResult,e=d.find(function(q){return 2===q.getProvenance()})||(new ws).setProvenance(2).setCode(0),k.return(z1(c.setSource(e),o2(b)));case 5:te(k);b.sessionWarming_=
null;ue(k,0);break;case 4:return f=ve(k),h=f instanceof ws?f:(new ws).setProvenance(2).setCode(13),k.return(Promise.reject(z1(c.setSource(h),o2(b))))}})};
g.search=function(a){var b=this,c,d,e,f,h;return qe(function(k){switch(k.nextAddress){case 1:CDc(b);re(k,2);d=o2(b);ADc(b,a);if(!a.isSuggestQuery()){k.jumpTo(4);break}if(!b.cacheWarming_){k.jumpTo(5);break}e=b.storage_.getExpiry().isExpired();if(!e){k.jumpTo(5);break}return k.yield(b.cacheWarming_,7);case 7:c=k.yieldResult;case 5:if(!b.sessionWarming_){k.jumpTo(4);break}return k.yield(b.sessionWarming_,4);case 4:return c||(c=z1(y1((new x1).setSource(w1(new ws,!1).setProvenance(1).setCode(0)),d),o2(b)),
ADc(b,a)),k.yield(DDc(b,a,c),10);case 10:tt(k,0);break;case 2:f=ve(k);if(a.isCancelled())return k.return();f instanceof x1?c=f:(h=f instanceof ws?f:(new ws).setCode(13),z1(c.setSource(h),o2(b)));a.getListener()(new B1([],(new A1).setQuery(a.getPrefix()).setIsLastCallback(!0).setCacheState(c).setCode(c.getSource().getCode())));we(k)}})};
var DDc=function(a,b,c){var d,e,f,h;return qe(function(k){if(1==k.nextAddress){if(b.isCancelled())return k.return();d=wDc(a.prefixSearch_,b);e=(new A1).setIsLastCallback(b.isSuggestQuery()).setQuery(b.getPrefix()).setCode(c.getSource().getCode()).setCacheState(c);b.getListener()(new B1(d,e));if(e.getIsLastCallback())return k.return();f=!1;return k.yield(yDc(a.prefixSearch_,b,function(q,t,w){t=(new A1).setIsLastCallback(w).setQuery(b.getPrefix()).setCode(t.getCode()).setCacheState(z1(y1((new x1).setSource(t),
ss(c,2)),o2(a)));b.getListener()(new B1(q,t));t.getIsLastCallback()&&(f=!0)}),2)}f||b.isCancelled()||(h=(new A1).setIsLastCallback(!0).setQuery(b.getPrefix()).setCode(0).setCacheState(z1(y1((new x1).setSource((new ws).setProvenance(10).setCode(0)),ss(c,2)),o2(a))),b.getListener()(new B1([],h)));we(k)})};
zDc.prototype.lookup=function(a,b,c){var d=this;CDc(this);ADc(this,rDc);var e=y1(new x1,o2(this));this.lookupCache_.lookup(a,Li(this.clientInfo_,17,1),function(f,h){e.setSource(h);z1(e,o2(d));f.getMetadata().setCacheState(e);b(f)},c)};
var ADc=function(a,b){if(a.storage_.getExpiry().isStale()&&(a.storage_.getExpiry().isExpired()&&a.storage_.getExpiry().getTimestamp()&&BDc(a),!a.cacheWarming_)){var c=o2(a);a.cacheWarming_=new Promise(function(d,e){var f,h,k,q;return qe(function(t){switch(t.nextAddress){case 1:return f=y1(new x1,c),re(t,2,3),t.yield(a.prefixSearch_.prefetch(b),5);case 5:h=t.yieldResult,z1(f,o2(a)).setSource(h),d(f);case 3:te(t);a.cacheWarming_=null;ue(t,0);break;case 2:k=ve(t),q=k instanceof ws?k:(new ws).setCode(13),
z1(f,o2(a)).setSource(q),e(f),t.jumpTo(3)}})})}},o2=function(a){return a.storage_.getExpiry().getStatus()},BDc=function(a){vDc(a.prefixSearch_);a.lookupCache_.flush();a.storage_.flush()},CDc=function(a){var b=1===o2(a)?1:2;a.trackers_.count(b).increment()};var EDc=function(a){this.itemResolver_=a},FDc=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 f=c.push,h=f.apply,k=e.split(IAc).filter(Boolean),q=k.length-1;if(0<q){var t=k.join("-"),w=k.join(".");k.push(t);for(k.push(w);0<q;q--)k[q-1]+=k[q]}k.push(e);k.push(e.replace(ebb,""));"+"===e[0]&&k.push("+"+k[0]);h.call(f,c,u(k));break;default:c.push(e)}if(!c.length&&
b.memberKeys&&b.memberKeys.length&&10!==d.getTargetType())for(b=l(b.memberKeys),d=b.next();!d.done;d=b.next())(d=n2(a.itemResolver_,d.value))&&FDc(a,d,c);return c};var GDc=new DAc,HDc=function(a,b,c){this.itemResolver_=a;this.lookupCache_=b;this.trackers_=c;this.indexer_=new EDc(a);this.trieRoots_=new Map},XCc=function(a,b,c,d){var e=(a.trieRoots_.get(c)||D1).cloneNode(b);if(b.isDone())return a.trackers_.count(120).increment(),Promise.resolve(e);var f=a.trackers_.latency(95);f.start();var h=new Promise(function(k){var q=UCc(b).map(Bdc);a.lookupCache_.lookup(q,c,function(t){var w=Array.from(t.getResults().keys(),String);w=IDc(a,w);Array.prototype.push.apply(e.items_,
w);KAc(e);t.getMetadata().getIsLastCallback()&&(f.stop(),k(e))},GDc)});return Bcb(h,e,d)},SAc=function(a,b){a=IDc(a,b);return new C1(a)},IDc=function(a,b){var c=[];b=l(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=n2(a.itemResolver_,d);e&&(e=FDc(a.indexer_,e),c.push(new JAc(d,e)))}return c};var JDc=function(){this.queryId_=0};JDc.prototype.getQueryId=function(){return this.queryId_};var KDc=function(a){this.delegate=a};g=KDc.prototype;g.getLastUpdatedTimestamp=function(){return this.delegate.getLastUpdatedTimestamp()};g.getAffinityVersion=function(){return this.delegate.getAffinityVersion()};g.warmUpCache=function(){return this.delegate.warmUpCache()};g.flushCache=function(a){return this.delegate.flushCache(a)};g.warmUpSession=function(a){var b=this;return qe(function(c){return c.return(b.delegate.warmUpSession(a))})};g.search=function(a){var b=this;return qe(function(c){return c.return(b.delegate.search(a))})};
g.lookup=function(a,b,c){this.delegate.lookup(a,b,c)};var LDc=function(){this.delegate=Usc};LDc.prototype.filterResult=function(a){return this.delegate.filterResult(a)};LDc.prototype.reset=function(a){this.delegate.reset(a)};var MDc=function(a,b){a.delegate=null!=b?b:Usc};var NDc=function(a){this.delegate=a};g=NDc.prototype;g.getPrefix=function(){return this.delegate.getPrefix()};g.getTerms=function(){return this.delegate.getTerms()};g.getFormat=function(){return this.delegate.getFormat()};g.getCollector=function(){return this.delegate.getCollector()};g.getBoostKey=function(){return this.delegate.getBoostKey()};g.getListener=function(){return this.delegate.getListener()};g.isDone=function(){return this.delegate.isDone()};g.isCancelled=function(){return this.delegate.isCancelled()};
g.isSuggestQuery=function(){return this.delegate.isSuggestQuery()};g.isEmailAddress=function(){return this.delegate.isEmailAddress()};g.queryScope=function(){return this.delegate.queryScope()};g.getResultFilter=function(){return this.delegate.getResultFilter()};g.shouldSkipCache=function(a){return this.delegate.shouldSkipCache(a)};var ODc=function(a,b){this.delegate_=a;this.limit_=b;this.count_=0};ODc.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);if(!a)return null;this.count_++;return a};ODc.prototype.resultCount=function(){return this.count_};ODc.prototype.isDone=function(){return this.count_>=this.limit_||this.delegate_.isDone()};var PDc=function(a,b,c,d){this.delegate=a;var e=this;this.isLastSlot=d;d=a.getCollector();0<c.limit&&(d=new ODc(d,c.limit));this.collector=d;this.listener=function(h){var k=h.getMetadata();k.getIsLastCallback()&&k.setIsLastCallback(e.isLastSlot);e.delegate.getListener()(h)};d=[];c.filter&&(d.push(c.filter),c.filter.reset(a.getPrefix()));b&&d.push(b);this.resultFilter=d.length?o_a.apply(null,u(d)):null;var f;this.scope=null!=(f=c.scope)?f:a.queryScope()};Y(PDc,NDc);g=PDc.prototype;g.getCollector=function(){return this.collector};
g.getListener=function(){return this.listener};g.isDone=function(){return this.collector.isDone()};g.getResultFilter=function(){return this.resultFilter};g.queryScope=function(){return this.scope};var QDc=function(a,b,c,d){this.delegate=a;this.slots=b;this.filterInterceptor=c;this.originalFilter=d};Y(QDc,KDc);
QDc.prototype.search=function(a){var b=this,c,d,e,f,h,k;return qe(function(q){switch(q.nextAddress){case 1:c=new Set,a.isSuggestQuery()?c.add(2):c.add(1),a.isEmailAddress()||c.add(3),d=b.slots.filter(function(t){return!c.has(t.visibility)}),e=d.map(function(t,w){return new PDc(a,b.originalFilter,t,w===d.length-1)}),f=l(e),h=f.next();case 2:if(h.done){q.jumpTo(4);break}k=h.value;if(a.isCancelled()||a.isDone()){q.jumpTo(4);break}MDc(b.filterInterceptor,k.getResultFilter());return q.yield(b.delegate.search(k),
3);case 3:h=f.next();q.jumpTo(2);break;case 4:return q.return()}})};var RDc=function(a,b,c){this.delegate=a;var d=this;this.query_=b;this.terms_=hbb([b]);this.id_=Or(b);this.listener_=function(e){var f=e.getResults().map(function(h){if(d.id_.equals(h.getPrimaryTarget().getId())&&h.getDisplayName()!==c){var k=(new vbb).setDisplayName(c),q=h.getPrimaryTarget();h=i_a(h,new Tsc(q,k))}return h});e=new B1(f,e.getMetadata());a.getListener()(e)}};Y(RDc,NDc);RDc.prototype.getPrefix=function(){return this.query_};RDc.prototype.getTerms=function(){return this.terms_};
RDc.prototype.getListener=function(){return this.listener_};var SDc=function(a,b,c){this.cache_=a;this.queryFactory_=b;this.querySession_=new JDc;this.clientInfo_=c};g=SDc.prototype;g.warmUpSession=function(a){a=TDc(this.queryFactory_,"",this.querySession_,a,function(){});return this.cache_.warmUpSession(a)};g.suggest=function(a,b){a=TDc(this.queryFactory_,"",this.querySession_,b,a);this.cache_.search(a)};
g.search=function(a,b,c){a=TDc(this.queryFactory_,a,this.querySession_,c,b);Hi(this.clientInfo_,28,!1)&&(b=a.getPrefix(),b.includes("<")&&(c=pdc(b),c.isValid()||(c=pdc(b+">")),a=c.isValid()&&c.getName()?new RDc(a,c.getAddress(),c.getName()):a));this.cache_.search(a)};g.cancel=function(){++this.querySession_.queryId_};g.getLastUpdatedTimestamp=function(){return this.cache_.getLastUpdatedTimestamp()};g.getAffinityVersion=function(){return this.cache_.getAffinityVersion()};
g.getReporter=function(){throw Error("Wa");};g.getSessionState=function(){throw Error("Wa");};g.getHide=function(){throw Error("Wa");};var UDc=function(a,b,c){var d=this;this.cache_=a;this.queryFactory_=b;this.clientInfo_=c;this.getSessionCache_=Hi(c,34,!1)?function(e){var f=d.cache_,h=e.slots_;if(h.length){var k=e.getFilter(),q=new LDc;e.setFilter(q);e=new QDc(f,h,q,k)}else e=f;return e}:function(){return d.cache_}};UDc.prototype.warmUpCache=function(){return this.cache_.warmUpCache()};UDc.prototype.flushCache=function(a){this.cache_.flushCache(a)};UDc.prototype.lookup=function(a,b,c){this.cache_.lookup(a,b,c)};
UDc.prototype.beginSession=function(a){a=this.getSessionCache_(a);return new SDc(a,this.queryFactory_,this.clientInfo_)};var VDc=function(a,b,c,d,e,f,h,k){this.delegate_=a;this.prefix_=b;this.terms_=c;this.collector_=d;this.boostKey_=e;this.filter_=h;this.listener_=Ccb(this,f);this.isEmailAddress_=null;this.selectedCustomProviderNames_=k?new Set(k):null};g=VDc.prototype;g.getPrefix=function(){return this.prefix_};g.getTerms=function(){return this.terms_};g.getFormat=function(){return this.delegate_.getFormat()};g.getCollector=function(){return this.collector_};g.getBoostKey=function(){return this.boostKey_};
g.getListener=function(){return this.listener_};g.isDone=function(){return this.collector_.isDone()};g.isCancelled=function(){return this.delegate_.isCancelled()};g.isSuggestQuery=function(){return!this.prefix_};g.isEmailAddress=function(){null===this.isEmailAddress_&&(this.isEmailAddress_=rdc(this.prefix_));return this.isEmailAddress_};g.queryScope=function(){return this.delegate_.queryScope()};g.getResultFilter=function(){return this.filter_};
g.shouldSkipCache=function(a){return!(!this.selectedCustomProviderNames_||!a||this.selectedCustomProviderNames_.has(a))};var WDc=function(a,b,c){this.format_=a;this.querySession_=b;this.queryScope_=c;this.id_=++this.querySession_.queryId_};WDc.prototype.getFormat=function(){return this.format_};WDc.prototype.isCancelled=function(){return this.querySession_.getQueryId()!==this.id_};WDc.prototype.queryScope=function(){return this.queryScope_};var p2=function(){this.foundKeys_=new Set};Y(p2,iZ);p2.prototype.shouldRemove=function(a){return this.foundKeys_.has(String(a.getId()))};p2.prototype.has=function(a){return this.foundKeys_.has(a)};p2.prototype.add=function(a){this.foundKeys_.add(a)};p2.prototype.reset=function(){this.foundKeys_.clear()};var XDc=function(a){this.delegate_=a;this.filter_=new p2};XDc.prototype.loadOrSkip=function(a){if(this.filter_.has(a))return null;a=this.delegate_.loadOrSkip(a);if(!a)return null;a=this.filter_.filterResult(a);if(!a)return null;for(var b=l(a.getTargetList()),c=b.next();!c.done;c=b.next())this.filter_.add(String(c.value.getId()));return a};XDc.prototype.resultCount=function(){return this.delegate_.resultCount()};XDc.prototype.isDone=function(){return this.delegate_.isDone()};var YDc=function(a,b,c){this.delegate_=a;this.filter_=b;this.filter_.reset(c)};YDc.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);return a?(a=this.filter_.filterResult(a))&&a.getTargetList().length?a:null:null};YDc.prototype.resultCount=function(){return this.delegate_.resultCount()};YDc.prototype.isDone=function(){return this.delegate_.isDone()};var ZDc=function(a,b){this.storage_=a;this.format_=b};ZDc.prototype.loadOrSkip=function(a){return this.storage_.load(a,this.format_)||null};ZDc.prototype.resultCount=function(){return 0};ZDc.prototype.isDone=function(){return!1};var $Dc=[198,230,306,307,338,339],aEc=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)"+ao(b),"g")})},Dcb=function(a,b){var c=[];if(!b||!a.matchers_.length)return c;var d=Kr(fbb(b)).replace(gbb,"").toUpperCase().toLowerCase(),e=d.indexOf("@");a=l(a.matchers_);for(var f=a.next();!f.done;f=a.next()){f=f.value;f.lastIndex=
0;for(var h=f.exec(d);h;h=f.exec(d)){h=h.index;if(0<=e&&h>e)break;c.push([h,f.lastIndex])}}c.sort(function(k,q){return k[0]-q[0]});for(e=c.length-1;0<e;e--)a=c[e-1],f=c[e],a[1]>=f[0]&&(a[1]=f[1],c.splice(e,1));if(c.length&&d.length!==b.length){d=[];e=[];for(a=0;a<b.length;a++)f=b.codePointAt(a),65535<f||768<=f&&879>=f?(d.push(a),a++):$Dc.includes(f)&&e.push(a);b=l(c);for(a=b.next();!a.done;a=b.next()){a=a.value;f=l(d);for(h=f.next();!h.done;h=f.next())h=h.value,h<a[0]&&a[0]++,h<a[1]&&a[1]++;f=l(e);
for(h=f.next();!h.done;h=f.next())h=h.value,h<a[0]&&a[0]--,h<a[1]&&a[1]--}}return c};var ls=function(a,b){this.start_=a;this.end_=b};ls.prototype.getStart=function(){return this.start_};ls.prototype.getEnd=function(){return this.end_};var Ecb=function(a,b,c){this.displayNameMatches_=a;this.displayValueMatches_=b;this.givenNameMatches_=c};Ecb.prototype.getDisplayNameMatches=function(){return this.displayNameMatches_};Ecb.prototype.getDisplayValueMatches=function(){return this.displayValueMatches_};Ecb.prototype.getGivenNameMatches=function(){return this.givenNameMatches_};var bEc=function(a,b){this.delegate_=a;this.matcher_=b;this.memberList_=a.getMemberList().map(function(c){return new bEc(c,b)});this.matchInfo_=null};Y(bEc,hZ);bEc.prototype.getMemberList=function(){return this.memberList_};bEc.prototype.getMatchInfo=function(){if(!this.matchInfo_){var a,b=(null==(a=this.getDelegate().getPrimaryTarget().getName())?void 0:a.getGivenName())||"";this.matchInfo_=Fcb(this.matcher_,this.getDelegate().getDisplayName(),this.getDelegate().getDisplayValue(),b)}return this.matchInfo_};var cEc=function(a,b){this.delegate_=a;this.matcher_=new aEc(b)};cEc.prototype.loadOrSkip=function(a){return(a=this.delegate_.loadOrSkip(a))?new bEc(a,this.matcher_):null};cEc.prototype.resultCount=function(){return this.delegate_.resultCount()};cEc.prototype.isDone=function(){return this.delegate_.isDone()};var dEc=/\s+/g,eEc=function(a,b){this.clientInfo_=a;this.storage_=b},TDc=function(a,b,c,d,e){var f=hbb([b]);b=(b||"").replace(dEc," ").trim();var h=!f.length;var k=a.clientInfo_;k=h?d.getSuggestFormat()||k.getSuggestFormat():d.getSearchFormat()||k.getSearchFormat();var q=a.clientInfo_;h=h?d.getSuggestMaxResults()||q.getSuggestMaxResults():d.getSearchMaxResults()||q.getSearchMaxResults();var t=d.boostIds_;q=d.primingTimeoutMillis_;if(t.length){t=t.map(String);var w=Mbb(t)+":"+t.length;q={ids:t,cacheKey:w,
primingTimeoutMillis:q}}else q=nDc;t=d.getFilter();a=new ZDc(a.storage_,k);t&&(a=new YDc(a,t,b));a=new XDc(a);a=new ODc(a,h);a=f.length?new cEc(a,f):a;h=d.getQueryScope();c=new WDc(k,c,h);return new VDc(c,b,f,a,q,e,t,d.selectedCustomProviderNames_)};var fEc=function(a){this.fetcher=a};fEc.prototype.getStageType=function(){return 2};fEc.prototype.lookup=function(a){var b=this,c,d,e,f,h,k,q,t,w;return qe(function(y){switch(y.nextAddress){case 1:c=Hcb(UAc(a)),d=l(c),e=d.next();case 2:if(e.done){y.jumpTo(4);break}f=e.value;h=l(f);k=h.next().value;q=h.next().value;t=k;w=q;if(!t){y.jumpTo(3);break}return y.yield(b.fetcher.fetch(w,t,a.getFormat(),function(C,J){a.notify(C,[],J)},a.getOptions()),3);case 3:e=d.next();y.jumpTo(2);break;case 4:return y.return()}})};var gEc=function(a,b){this.delegate=a;this.maxLookupChunkSize=rBc(b)};gEc.prototype.fetch=function(a,b,c,d,e){var f=this,h,k,q;return qe(function(t){switch(t.nextAddress){case 1:var w=f.maxLookupChunkSize;if(a.length)if(a.length<=w)w=[a];else{for(var y=[],C=0;C<a.length;C+=w){var J=a.slice(C,C+w);J.length&&y.push(J)}w=y}else w=[];h=l(w);k=h.next();case 2:if(k.done){t.jumpTo(4);break}q=k.value;return t.yield(f.delegate.fetch(q,b,c,d,e),3);case 3:k=h.next();t.jumpTo(2);break;case 4:return t.return()}})};var hEc=function(a){this.qos=a};hEc.prototype.getIndex=function(){return String(this.qos)};var iEc=new hEc(1),jEc=new hEc(2);var kEc=function(a,b,c){this.trackers=a;this.loader=b;this.indexer=c};
kEc.prototype.fetch=function(a,b,c,d,e){var f=this,h,k,q,t,w,y,C,J,I,P,O;return qe(function(U){switch(U.nextAddress){case 1:return h=3===b?4:3,k=w1((new ws).setProvenance(h),!0).setCode(0),re(U,2),U.yield(f.loader.loadLookupItems(b,a.map(function(aa){return aa.getOriginalValue()}),jEc),4);case 4:q=U.yieldResult;q.metadata.getCode()&&k.setCode(q.metadata.getCode());t=3===e.getQueryScope();try{f.indexer.store(b,q.data,q.metadata,t)}catch(aa){f.trackers.error(21,10).report(),k.setCode(13)}tt(U,3);break;
case 2:w=ve(U),y=Number(w),k.setCode(isFinite(y)&&y?y:13);case 3:C=new Map;J=l(a);for(I=J.next();!I.done;I=J.next())P=I.value,(O=f.indexer.load(P,c,e.useOriginalDisplayValue_))&&C.set(P,O);d(C,k);return U.return()}})};var lEc=function(a){this.indexer=a};lEc.prototype.getStageType=function(){return 1};lEc.prototype.lookup=function(a){var b=this,c,d,e,f,h,k;return qe(function(q){c=new Map;d=[];e=l(UAc(a));for(f=e.next();!f.done;f=e.next())if(h=f.value,k=b.indexer.load(h,a.getFormat(),a.getOptions().useOriginalDisplayValue_))c.set(h,k);else{var t=b.indexer;(Cdc(h)?t.notFoundIds.get(String(h)):1)&&d.push(h)}a.notify(c,d,w1((new ws).setProvenance(6),!1).setCode(0));return q.return()})};var mEc=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"),nEc=function(a,b,c,d,e){this.loader_=a;this.ranker_=b;this.trieFactory_=c;this.storage_=d;this.placeholderFactory_=ycb(e);this.indexes_=E1(Xh(e,8,250),1E3*pl(e,9,3600));this.notFound_=E1(Xh(e,10,500),1E3*pl(e,11,600))};g=nEc.prototype;g.getCacheType=function(){return 3};g.flush=function(){this.indexes_.clear();this.notFound_.clear()};
g.fetch=function(a){var b=this,c,d,e;return qe(function(f){switch(f.nextAddress){case 1:c=w1(new ws,!0).setProvenance(2).setCode(0);if(a.isSuggestQuery())return b.loader_.warmUpServer(iEc).catch(function(){}),f.return(c);if(b.canSkipFetch_(a))return f.return(w1(c,!1));re(f,2);return f.yield(b.loader_.loadAutocompleteItems(a,jEc),4);case 4:d=f.yieldResult;tt(f,3);break;case 2:return e=ve(f),f.return(c.setCode(isFinite(e)?e:13));case 3:try{b.index(a,d.data,d.metadata)}catch(h){return f.return(c.setCode(13))}return f.return(c)}})};
g.search=function(a){return a.isSuggestQuery()?[]:this.indexes_.has(a.getPrefix())?this.indexes_.get(a.getPrefix()).search([]).getMatches(a.getCollector()):(a=this.placeholderFactory_.createFromQuery(a))?[a]:[]};g.index=function(a,b,c){if(!Hi(c,5))if(cj(c,5,!0),b.length){c=QAc(this.ranker_,b,1);var d=3===a.queryScope();this.storage_.storeItems(1,b,d);b=SAc(this.trieFactory_,c);this.indexes_.set(a.getPrefix(),b)}else this.notFound_.set(a.getPrefix(),a.getPrefix())};
g.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(mEc))break;if(this.notFound_.has(c))return!0}return!1};g.getName=function(){};var oEc=function(a,b,c,d,e){this.loader_=a;this.ranker_=b;this.trieFactory_=c;this.storage_=d;this.coalescedSortOrder_=e;this.indexes_=new Map;this.trieFactory_.trieRoots_=this.indexes_};g=oEc.prototype;g.getCacheType=function(){return 1};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d,e,f;return qe(function(h){switch(h.nextAddress){case 1:return c=w1(new ws,!0).setProvenance(1).setCode(0),d=b.storage_.getExpiry().isExpired()?jEc:iEc,re(h,2),h.yield(b.loader_.loadRankedItems(d),4);case 4:e=h.yieldResult;tt(h,3);break;case 2:return f=ve(h),h.return(c.setCode(isFinite(f)?f:13));case 3:try{b.index(a,e.data,e.metadata)}catch(k){c.setCode(13)}return h.return(c)}})};
g.search=function(a){return a.isSuggestQuery()||a.getTerms().length?(this.indexes_.get(a.getFormat())||D1).search(a.getTerms()).getMatches(a.getCollector()):[]};g.index=function(a,b,c){if(!Hi(c,5)){cj(c,5,!0);a=1!==this.coalescedSortOrder_?QAc(this.ranker_,b,this.coalescedSortOrder_):null;var d=QAc(this.ranker_,b,1);this.storage_.flush();this.storage_.storeItems(1,b);this.storage_.markAsFresh(c);b=SAc(this.trieFactory_,d);c=a?SAc(this.trieFactory_,a):b;this.indexes_.set(1,b);this.indexes_.set(2,c)}};
g.getName=function(){};var pEc=new aBc(27,32,33),qEc=new aBc(24,23,20);var rEc=function(){};rEc.prototype.configure=function(a){var b=a.trackers,c=a.storage,d=a.indexer,e=a.loader,f=a.trieFactory,h=a.prefixCaches,k=a.lookupStages,q=a.loaderFactory.ranker_,t=a.clientConfig.getClient();if(0<t.getCacheSize()){var w=Li(t,19,1);w=new oEc(e,q,f,c,w);w=new G1(w,b,qEc);h.push(w);k.push(new lEc(d))}0<t.getSearchMaxResults()&&(c=new nEc(e,q,f,c,t),b=new G1(c,b,pEc),h.push(b));h=new kEc(a.trackers,a.loader,a.indexer);h=new gEc(h,a.clientConfig);k.push(new fEc(h))};var sEc=function(a){this.delegate=a};g=sEc.prototype;g.warmUpSession=function(a){return this.delegate.warmUpSession(a)};g.suggest=function(a,b){this.delegate.suggest(a,b)};g.search=function(a,b,c){this.delegate.search(a,b,c)};g.cancel=function(){this.delegate.cancel()};g.getLastUpdatedTimestamp=function(){return this.delegate.getLastUpdatedTimestamp()};g.getAffinityVersion=function(){return this.delegate.getAffinityVersion()};g.getReporter=function(a){return this.delegate.getReporter(a)};
g.getSessionState=function(){return this.delegate.getSessionState()};g.getHide=function(){return this.delegate.getHide()};var q2=function(a){this.delegate=a};q2.prototype.warmUpCache=function(){return this.delegate.warmUpCache()};q2.prototype.flushCache=function(a){this.delegate.flushCache(a)};q2.prototype.lookup=function(a,b,c){this.delegate.lookup(a,b,c)};q2.prototype.beginSession=function(a){return this.delegate.beginSession(a)};var tEc=function(a,b,c){this.idType_=a;this.id_=b;this.options_=c};tEc.prototype.getId=function(){return this.id_};tEc.prototype.getIndex=function(){return this.getId()+":"+this.idType_+":"+this.options_.getIndex()};var uEc=function(a,b,c){this.idType_=a;this.ids_=b;this.options_=c};g=uEc.prototype;g.getIds=function(){return this.ids_};g.getIdType=function(){return this.idType_};g.getOptions=function(){return this.options_};
g.getKeys=function(){var a=this;return this.getIds().map(function(b){return new tEc(a.getIdType(),b,a.getOptions())})};g.setIds=function(a){this.ids_=a;return this};g.setIdType=function(a){this.idType_=a};g.setOptions=function(a){this.options_=a};g.clone=function(){var a=this.getIdType(),b=this.getIds(),c=this.getOptions();return new uEc(a,b,c)};var vEc=function(a,b){this.ids_=new Set(b.getIds());this.parameters_=b.clone();this.loader_=a;this.resolver_=new mxc;this.isSent_=!1};vEc.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)}};vEc.prototype.promise=function(){return this.resolver_.promise};
vEc.prototype.merge=function(a,b){var c;(c=this.isSent_)||(c=this.parameters_,c=!(a.getIdType()===c.getIdType()&&a.getOptions()===c.getOptions()));if(c||a.getIds().length+this.ids_.size>b)return!1;a=l(a.getIds());for(b=a.next();!b.done;b=a.next())this.ids_.add(b.value);return!0};var wEc=function(a,b,c){this.delegate_=a;this.batchedRequest_=null;this.tracker_=b;this.maxRequestSize_=rBc(c);this.lastRequestCreationTime_=0};
wEc.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 vEc(this.delegate_,a);a=Date.now();var d=a-this.lastRequestCreationTime_;this.lastRequestCreationTime_=a;cq(function(){c===b.batchedRequest_&&(c.send(),b.batchedRequest_=null)},30<d?0:30)}return this.batchedRequest_.promise()};var xEc=function(a,b){this.delegate_=a;this.inflightRequests_=NAc();this.tracker_=b};
xEc.prototype.load=function(a){for(var b=this,c=new Set,d=[],e=l(a.getKeys()),f=e.next();!f.done;f=e.next()){f=f.value;var h=f.getIndex();this.inflightRequests_.has(h)?c.add(this.inflightRequests_.get(h)):d.push(f.getId())}d.length===a.getKeys().length?this.tracker_.count(93).increment():d.length?this.tracker_.count(92).increment():this.tracker_.count(91).increment();if(d.length){var k=a.clone().setIds(d);var q=new vEc(this.delegate_,k);q.send();c.add(q);a=l(k.getKeys());for(f=a.next();!f.done;f=
a.next())this.inflightRequests_.set(f.value.getIndex(),q);q.promise().catch(function(){}).finally(function(){for(var t=l(k.getKeys()),w=t.next();!w.done;w=t.next())b.inflightRequests_.delete(w.value.getIndex())})}c=Array.from(c);return Promise.all(c.map(function(t){return t.promise()})).then(function(t){return q?q.promise().then(function(w){return Icb(t,w.metadata)}):Icb(t)})};var yEc=function(a){this.peopleLoader_=a};yEc.prototype.load=function(a){return this.peopleLoader_.loadLookupItems(a.getIdType(),a.getIds(),a.getOptions())};var zEc=function(a,b,c){this.peopleLoader_=a;this.gatedLoaders_=new Map;this.tracker_=b;this.clientConfig_=c};zEc.prototype.load=function(a){if(!this.gatedLoaders_.has(a.getIdType())){var b=new yEc(this.peopleLoader_);b=new wEc(b,this.tracker_,this.clientConfig_);b=new xEc(b,this.tracker_);this.gatedLoaders_.set(a.getIdType(),b)}return this.gatedLoaders_.get(a.getIdType()).load(a)};var AEc=function(a,b,c){this.delegate_=a;this.trackers_=b;this.searchRequests_=new Map;this.lookupLoader_=new zEc(this.delegate_,this.trackers_,c)},BEc=function(a,b,c,d){var e,f;return qe(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));f=d();a.searchRequests_.set(e,f);h.catchAddress_=0;h.finallyAddress_=2;return h.yield(f,4)}if(2!=h.nextAddress)return h.return(h.yieldResult);te(h);a.searchRequests_.delete(e);
return ue(h,0)})};AEc.prototype.loadRankedItems=function(a){var b=this;return BEc(this,81,"",function(){return b.delegate_.loadRankedItems(a)})};AEc.prototype.warmUpServer=function(a){var b=this;return BEc(this,82,"",function(){return b.delegate_.warmUpServer(a)})};AEc.prototype.loadAutocompleteItems=function(a,b){var c=this;return BEc(this,82,a.getPrefix(),function(){return c.delegate_.loadAutocompleteItems(a,b)})};
AEc.prototype.loadLookupItems=function(a,b,c){return this.lookupLoader_.load(new uEc(a,b,c))};var CEc=function(){return Date.now()},DEc=function(a,b,c){this.delegate_=a;this.nowFn_=c;this.cacheFlushRateMillis_=1E3*pl(b.getClient(),14,300);this.serverWarmupRateMillis_=1E3*pl(b.getClient(),13,60);this.lastServerWarmup_=this.lastCacheFlush_=0};DEc.prototype.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)};
DEc.prototype.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)};DEc.prototype.loadAutocompleteItems=function(a,b){return this.delegate_.loadAutocompleteItems(a,b)};DEc.prototype.loadLookupItems=function(a,b,c){return this.delegate_.loadLookupItems(a,b,c)};var EEc=function(a,b,c){this.delegate_=a;this.listener_=b;this.options_=c;this.delegate_.warmUpSession(c)};g=EEc.prototype;g.suggest=function(a){a=void 0===a?this.listener_:a;this.delegate_.suggest(a,this.options_)};g.search=function(a,b){b=void 0===b?this.listener_:b;this.delegate_.search(a,b,this.options_);return this};g.cancel=function(){this.delegate_.cancel();return this};g.getReporter=function(a){a=void 0===a?Syc:a;return this.delegate_.getReporter(a)};g.getHide=function(){return this.delegate_.getHide()};var FEc=function(a,b){this.delegate_=a;this.members_=b;this.totalMemberCount_=vr(a.getPrimaryTarget().getId())?b.length:a.getTotalMemberCount()};Y(FEc,hZ);FEc.prototype.getMemberList=function(){return this.members_};FEc.prototype.getTotalMemberCount=function(){return this.totalMemberCount_};var GEc=function(a,b){this.filter_=a;this.filterEmptyExplodingGroups_=b};GEc.prototype.filterResult=function(a){var b=this;if(!vr(a.getPrimaryTarget().getId()))return a;var c=a.getMemberList().map(function(d){return b.filter_.filterResult(d)}).filter(Boolean);return this.filterEmptyExplodingGroups_&&0===c.length?null:a.getMemberList().every(function(d,e){return d===c[e]})?a:new tq(new FEc(a,c))};GEc.prototype.reset=function(a){this.filter_.reset(a)};
var Jcb=function(a,b){this.filter_=o_a(a,new GEc(a,b))};Jcb.prototype.filterResult=function(a){return this.filter_.filterResult(a)};Jcb.prototype.reset=function(a){this.filter_.reset(a)};var HEc=function(a){this.delegate_=a};HEc.prototype.warmUpCache=function(){return this.delegate_.warmUpCache().then(function(){return Promise.resolve()},function(a){var b=2;a instanceof x1&&(a=a.getSource())&&(b=a.getCode());return Promise.reject(b)})};HEc.prototype.flushCache=function(a){this.delegate_.flushCache(a)};HEc.prototype.lookup=function(a,b,c){c=void 0===c?new DAc:c;c.setFilter(Kcb(c.getFilter(),!0));this.delegate_.lookup(a,b,c);return this};
HEc.prototype.beginSession=function(a,b){b=void 0===b?new Cr:b;b=b.clone();b.setFilter(Kcb(b.getFilter(),b.filterEmptyExplodingGroups_));var c=this.delegate_.beginSession(b);return new EEc(c,a,b)};var IEc=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]]),JEc=new Map([[2,13],[3,6]]),KEc=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 LEc=new Map([[1,1],[2,3],[3,5]]),MEc=new Map([[1,2],[2,4],[3,5],[4,8],[6,15],[7,19],[10,20]]),NEc=new Map([[1,2],[2,9],[3,6],[4,6],[6,15],[7,19],[10,20]]),OEc=function(a,b){this.logContext_=Mcb(a,b)};g=OEc.prototype;g.getLogContext=function(){return this.logContext_};
g.createCountMetric=function(a,b,c){var d=b.source(),e=new j2;switch(d.getEventType()){case 1:d=e.setCount;b=Li(b.source(),4,0);var f=new yCc;f.setType(b);f.setValue(c);d.call(e,f);e.setEventType(1);break;case 4:case 5:c=e.setRpcRequest;b=Li(b.source(),3,0);d=new i2;d.setLabel(b);c.call(e,d);e.setEventType(4);break;case 6:case 7:c=e.setApiCall;b=b.source();d=Li(b,2,0);f=new vCc;b.hasItemCount()&&f.setItemCount(b.getItemCount());b.hasQueryLength()&&f.setQueryLength(b.getQueryLength());b.hasLookupInfo()&&
f.setLookupInfo(b.getLookupInfo());b.hasQueryScope()&&f.setQueryScope(b.getQueryScope());f.setLabel(d);c.call(e,f);e.setEventType(6);break;default:return null}e.setClientInterface(a);return e};
g.createStatusMetric=function(a,b,c){var d=b.source(),e=new j2;switch(d.getEventType()){case 4:case 5:d=e.setRpcResponse;var f=b.source(),h=Li(f,3,0);var k=Li(f,13,0)||0;k=JEc.get(k)||IEc.get(c)||0;var q=MQ(b,"blocked"),t=MQ(b,"network"),w=MQ(b,"processed");b=new zCc;b.setLabel(h);b.setStatus(k);b.setBlockedUsec(q);b.setLatencyUsec(t);nj(b,9,w);b.setStatusCode(c);Xh(f,12,0)&&(c=Xh(f,12,0),nj(b,6,c));d.call(e,b);e.setEventType(5);break;case 6:case 7:d=e.setApiResult;h=b.source();k=Li(h,2,0);f=new wCc;
f.setLabel(k);f.setStatusCode(c);h.hasItemCount()&&f.setItemCount(h.getItemCount());h.hasQueryLength()&&f.setQueryLength(h.getQueryLength());h.hasLookupInfo()&&f.setLookupInfo(h.getLookupInfo());h.hasQueryScope()&&f.setQueryScope(h.getQueryScope());0===c&&(b=MQ(b,"total"),f.setLatencyUsec(b));c=KEc.get(c)||0;f.setStatus(c);c=h.getResultIndex();f.setResultIndex(c);if(b=h.getCacheState())c=LEc.get(ds(b,2))||0,hj(f,5,c),c=LEc.get(ds(b,3))||0,hj(f,6,c),c=f.setDataSource,h=b.getSource(),b=!Hi(h,1),h=h.getProvenance(),
b=(b?NEc.get(h):MEc.get(h))||0,c.call(f,b);d.call(e,f);e.setEventType(7);break;default:return null}e.setClientInterface(a);return e};
g.createLatencyMetric=function(a,b){var c=b.source();if(2!==c.getEventType())return null;var d=new j2;d.setClientInterface(a);a=d.setLatency;var e=Li(b.source(),5,0);if(37===e||38===e||40===e){e=Li(b.source(),5,0);var f=MQ(b,"LATENCY_A");b=MQ(b,"LATENCY_B");b=null!=f&&null!=b?f-b:NaN;f=new h2;f.setType(e);isFinite(b)&&f.setLatencyUsec(b);e=f}else b=MQ(b,"total"),f=new h2,f.setType(e),f.setLatencyUsec(b),e=f;a.call(d,e);d.setEventType(c.getEventType());return d};
g.createErrorMetric=function(a,b){var c=b.source();if(3!==c.getEventType())return null;var d=new j2;d.setClientInterface(a);a=d.setError;var e=b.source();b=e.getErrorType();e=Li(e,7,0);var f=new g2;f.setType(b);hj(f,4,e);a.call(d,f);d.setEventType(c.getEventType());return d};var PEc=function(a,b){this.delegate_=a;this.trackers_=b};g=PEc.prototype;g.reportDisplay=function(a){this.delegate_.reportDisplay(a)};g.reportSelect=function(a,b){b=void 0===b?new Tyc:b;this.delegate_.reportSelect(a,b)};g.reportExternalSelect=function(a){this.delegate_.reportExternalSelect(a)};g.reportDeselect=function(a){this.delegate_.reportDeselect(a)};g.reportProceed=function(a){this.delegate_.reportProceed(a)};g.reportDismiss=function(){this.delegate_.reportDismiss();QEc(this)};
g.reportSave=function(a){this.delegate_.reportSave(a);QEc(this)};g.reportSecondaryAction=function(a){this.delegate_.reportSecondaryAction(a);QEc(this)};g.reportSend=function(a){this.delegate_.reportSend(a);QEc(this)};var QEc=function(a){a=a.trackers_;var b=a.api,c=new Zr;as(c.setEventType(6),3);b.call(a,c).call()};var REc=function(a,b){this.delegate_=this.delegate=a;this.trackers_=b};Y(REc,sEc);
REc.prototype.suggest=function(a,b){var c=this;try{var d=!1,e=!1,f=this.trackers_.api($bb(b.getQueryScope()));f.call();this.delegate_.suggest(function(h){var k=h.getMetadata(),q=k.getCacheState();f.source.setCacheState(q);f.source.setItemCount(h.getResults().length);f.result(q.getSource().getCode());k.getIsFirstCallback()&&(d&&0===k.getCode()&&c.trackers_.error(22,19).report(),d=!0);k.getIsLastCallback()&&(e&&0===k.getCode()&&c.trackers_.error(22,20).report(),e=!0);k=c.trackers_.latency(90);k.start();
try{a(h)}catch(t){throw c.trackers_.error(22,11).report(),t;}finally{k.stop()}},b)}catch(h){throw this.trackers_.error(22,1).report(),h;}};
REc.prototype.search=function(a,b,c){var d=this;try{var e=!1,f=!1,h=this.trackers_.api(Zbb(a,c.getQueryScope()));h.call();this.delegate_.search(a,function(k){var q=k.getMetadata(),t=q.getCacheState();h.source.setCacheState(t);h.source.setItemCount(k.getResults().length);h.result(t.getSource().getCode());q.getIsFirstCallback()&&(e&&0===q.getCode()&&d.trackers_.error(23,19).report(),e=!0);q.getIsLastCallback()&&(f&&0===q.getCode()&&d.trackers_.error(23,20).report(),f=!0);q=d.trackers_.latency(91);q.start();
try{b(k)}catch(w){throw d.trackers_.error(23,11).report(),w;}finally{q.stop()}},c)}catch(k){throw this.trackers_.error(23,1).report(),k;}};REc.prototype.getReporter=function(a){a=this.delegate_.getReporter(a);return new PEc(a,this.trackers_)};var r2=function(a,b){this.delegate_=this.delegate=a;a=this.trackers_=b;b=a.api;var c=new Zr;as(c.setEventType(6),1);b.call(a,c).call()};Y(r2,q2);
r2.prototype.warmUpCache=function(){var a=this,b=this.trackers_.api(Ybb());b.call();return this.delegate_.warmUpCache().then(function(c){b.source.setCacheState(c);b.result(c.getSource().getCode());return c},function(c){c instanceof x1?(b.source.setCacheState(c),b.result(c.getSource().getCode())):(a.trackers_.error(17,1).report(),c=(new x1).setSource((new ws).setCode(2)));return Promise.reject(c)})};
r2.prototype.flushCache=function(a){var b=this.trackers_,c=b.api;switch(a){case 2:var d=12;break;case 1:d=4;break;default:d=10}var e=new Zr;as(e.setEventType(6),d);b=c.call(b,e);b.call();try{this.delegate_.flushCache(a),b.result(0)}catch(f){throw this.trackers_.error(17,1).report(),f;}};
r2.prototype.lookup=function(a,b,c){var d=this;try{var e=!1,f=!1,h=this.trackers_.api(Xbb(a,c.getQueryScope()));h.call();this.delegate_.lookup(a,function(k){var q=k.getMetadata(),t=q.getCacheState();h.source.setCacheState(t);h.source.setItemCount(k.getResults().size);for(var w=0,y=0,C=0,J=l(k.getResults().keys()),I=J.next();!I.done;I=J.next()){var P=I.value;vdc.includes(P.getType())?w++:wdc.includes(P.getType())?y++:xdc.includes(P.getType())&&C++}var O=0;J=P=0;var U=l(q.notFoundIdList_);for(I=U.next();!I.done;I=
U.next())I=I.value,vdc.includes(I.getType())?O++:wdc.includes(I.getType())?P++:xdc.includes(I.getType())&&J++;I=h.source.getLookupInfo();w=dj(I,2,w);y=dj(w,1,y);C=dj(y,3,C);C=dj(C,5,O);C=dj(C,4,P);dj(C,6,J);h.result(t.getSource().getCode());q.getIsFirstCallback()&&(e&&0===q.getCode()&&d.trackers_.error(8,19).report(),e=!0);q.getIsLastCallback()&&(f&&0===q.getCode()&&d.trackers_.error(8,20).report(),f=!0);q=d.trackers_.latency(89);q.start();try{b(k)}catch(aa){throw d.trackers_.error(8,11).report(),
aa;}finally{q.stop()}},c)}catch(k){throw this.trackers_.error(8,1).report(),k;}};r2.prototype.beginSession=function(a){var b=this.trackers_,c=b.api,d=new Zr;as(d.setEventType(6),2);c.call(b,d).call();a=this.delegate_.beginSession(a);return new REc(a,this.trackers_)};var SEc=function(a,b){this.clearcut_=a;this.logEventFactory_=b};SEc.prototype.report=function(a){var b=WQ(this.clearcut_);a=this.logEventFactory_.eventsFactory_.create(b,a);a=l(a);for(b=a.next();!b.done;b=a.next())XQ(this.clearcut_,b.value)};var TEc=function(a){this.clearcut_=a};TEc.prototype.report=function(a){this.clearcut_.report(a);return this};var UEc=function(a){this.writer_=a},WEc=function(a,b,c){var d=new SQ,e=a.writer_,f=d.getMetadata()||new RQ;d.setMetadata(f);var h=or(b)||new js;a=vi(b,ks,1)||new ks;e.metadataStateWriter_.write(f,h,(Hi(a,9,!0)?Xh(h,2,0):Xh(h,1,0))||0,VEc(b));e.contactInfoWriter_.write(d,a,c,h.getProvenance()||0);b=vi(d,PQ,4)||new PQ;ej(d,PQ,4,b);vi(d,PQ,4).setType(ss(a,7));d.setLoggingId($t(a,2));return d};var XEc=function(){};
XEc.prototype.create=function(a,b,c){var d=new $cc;d.setQueryId(Ui(b,3,0));d.setSelectionId(Ui(b,4,0));var e=Ui(b,5,0);nj(d,3,e);d.setInstanceId(b.getInstanceId());d.setAffinityVersion(b.getAffinityVersionOrUndefined());e=new adc;ej(e,$cc,3,d);7!==c&&b.hasQuery()&&(d=b.getQuery(),2===c&&e.setQuery(d),e.setQueryLength(d.length));var f=new bdc;d=sOa(pl(b,9,0)-pl(b,8,0));dj(f,2,d);d=new TQ;ej(d,adc,1,e);ej(d,bdc,6,f);e=new Zcc;if(f=Ui(b,6,0)){nj(e,3,1E3*f);var h=1E3*(Date.now()-f);nj(e,2,h)}cj(e,1,!!f);
ej(d,Zcc,3,e);d.setAffinityVersion(b.getAffinityVersionOrUndefined());b=new cdc;b.setEventType(c);b.setMetadata(d);b.setClientInterface(a.clone());return b};var YEc=function(){};YEc.prototype.extractPersonEventSource=function(a){return Xn(Ncb(a),4)};YEc.prototype.extractFieldEventSource=function(a){return Xn(Ncb(a),3)};var ZEc=function(){};ZEc.prototype.extractPersonEventSource=function(a){var b=a.getSources()||new rs;return(a.getQuery()||"").length?ds(b,2):ds(b,4)};ZEc.prototype.extractFieldEventSource=function(a){var b=a.getSources()||new rs;return(a.getQuery()||"").length?ds(b,1):ds(b,3)};var $Ec=function(){};$Ec.prototype.extractPersonEventSource=function(a){return Xn(Ocb(a),4)};$Ec.prototype.extractFieldEventSource=function(a){return Xn(Ocb(a),3)};var aFc=function(a,b,c){this.defaultTokenGroups_=a;this.additionTokenGroups_=b;this.replacementTokenGroups_=c};var bFc=new Map([[1,11],[2,12],[0,0]]),cFc=function(){};cFc.prototype.write=function(a,b,c){var d=new NQ;dj(d,1,c);c=new OQ;c.setPosition(d);c.setExistingSelectionsCount(b.getExistingSelectionsCount());ej(a,OQ,8,c);b=[bFc.get(b.getContext())];oj(a,3,b)};var dFc=new Map([[1,5],[2,4],[3,6],[7,13]]),eFc=function(){};eFc.prototype.write=function(a,b,c,d){var e=new NQ;dj(e,1,c);a.setPosition(e);c=dFc.get(b.getProvenance())||0;d||1===Li(b,4,0)?c=3:2===Li(b,4,0)&&(c=10);oj(a,3,[c])};var fFc=new Set([9,1,2]),gFc=function(){};gFc.prototype.write=function(a,b,c,d){if(8===c||10===c||9===c||2===c&&fFc.has(d))c=new PQ,1!==ds(b,7)&&7!==ds(b,7)||c.setEmail($t(b,3)),2!==ds(b,7)&&5!==ds(b,7)||c.setPhone($t(b,3)),b.hasProfileId()&&c.setObfuscatedGaiaId(b.getProfileId()),b.hasGroupId()&&c.setGroupId(b.getGroupId()),ej(a,PQ,4,c),c=new QQ,c.setName(b.getNameOrUndefined()),b=a.getMetadata()||new RQ,ej(b,QQ,2,c),a.setMetadata(b)};var hFc=function(a){var b=new gFc;this.metadataStateWriter_=a;this.contactInfoWriter_=b},VEc=function(a){var b;return(null==(b=vi(a,ks,1))?0:b.getIsPlaceholder())?!0:!1};var us=function(a){this.internalArray_=m(a)};Y(us,n);g=us.prototype;g.getEventType=function(){return Li(this,1,0)};g.getEventType_legacyNullable=function(){return ds(this,1)};g.setEventType=function(a){return hj(this,1,a)};g.getSessionState=function(){return vi(this,gZ,2)};g.setSessionState=function(a){ej(this,gZ,2,a)};g.hasSessionState=function(){return Pi(this,gZ,2)};g.setEventSources=function(a){ej(this,rs,4,a)};us.repeatedFields_=[3];var iFc=new Set([8]),jFc=function(){this.defaultEntityFactory_=new UEc(new hFc(new eFc));this.contextualEntityFactory_=new UEc(new hFc(new cFc));this.extensionFactory_=new XEc;this.defaultEventSourceExtractor_=new ZEc;this.additionEventSourceExtractor_=new YEc;this.replacementEventSourceExtractor_=new $Ec};
jFc.prototype.create=function(a,b){var c=b.getSessionState()||new gZ,d=b.getEventType_legacyNullable();b=zi(b,is,3);var e=Pcb(b,Rcb);var f=e.get(0);b=e.get(1);e=e.get(2);f=f?[].concat(u(Pcb(f,Qcb).values())):[];b=b?[].concat(u(Pcb(b,Qcb).values())):[];e=e?[].concat(u(Pcb(e,Qcb).values())):[];f=new aFc(f,b,e);b=[];var h=l(f.defaultTokenGroups_);for(e=h.next();!e.done;e=h.next())b.push.apply(b,u(kFc(this,a,d,e.value,c,this.defaultEventSourceExtractor_,this.defaultEntityFactory_)));h=l(f.additionTokenGroups_);
for(e=h.next();!e.done;e=h.next())b.push.apply(b,u(kFc(this,a,d,e.value,c,this.additionEventSourceExtractor_,this.contextualEntityFactory_)));f=l(f.replacementTokenGroups_);for(e=f.next();!e.done;e=f.next())b.push.apply(b,u(kFc(this,a,d,e.value,c,this.replacementEventSourceExtractor_,this.contextualEntityFactory_)));return b};
var kFc=function(a,b,c,d,e,f,h){var k=[];e=d[0].getSessionState()||e;var q=d.map(function(w){var y=new SQ,C=h.writer_,J=y.getMetadata()||new RQ;y.setMetadata(J);var I=or(w)||new js,P=vi(w,ks,1)||new ks;C.metadataStateWriter_.write(J,I,Xh(I,2,0)||0,VEc(w));C.contactInfoWriter_.write(y,P,c,I.getProvenance()||0);y.setLoggingId($t(P,1));w=vi(y,PQ,4)||new PQ;ej(y,PQ,4,w);w.setType(ss(P,8));return y});k.push(lFc(a,b,c,f.extractPersonEventSource(e),q,e));q=[];d=l(d);for(var t=d.next();!t.done;t=d.next())t=
t.value,Pi(t,ks,1)&&iFc.has(Xn(vi(t,ks,1),7))||q.push(WEc(h,t,c));q.length&&k.push(lFc(a,b,c,f.extractFieldEventSource(e),q,e));return k},lFc=function(a,b,c,d,e,f){a=a.extensionFactory_.create(b,f,c);a.getClientInterface().setEventSource(d);Zl(a,2,e);return a};var mFc=function(a,b){this.logContext_=Lcb(ns(new ps,"PeopleStore.BigBug").setLogSource(Li(a.getClearcut(),3,41)).setApplication(a.getClearcut().getSocialApplication()).setEnvironment(a.runtimeConfig_.getPeopleApiEnv()).setVersion("1004").setBaselineCl(585752539).setEnableClearcut(a.getClearcut().getEnableClearcut()),[].concat(u(a.runtimeConfig_.getExperiments().getExperimentIdsList()),u(qs?qs.getExperimentIds():[]))).setPeoplekitEntryPoint(b.getPeoplekitEntryPoint()).setClientAgent(2);this.eventsFactory_=
new jFc};mFc.prototype.getLogContext=function(){return this.logContext_};var nFc=function(a){this.clientConfig_=a;this.reportingCache_=new Map};nFc.prototype.create=function(a){var b=a.serialize();this.reportingCache_.has(a.serialize())||(a=new mFc(this.clientConfig_,a),a=new TEc(new SEc(Idc(a),a)),this.reportingCache_.set(b,a));return this.reportingCache_.get(b)};var oFc=function(a,b){this.reporting_=a;this.sharedSessionState_=b};g=oFc.prototype;g.reportDisplay=function(a){s2(this,vs(a,1))};g.reportSelect=function(a,b){b=void 0===b?new Tyc:b;if(0!==b.getOriginator())for(var c=l(a),d=c.next();!d.done;d=c.next()){d=d.value;if(!Pi(d,js,2)){var e=new js;ej(d,js,2,e)}d=or(d);hj(d,4,b.getOriginator())}b=Ui(this.sharedSessionState_,4,0)+1;nj(this.sharedSessionState_,4,b);s2(this,vs(a,2,this.sharedSessionState_))};
g.reportExternalSelect=function(a){for(var b=l(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!Pi(c,js,2)){var d=new js;ej(c,js,2,d)}c=or(c);hj(c,4,2)}b=Ui(this.sharedSessionState_,4,0)+1;nj(this.sharedSessionState_,4,b);s2(this,vs(a,15,this.sharedSessionState_))};g.reportDeselect=function(a){s2(this,vs(a,17,this.sharedSessionState_))};g.reportProceed=function(a){s2(this,vs(a,10,this.sharedSessionState_))};
g.reportDismiss=function(){var a=this.sharedSessionState_,b=new us;a=a.clone();b.setSessionState(a);b.setEventType(7);b.setEventSources(a.getSources());s2(this,[b])};g.reportSave=function(a){s2(this,vs(a,9,this.sharedSessionState_))};g.reportSecondaryAction=function(a){s2(this,vs(a,19,this.sharedSessionState_))};g.reportSend=function(a){s2(this,vs(a,8,this.sharedSessionState_,!0))};var s2=function(a,b){b=l(b);for(var c=b.next();!c.done;c=b.next())a.reporting_.report(c.value)};var t2=function(a,b,c){this.delegate_=this.delegate=a;this.sharedSessionState_=c;nj(this.sharedSessionState_,5,Math.floor(9007199254740991*Math.random()));this.reportingFactory_=b};Y(t2,sEc);t2.prototype.suggest=function(a,b){var c=this;Qsc(this.sharedSessionState_,Ui(this.sharedSessionState_,3,0)+1);var d=this.sharedSessionState_.clone();d.setQuery("");Rsc(d);var e=0;this.delegate_.suggest(function(f){e=pFc(c,f.getResults(),Tcb(f),d,e);a(f)},b)};
t2.prototype.search=function(a,b,c){var d=this;Qsc(this.sharedSessionState_,Ui(this.sharedSessionState_,3,0)+1);var e=this.sharedSessionState_.clone();e.setQuery(a);Rsc(e);var f=0;this.delegate_.search(a,function(h){f=pFc(d,h.getResults(),Tcb(h),e,f);b(h)},c)};t2.prototype.getReporter=function(a){return new oFc(this.reportingFactory_.create(a),this.sharedSessionState_)};t2.prototype.getSessionState=function(){return this.sharedSessionState_};
var pFc=function(a,b,c,d,e){var f=Wcc();lm(d,9,kb(f));f=a.delegate_.getLastUpdatedTimestamp();nj(d,6,f);d.setAffinityVersion(a.delegate_.getAffinityVersion());a=l(b);for(f=a.next();!f.done;f=a.next()){b=0;f=l(f.value.getTargetList());for(var h=f.next();!h.done;h=f.next()){h=h.value.getLoggingToken();var k=or(h)||new js;7!==k.getProvenance()&&k.setProvenance(c.getProvenance());dj(k,2,e);dj(k,1,b);ej(h,js,2,k);h.setSessionState(d);b++}e++}return e};var qFc=function(a,b,c){this.delegate_=this.delegate=a;this.reportingFactory_=b;this.instanceId_=f$a();this.clearcutConfig_=c};Y(qFc,q2);
qFc.prototype.lookup=function(a,b,c){this.delegate_.lookup(a,function(d){var e=Array.from(d.getResults().values()),f,h=d.getMetadata();h.getCacheState()&&(h=h.getCacheState(),h.hasSource()&&(f=h.getSource()));f=f||new ws;h=c.getOriginator();e=l(e);for(var k=e.next();!k.done;k=e.next()){k=l(k.value.getTargetList());for(var q=k.next();!q.done;q=k.next()){q=q.value.getLoggingToken();var t=or(q)||new js;7!==t.getProvenance()&&t.setProvenance(f.getProvenance());hj(t,4,h);ej(q,js,2,t)}}b(d)},c)};
qFc.prototype.beginSession=function(a){var b=new gZ,c=rFc(this,a);ej(b,rs,10,c);c=sFc(this,a);ej(b,ts,12,c);b.setInstanceId(this.instanceId_);a=this.delegate_.beginSession(a);return new t2(a,this.reportingFactory_,b)};
var rFc=function(a,b){a=zi(a.clearcutConfig_,rs,5);return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return 0===c.getEntryPoint()})||new rs},sFc=function(a,b){a=zi(a.clearcutConfig_,ts,6);return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return 0===c.getEntryPoint()})||new ts};var tFc={create:function(a){var b=Bb(pBc||(pBc=oBc('[[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 L1(b,a);a.runtimeConfig_.getExperiments().getProfileId()?qBc(a).getIsEnabled()?(b=Bb(sBc||(sBc=Cab('[null,null,null,null,null,null,null,"AIzaSyABqJ85_R2irnKzMtGBL0iHuyFBi6Efk1w"]'))),
b=new Dab(b,1)):b=new Dr:b=new Dr;var c=a.runtimeConfig_.getExperiments().getProfileId_legacyNullable(),d=a.runtimeConfig_;qs=b.loadExperiments(qBc(a).getApplication(),(new Er).setPeopleApiEnv(d.getPeopleApiEnv()),c);b=new RCc;b.cacheConfigurators_.push(new mBc);c=b;c=void 0===c?new RCc:c;b=a.getClearcut();b=new OEc(b,a.runtimeConfig_);b=Gr(b);b=new PCc(b);d=new QCc(a,b);var e=c;c=a.getClient();c=new fDc(d.targetFactory_,c);var f=void 0===f?CEc:f;f=new DEc(d.loader_,a,f);var h=new AEc(f,b,a);var k=
[new rEc,new ZCc].concat(u(e.cacheConfigurators_));e=[];var q=[],t=new mDc(c,a);f=new lDc(q,t,a);d={clientConfig:a,trackers:b,storage:c,indexer:t,loader:h,loaderFactory:d,trieFactory:new HDc(c,f,b),prefixCaches:e,lookupStages:q};h=l(k);for(k=h.next();!k.done;k=h.next())k.value.configure(d);d=new uDc(e);f=new zDc(a,b,d,f,c);d=a.getClient();c=new eEc(d,c);d=a.getClient();f=new UDc(f,c,d);c=new nFc(a);a=a.getClearcut();f=new qFc(f,c,a);f=new r2(f,b);return new HEc(f)}};var u2=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 XF(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=l(d);d=e.next().value;e=e.next().value;return!d&&!e}),$e(!1));this.manageComponentLink=""};u2.prototype.ngOnInit=function(){this.currentComponentId=this.componentId};u2.prototype.ngOnChanges=function(){this.providedComponentId$.next(this.componentId);this.manageComponentLink="/components/"+this.componentId};
u2.\u0275fac=function(a){return new (a||u2)(B(mH),B(VF))};
u2.\u0275cmp=r({type:u2,selectors:[["b-async-component"]],inputs:{componentId:"componentId"},features:[ld],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),W(1,"async"),F(2,Ucb,3,4,"a",1),W(3,"async"),F(4,Vcb,2,1,"ng-template",null,2,tg),K());if(a&2){var c=S(5);G("isReady",X(1,3,b.isReady$));A(2);G("ngIf",X(3,5,b.userIsComponentReader$))("ngIfElse",c)}},dependencies:[Uv,AU,$v],encapsulation:2});var v2=function(a){this.documentationLinks=a;this.showIssueMetadataContainer=!1};
Gh.Object.defineProperties(v2.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=An(a.modifiedTime),a.teamId&&0!==a.teamId&&(this.issueTeamId=String(a.teamId)),a=a.issueState)this.issueType=Vh(a.type),this.issueStatus=Kk[a.status],this.issuePriority=a.priority,this.issueSeverity=QZb[a.severity],this.issueComponentId=String(a.componentId),this.accessLimitLevel=
Rp(a.accessLimitLevel)}}});v2.\u0275fac=function(a){return new (a||v2)(B(lL))};
v2.\u0275cmp=r({type:v2,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),T(2," Access is denied to this issue "),K(),F(3,Ycb,40,13,"ol",
2),K());a&2&&(A(3),G("ngIf",b.showIssueMetadataContainer))},dependencies:[Uv,u2,EU,YR,cw],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 w2=function(){};w2.\u0275fac=function(a){return new (a||w2)};w2.\u0275mod=Tc({type:w2});w2.\u0275inj=Ec({imports:[zD,fW]});var x2=function(){};x2.\u0275fac=function(a){return new (a||x2)};x2.\u0275mod=Tc({type:x2});x2.\u0275inj=Ec({imports:[zD,w2,bW,ZR]});var uFc=Symbol("$e"),y2=function(a){this.ruleConfigService=a};
y2.prototype.build=function(a){if(a.customField)var b="DATE"===a.customField.type?new z2(a,A2(this.ruleConfigService)):"ENUM"===a.customField.type?new vFc(a,A2(this.ruleConfigService)):"REPEATED_ENUM"===a.customField.type?new wFc(a,A2(this.ruleConfigService)):"NUMERIC"===a.customField.type?new B2(a,A2(this.ruleConfigService)):new C2(a,A2(this.ruleConfigService));else b=a.label.field,b=A2(this.ruleConfigService)[b],b=new (b&&b.ruleCtor||D2)(a,A2(this.ruleConfigService));b[uFc](a);return b};
var Heb=function(a,b,c){return a.build({label:{field:b,customFieldId:c&&c.customFieldId||void 0},operator:"EQ",negated:!1,type:"",customField:c})};y2.\u0275fac=function(a){return new (a||y2)(p(E2))};y2.\u0275prov=Dc({token:y2,factory:y2.\u0275fac,providedIn:"root"});
var xFc=["OR","AND","NAND"],yFc=["OR","NAND"],zFc="LT GT LE GE RANGE NRANGE DURATION NDURATION OR".split(" "),AFc=["AND","OR","NAND"],BFc=["OR","LT","GT","LE","GE"],D2=function(a,b){this.ruleConfigLookup=b;this.values=[];this.type="";this.isPendingCustomField=!1;this.label=a.label};D2.prototype[uFc]=function(a){this.initType(a);this.initValues(a)};
D2.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]};D2.prototype.initValues=function(a){this.values=(a.values||[]).map(function(b){return{value:b.simpleValues[0].value}})};
var CFc=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}};
D2.prototype.toString=function(){var a=CFc(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=DFc(this);return(a.negated?"-":"")+d+(d?c[a.operator]:"")+b};var DFc=function(a){var b=a.label.field,c=a.ruleConfigLookup[b];return c&&(c=c.queryLabel,null!=c)?c:di(b).toLowerCase()+(a.label.customFieldId||"")};D2.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value}).filter(function(a){return a})};
D2.prototype.getWidgetType=function(){return"default"};D2.prototype.isValid=function(){return this.getLegalTypes().includes(this.type)};D2.prototype.getLegalTypes=function(){return xFc};var EFc=[],F2=function(a,b){D2.call(this,a,b);this.enumValues={}};Y(F2,D2);g=F2.prototype;g.getLegalTypes=function(){return yFc};g.getWidgetType=function(){return"enum"};
g.initValues=function(a){this.enumValues={};for(var b=l(this.getOptions()),c=b.next();!c.done;c=b.next())this.enumValues[c.value.id]=!1;a=l(a.values||[]);for(b=a.next();!b.done;b=a.next())this.enumValues[Zcb(b.value.simpleValues[0].value)]=!0};g.valuesToStrings=function(){return Object.keys(cc(this.enumValues,function(a){return a}))};g.getOptions=function(){return EFc};var FFc=zaa().map(function(a){return{id:"p"+a,label:"P"+a}}),GFc=function(a,b){F2.call(this,a,b)};Y(GFc,F2);
GFc.prototype.getOptions=function(){return FFc};var HFc=zaa().map(function(a){return{id:"s"+a,label:"S"+a}}),IFc=function(a,b){F2.call(this,a,b)};Y(IFc,F2);IFc.prototype.getOptions=function(){return HFc};
var JFc=[{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"}],KFc=function(a,b){F2.call(this,a,b)};Y(KFc,F2);KFc.prototype.getOptions=function(){return JFc};
var LFc=[{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"}],MFc=function(a,b){F2.call(this,a,b)};Y(MFc,F2);MFc.prototype.getOptions=function(){return LFc};
var NFc=[{id:"abuse"},{id:"pii"},{id:"user_request",label:"user request"},{id:"retention"}],OFc=function(a,b){F2.call(this,a,b)};Y(OFc,F2);OFc.prototype.getOptions=function(){return NFc};var PFc=[{id:"limit_none",label:"default access"},{id:"limit_view",label:"limited visibility"},{id:"limit_append",label:"limited commenting"},{id:"limit_view_trusted",label:"limited visibility + Google"}],QFc=function(a,b){F2.call(this,a,b)};Y(QFc,F2);QFc.prototype.getOptions=function(){return PFc};
var vFc=function(a,b){F2.call(this,a,b);this.allowedValues=[]};Y(vFc,F2);vFc.prototype[uFc]=function(a){this.allowedValues=a.customField.allowedValue.map(function(b){return{label:b,id:Zcb(b)}});F2.prototype[uFc].call(this,a)};vFc.prototype.valuesToStrings=function(){return Object.keys(cc(this.enumValues,function(a){return a})).map(function(a){return'"'+a+'"'})};vFc.prototype.getOptions=function(){return this.allowedValues};
var wFc=function(a,b){D2.call(this,a,b);this.allowedValues=[];var c,d;this.allowedValues=null!=(d=null==(c=a.customField)?void 0:c.allowedValue)?d:[]};Y(wFc,D2);wFc.prototype.getWidgetType=function(){return"repeated-enum"};wFc.prototype.getOptions=function(){return this.allowedValues};var Cs=function(a,b){D2.call(this,a,b);this.csv=""};Y(Cs,D2);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 G2=function(a,b){Cs.call(this,a,b)};Y(G2,Cs);G2.prototype.getWidgetType=function(){return"id"};G2.prototype.valuesToStrings=function(){return Cs.prototype.valuesToStrings.call(this).map(function(a){return"none"===a.toLowerCase()?"none":"any"===a.toLowerCase()?"any":String(fi(a))})};var RFc=function(a,b){Cs.call(this,a,b)};Y(RFc,G2);RFc.prototype.getLegalTypes=function(){return yFc};
var H2=function(a,b){Cs.call(this,a,b)};Y(H2,Cs);H2.prototype.getWidgetType=function(){return"user"};var I2=function(a,b){Cs.call(this,a,b)};Y(I2,H2);I2.prototype.getLegalTypes=function(){return yFc};var z2=function(a,b){D2.call(this,a,b);this.dateTo=this.dateFrom=this.duration=""};Y(z2,D2);var meb=function(a){return a&&"string"===typeof a?a:""};
z2.prototype.initType=function(a){D2.prototype.initType.call(this,a);var b=a.values&&a.values[0];b&&("RANGE"===b.type?this.type=a.negated?"NRANGE":"RANGE":Bt(b.simpleValues[0].value,"d")&&(this.type=a.negated?"NDURATION":"DURATION"))};z2.prototype.getWidgetType=function(){return"date"};
z2.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=SFc(b),"RANGE"===this.type||"NRANGE"===this.type)this.dateTo=SFc(a.values[0].simpleValues[1].value)}};
z2.prototype.valuesToStrings=function(){if("DURATION"===this.type||"NDURATION"===this.type){var a=fi(this.duration);return!a||isNaN(a)?[]:[a+"d"]}if("RANGE"===this.type||"NRANGE"===this.type){a=this.dateFrom&&TFc(this.dateFrom)||(new ei).toIsoString(!0);var b=this.dateTo&&TFc(this.dateTo)||(new ei).toIsoString(!0);return[a+".."+b]}return[this.dateFrom&&TFc(this.dateFrom)||(new ei).toIsoString(!0)]};
var UFc=function(a){var b=String(a.getMonth()+1),c=String(a.getDate());return b+"/"+c+"/"+String(a.getFullYear())},SFc=function(a){var b=new Cn(2E3);a=ii(a);var c=-1==a.indexOf("T")?" ":"T";a=a.split(c);var d=a[0].match(DTb);if(d){var e=Number(d[2]),f=Number(d[3]),h=Number(d[4]);c=Number(d[5]);var k=Number(d[6])||1;b.setFullYear(Number(d[1]));h?(b.setDate(1),b.setMonth(0),b.add(new $z("d",h-1))):c?(b.setMonth(0),b.setDate(1),d=b.getDay()||7,b.add(new $z("d",(4>=d?1-d:8-d)+(Number(k)+7*(Number(c)-
1))-1))):(e&&(b.setDate(1),b.setMonth(e-1)),f&&b.setDate(f));c=!0}else c=!1;if(c&&!(c=2>a.length)){c=a[1];a=c.match(FTb);if(a)if(c=c.substring(0,c.length-a[0].length),"Z"===a[0])var q=0;else q=60*Number(a[2])+Number(a[3]),q*="-"==a[1]?1:-1;if(h=c.match(ETb)){if(a){a=b.getYear();c=b.getMonth();k=b.getDate();d=Number(h[1]);e=Number(h[2])||0;f=Number(h[3])||0;var t=h[4]?1E3*Number(h[4]):0;(h=0<=a&&100>a)&&(a+=400);a=Date.UTC(a,c,k,d,e,f,t);h&&(a-=126227808E5);b.setTime(a+6E4*q)}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 UFc(c?b:null)},TFc=function(a){a=a.split("/").map(Number);return(new ei(a[2],a[0]-1,a[1])).toIsoString(!0)};z2.prototype.getLegalTypes=function(){return zFc};var J2=function(a,b){D2.call(this,a,b)};Y(J2,D2);J2.prototype.getWidgetType=function(){return"bool"};
J2.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"};J2.prototype.toString=function(){return DFc(this)+":"+("OR"===this.type)};J2.prototype.getLegalTypes=function(){return yFc};var K2=function(a,b){D2.call(this,a,b)};Y(K2,D2);K2.prototype.getWidgetType=function(){return"boolwithall"};
K2.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")};K2.prototype.toString=function(){var a=DFc(this)+":";switch(this.type){case "OR":return a+"true";case "NAND":return a+"false";default:return a+"all"}};
K2.prototype.getLegalTypes=function(){return AFc};var C2=function(a,b){D2.call(this,a,b)};Y(C2,D2);C2.prototype.getWidgetType=function(){return"text"};C2.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}})};C2.prototype.valuesToStrings=function(){return this.values.map(function(a){return-1<a.value.indexOf(" ")?'"'+a.value+'"':a.value})};
var VFc=function(a,b){D2.call(this,a,b)};Y(VFc,D2);VFc.prototype.getWidgetType=function(){return"component"};VFc.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};Bt(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};VFc.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};
var WFc=function(a,b){D2.call(this,a,b)};Y(WFc,D2);WFc.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};Bt(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};WFc.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};var XFc=function(a,b){D2.call(this,a,b)};Y(XFc,D2);XFc.prototype.getWidgetType=function(){return"tracker"};
var YFc=function(a,b){D2.call(this,a,b)};Y(YFc,WFc);YFc.prototype.getWidgetType=function(){return"team"};var ZFc=function(a,b){D2.call(this,a,b)};Y(ZFc,D2);ZFc.prototype.getWidgetType=function(){return"hotlist"};var $Fc=function(a,b){D2.call(this,a,b)};Y($Fc,D2);$Fc.prototype.getWidgetType=function(){return"savedsearch"};var B2=function(a,b){Cs.call(this,a,b)};Y(B2,Cs);B2.prototype.getWidgetType=function(){return"number"};B2.prototype.getLegalTypes=function(){return BFc};
var aGc=function(a,b){z2.call(this,a,b)};Y(aGc,z2);aGc.prototype.initType=function(a){z2.prototype.initType.call(this,a);a.negated&&(this.type="ERR")};
var L2={},bGc=(L2.ATTACHMENT={ruleCtor:C2,name:"Attachment name"},L2.COMMENT={ruleCtor:C2},L2.TITLE={ruleCtor:C2},L2.ASSIGNEE={ruleCtor:I2},L2.MODIFIER={ruleCtor:H2},L2.REPORTER={ruleCtor:I2},L2.VERIFIER={ruleCtor:I2},L2.CC={ruleCtor:H2},L2.COLLABORATOR={ruleCtor:H2},L2.COMPONENT_ID={ruleCtor:VFc,name:"Component"},L2.TRACKER_ID={ruleCtor:XFc,name:"Tracker"},L2.TYPE={ruleCtor:KFc},L2.STATUS={ruleCtor:MFc},L2.PRIORITY={ruleCtor:GFc},L2.SEVERITY={ruleCtor:IFc},L2.BLOCKED_BY_ID={ruleCtor:G2},L2.BLOCKING_ID=
{ruleCtor:G2},L2.PARENT_ID={ruleCtor:G2},L2.CANONICAL_ID={ruleCtor:RFc},L2.ID={ruleCtor:RFc},L2.FOUND_IN={ruleCtor:Cs},L2.TARGETED_TO={ruleCtor:Cs},L2.VERIFIED_IN={ruleCtor:Cs},L2.CL={ruleCtor:Cs,name:"Changelists"},L2.MODIFIED={ruleCtor:z2},L2.RESOLVED={ruleCtor:aGc},L2.CREATED={ruleCtor:z2},L2.VERIFIED={ruleCtor:aGc},L2.DELETION_TIME={ruleCtor:z2,name:"Deletion time"},L2.SAVED_SEARCH_ID={ruleCtor:$Fc,name:"Saved search"},L2.HOTLIST_ID={ruleCtor:ZFc,name:"Hotlist"},L2.STAR={ruleCtor:J2,name:"Starred"},
L2.MUTE={ruleCtor:J2,name:"Muted"},L2.IN_PROD={ruleCtor:J2,name:"In production"},L2.CC_COUNT={ruleCtor:B2},L2.COLLABORATOR_COUNT={ruleCtor:B2},L2.DUPLICATE_COUNT={ruleCtor:B2},L2.VOTE_COUNT={ruleCtor:B2},L2.COMMENT_COUNT={ruleCtor:B2},L2.DESCENDANT_COUNT={ruleCtor:B2},L2.OPEN_DESCENDANT_COUNT={ruleCtor:B2},L2.ONE_DAY_VIEW_COUNT={ruleCtor:B2},L2.SEVEN_DAY_VIEW_COUNT={ruleCtor:B2},L2.THIRTY_DAY_VIEW_COUNT={ruleCtor:B2},L2.LAST_MODIFIER={ruleCtor:I2,name:"Last Modified By"},L2.COMMENTER={ruleCtor:H2},
L2.LAST_COMMENTER={ruleCtor:I2},L2.ARCHIVED={ruleCtor:K2},L2.IS_DELETED={ruleCtor:J2,name:"Deleted",queryLabel:"deleted"},L2.DELETION_REASON={ruleCtor:OFc,name:"Deletion reason"},L2.ACCESS_LEVEL={ruleCtor:QFc,name:"Issue access level"},L2._TEXT_={ruleCtor:C2,queryLabel:"",name:"All fields"},L2),cGc=Object.assign({},bGc,{EFFORT_LABEL:{ruleCtor:Cs},MENTION:{ruleCtor:H2},MIN_SLO_TARGET:{ruleCtor:z2,name:"Nearest SLO",queryLabel:"nearestslo"},POSTMORTEM:{ruleCtor:Cs,name:"Postmortems"},TEAM_ID:{ruleCtor:YFc,
name:"Team"}}),E2=function(a){this.activeSession=a;this.enableAddViewCountColumnsOnIlp=yD(this.activeSession,"enableAddViewCountColumnsOnIlp")},A2=function(a){a.enableAddViewCountColumnsOnIlp||(delete bGc.ONE_DAY_VIEW_COUNT,delete bGc.SEVEN_DAY_VIEW_COUNT,delete bGc.THIRTY_DAY_VIEW_COUNT);return a.activeSession.isExternalSession()?bGc:cGc};E2.\u0275fac=function(a){return new (a||E2)(p(nt))};E2.\u0275prov=Dc({token:E2,factory:E2.\u0275fac,providedIn:"root"});var M2=function(a){this.internalArray_=m(a)};Y(M2,n);M2.prototype.getField=function(){return Li(this,1,0)};M2.prototype.getCustomFieldId=function(){return Oi(this,2)};M2.prototype.setCustomFieldId=function(a){return mj(this,2,a)};M2.prototype.hasCustomFieldId=function(){return null!=Ni(this,2)};var edb=function(a){this.internalArray_=m(a)};Y(edb,n);g=edb.prototype;g.getType=function(){return Li(this,1,0)};g.setType=function(a){return hj(this,1,a)};g.hasType=function(){return Ji(this,1)};g.getValue=function(){return xi(this,2)};g.setValue=function(a){return gj(this,2,a)};g.hasValue=function(){return yi(this,2)};var N2=function(a){this.internalArray_=m(a)};Y(N2,n);g=N2.prototype;g.getType=function(){return Li(this,1,0)};g.setType=function(a){return hj(this,1,a)};g.hasType=function(){return Ji(this,1)};g.getValuesList=function(){return zi(this,N2,2)};g.setValuesList=function(a){return Zl(this,2,a)};g.setValues=function(a,b){Qt(this,2,N2,a,b)};N2.repeatedFields_=[2,3];var mdb=function(a){this.internalArray_=m(a)};Y(mdb,n);g=mdb.prototype;g.getType=function(){return Li(this,1,0)};g.setType=function(a){return hj(this,1,a)};g.hasType=function(){return Ji(this,1)};g.getValuesList=function(){return zi(this,N2,2)};g.setValuesList=function(a){return Zl(this,2,a)};g.setValues=function(a,b){Qt(this,2,N2,a,b)};g.getLabel=function(){return vi(this,M2,4)};g.setLabel=function(a){return ej(this,M2,4,a)};g.hasLabel=function(){return Pi(this,M2,4)};mdb.repeatedFields_=[2];var xs=function(a){this.internalArray_=m(a,0,xs.messageId)};Y(xs,n);xs.prototype.getType=function(){return Li(this,1,0)};xs.prototype.setType=function(a){return hj(this,1,a)};xs.prototype.hasType=function(){return Ji(this,1)};xs.repeatedFields_=[2];xs.messageId="b.QueryBuilderResponse";var jdb=function(a){this.internalArray_=m(a,0,jdb.messageId)};Y(jdb,n);jdb.messageId="b.SyntaxErrorResponse";var dGc=function(a){this.internalArray_=m(a,0,dGc.messageId)};Y(dGc,n);dGc.prototype.getKindCase=function(){return sn(this,kdb)};var kdb=[1,2];dGc.messageId="b.QueryBuilderResponseOrError";var O2=function(a){this.executor=a},eGc=function(a,b){b=Kn(b);return a.executor.get({url:"action/issue_query_parse/"+b,responseConstructor:dGc}).then(ndb).then(function(c){var d;null!=(d=c.syntaxErrorResponse)?c=d:(c=c.queryBuilderResponse,c={type:c.type,expressions:c.expressions.map($cb)});return c})};O2.\u0275fac=function(a){return new (a||O2)(p(TD))};O2.\u0275prov=Dc({token:O2,factory:O2.\u0275fac,providedIn:"root"});var P2=function(a){var b=this;this.teamsService=a;this.placeholder="Choose Team";this.panelWidth="574px";this.disabled=!1;this.onTeamSelect=new mv;this.onEmptyQuery=new mv;this.searchQuery$=new E.Subject;this.teamSuggestions$=this.searchQuery$.pipe(Ne(300),Pe(),af(function(c){return YI(b.teamsService,c)}),D(function(c){return c.map(function(d){return new pdb(d.pathIds,d.pathNames,d.description)})}))};P2.prototype.updateSelectionOnChange=function(a){this.onTeamSelect.emit(a.option.value)};
P2.prototype.search=function(a){a||this.onEmptyQuery.emit();this.searchQuery$.next(a)};P2.prototype.displayFn=function(a){return a?a.name:""};P2.prototype.ngAfterViewInit=function(){};P2.\u0275fac=function(a){return new (a||P2)(B(WI))};
P2.\u0275cmp=r({type:P2,selectors:[["b-team-picker"]],viewQuery:function(a,b){a&1&&og(pK,7);if(a&2){var c;ng(c=qg())&&(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=v();H(0,"div",0)(1,"input",1,2);Q("click",function(){x(c);var e=S(2);return z(b.search(e.value))})("input",
function(){x(c);var e=S(2);return z(b.search(e.value))});K();H(3,"mat-autocomplete",3,4);Q("optionSelected",function(e){return b.updateSelectionOnChange(e)});F(5,sdb,6,8,"mat-option",5);W(6,"async");K()()}if(a&2){var d=S(4);A(1);Yf("placeholder",b.placeholder);G("ngModel",b.teamSelected)("disabled",b.disabled)("matAutocomplete",d);Af("aria-disabled",b.disabled);A(2);G("panelWidth",b.panelWidth)("displayWith",b.displayFn);A(2);G("ngForOf",X(6,8,b.teamSuggestions$))}},dependencies:[Tv,Uv,qK,pK,hA,dC,
Jg,ww,Dw,$v,gw],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 pdb=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 fGc(a.slice(0,e+1),b.slice(0,e+1))})},fGc=function(a,b){this.pathIds=a;this.pathNames=b;this.name=0<b.length?b[b.length-1]:"";this.pathNameText=b.join(" > ")};var Q2=function(a){var b=this;this.trackerFridge=a;this.placeholder="Choose Tracker";this.disabled=!1;this.onTrackerSelect=new mv;this.searchQuery$=new E.Subject;this.trackerSuggestions$=this.searchQuery$.pipe(Ne(300),Pe(),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:""}};Q2.prototype.ngAfterViewInit=function(){};Q2.prototype.updateSelectionOnChange=function(a){this.onTrackerSelect.emit(a.option.value)};
Q2.prototype.search=function(a){this.searchQuery$.next(a)};Q2.\u0275fac=function(a){return new (a||Q2)(B(RG))};
Q2.\u0275cmp=r({type:Q2,selectors:[["b-tracker-picker"]],viewQuery:function(a,b){a&1&&og(pK,7);if(a&2){var c;ng(c=qg())&&(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=v();H(0,"input",0,1);Q("click",function(){x(c);var e=S(1);return z(b.search(e.value))})("input",function(){x(c);var e=S(1);return z(b.search(e.value))});K();H(2,"mat-autocomplete",2,3);Q("optionSelected",function(e){return b.updateSelectionOnChange(e)});F(4,tdb,3,2,"mat-option",4);W(5,"async");K()}if(a&
2){var d=S(3);G("placeholder",b.placeholder)("ngModel",b.selectedTracker)("disabled",b.disabled)("matAutocomplete",d);Af("aria-disabled",b.disabled);A(2);G("displayWith",b.displayFn);A(2);G("ngForOf",X(5,7,b.trackerSuggestions$))}},dependencies:[Tv,qK,pK,hA,Jg,ww,Dw,$v],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 R2=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I,P){Z.call(this);this.analytics=a;this.userApi=b;this.customFieldsApi=c;this.savedSearchApi=d;this.hotlistApi=e;this.trackerFridge=f;this.issueSearchResources=h;this.activeSession=k;this.elementRef=q;this.errorHandler=t;this.componentActions=w;this.teamsService=y;this.searchRuleConfigService=C;this.searchRuleFactory=J;this.cdr=I;this.currentTracker=P;this.isTrackerSearchEnabled=!1;this.availableLabels=[];this.expressions=[];this.components={};this.trackers=
{};this.teams={};this.hotlists={};this.savedSearches={};this.customFields={};this.userHotlists=[];this.userSavedSearches=[];this.trackerUnderEdit=this.teamUnderEdit=this.componentUnderEdit=this.chipUnderEdit=null;this.trackByIndex=function(O){return O};this.sessionIsInternal=this.activeSession.isInternalSession();this.typeLabels=gGc;this.globalTypeLabels=hGc;this.state="INIT"};Y(R2,Z);R2.\u0275dir=Z.\u0275dir;
var iGc=function(a){var b=[];bc(A2(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,EDa(d)]))},a);b.sort(function(c,d){return waa(c[1],d[1])});b.push(["SAVED_SEARCH_ID","Saved search"]);b.push(["CUSTOM_FIELD","Custom field"]);return b};R2.prototype.schedule=function(a){this.subscriptions.add(E.asyncScheduler.schedule(a))};R2.prototype.ngOnInit=function(){this.cdr.detectChanges()};
R2.prototype.ngOnChanges=function(a){a.isTrackerSearchEnabled&&(this.availableLabels=iGc(this))};
var lGc=function(a,b){a.reset();b?jGc(a,b):(a.expressions=kGc.map(function(c){return Heb(a.searchRuleFactory,c)}),a.state="SUCCESS");a.userApi.getUserSavedSearches().then(function(c){a.userSavedSearches=c;c=l(a.userSavedSearches);for(var d=c.next();!d.done;d=c.next())d=d.value,a.savedSearches[d.searchId]=d;a.cdr.detectChanges()});a.userApi.getUserHotlists().then(function(c){a.userHotlists=c;c=l(a.userHotlists);for(var d=c.next();!d.done;d=c.next())d=d.value,a.hotlists[d.hotlistId]=d;a.cdr.detectChanges()});
a.cdr.detectChanges()},jGc=function(a,b){eGc(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 mGc(a,d)});return Promise.all(c).then(function(d){if(d.every(function(f){return!!f})){a.state="SUCCESS";d=l(d);for(var e=d.next();!e.done;e=d.next())a.expressions.push(e.value)}else a.state="NOT_REPRESENTABLE",
a.analytics.trackEvent("adv-search","adv-search-not-rep-error");a.cdr.detectChanges()})}).catch(function(c){a.state="SERVER_ERROR";a.errorHandler.errorHandler(null,c);a.cdr.detectChanges()})},mGc=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?nGc(a,b.label.customFieldId).then(function(c){b.customField=
c;return oGc(a,b)}):Promise.resolve(oGc(a,b))},nGc=function(a,b){return a.customFields[b]?Promise.resolve(a.customFields[b]):a.customFieldsApi.get(b).then(function(c){return a.customFields[b]=c})},oGc=function(a,b){b="ERR"===b.type?null:a.searchRuleFactory.build(b);if(!b||b&&!b.isValid())return null;pGc(a,b);return b},pGc=function(a,b){switch(b.label.field){case "COMPONENT_ID":var c=l(b.values);for(b=c.next();!b.done;b=c.next())b=Xk(b.value.value),a.components[b]||a.fetchComponent(b);break;case "TRACKER_ID":if(a.isTrackerSearchEnabled)for(c=
l(b.values),b=c.next();!b.done;b=c.next())b=b.value.value,a.trackers[b]||qGc(a,b);break;case "TEAM_ID":if(a.sessionIsInternal)for(c=l(b.values),b=c.next();!b.done;b=c.next())b=b.value.value,a.teams[b]||rGc(a,b);break;case "SAVED_SEARCH_ID":c=l(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=l(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})}};R2.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 qGc=function(a,b){a.trackerFridge.watch(b).pipe(bf(a.destroyed$)).subscribe(function(c){c&&(a.trackers[b]=c)})},rGc=function(a,b){YI(a.teamsService,b).pipe(Le(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:""}})},sGc=function(a){var b="AND"===a.expressionType?" ":" | ";return yKb(a.expressions.map(function(c){return c.label?
c.toString():""}),hMb).join(b)};R2.prototype.getState=function(){return this.state};R2.prototype.reset=function(){this.expressionType="AND";this.expressions=[];this.state="INIT"};
var Keb=function(a,b){var c=a.expressions[b],d=c.label;"CUSTOM_FIELD"===d.field?c.isPendingCustomField=!0:(a.expressions[b]=Heb(a.searchRuleFactory,d.field),Ieb(a,a.expressions[b]));a.cdr.detectChanges()},Ieb=function(a,b){var c=b.getWidgetType();"component"===c||"savedsearch"===c||"hotlist"===c||"text"===c||"team"===c||"tracker"===c||"repeatedenum"===c?As(a,b):"date"===c&&(b.dateFrom||(b.dateFrom=UFc(new ei)),b.dateTo||(b.dateTo=UFc(new ei)))};
R2.prototype.removeExpression=function(a){va(this.expressions,a);this.cdr.detectChanges()};
var As=function(a,b){var c={value:""};b.values.push(c);"COMPONENT_ID"===b.label.field?Qdb(a,c):"TRACKER_ID"===b.label.field?Xdb(a,c):"TEAM_ID"===b.label.field?deb(a,c):"CUSTOM_FIELD"===b.label.field?zdb(a,c):Bs(a,c);a.cdr.detectChanges()},zs=function(a,b,c){va(b.values,c);b.values.length||a.removeExpression(b);a.cdr.detectChanges()},Bs=function(a,b){a.chipUnderEdit=b;a.cdr.detectChanges()},Qdb=function(a,b){Bs(a,b);a.componentUnderEdit=b.value?ai(a.components[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-component-picker input").focus()})},
zdb=function(a,b){Bs(a,b);a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-adv-search-custom-repeated-enum-chip input").focus()})},Xdb=function(a,b){Bs(a,b);a.trackerUnderEdit=b.value?ai(a.trackers[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-tracker-picker input").focus()})},deb=function(a,b){Bs(a,b);a.teamUnderEdit=b.value?ai(a.teams[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})},
ys=function(a){a.chipUnderEdit=null;a.cdr.detectChanges()},feb=function(a,b){a.analytics.trackEvent(Kp.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;ys(a);a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})};
R2.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]};R2.prototype.getCustomFieldName=function(a){return(a=a.label.customFieldId)?this.customFields[a].name||String(a):""};R2.prototype.getComponentPath=function(a){if(!a)return"";var b=Ds(this.currentTracker,a.componentPathInfo);return b&&b.componentPathName?b.componentPathName.join(" > "):a.name};
var hGc={AND:"Match all (AND)",OR:"Match any (OR)"},gGc={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"}},kGc=["COMPONENT_ID","ASSIGNEE","STATUS","_TEXT_"];R2.\u0275fac=function(a){return new (a||R2)(B(aI),B(SH),B(yH),B(LI),B(PF),B(RG),B(O2),B(nt),B(Hd),B(FG),B(kL),B(WI),B(E2),B(y2),B(XD,2),B(SG))};
R2.\u0275cmp=r({type:R2,selectors:[["b-advanced-search"]],inputs:{isTrackerSearchEnabled:"isTrackerSearchEnabled"},features:[bg([XD]),yf,ld],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"],["class","bv2-adv-search-rule-content",4,"ngIf"],["class","bv2-adv-search-custom-field-label",
4,"ngIf"],["class","bv2-adv-search-custom-field-selection",4,"ngIf"],["aria-label","Delete search rule",1,"bv2-remove-icon","keep-focus-ring","bv2-adv-search-rule-delete-btn",3,"click"],[1,"bv2-adv-search-rule-op","bv2-adv-search-rule-jfk-select",3,"ngModel","ngModelChange"],[1,"bv2-adv-search-rule-content"],["class","bv2-adv-search-chip-container",4,"ngIf"],["class","bv2-adv-search-enum-rule",4,"ngIf"],[4,"ngIf"],[1,"bv2-adv-search-chip-container"],[4,"ngFor","ngForOf"],["mat-stroked-button","",
"class","bv2-adv-search-chip-add-btn",3,"click",4,"ngIf"],["class","bv2-adv-search-chip bv2-adv-search-custom-repeated-enum-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-custom-repeated-enum-chip"],["class","bv2-adv-search-chip-content bv2-adv-search-chip-content-btn",3,"title","click",4,"ngIf"],["class","bv2-adv-search-chip-content",4,"ngIf"],["aria-label","Remove the value",1,"bv2-adv-search-chip-delete-btn","bv2-remove-icon",3,"click"],[1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-btn",
3,"title","click"],[1,"bv2-adv-search-chip-content-text"],[1,"bv2-adv-search-chip-content"],[1,"bv2-search-custom-repeated-enum-picker",3,"customFieldTitle","selectedValue","allowedValues","onValueSelect"],["mat-stroked-button","",1,"bv2-adv-search-chip-add-btn",3,"click"],[1,"bv2-adv-search-enum-rule"],["class","bv2-adv-search-enum-item",4,"ngFor","ngForOf"],[1,"bv2-adv-search-enum-item"],[3,"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"],["class","bv2-adv-search-chip bv2-adv-search-chip-text",4,"ngFor","ngForOf"],
[1,"bv2-adv-search-chip","bv2-adv-search-chip-text"],["aria-label","Remove the condition",1,"bv2-adv-search-chip-delete-btn","bv2-remove-icon",3,"click"],["class","bv2-adv-search-chip bv2-adv-search-component-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-component-chip"],["role","switch","aria-label","Include subcomponents",1,"unstyled-button",3,"title","click"],[3,"svgIcon"],[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&&F(0,Neb,11,6,"div",0);a&2&&G("ngIf","SUCCESS"===b.getState())},dependencies:[Tv,Uv,MA,KR,oS,Jg,ww,Pw,Dw,LW,eA,FA,ZB,XB,YB,JP,hA,eL,P2,Q2,wL,QR,ew,DJ],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%}div.bv2-adv-search-enum-item[_ngcontent-%COMP%]{max-width:170px;min-width:170px}']});var S2=function(){};S2.\u0275fac=function(a){return new (a||S2)};S2.\u0275mod=Tc({type:S2});S2.\u0275inj=Ec({imports:[zD,rK,hL,QC,Tw]});var T2=function(){};T2.\u0275fac=function(a){return new (a||T2)};T2.\u0275mod=Tc({type:T2});T2.\u0275inj=Ec({imports:[zD,rK,hL,QC,Tw]});var U2=function(){};U2.\u0275fac=function(a){return new (a||U2)};U2.\u0275mod=Tc({type:U2});U2.\u0275inj=Ec({imports:[zD,LR,pS,Tw,SW,kC,GA,KA,$B,KP,hL,KJ,S2,T2,HL,RR]});var tGc=function(a){this.internalArray_=m(a)};Y(tGc,n);g=tGc.prototype;g.getExperimentId=function(){return Xh(this,1)};g.getState=function(){return Li(this,2,0)};g.setState=function(a){return hj(this,2,a)};g.getTitle=function(){return xi(this,4)};g.setTitle=function(a){return gj(this,4,a)};g.getDescription=function(){return xi(this,5)};g.setDescription=function(a){return gj(this,5,a)};g.hasDescription=function(){return yi(this,5)};var uGc=function(a){this.internalArray_=m(a,0,uGc.messageId)};Y(uGc,n);uGc.repeatedFields_=[1];uGc.messageId="b.ListBeapFeaturesResponse";var V2=function(a){this.executor=a};V2.prototype.fetch=function(){return this.executor.get({url:"action/experiments",responseConstructor:uGc}).pipe(D(function(a){var b;return(null!=(b=zi(a,tGc,1))?b:[]).map(Qeb)}))};V2.\u0275fac=function(a){return new (a||V2)(p(SD))};V2.\u0275prov=Dc({token:V2,factory:V2.\u0275fac,providedIn:"root"});var W2=function(a){QG.call(this,{freshUntil:Infinity,ancientAfter:Infinity});this.beapApi=a;this.recordType="beapFeature";this.idForRecord=function(b){return""+b.experimentId}};Y(W2,QG);W2.prototype.fetchAll=function(){return this.beapApi.fetch().pipe(D(function(a){return{results:a}}))};W2.\u0275fac=function(a){return new (a||W2)(p(V2))};W2.\u0275prov=Dc({token:W2,factory:W2.\u0275fac,providedIn:"root"});var X2=function(a){this.beapFridge=a};X2.prototype.getFeature=function(a){return vGc(this,"ALL").pipe(D(function(b){return b.find(function(c){return c.experimentId===a})}))};var vGc=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(f){return c?!0:f.userGroup===d})}))};X2.prototype.refresh=function(){this.beapFridge.pokeMany({})};
X2.\u0275fac=function(a){return new (a||X2)(p(W2))};X2.\u0275prov=Dc({token:X2,factory:X2.\u0275fac,providedIn:"root"});var Y2=function(){};Y2.\u0275fac=function(a){return new (a||Y2)};
Y2.\u0275cmp=r({type:Y2,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&&(M(0,0),F(1,Reb,1,0,"div",1)(2,Seb,1,0,"div",2),N());a&2&&(G("ngSwitch",b.featureStage),A(1),G("ngSwitchCase","TEAM_FOOD"),A(1),G("ngSwitchCase","EARLY_ACCESS"))},dependencies:[Vv,Wv],styles:[".badged[_ngcontent-%COMP%]::after{margin-left:0}"]});var Z2=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"}))};Z2.prototype.ngOnChanges=function(){this.experimentId$.next(this.experimentId)};Z2.prototype.ngOnInit=function(){};
Z2.\u0275fac=function(a){return new (a||Z2)(B(X2))};Z2.\u0275cmp=r({type:Z2,selectors:[["b-app-beap-state-indicator"]],inputs:{experimentId:"experimentId"},features:[ld],decls:2,vars:3,consts:[[3,"featureStage"]],template:function(a,b){a&1&&(L(0,"b-feature-stage-label",0),W(1,"async"));if(a&2){var c;G("featureStage",null!==(c=X(1,1,b.featureStage$))&&void 0!==c?c:void 0)}},dependencies:[Y2,$v],encapsulation:2});var a3=function(){};a3.\u0275fac=function(a){return new (a||a3)};a3.\u0275mod=Tc({type:a3});a3.\u0275inj=Ec({imports:[zD]});var b3=function(){};b3.\u0275fac=function(a){return new (a||b3)};b3.\u0275mod=Tc({type:b3});b3.\u0275inj=Ec({imports:[zD,a3]});var c3=function(a){this.domSafe=a;this.buttonLabel="";this.alertMode=this.menuMode=!1},Teb=function(a){Ap(a.domSafe,"https://g3doc.corp.google.com/company/teams/buganizer/release-notes/b3-releasenotes.md")};c3.\u0275fac=function(a){return new (a||c3)(B(lM))};
c3.\u0275cmp=r({type:c3,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&&F(0,Ueb,3,3,"button",0)(1,Veb,2,1,"button",1);a&2&&(G("ngIf",!b.menuMode),A(1),G("ngIf",b.menuMode))},dependencies:[Uv,MA,eA,XB,dC],styles:["[_nghost-%COMP%] { display: flex; }"]});var d3=function(a,b,c){Z.call(this);this.session=a;this.appsEvents=b;this.prefsManager=c;this.ThemePreferencesDensity=uZb;this.density="COMFORTABLE";this.enableWhatsNewDialog=yD(a,"enableWhatsNewDialog");this.enableBeap=yD(a,"enableBeap")};Y(d3,Z);d3.\u0275dir=Z.\u0275dir;g=d3.prototype;g.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})};g.setDensity=function(a){this.appsEvents.topBarEvents.setDensity.next(a)};
g.browseComponents=function(a){this.appsEvents.topBarEvents.browseComponents.next({newTab:a.ctrlKey||a.metaKey})};g.manageHotlists=function(a){this.appsEvents.topBarEvents.manageHotlists.next({newTab:a.ctrlKey||a.metaKey})};g.manageSlos=function(a){this.appsEvents.topBarEvents.manageSlos.next({newTab:a.ctrlKey||a.metaKey})};g.showSettings=function(a){this.appsEvents.topBarEvents.openSettings.next({newTab:a.ctrlKey||a.metaKey})};d3.\u0275fac=function(a){return new (a||d3)(B(nt),B(lG),B(LE))};
d3.\u0275cmp=r({type:d3,selectors:[["b-app-settings-menu"]],features:[yf],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),L(1,"mat-icon",1),K(),H(2,"mat-menu",null,2)(4,"div",3),T(5,"Display Density"),K(),H(6,"button",4),Q("click",function(){return b.setDensity(b.ThemePreferencesDensity.COMFORTABLE)}),H(7,"span",5),L(8,"mat-icon",6),K(),T(9," Comfortable "),K(),H(10,"button",7),Q("click",function(){return b.setDensity(b.ThemePreferencesDensity.COZY)}),H(11,"span",5),L(12,"mat-icon",6),K(),T(13," Cozy "),K(),H(14,"button",8),Q("click",function(){return b.setDensity(b.ThemePreferencesDensity.COMPACT)}),
H(15,"span",5),L(16,"mat-icon",6),K(),T(17," Compact "),K(),L(18,"mat-divider"),H(19,"button",9),Q("click",function(d){return b.browseComponents(d)}),T(20,"Browse components"),K(),H(21,"button",9),Q("click",function(d){return b.manageHotlists(d)}),T(22,"Manage hotlists"),K(),F(23,Web,2,0,"button",10),H(24,"button",9),Q("click",function(d){return b.showSettings(d)}),T(25,"Settings"),K(),F(26,Xeb,3,0,"a",11)(27,Yeb,3,1,"ng-container",12),K());if(a&2){var c=S(3);G("disabled",b.session.isAnonymous())("matMenuTriggerFor",
c);A(6);Jf("b-menu-item-checked",b.density===b.ThemePreferencesDensity.COMFORTABLE);Af("aria-checked",b.density===b.ThemePreferencesDensity.COMFORTABLE);A(4);Jf("b-menu-item-checked",b.density===b.ThemePreferencesDensity.COZY);Af("aria-checked",b.density===b.ThemePreferencesDensity.COZY);A(4);Jf("b-menu-item-checked",b.density===b.ThemePreferencesDensity.COMPACT);Af("aria-checked",b.density===b.ThemePreferencesDensity.COMPACT);A(12);G("ngIf",b.enableBeap);A(1);G("ngIf",b.enableWhatsNewDialog)}},dependencies:[Uv,
MA,ZB,XB,YB,eA,CD,dC,c3,kM,Y2],encapsulation:2,changeDetection:0});var e3=function(a){this.theme=a;this.isDark=!1;this.iconName="dark-mode-filled"};e3.prototype.ngOnInit=function(){this.theme.loadLocalDarkmode();wGc(this)};var wGc=function(a){a.isDark=a.theme.clientDarkmodeSubject.getValue();a.iconName=a.isDark?"brightness-high":"dark-mode-filled"};e3.\u0275fac=function(a){return new (a||e3)(B(LL))};
e3.\u0275cmp=r({type:e3,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),Q("click",function(){var c=b.theme;c.setLocalDarkmode(!c.clientDarkmodeSubject.getValue());c.clientStreamzService&&KXb(c.clientStreamzService,"toggleDarkmode",!c.clientDarkmodeSubject.getValue());S7b(c,!c.clientDarkmodeSubject.getValue());wGc(b)}),
L(1,"mat-icon",1),K());a&2&&(A(1),G("svgIcon",b.iconName))},dependencies:[MA,eA,dC],encapsulation:2});var f3=function(a,b,c,d){this.session=a;this.userFeedback=b;this.domSafe=c;this.docLinks=d;this.enableWhatsNewDialog=yD(a,"enableWhatsNewDialog");this.majorReleaseNotesUpdated=yD(a,"majorReleaseNotesUpdated")};f3.prototype.openFeedbackDialog=function(){this.userFeedback.startFeedback()};f3.\u0275fac=function(a){return new (a||f3)(B(nt),B(NL),B(lM),B(lL))};
f3.\u0275cmp=r({type:f3,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&&(L(0,"theme-change-btn"),F(1,Zeb,1,1,"b-whats-new-button",0)(2,$eb,2,0,"button",1),H(3,"button",2),Q("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)}),L(4,"mat-icon",3),K(),L(5,"b-app-settings-menu"));a&2&&(A(1),G("ngIf",b.enableWhatsNewDialog))},
dependencies:[Uv,MA,eA,dC,c3,kM,e3,d3],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 xGc=function(a,b){this.currentTracker=a;this.appSearchState=b;this.isTrackerExpanded=!1};xGc.\u0275fac=function(a){return new (a||xGc)(B(SG),B(GK))};
xGc.\u0275cmp=r({type:xGc,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),Q("menuOpened",function(){return b.isTrackerExpanded=!0})("menuClosed",function(){return b.isTrackerExpanded=!1}),L(1,"mat-icon",1),K(),H(2,"mat-menu",2,3)(4,"span",4),T(5,"Select a tracker"),K(),F(6,afb,4,4,"button",5),K());if(a&2){var c=S(3);G("matMenuTriggerFor",c);Af("aria-label",b.isTrackerExpanded?"Expanded tracker menu":"Collapsed tracker menu");A(6);G("ngForOf",
b.associatedTrackers)}},dependencies:[Tv,MA,eA,ZB,XB,YB,dC],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 cfb=function(a){return[a]},dfb=function(){return[]},g3=function(a){this.activeSession=a;this.clickMenu=new mv;this.showMenu=!1;this.clickLogo=new mv;this.chips=[]};g3.prototype.ngOnInit=function(){this.showMenu=!this.activeSession.isAnonymous()&&this.clickMenu.observed};g3.\u0275fac=function(a){return new (a||g3)(B(nt))};
g3.\u0275cmp=r({type:g3,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&&(Vf(),F(0,bfb,2,0,"button",0),H(1,"a",1),Q("click",function(){return b.clickLogo.emit()}),L(2,"img",2)(3,"img",3),H(4,"h1"),T(5),K()(),Wf(6),F(7,efb,2,5,"output",4));a&2&&(G("ngIf",b.showMenu),A(1),Af("href",b.href?b.href:void 0,Wd),A(1),G("src",b.imgSrc,Wd),A(1),G("src",b.imgSrcDark||b.imgSrc,Wd),A(2),$f(b.name),A(2),G("ngForOf",b.chips))},dependencies:[Sv,Tv,Uv,MA,eA],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 yGc=function(){return[]},h3=function(a){this.events=a;this.environmentType="QA";this.frontendAccessMode="INTERNAL";this.href="/";this.chips=[];this.name="Buganizer"};h3.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"})};
h3.prototype.ngOnChanges=function(a){if(a.tracker||a.frontendAccessMode)this.name=this.getAppName()};h3.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:Oh(this.frontendAccessMode,"unknown frontend access mode.")}};
Gh.Object.defineProperties(h3.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"}}});h3.\u0275fac=function(a){return new (a||h3)(B(lG))};
h3.\u0275cmp=r({type:h3,selectors:[["b-app-logo"]],inputs:{environmentType:"environmentType",frontendAccessMode:"frontendAccessMode",tracker:"tracker",associatedTrackers:"associatedTrackers",href:"href"},features:[ld],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),Q("clickMenu",function(){return b.events.onClickAppMenuIcon.next()}),F(1,ffb,1,1,"tracker-switcher",
1),K());if(a&2){var c;G("name",b.name)("href",b.href)("chips",b.chips)("imgSrc",b.imgSrc)("imgSrcDark",b.imgSrcDark);A(1);G("ngIf",0<(null!==(c=b.associatedTrackers)&&void 0!==c?c:eg(6,yGc)).length)}},dependencies:[Uv,g3,xGc],encapsulation:2,changeDetection:0});var i3=function(){this.isActive=!1;this.optionClicked=new mv};i3.prototype.ngOnInit=function(){};i3.prototype.onClick=function(){this.optionClicked.emit(this.index)};i3.\u0275fac=function(a){return new (a||i3)};
i3.\u0275cmp=r({type:i3,selectors:[["b-app-search-auto-complete-option"]],hostVars:2,hostBindings:function(a,b){a&1&&Q("click",function(){return b.onClick()});a&2&&Jf("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&&(Vf(),H(0,"div",0),Wf(1),K())},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 j3=function(a,b,c,d){this.ref=a;this.hostElement=b;this.currentTracker=c;this.activeSession=d;this.items=[];this.header=null;this.itemSelected=new mv;this.activeItemChanged=new mv;this.enableCustomFieldSearch=yD(this.activeSession,"enableCustomFieldSearch");this.SPECIAL_ITEM_TYPES="issue hotlist savedsearch atom component customField team tracker".split(" ")};
j3.prototype.ngOnChanges=function(a){a.items&&(0<this.items.length?(this.activeItemIndex=0,this.activeItemChanged.emit(this.items[0])):this.clearActiveItem(),this.ref.markForCheck())};j3.prototype.ngAfterViewInit=function(){};var Ifb=function(a){var b=R(3);Tfb(a);b.itemSelected.emit(a)};
j3.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(),zGc(this))};
j3.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(),zGc(this))};var AGc=function(a){null!=a.activeItemIndex&&a.itemSelected.emit(a.items[a.activeItemIndex])};j3.prototype.clearActiveItem=function(){this.activeItemIndex=void 0;this.activeItemChanged.emit(void 0)};
var BGc=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}},zGc=function(a){var b=a.itemElements.find(function(c,d){return d===a.activeItemIndex});b&&d9a(b.nativeElement,a.hostElement.nativeElement)},Tfb=function(a){Hk(Kp.SEARCH,"autocomplete-select",a.completionCfg.type||"unknown_type",isNaN(Number(a.id))?1:Number(a.id))};
j3.\u0275fac=function(a){return new (a||j3)(B(XD,2),B(Hd),B(SG),B(nt))};
j3.\u0275cmp=r({type:j3,selectors:[["b-app-search-auto-complete-list"]],viewQuery:function(a,b){a&1&&og(i3,5,Hd);if(a&2){var c;ng(c=qg())&&(b.itemElements=c)}},inputs:{items:"items",header:"header"},outputs:{itemSelected:"itemSelected",activeItemChanged:"activeItemChanged"},features:[bg([XD]),ld],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",""],["noCustomFieldAutocomplete",""],["role","option",3,"index","isActive","optionClicked"],[1,"monospaced","item-description"],[1,"item-description"],[4,"ngFor","ngForOf"],["role","button",3,"title","click"],[1,
"item-description","item-de-emphasized"]],template:function(a,b){a&1&&(F(0,Cfb,7,6,"div",0),H(1,"div",1),F(2,Ufb,10,12,"b-app-search-auto-complete-option",2),K());a&2&&(G("ngIf",b.header&&b.header.type),A(2),G("ngForOf",b.items))},dependencies:[Tv,Uv,nL,qL,i3,aw],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;max-height:inherit;overflow-y:auto}.header[_ngcontent-%COMP%]{padding:4px 16px 4px 36px}.item-description[_ngcontent-%COMP%]{display:block;margin-top:5px}.item-de-emphasized[_ngcontent-%COMP%]{font-weight:lighter}span[role=button][_ngcontent-%COMP%]{cursor:pointer}span[role=button][_ngcontent-%COMP%]:hover{text-decoration:underline}/*# sourceMappingURL=app_search_auto_complete_list.css.map */"],
changeDetection:0});var CGc=["box"],DGc=["initialFocus"],EGc=["finalFocus"],k3=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 mv;this.onAdvancedSearchClose=new mv;this.onAdvancedSearchSubmit=new mv;this.onSaveSearch=new mv;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()};
k3.prototype.ngOnInit=function(){var a=this;this.autoCompleteItemSelected$.pipe(df(this.currentQuery$),bf(this.destroyed$)).subscribe(function(b){b=l(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()})};
k3.prototype.ngAfterViewInit=function(){var a=this;this.appSearchState.queryState$.pipe(He(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,$fc(b)&&(b.selectionStart=c,b.selectionEnd=c))})};k3.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};
var FGc=function(a){a.appSearchState.searchTriggered$.next("keyboard")},GGc=function(a,b){a.dropdownStatus="auto_complete";a.acList.clearActiveItem();a.appSearchState.queryState$.next({query:b,cursorPosition:a.getCursorPosition(),setViaInteraction:!0})};
k3.prototype.handleKeydown=function(a){switch(a.key){case "Escape":if(!l3(this))return;HGc(this);break;case "ArrowUp":if(!l3(this))return;this.acList.setPreviousItemActive();break;case "ArrowDown":if(!l3(this))return;this.acList.setNextItemActive();break;case "Tab":case "ArrowRight":if(!l3(this)){GGc(this,this.inputBox.nativeElement.value);return}AGc(this.acList);break;case "ArrowLeft":GGc(this,this.inputBox.nativeElement.value);return;case "Enter":l3(this)?null!=this.acList.activeItemIndex?AGc(this.acList):
FGc(this):FGc(this);break;default:return}a.preventDefault();a.stopPropagation()};k3.prototype.submitAdvancedSearch=function(){this.onAdvancedSearchSubmit.emit();IGc(this)};k3.prototype.getCursorPosition=function(){var a=agc(this.inputBox.nativeElement,!0)[0];if(a===agc(this.inputBox.nativeElement,!1)[1])return a};
var HGc=function(a){"auto_complete"===a.dropdownStatus&&(a.dropdownStatus="closed")},IGc=function(a){"advanced_search"===a.dropdownStatus&&(a.dropdownStatus="closed",a.onAdvancedSearchClose.emit())},l3=function(a){return"auto_complete"===a.dropdownStatus&&0<a.autoCompleteItems.length},JGc=function(a){return"auto_complete"===a.dropdownStatus&&null!=a.autoCompleteHeader},KGc=function(a){return"advanced_search"===a.dropdownStatus};
k3.prototype.saveSearch=function(){this.searchName&&(this.onSaveSearch.emit(this.searchName),this.searchName="",IGc(this))};var LGc=function(a,b){b.shiftKey&&"Tab"===b.key&&a.advancedSearchFinalFocus&&setTimeout(function(){return a.advancedSearchFinalFocus.nativeElement.focus()})},Vfb=function(a){a.advancedSearchInitialFocus&&setTimeout(function(){return a.advancedSearchInitialFocus.nativeElement.focus()})};k3.\u0275fac=function(a){return new (a||k3)(B(lL),B(GK),B(nt))};
k3.\u0275cmp=r({type:k3,selectors:[["b-app-search-box"]],viewQuery:function(a,b){a&1&&(og(j3,7),og(CGc,5),og(DGc,7,Hd),og(EGc,7));if(a&2){var c;ng(c=qg())&&(b.acList=c.first);ng(c=qg())&&(b.inputBox=c.first);ng(c=qg())&&(b.advancedSearchInitialFocus=c.first);ng(c=qg())&&(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=v();Vf();H(0,"div",0);Q("clickOutside",function(){HGc(b)});H(1,"div",1)(2,"button",2);Q("click",function(){return FGc(b)});L(3,"mat-icon",3);K();
H(4,"textarea",4,5);Q("keydown",function(d){return b.handleKeydown(d)})("input",function(){x(c);var d=S(5);return z(GGc(b,d.value))})("click",function(){x(c);var d=S(5);return z(GGc(b,d.value))})("focus",function(){b.dropdownStatus="auto_complete"});K();H(6,"button",6);Q("click",function(){b.dropdownStatus="advanced_search";b.onAdvancedSearchOpen.emit()});L(7,"mat-icon",7);K()();H(8,"aside",8)(9,"b-app-search-auto-complete-list",9);Q("itemSelected",function(d){return b.autoCompleteItemSelected$.next(d)});
K();H(10,"div",10)(11,"div",11)(12,"button",12,13);Q("keydown",function(d){return LGc(b,d)})("click",function(){return IGc(b)});L(14,"mat-icon",14);K()();H(15,"div",15);Wf(16);K();H(17,"div",16)(18,"button",17);Q("click",function(){return b.submitAdvancedSearch()});T(19," Search ");K();H(20,"a",18);T(21,"Search help ");L(22,"mat-icon",19);K();F(23,Wfb,5,2,"div",20);K()()()()}a&2&&(Jf("dropdown-opened",l3(b)||JGc(b)||KGc(b)),A(1),Jf("hidden",KGc(b)),A(3),G("placeholder",b.placeholder),Af("aria-activedescendant",
BGc(b.acList))("aria-expanded",l3(b)||JGc(b)),A(4),Jf("advanced-search-open",KGc(b)),A(1),Jf("hidden",!(l3(b)||JGc(b))),G("items",b.autoCompleteItems)("header",b.autoCompleteHeader),A(1),Jf("hidden",!KGc(b)),A(2),G("disabled",b.isSearchDisabled),A(6),G("disabled",b.isSearchDisabled),A(2),Af("href",b.searchHelpLink,Wd),A(3),G("ngIf",!b.isAnonymous))},dependencies:[Uv,MA,Px,eA,dC,Jg,ww,Dw,lN,Tz,j3],styles:['[_nghost-%COMP%]{display:flex;align-items:center;flex-grow:1;position:relative;min-width:320px;height:40px}.search-form-container[_ngcontent-%COMP%]{position:absolute;display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:#f1f3f4;background-color:var(--main-search-bg);border-radius:8px;min-width:320px;overflow:hidden;top:0;transition:all .1s ease-in-out;transition-property:box-shadow,height,max-height,overflow;width:100%}@media(forced-colors: active){.search-form-container[_ngcontent-%COMP%]{outline:1px solid;outline-color:#1967d2;outline-color:var(--primary-c700);outline-color:-webkit-focus-ring-color}}.search-box-container[_ngcontent-%COMP%]{display:flex;flex-grow:1;width:calc(100% - 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 MGc=function(a){this.currentTracker=a;this.logoEnvironmentType="QA";this.logoFrontendAccessMode="INTERNAL";this.isSearchDisabled=!1;this.searchBoxPlaceholder="";this.searchBoxAutoCompleteItems=[];this.searchBoxAutoCompleteHeader=null;this.searchBoxOnAdvancedSearchOpen=new mv;this.searchBoxOnAdvancedSearchClose=new mv;this.searchBoxOnAdvancedSearchSubmit=new mv;this.searchBoxOnSaveSearch=new mv},NGc=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()})};MGc.\u0275fac=function(a){return new (a||MGc)(B(SG))};
MGc.\u0275cmp=r({type:MGc,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&&(Vf(),L(0,"b-app-logo",0),W(1,"async"),W(2,"async"),H(3,"div",1)(4,"button",2),Q("click",function(){return NGc()})("keydown.enter",function(){return NGc()}),T(5," Skip Navigation "),K()(),H(6,"b-app-search-box",3),Q("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)}),
Wf(7),K(),L(8,"b-app-actions"));a&2&&(G("environmentType",b.logoEnvironmentType)("frontendAccessMode",b.logoFrontendAccessMode)("tracker",X(1,8,b.currentTracker.tracker$))("associatedTrackers",X(2,10,b.currentTracker.associatedTrackers$)),A(6),G("placeholder",b.searchBoxPlaceholder)("autoCompleteItems",b.searchBoxAutoCompleteItems)("autoCompleteHeader",b.searchBoxAutoCompleteHeader)("isSearchDisabled",b.isSearchDisabled))},dependencies:[eA,h3,f3,k3,$v],styles:["[_nghost-%COMP%]{display:flex;align-items:center;gap:32px}@media(max-width: 1099px){[_nghost-%COMP%]{gap:8px}}b-app-search-box[_ngcontent-%COMP%]{display:flex;flex-grow:1;justify-content:center}div.skip-navigation-wrapper[_ngcontent-%COMP%]   button.skip-to-main-content-link[_ngcontent-%COMP%]{position:absolute;background-color:#e8f0fe;background-color:var(--selected-bg-muted);clip:rect(1px, 1px, 1px, 1px);overflow:hidden;transform:translateX(-50%)}div.skip-navigation-wrapper[_ngcontent-%COMP%]   button.skip-to-main-content-link[_ngcontent-%COMP%]:active, div.skip-navigation-wrapper[_ngcontent-%COMP%]   button.skip-to-main-content-link[_ngcontent-%COMP%]:focus, div.skip-navigation-wrapper[_ngcontent-%COMP%]   button.skip-to-main-content-link[_ngcontent-%COMP%]:focus-visible, div.skip-navigation-wrapper[_ngcontent-%COMP%]   button.skip-to-main-content-link[_ngcontent-%COMP%]:focus-within{transform:translate(-50%, -50%);position:absolute;clip:auto;overflow:visible;z-index:1}/*# sourceMappingURL=app_top_bar.css.map */"],
changeDetection:0});var m3=function(){};m3.\u0275fac=function(a){return new (a||m3)};m3.\u0275mod=Tc({type:m3});m3.\u0275inj=Ec({imports:[zD,AA,kC,RK]});var n3=function(){};n3.\u0275fac=function(a){return new (a||n3)};n3.\u0275mod=Tc({type:n3});n3.\u0275inj=Ec({imports:[zD,kC,$B,QC]});var o3=function(){};o3.\u0275fac=function(a){return new (a||o3)};o3.\u0275mod=Tc({type:o3});o3.\u0275inj=Ec({imports:[zD,kC,$B,QC]});var p3=function(){};p3.\u0275fac=function(a){return new (a||p3)};p3.\u0275mod=Tc({type:p3});p3.\u0275inj=Ec({imports:[zD,kC,QC]});var q3=function(){};q3.\u0275fac=function(a){return new (a||q3)};q3.\u0275mod=Tc({type:q3});q3.\u0275inj=Ec({providers:[LL]});var r3=function(){};r3.\u0275fac=function(a){return new (a||r3)};r3.\u0275mod=Tc({type:r3});r3.\u0275inj=Ec({imports:[zD,kC,QC,q3]});var s3=function(){};s3.\u0275fac=function(a){return new (a||s3)};s3.\u0275mod=Tc({type:s3});s3.\u0275inj=Ec({imports:[zD,$B,kC,DD,QC,Ux,Tw,mN,o3,oM,p3,EL,Vz,a3,r3,m3,n3,FL]});var t3=function(){};t3.\u0275fac=function(a){return new (a||t3)};t3.\u0275mod=Tc({type:t3});t3.\u0275inj=Ec({imports:[zD,kC,AA]});var u3=function(){};u3.\u0275fac=function(a){return new (a||u3)};u3.\u0275mod=Tc({type:u3});u3.\u0275inj=Ec({imports:[zD,Tw,kC,KA,GA,AA,HL]});var v3=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 mv;this.selectedChange=new mv;this.cardTitleChange=new mv;this.onSaveButtonClicked=new mv;this.onCancelButtonClicked=
new mv;this.isInheritedChange=new mv;this.isExpanded=!1};v3.prototype.expand=function(){this.isExpanded=!0};v3.prototype.collapse=function(){this.isExpanded=!1};v3.prototype.onSave=function(){this.collapse();this.onSaveButtonClicked.emit()};v3.prototype.onCancel=function(){this.collapse();this.onCancelButtonClicked.emit()};v3.\u0275fac=function(a){return new (a||v3)};
v3.\u0275cmp=r({type:v3,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&&(Vf(),H(0,"div",0)(1,"div",1)(2,"mat-checkbox",2),Q("change",function(d){b.selected=d.checked;b.expand();b.selectedChange.emit(b.selected)}),K(),F(3,Xfb,3,3,"ng-container",3),H(4,"button",4),Q("click",function(){b.isExpanded?b.collapse():b.expand()}),F(5,Yfb,1,0,"mat-icon",5)(6,Zfb,1,0,"mat-icon",6),K(),F(7,dgb,3,7,"ng-template",null,
7,tg),K(),F(9,egb,2,0,"div",8)(10,kgb,9,6,"div",9),K());if(a&2){var c=S(8);Af("aria-expanded",b.isExpanded);A(2);Jf("expanded-checkbox",b.isExpanded);G("disabled",b.disabled)("checked",b.selected)("aria-label",b.cardTitle);A(1);G("ngIf",!b.isExpanded)("ngIfElse",c);A(1);G("ngClass",b.isExpanded?"collapse-toggle":"expand-toggle");Af("aria-label",b.isExpanded?"Collapse editor":"Expand editor");A(1);G("ngIf",b.isExpanded);A(1);G("ngIf",!b.isExpanded);A(3);G("ngIf",b.isExpanded);A(1);G("ngIf",b.isExpanded)}},
dependencies:[Sv,Tv,Uv,MA,Jg,ww,Ow,Pw,Dw,eL,eA,oQ,FA,DA,JP,IP,hA,CD,JA,dC],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 w3=function(){};w3.\u0275fac=function(a){return new (a||w3)};w3.\u0275mod=Tc({type:w3});w3.\u0275inj=Ec({imports:[zD,Tw,hL,kC,pQ,KP,DD,KA,QC]});var x3=function(a){this.internalArray_=m(a,0,x3.messageId)};Y(x3,n);x3.prototype.getIt=function(){return vi(this,Ml,4)};x3.prototype.setIt=function(a){return ej(this,Ml,4,a)};x3.prototype.hasIt=function(){return Pi(this,Ml,4)};x3.messageId="b.FieldConfig";var y3=function(a){this.internalArray_=m(a,0,y3.messageId)};Y(y3,n);y3.prototype.setFieldId=function(a){return Qt(this,1,nm,a)};y3.repeatedFields_=[1];y3.messageId="b.ReorderFieldsRequest";var z3=function(a){this.executor=a};z3.prototype.updateCustomFieldState=function(a,b,c){var d={customFieldId:b};var e=new x3;var f=e.setIt;d=(new Ml).setFieldId(axa(d));c=Cl(d,4,xZb[c]);c=yl(c,5,!1);e=f.call(e,c);return this.executor.post({url:"action/components/"+a+"/field_configs/custom_field_id/"+b,body:e,responseConstructor:x3}).pipe(D(lgb))};z3.prototype.reorder=function(a,b){b=b.map(eza);var c=new y3;b=Zl(c,1,b);return this.executor.post({url:"action/components/"+a+"/reorder",body:b,responseConstructor:null})};
z3.\u0275fac=function(a){return new (a||z3)(p(SD))};z3.\u0275prov=Dc({token:z3,factory:z3.\u0275fac,providedIn:"root"});var OGc=["SILENT","MINOR","MAJOR"];var PGc=["fieldStateMenu"],pgb=function(a){return{type:a}},A3=function(a,b,c,d,e,f,h,k,q,t,w){Z.call(this);var y=this;this.customFieldsApi=a;this.checkBeforeExit=b;this.butterBar=c;this.analytics=d;this.routeParams=e;this.componentActions=f;this.fieldConfigService=h;this.documentationLinks=k;this.paths=q;this.confirmationDialog=t;this.appEvents=w;this.FieldType=mhc;this.ListFieldType=aic;this.getSingleEditFieldType=MPa;this.getListFieldType=tRa;this.isRepeated=Twa;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=OGc;this.componentId=fi(this.routeParams.componentId);this.subscriptions.add(BX(b,function(){return y.hasUnsavedChanges()},!0))};Y(A3,Z);A3.\u0275dir=Z.\u0275dir;A3.prototype.ngOnInit=function(){this.loadCustomFields()};
A3.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};
A3.prototype.editField=function(a){window.scrollTo({top:0,behavior:"smooth"});if(!this.hasUnsavedChanges()||mpc())this.editableField=ai(this.customFields[a]),this.originalEditableFieldValue=ai(this.editableField),this.serverError=null,this.setType(this.editableField.type),ugb(this,this.editableField.allowedValue)};
var Ggb=function(a,b){var c=a.customFields[b];a.confirmationDialog.open({title:"Deleting field: "+c.name,content:ch("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)}})};
A3.prototype.doDelete=function(a){var b=this;Fs(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");Fs(b.butterBar,"Deleted field: "+a.name,2E3);b.loadCustomFields()})};
A3.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=xn(e);a.isLoading=!1};["REPEATED_ENUM","ENUM"].includes(this.editableField.type)?this.editableField.allowedValue=this.allowedValues.map(function(e){return e.value}):this.editableField.allowedValue=void 0;if(this.editableField.customFieldId){var d="update";this.customFieldsApi.update(this.componentId,
this.editableField.customFieldId,this.editableField).then(b).catch(c)}else d="create",this.editableField.componentId=this.componentId,this.customFieldsApi.create(this.componentId,this.editableField).then(b).catch(c)};
A3.prototype.updateCustomFieldState=function(a,b,c){var d=this;return new Promise(function(e,f){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 k,
q;null==(k=d.fieldStateMenus)||null==(q=k.get(c))||q.focus()})}).then(function(){e(void 0)})},function(h){d.serverError=xn(h);d.isLoading=!1;f(h)})})};A3.prototype.cancel=function(){this.originalEditableFieldValue=this.editableField=null};
var xgb=function(a,b){var c=a.editableField.type,d="TEXT"===c&&bi(b)?b:void 0,e="DATE"===c&&b&&BJa(b)?b:void 0,f="ENUM"===c&&bi(b)?b:void 0,h="NUMERIC"===c&&ura(b)?b:void 0,k="REPEATED_TEXT"===c&&ci(b)?{values:b}:void 0,q;if(q="REPEATED_DATE"===c)q=Array.isArray(b)&&b.every(BJa);q=q?{values:b}:void 0;var t="REPEATED_ENUM"===c&&ci(b)?{values:b}:void 0;b="REPEATED_NUMERIC"===c&&vra(b)?{values:b}:void 0;a.editableField.typedDefaultValue={customFieldId:a.editableField.customFieldId,textValue:d,dateValue:e,
enumValue:f,numericValue:h,repeatedTextValue:k,repeatedDateValue:q,repeatedEnumValue:t,repeatedNumericValue:b}};
A3.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=void 0)};
var ugb=function(a,b){b=null==b?void 0:b.map(function(c){return c.toString()});a.editableField.allowedValue=b;a.allowedValues=b?b.map(function(c){return{value:c,displayText:c}}):[]};A3.prototype.hasUnsavedChanges=function(){return this.editableField&&!$h(this.editableField,this.originalEditableFieldValue)?!0:!1};
A3.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 f,h=(null==(f=c.componentPathInfo)?void 0:f.componentPathId)||[];for(f=0;f<h.length;f++)d.push(c.componentPathInfo.componentPathName[f]),b.componentIdsToNames[c.componentPathInfo.componentPathId[f]]=d.join(" > ");b.editableField=null;b.originalEditableFieldValue=
null;a||(b.isLoading=!1);c=function(k,q){return Eq(k.name,q.name)};b.customFields=e.filter(function(k){return b.componentId===k.componentId}).sort(c);b.inheritedCustomFields=e.filter(function(k){return b.componentId!==k.componentId}).sort(c);b.appEvents.customFieldsModified.next(e)})};var Mgb=function(a,b){return a.fieldsEnabledOnParentComponent.has(b)?a.fieldsEnabledOnParentComponent.get(b):!0};A3.prototype.trackClick=function(a){this.analytics.trackEvent("editComponent","click",a)};
var ygb=function(a){var b;return(a=null==(b=a.editableField)?void 0:b.typedDefaultValue)?yo(a):null};A3.prototype.getListFieldValues=function(){var a,b=null==(a=this.editableField)?void 0:a.typedDefaultValue,c,d;return null!=(d=null==(c=b?yo(b):null)?void 0:c.values)?d:null};A3.prototype.setFieldSignificance=function(a){this.editableField.fieldSignificance=a};A3.\u0275fac=function(a){return new (a||A3)(B(yH),B(AX),B(EG),B(aI),B(XO),B(kL),B(z3),B(lL),B(cF),B(SJ),B(lG))};
A3.\u0275cmp=r({type:A3,selectors:[["b-component-custom-fields"]],viewQuery:function(a,b){a&1&&og(PGc,5);if(a&2){var c;ng(c=qg())&&(b.fieldStateMenus=c)}},inputs:{editMode:"editMode",isSaving:"isSaving",component:"component",parentComponent:"parentComponent"},features:[yf,ld],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),F(1,Dgb,68,32,"div",1)(2,Egb,2,1,"div",2)(3,Sgb,26,7,"div",3),K());a&2&&(A(1),G("ngIf",b.editableField&&!b.isLoading),A(1),G("ngIf",b.isLoading),A(1),G("ngIf",!b.isLoading))},dependencies:[Sv,Tv,Uv,Ew,Jg,ww,xw,Ow,Dw,Bw,kS,OR,AD,b0,hK,iK,mK,jK,FP,dC,ZB,
XB,YB,WB,eA,rX,qS,eK,AE,AJ,zJ,CJ],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 B3=function(){};B3.\u0275fac=function(a){return new (a||B3)};B3.\u0275mod=Tc({type:B3});B3.\u0275inj=Ec({imports:[zD,Tw,lS,PR,HD,c0,UK,PP,QC,$B,kC,KP,sX,rS,KJ,SK,EE]});var C3=function(){this.options=[];this.disabled=!1;this.removeAtIndex=new mv;this.addRow=new mv;this.optionsChange=new mv};C3.prototype.valueChange=function(a,b){this.options[b].value=Number(a.target.value);this.optionsChange.emit(this.options)};C3.prototype.drop=function(a){np(this.options,a.previousIndex,a.currentIndex);this.optionsChange.emit(this.options)};C3.\u0275fac=function(a){return new (a||C3)};
C3.\u0275cmp=r({type:C3,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),T(3," Dropdown value "),K()(),H(4,"div",3)(5,"span",4),T(6," Average days "),K(),L(7,"mat-icon",5),K()(),H(8,"div",6),Q("cdkDropListDropped",function(c){return b.drop(c)}),F(9,Ugb,12,13,"div",7),K(),F(10,Vgb,2,0,"button",8));a&2&&(A(2),Jf("muted",b.disabled),A(3),Jf("muted",b.disabled),A(2),G("matTooltip","All estimated effort types map to an average number of days."),A(2),G("ngForOf",b.options),A(1),G("ngIf",!b.disabled))},dependencies:[Tv,Uv,MA,FA,JA,
eA,dC,iS,hS,bS],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 D3=function(){this.disabled=!1;this.valueChange=new mv};D3.prototype.onValueChange=function(a){this.valueChange.emit(Number(a.target.value))};D3.\u0275fac=function(a){return new (a||D3)};
D3.\u0275cmp=r({type:D3,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),T(3," Time "),K(),H(4,"span",3),T(5,"1"),K()(),H(6,"div",1)(7,"div",4)(8,"span",5),T(9," Average days "),K(),L(10,"mat-icon",6),K(),H(11,"mat-form-field",
7)(12,"input",8,9),Q("change",function(d){return b.onValueChange(d)}),K()()()());if(a&2){var c=S(13);A(2);Jf("muted",b.disabled);A(6);Jf("muted",b.disabled);A(2);G("matTooltip","All estimated effort types map to an average number of days.");A(1);G("appearance",c.focused?"standard":"none");A(1);G("disabled",b.disabled)("value",b.value)}},dependencies:[MA,FA,JA,dC],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 F3=function(a){this.activeSession=a;this.disabled=!1;this.updateEffortSpec=new mv;this.configurationOptions=[QGc,RGc,E3];this.estimatedEffortFieldEnabled=this.inherit=!1;this.name="Estimated effort";this.numericSpecMultiplier=1;this.enumSpecOptions=[];this.aggregationRules=SZb;this.selectedAggregationRule=this.aggregationRules.SUM;this.enableAggregationRules=yD(this.activeSession,"enableAggregationRules")};
F3.prototype.ngOnInit=function(){(this.originalEffortSpec=this.effortSpec)&&this.effortSpec.numericSpec&&(this.originalSelectedEffortConfig=E3)};F3.prototype.ngOnChanges=function(a){a.effortSpec&&this.effortSpec&&(this.originalEffortSpec=ai(this.effortSpec),this.setValues(this.effortSpec))};
F3.prototype.setValues=function(a){if(a.numericSpec){this.selectedEffortConfig=E3;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,f;this.enumSpecOptions=(null!=(f=null==(e=a.enumSpec)?void 0:e.options)?f:[]).map(function(k){return{label:k.label,value:k.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 SGc=function(a){var b,c,d;if((null==(b=a.effortSpec)?0:b.enumSpec)&&!a.selectedEffortConfig||(null==(c=a.selectedEffortConfig)?void 0:c.displayText)===QGc.displayText||(null==(d=a.selectedEffortConfig)?void 0:d.displayText)===RGc.displayText)return"enum";var e;return(null==(e=a.selectedEffortConfig)?void 0:e.displayText)===E3.displayText?"numeric":"empty"};F3.prototype.addRow=function(){this.enumSpecOptions.push({label:null,value:null})};
F3.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=l(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 TGc=function(a){a.selectedEffortConfig=void 0;a.enumSpecOptions=[];a.effortSpec=void 0;a.name="Estimated effort"};F3.\u0275fac=function(a){return new (a||F3)(B(nt))};
F3.\u0275cmp=r({type:F3,selectors:[["b-estimated-effort-config"]],inputs:{effortSpec:"effortSpec",parentEffortSpec:"parentEffortSpec",disabled:"disabled"},outputs:{updateEffortSpec:"updateEffortSpec"},features:[ld],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),Q("cardTitleChange",function(c){return b.name=c})("dropdownSelectionChanged",function(c){b.selectedEffortConfig=
c;c.displayText===QGc.displayText?(b.enumSpecOptions=[].concat(u(UGc)),b.name="Story points"):c.displayText===RGc.displayText?(b.enumSpecOptions=[].concat(u(VGc)),b.name="T-shirt sizes"):c.displayText===E3.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)===E3.displayText)c.numericSpec={multiplier:b.numericSpecMultiplier};else if(0<b.enumSpecOptions.length){d=[];for(var e=l(b.enumSpecOptions),f=e.next();!f.done;f=e.next())f=f.value,f.label&&null!==f.value&&d.push({label:f.label,value:f.value});c.enumSpec={options:d}}b.updateEffortSpec.emit(c)}else b.updateEffortSpec.emit({name:"",inherit:!1})})("selectedChange",function(c){b.estimatedEffortFieldEnabled=
c;b.estimatedEffortFieldEnabled||TGc(b)})("onCancelButtonClicked",function(){b.effortSpec=b.originalEffortSpec;b.selectedEffortConfig=b.originalSelectedEffortConfig;b.effortSpec?b.setValues(b.effortSpec):(b.estimatedEffortFieldEnabled=!1,TGc(b))})("isInheritedChange",function(c){(c=c.checked)?(b.setValues(b.parentEffortSpec?b.parentEffortSpec:{name:"Estimated effort"}),b.effortSpec=b.parentEffortSpec,b.effortSpec||TGc(b)):b.effortSpec&&(b.setValues({}),TGc(b));b.inherit=c}),H(1,"div",1),F(2,Xgb,2,
1,"ng-container",2)(3,Ygb,2,2,"ng-container",2)(4,Zgb,1,0,"ng-container",2),K(),F(5,$gb,23,13,"div",3),K(),F(6,ahb,1,2,"ng-template",null,4,tg));a&2&&(G("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),A(1),G("ngSwitch",SGc(b)),A(1),G("ngSwitchCase",
"enum"),A(1),G("ngSwitchCase","numeric"),A(1),G("ngSwitchCase","empty"),A(1),G("ngIf",b.enableAggregationRules&&b.estimatedEffortFieldEnabled))},dependencies:function(){return[Uv,Zv,Vv,Wv,MA,FA,fA,v3,dC,JP,IP,hA,C3,D3,G3]},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 UGc=[{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}],VGc=[{label:"XS",value:1},{label:"S",value:3},{label:"M",value:5},{label:"L",value:10},{label:"XL",value:20}],QGc={displayText:"Story points",icon:"story-point-24px"},RGc={displayText:"T-shirt sizes",icon:"t-shirt-24px"},E3={displayText:"Time",icon:"time-24px"},G3=function(){};
G3.prototype.transform=function(a){switch(a){case "MAX":return"Max Point";default:return"Simple Sum"}};G3.\u0275fac=function(a){return new (a||G3)};G3.\u0275pipe=Wc({name:"aggregationRuleText",type:G3,pure:!0});var WGc=function(){this.disabled=!1;this.updateComponent=new mv};WGc.\u0275fac=function(a){return new (a||WGc)};
WGc.\u0275cmp=r({type:WGc,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),T(2,"Once activated, standard fields appear in the right panel of all issues."),K(),H(3,"b-estimated-effort-config",
2),Q("updateEffortSpec",function(c){b.updateComponent.emit(c)}),K()());a&2&&(A(3),G("effortSpec",b.effortSpec)("parentEffortSpec",b.parentEffortSpec)("disabled",b.disabled))},dependencies:[F3],styles:[".field-container[_ngcontent-%COMP%]{max-width:1100px}"]});var H3=function(){};H3.\u0275fac=function(a){return new (a||H3)};H3.\u0275mod=Tc({type:H3});H3.\u0275inj=Ec({imports:[zD,KA,kC,hL,w3,QC,KP,jS]});var I3=function(){};I3.\u0275fac=function(a){return new (a||I3)};I3.\u0275mod=Tc({type:I3});I3.\u0275inj=Ec({imports:[zD,w3,H3]});var J3=function(a){var b=this;this.teamsService=a;this.anchorTarget="_blank";this.useInternalLink=this.isTopLevel=this.isAdmin=!1;this.modelChange=new mv;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 pdb([c],[""],"")):XI(b.teamsService,c).pipe(D(function(d){return new pdb([],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"}))}))};
J3.prototype.updateSelectionOnChange=function(a){Hk(Kp.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);XGc(this)};var XGc=function(a){a.inherit=a.model.inherit;a.teamIdChanged$.next(a.model.id)};J3.prototype.ngOnInit=function(){Object.assign({},this.model);XGc(this)};var ehb=function(a){return a.model.id&&"0"!==a.model.id};
J3.prototype.getMomaTeamLink=function(){return ehb(this)?"https://moma.corp.google.com/team/"+this.model.id:null};J3.\u0275fac=function(a){return new (a||J3)(B(WI))};
J3.\u0275cmp=r({type:J3,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"),F(1,chb,2,1,"ng-container",0),W(2,"async"),F(3,dhb,3,2,"div",1),H(4,"div",2)(5,"label",3),T(6,"Team selection"),K(),H(7,"b-team-picker",4),Q("onTeamSelect",
function(d){return b.updateSelectionOnChange(d)})("onEmptyQuery",function(){b.model.id="0";b.modelChange.emit(b.model);XGc(b)}),W(8,"async"),W(9,"async"),K(),F(10,ghb,2,1,"ng-container",5),K()(),F(11,ihb,1,1,"ng-template",null,6,tg));if(a&2){var c=S(12);A(1);G("ngIf",X(2,7,b.warningType$));A(2);G("ngIf",!b.isTopLevel);A(4);G("placeholder",X(8,9,b.placeholder$))("disabled",!b.isAdmin||!b.isTopLevel&&b.inherit)("teamSelected",X(9,11,b.displayedTeam$));A(3);G("ngIf",b.useInternalLink)("ngIfElse",c)}},
dependencies:[Uv,MA,eL,dC,P2,rZ,fA,AE,$v],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 K3=function(){};K3.\u0275fac=function(a){return new (a||K3)};K3.\u0275mod=Tc({type:K3});K3.\u0275inj=Ec({imports:[zD,rK,hL,QC,S2,E_,Tw,kC,EE]});var L3=function(){};L3.\u0275fac=function(a){return new (a||L3)};L3.\u0275mod=Tc({type:L3});L3.\u0275inj=Ec({imports:[zD,Tw,kC,KA,GA,AA]});var M3=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},YGc=function(a){a.fields.sort(function(b,c){return b.name.localeCompare(c.name)});a.detectChanges()};M3.prototype.drop=function(a){np(this.fields,a.previousIndex,a.currentIndex);this.detectChanges()};
var jhb=function(a,b){return 0<b?(np(a.fields,b,b-1),a.detectChanges(),!0):!1},khb=function(a,b){return b<a.fields.length-1?(np(a.fields,b,b+1),a.detectChanges(),!0):!1};M3.prototype.trackByFn=function(){return-1};M3.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.")};
M3.prototype.onKeyDown=function(a,b){switch(a.key){case " ":a.preventDefault();ZGc(this,b);break;case "Tab":this.grabbed&&ZGc(this,b);break;case "ArrowUp":$Gc(this,a);break;case "ArrowDown":$Gc(this,a)}};
var ZGc=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."))},$Gc=function(a,b){if(a.grabbed){var c=document.activeElement;if(c&&void 0!==a.grabbedIndex){if("ArrowUp"===b.key){if(jhb(a,a.grabbedIndex)){var d=c.previousElementSibling;
a.grabbedIndex--}}else khb(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."))}}};M3.prototype.detectChanges=function(){this.hasChanges=!$h(this.fields,this.originalFields)};M3.\u0275fac=function(a){return new (a||M3)(B(uA),B(sA),B(ox))};
M3.\u0275cmp=r({type:M3,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),T(3," Reorder custom fields "),K(),H(4,"button",3),Q("click",function(){return YGc(b)}),L(5,"mat-icon",4),K()()(),H(6,"div",5)(7,"ol",6),Q("cdkDropListDropped",function(c){return b.drop(c)}),F(8,lhb,9,7,"li",7),K()(),H(9,"div",8)(10,"button",9),Q("click",function(){return b.dialogRef.close()}),T(11," Cancel "),K(),H(12,"button",10),Q("click",function(){return b.dialogRef.close(b.fields)}),T(13," Save "),K()());a&2&&(A(8),
G("ngForOf",b.fields)("ngForTrackBy",b.trackByFn),A(4),G("disabled","CUSTOMIZED"===b.fieldOrdering&&!b.hasChanges))},dependencies:[Tv,MA,eA,xA,yA,zA,iS,hS,bS,dC],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 N3=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 mv;this.displayedColumn=["index","name","type","required","customFieldId"]},zhb=function(a){return a.matDialog.open(M3,{width:"500PX",autoFocus:!1,data:{fields:a.fields,orderingCustomized:a.fieldOrdering}}).afterClosed().subscribe(function(b){b&&aHc(a,b)})},Ahb=function(a){a.confirmationDialog.open({title:"Reset ordering?",
content:ch("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()}})},aHc=function(a,b){a.analytics.trackEvent(Kp.FIELD_ORDERING,"reorderFields");var c=b.map(function(d){return{customFieldId:d.customFieldId}});a.componentId?(Fs(a.butterBar,"Saving...",0),a.fieldConfigService.reorder(a.componentId,c).subscribe(function(){Fs(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.")};
N3.prototype.reset=function(){var a=this;this.analytics.trackEvent(Kp.FIELD_ORDERING,"resetFields");this.componentId?(Fs(this.butterBar,"Resetting orderings..."),this.fieldConfigService.executor.post({url:"action/components/"+this.componentId+"/unorder",body:null,responseConstructor:null}).subscribe(function(){Fs(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.")};
N3.\u0275fac=function(a){return new (a||N3)(B(vA),B(SJ),B(z3),B(aI),B(EG))};
N3.\u0275cmp=r({type:N3,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),M(3,3),F(4,mhb,2,0,"th",4)(5,nhb,2,1,"td",5),N(),M(6,6),F(7,ohb,2,0,"th",4)(8,phb,2,1,"td",
5),N(),M(9,7),F(10,qhb,2,0,"th",4)(11,rhb,3,3,"td",5),N(),M(12,8),F(13,shb,2,0,"th",4)(14,thb,2,1,"td",5),N(),M(15,9),F(16,uhb,2,0,"th",4)(17,vhb,2,1,"td",5),N(),F(18,whb,1,0,"tr",10)(19,xhb,1,0,"tr",11),K(),F(20,yhb,2,0,"div",12),K(),F(21,Bhb,6,2,"div",13),K());a&2&&(A(2),G("dataSource",b.fields),A(16),G("matHeaderRowDef",b.displayedColumn),A(1),G("matRowDefColumns",b.displayedColumn),A(1),G("ngIf",0===b.fields.length),A(1),G("ngIf",b.isAdmin))},dependencies:[Uv,eA,TV,GV,MV,IV,FV,OV,JV,LV,PV,RV,
AL],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 O3=function(){};O3.\u0275fac=function(a){return new (a||O3)};O3.\u0275mod=Tc({type:O3});O3.\u0275inj=Ec({providers:[SJ],imports:[zD,kC,AA]});var P3=function(){};P3.\u0275fac=function(a){return new (a||P3)};P3.\u0275mod=Tc({type:P3});P3.\u0275inj=Ec({imports:[zD,kC,sJ,AA,jW,jS,QC,HD,O3,CL]});var Q3=function(a){this.analytics=a;this.filename=this.packageName=this.issueId="";this.lineNumbers=[];this.changeNumber=0},Dhb=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="+bHc+a.issueId+cHc;a.changeNumber&&(c+="&rcl="+a.changeNumber);Array.isArray(b)?c+="&l="+b.join(","):b&&(c+="&l="+b);return c}};
Q3.prototype.trackClick=function(a){this.analytics.trackEvent("codeMentions","clickCodeSearchLink",a)};Q3.\u0275fac=function(a){return new (a||Q3)(B(aI))};
Q3.\u0275cmp=r({type:Q3,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),Q("click",function(){return b.trackClick("fileName")}),T(2),K(),F(3,Chb,2,1,"span",2)(4,Fhb,5,1,"span",2),K());a&2&&(A(1),G("href",Dhb(b,b.lineNumbers),Wd),A(1),V(" ",b.filename," "),A(1),G("ngIf",!(10>=b.lineNumbers.length&&"wiki"!=b.packageName)),A(1),G("ngIf",10>=b.lineNumbers.length&&"wiki"!=b.packageName))},dependencies:[Tv,Uv],encapsulation:2});var bHc=encodeURIComponent("content:(https?://)?b(uganizer)?(\\.corp(\\.google\\.com)?)?/(issues/|issue\\?id=)?"),cHc=encodeURIComponent("(\\b|$)");var R3=function(){};R3.\u0275fac=function(a){return new (a||R3)};R3.\u0275mod=Tc({type:R3});R3.\u0275inj=Ec({imports:[zD]});var dHc=function(){return{width:400}},eHc=function(){return[]},S3=function(a,b,c,d,e,f,h,k,q){var t=this;this.bLocation=c;this.paths=d;this.analytics=e;this.currentTracker=h;this.componentActions=k;this.cdr=q;this.includeArchived$=new E.BehaviorSubject(!1);this.rootComponent$=this.currentTracker.tracker$.pipe(af(function(w){return w?t.componentActions.get(Number(w.componentId)):(0,E.of)(void 0)}));this.topLevelComponents$=(0,E.combineLatest)([this.rootComponent$,this.includeArchived$]).pipe(af(function(w){var y=
l(w);w=y.next().value;y=y.next().value;var C;return t.componentActions.getChildren(null!=(C=null==w?void 0:w.parentComponentId)?C:0,y)}));this.createComponentPath=Ps.COMPONENT_CREATE;a.setTitle("Browse Components");b.componentId&&Ihb(this,Number(b.componentId),(0,E.firstValueFrom)(this.topLevelComponents$));this.isInternalSession=f.isInternalSession()};S3.prototype.viewComponent=function(a,b){b=void 0===b?null:b;a&&(b&&this.analytics.trackEvent("listComponents",b),this.bLocation.setUrl(this.paths.manageComponent(a.componentId)))};
var Ihb=function(a,b,c){a.componentActions.get(b).then(function(d){for(var e=taa(d.componentPathInfo.componentPathId,0,d.componentPathInfo.componentPathId.length-1),f={0:c},h=l(e),k=h.next();!k.done;k=h.next())k=k.value,f[k]=a.componentActions.getChildren(k,a.includeArchived);return no(f).then(function(q){for(var t=q[0],w=0,y=l(e),C=y.next(),J={};!C.done;J={parentId$jscomp$17:J.parentId$jscomp$17},C=y.next()){J.parentId$jscomp$17=C.value;C=void 0;var I=null!=(C=t.find(function(P){return function(O){return O.componentId===
P.parentId$jscomp$17}}(J)))?C:null;I&&(I.children=q[J.parentId$jscomp$17],I.showChildren=!0,t=I.children,w=I.componentId)}d.archived&&!a.includeArchived&&(b=w);a.cdr.detectChanges();setTimeout(function(){a.componentTree.fireSelectionEvent(b)})})})};Gh.Object.defineProperties(S3.prototype,{includeArchived:{configurable:!0,enumerable:!0,get:function(){return this.includeArchived$.value}}});S3.\u0275fac=function(a){return new (a||S3)(B(UG),B(XO),B(bF),B(cF),B(aI),B(nt),B(SG),B(kL),B(XD,2))};
S3.\u0275cmp=r({type:S3,selectors:[["b-list-components-page"]],features:[bg([XD])],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),T(1,"Browse Components"),K(),H(2,"div",1)(3,"div",2),
F(4,Ghb,2,1,"a",3),H(5,"button",4),T(6," Search Components "),K(),F(7,Hhb,4,6,"ng-template",null,5,tg)(9,Jhb,3,4,"div",6),K()(),H(10,"div",7),F(11,Khb,2,0,"div",8),W(12,"async"),H(13,"component-tree-list",9),Q("init",function(h){return b.componentTree=h}),W(14,"async"),W(15,"async"),K()());if(a&2){var c=S(8),d,e,f;A(4);G("ngIf",b.isInternalSession);A(1);G("xapInlineDialogClick",c)("overlaySize",eg(13,dHc));A(4);G("ngIf",b.isInternalSession);A(2);G("ngIf",!(null!==(d=X(12,7,b.topLevelComponents$))&&
void 0!==d&&d));A(2);G("components",null!==(e=X(14,9,b.topLevelComponents$))&&void 0!==e?e:eg(14,eHc))("includeArchived",null!==(f=X(15,11,b.includeArchived$))&&void 0!==f?f:!1)}},dependencies:[Uv,eK,vK,uK,yK,qQ,eA,fA,jQ,wL,$v],styles:[".component-picker-dialog[_ngcontent-%COMP%]{width:400px}.component-picker-dialog[_ngcontent-%COMP%]     input{box-sizing:border-box}"]});var T3=function(){};T3.\u0275fac=function(a){return new (a||T3)};T3.\u0275mod=Tc({type:T3});T3.\u0275inj=Ec({imports:[zD,SK,QK,VK,XK,rK,rQ,kC,lQ,HL]});var fHc=function(){this.issueId="";this.packageMentionSet={packageName:"",fileMentionSet:[]};this.displayPackageName=!1};fHc.\u0275fac=function(a){return new (a||fHc)};
fHc.\u0275cmp=r({type:fHc,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),F(1,Lhb,2,1,"p",1),H(2,"ul"),F(3,Mhb,2,5,
"li",2),K()());a&2&&(A(1),G("ngIf",b.displayPackageName),A(2),G("ngForOf",b.packageMentionSet.fileMentionSet))},dependencies:[Tv,Uv,Q3],encapsulation:2});var U3=function(){};U3.\u0275fac=function(a){return new (a||U3)};U3.\u0275mod=Tc({type:U3});U3.\u0275inj=Ec({imports:[zD,R3]});var V3=function(){};V3.\u0275fac=function(a){return new (a||V3)};V3.\u0275mod=Tc({type:V3});V3.\u0275inj=Ec({imports:[zD,Tw,kC,AA,KA,LR,GA]});var W3=function(a,b){this.documentationLinks=a;this.dateFormatter=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.retentionModel=HZb;this.label="Restricted";this.contentType="item"};W3.prototype.getRetentionPeriod=function(){return this.retentionState&&this.retentionState.retentionPeriod?Bn(Math.floor(1E3*this.retentionState.retentionPeriod.seconds/864E5)):""};
var Ohb=function(a){var b=new Date(864E13);return a.retentionState&&a.retentionState.scheduledDeletionTime?new Date(An(a.retentionState.scheduledDeletionTime)||b):b},gHc=function(a){return a.retentionState&&a.retentionState.scheduledDeletionTime?12096E5>An(a.retentionState.scheduledDeletionTime)-Date.now():!1};W3.\u0275fac=function(a){return new (a||W3)(B(lL),B(AM))};
W3.\u0275cmp=r({type:W3,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=v();H(0,"xap-bubble",0,1)(2,"div",2);Q("focus",function(){x(c);var e=S(1);return z(e.toggle(!0))})("blur",function(){x(c);var e=S(1);return z(e.toggle(!1))});L(3,"mat-icon",3);T(4);K();F(5,Thb,8,4,"ng-template",null,4,tg)(7,Uhb,3,1,"ng-template",null,5,tg)(9,Vhb,8,5,"ng-template",null,6,tg);K()}if(a&2){var d=S(6);G("panelTemplate",d);A(2);Jf("warning",gHc(b));A(1);G("svgIcon",gHc(b)?"delete-alert":
"delete-clock");A(1);V(" ",b.label," ")}},dependencies:[Uv,Vv,Wv,MA,mL,cw],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 X3=function(a,b,c){this.dialogRef=a;this.documentationLinks=b;this.data=c;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc"};X3.prototype.onNoClick=function(){this.dialogRef.close(!1)};X3.\u0275fac=function(a){return new (a||X3)(B(sA),B(lL),B(uA))};
X3.\u0275cmp=r({type:X3,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),T(1),K(),H(2,"div",1)(3,"p"),T(4),H(5,"a",2),T(6," Learn More "),K()()(),H(7,"div",3)(8,"button",4),Q("click",function(){return b.onNoClick()}),T(9," Cancel "),K(),H(10,"button",5),T(11," Confirm "),K()());a&2&&(A(1),$f(b.data.title),A(3),V(" ",b.data.content," "),A(1),G("rel",b.EXTERNAL_LINK_REL),Af("href",b.documentationLinks.getRestrictedAccessHelpLink(),Wd),A(5),G("mat-dialog-close",!0))},dependencies:[eA,wA,xA,yA,zA],encapsulation:2});var Y3=function(a,b){this.dialog=a;this.documentationLinks=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.disabled=!1;this.onConfirm=new mv};
Y3.prototype.openDialog=function(){var a=this;this.dialog.open(X3,{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."}}).afterClosed().subscribe(function(b){b&&a.onConfirm.emit()})};Y3.\u0275fac=function(a){return new (a||Y3)(B(vA),B(lL))};
Y3.\u0275cmp=r({type:Y3,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),Q("click",function(){return b.openDialog()}),T(2," Show Restricted Content "),K(),H(3,"a",1),T(4,
" Learn More "),K()());a&2&&(A(1),G("disabled",b.disabled),A(2),G("rel",b.EXTERNAL_LINK_REL),Af("href",b.documentationLinks.getRestrictedAccessHelpLink(),Wd))},dependencies:[eA],styles:[".mat-stroked-button[_ngcontent-%COMP%]{margin-right:1em}/*# sourceMappingURL=restricted_comment_placeholder.css.map */"],changeDetection:0});var Z3=function(){};Z3.\u0275fac=function(a){return new (a||Z3)};Z3.\u0275mod=Tc({type:Z3});Z3.\u0275inj=Ec({imports:[zD,$B,kC,AA,DD,GA,MM,QC,jW,iW,hL,Tw,DL]});var a4=function(){};a4.prototype.ngOnInit=function(){};a4.\u0275fac=function(a){return new (a||a4)};
a4.\u0275cmp=r({type:a4,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&&(L(0,"button",0),H(1,"mat-menu",1,2)(3,"a",3),T(4,"Sign out or switch accounts"),K()());if(a&2){var b=S(2);G("matMenuTriggerFor",b);A(3);G("href","https://accounts.google.com/SignOutOptions?hl=en&continue="+encodeURIComponent(window.location.href),
Wd)}},dependencies:[ZB,YB],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 b4=function(){Z.apply(this,arguments);this.trackerCheckboxValues={}};Y(b4,Z);b4.\u0275dir=Z.\u0275dir;b4.prototype.ngOnChanges=function(a){if(a.currentTrackerId){this.trackerCheckboxValues={};var b;a=l(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 hHc=function(a){return Object.keys(cc(a.trackerCheckboxValues,function(b){return b}))};
b4.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(b4)))(b||b4)}}();
b4.\u0275cmp=r({type:b4,selectors:[["b-tracker-search"]],inputs:{currentTrackerId:"currentTrackerId",availableTrackers:"availableTrackers"},features:[yf,ld],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"),T(4,"Select a tracker"),K(),F(5,Whb,2,0,"span",3),K(),H(6,"div",4),F(7,Xhb,3,2,"div",5),K()()());a&2&&(Jf("hidden",!(b.availableTrackers&&1<b.availableTrackers.length)),A(5),G("ngIf",0===hHc(b).length),A(2),G("ngForOf",b.availableTrackers))},dependencies:[Tv,Uv,eL],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 c4=function(a,b,c,d,e,f){Z.call(this);var h=this;this.analytics=b;this.location=c;this.prefsManager=e;this.domSafe=f;this.prefsManager.preferences$.pipe(bf(this.destroyed$)).subscribe(function(k){h.prefs=k});a.topBarEvents.browseComponents.pipe(bf(this.destroyed$)).subscribe(function(k){k=k.newTab;iHc(h,d.listComponents(),k)});a.topBarEvents.manageHotlists.pipe(bf(this.destroyed$)).subscribe(function(k){iHc(h,d.listHotlists(),k.newTab)});a.topBarEvents.manageSlos.pipe(bf(this.destroyed$)).subscribe(function(k){k=
k.newTab;iHc(h,d.listSlos(),k)});a.topBarEvents.setDensity.pipe(bf(this.destroyed$)).subscribe(function(k){h.setDensity(k)});a.topBarEvents.openSettings.pipe(bf(this.destroyed$)).subscribe(function(k){var q=k.newTab;iHc(h,d.settings(k.settingsTabName),q)})};Y(c4,Z);c4.\u0275dir=Z.\u0275dir;var iHc=function(a,b,c){c?a.domSafe.openInNewTab(b):a.location.setUrl(b)};
c4.prototype.setDensity=function(a){this.prefs.themePreferences&&(this.prefs.themePreferences.density=a,this.prefsManager.save(this.prefs).pipe(Qe(),bf(this.destroyed$)).subscribe(),this.analytics.trackEvent("preferences","setDisplayDensity",a))};c4.\u0275fac=function(a){return new (a||c4)(p(lG),p(aI),p(bF),p(cF),p(LE),p(lM))};c4.\u0275prov=Dc({token:c4,factory:c4.\u0275fac,providedIn:"root"});var d4=function(a,b,c,d,e,f,h,k,q,t,w){Z.call(this);var y=this;this.activeSession=a;this.currentTracker=b;this.searchAcData=c;this.savedSearchApi=d;this.butterBar=e;this.bLocation=f;this.paths=h;this.analytics=k;this.appEvents=t;this.appSearchState=w;this.items=[];this.acHeader=null;this.currentQuery="";this.enableTrackersAccountHack=yD(this.activeSession,"enableTrackersAccountHack");this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType();
this.searchAcData.acRefreshed$.pipe(bf(this.destroyed$)).subscribe(function(){y.items=y.searchAcData.items;y.acHeader=y.searchAcData.acHeader})};Y(d4,Z);d4.\u0275dir=Z.\u0275dir;var jHc=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"}};
d4.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 f=d.query,h=d.cursorIdx;if(0>h||h>f.length)throw Error("Be");e=new Uuc(f,h);if(f){var k=f.slice(0,h);for(var q=!1,t=-1,w=-1;-1<(t=k.indexOf('"',t+1));)q=!q,w=t;k=q?w:-1;if(-1<k)e.value={val:f.slice(k,h),idx:k};else if(k=f.slice(0,h),q=f.slice(h),t=q.search("\\s"),
q=-1<t?q.slice(0,t):q,(k=C7a(k+q,Yuc))?(k={negated:!!k[1],val:k[2].toLowerCase(),operator:k[3],idx:k.index-k[1].length-k[2].length-k[3].length},k.val.startsWith("customfield")&&(k.customFieldId=k.val.slice(11),k.val="customfield")):k=null,k){q=k.idx+(k.negated?1:0)+k.val.length+k.operator.length+(k.customFieldId?k.customFieldId.length:0);f=f.slice(q);t=Math.max(h-q,0);w=k;if("("===f.charAt(0)){b:{w=[];for(var y=/[()]/g,C;null!=(C=y.exec(f));){var J=w[w.length-1];if(J&&J!==C[0]){if(w.pop(),!w.length){w=
C.index>=t;break b}}else w.push(C[0])}w=!0}w=w?2:0}else w=Vuc.includes(w.val)&&-1===f.search("^\\d")?1:0;switch(w){case 2:h=Vuc.includes(k.val)?yq(f,t,"([()|]\\s*|OR\\s+|AND\\s+|NOT\\s+|-|\\b\\d+\\s+)","[()|\\s-]"):yq(f,t,"[()|\\s-]");/(OR|AND|NOT|-)$/.test(h.val)&&(h.val="",h.idx=t);e.value=h;break;case 1:e.value=yq(f,t,"[()|]","[()|,\\s]");break;case 0:e.value=yq(f,t,"[\\s()|]");-1<f.slice(0,t).search("[\\s()|]")&&(k=null,t=C7a(f,"(?:\\s|^)(?:-?)(customfield|cf)"))&&(e.value=B7a(f,t.index-t[1].length,
h));break;default:Oh(w,"unknown ValueType.")}e.value.idx+=q;e.label=k}else k=C7a(f,"(?:\\s|^)(?:-?)(customfield|cf)"),e.value=k?B7a(f,k.index-k[1].length,h):yq(f,h,"[\\s()]")}d.currentSearchContext=e}d.currentSearchContext&&(e=d.currentSearchContext,h=++d.requestIndex,d.refreshRequest$.next({currentRequestIndex:h,currentSearchContext:e}));a.currentQuery=c.query});var b=this.appSearchState.queryState$.pipe(D(function(c){return c.query}));this.appSearchState.searchTriggered$.pipe(df(b),bf(this.destroyed$)).subscribe(function(c){c=
l(c);var d=c.next().value;c=c.next().value;var e=a.appSearchState;d=void 0===d?"":d;var f=PFa(c),h=f.filters,k=f.text,q=f.complexSyntax,t=f.resourceIds;f=[h,k,t].reduce(QFa);h=[h?"filters":void 0,k?"text":void 0,t?"ids":void 0].filter(Boolean).join("-");q?e.track(d,"complex"):h?e.track(d,h,f):e.track(d,"UNHANDLED");d=qa(e.searchHandlerStack);void 0===d?e.$log.warn("No search function installed."):d(c)})};d4.prototype.ngAfterViewInit=function(){lGc(this.advancedSearchCtrl,this.appSearchState.currentQuery)};
var kHc=function(a){if(a.advancedSearchCtrl)return"SUCCESS"!==a.advancedSearchCtrl.getState()?a.currentQuery:sGc(a.advancedSearchCtrl).trim()};g=d4.prototype;g.onAdvancedSearchOpen=function(){this.advancedSearchCtrl&&(kHc(this)!==this.currentQuery||"SUCCESS"!==this.advancedSearchCtrl.getState())&&lGc(this.advancedSearchCtrl,this.currentQuery)};
g.onAdvancedSearchClose=function(){var a,b;this.appSearchState.selectedTrackerIds$.next(null!=(b=null==(a=this.trackerSearchCtrl)?void 0:hHc(a))?b:[]);this.advancedSearchCtrl&&(a=kHc(this),void 0!==a&&a!==this.currentQuery&&this.appSearchState.queryState$.next({query:a,cursorPosition:void 0,setViaInteraction:!1}))};
g.submitAdvancedSearch=function(){var a,b;this.appSearchState.selectedTrackerIds$.next(null!=(b=null==(a=this.trackerSearchCtrl)?void 0:hHc(a))?b:[]);this.advancedSearchCtrl&&(a=kHc(this),void 0!==a&&(this.appSearchState.queryState$.next({query:a,cursorPosition:void 0,setViaInteraction:!1}),this.appSearchState.searchTriggered$.next("ui-builder")))};
g.saveSearch=function(a){var b=this;if(this.advancedSearchCtrl){var c=kHc(this);void 0!==c&&(Fs(this.butterBar,"Saving saved search.",1E3),this.savedSearchApi.create(a,c).then(function(d){b.appEvents.savedSearchModified.next();d=d.searchId;Fs(b.butterBar,"Created saved search '"+a+"' ID "+d+".");b.bLocation.setUrl(b.paths.viewSavedSearch(d));b.analytics.trackEvent("savedSearches","create")}).catch(function(d){b.butterBar.showWarning(xn(d))}))}};
g.isSearchDisabled=function(){return this.inTracker()&&0===hHc(this.trackerSearchCtrl).length};g.inTracker=function(){return!!this.trackerSearchCtrl};d4.\u0275fac=function(a){return new (a||d4)(B(nt),B(SG),B(k0),B(LI),B(EG),B(bF),B(cF),B(aI),B(c4),B(lG),B(GK))};
d4.\u0275cmp=r({type:d4,selectors:[["b-top-bar-outlet"]],viewQuery:function(a,b){a&1&&(og(R2,5),og(b4,5));if(a&2){var c;ng(c=qg())&&(b.advancedSearchCtrl=c.first);ng(c=qg())&&(b.trackerSearchCtrl=c.first)}},features:[yf],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),Q("searchBoxOnAdvancedSearchOpen",function(){return b.onAdvancedSearchOpen()})("searchBoxOnAdvancedSearchClose",
function(){return b.onAdvancedSearchClose()})("searchBoxOnAdvancedSearchSubmit",function(){return b.submitAdvancedSearch()})("searchBoxOnSaveSearch",function(d){return b.saveSearch(d)}),W(1,"async"),F(2,Yhb,3,6,"b-tracker-search",1),W(3,"async"),L(4,"b-advanced-search",2),W(5,"async"),F(6,Zhb,4,0,"div",3)(7,bib,3,2,"div",4)(8,cib,2,0,"div",4),K(),F(9,dib,1,0,"b-tracker-account-menu-hack",5),W(10,"async"));if(a&2){var c;G("logoFrontendAccessMode",b.frontendAccessMode)("logoEnvironmentType",b.environmentType)("searchBoxPlaceholder",
jHc(b,X(1,12,b.currentTracker.tracker$)))("searchBoxAutoCompleteItems",b.items)("searchBoxAutoCompleteHeader",b.acHeader)("isSearchDisabled",b.isSearchDisabled());A(2);G("ngIf",null!==(c=X(3,14,b.currentTracker.inTracker$))&&void 0!==c?c:!1);A(2);G("isTrackerSearchEnabled",!X(5,16,b.currentTracker.inTracker$));A(2);G("ngIf","INIT"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState()));A(1);G("ngIf","NOT_REPRESENTABLE"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState())||
"SYNTAX_ERROR"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState()));A(1);G("ngIf","SERVER_ERROR"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState()));A(1);G("ngIf",b.enableTrackersAccountHack&&!b.activeSession.isAnonymous()&&X(10,18,b.currentTracker.inTracker$))}},dependencies:[Uv,MA,R2,b4,MGc,eK,a4,$v],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 e4=function(){};e4.\u0275fac=function(a){return new (a||e4)};e4.\u0275mod=Tc({type:e4});e4.\u0275inj=Ec({imports:[zD,hL]});var f4=function(){};f4.\u0275fac=function(a){return new (a||f4)};f4.\u0275mod=Tc({type:f4});f4.\u0275inj=Ec({imports:[zD,U2,e4,s3,SK,$B]});var g4=function(a,b){this.dialogRef=a;this.data=b;this.userToDisplay=mi;this.updateDiffs=b.updateDiffs};g4.prototype.close=function(){this.dialogRef.close()};g4.\u0275fac=function(a){return new (a||g4)(B(sA),B(uA))};
g4.\u0275cmp=r({type:g4,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),F(2,mib,10,4,"li",2),K()(),H(3,"div",3)(4,"button",4),Q("click",function(){return b.close()}),T(5," Close "),K()());a&2&&(A(2),G("ngForOf",b.updateDiffs))},dependencies:[Tv,Uv,eA,yA,zA,tP,rP,CM],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 h4=function(){};h4.\u0275fac=function(a){return new (a||h4)};h4.\u0275mod=Tc({type:h4});h4.\u0275inj=Ec({imports:[zD,kC,AA,AP,YM]});var i4=function(a,b){Z.call(this);this.$window=a;this.currentTracker=b;this.faviconUrl=this.defaultFaviconUrl=ah("https://www.gstatic.com/buganizer/img/v4/favicon.png")};Y(i4,Z);i4.\u0275dir=Z.\u0275dir;
var lHc=function(a){var b=a.$window.document.head.querySelector('link[rel="shortcut icon"]'),c=null==b?void 0:b.href;a.faviconUrl=c?ah(c):a.defaultFaviconUrl;a.currentTracker.tracker$.pipe(D(function(d){var e;if(null==d?0:null==(e=d.branding)?0:e.logoUrl){var f;d=ah(null==d?void 0:null==(f=d.branding)?void 0:f.logoUrl)}else d=a.faviconUrl;return d}),bf(a.destroyed$)).subscribe(function(d){if(b&&b.href!==d.toString())a:{if(d instanceof tu)b.href=Sh(d).toString();else{if(-1===eZb.indexOf("icon"))throw Error("Mb`icon");
d=Ioa(d);if(void 0===d)break a;b.href=d}b.rel="icon"}})};i4.\u0275fac=function(a){return new (a||i4)(p(ZF),p(SG))};i4.\u0275prov=Dc({token:i4,factory:i4.\u0275fac,providedIn:"root"});var mHc=/^\s*[^:/?#]+:/i,nHc=/^#/i,j4=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"))&&!mHc.test(d))if(nHc.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.setUrl(d)}}};j4.prototype.install=function(){document.addEventListener("click",this.linkClickHandler)};j4.\u0275fac=function(a){return new (a||j4)(p(bF))};j4.\u0275prov=Dc({token:j4,factory:j4.\u0275fac,providedIn:"root"});var oHc=[],pHc=!1,k4=function(a,b,c,d,e,f,h,k){Z.call(this);this.hatsService=a;this.iconRegistry=b;this.session=c;this.appHistory=d;this.routePerformance=e;this.linkClickHandler=f;this.issueLru=h;this.faviconService=k};Y(k4,Z);k4.\u0275dir=Z.\u0275dir;k4.prototype.tearDown=function(){Z.prototype.ngOnDestroy.call(this);document.removeEventListener("click",this.linkClickHandler.linkClickHandler)};k4.\u0275fac=function(a){return new (a||k4)(p(pW),p(LA),p(nt),p(B0),p(E0),p(j4),p(JK),p(i4))};
k4.\u0275prov=Dc({token:k4,factory:k4.\u0275fac,providedIn:"root"});
var qHc={provide:KOb,useFactory:function(a){return function(){zk("app initializer starting");pHc||(a.iconRegistry._addSvgIconSetConfig("",new GUb(a7b)),pHc=!0);if(a.session.isInternalSession()){qW(a.hatsService,"Y4qgAGETM0g6pPHSLo10T83aMF4T").pipe(Qe(),bf(a.destroyed$)).subscribe();for(var b=l(oHc),c=b.next();!c.done;c=b.next()){c=c.value;var d=c.hatsTriggerId;yD(a.session,c.flagName)&&qW(a.hatsService,d).pipe(Qe(),bf(a.destroyed$)).subscribe()}}a.appHistory.install();a.routePerformance.install();
a.linkClickHandler.install();b=a.issueLru;SFa(b.viewed,A6b());SFa(b.edited,y6b());b.appEvents.issueViewed.pipe(bf(b.stop$)).subscribe(b.addViewed);b.appEvents.issueEdited.pipe(bf(b.stop$)).subscribe(b.addEdited);lHc(a.faviconService)}},deps:[k4],multi:!0};var l4=function(a,b){this.paths=a;this.bLocation=b};l4.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.setUrl(a)};l4.\u0275fac=function(a){return new (a||l4)(p(cF),p(bF))};l4.\u0275prov=Dc({token:l4,factory:l4.\u0275fac,providedIn:"root"});var rHc={provide:uT,useExisting:l4};var sHc=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 m4=function(a){VA.call(this);this.errorHandlerFn_=a};At(m4,VA);m4.prototype.wrap=function(a){return tHc(this,a)};var n4=function(a,b){return(b?"__wrapper_":"__protected_")+Da(a)+"__"},tHc=function(a,b){var c=n4(a,!0);b[c]||((b[c]=uHc(a,b))[n4(a,!1)]=b);return b[c]},uHc=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[n4(a,!1)]=b;return c};
m4.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 vHc(a);};
var wHc=function(a,b){var c=da.window||da.globalThis,d=c[b];if(!d)throw Error("af`"+b);c[b]=function(e,f){"string"===typeof e&&(e=zt($Jb,e));e&&(arguments[0]=e=tHc(a,e));if(d.apply)return d.apply(this,arguments);var h=e;if(2<arguments.length){var k=Array.prototype.slice.call(arguments,2);h=function(){e.apply(this,k)}}return d(h,f)};c[b][n4(a,!1)]=d};
m4.prototype.disposeInternal=function(){var a=da.window||da.globalThis;var b=a.setTimeout;b=b[n4(this,!1)]||b;a.setTimeout=b;b=a.setInterval;b=b[n4(this,!1)]||b;a.setInterval=b;m4.superClass_.disposeInternal.call(this)};var vHc=function(a){ba.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)};At(vHc,ba);var yHc=function(a,b,c){bp.call(this);this.contextProvider_=b||null;this.additionalArguments_={};this.xhrSender_=xHc;this.handlerUrl_=a;if(!c){this.errorHandler_=null;this.errorHandler_=new m4(yt(this.handleException,this));wHc(this.errorHandler_,"setTimeout");wHc(this.errorHandler_,"setInterval");a=this.errorHandler_;b=da.window||da.globalThis;c=["requestAnimationFrame","mozRequestAnimationFrame","webkitAnimationFrame","msRequestAnimationFrame"];for(var d=0;d<c.length;d++){var e=c[d];c[d]in b&&wHc(a,
e)}a=this.errorHandler_;SUb=!0;b=yt(a.wrap,a);for(c=0;c<QUb.length;c++)QUb[c](b);RUb.push(a)}};At(yHc,bp);var zHc=function(a,b){XA.call(this,"F");this.error=a;this.context=b};At(zHc,XA);var xHc=function(a,b,c,d){if(d instanceof Map){var e={};d=l(d);for(var f=d.next();!f.done;f=d.next()){var h=l(f.value);f=h.next().value;h=h.next().value;e[f]=h}}else e=d;to(a,null,b,c,e)};
yHc.prototype.handleException=function(a,b){a=a.error||a;b=b?fc(b):{};a instanceof Error&&Eda(b,a.__closure__error__context__984382||{});var c=KRb(a);if(this.contextProvider_)try{this.contextProvider_(c,b)}catch(k){}var d=c.message.substring(0,1900);if(!(a instanceof ba)||a.reportErrorToServer){a=c.stack;try{var e=zB(this.handlerUrl_,"script",c.fileName,"error",d,"line",c.lineNumber);dc(this.additionalArguments_)||(e=mwa(e,this.additionalArguments_));d={};d.trace=a;if(b)for(var f in b)d["context."+
f]=b[f];var h=SWb(d);this.xhrSender_(e,"POST",h,this.extraHeaders_)}catch(k){}}try{this.dispatchEvent(new zHc(c,b))}catch(k){}};yHc.prototype.disposeInternal=function(){Nh(this.errorHandler_);yHc.superClass_.disposeInternal.call(this)};var o4=function(){this.jsBuild="585963968";this.buildLabel="buganizer.frontend_20231128.07_p0"};o4.\u0275fac=function(a){return new (a||o4)};o4.\u0275prov=Dc({token:o4,factory:o4.\u0275fac,providedIn:"root"});var p4=function(){};p4.prototype.reportingEnabled=function(){return 4!==sHc};p4.\u0275fac=function(a){return new (a||p4)};p4.\u0275prov=Dc({token:p4,factory:p4.\u0275fac,providedIn:"root"});
var q4=function(a,b){var c=this;this.appContext=b;this.context={};this.reportingExtensions=[];this.jsDebugErrorReporter=new yHc("/jserror",function(d,e){e.js_build=a.jsBuild;e.buildLabel=a.buildLabel;e["build-label"]=a.buildLabel;d=l(c.reportingExtensions);for(var f=d.next();!f.done;f=d.next())f.value.enhanceContext(e)},!0)};
q4.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=l(this.reportingExtensions);for(var b=a.next();!b.done;b=a.next())b.value.onReportedError()}};q4.\u0275fac=function(a){return new (a||q4)(p(o4),p(p4))};q4.\u0275prov=Dc({token:q4,factory:q4.\u0275fac,providedIn:"root"});var r4=function(a){this._console=console;this.reporter=a};Y(r4,$d);r4.prototype.handleError=function(a){this.reporter.reportError(a)};r4.\u0275fac=function(a){return new (a||r4)(p(q4))};r4.\u0275prov=Dc({token:r4,factory:r4.\u0275fac,providedIn:"root"});var s4=function(a){this.activeSession=a};Y(s4,p4);s4.prototype.reportingEnabled=function(){return yD(this.activeSession,"reportErrors")};s4.\u0275fac=function(a){return new (a||s4)(p(nt))};s4.\u0275prov=Dc({token:s4,factory:s4.\u0275fac,providedIn:"root"});
var AHc={provide:$d,useClass:r4},BHc={provide:p4,useClass:s4},CHc={provide:o4,useValue:{jsBuild:"585963968",buildLabel:"buganizer.frontend_20231128.07_p0"}};var t4=function(){};t4.\u0275fac=function(a){return new (a||t4)};t4.\u0275cmp=r({type:t4,selectors:[["b-empty"]],decls:0,vars:0,template:function(){},encapsulation:2});var u4=function(){};u4.\u0275fac=function(a){return new (a||u4)};u4.\u0275mod=Tc({type:u4});u4.\u0275inj=Ec({});var v4=function(){};Y(v4,uE);v4.prototype.store=function(){};v4.prototype.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig&&$h(a.params,b.params)};v4.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(v4)))(b||v4)}}();v4.\u0275prov=Dc({token:v4,factory:v4.\u0275fac,providedIn:"root"});var w4=function(a){this.router=a};
w4.prototype.canActivate=function(a,b){if(b.url.includes("#ISSUE_HistoryHeader")){var c=l(b.url.split("#ISSUE_HistoryHeader"));a=c.next().value;c=c.next().value;return zE(this.router,[a],{fragment:c&&!isNaN(Number(c))?"comment"+c:void 0})}if(a.queryParamMap.has("showInsights")&&"1"===a.queryParamMap.get("showInsights")){b=l(b.url.split("?")).next().value;var d={};return zE(this.router,[b],{queryParams:Object.assign({},swa(a.queryParamMap),(d.showInsights="deployments",d)),fragment:null!=(c=a.fragment)?
c:void 0})}return"/mission-control"===b.url||"/dash"===b.url?zE(this.router,["home"]):!0};w4.\u0275fac=function(a){return new (a||w4)(p(yE))};w4.\u0275prov=Dc({token:w4,factory:w4.\u0275fac,providedIn:"root"});var DHc=/^(\d+)$/,x4=function(a){this.butterBar=a;this.paramNamesToCheck=new Set(Object.values(w_b))};x4.prototype.validate=function(a){for(var b=l(Object.keys(a)),c=b.next();!c.done;c=b.next())if(c=c.value,this.paramNamesToCheck.has(c)){var d=a[c],e=Xk(d);if(!DHc.test(d)||isNaN(e)||!Number.isInteger(e))return this.butterBar.showWarning("The URL parameter "+c+' has the malformed value "'+d+'".'),!1}return!0};x4.\u0275fac=function(a){return new (a||x4)(p(EG))};
x4.\u0275prov=Dc({token:x4,factory:x4.\u0275fac,providedIn:"root"});var y4=function(a){this.routeParamsValidator=a};y4.prototype.canActivate=function(a){return this.routeParamsValidator.validate(a.params)};y4.\u0275fac=function(a){return new (a||y4)(p(x4))};y4.\u0275prov=Dc({token:y4,factory:y4.\u0275fac,providedIn:"root"});var z4=function(a,b){this.activeSession=a;this.router=b};z4.prototype.canActivate=function(){return this.activeSession.isInternalSession()?!0:zE(this.router,["issues"])};z4.\u0275fac=function(a){return new (a||z4)(p(nt),p(yE))};z4.\u0275prov=Dc({token:z4,factory:z4.\u0275fac,providedIn:"root"});var A4=function(a,b){this.currentTracker=a;this.router=b};A4.prototype.canActivate=function(){return this.currentTracker.inTracker?zE(this.router,["issues"]):!0};A4.\u0275fac=function(a){return new (a||A4)(p(SG),p(yE))};A4.\u0275prov=Dc({token:A4,factory:A4.\u0275fac,providedIn:"root"});var B4=function(a,b){this.userPreferences=a;this.activeSession=b},EHc=function(a){var b=yD(a.activeSession,"enableHomepageVariantA")&&a.activeSession.isInternalSession();a=Dk(a.userPreferences.homepagePreferences$);if(b&&(null==a||0===Object.keys(a).length||"MISSION_CONTROL"===(null==a?void 0:a.resourceType)))return"/home";if("NEEDS_ATTENTION"===(null==a?void 0:a.resourceType))return"/attention";if("ASSIGNED_TO_ME"===(null==a?void 0:a.resourceType)||null==a||!a.resourceId)return"/issues";switch(a.resourceType){case "BOOKMARK_GROUP":return"/dashboard/"+
a.resourceId;case "SAVED_SEARCH":return"/savedsearches/"+a.resourceId;case "HOTLIST":return"/hotlists/"+a.resourceId;default:return"/issues"}};B4.\u0275fac=function(a){return new (a||B4)(p(LE),p(nt))};B4.\u0275prov=Dc({token:B4,factory:B4.\u0275fac,providedIn:"root"});var C4=function(a,b){this.router=a;this.homepageRedirection=b};C4.prototype.canActivate=function(){return zE(this.router,[EHc(this.homepageRedirection)])};C4.\u0275fac=function(a){return new (a||C4)(p(yE),p(B4))};C4.\u0275prov=Dc({token:C4,factory:C4.\u0275fac,providedIn:"root"});var FHc={ANDROID:"Android",CHROME:"Chrome",IOS:"iOS",LINUX:"Linux",MAC:"Mac",UNKNOWN:"Unknown",WINDOWS:"Windows"};var GHc={USER:"USER",DEVELOPER:"DEVELOPER",CONTRIBUTOR:"CONTRIBUTOR"},HHc={INPUT:"INPUT",TEXT:"TEXT",SELECT:"SELECT"},IHc=new bd("CustomQuestionsConfig"),JHc=new bd("ComponentIds"),KHc=new bd("CustomFieldIds");var LHc=function(a){this.componentIds=a;this.persona="USER";this.categoryChange=new mv;a={};this.options=(a.USER=[{title:"UI",description:"Problems with the user interface (e.g. tabs, context menus, etc...)",value:"UI",componentId:this.componentIds.ui},{title:"Network / Downloading",description:"Problems with accessing remote content",value:"NETWORK_DOWNLOADING",componentId:this.componentIds.network},{title:"Audio / Video",description:"Problems playing back sound or movies",value:"AUDIO_VIDEO",componentId:this.componentIds.media},
{title:"Content",description:"Problems with webpages not working correctly",value:"CONTENT"},{title:"Apps",description:"Issues with Webstore apps",value:"APPS",componentId:this.componentIds.apps},{title:"Extensions / Themes",description:"Issues with Webstore extensions and themes",value:"EXTENSIONS_THEMES",componentId:this.componentIds.extensions},{title:"Webstore",description:"Problems with the Chrome Webstore itself",value:"WEBSTORE",componentId:this.componentIds.webstore},{title:"Sync",description:"Problems syncing data to a Google account",
value:"SYNC",componentId:this.componentIds.sync},{title:"Enterprise",description:"Policy configuration and deployment issues",value:"ENTERPRISE",componentId:this.componentIds.enterprise},{title:"Installation",description:"Problem installing Chrome",value:"INSTALLATION",componentId:this.componentIds.installer},{title:"Crashes",description:'The browser closes abruptly or I see "Aw, Snap!" pages',value:"CRASHES"},{title:"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:this.componentIds.blink},{title:"Developer Tools",description:"Problems with the Developer tool chain/inspector",value:"DEV_TOOLS",componentId:this.componentIds.devtools}],a.CONTRIBUTOR=[],a)};LHc.\u0275fac=function(a){return new (a||LHc)(B(JHc))};
LHc.\u0275cmp=r({type:LHc,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),Q("valueChange",function(d){b.category=
d;b.categoryChange.emit(b.category)}),H(2,"mat-select-trigger"),T(3),K(),F(4,nib,5,3,"mat-option",2),K()());if(a&2){var c;A(1);G("value",b.category);A(2);V(" ",null!==(c=null==b.category?null:b.category.title)&&void 0!==c?c:""," ");A(1);G("ngForOf",b.options[b.persona])}},dependencies:[Tv,FA,JP,IP,hA],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}},D4=function(a){this.config=a;this.CustomQuestionType=HHc;this.responses=new mv;this.model=Object.assign({},a)};D4.prototype.ngOnInit=function(){};var yib=function(a){var b=a.model[a.category].filter(function(c){return!!c.response});a.responses.emit(b)};D4.\u0275fac=function(a){return new (a||D4)(B(IHc))};
D4.\u0275cmp=r({type:D4,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&&F(0,oib,2,4,"ng-container",0)(1,sib,4,4,"ng-template",null,1,tg)(3,tib,3,3,"ng-template",null,2,tg)(5,uib,4,3,"ng-template",null,3,tg)(7,zib,5,5,"ng-template",null,4,tg);a&2&&G("ngForOf",b.model[b.category])},dependencies:[Tv,Uv,Zv,Vv,Wv,Jg,ww,Dw,FA,JA,JP,hA],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 MHc=function(){this.Persona=GHc;this.persona="USER";this.personaChange=new mv};MHc.\u0275fac=function(a){return new (a||MHc)};
MHc.\u0275cmp=r({type:MHc,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),Q("ngModelChange",function(c){b.persona=c;b.personaChange.emit(b.persona)}),H(2,"mat-radio-button",1),T(3," End User "),H(4,"div",2),T(5," I am trying to use a website. "),K()(),H(6,"mat-radio-button",
1),T(7," Web Developer "),H(8,"div",2),T(9," I am trying to build something on a website. "),K()(),H(10,"mat-radio-button",1),T(11," Chromium Contributor "),H(12,"div",2),T(13," I know about a problem in specific tests or code. "),K()()()());a&2&&(A(1),G("ngModel",b.persona),A(1),G("value",b.Persona.USER),A(4),G("value",b.Persona.DEVELOPER),A(4),G("value",b.Persona.CONTRIBUTOR))},dependencies:[ww,Dw,cV,dV],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     .mat-radio-container{top:-30px}mat-radio-group[_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}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 E4=function(a){this._elementRef=a};E4.prototype.focus=function(){this._elementRef.nativeElement.focus()};E4.\u0275fac=function(a){return new (a||E4)(B(Hd))};E4.\u0275dir=Vc({type:E4,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"],standalone:!0});var F4=function(a){this.template=a};F4.\u0275fac=function(a){return new (a||F4)(B(kg))};F4.\u0275dir=Vc({type:F4,selectors:[["","cdkStepLabel",""]],standalone:!0});var NHc=0,OHc=new bd("STEPPER_GLOBAL_OPTIONS"),G4=function(a,b){this._stepper=a;this.interacted=!1;this.interactedStream=new mv;this.editable=!0;this.optional=!1;this._customError=this._completedOverride=null;this._stepperOptions=b?b:{};this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType};g=G4.prototype;g._getDefaultCompleted=function(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted};
g._getDefaultError=function(){return this.stepControl&&this.stepControl.invalid&&this.interacted};g.select=function(){this._stepper.selected=this};g.reset=function(){this.interacted=!1;null!=this._completedOverride&&(this._completedOverride=!1);null!=this._customError&&(this._customError=!1);this.stepControl&&this.stepControl.reset()};g.ngOnChanges=function(){this._stepper._stateChanged()};g._markAsInteracted=function(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))};
g._showError=function(){var a;return null!=(a=this._stepperOptions.showError)?a:null!=this._customError};Gh.Object.defineProperties(G4.prototype,{completed:{configurable:!0,enumerable:!0,get:function(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride},set:function(a){this._completedOverride=a}},hasError:{configurable:!0,enumerable:!0,get:function(){return null==this._customError?this._getDefaultError():this._customError},set:function(a){this._customError=a}}});
G4.\u0275fac=function(a){return new (a||G4)(B(Jc(function(){return H4})),B(OHc,8))};
G4.\u0275cmp=r({type:G4,selectors:[["cdk-step"]],contentQueries:function(a,b,c){a&1&&pg(c,F4,5);if(a&2){var d;ng(d=qg())&&(b.stepLabel=d.first)}},viewQuery:function(a,b){a&1&&og(kg,7);if(a&2){var c;ng(c=qg())&&(b.content=c.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:["editable","editable",ug],optional:["optional","optional",ug],completed:["completed",
"completed",ug],hasError:["hasError","hasError",ug]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],standalone:!0,features:[zf,ld,dg],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Vf(),F(0,Aib,1,0,"ng-template"))},encapsulation:2,changeDetection:0});
var H4=function(a,b,c){this._dir=a;this._changeDetectorRef=b;this._elementRef=c;this._destroyed=new E.Subject;this.steps=new rg;this._sortedHeaders=new rg;this.linear=!1;this._selectedIndex=0;this.selectionChange=new mv;this.selectedIndexChange=new mv;this._orientation="horizontal";this._groupId=NHc++};g=H4.prototype;
g.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}));mg(a.steps)})};
g.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}));mg(a._sortedHeaders)});this._keyManager=yx(Ax(xx(new Dx(this._sortedHeaders))),"vertical"===this._orientation);(this._dir?this._dir.change:(0,E.of)()).pipe($e(this._layoutDirection()),
bf(this._destroyed)).subscribe(function(b){return zx(a._keyManager,b)});Bx(this._keyManager,this._selectedIndex);this.steps.changes.subscribe(function(){a.selected||(a._selectedIndex=Math.max(a._selectedIndex-1,0))});this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)};g.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this.steps.destroy();this._sortedHeaders.destroy();this._destroyed.next();this._destroyed.complete()};
g.next=function(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)};g.previous=function(){this.selectedIndex=Math.max(this._selectedIndex-1,0)};g.reset=function(){this._updateSelectedItemIndex(0);this.steps.forEach(function(a){return a.reset()});this._stateChanged()};g._getStepLabelId=function(a){return"cdk-step-label-"+this._groupId+"-"+a};g._getStepContentId=function(a){return"cdk-step-content-"+this._groupId+"-"+a};g._stateChanged=function(){this._changeDetectorRef.markForCheck()};
g._getAnimationDirection=function(a){a-=this._selectedIndex;return 0>a?"rtl"===this._layoutDirection()?"next":"previous":0<a?"rtl"===this._layoutDirection()?"previous":"next":"current"};g._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)};
g._getDefaultIndicatorLogic=function(a,b){return a._showError()&&a.hasError&&!b?"error":!a.completed||b?"number":a.editable?"edit":"done"};g._getGuidelineLogic=function(a,b,c){c=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};g._isCurrentStep=function(a){return this._selectedIndex===a};g._getFocusIndex=function(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex};
g._updateSelectedItemIndex=function(a){var b=this.steps.toArray();this.selectionChange.emit({selectedIndex:a,previouslySelectedIndex:this._selectedIndex,selectedStep:b[a],previouslySelectedStep:b[this._selectedIndex]});this._containsFocus()?this._keyManager.setActiveItem(a):Bx(this._keyManager,a);this._selectedIndex=a;this.selectedIndexChange.emit(this._selectedIndex);this._stateChanged()};
g._onKeydown=function(a){var b=Mg(a),c=a.keyCode,d=this._keyManager;if(null==d.activeItemIndex||b||32!==c&&13!==c)rQb(d,"keyboard").onKeydown(a);else this.selectedIndex=d.activeItemIndex,a.preventDefault()};g._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};
g._layoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"};g._containsFocus=function(){var a=this._elementRef.nativeElement,b=Qg();return a===b||a.contains(b)};g._isValidIndex=function(a){return-1<a&&(!this.steps||a<this.steps.length)};
Gh.Object.defineProperties(H4.prototype,{selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){if(this.steps&&this._steps){this._isValidIndex(a);var b;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&&yx(this._keyManager,"vertical"===a)}}});H4.\u0275fac=function(a){return new (a||H4)(B(Nx,8),B(Fu),B(Hd))};
H4.\u0275dir=Vc({type:H4,selectors:[["","cdkStepper",""]],contentQueries:function(a,b,c){a&1&&(pg(c,G4,5),pg(c,E4,5));if(a&2){var d;ng(d=qg())&&(b._steps=d);ng(d=qg())&&(b._stepHeader=d)}},inputs:{linear:["linear","linear",ug],selectedIndex:["selectedIndex","selectedIndex",vg],selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"],standalone:!0,features:[zf]});var I4=function(a){this._stepper=a;this.type="submit"};I4.\u0275fac=function(a){return new (a||I4)(B(H4))};I4.\u0275dir=Vc({type:I4,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(a,b){a&1&&Q("click",function(){return b._stepper.next()});a&2&&Sf("type",b.type)},inputs:{type:"type"},standalone:!0});var J4=function(a){this._stepper=a;this.type="button"};J4.\u0275fac=function(a){return new (a||J4)(B(H4))};
J4.\u0275dir=Vc({type:J4,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(a,b){a&1&&Q("click",function(){return b._stepper.previous()});a&2&&Sf("type",b.type)},inputs:{type:"type"},standalone:!0});var K4=function(){};K4.\u0275fac=function(a){return new (a||K4)};K4.\u0275mod=Tc({type:K4});K4.\u0275inj=Ec({imports:[Ox]});var PHc=function(a){this._template=a};PHc.\u0275fac=function(a){return new (a||PHc)(B(kg))};PHc.\u0275dir=Vc({type:PHc,selectors:[["ng-template","matStepContent",""]],standalone:!0});var L4=function(){F4.apply(this,arguments)};Y(L4,F4);L4.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(L4)))(b||L4)}}();L4.\u0275dir=Vc({type:L4,selectors:[["","matStepLabel",""]],standalone:!0,features:[yf]});var M4=function(){this.changes=new E.Subject;this.optionalLabel="Optional";this.completedLabel="Completed";this.editableLabel="Editable"};M4.\u0275fac=function(a){return new (a||M4)};M4.\u0275prov=Dc({token:M4,factory:M4.\u0275fac,providedIn:"root"});var QHc={provide:M4,deps:[[new zu,new Au,M4]],useFactory:function(a){return a||new M4}};var N4=function(a,b,c,d){this._elementRef=c;this._intl=a;this._focusMonitor=b;this._intlSubscription=a.changes.subscribe(function(){return d.markForCheck()})};Y(N4,E4);N4.\u0275dir=E4.\u0275dir;g=N4.prototype;g.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};g.ngOnDestroy=function(){this._intlSubscription.unsubscribe();this._focusMonitor.stopMonitoring(this._elementRef)};g.focus=function(a,b){a?Zw(this._focusMonitor,this._elementRef,a,b):this._elementRef.nativeElement.focus(b)};
g._stringLabel=function(){return this.label instanceof L4?null:this.label};g._templateLabel=function(){return this.label instanceof L4?this.label:null};g._getHostElement=function(){return this._elementRef.nativeElement};g._getIconContext=function(){return{index:this.index,active:this.active,optional:this.optional}};g._getDefaultTextForState=function(a){return"number"==a?""+(this.index+1):"edit"==a?"create":"error"==a?"warning":a};N4.\u0275fac=function(a){return new (a||N4)(B(M4),B(Yw),B(Hd),B(Fu))};
N4.\u0275cmp=r({type:N4,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:2,hostBindings:function(a,b){a&2&&Kf("mat-"+(b.color||"primary"))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},standalone:!0,features:[yf,dg],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",
3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],["class","mat-step-text-label"],["class","mat-step-optional"],["class","mat-step-sub-label-error"],["aria-hidden","true"],["class","cdk-visually-hidden"],[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&&(L(0,"div",0),H(1,"div")(2,"div",1),F(3,Bib,1,2,
"ng-container",2)(4,Gib,2,1),K()(),H(5,"div",3),F(6,Hib,2,1,"div",4)(7,Iib,2,1)(8,Jib,2,1,"div",5)(9,Kib,2,1,"div",6),K());if(a&2){var c;G("matRippleTrigger",b._getHostElement())("matRippleDisabled",b.disableRipple);A(1);Mf("mat-step-icon-state-",b.state," mat-step-icon");Jf("mat-step-icon-selected",b.selected);A(2);Nf(3,b.iconOverrides&&b.iconOverrides[b.state]?3:4);A(2);Jf("mat-step-label-active",b.active)("mat-step-label-selected",b.selected)("mat-step-label-error","error"==b.state);A(1);Nf(6,
(c=b._templateLabel())?6:b._stringLabel()?7:-1,c);A(2);Nf(8,b.optional&&"error"!=b.state?8:-1);A(1);Nf(9,"error"===b.state?9:-1)}},dependencies:[sz,Zv,MA],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 O4=function(){I4.apply(this,arguments)};Y(O4,I4);O4.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(O4)))(b||O4)}}();O4.\u0275dir=Vc({type:O4,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(a,b){a&2&&Sf("type",b.type)},inputs:{type:"type"},standalone:!0,features:[yf]});var P4=function(){J4.apply(this,arguments)};Y(P4,J4);P4.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(P4)))(b||P4)}}();
P4.\u0275dir=Vc({type:P4,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(a,b){a&2&&Sf("type",b.type)},inputs:{type:"type"},standalone:!0,features:[yf]});var Q4=function(a){this.templateRef=a};Q4.\u0275fac=function(a){return new (a||Q4)(B(kg))};Q4.\u0275dir=Vc({type:Q4,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]},standalone:!0});var RHc=ih("horizontalStepTransition",[lh("previous",kh({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),lh("current",kh({transform:"none",visibility:"inherit"})),lh("next",kh({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),nh("* => *",Poa([jh("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),ph("@*",oh())]),{params:{animationDuration:"500ms"}})]),SHc=ih("verticalStepTransition",[lh("previous",kh({height:"0px",visibility:"hidden"})),lh("next",kh({height:"0px",visibility:"hidden"})),
lh("current",kh({height:"*",visibility:"inherit"})),nh("* <=> current",Poa([jh("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),ph("@*",oh())]),{params:{animationDuration:"225ms"}})]);var Oib=function(a,b){return{step:a,i:b}},Rib=function(a){return{animationDuration:a}},Qib=function(a,b){return{value:a,params:b}},R4=function(a,b,c,d){G4.call(this,a,d);this._errorStateMatcher=b;this._viewContainerRef=c;this._isSelected=E.Subscription.EMPTY;this.stepLabel=void 0};Y(R4,G4);
R4.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 iy(a._lazyContent._template,a._viewContainerRef))})};R4.prototype.ngOnDestroy=function(){this._isSelected.unsubscribe()};
R4.prototype.isErrorState=function(a,b){var c=!!(a&&a.invalid&&this.interacted);return this._errorStateMatcher.isErrorState(a,b)||c};R4.\u0275fac=function(a){return new (a||R4)(B(Jc(function(){return S4})),B(oz,4),B(lg),B(OHc,8))};
R4.\u0275cmp=r({type:R4,selectors:[["mat-step"]],contentQueries:function(a,b,c){a&1&&(pg(c,L4,5),pg(c,PHc,5));if(a&2){var d;ng(d=qg())&&(b.stepLabel=d.first);ng(d=qg())&&(b._lazyContent=d.first)}},inputs:{color:"color"},exportAs:["matStep"],standalone:!0,features:[bg([{provide:oz,useExisting:R4},{provide:G4,useExisting:R4}]),yf,dg],ngContentSelectors:["*"],decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(a){a&1&&(Vf(),F(0,Mib,2,1,"ng-template"))},dependencies:[my],encapsulation:2,changeDetection:0});
var S4=function(a,b,c){H4.call(this,a,b,c);this._steps=this._stepHeader=void 0;this.steps=new rg;this.animationDone=new mv;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"};Y(S4,H4);S4.\u0275dir=H4.\u0275dir;
S4.prototype.ngAfterContentInit=function(){var a=this;H4.prototype.ngAfterContentInit.call(this);this._icons.forEach(function(b){return a._iconOverrides[b.name]=b.templateRef});this.steps.changes.pipe(bf(this._destroyed)).subscribe(function(){a._stateChanged()});this._animationDone.pipe(Pe(function(b,c){return b.fromState===c.fromState&&b.toState===c.toState}),bf(this._destroyed)).subscribe(function(b){"current"===b.toState&&a.animationDone.emit()})};
S4.prototype._stepIsNavigable=function(a,b){return b.completed||this.selectedIndex===a||!this.linear};S4.prototype._getAnimationDuration=function(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"};Gh.Object.defineProperties(S4.prototype,{animationDuration:{configurable:!0,enumerable:!0,get:function(){return this._animationDuration},set:function(a){this._animationDuration=/^\d+$/.test(a)?a+"ms":a}}});
S4.\u0275fac=function(a){return new (a||S4)(B(Nx,8),B(Fu),B(Hd))};
S4.\u0275cmp=r({type:S4,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(a,b,c){a&1&&(pg(c,R4,5),pg(c,Q4,5));if(a&2){var d;ng(d=qg())&&(b._steps=d);ng(d=qg())&&(b._icons=d)}},viewQuery:function(a,b){a&1&&og(N4,5);if(a&2){var c;ng(c=qg())&&(b._stepHeader=c)}},hostAttrs:["role","tablist","ngSkipHydration",""],hostVars:11,hostBindings:function(a,b){a&2&&(Af("aria-orientation",b.orientation),Jf("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"],standalone:!0,features:[bg([{provide:H4,useExisting:S4}]),yf,dg],decls:4,vars:1,consts:[["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],
["class","mat-horizontal-stepper-content","role","tabpanel",3,"id","mat-horizontal-stepper-content-inactive"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],["class","mat-step"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(a,b){a&1&&F(0,Tib,7,0)(1,Vib,2,0)(2,Wib,1,23,"ng-template",null,
0,tg);if(a&2){var c;Nf(0,"horizontal"===(c=b.orientation)?0:"vertical"===c?1:-1)}},dependencies:[Zv,N4],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:[RHc,SHc]},changeDetection:0});var T4=function(){};T4.\u0275fac=function(a){return new (a||T4)};T4.\u0275mod=Tc({type:T4});T4.\u0275inj=Ec({providers:[QHc,oz],imports:[jz,hw,ny,K4,NA,uz,S4,N4,jz]});var THc=["*",[["mat-card-footer"]]],UHc=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],VHc=function(){};VHc.\u0275fac=function(a){return new (a||VHc)};VHc.\u0275dir=Vc({type:VHc,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]});var WHc=function(a){this._animationMode=a};
WHc.\u0275fac=function(a){return new (a||WHc)(B(Du,8))};
WHc.\u0275cmp=r({type:WHc,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:3,hostBindings:function(a,b){a&2&&(Af("mat-id-collision",null),Jf("_mat-animation-noopable","NoopAnimations"===b._animationMode))},exportAs:["matCard"],ngContentSelectors:["*","mat-card-footer"],decls:2,vars:0,template:function(a){a&1&&(Vf(THc),Wf(0),Wf(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 XHc=function(){};XHc.\u0275fac=function(a){return new (a||XHc)};
XHc.\u0275cmp=r({type:XHc,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],hostVars:1,hostBindings:function(a){a&2&&Af("mat-id-collision",null)},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&&(Vf(UHc),Wf(0),H(1,"div",0),Wf(2,1),K(),Wf(3,2))},encapsulation:2,changeDetection:0});var YHc=["summary"],ZHc=["reproSteps"],$Hc=["description"],aIc=function(a){return{nonEmptyValidator:a}},bIc=function(a,b){return{reproStepsValidator:a,nonEmptyValidator:b}},cIc=[ti("security@chromium.org")],U4=function(a,b,c,d,e,f,h,k,q,t){this.activeSession=a;this.analytics=b;this.butterBar=c;this.currentUser=d;this.componentIds=e;this.customFieldIds=f;this.issueApi=h;this.paths=k;this.redirectUrl=q;this.userAccess=t;this.Persona=GHc;this.PlatformOs=FHc;var w;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":d.includes(a)?"iOS":c.includes(a)?"Windows":/Android/.test(b)?"Android":/Linux/.test(a)?"Linux":/\bCrOS\b/.test(b)?"Chrome":"Unknown";b=window.navigator.userAgent.match(/chrome\/(\d|\.)+/i)||[];if(0<b.length){var y;b=null==(y=b[0])?void 0:y.split("/")[1]}else b=void 0;this.model={persona:"USER",category:void 0,os:a,channel:"Not sure",version:null!=(w=b)?w:"",summary:"",reproSteps:"1. \n2. \n3. ",
description:"",regression:"N/A",comments:"",customQuestionResponses:[]};this.ackDupes=!1;this.uploads=[];this.enableRecaptcha=yD(this.activeSession,"enableRecaptcha");this.recaptchaResponse="";this.existingIssuesLink="/issues?q=componentid:"+this.componentIds.default+encodeURIComponent("+")},Xib=function(a,b){switch(b){case 0:return!!a.model.category&&a.ackDupes;case 1:var c,d,e;return!(null==(c=a.summaryControl)||!c.valid)&&!(null==(d=a.reproStepsControl)||!d.valid)&&!(null==(e=a.descriptionControl)||
!e.valid);default:Oh(b)}};g=U4.prototype;g.nonEmptyValidator=function(a){return 0===(null==a?void 0:a.trim().length)?!1:!0};g.reproStepsValidator=function(a){return"1. \n2. \n3. "===a?!1:!0};g.isCaptchaValid=function(){return!this.enableRecaptcha||""!==this.recaptchaResponse};g.uploadFile=function(a){a=this.attachmentUploader.upload(a);this.addUpload(a)};g.addUpload=function(a){this.uploads.push(a)};g.removeUpload=function(a){va(this.uploads,a)};
g.getAttachments=function(){for(var a=[],b=l(this.uploads),c=b.next();!c.done;c=b.next())c=c.value,2===c.state&&c.blobRef&&a.push(ai(c.blobRef));return a};
g.submit=function(){var a=this,b,c,d,e,f;return qe(function(h){switch(h.nextAddress){case 1:var k="BUG",q=null,t=null,w;"SECURITY"===(null==(w=a.model.category)?void 0:w.value)&&(k="VULNERABILITY",q="LIMIT_VIEW",t=cIc);var y;w=(null==(y=a.model.category)?void 0:y.componentId)||a.componentIds.default;y=a.model.summary;var C=a.model,J=a.customFieldIds,I=[{customFieldId:J.version,textValue:C.version}];"Unknown"!==C.os&&I.push({customFieldId:J.os,repeatedEnumValue:{values:[C.os]}});C=a.model;var P;J=
"\n# Steps to reproduce the problem\n"+C.reproSteps+"\n\n# Problem Description\n"+C.description+"\n\n"+(0<C.comments.length?"\n# Additional Comments\n"+C.comments:"")+"\n\n# Summary\n"+C.summary+"\n\n"+ijb(C.customQuestionResponses)+"\n\n# Additional Data\nCategory: "+(null==(P=C.category)?void 0:P.title)+" \\\nChrome Channel: "+C.channel+" \\\nRegression: "+C.regression;J=J.replace(/^\n/,"");b={componentId:w,type:k,status:"NEW",priority:"P2",severity:"S2",title:y,customField:I,comment:J.replace(/\n{3,}/g,
"\n\n"),formattingMode:"MARKDOWN",inProd:!0,isArchived:!1,reporterUser:a.currentUser.user,issueAccessLimitLevel:q,collaboratorsUsers:t,ccUsers:[a.currentUser.user],assigneeUser:null,verifierUser:null,duplicateOfIssueId:null,blockedByIssueId:null,blockingIssueId:null,changelist:null,gerritChanges:null,postmortems:null,foundInVersion:null,targetedToVersion:null,verifiedInVersion:null,hotlistId:null,retention:null,isDeleted:null,deletionReason:null,duplicateIssueId:null,sloStartTime:null,sloEndTime:null,
sloSnoozeType:null};Fs(a.butterBar,"Saving...",0);re(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("bf");a.butterBar.dismiss();a.analytics.trackEvent(Kp.CREATE_ISSUE,"fileAndRedirect","wizard",!0);return h.yield(XF(a.userAccess,"reader","issues/"+d),5);case 5:(e=h.yieldResult)?cwc(a.redirectUrl,a.paths.editIssue(d),String(d)):(Fs(a.butterBar,
"New issue created: "+d+" (view access not granted)",0),cwc(a.redirectUrl,a.paths.listIssues()));tt(h,0);break;case 2:f=ve(h),Fs(a.butterBar,"Failed to create issue: "+f),we(h)}})};U4.\u0275fac=function(a){return new (a||U4)(B(nt),B(aI),B(EG),B(JL),B(JHc),B(KHc),B(kG),B(cF),B(D0),B(VF))};
U4.\u0275cmp=r({type:U4,selectors:[["chrome-wizard"]],viewQuery:function(a,b){a&1&&(og(YHc,5),og(ZHc,5),og($Hc,5),og(SS,5));if(a&2){var c;ng(c=qg())&&(b.summaryControl=c.first);ng(c=qg())&&(b.reproStepsControl=c.first);ng(c=qg())&&(b.descriptionControl=c.first);ng(c=qg())&&(b.attachmentUploader=c.first)}},decls:117,vars:44,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"],[3,"value"],[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","","maxlength","100","name","summary","aria-label","One line summary",3,"ngModel","customValidators","ngModelChange"],["summary","ngModel"],[4,"ngIf"],["matInput","","required","","maxlength","5000","name","reproSteps","aria-label","Steps to reproduce problem",3,"ngModel","customValidators","ngModelChange"],["reproSteps","ngModel"],["matInput","","required","","maxlength","5000","name","description","aria-label","Describe the problem",
3,"ngModel","customValidators","ngModelChange"],["description","ngModel"],["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"],[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"),T(3,"Report an issue with Chromium"),K(),H(4,"h3"),T(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. "),K(),L(6,"br"),H(7,"h4",2),T(8,"Please select your following role:"),K(),H(9,"wizard-persona-picker",3),Q("personaChange",function(h){b.model.category=void 0;b.model.persona=h}),K(),F(10,Yib,17,5,"ng-container",
4)(11,Zib,10,1,"ng-template",null,5,tg),K(),H(13,"mat-step",6)(14,"h2"),T(15),K(),H(16,"h3"),T(17,"Please confirm that the following version information is correct."),K(),H(18,"h4",7),T(19,"Operating System:"),K(),H(20,"mat-form-field",8)(21,"mat-select",9),Q("ngModelChange",function(h){return b.model.os=h}),H(22,"mat-option",10),T(23,"Android"),K(),H(24,"mat-option",10),T(25,"Chrome OS"),K(),H(26,"mat-option",10),T(27,"iOS"),K(),H(28,"mat-option",10),T(29,"Linux"),K(),H(30,"mat-option",10),T(31,
"Mac OS"),K(),H(32,"mat-option",10),T(33,"Windows"),K(),H(34,"mat-option",10),T(35,"Unknown/Other"),K()()(),H(36,"h4",11),T(37,"Channel:"),K(),H(38,"mat-form-field",12)(39,"mat-select",9),Q("ngModelChange",function(h){return b.model.channel=h}),H(40,"mat-option",13),T(41,"Not sure"),K(),H(42,"mat-option",14),T(43,"Stable"),K(),H(44,"mat-option",15),T(45,"Beta"),K(),H(46,"mat-option",16),T(47,"Dev"),K(),H(48,"mat-option",17),T(49,"Canary"),K()()(),L(50,"br"),H(51,"h4",7),T(52,"Chrome version:"),K(),
H(53,"mat-form-field",18)(54,"input",19),Q("ngModelChange",function(h){return b.model.version=h}),K()(),H(55,"h4",2),T(56,"Please enter a one line summary (100 character limit)"),K(),H(57,"mat-form-field",20)(58,"textarea",21,22),Q("ngModelChange",function(h){return b.model.summary=h}),T(60,"      "),K(),F(61,$ib,2,0,"mat-error",23),K(),H(62,"h4",2),T(63,"Steps to reproduce problem (5000 character limit)"),K(),H(64,"mat-form-field",20)(65,"textarea",24,25),Q("ngModelChange",function(h){return b.model.reproSteps=
h}),T(67,"      "),K(),F(68,ajb,2,0,"mat-error",23),K(),H(69,"h4",2),T(70,"Please describe the problem (5000 character limit)"),K(),H(71,"mat-form-field",20)(72,"textarea",26,27),Q("ngModelChange",function(h){return b.model.description=h}),T(74,"      "),K(),F(75,bjb,2,0,"mat-error",23),K(),H(76,"h4"),T(77,"Did this work before?"),K(),H(78,"mat-form-field",28)(79,"mat-select",9),Q("ngModelChange",function(h){return b.model.regression=h}),H(80,"mat-option",29),T(81,"Not applicable or don't know"),
K(),H(82,"mat-option",30),T(83,"Yes - This is a regression"),K(),H(84,"mat-option",31),T(85,"No - I think it never worked"),K()()(),H(86,"div",32)(87,"button",33),L(88,"mat-icon",34),T(89," Back "),K(),H(90,"button",35),T(91," Next "),L(92,"mat-icon",36),K()()(),H(93,"mat-step",37)(94,"h2"),T(95,"Extra information about the issue"),K(),F(96,cjb,1,1,"wizard-custom-questions",38),H(97,"h4"),T(98,"Additional comments"),K(),H(99,"mat-form-field",20)(100,"textarea",39),Q("ngModelChange",function(h){return b.model.comments=
h}),K()(),H(101,"h4"),T(102,"Upload any relevant screenshots"),K(),H(103,"b-attachment-uploader",40),Q("onUploadCancel",function(h){return b.removeUpload(h)}),K(),H(104,"div",41)(105,"b-attachment-selector",42),Q("onSelect",function(h){return b.uploadFile(h)}),K(),T(106," You can include multiple attachments. "),K(),F(107,djb,2,0,"div",43),H(108,"div",32)(109,"button",33),L(110,"mat-icon",34),T(111," Back "),K(),H(112,"button",44),Q("click",function(){return b.submit()}),T(113," Submit "),K()()(),
F(114,ejb,0,0,"ng-template",45)(115,fjb,0,0,"ng-template",46)(116,gjb,0,0,"ng-template",47),K());if(a&2){var c=S(12),d=S(59),e=S(66),f=S(73);Jf("hide-dots",b.model.persona===b.Persona.CONTRIBUTOR);G("disableRipple",!0);A(1);G("completed",Xib(b,0));A(8);G("persona",b.model.persona);A(1);G("ngIf",b.model.persona!==b.Persona.CONTRIBUTOR)("ngIfElse",c);A(3);Xf("aria-label","Details for problems with ",null==b.model.category?null:b.model.category.title,"");G("completed",Xib(b,1));A(2);V("Details for problems with ",
null==b.model.category?null:b.model.category.title,"");A(6);G("ngModel",b.model.os);A(1);G("value",b.PlatformOs.ANDROID);A(2);G("value",b.PlatformOs.CHROME);A(2);G("value",b.PlatformOs.IOS);A(2);G("value",b.PlatformOs.LINUX);A(2);G("value",b.PlatformOs.MAC);A(2);G("value",b.PlatformOs.WINDOWS);A(2);G("value",b.PlatformOs.UNKNOWN);A(5);G("ngModel",b.model.channel);A(15);G("ngModel",b.model.version);A(4);G("ngModel",b.model.summary)("customValidators",fg(37,aIc,b.nonEmptyValidator));A(3);G("ngIf",d.invalid&&
(d.dirty||d.touched));A(4);G("ngModel",b.model.reproSteps)("customValidators",gg(39,bIc,b.reproStepsValidator,b.nonEmptyValidator));A(3);G("ngIf",e.invalid&&(e.dirty||e.touched));A(4);G("ngModel",b.model.description)("customValidators",fg(42,aIc,b.nonEmptyValidator));A(3);G("ngIf",f.invalid&&(f.dirty||f.touched));A(4);G("ngModel",b.model.regression);A(11);G("disabled",!Xib(b,1));A(6);G("ngIf",b.model.category);A(4);G("ngModel",b.model.comments);A(3);G("uploads",b.uploads);A(2);G("includeTextLabel",
!0);A(2);G("ngIf",b.enableRecaptcha);A(5);G("disabled",!b.isCaptchaValid())}},dependencies:[OS,SS,Uv,MA,p0,Jg,ww,Ow,Pw,Dw,eA,WHc,XHc,VHc,eL,BA,FA,JA,JP,hA,R4,S4,O4,P4,Q4,vU,LHc,D4,MHc],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}[_nghost-%COMP%]     mat-checkbox label{text-wrap:wrap}wizard-persona-picker[_ngcontent-%COMP%]{margin-bottom:30px}mat-card[_ngcontent-%COMP%]{background-color:#fef7e0;background-color:var(--yellow-c50);margin-bottom:8px}.actions-container[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;padding:8px 12px 4px 0}.actions-container[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:last-child{margin-left:auto}mat-card-header[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1.125rem;letter-spacing:0;font-weight:400;margin-bottom:10px}.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 tJb={default:1363614,apps:1456886,blink:1456407,devtools:1457055,enterprise:1456152,extensions:1456110,installer:1456937,media:1456190,network:1456527,sync:1457192,ui:1457123,webstore:1457238},sJb={default:402888,apps:422083,blink:421442,devtools:422123,enterprise:421726,extensions:422130,installer:421863,media:421886,network:421924,sync:422168,ui:422198,webstore:422443};var V4=function(a,b,c,d){this.activeSession=a;this.currentTracker=b;this.router=c;this.userAccess=d;this.rootComponentId="QA"===a.getEnvironmentType()?sJb.default:tJb.default};
V4.prototype.canActivate=function(){var a=this,b;return qe(function(c){if(1==c.nextAddress)return(b=yD(a.activeSession,"enableChromeWizard")&&"157"===a.currentTracker.getTrackerId())?c.yield(XF(a.userAccess,"writer","components/"+a.rootComponentId+"/issueDefaults"),3):c.jumpTo(2);2!=c.nextAddress&&(b=!c.yieldResult);return b?c.return(zE(a.router,["issues/wizard"])):c.return(!0)})};V4.\u0275fac=function(a){return new (a||V4)(p(nt),p(SG),p(yE),p(VF))};
V4.\u0275prov=Dc({token:V4,factory:V4.\u0275fac,providedIn:"root"});var W4=function(a,b,c,d,e){var f=this;this.userResources=a;this.history=b;this.router=c;this.currentTracker=d;this.activeSession=e;this.viewIssues=Rk;this.createIssue=owa;this.componentSettings=pwa;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||f.activeSession.isExternalSession()?"Find components by name or id":"Find components by name, team, or id"}));
this.recentComponents$=this.userResources.getRecentComponents().then(function(h){return h.filter(function(k){return f.filterTrackerComponents(k)})}).finally(function(){f.isThinking=!1})};W4.prototype.back=function(){C0(this.history)};W4.prototype.filterTrackerComponents=function(a){return yn(this.trackerId)||a.trackerId===this.trackerId};W4.\u0275fac=function(a){return new (a||W4)(B(SH),B(B0),B(yE),B(SG),B(nt))};
W4.\u0275cmp=r({type:W4,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),Q("click",function(){return b.back()}),L(4,"mat-icon",4),K(),H(5,"h2"),T(6,"Components"),K()(),H(7,"div",5),F(8,jjb,2,0,"a",6),H(9,"b-slide-toggle",7),Q("modelChange",function(e){return b.includeArchived=e}),K()()(),H(10,"section",8)(11,"h3"),T(12,"Search"),K(),H(13,"b-team-component-picker",9),Q("selectedComponentChange",function(e){null!=e&&Ns(b.router,pwa(e.componentId).path)}),W(14,"async"),W(15,"async"),K(),H(16,"h3",10),T(17,"Recent Components"),K(),
H(18,"div",11),F(19,njb,4,2,"ng-container",12),W(20,"async"),K(),H(21,"p",13)(22,"a",14),T(23,"See all Components"),K()()()());if(a&2){var c,d;A(8);G("ngIf",b.isInternalSession);A(1);G("model",b.includeArchived);A(4);G("includeArchived",b.includeArchived)("placeholder",null!==(c=X(14,6,b.placeholder$))&&void 0!==c?c:"")("ariaLabel",null!==(d=X(15,8,b.placeholder$))&&void 0!==d?d:"");A(6);G("ngIf",X(20,10,b.recentComponents$))}},dependencies:[eA,fA,dC,Tv,Uv,MA,AE,ZP,wL,OX,hK,iK,mK,jK,qQ,nL,qL,$v],
encapsulation:2});var X4=function(){};X4.\u0275fac=function(a){return new (a||X4)};X4.\u0275mod=Tc({type:X4});X4.\u0275inj=Ec({imports:[zD,kC,EE,$P]});var dIc=["bookmarkGroupName"],eIc=function(a){return{"bv2-edit-resource-readonly":a}},Y4=function(a,b,c,d,e,f,h,k,q,t){Z.call(this);var w=this;this.location=a;this.appHistory=b;this.snackBar=c;this.bookmarkGroupsApi=d;this.paths=e;this.analytics=f;this.errorHandler=k;this.appEvents=t;this.error="";this.isSaving=!1;this.bookmarkGroupUnderEdit=new Aw({name:new Cw("",sw),description:new Cw("")});h.setTitle("Create Bookmark Group");this.subscriptions.add(BX(q,function(){return!(!w.name()&&!w.description())},
!1))};Y(Y4,Z);Y4.\u0275dir=Z.\u0275dir;g=Y4.prototype;g.ngAfterViewInit=function(){this.bookmarkGroupName.nativeElement.focus()};
g.save=function(){var a=this;this.validate()&&(this.snackBar.open("Saving bookmark group...","dismiss",{duration:0}),this.isSaving=!0,this.bookmarkGroupsApi.create({name:this.name(),description:this.description()}).then(function(b){a.isSaving=!1;a.snackBar.open('Bookmark group "'+b.name+'" saved.',"dismiss",{duration:2E3});a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:b.bookmarkGroupId});a.analytics.trackEvent("sidebarHotlists","createdBookmarkGroup");a.location.replaceUrl(a.paths.editBookmarkGroup(b.bookmarkGroupId));
a.revertChanges()}).catch(function(b){a.isSaving=!1;a.errorHandler.errorHandler(null,b)}))};g.validate=function(){if(""===this.name())return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};g.back=function(){C0(this.appHistory)};g.revertChanges=function(){this.bookmarkGroupUnderEdit.reset()};g.name=function(){var a,b=null==(a=this.bookmarkGroupUnderEdit.get("name"))?void 0:a.value;return b?b:""};
g.description=function(){var a,b=null==(a=this.bookmarkGroupUnderEdit.get("description"))?void 0:a.value;return b?b:""};Y4.\u0275fac=function(a){return new (a||Y4)(B(bF),B(B0),B(BG),B(PJ),B(cF),B(aI),B(UG),B(FG),B(AX),B(lG))};
Y4.\u0275cmp=r({type:Y4,selectors:[["b-create-bookmark-group"]],viewQuery:function(a,b){a&1&&og(dIc,5);if(a&2){var c;ng(c=qg())&&(b.bookmarkGroupName=c.first)}},features:[yf],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),Q("click",function(){return b.back()}),L(3,"mat-icon",3),K(),H(4,"h2"),T(5,"Create a new bookmark group"),K()()(),H(6,"div",4)(7,"div",5)(8,"form",6),L(9,"b-error-banner",7),H(10,"div",8)(11,"label",9),T(12,"Name"),K(),L(13,"input",10,11),K(),H(15,"div",8)(16,"label",12),T(17,"Description"),K(),H(18,"textarea",13),T(19,"        "),K()(),H(20,"p",14),T(21," Advanced settings such as selected items and access controls may be defined once the bookmark group is created. "),
K(),H(22,"div",15)(23,"button",16),Q("click",function(){return b.save()}),T(24," Save "),K(),H(25,"button",17),Q("click",function(){return b.revertChanges()}),T(26," Revert changes "),K()()()()());a&2&&(A(8),G("formGroup",b.bookmarkGroupUnderEdit),A(1),G("error",b.error),A(1),G("ngClass",fg(7,eIc,b.isSaving)),A(3),G("disabled",b.isSaving),A(2),G("ngClass",fg(9,eIc,b.isSaving)),A(3),G("disabled",b.isSaving),A(5),G("disabled",b.isSaving))},dependencies:[Sv,MA,eA,dC,Ew,Jg,ww,xw,Ow,Kw,Lw,WZ],encapsulation:2});var fIc=["form"],Z4=function(a,b,c,d,e,f,h,k,q,t){Z.call(this);this.butterBar=a;this.paths=b;this.analytics=c;this.appHistory=d;this.bLocation=e;this.activeSession=f;this.documentationLinks=h;this.componentActions=t;this.parentComponentInternal=null;this.commentEditsEnabled=this.componentIsValid=this.retentionIsValid=this.isSaving=!1;this.component={componentId:0,parentComponentId:0,name:"",description:"",archived:!1,accessLimit:{accessLevel:"ACCESS_LEVEL_UNSPECIFIED"},emailAlias:"dummyemail@google.com",
componentPathInfo:{componentPathId:null,componentPathName:null,allCustomField:null},commentEditState:"DISABLED",defaultTemplateId:0,slo:{inherit:!0,source:"BUGSCOPE",id:"0"},bugscopeSloId:"0",spamProtection:"NO_PROTECTIONS"};this.sessionIsExternal=f.isExternalSession();k.parentId&&this.loadParentComponent(fi(k.parentId));q.setTitle("Create component")};Y(Z4,Z);Z4.\u0275dir=Z.\u0275dir;g=Z4.prototype;g.ngAfterViewInit=function(){};
g.create=function(){var a=this;this.validate()&&(Fs(this.butterBar,"Saving component...",0),this.isSaving=!0,this.component.parentComponentId=this.parentComponent.componentId,this.componentActions.create(this.component).then(function(b){Fs(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(xn(b),0);a.isSaving=!1}))};g.back=function(){C0(this.appHistory)};
g.validate=function(){if(this.createComponentForm.form.invalid)return this.error="Error: You must fill out all required fields.",!1;if(this.componentIsValid){if(this.retentionIsValid)return this.error="",!0;this.error="Error: Required retention settings are missing or invalid."}return!1};g.loadParentComponent=function(a){var b=this;this.componentActions.getUncached(a).then(function(c){b.parentComponent=c})};
g.setCommentEditState=function(a){this.commentEditsEnabled=a;this.component.commentEditState=this.commentEditsEnabled?"ENABLED":"DISABLED"};g.onComponentSelect=function(a){this.parentComponent=a;gIc(this)};g.accessCheckComplete=function(a){this.componentIsValid=a;gIc(this)};
var gIc=function(a){a.parentComponent?(a.component.commentEditState=a.parentComponent.commentEditState,a.commentEditsEnabled="ENABLED"===a.component.commentEditState):(a.component.commentEditState="DISABLED",a.commentEditsEnabled=!1)};Gh.Object.defineProperties(Z4.prototype,{parentComponent:{configurable:!0,enumerable:!0,get:function(){return this.parentComponentInternal},set:function(a){this.parentComponentInternal=a;gIc(this)}}});
Z4.\u0275fac=function(a){return new (a||Z4)(B(EG),B(cF),B(aI),B(B0),B(bF),B(nt),B(lL),B(XO),B(UG),B(kL))};
Z4.\u0275cmp=r({type:Z4,selectors:[["create-component-page"]],viewQuery:function(a,b){a&1&&og(fIc,5);if(a&2){var c;ng(c=qg())&&(b.createComponentForm=c.first)}},features:[yf],decls:55,vars:32,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","componentPathInfo","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),Q("onAction",function(){return b.back()}),L(3,"b-icon",3),K()()(),H(4,"div",4)(5,"h2",5),T(6,"Create component"),
K(),H(7,"div",6)(8,"form",7,8),L(10,"b-error-banner",9),H(11,"div",10)(12,"label",11)(13,"span",12),T(14,"Name"),K()(),H(15,"input",13),Q("ngModelChange",function(c){return b.component.name=c}),K()(),H(16,"div",10)(17,"label",14)(18,"span",12),T(19,"Description"),K()(),H(20,"textarea",15),Q("ngModelChange",function(c){return b.component.description=c}),T(21,"        "),K()(),H(22,"div",10)(23,"label",16)(24,"span",12),T(25,"Parent Component"),K()(),H(26,"b-team-component-picker",17),Q("selectedComponentChange",
function(c){return b.onComponentSelect(null!==c&&void 0!==c?c:null)})("accessCheckComplete",function(c){return b.accessCheckComplete(c)}),K()(),H(27,"div",18)(28,"div",19)(29,"mat-checkbox",20),Q("change",function(c){return b.setCommentEditState(c.checked)}),K()(),H(30,"div")(31,"strong",21),T(32,"Editable Comments"),K(),H(33,"div",22),T(34," When checked, users with comment access can modify their own issue comments, and editors can modify the first issue comment. "),F(35,pjb,2,1,"a",23),K()()(),
H(36,"div",10)(37,"label",24)(38,"span",12),T(39,"Retention Settings"),K()(),H(40,"div",21)(41,"p"),T(42,"Please choose a period of time to retain the data stored in this component."),L(43,"br"),H(44,"a",25),T(45," Learn more "),K()()(),H(46,"div",26)(47,"b-retention-settings-form",27),Q("modelChange",function(c){return b.component.retentionSettings=c})("validChange",function(c){return b.retentionIsValid=c}),K()()(),H(48,"p",28),T(49," Advanced settings such as custom field and access controls may be defined once the component is created. "),
K(),H(50,"div",29)(51,"b-button",30),Q("onAction",function(){return b.create()}),T(52," Save "),K(),H(53,"b-button",31),Q("onAction",function(){return b.back()}),T(54," Discard "),K()()()()());a&2&&(A(8),Jf("show-errors",b.error),A(2),G("error",b.error),A(1),Jf("bv2-edit-resource-readonly",b.isSaving),A(4),G("bFocus",!0)("ngModel",b.component.name)("disabled",b.isSaving)("required",!0),A(1),Jf("bv2-edit-resource-readonly",b.isSaving),A(4),G("ngModel",b.component.description)("disabled",b.isSaving),
A(2),Jf("bv2-edit-resource-readonly",b.isSaving),A(4),G("selectedComponent",b.parentComponent)("placeholder","Choose Component")("isRequired",!0)("checkAdminAccess",!0),A(1),Jf("bv2-edit-resource-readonly",b.isSaving),A(2),G("checked",b.commentEditsEnabled),A(6),G("ngIf",!b.sessionIsExternal),A(9),G("href",dt(),Wd),A(2),Jf("bv2-edit-resource-readonly",b.isSaving),A(1),G("issueRetentionDisabled",b.isSaving)("isExternal",tp(b.parentComponent))("componentPathInfo",null==b.parentComponent?null:b.parentComponent.componentPathInfo)("initialModel",
b.component.retentionSettings),A(4),G("disabled",b.isSaving||!b.componentIsValid),A(2),G("disabled",b.isSaving))},dependencies:[rJ,Uv,WZ,rX,Ew,Jg,ww,xw,Ow,Dw,Bw,AD,eL,i0,wL],styles:["b-team-component-picker[_ngcontent-%COMP%]{display:block;width:600px}\n/*# sourceMappingURL=create_component_page.css.map */"]});var hIc=["hotlistName"],iIc=function(a){return{"bv2-edit-resource-readonly":a}},a5=function(a,b,c,d,e,f,h,k,q,t){Z.call(this);var w=this;this.location=a;this.appHistory=b;this.snackBar=c;this.hotlistApi=d;this.paths=e;this.analytics=f;this.errorHandler=k;this.appEvents=t;this.error="";this.isSaving=!1;this.hotlistUnderEdit=new Aw({name:new Cw("",sw),description:new Cw("")});h.setTitle("Create Hotlist");this.subscriptions.add(BX(q,function(){return!(!w.name()&&!w.description())},!1))};Y(a5,Z);
a5.\u0275dir=Z.\u0275dir;g=a5.prototype;g.ngAfterViewInit=function(){this.hotlistName.nativeElement.focus()};
g.save=function(){var a=this;this.validate()&&(this.snackBar.open("Saving hotlist...","dismiss",{duration:0}),this.isSaving=!0,this.hotlistApi.createHotlist(this.name(),this.description()).then(function(b){a.isSaving=!1;a.snackBar.open('Hotlist "'+b.name+'" saved.',"dismiss",{duration:6E3});a.appEvents.hotlistChanged.next({hotlistId:b.hotlistId});a.analytics.trackEvent("hotlist","create");a.location.replaceUrl(a.paths.editHotlist(b.hotlistId));a.revertChanges()}).catch(function(b){a.isSaving=!1;a.errorHandler.errorHandler(null,
b)}))};g.validate=function(){if(""===this.name())return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};g.back=function(){C0(this.appHistory)};g.revertChanges=function(){this.hotlistUnderEdit.reset()};g.name=function(){var a,b=null==(a=this.hotlistUnderEdit.get("name"))?void 0:a.value;return b?b:""};g.description=function(){var a,b=null==(a=this.hotlistUnderEdit.get("description"))?void 0:a.value;return b?b:""};
a5.\u0275fac=function(a){return new (a||a5)(B(bF),B(B0),B(BG),B(PF),B(cF),B(aI),B(UG),B(FG),B(AX),B(lG))};
a5.\u0275cmp=r({type:a5,selectors:[["b-create-hotlist"]],viewQuery:function(a,b){a&1&&og(hIc,5);if(a&2){var c;ng(c=qg())&&(b.hotlistName=c.first)}},features:[yf],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),Q("click",function(){return b.back()}),L(3,"mat-icon",3),K(),H(4,"h2"),T(5,"Create a new hotlist"),K()()(),H(6,"div",4)(7,"div",5)(8,"form",6),L(9,"b-error-banner",7),H(10,"div",8)(11,"label",9),T(12,"Name"),K(),L(13,"input",10,11),K(),H(15,"div",8)(16,"label",12),T(17,"Description"),K(),H(18,"textarea",13),T(19,"        "),K()(),H(20,"p",14),T(21," Advanced settings such as access controls may be defined once the hotlist is created. "),K(),H(22,"div",15)(23,"button",16),Q("click",function(){return b.save()}),
T(24," Save "),K(),H(25,"button",17),Q("click",function(){return b.revertChanges()}),T(26," Revert changes "),K()()()()());a&2&&(A(8),G("formGroup",b.hotlistUnderEdit),A(1),G("error",b.error),A(1),G("ngClass",fg(7,iIc,b.isSaving)),A(3),G("disabled",b.isSaving),A(2),G("ngClass",fg(9,iIc,b.isSaving)),A(3),G("disabled",b.isSaving),A(5),G("disabled",b.isSaving))},dependencies:[Sv,MA,eA,dC,Ew,Jg,ww,xw,Ow,Kw,Lw,WZ],encapsulation:2});var b5=function(a){this.internalArray_=m(a,0,b5.messageId)};Y(b5,n);b5.prototype.getContent=function(){return xi(this,1)};b5.prototype.setContent=function(a){return gj(this,1,a)};b5.prototype.hasContent=function(){return yi(this,1)};b5.messageId="b.LlmGenericRequest";var jIc=function(a){this.internalArray_=m(a,0,jIc.messageId)};Y(jIc,n);jIc.prototype.getOutput=function(){return xi(this,1)};jIc.messageId="b.LlmGenericResponse";var c5=function(a){this.executor=a};c5.prototype.suggestIssueTitle=function(a){a=(new b5).setContent(a);return this.executor.post({url:"/action/llm/suggest_title",body:a,responseConstructor:jIc}).then(function(b){var c;return null!=(c=b.getOutput())?c:""})};c5.\u0275fac=function(a){return new (a||c5)(p(TD))};c5.\u0275prov=Dc({token:c5,factory:c5.\u0275fac,providedIn:"root"});var d5=function(){this.isGeneratingTitle=new E.BehaviorSubject(!1);this.generatedTitle=new E.BehaviorSubject(null);this.suggestTitleRequested=new E.Subject};d5.\u0275fac=function(a){return new (a||d5)};d5.\u0275prov=Dc({token:d5,factory:d5.\u0275fac,providedIn:"root"});var e5=function(a,b,c,d,e){Z.call(this);var f=this;this.activeSession=a;this.butterBar=b;this.analytics=c;this.llmSuggestTitleService=d;this.llmApi=e;this.suggestedTitle=new mv;this.enableSuggestTitle=yD(this.activeSession,"enableSuggestTitle")||!1;Gs(this.llmSuggestTitleService.suggestTitleRequested).pipe(bf(this.destroyed$)).subscribe(function(){f.suggestIssueTitle()})};Y(e5,Z);e5.\u0275dir=Z.\u0275dir;
e5.prototype.suggestIssueTitle=function(){var a=this,b;return qe(function(c){if(1==c.nextAddress){if(!a.enableSuggestTitle||""===a.description.value)return c.return();a.analytics.trackEvent(Kp.LLM,"generate","title");a.llmSuggestTitleService.isGeneratingTitle.next(!0);return c.yield(a.llmApi.suggestIssueTitle(a.description.value),2)}b=c.yieldResult;b=b.trim();if(""===b){var d=a.llmSuggestTitleService;d.generatedTitle.next(null);d.isGeneratingTitle.next(!1);a.suggestedTitle.emit(null);Fs(a.butterBar,
"Could not generate title. Try adding more to the description.",3E3);return c.return()}d=b;var e=a.llmSuggestTitleService;e.generatedTitle.next(d);e.isGeneratingTitle.next(!1);a.suggestedTitle.emit(d);we(c)})};e5.\u0275fac=function(a){return new (a||e5)(B(nt),B(EG),B(aI),B(d5),B(c5))};
e5.\u0275cmp=r({type:e5,selectors:[["llm-suggest-title-button"]],inputs:{description:"description"},outputs:{suggestedTitle:"suggestedTitle"},features:[yf],decls:3,vars:2,consts:[["mat-stroked-button","","color","primary","type","button","matTooltipPosition","above","aria-label","Generate AI-suggested title for this issue",1,"suggest-title-button","gmat-button","margin-s-left",3,"matTooltip","disabled","click"],["svgIcon","pen_spark_24px",1,"icon-s","margin-xs-right"]],template:function(a,b){a&1&&
(H(0,"button",0),Q("click",function(){return b.suggestIssueTitle()}),L(1,"mat-icon",1),T(2," Suggest title\n"),K());a&2&&G("matTooltip",""===b.description.value?"Enter a description to suggest a title":"Generate AI-suggested title for this issue")("disabled",""===b.description.value)},dependencies:[MA,eA,dC],styles:[".suggest-title-button[_ngcontent-%COMP%]{height:29px;line-height:29px;padding:0 12px}.mat-icon[_ngcontent-%COMP%]{margin-top:-4px}\n/*# sourceMappingURL=llm_suggest_title_button.css.map */"]});var kIc=[[["","mainSegment",""]],[["","dropdownSegment",""]]],f5=function(){this.mainSegment=!0};f5.\u0275fac=function(a){return new (a||f5)};f5.\u0275dir=Vc({type:f5,selectors:[["button","mainSegment",""]],hostVars:2,hostBindings:function(a,b){a&2&&Jf("main-segment",b.mainSegment)}});var g5=function(){this.dropdownAriaLabel=this.dropdownTooltip="";this.disabled=!1;this.size="large";this.dialogClosed=new mv;this.dialogOpened=new mv};g5.prototype.ngAfterContentInit=function(){};
g5.prototype.ngOnChanges=function(a){a.dropdownTooltip&&!this.dropdownAriaLabel&&(this.dropdownAriaLabel=this.dropdownTooltip)};Gh.Object.defineProperties(g5.prototype,{expanded:{configurable:!0,enumerable:!0,get:function(){var a,b;return null!=(b=null==(a=this.trigger)?void 0:a.isOpen)?b:!1}}});g5.\u0275fac=function(a){return new (a||g5)};
g5.\u0275cmp=r({type:g5,selectors:[["split-button"]],contentQueries:function(a,b,c){a&1&&pg(c,f5,5);if(a&2){var d;ng(d=qg())&&(b.mainSegment=d.first)}},viewQuery:function(a,b){a&1&&og(QM,5);if(a&2){var c;ng(c=qg())&&(b.trigger=c.first)}},hostVars:2,hostBindings:function(a,b){a&2&&Jf("expanded",b.expanded)},inputs:{dropdownTooltip:"dropdownTooltip",dropdownAriaLabel:"dropdownAriaLabel",disabled:"disabled",size:"size"},outputs:{dialogClosed:"dialogClosed",dialogOpened:"dialogOpened"},exportAs:["splitButton"],
features:[ld],ngContentSelectors:["[mainSegment]","[dropdownSegment]"],decls:8,vars:7,consts:[["mat-icon-button","","onedevPopupPanelTrigger","",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&&(Vf(kIc),Wf(0),H(1,"button",0,1),Q("click",function(){var d,
e;if(null!=(e=null==(d=b.trigger)?void 0:d.isOpen)&&e){var f;null==(f=b.trigger)||f.close()}else{var h;null==(h=b.trigger)||h.open()}})("onedevPopupPanelTriggerOpened",function(){return b.dialogOpened.emit()})("onedevPopupPanelTriggerClosed",function(){return b.dialogClosed.emit()}),L(3,"mat-icon",2),K(),H(4,"onedev-popup-panel",3,4)(6,"div",5),Wf(7,1),K()());if(a&2){var c=S(5);A(1);Mf("dropdown-button ",b.size,"");G("onedevPopupPanelTriggerFor",c)("matTooltip",b.dropdownTooltip)("disabled",b.disabled);
Af("aria-label",b.dropdownAriaLabel)}},dependencies:[MA,eA,dC,PM,QM],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 lIc=new Map([["TOTALLY_INCORRECT","Totally incorrect"],["MISSING_IMPORTANT_INFO","Missing important info"],["OTHER","Other"]]),h5=function(a,b,c){Z.call(this);this.butterBar=a;this.analytics=b;this.llmSuggestTitleService=c;this.suggestionAccepted=new mv;this.isGeneratingTitle$=Gs(this.llmSuggestTitleService.isGeneratingTitle).pipe(Ye({refCount:!0,bufferSize:1}));this.suggestedTitle$=Gs(this.llmSuggestTitleService.generatedTitle).pipe(Ye({refCount:!0,bufferSize:1}));this.isVisible$=(0,E.combineLatest)([Gs(this.llmSuggestTitleService.isGeneratingTitle),
Gs(this.llmSuggestTitleService.generatedTitle)]).pipe(bf(this.destroyed$),D(function(d){var e=l(d);d=e.next().value;e=e.next().value;return d||e}));this.suggestedTitleRejectionReasons=["TOTALLY_INCORRECT","MISSING_IMPORTANT_INFO","OTHER"];this.REJECT_REASON_TO_DISPLAY=lIc};Y(h5,Z);h5.\u0275dir=Z.\u0275dir;h5.prototype.close=function(){this.llmSuggestTitleService.generatedTitle.next(null)};h5.\u0275fac=function(a){return new (a||h5)(B(EG),B(aI),B(d5))};
h5.\u0275cmp=r({type:h5,selectors:[["llm-suggest-title-preview"]],outputs:{suggestionAccepted:"suggestionAccepted"},features:[yf],decls:4,vars:3,consts:[["class","suggest-title flex-kids-x carded margin-s-top",4,"ngIf"],["spinner",""],[1,"suggest-title","flex-kids-x","carded","margin-s-top"],[1,"flex-kids-y","flex","gap"],[1,"flex-kids-x","align-items-center","space-between"],[1,"heading-s"],[1,"flex-kids-x"],["mat-icon-button","","aria-label","Re-generate title","matTooltip","Re-generate title",
1,"request-title",3,"click"],["svgIcon","refresh"],["mat-icon-button","","aria-label","Hide AI suggested title","matTooltip","Hide AI suggested title",1,"hide-suggest-title",3,"click"],["svgIcon","close"],[1,"type-m","margin-s-right"],[4,"ngIf","ngIfElse"],[1,"flex-kids-x","gap-s"],["mat-flat-button","","color","primary","type","button",1,"gmat-button","small",3,"disabled","click"],["dropdownTooltip","Specify reject reason",3,"size","disabled"],["splitButton",""],["mat-button","","mainSegment","",
1,"gmat-button","small",3,"disabled","click"],["dropdownSegment",""],["mat-menu-item","","class","gmat-button rejection-reason",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",1,"gmat-button","rejection-reason",3,"click"]],template:function(a,b){a&1&&(F(0,sjb,25,15,"div",0),W(1,"async"),F(2,tjb,1,0,"ng-template",null,1,tg));a&2&&G("ngIf",X(1,1,b.isVisible$))},dependencies:[Tv,Uv,MA,eA,dC,eK,g5,f5,XB,$v],styles:[".suggest-title[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg);border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:4px;padding:8px 8px 16px 16px}\n/*# sourceMappingURL=llm_suggest_title_preview.css.map */"]});var xjb=function(a){return{issues:a}},Fjb=function(){return[]},i5=function(a,b,c){var d=this;this.similarIssuesApi=a;this.analytics=b;this.activeSession=c;this.componentId$=new E.ReplaySubject(1);this.context$=new E.ReplaySubject(1);this.collapsed=this.inline=!1;this.issues$=(0,E.combineLatest)([this.componentId$,this.context$]).pipe(Ne(250),He(function(e){e=l(e);e.next();return!!e.next().value}),af(function(e){var f=l(e);e=f.next().value;f=f.next().value;return Dmc(d.similarIssuesApi,{scope:"componentId:"+
e+" modified:365d status:open",scopeSortOrder:"vote_count desc",keyword:f})}),cf(function(){d.isLoading=!1;d.hasSearched=!0}));this.hasSearched=this.isLoading=!1};i5.prototype.ngOnInit=function(){this.collapsed=this.inline};i5.prototype.toggleCollapsed=function(){this.collapsed=!this.collapsed};i5.prototype.upvoted=function(a){this.analytics.trackEvent(Kp.SIMILAR_ISSUES,"toggle","vote",a)};
Gh.Object.defineProperties(i5.prototype,{componentId:{configurable:!0,enumerable:!0,set:function(a){this.componentId$.next(a)},get:function(){return Dk(this.componentId$)}},context:{configurable:!0,enumerable:!0,set:function(a){a&&(this.isLoading=!0,this.context$.next(a))}}});i5.\u0275fac=function(a){return new (a||i5)(B(yU),B(aI),B(nt))};
i5.\u0275cmp=r({type:i5,selectors:[["similar-issues"]],inputs:{componentId:"componentId",context:"context",inline:"inline"},decls:7,vars:1,consts:[["class","bg-off-main padded-x padded-s-y rounded",4,"ngIf"],["sideView",""],["inlineView",""],["issueList",""],[1,"bg-off-main","padded-x","padded-s-y","rounded"],[3,"ngTemplateOutlet"],[1,"heading-xs"],["class","type-s muted",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"type-s","muted"],[1,"flex-kids-x","space-between"],[1,"flex","flex-kids-x",
"align-items-center"],[1,"type-s","muted","margin-left",3,"hidden"],["mat-button","","aria-label","Toggle display of similar issues",1,"gmat-button",3,"disabled","matTooltip","matTooltipShowDelay","click"],[1,"hold-space",3,"hidden"],[4,"ngIf"],["class","margin-y",3,"hidden",4,"ngFor","ngForOf"],[1,"margin-y",3,"hidden"],["target","_blank",1,"subtle-link",3,"href","onedevHovercardTrigger","click"],["issueHovercard","onedevHovercard"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],
[1,"flex-kids-x","align-items-center","margin-xs-y"],["class","margin-s-right",3,"issuePriority",4,"ngIf"],[3,"issueId","upvoted","voteCount","onVote"],["class","duplicates chippy rounded","aria-label","View issues marked as duplicates of the above issue","target","_blank","matTooltip","View issues marked as duplicates of the above issue",3,"href","click",4,"ngIf"],[3,"onedevIsHovercardReady","issueId"],["cardBody",""],[1,"margin-s-right",3,"issuePriority"],["aria-label","View issues marked as duplicates of the above issue",
"target","_blank","matTooltip","View issues marked as duplicates of the above issue",1,"duplicates","chippy","rounded",3,"href","click"],["svgIcon","merge_type_24px",1,"icon-s","rotate-180"]],template:function(a,b){a&1&&F(0,ujb,2,1,"div",0)(1,yjb,5,7,"ng-template",null,1,tg)(3,Ajb,11,12,"ng-template",null,2,tg)(5,Hjb,2,2,"ng-template",null,3,tg);a&2&&(a=!(!b.componentId||!b.activeSession.getSimilarIssuesComponentsAllowlist().has(b.componentId)),G("ngIf",a))},dependencies:[Tv,Uv,Zv,MA,eK,EU,JU,IU,
dC,hK,iK,mK,jK,eA,$v],styles:[".hold-space[_ngcontent-%COMP%]{min-height:295px}.duplicates[_ngcontent-%COMP%]{padding-right:8px;margin-left:4px;height:24px;line-height:24px;background-color:#fff;background-color:var(--background);box-shadow:inset 0 0 0 1px #dadce0;box-shadow:inset 0 0 0 1px var(--divider)}.duplicates[_ngcontent-%COMP%]:focus, .duplicates[_ngcontent-%COMP%]:hover{background-color:#e8f0fe;background-color:var(--primary-c50);box-shadow:inset 0 0 0 1px #d2e3fc;box-shadow:inset 0 0 0 1px var(--primary-c100)}\n/*# sourceMappingURL=similar_issues.css.map */"]});var j5=function(a,b,c){this.analytics=a;this.activeSession=b;this.hatsService=c;this.enableDupSearchControl=yD(this.activeSession,"enableDupSearchControl");this.enableDupSearchA=yD(this.activeSession,"enableDupSearchA");this.enableDupSearchB=yD(this.activeSession,"enableDupSearchB");this.enableDupSearchC=yD(this.activeSession,"enableDupSearchC");this.enableSimilarIssues=this.activeSession.isInternalSession()&&(this.enableDupSearchControl||this.enableDupSearchA||this.enableDupSearchB||this.enableDupSearchC)};
j5.prototype.triggerSimilarIssuesSurvey=function(){return qW(this.hatsService,"HFPx18aEL0g6pPHSLo10YtkWxxH9",mIc(this)).pipe(D(function(){}))};j5.prototype.trackTitleHoverOver=function(){this.analytics.trackEvent(Kp.MAGIC_BOX,"titleHoverOver",this.getGroupName())};j5.prototype.trackTitleClick=function(){this.analytics.trackEvent(Kp.MAGIC_BOX,"titleClick",this.getGroupName())};
var mIc=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};j5.prototype.getGroupName=function(){return this.enableDupSearchControl?"BaseVariant":this.enableDupSearchA?"VariantA":this.enableDupSearchB?"VariantB":this.enableDupSearchC?"VariantC":"Control"};
j5.\u0275fac=function(a){return new (a||j5)(p(aI),p(nt),p(pW))};j5.\u0275prov=Dc({token:j5,factory:j5.\u0275fac,providedIn:"root"});var k5=function(a,b,c){this.paths=a;this.relatedIssuesService=b;this.experimentSupport=c;this.enableDupSearchControl=this.experimentSupport.enableDupSearchControl;this.enableDupSearchA=this.experimentSupport.enableDupSearchA;this.enableDupSearchB=this.experimentSupport.enableDupSearchB;this.enableDupSearchC=this.experimentSupport.enableDupSearchC},nIc=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)};
k5.prototype.hasCustomFieldValue=function(a){return a.customField?0<a.customField.filter(function(b){return!zo(b)}).length:!1};
k5.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 f,h;return{issues:(null!=(f=e.issueDigests)?f:[]).map(function(k){return{id:k.issueId,title:k.title,href:d.paths.editIssue(k.issueId)}}),numTotalResults:null!=(h=e.numTotalResults)?h:0,viewAllHref:d.paths.listIssues({q:a,s:"modified_time:desc"})}}).catch(function(){return{issues:[],
numTotalResults:0}})})};
k5.prototype.fetchIssues=function(a){if(this.enableDupSearchControl||this.enableDupSearchA||this.enableDupSearchB||this.enableDupSearchC){var b=a.componentId;var c=a.customFieldMap,d=a.issue;if(nIc(this,c,d)){var e=Jjb(d.title||"");e=0<e.length?"title:("+e.join(" ")+")":"";var f=hl(d.componentId);e=(f?"componentid:"+f:"")+(e?" "+e:"");if(this.enableDupSearchControl)b=e;else if(f=Jjb(hl(d.comment)||""),f=0<f.length?"comment:("+f.join(" ")+")":"",e+=f?" "+f:"",this.enableDupSearchA)b=e;else{f=hl(d.type);
var h=hl(d.priority);e=e+(" "+(h?"priority:"+h:""))+(" "+(f?"type:"+f:""));this.enableDupSearchB?b=e:(f=hl(d.hotlistId),f=!f||1>(null==f?void 0:f.length)?"":"hotlistid:("+(f.join(" | ")+")"),e=e+(" "+f)+(" "+oIc(this,c,hl(d.customField))),b=this.enableDupSearchC?e:pIc(b))}}else b=pIc(b);return this.searchAsync(b,a.count,a.page)}return this.searchAsync(pIc(a.componentId),a.count,a.page)};
var pIc=function(a){return"componentid:"+a+" status:open"},oIc=function(a,b,c){return!c||1>(null==c?void 0:c.length)?"":c.map(function(d){return d}).filter(function(d){return!zo(d)}).map(function(d){return qIc(a,b,d)}).join(" ")},qIc=function(a,b,c){if(zo(c))return"";var d="customfield"+c.customFieldId+":";switch(a.getCustomFieldType(b,c)){case "TEXT":var e='"'+c.textValue+'"';break;case "DATE":e=rIc(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(f){return rIc(f)}).join(" | ")+")";break;case "REPEATED_ENUM":e='("'+c.repeatedEnumValue.values.join('" | "')+'")';break;case "REPEATED_NUMERIC":e="("+c.repeatedNumericValue.values.join(" | ")+")"}return e?d+e:""},rIc=function(a){return a?a.year+"-"+("0"+a.month).slice(-2)+"-"+("0"+a.day).slice(-2):""};
k5.prototype.getCustomFieldType=function(a,b){var c,d;return null!=(d=null==(c=a[b.customFieldId])?void 0:c.type)?d:""};k5.\u0275fac=function(a){return new (a||k5)(p(cF),p(lW),p(j5))};k5.\u0275prov=Dc({token:k5,factory:k5.\u0275fac,providedIn:"root"});var Ijb=RegExp("\\w+","g");var l5=function(a,b,c,d){Z.call(this);this.cdr=a;this.analytics=b;this.relatedIssueFetcher=c;this.experimentSupport=d;this.refreshMagicBox=!1;this.refreshMagicBoxChange=new mv;this.hideHeader=this.showInline=!1;this.issueTitle="";this.issue={};this.customFieldMap={};this.numIssues=5;this.headerChange=new mv;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=Kp};Y(l5,Z);l5.\u0275dir=Z.\u0275dir;g=l5.prototype;g.ngOnInit=function(){var a=this;this.fetchIssues();this.currentIssueData$.pipe(Ne(750),Pe($h),bf(this.destroyed$)).subscribe(function(){a.refresh()})};
g.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=nIc(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()}};
g.refresh=function(){this.isRefreshing=!0;this.page=1;this.magicBoxIssues=[];this.fetchIssues()};
g.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(u(b.magicBoxIssues),u(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()}))};g.getHeader=function(){return this.showSuggestedDupes?"Similar Issues":"Recent Issues"};g.getTotalText=function(a,b,c,d){return a<=b*c?a.toString():d?"many":a.toString()};g.triggerSimilarIssuesSurvey=function(){this.experimentSupport.triggerSimilarIssuesSurvey().pipe(bf(this.destroyed$)).subscribe()};
g.trackTitleHoverOver=function(){this.experimentSupport.trackTitleHoverOver()};g.trackTitleClick=function(){this.experimentSupport.trackTitleClick()};g.getGroupName=function(){return this.experimentSupport.getGroupName()};l5.\u0275fac=function(a){return new (a||l5)(B(XD,2),B(aI),B(k5),B(j5))};
l5.\u0275cmp=r({type:l5,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:[bg([lW,XD]),yf,ld],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&&F(0,Ljb,2,2,"div",0)(1,Zjb,9,8,"ng-template",null,1,tg);a&2&&G("ngIf",b.componentId)},dependencies:[rJ,AD,eK,Sv,Tv,Uv,MA,JU,hK,iK,mK,jK,eA],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 sIc=["popOver"],akb=function(a){return{$implicit:a}},ikb=function(a){return{editingValue:a}},m5=function(a){this.val="";this.allowMultipleLines=!0;this.disabled=this.centerEditIcon=this.newlineWithEnterKey=!1;this.hasBackdrop=!0;this.fitPopoverToViewport=!1;this.valueChange=new mv;this.editorOpen=new mv;this.required=this.editing=this.headerFocused=!1;this.editingValue=new Cw("",{nonNullable:!0});this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=
!0};Y(m5,VM);g=m5.prototype;g.ngOnInit=function(){};g.valueChanged=function(){return this.editingValue.value!==this.value};g.startEditing=function(){this.disabled||(this.onTouched(),this.editing=!0,this.editingValue.setValue(this.value),this.popOver.open(),this.editorOpen.emit({isOpen:!0}))};g.stopEditing=function(a){this.editing=!1;0===a&&(this.onChange(this.editingValue.value),this.value=this.editingValue.value,this.valueChange.emit(this.value));this.editorOpen.emit({isOpen:!1,closeAction:a})};
g.writeValue=function(a){null!=a&&(this.val=a,this.editing||this.editingValue.setValue(a))};g.isActive=function(){return this.headerFocused||this.editing};g.registerOnChange=function(a){this.onChange=a};g.registerOnTouched=function(a){this.onTouched=a};g.setDisabledState=function(a){this.disabled=a};Gh.Object.defineProperties(m5.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});
m5.\u0275fac=function(a){return new (a||m5)(Bd("required"))};
m5.\u0275cmp=r({type:m5,selectors:[["onedev-text-field"]],viewQuery:function(a,b){a&1&&og(sIc,7);if(a&2){var c;ng(c=qg())&&(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:[bg([{provide:jw,useExisting:Jc(function(){return m5}),multi:!0},{provide:VM,useExisting:Jc(function(){return m5}),multi:!0}]),yf],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),Q("click",function(){return b.startEditing()})("focus",function(){return b.headerFocused=!0})("blur",function(){return b.headerFocused=!1}),H(2,"span"),F(3,bkb,2,4,"ng-container",2)(4,ckb,1,1,"ng-template",null,3,tg),
K(),F(6,dkb,2,2,"svg",4),K(),H(7,"onedev-pop-over-edit-panel",5,6),Q("closedWithAction",function(f){return b.stopEditing(f)}),K(),F(9,kkb,2,2,"ng-template",null,7,tg));if(a&2){var c=S(1),d=S(5),e=S(10);Af("aria-labelledby",b.labelledById);A(3);G("ngIf",b.valueTemplate)("ngIfElse",d);A(3);G("ngIf",!b.disabled);A(1);G("anchor",c)("editorTemplate",e)("newlineWithEnterKey",b.newlineWithEnterKey)("hasBackdrop",b.hasBackdrop)("fitToViewport",b.fitPopoverToViewport)}},dependencies:[Uv,Zv,Jg,ww,Tz,dZ,Jw],
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 tIc=new bd("CdkAccordion");var uIc=0,n5=function(a,b,c){var d=this;this.accordion=a;this._changeDetectorRef=b;this._expansionDispatcher=c;this._openCloseAllSubscription=E.Subscription.EMPTY;this.closed=new mv;this.opened=new mv;this.destroyed=new mv;this.expandedChange=new mv;this.id="cdk-accordion-child-"+uIc++;this.disabled=this._expanded=!1;this._removeUniqueSelectionListener=function(){};this._removeUniqueSelectionListener=c.listen(function(e,f){d.accordion&&!d.accordion.multi&&d.accordion.id===f&&d.id!==e&&(d.expanded=
!1)});this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())};g=n5.prototype;g.ngOnDestroy=function(){this.opened.complete();this.closed.complete();this.destroyed.emit();this.destroyed.complete();this._removeUniqueSelectionListener();this._openCloseAllSubscription.unsubscribe()};g.toggle=function(){this.disabled||(this.expanded=!this.expanded)};g.close=function(){this.disabled||(this.expanded=!1)};g.open=function(){this.disabled||(this.expanded=!0)};
g._subscribeToOpenCloseAllActions=function(){var a=this;return this.accordion._openCloseAllActions.subscribe(function(b){a.disabled||(a.expanded=b)})};Gh.Object.defineProperties(n5.prototype,{expanded:{configurable:!0,enumerable:!0,get:function(){return this._expanded},set:function(a){this._expanded!==a&&(this._expanded=a,this.expandedChange.emit(a),a?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}}});
n5.\u0275fac=function(a){return new (a||n5)(B(tIc,12),B(Fu),B(Rx))};n5.\u0275dir=Vc({type:n5,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:["expanded","expanded",ug],disabled:["disabled","disabled",ug]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],standalone:!0,features:[bg([{provide:tIc,useValue:void 0}]),zf]});var o5=function(){};o5.\u0275fac=function(a){return new (a||o5)};o5.\u0275mod=Tc({type:o5});o5.\u0275inj=Ec({});var vIc=new bd("MAT_ACCORDION");var wIc=ih("indicatorRotate",[lh("collapsed, void",kh({transform:"rotate(0deg)"})),lh("expanded",kh({transform:"rotate(180deg)"})),nh("expanded <=> collapsed, void => collapsed",jh("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),xIc=ih("bodyExpansion",[lh("collapsed, void",kh({height:"0px",visibility:"hidden"})),lh("expanded",kh({height:"*",visibility:""})),nh("expanded <=> collapsed, void => collapsed",jh("225ms cubic-bezier(0.4,0.0,0.2,1)"))]);var yIc=new bd("MAT_EXPANSION_PANEL");var zIc=function(a,b){this._template=a;this._expansionPanel=b};zIc.\u0275fac=function(a){return new (a||zIc)(B(kg),B(yIc,8))};zIc.\u0275dir=Vc({type:zIc,selectors:[["ng-template","matExpansionPanelContent",""]],standalone:!0});var AIc=["body"],BIc=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],CIc=0,DIc=new bd("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),p5=function(a,b,c,d,e,f,h){n5.call(this,a,b,c);var k=this;this._viewContainerRef=d;this._animationMode=f;this._hideToggle=!1;this.afterExpand=new mv;this.afterCollapse=new mv;this._inputChanges=new E.Subject;this._headerId="mat-expansion-panel-header-"+CIc++;this._bodyAnimationDone=new E.Subject;this.accordion=a;this._document=e;this._bodyAnimationDone.pipe(Pe(function(q,
t){return q.fromState===t.fromState&&q.toState===t.toState})).subscribe(function(q){"void"!==q.fromState&&("expanded"===q.toState?k.afterExpand.emit():"collapsed"===q.toState&&k.afterCollapse.emit())});h&&(this.hideToggle=h.hideToggle)};Y(p5,n5);p5.\u0275dir=n5.\u0275dir;g=p5.prototype;g._hasSpacing=function(){return this.accordion?this.expanded&&"default"===this.accordion.displayMode:!1};g._getExpandedState=function(){return this.expanded?"expanded":"collapsed"};
g.toggle=function(){this.expanded=!this.expanded};g.close=function(){this.expanded=!1};g.open=function(){this.expanded=!0};g.ngAfterContentInit=function(){var a=this;this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe($e(null),He(function(){return a.expanded&&!a._portal}),Qe()).subscribe(function(){a._portal=new iy(a._lazyContent._template,a._viewContainerRef)})};g.ngOnChanges=function(a){this._inputChanges.next(a)};
g.ngOnDestroy=function(){n5.prototype.ngOnDestroy.call(this);this._bodyAnimationDone.complete();this._inputChanges.complete()};g._containsFocus=function(){if(this._body){var a=this._document.activeElement,b=this._body.nativeElement;return a===b||b.contains(a)}return!1};
Gh.Object.defineProperties(p5.prototype,{hideToggle:{configurable:!0,enumerable:!0,get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(a){this._hideToggle=a}},togglePosition:{configurable:!0,enumerable:!0,get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(a){this._togglePosition=a}}});p5.\u0275fac=function(a){return new (a||p5)(B(vIc,12),B(Fu),B(Rx),B(lg),B(Xg),B(Du,8),B(DIc,8))};
p5.\u0275cmp=r({type:p5,selectors:[["mat-expansion-panel"]],contentQueries:function(a,b,c){a&1&&pg(c,zIc,5);if(a&2){var d;ng(d=qg())&&(b._lazyContent=d.first)}},viewQuery:function(a,b){a&1&&og(AIc,5);if(a&2){var c;ng(c=qg())&&(b._body=c.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(a,b){a&2&&Jf("mat-expanded",b.expanded)("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-expansion-panel-spacing",b._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",
hideToggle:["hideToggle","hideToggle",ug],togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],standalone:!0,features:[bg([{provide:vIc,useValue:void 0},{provide:yIc,useExisting:p5}]),zf,yf,ld,dg],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&&(Vf(BIc),Wf(0),H(1,"div",0,1),Q("@bodyExpansion.done",function(c){return b._bodyAnimationDone.next(c)}),H(3,"div",2),Wf(4,1),F(5,lkb,0,0,"ng-template",3),K(),Wf(6,2),K());a&2&&(A(1),G("@bodyExpansion",b._getExpandedState())("id",b.id),Af("aria-labelledby",b._headerId),A(4),G("cdkPortalOutlet",b._portal))},dependencies:[my],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-tracking)}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color)}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}\n'],
encapsulation:2,data:{animation:[xIc]},changeDetection:0});var EIc=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],q5=function(a,b,c,d,e,f,h){var k=this;this.panel=a;this._element=b;this._focusMonitor=c;this._changeDetectorRef=d;this._animationMode=f;this._parentChangeSubscription=E.Subscription.EMPTY;this.tabIndex=0;var q=a.accordion?a.accordion._stateChanges.pipe(He(function(t){return!(!t.hideToggle&&!t.togglePosition)})):E.EMPTY;this.tabIndex=parseInt(h||"")||0;this._parentChangeSubscription=(0,E.merge)(a.opened,a.closed,q,a._inputChanges.pipe(He(function(t){return!!(t.hideToggle||
t.disabled||t.togglePosition)}))).subscribe(function(){return k._changeDetectorRef.markForCheck()});a.closed.pipe(He(function(){return a._containsFocus()})).subscribe(function(){return Zw(c,b,"program")});e&&(this.expandedHeight=e.expandedHeight,this.collapsedHeight=e.collapsedHeight)};g=q5.prototype;g._toggle=function(){this.disabled||this.panel.toggle()};g._isExpanded=function(){return this.panel.expanded};g._getExpandedState=function(){return this.panel._getExpandedState()};g._getPanelId=function(){return this.panel.id};
g._getTogglePosition=function(){return this.panel.togglePosition};g._showToggle=function(){return!this.panel.hideToggle&&!this.panel.disabled};g._getHeaderHeight=function(){var a=this.panel.expanded;return a&&this.expandedHeight?this.expandedHeight:!a&&this.collapsedHeight?this.collapsedHeight:null};g._keydown=function(a){switch(a.keyCode){case 32:case 13:Mg(a)||(a.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(a)}};
g.focus=function(a,b){a?Zw(this._focusMonitor,this._element,a,b):this._element.nativeElement.focus(b)};g.ngAfterViewInit=function(){var a=this;this._focusMonitor.monitor(this._element).subscribe(function(b){b&&a.panel.accordion&&a.panel.accordion._handleHeaderFocus(a)})};g.ngOnDestroy=function(){this._parentChangeSubscription.unsubscribe();this._focusMonitor.stopMonitoring(this._element)};Gh.Object.defineProperties(q5.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this.panel.disabled}}});
q5.\u0275fac=function(a){return new (a||q5)(B(p5,1),B(Hd),B(Yw),B(Fu),B(DIc,8),B(Du,8),Bd("tabindex"))};
q5.\u0275cmp=r({type:q5,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(a,b){a&1&&Q("click",function(){return b._toggle()})("keydown",function(c){return b._keydown(c)});a&2&&(Af("id",b.panel._headerId)("tabindex",b.disabled?-1:b.tabIndex)("aria-controls",b.panel.id)("aria-expanded",b.panel.expanded)("aria-disabled",b.panel.disabled),If("height",b._getHeaderHeight()),Jf("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:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:["tabIndex","tabIndex",function(a){return null==a?0:vg(a)}]},standalone:!0,features:[zf,dg],ngContentSelectors:["mat-panel-title","mat-panel-description","*"],decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator"],[1,"mat-expansion-indicator"]],
template:function(a,b){a&1&&(Vf(EIc),H(0,"span",0),Wf(1),Wf(2,1),Wf(3,2),K(),F(4,mkb,1,1,"span",1));a&2&&(Jf("mat-content-hide-toggle",!b._showToggle()),A(4),Nf(4,b._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color)}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color)}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color)}.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:[wIc]},changeDetection:0});var r5=function(){};r5.\u0275fac=function(a){return new (a||r5)};r5.\u0275dir=Vc({type:r5,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"],standalone:!0});var s5=function(){};s5.\u0275fac=function(a){return new (a||s5)};s5.\u0275mod=Tc({type:s5});s5.\u0275inj=Ec({imports:[jz,o5,ny]});var FIc=["descriptionConfirmDialog"],okb=function(a,b){return{partner:a,"public":b}},tlb=function(a){return{required:a}},Alb=function(a){return{"bv2-upload-ongoing":a}},Hlb=function(){return{standalone:!1}},GIc=function(a){return{submitted:a}},HIc=new bd("titleBannedWordsChecker"),IIc=new bd("descriptionBannedWordsChecker"),JIc={noListedUsers:{title:"Issue will have no listed users",content:"No one will be able to access this issue due to the Issue Access Limit that you have set, and the lack of any listed user on the issue. We strongly recommend maintaining at least one user with access. Are you sure you still want to proceed?"},
loseAccess:{title:"You will lose access",content:"You will not be able to access this issue because you are not listed on the issue and have set a restrictive Issue Access Level. Are you sure you want to proceed?"}},t5=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I,P,O,U,aa,na,sa,Ba,Pa,Ja,cb,qb,Ra,fa,wa,Ca,Wa,Va,qd,$a,vb,Sa,Fb,jb,Kb,Vb,yc){Z.call(this);var pc=this;this.ngZone=a;this.$log=b;this.reloadService=c;this.paths=d;this.redirectUrl=e;this.userAccess=f;this.accessPolicy=h;this.bLocation=k;this.appHistory=
q;this.issueTemplate=t;this.issueTypeDialog=w;this.componentActions=y;this.activeSession=C;this.draftStore=J;this.pageTitle=I;this.analytics=P;this.issueApi=O;this.userApi=U;this.hotlistApi=aa;this.butterBar=na;this.errorHandler=sa;this.matDialogService=Ba;this.appEvents=Pa;this.userPreferencesManager=qb;this.cdr=wa;this.confirmationDialogService=Ca;this.issueRelationshipsFridge=Wa;this.issueFridge=Va;this.componentFridge=qd;this.clearcut=$a;this.currentTracker=vb;this.jspbPrincipalTypes=Sa;this.trackerFridge=
Fb;this.titleBannedWordsChecker=jb;this.descriptionBannedWordsChecker=Kb;this.confirmIssueAccessLimitSettingsService=Vb;this.componentTemplateApi=yc;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=yD(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.toIssuePriority=Uh;this.toIssueSeverity=gra;this.FieldType=mhc;this.initialized=!1;this.trackerComponent$=this.currentTracker.tracker$.pipe(af(function(gd){return gd?pc.componentFridge.watch(Number(gd.componentId)).pipe($e(void 0)):
(0,E.of)(void 0)}));this.trackerId$=new E.BehaviorSubject("");this.tracker$=this.trackerId$.pipe(af(function(gd){return yn(gd)?(0,E.of)(void 0):pc.trackerFridge.watch(gd)}));this.trackerCollaboratorGroups=[];this.enableSuggestTitle=yD(this.activeSession,"enableSuggestTitle")&&this.activeSession.isInternalSession();this.enableEmbeddedSimilarIssuesUi=yD(this.activeSession,"enableEmbeddedSimilarIssuesUi")&&this.activeSession.isInternalSession();this.getSingleEditFieldType=MPa;this.getListFieldType=tRa;
this.fetchUserHotlists();this.subscriptions.add(this.tracker$.subscribe(function(gd){pc.updateCollaboratorGroups(gd)}));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(){pc.fetchUserHotlists()}));this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(function(){pc.fetchUserHotlists()}));this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(function(){pc.fetchUserHotlists()}));this.enableCreateIssueWithTemplate=yD(C,"enableCreateIssueWithTemplate");this.frontendIsInternalOrPartner=
C.isInternalSession()||wD(C);this.priorityChoices=fa.priorities.map(function(gd){return{value:gd,displayText:gd}});this.severityChoices=fa.severities.map(function(gd){return{value:gd,displayText:gd}});this.issueTypeChoices=fa.editIssueTypes.map(function(gd){return{value:gd,displayText:Vh(gd),altText:fa.issueTypesShortDescriptions.get(gd)}});this.urlTemplate=new Vvc(Ja,b);this.piiWarningMessage=C.isInternalSession()?"Please be sure you don't include sensitive information/data (PII, SPII, and other sensitive user data) in unrestricted issues (either in text or through attachments). If you do need to include sensitive information, please be sure to link to a secure doc (e.g. a drive file with proper sharing settings) and share only with those that have a business need for access. Please see http://go/buganizerpuppy.":
void 0;this.descriptionBoxId="bv2-description";this.componentAutocomplete=Ja.componentAutocomplete;this.componentRequestedInUrl=Ja.component;this.templateIssueRequestedInUrl=Ja.template_issue;Ja.template&&(a=Number(Ja.template))&&(this.preferredTemplateId=a);if(a=Ja.parentIssueId)this.parentIssueIds=Array.isArray(a)?a:[a];if(a=Ja.childrenIssueIds)this.childrenIssueIds=Array.isArray(a)?a:[a];if(a=Ja.afterIssueId)this.afterIssueId=Array.isArray(a)?a[0]:a;this.issue=ai(Llb);Jlb(this.issue,this);this.audience=
"EXTERNAL_AUDIENCE";Ja.description?this.comment=new WO(Ja.description,!0):(a=this.draftStore.$window.sessionStorage.getItem(Do("0"))||"",this.comment=new WO(a));this.comment.formattingMode=KIc(this);a=LIc(Ja);this.isFormatInRoute=null!=a;a&&(this.comment.formattingMode=a);this.selectedComponentProcessedPromise=Promise.resolve(void 0);this.subscriptions.add(qb.preferences$.subscribe(function(gd){var ud;pc.useCodefont=null!=(ud=gd.useCodefont)?ud:pc.useCodefont}));this.hasAdvancedFieldsInUrlTemplate=
Xvc(this.urlTemplate)||!!this.parentIssueIds||!!this.childrenIssueIds;this.subscriptions.add(UE(cb,{title:"Create Issue Page",hotkeys:[{keys:["h"],displayAs:"h",description:"Edit hotlists",onPress:function(){var gd;null==(gd=pc.hotlistPicker)||gd.open()}},{keys:["u"],displayAs:"u",description:"Back to previous page",onPress:function(){pc.back()}}]}));this.componentRequestedInUrl?(this.newIssueStarted=!0,MIc(this,Number(this.componentRequestedInUrl))):this.componentAutocomplete?NIc(this,this.componentAutocomplete):
(bwc(this.urlTemplate,this.issue),this.updateSelectedHotlists());this.templateIssueRequestedInUrl&&(this.newIssueStarted=!0,OIc(this));this.originalIssueCopy=ai(this.issue);Ja.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.createRestrictedResourcesComponentIds=
C.getCreateRestrictedSubresourcesComponentIds();this.subscriptions.add(BX(Ra,function(){return pc.hasUnsavedChanges()},!1))};Y(t5,Z);t5.\u0275dir=Z.\u0275dir;t5.prototype.isCaptchaValid=function(){return!this.enableRecaptcha||""!==this.recaptchaResponse};var Blb=function(a){return a.isSaving||a.isNavigatingAway||!a.canCreateNewIssuesInComponent||!a.isCaptchaValid()||!1};t5.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);PIc(this)};
t5.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||QIc(a,b))}))};t5.prototype.unloadPageHandler=function(){PIc(this)};var u5=function(a){a.initialized&&a.ngZone.run(function(){a.cdr.detectChanges()})};t5.prototype.back=function(){C0(this.appHistory)};
var RIc=function(a){var b;return up(a.selectedComponent)&&!(null==(b=a.selectedComponent)||!b.trackerId)&&!a.currentTracker.inTracker},SIc=function(a,b){"LIMIT_VIEW"===b||"LIMIT_VIEW_TRUSTED"===b?a.selectedAccessLimitLevel=b:(a.selectedAccessLimitLevel="LIMIT_VIEW_TRUSTED",Fs(a.butterBar,"Because this issue will be on a public tracker, the following Issue Access Limit will be applied: Limited visibility + Google. You may modify this access level before creating the issue."))};
t5.prototype.onAccessLimitLevelSelected=function(a){this.selectedAccessLimitLevel=a};
var QIc=function(a,b){a.selectedComponent=b;a.selectedComponent?(a.issue=Object.assign({},a.issue,{componentId:a.selectedComponent.componentId}),a.originalIssueCopy.componentId=a.selectedComponent.componentId,TIc(a),a.audience=tp(a.selectedComponent)?"EXTERNAL_AUDIENCE":"INTERNAL_AUDIENCE",a.trackerId$.next(a.selectedComponent.trackerId||""),a.createRestrictedResourcesComponentIds.includes(a.selectedComponent.componentId)?a.judgementForNewContent={severity:"RESTRICTED",judgementReason:"None Specified"}:
a.judgementForNewContent=void 0):(ec(a.issue,"componentId"),a.audience="EXTERNAL_AUDIENCE");a.submitRequested=!1;UIc(a);a.selectedComponentProcessedPromise=Promise.all([VIc(a),WIc(a)]).then(function(){});return a.selectedComponentProcessedPromise},XIc=function(a){a.assigneeText=a.assigneeText?a.assigneeText:null;a.verifierText=a.verifierText?a.verifierText:null;a.reporterText=a.reporterText?a.reporterText:null},rkb=function(a){return VRa(a.selectedComponent)?"External Google partners may be able to see this issue.":
up(a.selectedComponent)?"Public users may be able to see this issue.":""};t5.prototype.getCollaboratorGroupsString=function(){return 0===this.collaboratorGroupsText.length?"":1<this.collaboratorGroupsText.length?this.collaboratorGroupsText.length+" groups selected":this.collaboratorGroupsText[0]};t5.prototype.updateCollaboratorGroups=function(a){a&&a.collaboratorGroups&&(this.trackerCollaboratorGroups=ni(a.collaboratorGroups),this.separateCollaboratorGroups())};
t5.prototype.separateCollaboratorGroups=function(){for(var a=[],b=new Set(this.trackerCollaboratorGroups),c=l(this.collaboratorsText),d=c.next();!d.done;d=c.next())d=d.value,b.has(d)?this.collaboratorGroupsText.push(d):a.push(d);this.collaboratorsText=a;if(0<this.collaboratorGroupsText.length&&!up(this.selectedComponent)){var e;null==(e=this.advancedFieldsZippy)||e.open()}};
var OIc=function(a){var b=Number(a.templateIssueRequestedInUrl);Number.isNaN(b)?a.butterBar.showWarning("Invalid template_issue specified"):(a.availableExistingIssueTemplate=new YIc(b,"issue","Issue "+b,!1),a.selectedTemplate=a.availableExistingIssueTemplate)},VIc=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 f=e.name;Ei(Di(f))&&(f=e.default?"(default template)":"(unnamed template)");return new YIc(e.templateId,"predefined",f,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=l(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]);u5(a)}).catch(function(){a.butterBar.showWarning("Unable to load templates for this component")}):Promise.resolve(void 0)},WIc=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=XF(a.userAccess,"appender","components/"+b).then(function(f){a.canCreateNewIssuesInComponent=f;u5(a)}),e=XF(a.userAccess,"writer",c).then(function(f){a.canEditIssuesInComponent=f;u5(a)});c=XF(a.userAccess,"reader",c).then(function(f){a.canViewIssuesInComponent=f;u5(a)});b=a.accessPolicy.checkComponentImplicitAccessEnabled(b).then(function(f){a.componentHasExpandedAccessEnabled=f;u5(a)});return Promise.all([d,
e,c,b]).then(function(){ZIc(a);u5(a)}).catch(function(f){a.$log.warn(f)}).finally(function(){a.createAclLoading=!1})},bJc=function(a){if(a.selectedTemplate){var b=function(c){var d=Object.assign(ai(Llb),c.snapshot);a.selectedComponent&&(d.componentId=a.selectedComponent.componentId);var e=ai(d);XIc(a);Klb(a,a.issue);var f=ai(a.issue);if(a.appliedTemplate)for(var h=l(Object.keys(a.appliedTemplate)),k=h.next();!k.done;k=h.next()){k=k.value;var q=a.appliedTemplate[k];if(Array.isArray(q)&&Array.isArray(f[k])){q=
l(q);for(var t=q.next();!t.done;t=q.next())qra(f[k],t.value)}else $h(q,f[k])&&delete f[k]}a.appliedTemplate=e;Mlb(d,f);f=e.comment||"";a.comment.value!==a.templateComment&&(yac(a.comment)||""===f||a.comment.value===f||(a.templateComment=f,$Ic(a,a.comment.value)),d.comment=a.comment.value,d.formattingMode=e.formattingMode);a.templateComment=f;var w;a.templateCommentFormattingMode=null!=(w=e.formattingMode)?w:void 0;a.templateTitle=e.title||"";d.reporterUser=ti(a.userEmail);RIc(a)?SIc(a,d.issueAccessLimitLevel||
"LIMIT_NONE"):a.selectedAccessLimitLevel=d.issueAccessLimitLevel||"LIMIT_NONE";a.issue=d;Jlb(a.issue,a);ZIc(a);XIc(a);Klb(a,a.issue);a.comment.value=a.issue.comment||"";a.issue.comment&&a.issue.formattingMode&&(a.comment.formattingMode=a.issue.formattingMode);bwc(a.urlTemplate,a.issue,a.customFieldMap);Jlb(a.issue,a);a.originalIssueCopy=ai(a.issue);a.loadHotlists(a.issue.hotlistId).then(function(){a.updateSelectedHotlists();a.originalIssueCopy.hotlistId=ai(a.issue.hotlistId);u5(a)});aJc(a);a.collaboratorGroupsText=
[];a.separateCollaboratorGroups();return a.selectedComponent?null:c.snapshot.componentId};"predefined"===a.selectedTemplate.type&&a.selectedComponent?a.componentTemplateApi.get(a.selectedComponent.componentId,a.selectedTemplate.id).then(Plb(a.selectedComponent)).then(b).then(function(){u5(a)}):"issue"===a.selectedTemplate.type&&(y3b(a.issueTemplate,String(a.selectedTemplate.id)).then(function(c){if(a.currentTracker.inTracker&&a.currentTracker.getTrackerId()!==c.trackerId)throw Error("cf");return b(c)}).then(function(c){c&&
(MIc(a,c),u5(a))}).catch(function(c){a.butterBar.showWarning(c.message)}),(0,E.firstValueFrom)(a.issueFridge.watch(String(a.selectedTemplate.id))).then(function(c){var d;null!=(d=a.parentIssueIds)&&d.length||(a.parentIssueIds=null==c?void 0:c.parentIssueIds)}));a.selectedTemplate.id!==a.preferredTemplateId&&a.analytics.trackEvent(Kp.CREATE_ISSUE,"changeTemplate");UIc(a)}};
t5.prototype.isValid=function(){return!(0!==tkb(this).length||0!==ukb(this).length)&&!!(this.isBlockedByIssueIdValid&&this.isBlockingIssueIdValid&&this.isParentIssueIdsValid&&this.isCollaboratorsValid)&&!Akb(this.comment)&&!0};
var tkb=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})},ukb=function(a){return(a.issue.customField||[]).filter(function(b){return a.isCustomFieldRequired(b)&&zo(b)}).map(function(b){return'custom field "'+a.getCustomFieldName(b)+'"'})},cJc=function(a){return 0===a.collaboratorsText.length?Promise.resolve(!0):z_b(a.jspbPrincipalTypes,
a.collaboratorsText,!1).then(function(b){a.invalidCollaboratorsInput=Object.entries(b).filter(function(c){c=l(c);c.next();c=c.next().value;return"USER"!==(null==c?void 0:c.principalType)}).map(function(c){return l(c).next().value});return 0===a.invalidCollaboratorsInput.length}).catch(function(b){a.butterBar.showWarning(b.message);return!1})},glb=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)},
Wkb=function(a){return a.split(",").map(function(b){return b.trim()}).filter(Boolean)},Hs=function(a){return a?a.join(", "):""},aJc=function(a){if(wda(a.customFieldMap,function(c){return c.required||!1})||a.hasAdvancedFieldsInUrlTemplate){var b;null==(b=a.advancedFieldsZippy)||b.open()}};g=t5.prototype;g.getCustomFieldType=function(a){var b,c;return null!=(c=null==(b=this.customFieldMap[a.customFieldId])?void 0:b.type)?c:""};
g.getCustomFieldName=function(a){return(a=this.customFieldMap[a.customFieldId])?a.name:""};g.getCustomFieldAllowedValues=function(a){return(a=this.customFieldMap[a.customFieldId])&&a.allowedValue?a.allowedValue:null};g.getCustomFieldValue=function(a){return yo(a)};g.getDateValue=function(a){return a};
g.setCustomFieldValue=function(a,b){var c=this.getCustomFieldType(a),d=this.issue.customField.map(function(e){if(e.customFieldId===a.customFieldId)switch(c){case "TEXT":e.textValue=b;break;case "DATE":e.dateValue=b;break;case "ENUM":e.enumValue=b;break;case "NUMERIC":e.numericValue=b;break;case "REPEATED_TEXT":e.repeatedTextValue={values:b};break;case "REPEATED_DATE":e.repeatedDateValue={values:b};break;case "REPEATED_ENUM":e.repeatedEnumValue={values:b};break;case "REPEATED_NUMERIC":e.repeatedNumericValue=
{values:b}}return e});this.analytics.trackEvent(Kp.CREATE_ISSUE,"changeCustomField",c);this.issue=Object.assign({},this.issue,{customField:d})};g.isCustomFieldRequired=function(a){return this.customFieldMap[a.customFieldId]?this.canEditIssuesInComponent&&!!this.customFieldMap[a.customFieldId].required:!1};g.getListFieldValues=function(a){var b,c;return null!=(c=null==(b=yo(a))?void 0:b.values)?c:null};
g.saveCommentDraft=function(){this.descriptionBannedWordsChecker.reset();var a=this.comment.value;a===this.templateComment&&(a="");this.draftStore.setDraft("0",a);this.issue=Object.assign({},this.issue,{comment:a})};
g.handleHotlistPickerSave=function(a){var b=[];a=l(Object.entries(a.newSelectionMap));for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;(d=d.next().value)&&b.push(Number(c))}this.issue=Object.assign({},this.issue,{hotlistId:b});this.updateSelectedHotlists();this.analytics.trackEvent(Kp.CREATE_ISSUE,"changeHotlists")};g.removeHotlist=function(a){var b;va(null!=(b=this.issue.hotlistId)?b:null,a);this.updateSelectedHotlists()};
g.setTitle=function(a){this.titleBannedWordsChecker.reset();this.issue=Object.assign({},this.issue,{title:a})};g.setPriority=function(a){this.issue=Object.assign({},this.issue,{priority:Uh(a)});var b;this.analytics.trackEvent(Kp.CREATE_ISSUE,"changePriority",null!=(b=this.issue.priority)?b:void 0)};var Nkb=function(a,b){a.issue=Object.assign({},a.issue,{type:fra(b)});var c;a.analytics.trackEvent(Kp.CREATE_ISSUE,"changeType",null!=(c=a.issue.type)?c:void 0)};
t5.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)});xaa(this.selectedHotlists,function(b,c){return Eq(b.name,c.name)})};
var dJc=function(a,b){var c,d,e,f,h,k,q,t,w,y,C;return qe(function(J){switch(J.nextAddress){case 1:c=String(b.issueId);d=a.parentIssueIds;if(!d){J.jumpTo(2);break}e=[];return 1===d.length?J.yield(a.issueRelationshipsFridge.assignParentToIssues(d[0],[{issueId:c,afterIssueId:a.afterIssueId}]),6):J.yield(n4b(a.issueRelationshipsFridge,c,d),5);case 5:h=J.yieldResult;e=h.notAdded;f=h.errors;J.jumpTo(4);break;case 6:k=J.yieldResult,e=k.notAdded,f=k.errors;case 4:e.length&&a.butterBar.showWarning("Unable to add "+
e+" as parent(s). "+f);case 2:q=a.childrenIssueIds;if(null==(t=q)||!t.length){J.jumpTo(7);break}return J.yield(a.issueRelationshipsFridge.assignParentToIssues(c,q.map(function(I){return{issueId:I}})),8);case 8:w=J.yieldResult,y=w.notAdded,C=w.errors,y.length&&a.butterBar.showWarning("Unable to add "+y+" as children. "+C);case 7:return J.return(b)}})},ylb=function(a,b,c){var d,e,f,h,k,q,t,w,y,C,J,I,P,O,U,aa,na,sa,Ba,Pa,Ja,cb;return qe(function(qb){switch(qb.nextAddress){case 1:return qb.yield(cJc(a),
2);case 2:a.isCollaboratorsValid=qb.yieldResult;d=a.issue;a.submitRequested=!0;if(!a.isValid()){if(e=document.querySelector(".bv2-view"))e.scrollTop=0;return qb.return()}d.issueAccessLimitLevel=a.selectedAccessLimitLevel;d.issueAccessLimitLevel&&"LIMIT_NONE"!==d.issueAccessLimitLevel&&a.analytics.trackEvent(Kp.ISSUE_ACCESS_LIMITS,"create","create_issue:"+d.issueAccessLimitLevel);d.comment=a.comment.value;d.formattingMode=a.comment.formattingMode;f={snapshot:d,attachments:a.comment.getAttachments()};
a.enableRecaptcha&&(f.recaptchaToken=a.recaptchaResponse);a.selectedTemplate&&"predefined"===a.selectedTemplate.type&&(f.templateId=a.selectedTemplate.id);a.judgementForNewContent&&"NONE_DETECTED"!==a.judgementForNewContent.severity&&(f.contentJudgement=a.judgementForNewContent);a.canEditIssuesInComponent||(h={title:f.snapshot.title,componentId:f.snapshot.componentId,comment:f.snapshot.comment,formattingMode:f.snapshot.formattingMode,cc:!a.canViewIssuesInComponent&&!a.componentHasExpandedAccessEnabled||
a.enableCreateIssueWithTemplate?[]:[a.userEmail]},f.snapshot=h);f.snapshot=cc(f.snapshot,function(Ra){return"string"!==typeof Ra||!Ei(Ra)});f.snapshot.customField&&(f.snapshot.customField=f.snapshot.customField.filter(function(Ra){return!zo(Ra)}));Klb(a,f.snapshot);if(a.trackerId$.value&&"VULNERABILITY"===f.snapshot.type&&(k=bMa(a.activeSession.getEnvironmentType(),a.trackerId$.value),void 0!==k)){f.snapshot.collaboratorsUsers||(f.snapshot.collaboratorsUsers=[]);q=l(k);for(t=q.next();!t.done;t=q.next())w=
t.value,f.snapshot.collaboratorsUsers.push(w);f.snapshot.issueAccessLimitLevel="LIMIT_VIEW"}0<a.collaboratorGroupsText.length&&(f.snapshot.collaboratorsUsers=Lra(a.collaboratorGroupsText).concat(f.snapshot.collaboratorsUsers||[]));f.snapshot.assigneeUser&&(f.snapshot.status="ASSIGNED");y=function(){a.isSaving=!0;a.newIssueStarted=!1;Fs(a.butterBar,"Creating...",0);a.issueApi.createIssue(f).then(function(Ra){return dJc(a,Ra)}).then(function(Ra){a.draftStore.$window.sessionStorage.removeItem(Do("0"));
a.originalIssueCopy=ai(a.issue);a.analytics.trackEvent(Kp.CREATE_ISSUE,"create","MARKDOWN"===a.comment.formattingMode?"markdown":"non markdown");eJc(a);0<a.collaboratorGroupsText.length&&a.analytics.trackEvent(Kp.QUICK_ADD_COLLABORATORS,"create","create_issue:"+Ra.issueId);if(c){var fa;a.analytics.trackEvent(Kp.CREATE_ISSUE,"fileAndRedirect","component",null!=(fa=d.componentId)?fa:void 0);a.butterBar.dismiss();a.isNavigatingAway=!0;a.isSaving=!1;XF(a.userAccess,"reader","issues/"+Ra.issueId).then(function(Wa){a.componentPickerTouched=
!1;Wa?cwc(a.redirectUrl,a.paths.editIssue(Ra.issueId),String(Ra.issueId)):(Fs(a.butterBar,"New issue created: "+Ra.issueId+" (view access not granted)",0),cwc(a.redirectUrl,a.paths.listIssues()));u5(a)}).catch(function(Wa){a.errorHandler.errorHandler(null,Wa);a.isNavigatingAway=!1})}else{a.componentPickerTouched=!1;var wa;a.analytics.trackEvent(Kp.CREATE_ISSUE,"fileAndNew","component",null!=(wa=d.componentId)?wa:void 0);fa={};Z2b(a.butterBar,eh(["New issue created: ",fh("a",(fa.href=a.paths.editIssue(Ra.issueId),
fa),String(Ra.issueId))]),0);d.title=a.templateTitle;a.comment=new WO(a.templateComment);(d.comment=a.templateComment)&&a.templateCommentFormattingMode&&(a.comment.formattingMode=a.templateCommentFormattingMode,d.formattingMode=a.templateCommentFormattingMode);a.isSaving=!1;a.submitRequested=!1;var Ca;fa=l(null!=(Ca=a.magicBoxes)?Ca:[]);for(Ca=fa.next();!Ca.done;Ca=fa.next())Ca.value.refresh();a.newIssueStarted=!0;a.originalIssueCopy=ai(a.issue)}u5(a)}).catch(function(Ra){403===Ra.status&&wn(Ra)?
GG(a.errorHandler,xn(Ra)):a.errorHandler.errorHandler(null,Ra);a.isSaving=!1;a.submitRequested=!1;a.newIssueStarted=!1}).finally(function(){a.titleBannedWordsChecker.reset();a.descriptionBannedWordsChecker.reset()})};return qb.yield(fJc(a),3);case 3:return(C=qb.yieldResult)?qb.yield(gJc(a),4):qb.return();case 4:return(J=qb.yieldResult)?qb.yield(soc(a.confirmIssueAccessLimitSettingsService,{assigneeUser:null==(I=f.snapshot.assigneeUser)?void 0:I.emailAddress,verifierUser:null==(P=f.snapshot.verifierUser)?
void 0:P.emailAddress,ccUsers:null==(O=f.snapshot.ccUsers)?void 0:O.map(function(Ra){return Ra.emailAddress}).filter(jl),collaboratorsUsers:null==(U=f.snapshot.collaboratorsUsers)?void 0:U.map(function(Ra){return null==Ra?void 0:Ra.emailAddress}).filter(jl),issueAccessLimitLevel:f.snapshot.issueAccessLimitLevel,currentUserEmail:a.activeSession.getUserEmail(),canEditIssuesInComponent:a.canEditIssuesInComponent,confirmationDialogText:JIc}),5):qb.return();case 5:return(aa=qb.yieldResult)?qb.yield(a.titleBannedWordsChecker.check(null!=
(na=a.issue.title)?na:"",hJc(a),f.snapshot.componentId),6):qb.return();case 6:return sa=qb.yieldResult,qb.yield(a.descriptionBannedWordsChecker.check(null!=(Ba=a.issue.comment)?Ba:"",hJc(a),f.snapshot.componentId),7);case 7:Pa=qb.yieldResult;if(!sa||!Pa)return null==(Ja=b)||Ja.preventDefault(),null==(cb=b)||cb.stopPropagation(),qb.return();y();we(qb)}})},hJc=function(a){return!!a.selectedComponent&&!!a.selectedComponent.accessLimit&&"EXTERNAL_PUBLIC"===a.selectedComponent.accessLimit.accessLevel},
fJc=function(a){var b=Oj();!a.canEditIssuesInComponent&&!a.frontendIsInternalOrPartner&&a.selectedComponent&&a.selectedComponent.accessLimit&&"INTERNAL"!==a.selectedComponent.accessLimit.accessLevel?a.confirmationDialogService.open({title:"",content:ch("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},gJc=function(a){var b=
Oj();!a.canEditIssuesInComponent||"VULNERABILITY"!==a.issue.type&&"PRIVACY_ISSUE"!==a.issue.type?b.resolve(!0):LO(a.issueTypeDialog,a.issue.type,function(){b.resolve(!0)},function(){b.resolve(!1)});return b.promise},NIc=function(a,b){a.isLoadingComponent=!0;a.componentActions.search(b).then(function(c){1===c.length?(QIc(a,c[0]),u5(a),a.newIssueStarted=!0):a.selectedComponent=c[0]}).catch(function(){a.butterBar.showWarning("Unable to load components from the provided query.")}).finally(function(){a.isLoadingComponent=
!1})},MIc=function(a,b){a.isLoadingComponent=!0;a.componentActions.getUncached(b).then(function(c){if(a.currentTracker.inTracker&&a.currentTracker.getTrackerId()!==c.trackerId)throw Error("df");QIc(a,c);u5(a)}).catch(function(){a.butterBar.showWarning("Component ID "+b+" does not exist or you do not have access.")}).finally(function(){a.isLoadingComponent=!1})};t5.prototype.hasUnsavedChanges=function(){var a=Nlb(this.issue),b=Nlb(this.originalIssueCopy);return!$h(a,b)||this.comment.value!==this.originalIssueCopy.comment};
var Skb=function(a){a.showRecentIssuesInline=!a.showRecentIssuesInline;a.analytics.trackEvent(Kp.CREATE_ISSUE,"toggleRecentIssuesInline",a.showRecentIssuesInline.toString())},$Ic=function(a,b){a.matDialogService.open(a.descriptionConfirmDialog,{data:b}).afterClosed().pipe(Te()).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="")})},UIc=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)))},pkb=function(a){return a.sessionIsExternal?!1:VRa(a.selectedComponent)},qkb=function(a){return xD(a.activeSession)?!1:up(a.selectedComponent)},TIc=function(a){if(a.selectedComponent&&a.selectedComponent.componentPathInfo&&a.selectedComponent.componentPathInfo.allCustomField){for(var b=a.selectedComponent.componentPathInfo.allCustomField,c={},d=l(b),e=d.next();!e.done;e=d.next())e=e.value,c[e.customFieldId]=e;a.customFieldMap=c;a.customFieldAllowedValuesMap=
Olb(b);iJc(a)}},iJc=function(a){if(a.issue.customField){a.issue.customField=a.issue.customField.filter(function(e){return a.customFieldMap[e.customFieldId]&&a.customFieldMap[e.customFieldId].enabledOnIssues});for(var b=a.issue.customField.map(function(e){return e.customFieldId}),c=l(Object.values(a.customFieldMap)),d=c.next();!d.done;d=c.next())d=d.value,!b.includes(d.customFieldId)&&d.enabledOnIssues&&a.issue.customField.push(d.typedDefaultValue||{customFieldId:d.customFieldId});a.originalIssueCopy.customField=
a.issue.customField}},ZIc=function(a){if(a.canViewIssuesInComponent||a.componentHasExpandedAccessEnabled)void 0!==a.ccsText?a.ccsText.includes(a.userEmail)||(a.ccsText=[a.userEmail].concat(u(a.ccsText))):a.ccsText=[a.userEmail]};g=t5.prototype;g.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=l(b);for(var c=b.next();!c.done;c=b.next())a.addHotlist(c.value);u5(a)}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.addHotlist=function(a){var b=this.hotlistMap[a.hotlistId];b&&va(this.hotlists,b);this.hotlistMap[a.hotlistId]=a;this.hotlists.push(a)};g.createHotlist=function(a){var b=this;this.analytics.trackEvent("baseIssue","createHotlist");Fs(this.butterBar,"Creating hotlist "+a.name+"...",0);this.hotlistApi.createHotlist(a.name).then(function(c){Fs(b.butterBar,"Hotlist "+a.name+" created successfully.");b.addHotlist(c);b.appEvents.hotlistCreated.next();a.successCallback(c);u5(b)}).catch(a.errorCallback)};
g.loadHotlist=function(a){var b=this,c=a.hotlistId;return this.hotlistMap[c]?Promise.resolve(this.hotlistMap[c]):this.hotlistApi.get(c).then(function(d){b.addHotlist(d);a.successCallback(d);u5(b);return d},function(){var d=b.hotlistMap[c];ec(b.hotlistMap,c);va(b.hotlists,d);a.errorCallback()})};g.loadHotlists=function(a){var b=this;a=a.map(function(c){return b.loadHotlist({hotlistId:c,successCallback:function(){},errorCallback:function(){}})});return Promise.all(a).then(function(){u5(b)})};
var LIc=function(a){var b;switch((null==(b=a.format)?void 0:b.toLowerCase())||""){case "plain":return"PLAIN";case "markdown":return"MARKDOWN"}},KIc=function(a){var b;return Ai(null==(b=ME(a.userPreferencesManager).textDisplayPreferences)?void 0:b.lastPublishMode)||"PLAIN"};
t5.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)})};t5.prototype.showContentJudgementDialog=function(a){return this.matDialogService.open(cY,{panelClass:"no-jitter",width:"500px",data:a}).afterClosed()};
var PIc=function(a){a.componentPickerTouched&&(a.analytics.trackEvent(Kp.CREATE_ISSUE,"exit-after-component-picker-interaction","new-ui"),a.componentPickerTouched=!1);a.analytics.trackEvent(Kp.CREATE_ISSUE,"creation-abandon","new-ui")},eJc=function(a){var b=(new Date).getTime()-a.startTime.getTime();if(0<b){var c=Math.min(b,108E5);Q3b("createIssue",c,"new-ui");a.analytics.trackEvent(Kp.CREATE_ISSUE,"createIssue","time-to-create-new-ui",c);WH(a.clearcut,b,"createIssue-fromNewIssuePage")}a.startTime=
new Date};Gh.Object.defineProperties(t5.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(){bJc(b)})}}}});
t5.\u0275fac=function(a){return new (a||t5)(B(ef),B(GE),B(QJ),B(cF),B(D0),B(VF),B(KH),B(bF),B(B0),B(sH),B(KO),B(kL),B(nt),B(JO),B(UG),B(aI),B(kG),B(SH),B(PF),B(EG),B(FG),B(vA),B(lG),B(XO),B(TE),B(LE),B(AX),B(BD),B(XD,2),B(SJ),B(FI),B(iI),B(mH),B(VH),B(SG),B(WD),B(RG),B(HIc),B(IIc),B(PW),B(rH))};
t5.\u0275cmp=r({type:t5,selectors:[["b-create-issue-page"]],viewQuery:function(a,b){a&1&&(og(yS,5),og(qU,5),og(FIc,5),og(p5,5),og(l5,5));if(a&2){var c;ng(c=qg())&&(b.hotlistPicker=c.first);ng(c=qg())&&(b.commentBox=c.first);ng(c=qg())&&(b.descriptionConfirmDialog=c.first);ng(c=qg())&&(b.advancedFieldsZippy=c.first);ng(c=qg())&&(b.magicBoxes=c)}},hostBindings:function(a,b){a&1&&Q("unload",function(){return b.unloadPageHandler()},!1,Nd)},features:[bg([XD,{provide:HIc,useClass:zX},{provide:IIc,useClass:zX}]),
yf],decls:33,vars:15,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,"create-issue-right-sidebar",
"padded-s-top"],[3,"context","componentId",4,"ngIf"],[3,"componentId","issueTitle","issue","customFieldMap","headerChange",4,"ngIf"],["descriptionConfirmDialog",""],["collaboratorGroupField",""],[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"],["for","bv2-title",1,"required"],[1,"bv2-create-issue-title","flex-kids-x","align-items-center"],["type","text","name","title","aria-label","Issue Title","id","bv2-title","name","title","required","","aria-required","true","autocomplete","off",3,"ngModel","bFocus","ngModelChange"],[3,"description",4,"ngIf"],[3,"suggestionAccepted",4,"ngIf"],["class","banned-words-warning break-word",4,"ngIf"],["class","similar-issues-inline margin-bottom",4,"ngIf"],["class","bv2-recent-issues-inline-container",
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 break-word",
"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"],[3,"description"],[3,"suggestionAccepted"],[1,"banned-words-warning","break-word"],["target","_blank","aria-label","Learn more about banned words","href","http://go/b-trackers#banned-words-for-tracker",1,"color-bad-text","keep-underline"],["for","bv2-priority",1,"required"],["mat-button","","type","button","color","primary",3,"matMenuTriggerFor"],["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,"similar-issues-inline","margin-bottom"],[3,"context","componentId","inline"],[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,"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",
"break-word"],[1,"bv2-create-issue-row","access-level-row"],["for","bv2-access-limits","title","Set access level of this issue"],["id","bv2-access-limits",3,"disabled","implicitAccessEnabled","defaultAccessLimitLevel","updatedAccessLimitLevel"],["for","bv2-collaborator-groups","title","Set collaborator groups on the issue"],["svgIcon","help-outline","tabindex","0","aria-hidden","false",1,"icon-s","valign-middle","collaborator-group-help-icon",3,"matTooltip"],[4,"ngTemplateOutlet"],[1,"mat-elevation-z0"],
["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"],[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"],[3,"context","componentId"],[3,"componentId","issueTitle","issue","customFieldMap","headerChange"],["mat-dialog-title",
""],[1,"bv2-create-issue-default-description"],["mat-button","",3,"mat-dialog-close"],["mat-button","","mat-dialog-close",""],["appearance","outline",1,"static-label"],["multiple","","aria-label","Collaborator groups",3,"ngModel","ngModelOptions","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(a,b){a&1&&(H(0,"h2",0),T(1,"Create issue"),K(),H(2,"div",1)(3,"div",2)(4,"button",3),Q("click",function(){return b.back()}),L(5,"mat-icon",4),K(),H(6,"h2"),T(7,"Create Issue"),
K(),F(8,nkb,1,2,"b-hotlist-picker",5),K()(),H(9,"div",6)(10,"div")(11,"div",7)(12,"form",8),F(13,skb,6,8,"div",9)(14,Bkb,4,3,"div",10)(15,Dkb,2,1,"div",11),H(16,"div",12)(17,"div",13)(18,"div",14)(19,"label",15),T(20,"Component"),K()(),H(21,"div",16)(22,"b-team-component-picker",17),Q("selectedComponentChange",function(c){return QIc(b,null!==c&&void 0!==c?c:null)})("touched",function(){return b.componentPickerTouched=!0}),K()()(),F(23,Gkb,11,5,"div",18),K(),F(24,Hkb,3,0,"div",19)(25,Clb,43,40,"div",
20),K()(),H(26,"div",21),F(27,Dlb,1,2,"similar-issues",22)(28,Elb,1,4,"b-magic-box",23),K()()(),F(29,Flb,11,2,"ng-template",null,24,tg)(31,Ilb,5,5,"ng-template",null,25,tg));a&2&&(A(8),G("ngIf",b.canEditIssuesInComponent),A(4),G("ngClass",fg(13,GIc,b.submitRequested)),A(1),G("ngIf",pkb(b)||qkb(b)),A(1),G("ngIf",b.submitRequested&&!b.isValid()),A(1),G("ngIf",0<b.selectedHotlists.length),A(7),G("selectedComponent",b.selectedComponent)("shouldFocus",!b.componentRequestedInUrl&&!b.templateIssueRequestedInUrl)("isRequired",
!0),A(1),G("ngIf",0<b.availablePredefinedTemplates.length||null!=b.availableExistingIssueTemplate),A(1),G("ngIf",!b.isLoadingComponent&&(null!=b.componentRequestedInUrl||null!=b.selectedComponent)&&!b.canCreateNewIssuesInComponent&&!b.createAclLoading&&b.selectedComponent),A(1),G("ngIf",b.canCreateNewIssuesInComponent||b.createAclLoading||!b.selectedComponent),A(2),G("ngIf",b.enableEmbeddedSimilarIssuesUi&&b.issue.componentId),A(1),G("ngIf",!b.enableEmbeddedSimilarIssuesUi))},dependencies:[rJ,qU,
LT,KR,WM,eZ,BA,FA,rX,Ew,Jg,ww,xw,Ow,Qw,Dw,Bw,NW,yS,AD,LW,kS,l5,eA,Px,JP,IP,hA,wA,xA,yA,zA,p5,q5,r5,ZB,XB,YB,oQ,dC,m5,wL,Sv,Tv,Uv,Zv,MA,vU,OW,e5,h5,i5,zJ],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}[_nghost-%COMP%]     mat-form-field.static-label{width:180px;margin-top:3px;font-size:1rem}[_nghost-%COMP%]     mat-form-field.static-label .mat-form-field-infix{padding:4px}[_nghost-%COMP%]     mat-form-field.static-label .mat-select-arrow-wrapper{-webkit-transform:translateY(50%);transform:translateY(50%)}.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)}.similar-issues-inline[_ngcontent-%COMP%]{display:none}@media (max-width:1099px){.similar-issues-inline[_ngcontent-%COMP%]{display:inline-block;width:750px}}.create-issue-right-sidebar[_ngcontent-%COMP%]{display:none}@media (min-width:1100px){.create-issue-right-sidebar[_ngcontent-%COMP%]{display:inline-block;min-width:300px;max-width:400px;position:absolute}}\n/*# sourceMappingURL=create_issue_page.css.map */"]});
var Llb={hotlistId:[],comment:"",severity:"S2",inProd:!1,customField:[]},YIc=function(a,b,c,d){this.id=a;this.type=b;this.name=c;this.isDefault=d};var jJc=["form"],v5=function(a,b,c,d,e,f,h,k){this.bLocation=a;this.sloApi=b;this.errorHandler=c;this.paths=d;this.analytics=e;this.butterBar=f;this.appHistory=k;this.isSaving=this.elementPickerIsValid=!1;this.createSloForm=null;this.error="";this.sloUnderEdit={sloId:"0",parentId:"0",name:"",description:"",elements:[],effectiveElements:[],alertState:"OFF",isArchived:!1};h.setTitle("Create SLO")};g=v5.prototype;g.ngAfterViewInit=function(){};
g.save=function(){var a=this;if(!this.validate())return Promise.reject("Correct the errors in the form");Fs(this.butterBar,"Saving SLO...",0);this.isSaving=!0;return this.sloApi.create(this.sloUnderEdit).then(function(b){Fs(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})};g.back=function(){C0(this.appHistory)};
g.revertChanges=function(){this.sloUnderEdit.name="";this.sloUnderEdit.description="";this.sloUnderEdit.elements=[]};g.updateCollection=function(a){this.sloUnderEdit.elements=a};g.validate=function(){if(this.createSloForm.invalid||!this.elementPickerIsValid)return this.error="Error: You must fill out all required fields and ensure the rules are valid.",!1;this.error="";return!0};v5.\u0275fac=function(a){return new (a||v5)(B(bF),B(bX),B(FG),B(cF),B(aI),B(EG),B(UG),B(B0))};
v5.\u0275cmp=r({type:v5,selectors:[["create-slo-page"]],viewQuery:function(a,b){a&1&&og(jJc,5);if(a&2){var c;ng(c=qg())&&(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),Q("onAction",function(){return b.back()}),L(3,"b-icon",3),K()()(),H(4,"div",4)(5,"h2",5)(6,"span",6),T(7,"Create a new SLO"),K()(),H(8,"div",7)(9,"form",8,9),L(11,"b-error-banner",10),H(12,"div",11)(13,"label",12),T(14,"Name"),K(),H(15,"input",13),Q("ngModelChange",function(c){return b.sloUnderEdit.name=c}),K()(),H(16,"div",11)(17,"label",14),T(18,"Description"),K(),H(19,"textarea",15),Q("ngModelChange",function(c){return b.sloUnderEdit.description=c}),T(20,"        "),K()(),H(21,
"div",11)(22,"slo-elements-picker",16),Q("onCollectionUpdate",function(c){return b.updateCollection(c)})("onValidation",function(c){return b.elementPickerIsValid=c}),K()(),H(23,"p",17),T(24," Access controls may be defined once the slo is created. "),K(),H(25,"div",18)(26,"b-button",19),Q("onAction",function(){return b.save()}),T(27," Save "),K(),H(28,"b-button",20),Q("onAction",function(){return b.revertChanges()}),T(29," Revert changes "),K()()()()());a&2&&(A(9),Jf("show-errors",b.error),A(2),G("error",
b.error),A(1),Jf("bv2-edit-resource-readonly",b.isSaving),A(3),G("required",!0)("bFocus",!0)("ngModel",b.sloUnderEdit.name)("disabled",b.isSaving),A(1),Jf("bv2-edit-resource-readonly",b.isSaving),A(3),G("ngModel",b.sloUnderEdit.description)("disabled",b.isSaving),A(3),G("isDisabled",!1)("collection",b.sloUnderEdit.elements),A(4),G("disabled",b.isSaving||(null==b.createSloForm?null:b.createSloForm.pending)||(null==b.createSloForm?null:b.createSloForm.invalid)||!b.elementPickerIsValid),A(2),G("disabled",
!(""!==b.sloUnderEdit.name||""!==b.sloUnderEdit.description||0<b.sloUnderEdit.elements.length)))},dependencies:[rJ,WZ,rX,Ew,Jg,ww,xw,Ow,Dw,Bw,AD,q0],encapsulation:2});var w5=function(){this.nextPanelId=1};w5.\u0275fac=function(a){return new (a||w5)};w5.\u0275prov=Dc({token:w5,factory:w5.\u0275fac,providedIn:"root"});var x5=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I,P,O,U,aa,na,sa){Z.call(this);this.cdr=a;this.paths=b;this.bLocation=c;this.$log=d;this.analytics=e;this.issueApi=f;this.userApi=h;this.bookmarkGroupsApi=k;this.hotlistApi=q;this.butterBar=t;this.pageTitle=w;this.dashboards=y;this.routeParams=C;this.appSearchState=I;this.userAccess=P;this.errorHandler=O;this.statusMessages=U;this.appEvents=aa;this.hotlistFridge=na;this.issueFridge=sa;this.ANALYTICS_CATEGORY="dashboard";this.panels=[];this.hotlistChoices=
[];this.hotlistMap={};this.isStarred=!1;this.bookmarkGroup=null;this.isAdmin=!1;this.userEmail=J.getUserEmail();this.groupId=C.groupId||null};Y(x5,Z);x5.\u0275dir=Z.\u0275dir;
x5.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){kJc(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){lJc(a,
b,function(c){return c+1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveUp.subscribe(function(b){lJc(a,b,function(c){return c-1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToTop.subscribe(function(b){lJc(a,b,function(){return 0})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToBottom.subscribe(function(b){lJc(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 Ulb=function(a,b){var c=b.selectedIssues;if(a=mJc(a,b.panelId))a.selectedIssues=null!=c?c:[]},Tlb=function(a,b,c){b.focusedRowIndex=c;if(null!=c)for(a=l(a.panels),c=a.next();!c.done;c=a.next())c=c.value,c!==b&&(c.focusedRowIndex=null)},mJc=function(a,b){return a.panels.find(function(c){return c.panelId===b})},nJc=function(a,b){a=a.panels.findIndex(function(c){return c.panelId===b});return-1!==a?a:void 0};g=x5.prototype;
g.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=l(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;a.hotlistFridge.announce(c);var d=a.hotlistMap[c.hotlistId];$h(d,c)||(d&&va(a.hotlistChoices,d),a.hotlistChoices.push(c),a.hotlistMap[c.hotlistId]=c,a.cdr.detectChanges())}}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
g.createHotlist=function(a){var b=this,c=a.name,d=a.successCallback;a=a.errorCallback;this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"createHotlist");Fs(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);Fs(b.butterBar,"Hotlist "+c+" created successfully.");b.hotlistChoices.push(e);b.hotlistMap[e.hotlistId]=e;b.appEvents.hotlistCreated.next();d(e);b.cdr.detectChanges()}).catch(a)};
g.loadHotlist=function(a){var b=this,c=a.hotlistId,d=a.successCallback;a=a.errorCallback;Fs(this.butterBar,"Loading hotlist "+c);this.hotlistMap[c]||this.hotlistApi.get(c).then(function(e){b.addHotlist(e);d(e);b.cdr.detectChanges()}).catch(a)};g.addHotlist=function(a){this.hotlistMap[a.hotlistId]||(this.hotlistMap[a.hotlistId]=a,this.hotlistChoices.push(a))};
g.loadHotlists=function(a){var b=this,c=new Set;a=l(a);for(var d=a.next();!d.done;d=a.next()){d=l(d.value.hotlistId||[]);for(var e=d.next();!e.done;e=d.next())e=e.value,this.hotlistMap[e]||c.has(e)||c.add(e)}c=l(c);for(e=c.next();!e.done;e=c.next())this.hotlistApi.get(e.value).then(function(f){b.hotlistFridge.announce(f);b.addHotlist(f);b.cdr.detectChanges()}).catch(function(f){(new Set([403,404])).has(f.status)||b.errorHandler.errorHandler(null,f)})};
g.sendBulkEditRequest=function(a,b){var c=this;if(1===a.length&&1===a[0].actions.length&&"readState"===a[0].actions[0].fieldName){var d=!!a[0].actions[0].value;b=l(this.panels);for(var e=b.next();!e.done;e=b.next()){e=l(e.value.selectedIssues);for(var f=e.next();!f.done;f=e.next())f.value.isRead=d}this.cdr.detectChanges();Fs(this.butterBar,"Marking "+a[0].issueIds.length+" issues  "+(d?"read":"unread")+"...",0);return lI(this.issueFridge,a[0].issueIds,{markRead:d,userActivityType:"MARK_AS_READ_OR_UNREAD"}).then(function(k){Fs(c.butterBar,
"Issues marked "+(d?"read":"unread")+".");for(var q=l(c.panels),t=q.next();!t.done;t=q.next()){t=l(t.value.selectedIssues);for(var w=t.next();!w.done;w=t.next()){var y=void 0;w.value.lastViewedTime=null!=(y=k)?y:null}}}).catch(function(k){for(var q=l(c.panels),t=q.next();!t.done;t=q.next()){t=l(t.value.selectedIssues);for(var w=t.next();!w.done;w=t.next())w=w.value,w.isRead=!!w.lastViewedTime&&w.lastViewedTime>=w.majorModifiedTime}c.errorHandler.errorHandler(null,k)}).finally(function(){c.cdr.detectChanges()})}e=
iLa(a).map(function(k){return k.fieldName});this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"bulkEdit",e.join(","));var h={bulkEditOps:a};Fs(this.butterBar,"Saving changes...",0);return this.issueApi.issueBulkEdit(h,b).then(function(k){for(var q=l([].concat(u(c.searchPanels),u(c.hotlistPanels))),t=q.next();!t.done;t=q.next()){t=t.value;var w=k;if(t.searchResults){t.searchResults=t.searchResults.clone();for(var y=0,C=l(t.searchResults.issues),J=C.next();!J.done;J=C.next()){J=J.value;if(w.affectedIssues[J.issueId]){var I=
w.affectedIssues[J.issueId];I=gwa(I,w.componentMap[Number(qa(I.snapshot).componentId)]);I.selected=J.selected;t.searchResults.issues[y]=I;t.resultsLoaded.emit([t.searchResults.issues[y]])}y++}}}k.errors&&k.errors.length?(q=zra(k.errors,"issueId"),c.butterBar.showWarning("Failed to update issue(s) "+q.join(", ")+"."),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+k.errors.length)):(k=tac(c.statusMessages,h))?Fs(c.butterBar,k):Fs(c.butterBar,"Saved "+jLa(a).length+" issue(s).")}).catch(function(k){c.errorHandler.errorHandler(null,
k)})};g.loadBookmarkGroup=function(){var a=this;return this.bookmarkGroupsApi.get(this.groupId).then(function(b){XF(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 kJc=function(a,b){a.panels=(b.item||[]).map(function(c,d){return oJc(a,c,0===d?0:void 0)})};
x5.prototype.removePanel=function(a){var b=this,c=mJc(this,a);if(null!=c){Fs(this.butterBar,"Saving changes...",0);a=ai(this.bookmarkGroup);var d;a.item=(null!=(d=a.item)?d:[]).filter(function(e){return!pJc(b,c,e)});qJc(this,a)}};
var lJc=function(a,b,c){b=nJc(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=ai(a.bookmarkGroup);var e,f,h=null==(e=a.bookmarkGroup)?void 0:null==(f=e.item)?void 0:f.findIndex(function(k){return pJc(a,d,k)});void 0!==h&&(Aaa(b.item,h,c),qJc(a,b))}}},qJc=function(a,b){a.bookmarkGroupsApi.update(b).then(function(c){a.bookmarkGroup=c;rJc(a,a.bookmarkGroup.item);Fs(a.butterBar,"Bookmark group saved.",4E3);a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:a.bookmarkGroup.bookmarkGroupId});
a.cdr.detectChanges()},function(c){a.errorHandler.errorHandler(null,c)})},pJc=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}},sJc=function(a,b){return a.panels.find(function(c){return pJc(a,c,b)})},oJc=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:[]}},rJc=function(a,b){a.panels=(null!=b?b:[]).map(function(c){var d;return null!=(d=sJc(a,c))?d:oJc(a,c)})};
x5.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)})};x5.prototype.editBookmarkGroup=function(){this.bLocation.setUrl(this.paths.editBookmarkGroup(this.bookmarkGroup.bookmarkGroupId))};
x5.\u0275fac=function(a){return new (a||x5)(B(XD),B(cF),B(bF),B(GE),B(aI),B(kG),B(SH),B(PJ),B(PF),B(EG),B(UG),B(w5),B(XO),B(nt),B(GK),B(VF),B(FG),B(NO),B(lG),B(TH),B(iI))};
x5.\u0275cmp=r({type:x5,selectors:[["dashboard-page"]],viewQuery:function(a,b){a&1&&(og(U_,5),og(S_,5));if(a&2){var c;ng(c=qg())&&(b.searchPanels=c);ng(c=qg())&&(b.hotlistPanels=c)}},features:[bg([XD]),yf],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),T(1,"Dashboard"),K(),H(2,"div",1)(3,"div",2),T(4,"Bookmark groups dashboard"),K(),H(5,"b-dashboard-controls",3),Q("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps,c.recaptchaToken)})("onCreateHotlist",function(c){return b.createHotlist(c)})("onLoadHotlist",function(c){return b.loadHotlist(c)}),K()(),H(6,"div",4),F(7,Slb,8,3,"div",5)(8,Xlb,3,3,"div",6),K());a&2&&(A(5),G("hotlistChoices",b.hotlistChoices)("panels",b.panels),A(1),G("bFocus",!0),
A(1),G("ngIf",b.bookmarkGroup),A(1),G("ngForOf",b.panels))},dependencies:[HW,cK,U_,S_,Tv,Uv,Vv,Wv,rX,dC],encapsulation:2});var y5=function(){};y5.\u0275fac=function(a){return new (a||y5)};y5.\u0275mod=Tc({type:y5});y5.\u0275inj=Ec({imports:[IW,QK,V_,T_,zD,sX,QC]});var tJc=["editBookmarkGroupItemsContainer"],uJc=["bookmarkGroupName"],wmb=function(a){return{"bv2-edit-resource-readonly":a}},ymb=function(a){return{displayText:"Admins",values:a}},xmb=function(a){return[a]},z5=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I,P,O,U,aa){Z.call(this);var na=this;this.routeParams=a;this.location=b;this.butterBar=c;this.accessPolicyApi=d;this.userApi=e;this.bookmarkGroupsApi=f;this.hotlistApi=h;this.paths=k;this.appHistory=q;this.pageTitle=t;this.userAccess=w;this.errorHandler=
C;this.appEvents=I;this.snackBar=P;this.confirmationDialog=O;this.cdr=U;this.documentationLinks=aa;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=J.getUserEmail();this.accessPolicyUnderEdit=Ro();this.flattenedAccessPolicy=Ro();a=this.loadBookmarkGroup(this.routeParams.groupId);
b=this.loadUserAccess(this.routeParams.groupId);this.loadAccessPolicy(this.routeParams.groupId);vJc(this);wJc(this);Promise.all([a,b]).then(function(){var sa;null==(sa=na.bookmarkGroupNameInput)||sa.nativeElement.focus()});this.subscriptions.add(BX(y,function(){return na.hasUnsavedChanges()},!1));y=function(){vJc(na)};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(y));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(y));this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(function(){wJc(na)}))};
Y(z5,Z);z5.\u0275dir=Z.\u0275dir;g=z5.prototype;g.ngOnInit=function(){"access"===this.location.hash()&&(this.selectedTabIndex=1)};g.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)};g.back=function(){C0(this.appHistory)};g.isArchived=function(){return this.bookmarkGroup?this.bookmarkGroup.archived:!1};g.isSaving=function(){return this.isUpdating||this.isArchiving};
g.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()||this.hasUnsavedAccessPolicyChanges()};g.hasUnsavedMetadataChanges=function(){return!$h(this.bookmarkGroup,this.bookmarkGroupUnderEdit)};g.hasUnsavedAccessPolicyChanges=function(){return!$h(this.flattenedAccessPolicy,this.accessPolicyUnderEdit)};g.isEditDisabled=function(){return this.isSaving()||!this.isAdmin};
g.revertMetadataChanges=function(){this.bookmarkGroupUnderEdit=ai(this.bookmarkGroup);this.error="";this.selectedHotlistIds=[xJc(this.bookmarkGroup.item.filter(function(a){return a.hasOwnProperty("hotlistId")}))];yJc(this)};g.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=ai(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};g.saveMetadata=function(){this.validate()&&this.doSaveMetadata()};
g.saveAccessPolicy=function(){var a=this;this.accessPolicyUnderEdit.admins.includes("USER:"+this.currentUserEmail)?this.doSaveAccessPolicy():this.openConfirmationDialog("Change bookmark group admins",ch("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()})};
g.validate=function(){if(""===this.bookmarkGroupUnderEdit.name)return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};g.archive=function(){var a=this;this.openConfirmationDialog("Archive bookmark group",ch("Do you want to archive this bookmark group?"),function(){zJc(a,"archive")})};g.unarchive=function(){var a=this;this.openConfirmationDialog("Unarchive bookmark group",ch("Do you want to unarchive this bookmark group?"),function(){zJc(a,"unarchive")})};
g.doSaveMetadata=function(){var a=this,b=this.bookmarkGroupUnderEdit,c=this.bookmarkGroup.bookmarkGroupId;this.snackBar.open("Saving bookmark group ID "+c,"dismiss",{duration:0});this.isUpdating=!0;this.bookmarkGroupsApi.update(b).then(function(d){a.snackBar.open("Bookmark group ID "+c+" was saved as "+a.bookmarkGroupUnderEdit.name,"dismiss",{duration:2E3});AJc(a,d);a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:c})}).catch(function(d){a.errorHandler.errorHandler(null,d)}).finally(function(){a.isUpdating=
!1})};
g.doSaveAccessPolicy=function(){var a=this;try{var b=To(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=So(c);a.accessPolicyUnderEdit=ai(a.flattenedAccessPolicy);
a.loadUserAccess(a.bookmarkGroup.bookmarkGroupId)},function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isUpdating=!1})};
var zJc=function(a,b){var c=ai(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});AJc(a,d)}).catch(function(d){a.errorHandler.errorHandler(null,d)}).finally(function(){a.isArchiving=!1})};
z5.prototype.loadBookmarkGroup=function(a){var b=this;this.isLoading=!0;return this.bookmarkGroupsApi.get(a).then(function(c){AJc(b,c);b.selectedHotlistIds=[xJc(b.bookmarkGroup.item)];yJc(b);b.pageTitle.setTitle("Bookmark group: "+c.name);b.cdr.detectChanges()},function(c){b.errorHandler.errorHandler(null,c)}).finally(function(){b.isLoading=!1})};var AJc=function(a,b){a.bookmarkGroup=b;a.bookmarkGroup.item||(a.bookmarkGroup.item=[]);a.bookmarkGroupUnderEdit=ai(a.bookmarkGroup)};
z5.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("BOOKMARK_GROUP",a).then(function(c){b.flattenedAccessPolicy=So(c);b.accessPolicyUnderEdit=ai(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};z5.prototype.loadUserAccess=function(a){var b=this;return XF(this.userAccess,"admin","bookmarkGroups/"+a).then(function(c){b.isAdmin=c;b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
var vJc=function(a){a.userApi.getUserHotlists().then(function(b){a.userHotlists=b;a.cdr.detectChanges()})},wJc=function(a){a.userSavedSearches=null;a.userApi.getUserSavedSearches().then(function(b){a.userSavedSearches=b;yJc(a);a.cdr.detectChanges()})},yJc=function(a){if(a.userSavedSearches&&null!=a.bookmarkGroupUnderEdit){var b=BJc(a.bookmarkGroupUnderEdit.item.filter(function(c){return c.hasOwnProperty("savedSearchId")}));a.savedSearchChoices=a.userSavedSearches.filter(function(c){return-1==b.indexOf(c.searchId)})}},
amb=function(a,b){var c=Number(b);xa(a.bookmarkGroupUnderEdit.item,function(e){return e.hotlistId===c});CJc(a,c);var d;null==(d=a.editBookmarkGroupItemsContainer)||d.nativeElement.focus()},cmb=function(a,b){xa(a.bookmarkGroupUnderEdit.item,function(d){return d.savedSearchId===b});yJc(a);var c;null==(c=a.editBookmarkGroupItemsContainer)||c.nativeElement.focus()},pmb=function(a,b){switch(b.resourceType){case "SAVED_SEARCH":return a.paths.viewSavedSearch(b.savedSearchId);case "HOTLIST":return a.paths.viewHotlist(b.hotlistId);
default:Oh(b.resourceType)}},kmb=function(a,b){for(var c=l(Object.entries(b.newSelectionMap)),d=c.next(),e={};!d.done;e={id$jscomp$538:e.id$jscomp$538},d=c.next()){var f=l(d.value);d=f.next().value;f=f.next().value;e.id$jscomp$538=fi(d);f&&!b.oldSelectionMap[e.id$jscomp$538]?(nmb(a,e.id$jscomp$538),d=a.userHotlists.find(function(h){return function(k){return k.hotlistId===h.id$jscomp$538}}(e)),a.bookmarkGroupUnderEdit.item.push({hotlistId:d.hotlistId,name:d.name,resourceType:"HOTLIST"})):b.oldSelectionMap[e.id$jscomp$538]&&
!f&&(CJc(a,e.id$jscomp$538),xa(a.bookmarkGroupUnderEdit.item,function(h){return function(k){return k.hotlistId===h.id$jscomp$538}}(e)))}},nmb=function(a,b){a.selectedHotlistIds[0].push(b);a.selectedHotlistIds=[a.selectedHotlistIds[0]]},CJc=function(a,b){va(a.selectedHotlistIds[0],b);a.selectedHotlistIds=[a.selectedHotlistIds[0]]},gmb=function(a,b){-1===BJc(a.bookmarkGroupUnderEdit.item).indexOf(b.searchId)&&a.bookmarkGroupUnderEdit.item.push({name:b.name,resourceType:"SAVED_SEARCH",savedSearchId:b.searchId});
setTimeout(function(){yJc(a)})},BJc=function(a){return a?zra(a,"savedSearchId"):[]},xJc=function(a){return a?zra(a,"hotlistId"):[]},lmb=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)},mmb=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)};z5.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:Oh(a.resourceType)}};z5.prototype.openConfirmationDialog=function(a,b,c){this.confirmationDialog.open({title:a,content:b,onConfirm:function(){c()}})};
z5.\u0275fac=function(a){return new (a||z5)(B(XO),B(bF),B(EG),B(KH),B(SH),B(PJ),B(PF),B(cF),B(B0),B(UG),B(VF),B(AX),B(FG),B(nt),B(lG),B(BG),B(SJ),B(XD,2),B(lL))};
z5.\u0275cmp=r({type:z5,selectors:[["b-edit-bookmark-group"]],viewQuery:function(a,b){a&1&&(og(tJc,5),og(uJc,5),og(eU,5,Hd));if(a&2){var c;ng(c=qg())&&(b.editBookmarkGroupItemsContainer=c.first);ng(c=qg())&&(b.bookmarkGroupNameInput=c.first);ng(c=qg())&&(b.tabs=c)}},features:[bg([XD]),yf],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),Q("click",function(){return b.back()}),L(4,"mat-icon",
4),K(),F(5,Ylb,2,1,"button",5)(6,Zlb,2,1,"button",5),K()()(),H(7,"div",6),F(8,zmb,48,40,"ng-container",7),K());a&2&&(A(5),G("ngIf",b.isAdmin&&!b.isArchived()),A(1),G("ngIf",b.isAdmin&&b.isArchived()),A(2),G("ngIf",!b.isLoading&&b.bookmarkGroup.bookmarkGroupId))},dependencies:[Sv,Tv,Uv,MA,dC,eA,fU,eU,WZ,TW,yS,sK,Jg,ww,Ow,Dw,ZB,XB,YB,WB,UY],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 DJc=["savedSearchNameInput"],Emb=function(a){return{"bv2-edit-resource-readonly":a}},Gmb=function(a){return{displayText:"Admins",values:a}},Fmb=function(a){return[a]},A5=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I,P,O){Z.call(this);var U=this;this.routeParams=a;this.location=b;this.accessPolicyApi=c;this.savedSearchApi=d;this.paths=e;this.appHistory=f;this.butterBar=h;this.pageTitle=k;this.documentationLinks=t;this.userAccess=y;this.errorHandler=C;this.snackBar=J;this.confirmationDialog=I;this.cdr=
P;this.appEvents=O;this.selectedTabIndex=0;this.isDeleting=this.isUpdating=this.isAdmin=this.isLoading=!1;this.isReaderFieldValid=this.isAdminsFieldValid=!0;this.error="";this.currentUserEmail=q.getUserEmail();this.accessPolicyUnderEdit=Ro();this.flattenedAccessPolicy=Ro();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 aa;null==(aa=U.savedSearchName)||aa.nativeElement.focus()});this.subscriptions.add(BX(w,function(){return U.hasUnsavedChanges()},!1))};Y(A5,Z);A5.\u0275dir=Z.\u0275dir;g=A5.prototype;g.ngOnInit=function(){"access"===this.location.hash()&&(this.selectedTabIndex=1)};g.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)};
g.loadSavedSearch=function(a){var b=this;this.isLoading=!0;return this.savedSearchApi.get(a).then(function(c){b.savedSearch=c;b.savedSearchUnderEdit=ai(b.savedSearch);b.pageTitle.setTitle("Saved search: "+c.name)}).catch(function(c){b.errorHandler.errorHandler(null,c)}).finally(function(){b.isLoading=!1;b.cdr.detectChanges()})};
g.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("SAVED_SEARCH",a).then(function(c){b.flattenedAccessPolicy=So(c);b.accessPolicyUnderEdit=ai(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};g.loadUserAccess=function(a){var b=this;return XF(this.userAccess,"admin","savedSearches/"+a).then(function(c){b.isAdmin=c;b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
g.isSaving=function(){return this.isUpdating||this.isDeleting};g.isEditDisabled=function(){return this.isSaving()||!this.isAdmin};g.back=function(){C0(this.appHistory)};g.revertMetadataChanges=function(){this.savedSearchUnderEdit=ai(this.savedSearch);this.error=""};g.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=ai(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};g.hasUnsavedMetadataChanges=function(){return!$h(this.savedSearch,this.savedSearchUnderEdit)};
g.hasUnsavedAccessPolicyChanges=function(){return!$h(this.flattenedAccessPolicy,this.accessPolicyUnderEdit)};g.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()||this.hasUnsavedAccessPolicyChanges()};
g.saveMetadata=function(){var a=this;this.validate()&&(this.snackBar.open("Save saved search ID "+this.savedSearchUnderEdit.searchId,"dismiss",{duration:0}),this.isUpdating=!0,this.savedSearchApi.update(this.savedSearchUnderEdit.searchId,this.savedSearchUnderEdit).then(function(b){a.snackBar.open("Saved search ID "+b.searchId+' was saved as "'+b.name+'"',"dismiss",{duration:0});a.savedSearch=b;a.savedSearchUnderEdit=ai(b);a.appEvents.savedSearchModified.next({savedSearchId:a.savedSearch.searchId})}).catch(function(b){a.errorHandler.errorHandler(null,
b)}).finally(function(){a.isUpdating=!1}))};g.validate=function(){if(""===this.savedSearchUnderEdit.name)return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};
g.saveAccessPolicy=function(){var a=this;this.accessPolicyUnderEdit.admins.includes("USER:"+this.currentUserEmail)?this.doSaveAccessPolicy():this.openConfirmationDialog("Change saved search admins",ch("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()})};
g.doSaveAccessPolicy=function(){var a=this;try{var b=To(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=So(c);a.accessPolicyUnderEdit=ai(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(xn(c),0)}).finally(function(){a.isUpdating=!1})};g.delete=function(){var a=this;this.openConfirmationDialog("Delete saved search",ch("Do you want to delete this saved search?"),function(){a.doDelete()})};
g.doDelete=function(){var a=this;this.snackBar.open("Deleting saved search "+this.savedSearch.name,"dismiss",{duration:0});this.isDeleting=!0;this.savedSearchApi.delete(this.savedSearch.searchId).then(function(){a.snackBar.open("Deleted saved search "+a.savedSearch.name,"dismiss",{duration:0});a.appEvents.savedSearchModified.next({savedSearchId:a.savedSearch.searchId,action:"delete"});$1b(a.location,"/")}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.isDeleting=!1})};
g.openConfirmationDialog=function(a,b,c){this.confirmationDialog.open({title:a,content:b,onConfirm:function(){c()}})};A5.\u0275fac=function(a){return new (a||A5)(B(XO),B(bF),B(KH),B(LI),B(cF),B(B0),B(EG),B(UG),B(nt),B(lL),B(AX),B(VF),B(FG),B(BG),B(SJ),B(XD,2),B(lG))};
A5.\u0275cmp=r({type:A5,selectors:[["b-edit-saved-search"]],viewQuery:function(a,b){a&1&&(og(DJc,5),og(eU,5,Hd));if(a&2){var c;ng(c=qg())&&(b.savedSearchName=c.first);ng(c=qg())&&(b.tabs=c)}},features:[bg([XD]),yf],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),Q("click",function(){return b.back()}),L(4,"mat-icon",4),K(),F(5,Amb,2,1,"button",5),K()()(),H(6,"div",6),F(7,Bmb,
4,0,"ng-container",7)(8,Hmb,51,38,"ng-container",7),K());a&2&&(A(5),G("ngIf",b.isAdmin),A(2),G("ngIf",!b.isLoading&&!b.savedSearch),A(1),G("ngIf",!b.isLoading&&b.savedSearch))},dependencies:[Sv,Uv,MA,dC,eA,fU,eU,WZ,Jg,ww,Ow,Dw,UY],encapsulation:2});var B5=function(a){this.internalArray_=m(a)};Y(B5,n);g=B5.prototype;g.getAuthor=function(){return vi(this,Yk,1)};g.setAuthor=function(a){ej(this,Yk,1,a)};g.hasAuthor=function(){return Pi(this,Yk,1)};g.getTimestamp=function(){return vi(this,Xi,2)};g.setTimestamp=function(a){return ej(this,Xi,2,a)};g.hasTimestamp=function(){return Pi(this,Xi,2)};g.getAdd=function(){return vi(this,Mm,3)};g.getRemove=function(){return vi(this,Mm,4)};g.getAddMask=function(){return vi(this,PC,5)};
g.getRemoveMask=function(){return vi(this,PC,6)};B5.repeatedFields_=[7];var EJc=function(a){this.internalArray_=m(a)};Y(EJc,n);EJc.prototype.getIt=function(){return vi(this,B5,7)};EJc.prototype.setIt=function(a){return ej(this,B5,7,a)};EJc.prototype.hasIt=function(){return Pi(this,B5,7)};var C5=function(a){this.internalArray_=m(a,0,C5.messageId)};Y(C5,n);C5.prototype.getUpdatesList=function(){return zi(this,EJc,1)};C5.repeatedFields_=[1];C5.messageId="b.SloHistory";var D5=function(a,b){this.executor=b;this.sloHistories=a.get("slo_histories-second-level-cache")||a.create("slo_histories-second-level-cache",{capacity:25})};D5.prototype.get=function(a){var b=this.sloHistories.get(String(a));return void 0!==b?b:this.sloHistories.put(String(a),FJc(this,a))};var FJc=function(a,b){return a.executor.get({url:"action/slo_updates/"+b,responseConstructor:C5}).then(function(c){var d;return{updates:(null!=(d=c.getUpdatesList())?d:[]).map(Jza)}})};
D5.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};D5.prototype.invalidateCache=function(a){this.sloHistories.remove(String(a))};D5.\u0275fac=function(a){return new (a||D5)(p(mF),p(TD))};D5.\u0275prov=Dc({token:D5,factory:D5.\u0275fac,providedIn:"root"});var E5=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I,P,O,U,aa){Z.call(this);var na=this;this.routeParams=a;this.bLocation=b;this.appHistory=d;this.butterBar=e;this.pageTitle=f;this.documentationLinks=k;this.userAccess=t;this.accessPolicyApi=w;this.sloApi=y;this.sloUpdatesApi=C;this.sloUpdatesService=J;this.errorHandler=I;this.matDialogService=P;this.analytics=O;this.confirmationDialogService=U;this.appEvents=aa;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(na.validity).some(function(sa){return!sa})};this.editableAccessPolicy=Ro();this.flattenedAccessPolicy=Ro();this.subscriptions.add(BX(q,function(){return na.hasUnsavedChanges()},!1));a=this.routeParams.sloId;this.resourceName=Ln("SLO",fi(a));if(this.sloEnabled=h.isInternalSession())this.pageTitle.setTitle("SLO Overview"),GJc(this,a),this.loadUserAccess(a),this.loadAccessPolicy(a),
HJc(this,a);this.alertState={getValue:function(){return na.editableCopy?"ON"===na.editableCopy.alertState:!1},getSavedValue:function(){return na.slo?"ON"===na.slo.alertState:!1},setValue:function(sa){na.editableCopy&&(na.editableCopy.alertState=sa?"ON":"OFF")}};this.currentUserEmail=h.getUserEmail()};Y(E5,Z);E5.\u0275dir=Z.\u0275dir;
E5.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)};E5.prototype.ngOnInit=function(){"access"===this.bLocation.hash()&&(this.selectedTabIndex=1)};E5.prototype.updateCollection=function(a){this.editableCopy&&(this.editableCopy.elements=a)};
var GJc=function(a,b){a.isLoading=!0;a.sloApi.get(b).then(function(c){a.slo=c;a.slo.elements||(a.slo.elements=[]);a.editableCopy=ai(a.slo);a.pageTitle.setTitle("SLO: "+c.name)}).catch(function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isLoading=!1})};
E5.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("SLO",Number(a)).then(function(c){b.flattenedAccessPolicy=So(c);b.editableAccessPolicy=ai(b.flattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)})};var IJc=function(a,b){return a.sloUpdatesApi.get(b).then(function(c){a.historyDiffs=c.updates.map(function(d){return Svc(a.sloUpdatesService,d)})}).catch(function(c){a.errorHandler.errorHandler(null,c)})};g=E5.prototype;
g.loadUserAccess=function(a){var b=this;XF(this.userAccess,"admin",Ln("SLO",fi(a))).then(function(c){b.isAdminInternal=c}).catch(function(c){b.errorHandler.errorHandler(null,c)})};g.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()||this.hasUnsavedAccessPolicyChanges()};g.hasUnsavedMetadataChanges=function(){return!$h(this.slo,this.editableCopy)};g.hasUnsavedAccessPolicyChanges=function(){return!$h(this.flattenedAccessPolicy,this.editableAccessPolicy)};
g.saveMetadata=function(){var a=this;JJc(this.slo.elements,this.editableCopy.elements)?this.save():this.confirmationDialogService.open({title:"Save SLO changes?",content:Io(gp("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."),Ho("br"),Ho("br"),gp("Please combine changes into as few updates as possible.")),onConfirm:function(){a.save()},onDismiss:qu})};
var Lmb=function(a,b){if(!a.hasUnsavedMetadataChanges()){var c=function(){a.editableCopy.isArchived=b;a.save()};b?a.confirmationDialogService.open({title:"Archive SLO?",content:gp("Archiving this SLO will prevent new usages of the SLO, and will hide the SLO from most searches."),onConfirm:c,onDismiss:qu}):c()}},JJc=function(a,b){if(a.length!==b.length)return!1;for(var c=0;c<a.length;c++){var d=a[c],e=b[c],f;if(f=d.metric===e.metric&&d.matcher===e.matcher)d=d.objective,e=e.objective,f=!d&&!e||!!d&&
!!e&&d.seconds===e.seconds;if(!f)return!1}return!0};
E5.prototype.save=function(){var a=this,b=this.editableCopy;Fs(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.';JJc(a.slo.elements,a.editableCopy.elements)||(d+=" Propagating this change may take several hours.");Fs(a.butterBar,d);a.slo=c;a.slo.elements||(a.slo.elements=[]);a.editableCopy=ai(c);a.sloUpdatesApi.invalidateCache(a.slo.sloId);a.analytics.trackEvent(Kp.EDIT_SLO,"update")}).catch(function(c){a.errorHandler.errorHandler(null,
c)}).finally(function(){a.isUpdating=!1})};E5.prototype.saveAccessPolicy=function(){var a=this;this.isRevokingAdmin()?this.confirmationDialogService.open({title:"Change SLO admins",content:gp("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:qu}):this.doSaveAccessPolicy()};
E5.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=To(this.editableAccessPolicy)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);this.butterBar.showWarning(b);return}this.isUpdating=!0;Fs(this.butterBar,"Saving access settings...");this.accessPolicyApi.update("SLO",this.slo.sloId,b).then(function(c){Fs(a.butterBar,"Access settings saved.");a.flattenedAccessPolicy=So(c);a.editableAccessPolicy=ai(a.flattenedAccessPolicy);a.loadUserAccess(a.slo.sloId);a.analytics.trackEvent(Kp.EDIT_SLO,
"updateAccessPolicy")},function(c){a.butterBar.showWarning(xn(c),0)}).finally(function(){a.isUpdating=!1})};E5.prototype.isRevokingAdmin=function(){return this.isRevokingDirectAdmin()};
var HJc=function(a,b){IJc(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"===qi(c.author)&&(a.isImportedFromBugScope=!0);d.author&&"buganizer-system@google.com"===qi(d.author)&&(a.isUneditedFromBugScope=!0)}})};g=E5.prototype;
g.isRevokingDirectAdmin=function(){if($h(this.flattenedAccessPolicy.admins,this.editableAccessPolicy.admins))return!1;var a="USER:"+this.currentUserEmail;return this.flattenedAccessPolicy.admins.includes(a)&&!this.editableAccessPolicy.admins.includes(a)};
g.revertMetadataChanges=function(){var a=this;JJc(this.slo.elements,this.editableCopy.elements)?this.editableCopy=ai(this.slo):this.confirmationDialogService.open({title:"Revert SLO changes?",content:Io(gp("Revert all changes to this SLO?")),onConfirm:function(){a.editableCopy=ai(a.slo)},onDismiss:qu})};g.revertAccessPolicyChanges=function(){this.editableAccessPolicy=ai(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};g.isSaving=function(){return this.isUpdating};
g.back=function(){C0(this.appHistory)};g.isEditDisabled=function(){return!this.editableCopy||this.isSaving()||!this.isAdmin()};g.isAdmin=function(){return this.isAdminInternal};g.showUpdateHistoryModal=function(){var a=this;IJc(this,this.slo.sloId).then(function(){a.matDialogService.open(g4,{width:"600px",data:{updateDiffs:a.historyDiffs}});a.analytics.trackEvent(Kp.UPDATE_HISTORY_MODAL,"open");a.analytics.trackEvent(Kp.EDIT_SLO,"viewHistory")})};
E5.\u0275fac=function(a){return new (a||E5)(B(XO),B(bF),B(cF),B(B0),B(EG),B(UG),B(nt),B(lL),B(AX),B(VF),B(KH),B(bX),B(D5),B(x0),B(FG),B(vA),B(aI),B(SJ),B(lG))};
E5.\u0275cmp=r({type:E5,selectors:[["edit-slo-page"]],viewQuery:function(a,b){a&1&&og(eU,5,Hd);if(a&2){var c;ng(c=qg())&&(b.tabs=c)}},features:[yf],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),Q("onAction",function(){return b.back()}),L(3,"b-icon",3),K()()(),H(4,"div",4),F(5,Imb,2,0,"div",5)(6,Qmb,55,31,"div",6),K());a&2&&(A(5),G("ngIf",b.isLoading),A(1),G("ngIf",!b.isLoading&&b.slo&&b.slo.sloId&&b.editableCopy))},dependencies:[rJ,Uv,Ew,Jg,ww,xw,Ow,Dw,Bw,YU,AD,fU,eU,UY,eL,q0,eK],encapsulation:2});var KJc="focus-indicator title type team id assignee status menu".split(" "),LJc="focus-indicator drag-handle title type id assignee status menu".split(" "),MJc="priority title assignee status id modifiedTime".split(" "),NJc="focus-indicator drag-handle title assignee status id menu".split(" ");var F5=function(){this.changes=new E.Subject};F5.\u0275fac=function(a){return new (a||F5)};F5.\u0275prov=Dc({token:F5,factory:F5.\u0275fac,providedIn:"root"});var OJc={provide:F5,deps:[[new zu,new Au,F5]],useFactory:function(a){return a||new F5}};var PJc=ih("indicator",[lh("active-asc, asc",kh({transform:"translateY(0px)"})),lh("active-desc, desc",kh({transform:"translateY(10px)"})),nh("active-asc <=> active-desc",jh("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),QJc=ih("leftPointer",[lh("active-asc, asc",kh({transform:"rotate(-45deg)"})),lh("active-desc, desc",kh({transform:"rotate(45deg)"})),nh("active-asc <=> active-desc",jh("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),RJc=ih("rightPointer",[lh("active-asc, asc",kh({transform:"rotate(45deg)"})),lh("active-desc, desc",
kh({transform:"rotate(-45deg)"})),nh("active-asc <=> active-desc",jh("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),SJc=ih("arrowOpacity",[lh("desc-to-active, asc-to-active, active",kh({opacity:1})),lh("desc-to-hint, asc-to-hint, hint",kh({opacity:.54})),lh("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",kh({opacity:0})),nh("* => asc, * => desc, * => active, * => hint, * => void",jh("0ms")),nh("* <=> *",jh("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),TJc=ih("arrowPosition",[nh("* => desc-to-hint, * => desc-to-active",
jh("225ms cubic-bezier(0.4,0.0,0.2,1)",mh([kh({transform:"translateY(-25%)"}),kh({transform:"translateY(0)"})]))),nh("* => hint-to-desc, * => active-to-desc",jh("225ms cubic-bezier(0.4,0.0,0.2,1)",mh([kh({transform:"translateY(0)"}),kh({transform:"translateY(25%)"})]))),nh("* => asc-to-hint, * => asc-to-active",jh("225ms cubic-bezier(0.4,0.0,0.2,1)",mh([kh({transform:"translateY(25%)"}),kh({transform:"translateY(0)"})]))),nh("* => hint-to-asc, * => active-to-asc",jh("225ms cubic-bezier(0.4,0.0,0.2,1)",
mh([kh({transform:"translateY(0)"}),kh({transform:"translateY(-25%)"})]))),lh("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",kh({transform:"translateY(0)"})),lh("hint-to-desc, active-to-desc, desc",kh({transform:"translateY(-25%)"})),lh("hint-to-asc, active-to-asc, asc",kh({transform:"translateY(25%)"}))]),UJc=ih("allowChildren",[nh("* <=> *",[ph("@*",oh())])]);var VJc=new bd("MAT_SORT_DEFAULT_OPTIONS"),WJc=Vpa(function(){}),G5=function(a){var b=WJc.call(this)||this;b._defaultOptions=a;b.sortables=new Map;b._stateChanges=new E.Subject;b.start="asc";b._direction="";b.disabled=!1;b.sortChange=new mv;return b};Y(G5,WJc);g=G5.prototype;g.register=function(a){this.sortables.set(a.id,a)};g.deregister=function(a){this.sortables.delete(a.id)};
g.sort=function(a){if(this.active!=a.id)this.active=a.id,this.direction=a.start?a.start:this.start;else{if(a){var b,c,d,e=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})};g.ngOnInit=function(){this._markInitialized()};
g.ngOnChanges=function(){this._stateChanges.next()};g.ngOnDestroy=function(){this._stateChanges.complete()};Gh.Object.defineProperties(G5.prototype,{direction:{configurable:!0,enumerable:!0,get:function(){return this._direction},set:function(a){this._direction=a}}});G5.\u0275fac=function(a){return new (a||G5)(B(VJc,8))};
G5.\u0275dir=Vc({type:G5,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear",ug],disabled:["matSortDisabled","disabled",ug]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],standalone:!0,features:[zf,yf,ld]});var H5=function(a,b,c,d,e,f,h,k){this._intl=a;this._changeDetectorRef=b;this._sort=c;this._columnDef=d;this._focusMonitor=e;this._elementRef=f;this._ariaDescriber=h;this._showIndicatorHint=!1;this._viewState={};this._arrowDirection="";this._disableViewStateAnimation=!1;this.arrowPosition="after";this.disabled=!1;this._sortActionDescription="Sort";if(null==k?0:k.arrowPosition)this.arrowPosition=null==k?void 0:k.arrowPosition;this._handleStateChanges()};g=H5.prototype;
g.ngOnInit=function(){!this.id&&this._columnDef&&(this.id=this._columnDef.name);this._updateArrowDirection();this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection});this._sort.register(this);this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container");this._updateSortActionDescription(this._sortActionDescription)};
g.ngAfterViewInit=function(){var a=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){b=!!b;b!==a._showIndicatorHint&&(a._setIndicatorHintVisible(b),a._changeDetectorRef.markForCheck())})};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._sort.deregister(this);this._rerenderSubscription.unsubscribe()};
g._setIndicatorHintVisible=function(a){this._isDisabled()&&a||(this._showIndicatorHint=a,this._isSorted()||(this._updateArrowDirection(),this._showIndicatorHint?this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"hint"}):this._setAnimationTransitionState({fromState:"hint",toState:this._arrowDirection})))};g._setAnimationTransitionState=function(a){this._viewState=a||{};this._disableViewStateAnimation&&(this._viewState={toState:a.toState})};
g._toggleOnInteraction=function(){this._sort.sort(this);if("hint"===this._viewState.toState||"active"===this._viewState.toState)this._disableViewStateAnimation=!0};g._handleClick=function(){this._isDisabled()||this._sort.sort(this)};g._handleKeydown=function(a){this._isDisabled()||32!==a.keyCode&&13!==a.keyCode||(a.preventDefault(),this._toggleOnInteraction())};g._isSorted=function(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)};
g._getArrowDirectionState=function(){return(this._isSorted()?"active-":"")+this._arrowDirection};g._getArrowViewState=function(){var a=this._viewState.fromState;return(a?a+"-to-":"")+this._viewState.toState};g._updateArrowDirection=function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start};g._isDisabled=function(){return this._sort.disabled||this.disabled};
g._getAriaSortAttribute=function(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"};g._renderArrow=function(){return!this._isDisabled()||this._isSorted()};g._updateSortActionDescription=function(a){if(this._sortButton){var b;null==(b=this._ariaDescriber)||rx(b,this._sortButton,this._sortActionDescription);var c;null==(c=this._ariaDescriber)||c.describe(this._sortButton,a)}this._sortActionDescription=a};
g._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()})};Gh.Object.defineProperties(H5.prototype,{sortActionDescription:{configurable:!0,enumerable:!0,get:function(){return this._sortActionDescription},set:function(a){this._updateSortActionDescription(a)}}});H5.\u0275fac=function(a){return new (a||H5)(B(F5),B(Fu),B(G5,8),B("MAT_SORT_HEADER_COLUMN_DEF",8),B(Yw),B(Hd),B(qx,8),B(VJc,8))};
H5.\u0275cmp=r({type:H5,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(a,b){a&1&&Q("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&&(Af("aria-sort",b._getAriaSortAttribute()),Jf("mat-sort-header-disabled",b._isDisabled()))},inputs:{id:["mat-sort-header","id"],arrowPosition:"arrowPosition",
start:"start",disabled:["disabled","disabled",ug],sortActionDescription:"sortActionDescription",disableClear:["disableClear","disableClear",ug]},exportAs:["matSortHeader"],standalone:!0,features:[zf,dg],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"],[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&&(Vf(),H(0,"div",0)(1,"div",1),Wf(2),K(),F(3,Rmb,6,6,"div",2),K());a&2&&(Jf("mat-sort-header-sorted",b._isSorted())("mat-sort-header-position-before","before"===b.arrowPosition),Af("tabindex",b._isDisabled()?null:0)("role",b._isDisabled()?null:"button"),A(3),Nf(3,b._renderArrow()?3:-1))},styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;color:var(--mat-sort-arrow-color);opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],
encapsulation:2,data:{animation:[PJc,QJc,RJc,SJc,TJc,UJc]},changeDetection:0});var I5=function(){};I5.\u0275fac=function(a){return new (a||I5)};I5.\u0275mod=Tc({type:I5});I5.\u0275inj=Ec({providers:[OJc],imports:[jz]});var J5=function(a,b,c){Z.call(this);var d=this;this.issueFridge=a;this.router=b;this.domSafe=c;this.isOpen=function(e){return Gn(e)};this.getAssigneeString=function(e){var f,h;e=qi(null==e?void 0:null==(f=e.snapshot)?void 0:null==(h=f[0])?void 0:h.assigneeUser);return zn(e)?e:void 0};this.getPriority=Qnb;this.getModifiedTimeMicros=Rnb;this.issueIds$=new E.BehaviorSubject([]);this.menuItemFactory=function(){return[]};this.optionsInternal={menu:{includeGoToIssueItem:!0}};this.rowLimit$=new E.BehaviorSubject(this.options.rowLimit);
this.DEFAULT_DATETIME_MODE="datetime";this.DEFAULT_MENU_OPTIONS={buttonIcon:"more-settings-vertical",buttonLabel:"More options"};this.internalFilters=new iP;this.goToIssueItemFactory=function(e){return{type:"action",label:"Go to issue",action:function(f){d.navigateToIssue(f,e)},title:"Go to issue",icon:"arrow-forward"}};this.tableColumns=[].concat(u(KJc));this.activeSort$=new E.BehaviorSubject(void 0);this.allRows$=this.issueIds$.pipe(Ek(),D(function(e){return e.map(function(f){return{id:f,issue$:d.issueFridge.watch(f)}})}),
Ye({refCount:!0,bufferSize:1}));this.allIssuesAreLoaded$=this.allRows$.pipe(af(function(e){return(0,E.combineLatest)(e.map(function(f){return f.issue$.pipe($e(null))}))}),D(function(e){return e.every(function(f){return null!==f})}));this.unarchivedRows$=this.allRows$.pipe(Me(this.allIssuesAreLoaded$),D(function(e){e=l(e);var f=e.next().value;return e.next().value?f.filter(function(h){var k;return!(null==(k=In(h))?0:k.isArchived)}):f}));this.unarchivedRows$.pipe(D(function(e){return e.length}));this.sortRows=
(0,E.pipe)(Me(this.activeSort$,this.allIssuesAreLoaded$),D(function(e){e=l(e);var f=e.next().value,h=e.next().value;return e.next().value?Snb(f,h):f}));this.filterRows=(0,E.pipe)(Me(this.internalFilters.value$),af(function(e){e=l(e);var f=e.next().value,h=e.next().value;return 0===h.size?(0,E.of)(f):(0,E.combineLatest)(f.map(function(k){return k.issue$})).pipe(D(function(k){return f.filter(function(q,t){return!k[t]||aUa(k[t],h)})}))}));this.limitRows=(0,E.pipe)(Me(this.rowLimit$),D(function(e){var f=
l(e);e=f.next().value;return(f=f.next().value)?e.slice(0,f):e}));this.rows$=this.unarchivedRows$.pipe(this.filterRows,this.limitRows,this.sortRows);this.rowCountAfterFilters$=this.unarchivedRows$.pipe(this.filterRows,D(function(e){return e.length}));this.hiddenRowCount$=(0,E.combineLatest)([this.unarchivedRows$,this.rows$]).pipe(D(function(e){var f=l(e);e=f.next().value;f=f.next().value;return e.length-f.length}),Pe());this.trackBy=function(e,f){return f.id};this.correctedDisplayedRows=new rg};
Y(J5,Z);J5.\u0275dir=Z.\u0275dir;g=J5.prototype;g.getMenuItems=function(a){var b=[],c;(null==(c=this.options.menu)?0:c.includeGoToIssueItem)&&b.push(this.goToIssueItemFactory(a));b.push.apply(b,u(this.menuItemFactory(a)));return b};g.ngOnInit=function(){this.initialSort&&this.initialSort.direction&&this.activeSort$.next(this.initialSort)};
g.ngAfterViewInit=function(){var a=this;(0,E.combineLatest)([this.rows$,this.displayedRows.changes.pipe($e(void 0))]).pipe(bf(this.destroyed$)).subscribe(function(b){b=l(b).next().value;var c=new Map(a.displayedRows.map(function(d){return[d.row.id,d]}));b=b.map(function(d){return c.get(d.id)}).filter(Boolean);a.correctedDisplayedRows.reset(b);mg(a.correctedDisplayedRows)});this.focusManager=Ax(new Pmc(this.correctedDisplayedRows,Pnb))};
g.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?Ap(this.domSafe,b):Ns(this.router,b))};g.onRowKeydown=function(a,b){this.focusManager.onKeydown(b)};g.onSortChange=function(a){this.activeSort$.next(a)};g.getIssueUrl=function(a){return this.issueUrlFactory?this.issueUrlFactory(a):Ok(a)};
Gh.Object.defineProperties(J5.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(null!=a?a:[])}},options:{configurable:!0,enumerable:!0,set:function(a){this.optionsInternal=a;this.rowLimit$.next(a.rowLimit)},get:function(){return this.optionsInternal}},filters:{configurable:!0,enumerable:!0,set:function(a){this.internalFilters.reset(null!=a?a:[])}}});J5.\u0275fac=function(a){return new (a||J5)(B(iI),B(yE),B(lM))};
J5.\u0275cmp=r({type:J5,selectors:[["b-issues-table"]],viewQuery:function(a,b){a&1&&og(MU,5);if(a&2){var c;ng(c=qg())&&(b.displayedRows=c)}},inputs:{issueIds:"issueIds",menuItemFactory:"menuItemFactory",initialSort:"initialSort",options:"options",issueUrlFactory:"issueUrlFactory",filters:"filters",tableColumns:"tableColumns"},features:[yf],decls:48,vars:11,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","dupeCount"],["matColumnDef","voteCount"],["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"],["class","muted margin-top flex-kids-x align-items-center",4,"ngIf"],["mat-header-cell",""],["tabindex","-1","mat-cell",""],["mat-cell",""],[3,"id"],[3,"issue","issueUrlFactory","enableHovercard"],["mat-header-cell","","mat-sort-header","type"],[3,"issue"],["mat-header-cell","","mat-sort-header","assignee"],[3,"ngSwitch"],[4,"ngSwitchCase"],
[4,"ngSwitchDefault"],[4,"ngIf"],["size","medium",3,"email",4,"ngIf"],["size","medium",3,"email"],["mat-header-cell","","mat-sort-header","reporter"],["mat-header-cell","","mat-sort-header","priority"],[3,"issuePriority"],["mat-header-cell","","mat-sort-header","status"],["mat-header-cell","","mat-sort-header","createdTime"],[3,"issue","mode"],["mat-header-cell","","mat-sort-header","modifiedTime"],[4,"ngIf","ngIfElse"],["noData",""],[3,"timestamp","mode","paddingLeftPx"],[3,"buttonLabel","buttonIcon",
"menuItems","click"],["mat-header-row",""],["mat-row","","selectionPreventsClick","",1,"clickable",3,"row","click","mouseup","focusin","keydown"],[1,"muted","margin-top","flex-kids-x","align-items-center"],["noLimit",""],["mat-button","",1,"gmat-button",3,"click"],["svgIcon","arrow-down",1,"icon"],["svgIcon","arrow-up",1,"icon"]],template:function(a,b){a&1&&(H(0,"table",0),Q("matSortChange",function(e){return b.onSortChange(e)}),W(1,"async"),W(2,"async"),M(3,1),F(4,Smb,1,0,"th",2)(5,Tmb,1,0,"td",
3),N(),M(6,4),F(7,Umb,2,0,"th",2)(8,Vmb,2,1,"td",5),N(),M(9,6),F(10,Wmb,2,0,"th",2)(11,Xmb,3,5,"td",5),N(),M(12,7),F(13,Ymb,2,0,"th",8)(14,Zmb,3,3,"td",5),N(),M(15,9),F(16,bnb,4,2,"th",10)(17,hnb,4,2,"td",5),N(),M(18,11),F(19,inb,2,0,"th",12)(20,jnb,3,3,"td",5),N(),M(21,13),F(22,knb,2,0,"th",14)(23,lnb,2,1,"td",5),N(),M(24,15),F(25,mnb,2,0,"th",16)(26,nnb,3,3,"td",5),N(),M(27,17),F(28,onb,2,0,"th",2)(29,pnb,3,3,"td",5),N(),M(30,18),F(31,qnb,2,0,"th",2)(32,tnb,3,3,"td",5),N(),M(33,19),F(34,unb,2,0,
"th",2)(35,xnb,3,3,"td",5),N(),M(36,20),F(37,ynb,2,0,"th",21)(38,znb,3,4,"td",5),N(),M(39,22),F(40,Anb,2,0,"th",23)(41,Dnb,4,2,"td",5),N(),M(42,24),F(43,Enb,1,0,"th",2)(44,Fnb,2,3,"td",5),N(),F(45,Gnb,1,0,"tr",25)(46,Hnb,1,1,"tr",26),K(),F(47,Onb,3,3,"div",27));if(a&2){var c,d;G("dataSource",b.rows$)("trackBy",b.trackBy)("matSortActive",null!==(c=null==(c=X(1,7,b.activeSort$))?null:c.active)&&void 0!==c?c:"")("matSortDirection",null!==(d=null==(d=X(2,9,b.activeSort$))?null:d.direction)&&void 0!==
d?d:"");A(45);G("matHeaderRowDef",b.tableColumns);A(1);G("matRowDefColumns",b.tableColumns);A(1);G("ngIf",b.options.rowLimit)}},dependencies:[Uv,Vv,Wv,Xv,MA,eA,G5,H5,TV,GV,MV,IV,FV,OV,JV,LV,PV,RV,O_,XV,BU,DU,dW,GU,YV,KU,ZV,cM,MU,tP,EU,CM,$v],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 K5=function(a,b,c,d){Z.call(this);var e=this;this.contextSensitiveRegistry=a;this.issues=b;this.issuePicker=c;this.snackBar=d;this.TEA_DARK=h7b;this.TEA_LIGHT=g7b;this.getStatus=function(f){return f.snapshot[0].status};this.id$=this.contextSensitiveRegistry.getIssueId();this.searchUrl$=this.id$.pipe(D(function(f){return{path:"/issues",params:{q:"blockedbyid:"+f}}}));this.issue$=this.id$.pipe(af(this.issues.watch));this.blockingIds$=this.issue$.pipe(D(function(f){var h;return null!=(h=null==f?
void 0:f.snapshot[0].blockingIssueId)?h:[]}));this.issuesBeingBlocked$=this.blockingIds$.pipe(af(this.issues.watchSet));this.blockedAndOpen$=this.issuesBeingBlocked$.pipe(D(function(f){return f.filter(Gn)}));this.blockedAndOpenIds$=this.blockedAndOpen$.pipe(D(function(f){return f.map(function(h){return String(h.issueId)})}));this.blockedAndClosed$=this.issuesBeingBlocked$.pipe(D(function(f){return f.filter(function(h){return QBa(h)})}));this.blockedAndClosedIds$=this.blockedAndClosed$.pipe(D(function(f){return f.map(function(h){return String(h.issueId)})}));
this.thinking$=this.issues.thinking$;this.getMenuItems=function(f){return[{type:"action",label:"Remove this relationship",action:function(){e.onClickRemove(f)},title:"Remove this relationship",icon:"clear"}]};this.didChooseBlocking=function(f){var h=Dk(e.id$);null!=h&&jI(e.issues,"ADD","BLOCKING",h,f).catch(e.gotErr)};this.gotErr=function(f){e.snackBar.open(xn(f)||"Error with network request","close",{panelClass:"error"})}};Y(K5,Z);K5.\u0275dir=Z.\u0275dir;
var Tnb=function(a){a.issuePicker.open({title:"Add Blocking",allowMultipleIds:!0,edgeType:"blocking"},a.didChooseBlocking)};K5.prototype.onClickRemove=function(a){var b=Dk(this.id$);null!=b&&jI(this.issues,"REMOVE","BLOCKING",b,[String(a)]).catch(this.gotErr)};K5.\u0275fac=function(a){return new (a||K5)(B(xJ),B(iI),B(rW),B(BG))};
K5.\u0275cmp=r({type:K5,selectors:[["ng-component"]],features:[yf],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),F(1,gob,4,2,"ng-container",1),W(2,"async"),K(),F(3,hob,2,0,"aside",2),W(4,"async"));a&2&&(A(1),G("ngIf",X(2,2,b.blockingIds$)),A(2),G("ngIf",X(4,4,b.thinking$)))},dependencies:[Tv,Uv,AE,eA,fA,dC,eK,J5,$v],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 L5=function(){};L5.\u0275fac=function(a){return new (a||L5)};L5.\u0275mod=Tc({type:L5});L5.\u0275inj=Ec({imports:[px,iz,Ty,zD,Tw,kC,I5,jW,jU,QC,Uw,EE,Q_,fW,sJ,gW,eM,SK,NU,AP,bW,YM]});var M5=function(){};M5.\u0275fac=function(a){return new (a||M5)};M5.\u0275mod=Tc({type:M5});M5.\u0275inj=Ec({imports:[zD,Ty,iz,Tw,Uw,EE,kC,jU,QC,aW,UK,eM,SK,L5]});var N5=function(){this.LIMIT_INCREMENT=32;this.limit=8;this.emails=[]};N5.\u0275fac=function(a){return new (a||N5)};
N5.\u0275cmp=r({type:N5,selectors:[["avatar-bunch"]],inputs:{emails:"emails"},decls:3,vars:6,consts:[["size","medium",3,"email",4,"ngFor","ngForOf"],[4,"ngIf"],["size","medium",3,"email"],["href","#",1,"subtle-link",3,"title","click"]],template:function(a,b){a&1&&(F(0,iob,1,1,"b-user-image",0),W(1,"slice"),F(2,kob,2,1,"ng-container",1));a&2&&(G("ngForOf",Zla(1,2,b.emails,b.limit)),A(2),G("ngIf",0<b.emails.length-b.limit))},dependencies:[Tv,Uv,tP,gw],styles:["[_nghost-%COMP%]{display:block;margin-bottom:-8px}b-user-image[_ngcontent-%COMP%]{margin-right:8px;margin-bottom:8px}b-user-image.medium[_ngcontent-%COMP%]{width:24px}\n/*# sourceMappingURL=avatar_bunch.css.map */"]});var lob=function(){return[]},O5=function(){this.makeCritiqueUrl=lFa;this.submitted=[];this.pending=[]};O5.\u0275fac=function(a){return new (a||O5)};
O5.\u0275cmp=r({type:O5,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&&F(0,nob,7,3,"div",0);a&2&&G("ngIf",b.submitted.length+b.pending.length)},dependencies:[Uv],styles:["[_nghost-%COMP%] {\n      white-space: nowrap;\n    }\n    .logo[_ngcontent-%COMP%] {\n      width: 20px;\n    }\n    a[_ngcontent-%COMP%]:hover, a[_ngcontent-%COMP%]:focus {\n      color: var(--text-good)\n    }"],
changeDetection:0});var P5=function(){this.joinerStr=""};Gh.Object.defineProperties(P5.prototype,{issue:{configurable:!0,enumerable:!0,set:function(a){if(null!=a){var b=eCa(1049928)(a);this.startDate=GBa(null==b?void 0:b.dateValue);a=eCa(1049953)(a);this.endDate=GBa(null==a?void 0:a.dateValue);this.startDateShortStr=HBa(this.startDate);this.endDateShortStr=HBa(this.endDate);this.joinerStr=this.endDate?"\u2192":""}}}});P5.\u0275fac=function(a){return new (a||P5)};
P5.\u0275cmp=r({type:P5,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&&F(0,qob,4,2,"div",
0);a&2&&G("ngIf",b.startDate||b.endDate)},dependencies:[Uv,MA,cw],styles:["[_nghost-%COMP%] {\n      white-space: nowrap;\n    }\n    .date[_ngcontent-%COMP%] {\n      display: inline-block;\n    }"],changeDetection:0});var XJc=function(){this.makePie=mFa;this.useXofYLabel=!1};XJc.\u0275fac=function(a){return new (a||XJc)};XJc.\u0275cmp=r({type:XJc,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&&F(0,rob,7,13,"div",0);a&2&&G("ngIf",0<b.total)},dependencies:[Uv,fw],encapsulation:2,changeDetection:0});var tob=function(){return[]},Q5=function(a,b,c,d){Z.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(pBa));this.metadata$.pipe(D(rBa));this.emails$=this.metadata$.pipe(D(sBa));this.pendingCls$=(0,E.combineLatest)([this.id$,this.metadata$]).pipe(af(function(f){var h=
l(f);f=h.next().value;h=h.next().value;var k;h=null!=(k=null==h?void 0:h.issueIds)?k:[];k=[f].concat(u(h));return e.changelistFridge.watchMany({pendingForIssues:k})}),D(function(f){return f.results}));this.subscriptions.add((0,E.merge)(this.issueRelationshipsFridge.memoryWasSet$,this.issueRelationshipsFridge.collectiveMemoryWasSet$,this.issueFridge.memoryWasSet$,this.issueFridge.collectiveMemoryWasSet$).pipe(Me(this.id$),Ne(2E3)).subscribe(function(f){return void e.metadataFridge.poke(f[1])}))};
Y(Q5,Z);Q5.\u0275dir=Z.\u0275dir;Gh.Object.defineProperties(Q5.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});Q5.\u0275fac=function(a){return new (a||Q5)(B(FI),B($G),B(iI),B(hH))};
Q5.\u0275cmp=r({type:Q5,selectors:[["rollups-project"]],inputs:{id:"id"},features:[yf],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),F(1,sob,1,2,"progress-pie",1),W(2,"async"),L(3,"issue-timeframe",2),W(4,"async"),F(5,uob,2,5,"cl-counts",3),W(6,"async"),F(7,vob,
1,1,"avatar-bunch",4),W(8,"async"),K());a&2&&(A(1),G("ngIf",X(2,4,b.closedAndTotal$)),A(2),G("issue",X(4,6,b.issue$)),A(2),G("ngIf",X(6,8,b.metadata$)),A(2),G("ngIf",X(8,10,b.emails$)))},dependencies:[Uv,N5,O5,XJc,P5,$v],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 yob=function(a){this.internalArray_=m(a)};Y(yob,n);g=yob.prototype;g.getFilename=function(){return xi(this,1)};g.setFilename=function(a){gj(this,1,a)};g.getLineNumber=function(a){return Wt(this,2,a)};g.getChangeNumber=function(){return Ui(this,3)};g.getChangeNumber_asLegacyNumberOrString=function(){return Ui(this,3)};g.setChangeNumber=function(a){return nj(this,3,a)};yob.repeatedFields_=[2];var Aob=function(a){this.internalArray_=m(a)};Y(Aob,n);Aob.repeatedFields_=[2];var YJc=function(a){this.internalArray_=m(a,0,YJc.messageId)};Y(YJc,n);YJc.repeatedFields_=[3];YJc.messageId="b.MentionSearchResult";var R5=function(a){this.executor=a};R5.\u0275fac=function(a){return new (a||R5)(p(TD))};R5.\u0275prov=Dc({token:R5,factory:R5.\u0275fac,providedIn:"root"});var S5=function(a,b,c){this.mentionsApi=a;this.refreshMonitor=b;this.analytics=c},ZJc=function(a,b){var c="https://todo.corp.google.com/?issue="+b;a.cachedId===b&&a.cachedEntry||(a.cachedId=b,a.cachedEntry=S3b(a.refreshMonitor,(0,E.defer)(function(){return a.mentionsApi.executor.get({url:"action/issues/"+b+"/mentions",responseConstructor:YJc}).then(Bob).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};S5.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)};S5.prototype.trackSqueegeeClick=function(){this.analytics.trackEvent("codeMentions","clickSqueegeeLink")};S5.\u0275fac=function(a){return new (a||S5)(p(R5),p(gI),p(aI))};S5.\u0275prov=Dc({token:S5,factory:S5.\u0275fac,providedIn:"root"});var U5=function(a,b,c,d,e,f,h){var k=this;this.paramsService=a;this.issueRelationshipsFridge=b;this.issueFridge=c;this.codeMentions=d;this.issueApi=e;this.eventsForIssue=f;this.activeSession=h;this.id$=this.paramsService.issueId$.pipe(Oe(1E3));this.issue$=this.id$.pipe(af(this.issueFridge.watch));this.issueEvents$=this.id$.pipe(af(this.eventsForIssue.watch),D(function(q){var t;return null!=(t=null==q?void 0:q.events)?t:[]}));this.blockerIssueIds$=this.issue$.pipe(D(function(q){var t;return null!=
(t=null==q?void 0:q.snapshot[0].blockedByIssueId)?t:[]}),Pe($h));this.blockedIssueIds$=this.issue$.pipe(D(function(q){var t;return null!=(t=null==q?void 0:q.snapshot[0].blockingIssueId)?t:[]}),Pe($h));this.parentIds$=this.issue$.pipe(D(function(q){var t;return null!=(t=null==q?void 0:q.parentIssueIds)?t:[]}),Pe($h));this.childrenIds$=this.id$.pipe(af(this.issueRelationshipsFridge.watch),D(function(q){var t;return null!=(t=null==q?void 0:q.relatedChildren.map(function(w){return w.targetIssueId}))?
t:[]}));this.duplicateIssueIds$=this.issue$.pipe(D(function(q){var t;return null!=(t=null==q?void 0:q.snapshot[0].duplicateIssueId)?t:[]}),Pe($h));this.blockersDualCount$=(0,E.combineLatest)([this.id$,this.blockerIssueIds$]).pipe(af(function(q){var t=l(q);q=t.next().value;t=t.next().value;return T5(k,q,t,["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(q){var t=l(q);q=t.next().value;t=t.next().value;return T5(k,q,t,["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(q){var t=l(q);q=t.next().value;t=t.next().value;return T5(k,q,t,["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(q){var t=l(q);q=t.next().value;t=t.next().value;return T5(k,q,t,["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(q){var t=l(q);q=t.next().value;var w=t.next().value;t=t.next().value;
return T5(k,q,[].concat(u(t),u(w)),["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(q){var t=l(q);q=t.next().value;t=t.next().value;return T5(k,q,t,["DUPLICATE"])}),Ye({bufferSize:1,refCount:!0}));this.countDuplicateDisplay$=this.duplicatesDualCount$.pipe(D(function(q){return q.total}),D(Dob),Ye({bufferSize:1,refCount:!0}));
this.countResourcesDisplay$=this.issue$.pipe(D(function(q){var t;return null!=(t=null==q?void 0:q.relatedLinks)?t:[]}),D(function(q){return k.activeSession.isInternalSession()?q:q.filter(function(t){return!QIa(t)})}),D(function(q){return Js(q.length)}),D(Dob),Ye({bufferSize:1,refCount:!0}));this.countTodosDisplay$=this.id$.pipe(He(jl),af(function(q){return ZJc(k.codeMentions,q)}),D(function(q){var t,w;return Js(null!=(w=null==(t=q.mentions)?void 0:t.totalMentions)?w:0)}),D(Dob),Ye({bufferSize:1,refCount:!0}));
this.countCommentsDisplay$=this.issueEvents$.pipe(D(function(q){return Js(q.filter(Dn).length)}),D(Dob),Ye({bufferSize:1,refCount:!0}))},T5=function(a,b,c,d){d=void 0===d?[]:d;c=Qj(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 Eob(b,e)}).filter(jl).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(Gn).filter(Hn).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(jl).filter(Gn).filter(Hn).length),total:Js(e.filter(function(f){return!f||Hn(f)}).length)}}))};U5.\u0275fac=function(a){return new (a||U5)(p(bJ),p(FI),p(iI),p(S5),p(kG),p(AH),p(nt))};U5.\u0275prov=Dc({token:U5,factory:U5.\u0275fac,providedIn:"root"});var V5=function(a,b,c,d,e,f,h,k,q){Z.call(this);var t=this;this.issueFridge=a;this.butterBar=b;this.analytics=c;this.refreshMonitor=d;this.contextSensitiveRegistry=e;this.issuePermissionService=f;this.issuePicker=h;this.errorHandler=k;this.counts=q;this.issueId$=this.contextSensitiveRegistry.getIssueId();this.issue$=this.issueId$.pipe(af(this.issueFridge.watchOne));this.filters=[];this.shouldResetFilters=new mv;this.tableColumns=[].concat(u(KJc));this.initialSort={active:"status",direction:"asc"};
this.canEdit$=this.issuePermissionService.hasAclToEdit$;this.blockerIds$=this.issue$.pipe(D(function(w){return null==w?void 0:w.snapshot[0]}),D(function(w){var y,C;return null!=(C=null==w?void 0:null==(y=w.blockedByIssueId)?void 0:y.map(String))?C:[]}));this.blockersCount$=this.blockerIds$.pipe(af(function(w){return 0===w.length?(0,E.of)(0):t.counts.blockersDualCount$.pipe(D(function(y){return y.total.count}))}));this.showBlockersTable$=this.blockersCount$.pipe(D(function(w){return 0<w}),$e(!0));
this.getMenuItems=function(w){return[{type:"action",label:"Remove blocker",action:function(){$Jc(t,w)},title:"Remove blocker",icon:"clear"}]};this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){var w=Dk(t.blockerIds$);if(null!=w){w=l(w);for(var y=w.next();!y.done;y=w.next())t.issueFridge.poke(y.value)}}))};Y(V5,Z);V5.\u0275dir=Z.\u0275dir;
var Mob=function(a){var b;return qe(function(c){b=Dk(a.issueId$);if(null==b)return c.return();a.analytics.trackEvent(Kp.EDIT_ISSUE,"update","add-blocker");return c.yield(a.issuePicker.open({title:"Add Blockers of "+b,allowMultipleIds:!0,edgeType:"blocker"},function(d){aKc(a,b,d)}),0)})},aKc=function(a,b,c){qe(function(d){return 0===c.length?d.return():d.yield(jI(a.issueFridge,"ADD","BLOCKED_BY",b,c).catch(function(e){HG(a.errorHandler,e)}),0)})},$Jc=function(a,b){var c,d;qe(function(e){if(1==e.nextAddress){c=
Dk(a.issueId$);if(null==c)return e.return();a.analytics.trackEvent(Kp.EDIT_ISSUE,"update","remove-blocker");re(e,2);var f=e.yield;var h=jI(a.issueFridge,"REMOVE","BLOCKED_BY",c,[b]);return f.call(e,h,4)}if(2!=e.nextAddress)return tt(e,0);d=ve(e);a.butterBar.showWarning("Could not remove blocker "+b+". "+(wn(d)?xn(d):d));we(e)})};V5.\u0275fac=function(a){return new (a||V5)(B(iI),B(EG),B(aI),B(gI),B(xJ),B(gP),B(rW),B(FG),B(U5))};
V5.\u0275cmp=r({type:V5,selectors:[["b-blockers-table"]],viewQuery:function(a,b){a&1&&og(J5,5);if(a&2){var c;ng(c=qg())&&(b.issuesTable=c.first)}},inputs:{filters:"filters"},outputs:{shouldResetFilters:"shouldResetFilters"},features:[yf],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),L(3,"mat-icon",3),K(),T(4),W(5,"async"),K(),F(6,Gob,2,1,"ng-container",4),W(7,"async"),K(),F(8,Iob,3,3,"ng-container",5),W(9,"async"),F(10,Job,4,2,"p",6),W(11,"async"),F(12,Lob,6,1,"ng-template",null,7,tg)(14,Nob,3,3,"ng-template",null,8,tg));if(a&2){var c=S(13);A(4);V(" Blockers ",X(5,5,b.counts.countBlockersDisplay$)," ");A(2);G("ngIf",X(7,7,b.showBlockersTable$));A(2);G("ngIf",X(9,9,b.showBlockersTable$))("ngIfElse",c);A(2);G("ngIf",X(11,11,null==b.issuesTable?null:b.issuesTable.hiddenRowCount$))}},
dependencies:[Uv,Zv,MA,dC,rJ,J5,$v],styles:["[_nghost-%COMP%] {\n      display: block;\n    }\n    b-issues-table[_ngcontent-%COMP%] {\n      display: block;\n      overflow-x: auto;\n    }"],changeDetection:0});var bKc=function(){this.EMPTY_BLOCKER_LIGHT=b7b;this.EMPTY_BLOCKER_DARK=c7b;this.EMPTY_CHILD_LIGHT=d7b;this.EMPTY_CHILD_DARK=e7b};bKc.\u0275fac=function(a){return new (a||bKc)};
bKc.\u0275cmp=r({type:bKc,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),T(1,"About Dependencies"),K(),H(2,"div",1)(3,"div",2),L(4,"img",3)(5,"img",3)(6,"img",4)(7,"img",4),K(),H(8,"article")(9,"p",5),T(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),T(12,"Learn more"),K()()()(),H(13,"div",7)(14,
"button",8),T(15,"Ok"),K()());a&2&&(A(4),G("src",b.EMPTY_CHILD_LIGHT,Wd),A(1),G("src",b.EMPTY_BLOCKER_LIGHT,Wd),A(1),G("src",b.EMPTY_CHILD_DARK,Wd),A(1),G("src",b.EMPTY_BLOCKER_DARK,Wd))},dependencies:[eA,wA,xA,yA,zA],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 cKc={CANCEL:"CANCEL",ARCHIVE_ALL:"ARCHIVE_ALL",ARCHIVE_ONE:"ARCHIVE_ONE"},dKc=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=cKc};dKc.\u0275fac=function(a){return new (a||dKc)(B(uA),B(cF))};
dKc.\u0275cmp=r({type:dKc,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),T(1,"Archive with all descendant issues?"),
K(),H(2,"div",1),T(3),L(4,"br")(5,"br"),H(6,"a",2),T(7,"View all descendant issues"),K(),L(8,"br"),H(9,"a",3),T(10,"Learn more"),K()(),H(11,"div",4)(12,"button",5),T(13,"Cancel"),K(),H(14,"button",5),T(15," Just this one "),K(),H(16,"button",6),T(17," Archive all "),K()());a&2&&(A(3),V(" This issue has ",b.numberOfDescendants," descendant issues. Archiving only this issue may make it difficult to find them later. Do you want to archive this issue with all descendant issues? "),A(3),Yf("href",b.descendantIssuesUrl,
Wd),A(6),G("matDialogClose",b.ActionType.CANCEL),A(2),G("matDialogClose",b.ActionType.ARCHIVE_ONE),A(2),G("matDialogClose",b.ActionType.ARCHIVE_ALL))},dependencies:[eA,wA,xA,yA,zA],encapsulation:2});var W5=function(a,b,c,d,e,f,h,k,q){this.issueApi=a;this.dialog=b;this.confirmationDialogService=c;this.issueRelationshipsFridge=d;this.issueFridge=e;this.eventsForIssueFridge=f;this.paths=h;this.butterBar=k;this.editIssueService=q};
W5.prototype.submitArchivalState=function(a,b){var c=this;return qe(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);we(d)})};
W5.prototype.archive=function(a){var b=this,c,d,e,f,h,k,q,t,w,y;return qe(function(C){if(1==C.nextAddress)return C.yield(Promise.all([b.getDescendants(a),(0,E.firstValueFrom)(b.issueFridge.watch(a))]),2);c=C.yieldResult;d=l(c);e=d.next().value;f=d.next().value;h=e;k=f;q=h;t=q.childToParents;w=q.completeResult;y=[].concat(u(t.keys()));t.set(a,k.parentIssueIds||[]);return 0===y.length?C.return(eKc(b,a,t)):w?C.return(fKc(b,a,y,t)):C.return(gKc(b,a,t))})};
var fKc=function(a,b,c,d){var e,f,h;return qe(function(k){if(1==k.nextAddress)return e={numberOfDescendants:c.length,issueId:b},f={data:e,width:"500px"},k.yield((0,E.firstValueFrom)(a.dialog.open(dKc,f).afterClosed()),2);h=k.yieldResult;switch(h){case "ARCHIVE_ALL":return k.return(hKc(a,[b].concat(u(c)),d));case "ARCHIVE_ONE":return k.return(eKc(a,b,d));case "CANCEL":return k.return();default:return k.return(Oh(h))}})},hKc=function(a,b,c){var d=[{issueIds:b,actions:[{fieldName:"isArchived",value:"true"}]}];
iKc(a,c);Fs(a.butterBar,"Archiving "+b.length+" issues...");return a.issueApi.issueBulkEdit({bulkEditOps:d}).then(function(){Fs(a.butterBar,"Archived "+b.length+" issues successfully.")}).catch(function(e){a.butterBar.showWarning(e);jKc(a,c)})},eKc=function(a,b,c){iKc(a,c);return a.issueApi.updateIssue(b,{issueId:b,actions:[{fieldName:"isArchived",value:"true"}]}).then(function(){Fs(a.butterBar,"Archived successfully.")}).catch(function(d){a.butterBar.showWarning(d);jKc(a,c)})},gKc=function(a,b,c){return new Promise(function(d){a.confirmationDialogService.open({title:"Archive issue with descendant issues?",
content:eh([ch("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."),fh("br",{}),fh("br",{}),fh("a",{href:a.paths.listIssues({q:"parentId:"+b+"+"}),target:"_blank"},"View all descendant issues"),fh("br",{}),fh("a",{href:"http://go/b-issue-archive",target:"_blank"},"Learn more")]),cancelButtonText:"Cancel",confirmButtonText:"Just this one",
onConfirm:function(){eKc(a,b,c).then(d)},onDismiss:d})})},iKc=function(a,b){b=l(b.entries());for(var c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;d=l(d);for(var e=d.next();!e.done;e=d.next())a.issueRelationshipsFridge.unlinkFromParent(c,e.value,!0)}},jKc=function(a,b){b=[].concat(u(b.values())).flat();b=l(b);for(var c=b.next();!c.done;c=b.next())a.issueRelationshipsFridge.poke(c.value)};
W5.prototype.getDescendants=function(a){var b=this,c,d,e,f,h,k,q,t,w,y,C,J;return qe(function(I){if(1==I.nextAddress)return I.yield((0,E.firstValueFrom)(j4b(b.issueRelationshipsFridge,a)),2);c=I.yieldResult;d=c.results;e=!0;f=new Map;h=l(d);for(k=h.next();!k.done;k=h.next()){q=k.value;t=l(q.relatedChildren);for(w=t.next();!w.done;w=t.next())y=w.value,C=void 0,J=null!=(C=f.get(y.targetIssueId))?C:[],J.push(q.issueId),f.set(y.targetIssueId,J);q.totalChildCount===q.relatedChildren.length||(e=!1)}return I.return({childToParents:f,
completeResult:e})})};W5.\u0275fac=function(a){return new (a||W5)(p(kG),p(vA),p(SJ),p(FI),p(iI),p(AH),p(cF),p(EG),p(lP))};W5.\u0275prov=Dc({token:W5,factory:W5.\u0275fac,providedIn:"root"});var X5=function(a){this.pathToAncestor=a},Ls=function(a){return new X5(a.split(">"))},kKc=function(a,b){return new X5([].concat(u(a.pathToAncestor),[b]))};X5.prototype.hash=function(){return this.pathToAncestor.join(">")};X5.prototype.equals=function(a){return!!a&&$h(this.pathToAncestor,a.pathToAncestor)};var lKc=function(a,b){a=l(a.pathToAncestor.entries());for(var c=a.next();!c.done;c=a.next()){c=l(c.value);var d=c.next().value;if(c.next().value!==b.pathToAncestor[d])return!1}return!0};
X5.prototype.contains=function(a){return this.pathToAncestor.join(",").includes(a.pathToAncestor.join(","))};X5.prototype.some=function(a){return this.pathToAncestor.some(a)};X5.prototype.toString=function(){return this.hash()};
Gh.Object.defineProperties(X5.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 X5(this.pathToAncestor.slice(0,this.size-1))}},root:{configurable:!0,enumerable:!0,get:function(){return this.pathToAncestor[0]}}});var Y5=function(){var a=this;this.draftRows=new Map;this.changed$=new E.Subject;this.counter=0;this.createId=function(){return String(a.counter++)}};Y5.prototype.create=function(a,b,c){var d=this.createId();b={type:"draft-issue",title:"",ancestorChain:kKc(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};
Y5.prototype.get=function(a){var b;return null!=(b=this.draftRows.get(a.hash()))?b:[]};Y5.prototype.remove=function(a){var b=a.ancestorChain.parentChain,c=this.get(b),d=c.filter(function(f){return f.id!==a.id});if(c.length!==d.length){c=l(d);for(var e=c.next();!e.done;e=c.next())e=e.value,e.afterDraftId===a.id&&(e.afterDraftId=a.afterDraftId);this.draftRows.set(b.hash(),d);this.changed$.next(this.draftRows)}};
var mKc=function(a,b){return qe(function(c){return c.return((0,E.firstValueFrom)(a.changed$.pipe($e(a.draftRows),D(function(d){return![].concat(u(d.values())).flat().some(function(e){return e.issueId===b||e.id===b})}),He(Boolean),D(function(){}))))})};Y5.prototype.isSaving=function(){return[].concat(u(this.draftRows.values())).flat().some(function(a){return a.saving})};Y5.prototype.set=function(a,b){var c=this.get(a);this.draftRows.set(a.hash(),[].concat(u(c),[b]));this.changed$.next(this.draftRows)};var nKc={defaultExpandedChildren:10,defaultExpansionLevel:3,maxExpansion:500},oKc=function(a){var b=void 0;b=void 0===b?nKc:b;a=void 0===a?{}:a;this.config=b;this.expansionState=this.initialState=a;this.changed$=new E.ReplaySubject(1)},pKc=function(a,b){b=b.hash();return a.expansionState[b]},qKc=function(a,b,c){b=b.hash();void 0===c?delete a.expansionState[b]:a.expansionState[b]=c;a.changed$.next(a.expansionState)},rKc=function(a,b,c){var d=!1;c=l(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;
var f=kKc(b,e.nodeId);e.size<=a.config.defaultExpansionLevel&&void 0===pKc(a,e)&&(a.expansionState[f.hash()]=a.config.defaultExpandedChildren,d=!0);for(var h=l(Object.entries(a.expansionState)),k=h.next();!k.done;k=h.next()){k=l(k.value);var q=k.next().value;k=k.next().value;q=Ls(q);q.contains(e)&&(d=q.pathToAncestor.join(",").replace(e.pathToAncestor.join(","),f.pathToAncestor.join(",")).split(","),d=new X5(d),delete a.expansionState[q.hash()],a.expansionState[d.hash()]=k,d=!0)}}if(!pKc(a,b)){var t;
a.expansionState[b.hash()]=null!=(t=a.config.defaultExpandedChildren)?t:a.config.maxExpansion;d=!0}d&&a.changed$.next(a.expansionState)};var Z5=function(a,b,c,d,e){this.issueApi=a;this.activeSession=b;this.issueFridge=c;this.componentFridge=d;this.componentTemplatesFridge=e;this.currentUser=ti(this.activeSession.getUserEmail())},tKc=function(a,b){var c,d,e;return qe(function(f){if(1==f.nextAddress)return f.yield(sKc(a,b),2);c=f.yieldResult;d=c.component;e=c.defaultTemplate;return f.return(tBa(d,e))})},vKc=function(a,b){var c;return qe(function(d){if(1==d.nextAddress)return d.yield(uKc(a,b),2);c=d.yieldResult;return d.return({snapshot:[c],
issueId:"",version:0,userData:void 0,aggregatedData:void 0,accessLimit:void 0,customFields:[],visibleFields:[],majorModifiedTimeMicros:0,parentIssueIds:[],ancestors:new Map,childIssueCount:0,isArchived:!1,relatedLinks:[],descendantCount:0,openDescendantCount:0})})},wKc=function(a,b,c){var d;return qe(function(e){if(1==e.nextAddress)return e.yield(uKc(a,b),2);d=e.yieldResult;d.title=c;return e.return(a.create(d))})};
Z5.prototype.create=function(a){var b=this,c,d;return qe(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 uKc=function(a,b){var c,d,e,f,h;return qe(function(k){if(1==k.nextAddress)return k.yield((0,E.firstValueFrom)(a.issueFridge.watch(b).pipe(He(jl))),2);if(3!=k.nextAddress)return c=k.yieldResult,k.yield(sKc(a,String(c.snapshot[0].componentId)),3);d=k.yieldResult;e=d.component;f=d.defaultTemplate;if(c){var q={};c.snapshot[0].priority&&(q.priority=c.snapshot[0].priority);c.snapshot[0].severity&&(q.severity=c.snapshot[0].severity);c.snapshot[0].type&&(q.type=f4b[c.snapshot[0].type])}else q={};h=Object.assign({},
{componentId:e.componentId},{inProd:!1,status:"NEW",isDeleted:!1,deletionReason:"DELETION_REASON_UNSPECIFIED",isArchived:!1,formattingMode:"UNSPECIFIED_FORMATTING_MODE",reporterUser:a.currentUser,ccUsers:[a.currentUser]},q,xKc(f),yKc(e,f));h.assigneeUser&&(h.status="ASSIGNED");return k.return(h)})},xKc=function(a){if(!a)return{};a=cc(a.snapshot,function(b){return null==b||"string"===typeof b&&Ei(b)?!1:!0});delete a.componentId;return a},yKc=function(a,b){var c=[],d,e;a=l(null!=(e=null==(d=a.componentPathInfo)?
void 0:d.allCustomField)?e:[]);e=a.next();for(d={};!e.done;d={customField$jscomp$45:d.customField$jscomp$45},e=a.next())if(d.customField$jscomp$45=e.value,d.customField$jscomp$45.required){var f=void 0;e=null!=(f=d.customField$jscomp$45.typedDefaultValue)?f:{customFieldId:d.customField$jscomp$45.customFieldId};var h=f=void 0,k=void 0,q=null!=(k=null==(f=b)?void 0:null==(h=f.snapshot.customField)?void 0:h.find(function(t){return function(w){return w.customFieldId===t.customField$jscomp$45.customFieldId}}(d)))?
k:e;q&&c.push(Object.assign({},q))}return 0===c.length?{}:{customField:c}},sKc=function(a,b){var c,d,e,f,h,k;return qe(function(q){if(1==q.nextAddress)return q.yield(Promise.all([(0,E.firstValueFrom)(a.componentTemplatesFridge.defaultTemplate$(b)),(0,E.firstValueFrom)(a.componentFridge.watch(b).pipe(He(jl)))]),2);c=q.yieldResult;d=l(c);e=d.next().value;f=d.next().value;h=e;k=f;return q.return({component:k,defaultTemplate:h})})};Z5.\u0275fac=function(a){return new (a||Z5)(p(kG),p(nt),p(iI),p(mH),p(tH))};
Z5.\u0275prov=Dc({token:Z5,factory:Z5.\u0275fac,providedIn:"root"});var $5=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J){c=void 0===c?1:c;Z.call(this);var I=this;this.rootIssueId=a;this.quickFilters=b;this.defaultExpansionLevel=c;this.saveExpansionAtKey=d;this.analytics=e;this.butterBar=f;this.issueFridge=h;this.issuePicker=k;this.issueRelationshipsFridge=q;this.paths=t;this.router=w;this.issueCreationService=y;this.clearcut=C;this.refreshMonitor=J;this.defaultApiRequestDepth=this.defaultExpansionLevel+2;this.defaultExpandedChildren=10;this.saveExpansion=this.saveExpansionAtKey?
Bj(this.saveExpansionAtKey):function(){};this.expansion=new oKc(zKc(this));this.draftRows=new Y5;this.refetchingAll$=new E.BehaviorSubject(!1);this.userRequestedRefresh$=this.refreshMonitor.getObservable().pipe(af(function(){I.refetchingAll$.next(!0);var P=Dk(I.rows$),O=[];if(!P)return Promise.resolve();O.push(k4b(I.issueRelationshipsFridge,I.rootIssueId,I.defaultApiRequestDepth));P=l(P);for(var U=P.next();!U.done;U=P.next())U=U.value,"data"===U.type&&O.push(I.issueFridge.poke(U.id)),U.level>I.defaultExpansionLevel&&
O.push(I.issueRelationshipsFridge.poke(U.id));return Promise.all(O).then(function(){I.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 j4b(I.issueRelationshipsFridge,I.rootIssueId,I.defaultApiRequestDepth)}),af(function(){for(var P=new Map,O=l(Object.entries(I.expansion.expansionState)),U=O.next();!U.done;U=O.next()){U=l(U.value);var aa=U.next().value;
U=U.next().value;aa=Ls(aa).nodeId;var na=void 0;U=Math.max(U,null!=(na=P.get(aa))?na:0);P.set(aa,U)}return AKc(I,P)}),Me(this.quickFilters.value$),af(function(P){P=l(P);var O=P.next().value,U=P.next().value;return 0===U.size?(I.hiddenRowCount$.next(0),(0,E.of)(O)):BKc(I,O).pipe(D(function(aa){return CKc(I,O,U,aa)}))}),D(function(P){return DKc(I,P)}),Ye({refCount:!0,bufferSize:1}));this.hiddenRowCount$=new E.BehaviorSubject(0);this.rootIssue$=this.issueFridge.watch(this.rootIssueId).pipe(He(jl));this.ROOT_ROW=
{type:"data",id:this.rootIssueId,level:-1,ancestorChain:new X5([this.rootIssueId]),expandedCount:500,issue$:E.NEVER,hasChildren$:E.NEVER};this.supportsOneLineCreation=(0,E.firstValueFrom)(this.rootIssue$).then(function(P){return bo(P.snapshot[0].componentId)}).then(function(P){return tKc(I.issueCreationService,P)});this.isOneLineCreationSupported=function(){return I.supportsOneLineCreation};this.saveExpansionAtKey&&this.subscriptions.add(this.expansion.changed$.pipe(Ne(100)).subscribe(this.saveExpansion))};
Y($5,Z);$5.\u0275dir=Z.\u0275dir;$5.\u0275fac=Z.\u0275fac;
var zKc=function(a){a=a.saveExpansionAtKey;if(null!=a){a=Isa(a)();a:if("object"!==typeof a||Object.getPrototypeOf(a)!==Object.prototype)var b=!1;else{b=l(Object.getOwnPropertyNames(a));for(var c=b.next();!c.done;c=b.next())if("number"!==typeof a[c.value]){b=!1;break a}b=!0}return b?a:void 0}},EKc=function(a,b,c){b=void 0===b?a.ROOT_ROW.ancestorChain:b;var d,e,f,h,k,q,t;qe(function(w){switch(w.nextAddress){case 1:return d=b.nodeId,w.yield((0,E.firstValueFrom)(a.issueFridge.watch(d)),2);case 2:return(e=
w.yieldResult)?w.yield(a.supportsOneLineCreation,3):w.return();case 3:f=w.yieldResult;if(!f){w.jumpTo(4);break}return w.yield(vKc(a.issueCreationService,d),5);case 5:return h=w.yieldResult,w.return(a.draftRows.create(b,h,c));case 4:return k=e.snapshot[0].componentId,t={},w.yield(Ns(a.router,a.paths.createIssue((t.component=k?String(k):void 0,t.parentIssueId=e.issueId,t.redirectUrl=hwa(a.rootIssueId),t.afterIssueId=null==(q=c)?void 0:q.afterIssueId,t))),6);case 6:return w.return()}})};
$5.prototype.addExistingChild=function(a){var b=this,c,d,e,f;qe(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();f=String(e.issueId);return h.yield(b.issuePicker.open({title:"Add Children of b/"+f,allowMultipleIds:!0,edgeType:"child"},function(k){return qe(function(q){if(1==q.nextAddress){if(0===k.length)return q.return();b.assignParentToIssues(f,k);b.analytics.trackEvent(Kp.EDIT_ISSUE,
"add","existing-child-issue");return q.yield(oo(),2)}a&&qKc(b.expansion,a.ancestorChain,500);we(q)})}),0)})};$5.prototype.saveDraft=function(a){var b=this,c;return qe(function(d){if(1==d.nextAddress){if(a.saving||!a.title)return d.return();a.saving=!0;return d.yield(FKc(b,a),2)}return(c=d.yieldResult)?d.return(GKc(b,a,c)):d.return()})};
var FKc=function(a,b){var c,d,e,f;return qe(function(h){switch(h.nextAddress){case 1:return c=b.ancestorChain.parentNodeId,re(h,2),h.yield(wKc(a.issueCreationService,c,b.title),4);case 4:e=h.yieldResult;d=e.issueId;tt(h,3);break;case 2:return f=ve(h),a.butterBar.showWarning("Could not create issue. Error: "+JSON.stringify(f)),a.draftRows.remove(b),h.return();case 3:var k=(new Date).getTime()-b.draftStartedAt.getTime();if(0<k){var q=Math.min(k,108E5);Q3b("createIssue",q,"from-tree");a.analytics.trackEvent(Kp.CREATE_ISSUE,
"createIssue","time-to-create-from-tree",q);WH(a.clearcut,k,"createIssue-fromTree")}qKc(a.expansion,b.ancestorChain.parentChain,500);k=a.draftRows;q=d;b.issueId=q;for(var t=l(k.draftRows.values()),w=t.next();!w.done;w=t.next()){w=l(w.value);for(var y=w.next();!y.done;y=w.next())y=y.value,y.afterDraftId===b.id&&(y.afterIssueId=q)}k.changed$.next(k.draftRows);return h.return(d)}})},GKc=function(a,b,c){var d,e,f,h,k,q;return qe(function(t){if(1==t.nextAddress)return d=b.ancestorChain.parentNodeId,f=
null!=(e=b.afterIssueId)?e:b.afterDraftId,void 0===f||"-1"===f?t.jumpTo(2):t.yield(mKc(a.draftRows,f),2);if(4!=t.nextAddress)return t.yield(a.issueRelationshipsFridge.assignParentToIssues(d,[{issueId:c,afterIssueId:b.afterIssueId}]),4);h=t.yieldResult;k=h.errors;(null==(q=k)?0:q.length)&&a.butterBar.showWarning("Could not create issue relationship. Error: "+JSON.stringify(k));a.draftRows.remove(b);we(t)})},AKc=function(a,b,c){c=void 0===c?0:c;return(0,E.combineLatest)([a.rootIssueId].concat(u(b.keys())).map(function(d){return a.refetchingAll$.pipe(He(function(e){return!e}),
af(function(){return i4b(a.issueRelationshipsFridge,d)}))})).pipe(af(function(d){var e=new Map;d=l(d);for(var f=d.next();!f.done;f=d.next())(f=f.value)&&e.set(f.issueId,f);if(c===a.defaultExpansionLevel)return(0,E.of)(e);d=HKc(a,e,c);d=new Map(d.map(function(h){return[h,a.defaultExpandedChildren]}));return AKc(a,d,c+1).pipe(D(function(h){var k=new Map(e);h=l(h.entries());for(var q=h.next();!q.done;q=h.next()){var t=l(q.value);q=t.next().value;t=t.next().value;k.set(q,t)}return k}))}))},HKc=function(a,
b,c){var d=[];a=[{id:a.rootIssueId,level:-1}];for(var e={};0<a.length;)if(e={current$jscomp$36:e.current$jscomp$36},e.current$jscomp$36=a.pop(),e.current$jscomp$36.level===c&&d.push(e.current$jscomp$36.id),!(e.current$jscomp$36.level>c)){var f=void 0,h=void 0,k=null!=(h=null==(f=b.get(e.current$jscomp$36.id))?void 0:f.relatedChildren)?h:[];a.push.apply(a,u(k.map(function(q){return function(t){return{id:t.targetIssueId,level:q.current$jscomp$36.level+1}}}(e))))}return d},DKc=function(a,b){for(var c=
[],d=[a.ROOT_ROW],e={};0<d.length;)if(e={parentRow$jscomp$1:e.parentRow$jscomp$1,childrenLevel:e.childrenLevel},e.parentRow$jscomp$1=d.pop(),"load-more-children"===e.parentRow$jscomp$1.type||"draft-issue"===e.parentRow$jscomp$1.type)c.push(e.parentRow$jscomp$1);else{e.parentRow$jscomp$1.id!==a.rootIssueId&&c.push(e.parentRow$jscomp$1);var f=void 0,h=void 0,k=null!=(h=null==(f=b.get(e.parentRow$jscomp$1.id))?void 0:f.relatedChildren)?h:[];f=k.slice(0,e.parentRow$jscomp$1.expandedCount);e.childrenLevel=
e.parentRow$jscomp$1.level+1;e.parentRow$jscomp$1.expandedCount&&f.length<k.length&&(h=kKc(e.parentRow$jscomp$1.ancestorChain,"load-more-children"),d.push({type:"load-more-children",id:h.hash(),level:e.childrenLevel,parentIssue$:e.parentRow$jscomp$1.issue$,ancestorChain:h,truncatedSiblingCount:k.length-f.length}));k=f.map(function(q){return function(t){var w=kKc(q.parentRow$jscomp$1.ancestorChain,t.targetIssueId),y=t.targetIssueId,C=q.childrenLevel,J=a.issueRelationshipsFridge.watch(t.targetIssueId).pipe(D(LCa));
var I=q.childrenLevel;var P=w.nodeId,O=pKc(a.expansion,w);if(void 0!==O)I=O;else if(I<a.defaultExpansionLevel){var U,aa;I=Math.min(a.defaultExpandedChildren,null!=(aa=null==(U=b.get(P))?void 0:U.relatedChildren.length)?aa:0)}else I=0;return{type:"data",id:y,level:C,hasChildren$:J,ancestorChain:w,expandedCount:I,issue$:a.issueFridge.watch(t.targetIssueId)}}}(e));d.push.apply(d,u(IKc(a,k,e.parentRow$jscomp$1.ancestorChain).reverse()))}return c},IKc=function(a,b,c){var d=[].concat(u(b));a=a.draftRows.get(c);
a=l(a);var e=a.next();for(c={};!e.done;c={draft$jscomp$5:c.draft$jscomp$5},e=a.next())c.draft$jscomp$5=e.value,b.some(function(f){return function(h){return h.id===f.draft$jscomp$5.issueId}}(c))||(e=d.findIndex(function(f){return function(h){return h.id===f.draft$jscomp$5.afterDraftId||h.id===f.draft$jscomp$5.afterIssueId}}(c)),d.splice(-1===e?d.length:e+1,0,c.draft$jscomp$5));return d};
$5.prototype.assignParentToIssues=function(a,b){var c=this,d,e,f,h;return qe(function(k){if(1==k.nextAddress)return 0===b.length?k.return():k.yield(c.issueRelationshipsFridge.assignParentToIssues(a,b.map(function(q){return{issueId:q,afterIssueId:"-1"}})),2);d=k.yieldResult;e=d.notAdded;f=d.errors;if(e.length)return c.butterBar.showWarning("Could not add "+e+" as child of b/"+a+". "+(null==(h=f)?void 0:h.map(function(q){return xn(q)}))),k.return();we(k)})};
var BKc=function(a,b){for(var c=new Set,d=l(b.keys()),e=d.next();!e.done;e=d.next())c.add(e.value);b=l(b.values());for(d=b.next();!d.done;d=b.next())for(d=d.value.relatedChildren.map(function(f){return f.targetIssueId}),d=l(d),e=d.next();!e.done;e=d.next())c.add(e.value);return(0,E.combineLatest)([].concat(u(c)).map(function(f){return a.issueFridge.watch(f)})).pipe(D(function(f){return f.filter(jl)}))},CKc=function(a,b,c,d){function e(q){if(!q)return!1;var t=f.get(q),w=h.get(q);if(!t||0===t.relatedChildren.length)return w;
var y=t.relatedChildren.filter(function(C){return e(C.targetIssueId)});k+=t.relatedChildren.length-y.length;f.set(q,Object.assign({},t,{relatedChildren:y}));return 0!==y.length||w}var f=new Map(b.entries()),h=new Map(d.map(function(q){return[q.issueId,aUa(q,c)]})),k=0;e(a.rootIssueId);a.hiddenRowCount$.next(k);return f},a6=function(a,b,c,d,e,f,h,k,q,t){this.analytics=a;this.butterBar=b;this.issueFridge=c;this.issuePicker=d;this.issueRelationshipsFridge=e;this.paths=f;this.router=h;this.issueCreationService=
k;this.clearcut=q;this.refreshMonitor=t};a6.prototype.create=function(a,b,c,d){b=void 0===b?new iP:b;return new $5(a,b,c,d,this.analytics,this.butterBar,this.issueFridge,this.issuePicker,this.issueRelationshipsFridge,this.paths,this.router,this.issueCreationService,this.clearcut,this.refreshMonitor)};a6.\u0275fac=function(a){return new (a||a6)(p(aI),p(EG),p(iI),p(rW),p(FI),p(cF),p(yE),p(Z5),p(VH),p(gI))};a6.\u0275prov=Dc({token:a6,factory:a6.\u0275fac,providedIn:"root"});var b6=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=jMb(function(f,h){if(e.activeDrag){var k=f||0,q=h.getBoundingClientRect();f=q.height;k-=q.top;
f=Qob(k<=.25*f?"top":k>=.75*f?"bottom":"middle",h);h=f.position;f=f.rowElement;switch(h){case "current":e.placeholder.style.display="block";e.insertionBar.style.display="none";e.placeholder.style.left=f.offsetLeft+"px";e.placeholder.style.top=f.offsetTop+"px";e.placeholder.style.height=f.offsetHeight+"px";break;case "before":case "after":var t=(k=null==(t=f.querySelector(".title-location"))?void 0:t.getBoundingClientRect().left)?k-f.getBoundingClientRect().left:0;t=f.offsetLeft+t;k="after"===h?f.offsetTop+
f.offsetHeight:f.offsetTop;q=f.getBoundingClientRect().width;e.insertionBar.style.display="block";e.placeholder.style.display="none";e.insertionBar.style.left=t+"px";e.insertionBar.style.top=k-1+"px";e.insertionBar.style.width=q-t+"px";break;case "none":e.placeholder.style.display="none",e.insertionBar.style.display="none"}e.currentReorderingGuide={rowElement:f,position:h};JKc(e,f,h)}},10);this.ngZone.runOutsideAngular(function(){a.addEventListener("dragover",function(f){var h,k=null==(h=f.target)?
void 0:h.closest("tr");if(k&&(e.onDragOver(f.clientY,k),k.classList.contains("dragging")||k.classList.contains("nodrop")))return!0;var q;if("none"===(null==(q=e.currentReorderingGuide)?void 0:q.position))return!0;f.preventDefault();return!1});a.addEventListener("dragend",function(){KKc(e)});a.addEventListener("drop",function(){e.reorder(e.currentReorderingGuide,LKc(e.rowSelectionModel),"mouse",4);KKc(e)})})};
b6.prototype.handleDragStart=function(a){var b=this;this.activeDrag=!0;var c=a.target.closest("tr");this.rowSelectionModel.select(Rob(c));MKc(this.rowSelectionModel);NKc(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=l(a);for(c=a.next();!c.done;c=a.next())c.value.element.classList.add("dragging")};
var OKc=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)},PKc=function(a,b){var c=a.rows.toArray(),d=c.findIndex(function(f){return f.row.ancestorChain.equals(b.row.ancestorChain)});if(-1!==d&&0!==d){c=c.slice(0,d).reverse();c=l(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)}};
b6.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)}};
b6.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?OKc(this,a):(b=c&&b.row.level<Pob(c)?{position:"before",rowElement:c}:{position:"after",rowElement:b.element},this.reorder(b,[a.row.ancestorChain],"keyboard",1))}};
b6.prototype.onKeydown=function(a){if(a.ctrlKey){var b,c=null==(b=a.target)?void 0:b.closest("tr");if(c){var d=Rob(c);if(b=this.rows.toArray().find(function(e){return e.row.ancestorChain.equals(d)}))switch(a.key){case "ArrowLeft":OKc(this,b);break;case "ArrowRight":PKc(this,b);break;case "ArrowUp":this.moveUp(b);break;case "ArrowDown":this.moveDown(b)}}}};
b6.prototype.reorder=function(a,b,c,d){var e=this;if(a){var f=Rob(a.rowElement),h=void 0,k=f;switch(a.position){case "current":k=f;h={parentId:f.nodeId};break;case "before":case "after":k=f.parentChain,h={parentId:f.parentNodeId,position:{issueId:f.nodeId,position:a.position}}}this.ngZone.run(function(){b.length&&h&&e.onRowsMoved$.next({movedRows:b,insertAt:h,parentAncestorChain:k,origin:c,actionMessage:Oob(d)})})}};
var KKc=function(a){for(var b=l(a.rootElement.querySelectorAll("tr.dragging")),c=b.next();!c.done;c=b.next())c.value.classList.remove("dragging");b=l(a.rootElement.querySelectorAll("tr.nodrop"));for(c=b.next();!c.done;c=b.next())c.value.classList.remove("nodrop");a.rowSelectionModel.clear();a.placeholder.style.display="none";a.insertionBar.style.display="none";var d;null==(d=a.updatingNoDropRows)||d.unsubscribe();var e,f;null==(e=a.dragPreview)||null==(f=e.parentElement)||f.removeChild(a.dragPreview);
a.activeDrag=!1},JKc=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 Rob(b).equals(e.row.ancestorChain)});d&&(a.ngZone.run(function(){a.onLongHover$.next(d)}),a.longHoveredRow.emitted=!0)}},NKc=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(f){return f.nodeId}));c=l(c);for(var e=c.next();!e.done;e=c.next())e=e.value,e.row.ancestorChain.some(function(f){return d.has(f)})&&e.element.classList.add("nodrop")})};var c6=function(a){Z.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(Hva(),bf(this.destroyed$)).subscribe(function(c){var d=c[c.length-1].timestamp-c[0].timestamp;c=Qj(c.map(function(e){return e.event.origin}));c=1===c.length?c[0]:"mixed";b.analytics.trackEvent(Kp.EDIT_ISSUE,"reorderChildren",c);Q3b("reorderChildren",d,c)})};Y(c6,Z);c6.\u0275dir=Z.\u0275dir;
c6.\u0275fac=function(a){return new (a||c6)(p(aI))};c6.\u0275prov=Dc({token:c6,factory:c6.\u0275fac,providedIn:"root"});var d6=function(){this.changed$=new E.Subject;this.selectedRowHashes=new Set;this.isSelectedObservableMap=new Map};d6.prototype.init=function(a){this.visibleRows=a};d6.prototype.isSelected=function(a){return this.selectedRowHashes.has(a.hash())};var Dpb=function(a,b){var c=b.hash(),d,e=null!=(d=a.isSelectedObservableMap.get(c))?d:a.changed$.pipe($e(a.selectedRowHashes),D(function(f){return f.has(b.hash())}),Pe(),Ye({refCount:!0,bufferSize:1}));a.isSelectedObservableMap.set(c,e);return e};
d6.prototype.select=function(a){this.selectedRowHashes.add(a.hash());this.changed$.next(this.selectedRowHashes)};d6.prototype.clear=function(){this.selectedRowHashes.clear();this.changed$.next(this.selectedRowHashes)};
var MKc=function(a){for(var b=a.visibleRows.toArray().map(function(k){return k.row.ancestorChain}),c=!1,d=l(a.selectedRowHashes.values()),e=d.next();!e.done;e=d.next()){e=Ls(e.value);for(var f=l(b),h=f.next();!h.done;h=f.next())h=h.value,lKc(e,h)&&(a.selectedRowHashes.add(h.hash()),c=!0)}c&&a.changed$.next(a.selectedRowHashes)},LKc=function(a){var b=a.visibleRows.toArray().map(function(f){return f.row});b=new Map(b.filter(function(f){return"data"===f.type}).map(function(f){return[f.ancestorChain.hash(),
f]}));var c=new Set([].concat(u(a.selectedRowHashes.values())).map(function(f){return Ls(f)}).map(function(f){return f.nodeId})),d=[];a=l(a.selectedRowHashes.values());for(var e=a.next();!e.done;e=a.next())(e=b.get(e.value))&&(e.ancestorChain.parentChain.some(function(f){return c.has(f)})||d.push(e.ancestorChain));return d};
Gh.Object.defineProperties(d6.prototype,{selectedRows:{configurable:!0,enumerable:!0,get:function(){return[].concat(u(this.selectedRowHashes)).map(function(a){return Ls(a)})}},selectedCount:{configurable:!0,enumerable:!0,get:function(){return this.selectedRowHashes.size}}});var QKc=function(){return["focus-indicator","load-more-children"]},e6=Kp.EDIT_ISSUE,RKc={type:"data",id:"",issue$:E.NEVER,hasChildren$:E.NEVER,ancestorChain:new X5([]),level:0,expandedCount:0},f6=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I){Z.call(this);var P=this;this.issueRelationshipsFridge=a;this.router=b;this.butterBar=c;this.analytics=d;this.issueArchiveService=e;this.ngZone=f;this.elementRef=h;this.domSafe=q;this.reorderingSessionTracker=t;this.cdr=w;this.relationsTableModelFactory=y;this.liveAnnouncer=
C;this.clearcut=J;this.paths=I;this.defaultExpansionLevel=1;this.internalFilters=new iP;this.isClosed=QBa;this.tableColumns=[].concat(u(LJc));this.options={};this.trackBy=function(O,U){return U.ancestorChain.hash()+U.type};this.isLoadMoreRow=function(O,U){return"load-more-children"===U.type};this.isDataRow=function(O,U){return"data"===U.type};this.isDraftRow=function(O,U){return"draft-issue"===U.type};this.selectionModel=new d6;this.hasLogged=!1;this.correctedDisplayedRows=new rg;this.TITLE_FIXED_OFFSET_PX=
42;this.rowDirectiveMap=new Map;this.getRowIndex=function(O){var U;return(null!=(U=Dk(P.rows$))?U:[]).findIndex(function(aa){return Ks(aa,O)})};this.showError=function(O){return function(U){P.butterBar.showWarning(O+". "+(wn(U)?xn(U):U))}};this.subscriptions.add(BX(k,function(){return P.tableModel.draftRows.isSaving()||P.issueRelationshipsFridge.isSaving()},!1))};Y(f6,Z);f6.\u0275dir=Z.\u0275dir;
f6.prototype.ngOnInit=function(){var a=this;this.tableModel=this.relationsTableModelFactory.create(this.rootIssueId,this.internalFilters,this.defaultExpansionLevel,this.saveExpansionAtKey);this.rows$=(0,E.scheduled)([this.tableModel.rows$,(0,E.of)([RKc])],E.asyncScheduler).pipe(Ce(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$}))}),Ne(0,E.asapScheduler));this.subscriptions.add(b.subscribe(function(c){a.cdr.detectChanges();
SKc(a,c)}));this.rowReorderingModel=new b6(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?xpb(a,d):"data"===d.type&&(c=a.tableModel.expansion,d=d.ancestorChain,pKc(c,d)||qKc(c,d,10))}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){var d;return qe(function(e){if(1==e.nextAddress)return o4b(a.issueRelationshipsFridge,
c.insertAt,c.movedRows.map(function(f){return{issueId:f.nodeId,parentId:f.parentNodeId}})).then(function(){return a.liveAnnouncer.announce(c.actionMessage+" successfully.")}).catch(a.showError("Unable to reorder issues")),rKc(a.tableModel.expansion,c.parentAncestorChain,c.movedRows),e.yield((0,E.firstValueFrom)(a.correctedDisplayedRows.changes.pipe(D(function(f){return f.find(function(h){return"data"===h.row.type&&h.row.ancestorChain.nodeId===c.movedRows[0].nodeId&&h.row.ancestorChain.parentNodeId===
c.insertAt.parentId})}),He(Boolean),Je(6E4))),2);d=e.yieldResult;d.focus();we(e)})}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){a.reorderingSessionTracker.onRowsMoved$.next(c)}))};
var SKc=function(a,b){if(!a.hasLogged&&0!==b.length){a.hasLogged=!0;var c=b.length,d=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;F3b(a.clearcut,"view-relations-"+(d?"all-loaded":"some-loaded"));a.analytics.trackEvent(e6,"view-relations","visible-count",c);d&&(b=b.filter(function(e){var f;return null!=(null==e?void 0:null==(f=e.snapshot[0])?void 0:
f.effort)}).length/c,c=.5<b?"most-estimated":"most-unestimated",F3b(a.clearcut,"view-relations-"+c),a.analytics.trackEvent(e6,"view-relations","ratio-estimated",b),a.analytics.trackEvent(e6,"view-relations",c))}};
f6.prototype.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=l(b).next().value;a.rowDirectiveMap=new Map(a.displayedRows.map(function(c){return[c.row.ancestorChain.hash(),c]}));b=b.map(function(c){return a.rowDirectiveMap.get(c.ancestorChain.hash())}).filter(Boolean);a.correctedDisplayedRows.reset(b);mg(a.correctedDisplayedRows)});this.focusManager=Ax(new Pmc(this.correctedDisplayedRows,
Ks))};f6.prototype.toggleExpansion=function(a){qKc(this.tableModel.expansion,a.ancestorChain,a.expandedCount?0:10)};f6.prototype.navigateToIssue=function(a,b){!b.id||a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(this.analytics.trackEvent(e6,"navigate","to-child-issue"),b=Ok(b.id),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?Ap(this.domSafe,b):Ns(this.router,b))};
var xpb=function(a,b){var c;return qe(function(d){if(1==d.nextAddress)return c=a.getRowIndex(b),qKc(a.tableModel.expansion,b.ancestorChain.parentChain,500),d.yield(oo(),2);a.focusManager.setActiveItem(c);we(d)})},tpb=function(a,b){return[{type:"action",label:"Continue on the create issue page",action:function(c){return TKc(a,c,b)},title:"Continue on the create issue page",icon:"arrow-forward"}]};
f6.prototype.getMenuItems=function(a){var b=this;return[{type:"action",label:"Go to issue",action:function(c){b.navigateToIssue(c,a)},title:"Go to issue",icon:"arrow-forward"},{type:"action",label:"View Children",disabled:!Dk(a.hasChildren$),action:function(){var c=Qk({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 qe(function(c){if(1==c.nextAddress)return c.yield(oo(),
2);UKc(b,a);we(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 qe(function(c){if(1==c.nextAddress)return c.yield(oo(),2);VKc(b,a);we(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(){PKc(b.rowReorderingModel,b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Indent",icon:"arrow-right",hintText:"shift+ctrl+right"},{type:"action",label:"Unindent",action:function(){OKc(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(){WKc(b,a)},title:"Archive issue",icon:"archive_24px"}]};
f6.prototype.saveDraft=function(a){var b=this,c,d;return qe(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(f){return f.find(function(h){return"data"===h.row.type&&h.row.id===a.issueId})}),He(Boolean),Je(6E4))),2)}c=e.yieldResult;Ks(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);we(e)})};
var Ms=function(a,b){if(!b.saving){a.tableModel.draftRows.remove(b);var c;Ks(null==(c=a.focusManager.activeItem)?void 0:c.row,b)&&a.focusManager.setPreviousItemActive()}},UKc=function(a,b){EKc(a.tableModel,null==b?void 0:b.ancestorChain,{afterIssueId:"-1"})},VKc=function(a,b){"data"===b.type?EKc(a.tableModel,b.ancestorChain.parentChain,{afterIssueId:b.id}):EKc(a.tableModel,b.ancestorChain.parentChain,{afterDraftId:b.id})};f6.prototype.addExistingChild=function(a){this.tableModel.addExistingChild(a)};
var XKc=function(a){return a.tableColumns.map(function(b){return"title"===b?"editable-title":"menu"===b?"save":"id"===b?"empty-id":b})};f6.prototype.handleDragStart=function(a){this.reorderingSessionTracker.dragStarted$.next({origin:"mouse"});this.rowReorderingModel.handleDragStart(a)};
f6.prototype.onRowKeydown=function(a,b){var c=this,d;return qe(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&&(xpb(c,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?UKc(c,a):VKc(c,a));"draft-issue"===a.type&&a.saving&&VKc(c,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);we(e)}})};
var TKc=function(a,b,c){var d,e,f,h,k,q,t,w;return qe(function(y){if(1==y.nextAddress)return b.defaultPrevented||"mouseup"===b.type&&b instanceof MouseEvent&&1!==b.button?y.return():y.yield((0,E.firstValueFrom)(c.issue$),2);d=y.yieldResult;t={};w=a.paths.createIssue((t.component=String(null==(e=d)?void 0:e.snapshot[0].componentId),t.parentIssueId=c.ancestorChain.parentChain.nodeId,t.redirectUrl=hwa(a.rootIssueId),t.afterIssueId=c.afterIssueId,t.title=c.title,t.priority=null!=(k=null==(f=d)?void 0:
f.snapshot[0].priority)?k:void 0,t.type=null!=(q=null==(h=d)?void 0:h.snapshot[0].type)?q:void 0,t));if(b.ctrlKey||b.metaKey||b instanceof MouseEvent&&1===b.button)return Ms(a,c),a.domSafe.openInNewTab(w),y.return();if(b&&b.shiftKey)return Ms(a,c),Ap(a.domSafe,w),y.return();Ns(a.router,w);we(y)})},WKc=function(a,b){var c,d;qe(function(e){if(1==e.nextAddress)return a.analytics.trackEvent(e6,"update","archive-child-issue"),c=a.getRowIndex(b),a.issueArchiveService.archive(b.id),e.yield((0,E.firstValueFrom)(a.rows$.pipe(D(function(f){return!f.find(function(h){return"data"===
h.type&&h.id===b.id})}),He(Boolean),Je(6E4))),2);Ks(null==(d=a.focusManager.activeItem)?void 0:d.row,b)&&a.focusManager.setActiveItem(c);we(e)})};
f6.prototype.unlinkFromParent=function(a){var b=this,c,d;return qe(function(e){c=a.ancestorChain.nodeId;d=a.ancestorChain.parentNodeId;b.analytics.trackEvent(e6,"update","unlink-child-issue");return e.yield(b.issueRelationshipsFridge.unlinkFromParent(c,d).then(function(){Fs(b.butterBar,"Unlinked successfully.")}).catch(b.showError("Failed to unlink child "+c+" from parent "+d)),0)})};f6.prototype.isOpen=function(a){return Gn(a)};
f6.prototype.getAssigneeString=function(a){var b,c;return LDa(qi(null==a?void 0:null==(b=a.snapshot)?void 0:null==(c=b[0])?void 0:c.assigneeUser)||void 0)};Gh.Object.defineProperties(f6.prototype,{filters:{configurable:!0,enumerable:!0,set:function(a){this.internalFilters.reset(null!=a?a:[])}},hiddenRowCount$:{configurable:!0,enumerable:!0,get:function(){return this.tableModel.hiddenRowCount$}}});
f6.\u0275fac=function(a){return new (a||f6)(B(FI),B(yE),B(EG),B(aI),B(W5),B(ef),B(Hd),B(AX),B(lM),B(c6),B(XD),B(a6),B(ox),B(VH),B(cF))};
f6.\u0275cmp=r({type:f6,selectors:[["b-issue-relations-table"]],viewQuery:function(a,b){a&1&&og(MU,5);if(a&2){var c;ng(c=qg())&&(b.displayedRows=c)}},inputs:{rootIssueId:"rootIssueId",defaultExpansionLevel:"defaultExpansionLevel",saveExpansionAtKey:"saveExpansionAtKey",filters:"filters",tableColumns:"tableColumns",options:"options"},features:[bg([XD]),yf],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"],[4,"ngIf"],["mat-row","","selectionPreventsClick","","class","clickable",3,"row","selected","closed","click","mouseup","focusin","keydown",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","",3,"row","focusin","keydown",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","","class","draft","cdkTrapFocus","",3,"row","keydown","keydown.escape","keydown.backspace",
"focusin",4,"matRowDef","matRowDefColumns","matRowDefWhen"],[1,"drag-preview"],[1,"placeholder"],[1,"insertion-bar"],["mat-header-cell",""],["tabindex","-1","mat-cell","",3,"click"],["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"],[4,"ngSwitchDefault"],[3,"issue",
4,"ngSwitchDefault"],["size","medium",3,"email",4,"ngIf"],["size","medium",3,"email"],["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","",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),M(1,1),F(2,Sob,1,0,"th",2)(3,Tob,2,0,"td",3),N(),M(4,4),F(5,Uob,1,0,"th",2)(6,Vob,3,0,"td",5),N(),M(7,6),F(8,Wob,2,0,"th",2)(9,Xob,2,1,"td",7),N(),M(10,8),F(11,Yob,2,0,"th",2)(12,Zob,2,0,"td",7),N(),M(13,9),F(14,$ob,2,0,"th",2)(15,apb,4,8,"td",7),N(),M(16,10),F(17,bpb,2,0,"th",2)(18,cpb,3,3,"td",7),N(),M(19,11),F(20,fpb,4,2,"th",2)(21,lpb,4,2,"td",7),N(),M(22,12),F(23,mpb,2,0,"th",2)(24,npb,3,3,"td",7),N(),M(25,13),F(26,opb,2,0,"th",2)(27,ppb,
3,3,"td",7),N(),M(28,14),F(29,qpb,1,0,"th",2)(30,rpb,2,1,"td",7),N(),M(31,15),F(32,spb,1,0,"th",2)(33,wpb,4,2,"td",16),N(),M(34,17),F(35,ypb,6,7,"td",18),N(),M(36,19),F(37,zpb,2,0,"th",2)(38,Apb,7,6,"td",18),N(),F(39,Cpb,2,1,"ng-container",20)(40,Epb,3,12,"tr",21)(41,Fpb,1,4,"tr",22)(42,Gpb,1,2,"tr",23),K(),L(43,"div",24)(44,"div",25)(45,"div",26));a&2&&(G("dataSource",b.rows$)("trackBy",b.trackBy),A(39),G("ngIf",!b.options.hideColumnHeaders),A(1),G("matRowDefColumns",b.tableColumns)("matRowDefWhen",
b.isDataRow),A(1),G("matRowDefColumns",eg(9,QKc))("matRowDefWhen",b.isLoadMoreRow),A(1),G("matRowDefColumns",XKc(b))("matRowDefWhen",b.isDraftRow))},dependencies:[fx,Uv,Vv,Wv,Xv,MA,TV,GV,MV,IV,FV,OV,JV,LV,PV,RV,dC,O_,AU,rJ,WV,XV,DU,GU,YV,ZV,eW,cM,eK,MU,tP,$v],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 g6=function(a,b,c,d,e){Z.call(this);var f=this;this.issueFridge=a;this.butterBar=b;this.analytics=c;this.refreshMonitor=d;this.issueRelationshipsFridge=e;this.parentIssueIds$=new E.BehaviorSubject([]);this.filters=[];this.editIssueDependencies=hwa;this.tableColumns=[].concat(u(KJc));this.getMenuItems=function(h){return[{type:"action",label:"Unlink parent",action:function(){return YKc(f,h)},title:"Unlink parent",icon:"link"}]};this.showError=function(h){return function(k){f.butterBar.showWarning(h+
". "+(wn(k)?xn(k):k))}};this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){for(var h=l(f.parentIssueIds$.value),k=h.next();!k.done;k=h.next())f.issueFridge.poke(k.value)}))};Y(g6,Z);g6.\u0275dir=Z.\u0275dir;g6.prototype.ngOnInit=function(){};
var YKc=function(a,b){var c;return qe(function(d){a.analytics.trackEvent(Kp.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)})};Gh.Object.defineProperties(g6.prototype,{parentIds:{configurable:!0,enumerable:!0,set:function(a){this.parentIssueIds$.next(null!=a?a:[])}},hiddenRowCount$:{configurable:!0,enumerable:!0,get:function(){return this.issuesTable.hiddenRowCount$}}});
g6.\u0275fac=function(a){return new (a||g6)(B(iI),B(EG),B(aI),B(gI),B(FI))};
g6.\u0275cmp=r({type:g6,selectors:[["b-parents-table"]],viewQuery:function(a,b){a&1&&og(J5,5);if(a&2){var c;ng(c=qg())&&(b.issuesTable=c.first)}},inputs:{parentIds:"parentIds",filters:"filters",issueId:"issueId"},features:[yf],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueIds","tableColumns","filters","issueUrlFactory","menuItemFactory"]],template:function(a,b){a&1&&(F(0,Hpb,2,5,"ng-container",0),W(1,"async"));a&2&&G("ngIf",X(1,1,b.parentIssueIds$))},dependencies:[Uv,J5,$v],encapsulation:2,changeDetection:0});var h6=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 mv;this.onConfirm=new mv;this.onCancel=new mv;this.internalSelectedOptions=new iP};h6.prototype.confirm=function(a){this.onConfirm.emit(new Set(this.internalSelectedOptions));a.close()};h6.prototype.cancel=function(a){this.onCancel.emit();a.close()};
Gh.Object.defineProperties(h6.prototype,{selectedOptions:{configurable:!0,enumerable:!0,set:function(a){this.internalSelectedOptions.reset(a)}}});h6.\u0275fac=function(a){return new (a||h6)};
h6.\u0275cmp=r({type:h6,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=v();H(0,"button",0,1);Q("click",function(){x(c);var e=S(1),f;null!=(f=e.isOpen)&&f?e.close():e.open();return z()});W(2,"async");L(3,"mat-icon",2);F(4,Jpb,3,3,"ng-container",3);K();H(5,"onedev-popup-panel",
4,5)(7,"div",6);F(8,Kpb,2,1,"h1",7)(9,Npb,7,5,"div",8)(10,Opb,7,2,"ng-container",3);K()()}if(a&2){var d=S(6);Jf("large","large"===b.buttonSize)("small","small"===b.buttonSize);G("onedevPopupPanelTriggerFor",d)("color",b.showActiveState&&X(2,13,b.internalSelectedOptions.size$)?"primary":null)("matTooltip",b.buttonTooltip);Af("aria-label",b.buttonAriaLabel);A(3);G("svgIcon",b.buttonSvgIcon);A(1);G("ngIf",b.showActiveState);A(4);G("ngIf",b.overlayTitle);A(1);G("ngForOf",b.options);A(1);G("ngIf",b.showActionButtons)}},
dependencies:[Tv,Uv,MA,eA,eL,CD,dC,PM,QM,$v],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 Upb=function(a){return{filteredCount:a}},ZKc=function(){return[]},i6=function(a,b,c,d,e,f,h,k,q,t,w,y,C){Z.call(this);var J=this;this.brain=a;this.issuePicker=b;this.issueRelationshipsFridge=c;this.issueFridge=d;this.router=e;this.routePerformance=f;this.element=h;this.analytics=k;this.issuePermissionService=q;this.activeSession=t;this.counts=w;this.matDialog=y;this.butterBar=C;this.recallFilters=Isa("deps-filters");this.saveFilters=Bj("deps-filters");this.isThinking$=(0,E.combineLatest)([this.issueFridge.saving$,
this.issueRelationshipsFridge.saving$]).pipe(D(function(I){return I.some(Boolean)}));this.issueId$=this.brain.id$.pipe(He(jl),D(bo));this.issue$=this.brain.issueJs$.pipe(He(jl));this.parentIds$=this.issue$.pipe(D(function(I){var P;return null!=(P=I.issue.parentIssueIds)?P:[]}));this.parentIssues$=this.parentIds$.pipe(af(this.issueFridge.watchSet));this.parentsCount$=this.parentIssues$.pipe(D(function(I){return I.filter(Hn).length}));this.childrenIds$=this.issueId$.pipe(af(this.issueRelationshipsFridge.watch),
D(function(I){var P;return null!=(P=null==I?void 0:I.relatedChildren.map(function(O){return O.targetIssueId}))?P:[]}));this.totalDaysOpen$=this.issue$.pipe(D(function(I){var P,O;return(null==(P=KBa(I))?void 0:null==(O=P.effort)?void 0:O.totalOpen)||0}));this.totalDaysComplete$=this.issue$.pipe(D(function(I){var P,O;return(null==(P=KBa(I))?void 0:null==(O=P.effort)?void 0:O.totalComplete)||0}));this.unarchivedChildIssueCount$=this.childrenIds$.pipe(D(function(I){return I.length}));this.isTotalEstimatesEnabled=
yD(this.activeSession,"enableAggregationRules");this.isNonPublicSession=this.activeSession.isNonPublicSession();this.isInternalSession=this.activeSession.isInternalSession();this.enableRollupStatsUi=yD(this.activeSession,"enableRollupStatsUi");this.totalDaysCount$=(0,E.combineLatest)([this.totalDaysOpen$,this.totalDaysComplete$]).pipe(D(function(I){var P=l(I);I=P.next().value;P=P.next().value;return I+P}));this.totalDaysDisplayPercent$=nqb(this.totalDaysComplete$,this.totalDaysCount$);this.progressHovercardContent$=
(0,E.combineLatest)([this.totalDaysComplete$,this.totalDaysOpen$,this.totalDaysDisplayPercent$]).pipe(D(function(I){var P=l(I);I=P.next().value;var O=P.next().value;P=P.next().value;return oqb(Math.round(100*I)/100)+" completed | "+oqb(Math.round(100*O)/100)+" open | "+P+"% completed"}));this.canEdit$=this.issuePermissionService.hasAclToEdit$;this.rowCreated$=new E.Subject;this.issueFilters=new iP;this.ISSUE_FILTER_OPTIONS=[{key:Gp.OPEN.key,title:Gp.OPEN.displayAs,description:"Hides closed issues"},
{key:Gp.ASSIGNED_TO_ME.key,title:Gp.ASSIGNED_TO_ME.displayAs,description:"Hides issues not assigned to me"}];(0,E.firstValueFrom)(IXa("b-issue-relations-table tr .mat-column-title a",this.element.nativeElement).pipe(bf((0,E.merge)(this.destroyed$,this.rowCreated$)))).then(function(){var I=function(){dwc(J.routePerformance,"issue-details-w-tree")};requestAnimationFrame(I);setTimeout(I)}).catch(function(){});try{this.issueFilters.reset(this.recallFilters().filter(bUa))}catch(I){}this.subscriptions.add(this.issueFilters.value$.subscribe(function(I){J.saveFilters([].concat(u(I)))}))};
Y(i6,Z);i6.\u0275dir=Z.\u0275dir;
var jqb=function(a){var b,c;return qe(function(d){if(1==d.nextAddress)return a.analytics.trackEvent(Kp.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){$Kc(a,c,e)}),0)})},$Kc=function(a,b,c){var d=l(c).next().value,e,f,h,k;qe(function(q){if(1==q.nextAddress)return(e=d)?q.yield(a.issueRelationshipsFridge.assignParentToOneIssue(e,b),
2):q.return();f=q.yieldResult;h=f.errors;return(null==(k=h)?0:k.length)?(a.butterBar.showWarning("Could not add parent"),q.return()):q.yield(a.issueFridge.poke(b),0)})};i6.prototype.shouldResetFilters=function(){this.issueFilters.reset([])};i6.prototype.addChild=function(){this.rowCreated$.next();var a;null==(a=this.relationsTable)||a.addExistingChild()};i6.prototype.createChild=function(){this.rowCreated$.next();var a;null==(a=this.relationsTable)||UKc(a)};
i6.\u0275fac=function(a){return new (a||i6)(B(eP),B(rW),B(FI),B(iI),B(yE),B(E0),B(Hd),B(aI),B(gP),B(nt),B(U5),B(vA),B(EG))};
i6.\u0275cmp=r({type:i6,selectors:[["b-issue-dependencies"]],viewQuery:function(a,b){a&1&&(og(f6,5),og(V5,5),og(g6,5));if(a&2){var c;ng(c=qg())&&(b.relationsTable=c.first);ng(c=qg())&&(b.blockersTable=c.first);ng(c=qg())&&(b.parentsTable=c.first)}},features:[yf],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"],["class","margin-s-bottom",3,"id",4,"ngIf"],[3,"rootIssueId","filters","saveExpansionAtKey"],[4,"ngTemplateOutlet"],[3,"issueId","parentIds","filters"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"muted"],[1,"progress-header"],[1,"flex-kids-x","align-items-center"],[1,"margin-s-right"],[1,"label"],[1,"progress","margin-s-right",3,"onedevHovercardTrigger"],
[1,"completion"],["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"],[1,"margin-s-bottom",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),F(1,Ppb,1,0,"b-spinner",1),W(2,"async"),H(3,"select-menu",2),Q("onChange",function(d){return b.issueFilters.reset(d)}),W(4,"async"),K(),H(5,"button",3),Q("click",function(){b.matDialog.open(bKc,{maxWidth:"1300px",width:"90%"})}),L(6,"mat-icon",4),K()(),F(7,gqb,41,47,"div",5),W(8,"async"),F(9,iqb,1,1,"ng-template",null,6,tg)(11,kqb,3,3,"ng-template",null,7,tg)(13,mqb,4,4,"ng-template",null,8,tg));if(a&2){var c;A(1);G("ngIf",
X(2,6,b.isThinking$));A(2);G("options",b.ISSUE_FILTER_OPTIONS)("selectedOptions",null!==(c=X(4,8,b.issueFilters.value$))&&void 0!==c?c:eg(12,ZKc))("showActionButtons",!1)("showActiveState",!0);A(4);G("ngIf",X(8,10,b.issueId$))}},dependencies:[Uv,Zv,MA,hK,mK,eA,dC,rJ,h6,eK,Q5,V5,f6,g6,$v,fw],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 j6=function(){this.LOGO_LIGHT="https://www.gstatic.com/buganizer/img/v3/logo_light.svg"};Gh.Object.defineProperties(j6.prototype,{ref:{configurable:!0,enumerable:!0,set:function(a){this.searchPageUrl=rFa(a)}}});j6.\u0275fac=function(a){return new (a||j6)};
j6.\u0275cmp=r({type:j6,selectors:[["issue-count"]],inputs:{ref:"ref",count:"count"},decls:4,vars:2,consts:[["title","Total issues in this area, in any status",1,"flex-kids-x","align-items-center"],["aria-hidden","true","alt","",1,"logo",3,"src"],["class","subtle-link",3,"routerLink",4,"ngIf"],[1,"subtle-link",3,"routerLink"]],template:function(a,b){a&1&&(H(0,"div",0),L(1,"img",1),T(2," \u00a0 "),F(3,pqb,2,2,"a",2),K());a&2&&(A(1),G("src",b.LOGO_LIGHT,Wd),A(2),G("ngIf",null!=b.count))},dependencies:[Uv,
AE],styles:["[_nghost-%COMP%] {\n      white-space: nowrap;\n    }\n    .logo[_ngcontent-%COMP%] {\n      width: 20px; \n\n      max-width: 20px; \n\n    }"],changeDetection:0});var k6=function(){};k6.\u0275fac=function(a){return new (a||k6)};k6.\u0275mod=Tc({type:k6});k6.\u0275inj=Ec({imports:[zD,jU,NA,EE,kC,AP]});var aLc=function(){return[]},l6=function(a,b){Z.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(LBa).filter(jl)}),D(Qj));this.submittedClLinks$=this.issues$.pipe(D(function(d){return d.flatMap(function(e){var f,h,k;return null!=(k=null==(f=e.snapshot)?void 0:null==(h=f[0])?void 0:
h.changelist)?k:[]})}));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}))};Y(l6,Z);l6.\u0275dir=Z.\u0275dir;Gh.Object.defineProperties(l6.prototype,{query:{configurable:!0,enumerable:!0,set:function(a){null!=a&&this.query$.next(a)}}});l6.\u0275fac=function(a){return new (a||l6)(B(iI),B(hH))};
l6.\u0275cmp=r({type:l6,selectors:[["rollups-list"]],inputs:{ref:"ref",query:"query"},features:[yf],decls:8,vars:15,consts:[[1,"flex-kids-x","align-items-center","dividers-between"],[3,"ref","count"],[3,"submitted","pending"],[3,"emails",4,"ngIf"],[3,"emails"]],template:function(a,b){a&1&&(H(0,"section",0),L(1,"issue-count",1),W(2,"async"),L(3,"cl-counts",2),W(4,"async"),W(5,"async"),F(6,qqb,1,1,"avatar-bunch",3),W(7,"async"),K());if(a&2){var c,d,e;A(1);G("ref",b.ref)("count",null==(c=X(2,5,b.issues$))?
null:c.length);A(2);G("submitted",null!==(d=X(4,7,b.submittedClLinks$))&&void 0!==d?d:eg(13,aLc))("pending",null!==(e=X(5,9,b.pendingCls$))&&void 0!==e?e:eg(14,aLc));A(3);G("ngIf",X(7,11,b.emails$))}},dependencies:[Uv,N5,O5,j6,$v],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 m6=function(a){var b=this;this.prefsService=a;this.isNumeric=lo;this.isActive=function(){return bLc(b,b.prefsService.prefs,b.filter.key)};this.active$=this.prefsService.prefs$.pipe(D(function(c){var d;return bLc(b,c,null==(d=b.filter)?void 0:d.key)}))};
m6.prototype.onClick=function(){var a=!this.isActive(),b=this.prefsService,c=this.ref;a=a?this.filter.key:void 0;var d;b.prefs.workAreaQuickFilters=null!=(d=b.prefs.workAreaQuickFilters)?d:{};a?b.prefs.workAreaQuickFilters[c]=a:delete b.prefs.workAreaQuickFilters[c];gt(b,{workAreaQuickFilters:b.prefs.workAreaQuickFilters})};var bLc=function(a,b,c){if(null==b)return!1;var d;return(null==(d=b.workAreaQuickFilters)?void 0:d[a.ref])===c};
Gh.Object.defineProperties(m6.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=l(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=Mk[c.status])?0:e.open)b+=d.length}}this.countDisplay=b}else if("BROAD_IN_PROGRESS"===this.filter.key)b=qBa(a,"ASSIGNED"),a=qBa(a,"ACCEPTED"),this.countDisplay=b+a;else throw Error("ef`"+
this.filter.key);},get:function(){return this.metadataInternal}},key:{configurable:!0,enumerable:!0,set:function(a){this.filter=Gp[a]}},computeCountFor:{configurable:!0,enumerable:!0,set:function(a){if(null==a)this.countDisplay="-";else{var b,c,d=null==(c=Gp[null==(b=this.filter)?void 0:b.key])?void 0:c.check;this.countDisplay=a.filter(d).length}}}});m6.\u0275fac=function(a){return new (a||m6)(B(DK))};
m6.\u0275cmp=r({type:m6,selectors:[["qif-stat"]],hostBindings:function(a,b){a&1&&Q("click",function(){return b.onClick()})},inputs:{metadata:"metadata",key:"key",ref:"ref",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),W(1,"async"),H(2,"label"),T(3),K(),F(4,rqb,3,3,"ng-container",1),K());if(a&2){var c;G("title",null!==(c=b.filter.tooltip)&&void 0!==c?c:"");Af("aria-pressed",
X(1,4,b.active$));A(3);$f(b.filter.displayAs);A(1);G("ngIf",b.metadata||void 0!==b.countDisplay)}},dependencies:[Uv,$v],styles:["[_nghost-%COMP%], label[_ngcontent-%COMP%]{display:block}.big-number[_ngcontent-%COMP%]{font-size:1.5rem;line-height:1;margin-top:4px;color:#1a73e8;color:var(--text-primary)}.big-number.muted[_ngcontent-%COMP%]{color:#80868b;color:var(--gfx-muted)}button.stat-card[_ngcontent-%COMP%]{border-radius:4px;border:1px solid;border-color:#dadce0;border-color:var(--divider);padding:8px 16px;cursor:pointer}button.stat-card[_ngcontent-%COMP%]:focus-visible, button.stat-card[_ngcontent-%COMP%]:hover{box-shadow:0 0 0 1px #1a73e8;box-shadow:0 0 0 1px var(--primary)}button.stat-card[aria-pressed=true][_ngcontent-%COMP%]{background-color:#e8f0fe;background-color:var(--primary-c50);border-color:#1a73e8;border-color:var(--primary)}button.stat-card[aria-pressed=true][_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}\n/*# sourceMappingURL=qif_stat.css.map */"],
changeDetection:0});var n6=function(){};n6.\u0275fac=function(a){return new (a||n6)};n6.\u0275mod=Tc({type:n6});n6.\u0275inj=Ec({imports:[zD,jU,NA,kC]});var o6=function(a){var b=this;this.issueFridge=a;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}))};Gh.Object.defineProperties(o6.prototype,{query:{configurable:!0,enumerable:!0,set:function(a){null!=a&&this.query$.next(a)}}});o6.\u0275fac=function(a){return new (a||o6)(B(iI))};
o6.\u0275cmp=r({type:o6,selectors:[["stat-cards-list"]],inputs:{ref:"ref",query:"query"},decls:13,vars:24,consts:[[1,"flex-kids-x","gap"],["key","OPEN",3,"ref","computeCountFor"],["key","BROAD_IN_PROGRESS",3,"ref","computeCountFor"],["key","ASSIGNED_TO_ME",3,"ref","computeCountFor"],["key","NEWLY_FILED",3,"ref","computeCountFor"],["key","RECENTLY_ACTIVE",3,"ref","computeCountFor"],["key","HIGH_PRIORITY",3,"ref","computeCountFor"]],template:function(a,b){a&1&&(H(0,"div",0),L(1,"qif-stat",1),W(2,"async"),
L(3,"qif-stat",2),W(4,"async"),L(5,"qif-stat",3),W(6,"async"),L(7,"qif-stat",4),W(8,"async"),L(9,"qif-stat",5),W(10,"async"),L(11,"qif-stat",6),W(12,"async"),K());a&2&&(A(1),G("ref",b.ref)("computeCountFor",X(2,12,b.issues$)),A(2),G("ref",b.ref)("computeCountFor",X(4,14,b.issues$)),A(2),G("ref",b.ref)("computeCountFor",X(6,16,b.issues$)),A(2),G("ref",b.ref)("computeCountFor",X(8,18,b.issues$)),A(2),G("ref",b.ref)("computeCountFor",X(10,20,b.issues$)),A(2),G("ref",b.ref)("computeCountFor",X(12,22,
b.issues$)))},dependencies:[m6,$v],styles:["[_nghost-%COMP%]{display:block;padding-left:1px}\n/*# sourceMappingURL=stat_cards_list.css.map */"],changeDetection:0});var p6=function(a){this.metadataFridge=a;this.id$=new E.ReplaySubject(1);this.metadata$=this.id$.pipe(af(this.metadataFridge.watchOne))};Gh.Object.defineProperties(p6.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a);this.idInternal=a},get:function(){return this.idInternal}}});p6.\u0275fac=function(a){return new (a||p6)(B($G))};
p6.\u0275cmp=r({type:p6,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),L(1,"qif-stat",1),W(2,"async"),L(3,"qif-stat",2),W(4,"async"),K());a&2&&(A(1),G("ref",b.id)("metadata",X(2,4,b.metadata$)),A(2),G("ref",b.id)("metadata",X(4,6,b.metadata$)))},dependencies:[m6,$v],styles:["[_nghost-%COMP%]{display:block;padding-left:1px}\n/*# sourceMappingURL=stat_cards_project.css.map */"],
changeDetection:0});var q6=function(){};q6.\u0275fac=function(a){return new (a||q6)};q6.\u0275mod=Tc({type:q6});q6.\u0275inj=Ec({imports:[zD,jU,NA,kC,k6,n6]});var r6=function(){};r6.\u0275fac=function(a){return new (a||r6)};r6.\u0275mod=Tc({type:r6});r6.\u0275inj=Ec({imports:[zD,kC,hL,DD,QC,RM]});var s6=function(){};s6.\u0275fac=function(a){return new (a||s6)};s6.\u0275mod=Tc({type:s6});s6.\u0275inj=Ec({imports:[px,iz,Ty,zD,Tw,UK,kC,AA,I5,jW,jU,QC,Uw,EE,Q_,fW,sJ,aW,L5,gW,r6,eM,SK,q6,NU,AP]});var t6=function(a){this.internalArray_=m(a,0,t6.messageId)};Y(t6,n);t6.prototype.getIssueId=function(){return Oi(this,1)};t6.prototype.setIssueId=function(a){return mj(this,1,a)};t6.messageId="b.MonorailIssueRedirectRequest";var u6=function(a){this.internalArray_=m(a,0,u6.messageId)};Y(u6,n);u6.prototype.getUrl=function(){return vi(this,vD,1)};u6.prototype.setUrl=function(a){return ej(this,vD,1,a)};u6.prototype.hasUrl=function(){return Pi(this,vD,1)};u6.messageId="b.MonorailIssueRedirectResponse";var v6=function(a){this.executor=a},cLc=function(a,b){b=(new t6).setIssueId(b);return a.executor.post({url:"action/monorailIssueRedirect",body:b,responseConstructor:u6}).pipe(D(function(c){(c=c.getUrl())?(c=wj(c,3),c=null===c||void 0===c?null:$g(c)):c=null;return c}),Le(function(){return(0,E.of)(null)}))};v6.\u0275fac=function(a){return new (a||v6)(p(SD))};v6.\u0275prov=Dc({token:v6,factory:v6.\u0275fac,providedIn:"root"});var w6=function(a){this.internalArray_=m(a,0,w6.messageId)};Y(w6,n);w6.prototype.getIssueIdsList=function(){return ui(this,1)};w6.prototype.setIssueIdsList=function(a){return Nb(this,1,a,rb)};w6.prototype.addIssueIds=function(a){Pb(this,1,rb,a)};w6.repeatedFields_=[1];w6.messageId="b.BatchIssueDigestRequest";var x6=function(a){this.internalArray_=m(a,0,x6.messageId)};Y(x6,n);x6.prototype.getIssueDigestsList=function(){return zi(this,hG,1)};x6.repeatedFields_=[1];x6.messageId="b.BatchIssueDigestResponse";var y6=function(a,b){this.batchApiConfig=a;this.batchApiAdapter=b;this.adaptedGet=this.batchApiAdapter.adapt(this.batchApiConfig)};y6.prototype.get=function(a){return this.adaptedGet(a).pipe(D(Tza))};y6.prototype.getAll=function(a){return this.batchApiConfig.call(a).pipe(D(sqb))};y6.\u0275fac=function(a){return new (a||y6)(p(z6),p(dF))};y6.\u0275prov=Dc({token:y6,factory:y6.\u0275fac,providedIn:"root"});var z6=function(a){this.executor=a};
z6.prototype.call=function(a){var b=[].concat(u(a));b.sort();a=new w6;b=l(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:x6})};z6.prototype.split=function(a,b){b=l(b.getIssueDigestsList());for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.getIssueId()===a)return c;return(new hG).setIssueId(a)};z6.\u0275fac=function(a){return new (a||z6)(p(SD))};z6.\u0275prov=Dc({token:z6,factory:z6.\u0275fac,providedIn:"root"});var dLc={BLOCKED_BY_ISSUES:"blocked_by",PARENT_ISSUES:"parent"},A6=function(a,b){Z.call(this);var c=this;this.issueFridge=a;this.router=b;this.STATUS_JS_TERSE=mD;this.URLS=Ps;this.ListIssuesHovercardMode=dLc;this.mode="blocked_by";this.currentIssueId="";this.issueIds$=new E.ReplaySubject(1);this.init=new E.ReplaySubject(1);this.issues$=this.issueIds$.pipe(He(jl),af(this.issueFridge.watchSet),D(function(d){return"parent"===c.mode?d.filter(Hn):d.filter(Gn)}))};Y(A6,Z);A6.\u0275dir=Z.\u0275dir;
A6.prototype.priorityClass=function(a){switch(a){case "P0":return"high p0";case "P1":return"high";default:return"low"}};var yqb=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=l(c.entries()),f=e.next();!f.done;f=e.next()){var h=l(f.value);f=h.next().value;h=h.next().value;d+=h;d=f<c.length-1?d+"|":d+")"}a.router.navigate([Ps.ISSUE_LIST],{queryParams:{q:d}})})};
A6.prototype.ngOnInit=function(){var a=this;this.issues$.pipe(bf(this.destroyed$)).subscribe(function(){a.init.next()})};Gh.Object.defineProperties(A6.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(a)}}});A6.\u0275fac=function(a){return new (a||A6)(B(iI),B(yE))};
A6.\u0275cmp=r({type:A6,selectors:[["b-list-issues-card"]],inputs:{mode:"mode",currentIssueId:"currentIssueId",issueIds:"issueIds",hovercardInstance:"hovercardInstance"},outputs:{init:"init"},features:[yf],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),F(1,tqb,5,3,"div",1)(2,uqb,5,3,"div",1)(3,Bqb,4,3,"div",2),W(4,"async"),
K());a&2&&(A(1),G("ngIf",b.mode===b.ListIssuesHovercardMode.PARENT_ISSUES),A(1),G("ngIf",b.mode===b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES),A(1),G("ngIf",X(4,3,b.issues$)))},dependencies:[Sv,Tv,Uv,MA,AE,eA,$v],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 B6=function(a,b){this.issueDigestsApi=a;this.paths=b;this.ancestors=new Map;this.issueId="";this.ListIssuesHovercardMode=dLc;this.reorderedAncestors=[];this.issueIdToTitle=new Map;this.multiParentIssueIds=[]};B6.prototype.ngOnChanges=function(a){var b=this;a.ancestors&&eLc(this).then(function(c){b.issueIdToTitle=c})};B6.prototype.getIssueLink=function(a){return this.paths.editIssue(a)};
var eLc=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=l(c);for(var e=c.next();!e.done;e=c.next())e=e.value,d.set(e.issueId,e.title);return d})))};
B6.\u0275fac=function(a){return new (a||B6)(B(y6),B(cF))};
B6.\u0275cmp=r({type:B6,selectors:[["ancestors-breadcrumbs"]],inputs:{ancestors:"ancestors",issueId:"issueId"},features:[ld],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&&(L(0,"mat-icon",0),F(1,Eqb,7,4,"ng-container",1)(2,Fqb,4,5,"ng-container",2));a&2&&(A(1),G("ngIf",1<b.multiParentIssueIds.length),A(1),G("ngForOf",b.reorderedAncestors))},dependencies:[Tv,Uv,MA,wT,hK,iK,mK,jK,A6],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 C6=function(a,b){this.paths=a;this.activeSession=b;this.isCompact=!1;this.starClicked=new mv;this.currentUserEmail=this.activeSession.getUserEmail()};C6.prototype.ngOnInit=function(){};C6.prototype.isDirectAdmin=function(a){return a?ni(a.adminUsers).includes(this.currentUserEmail):!1};C6.prototype.shouldShowStar=function(a){return!this.isDirectAdmin(a)&&!a.archived};C6.\u0275fac=function(a){return new (a||C6)(B(cF),B(nt))};
C6.\u0275cmp=r({type:C6,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&&F(0,Iqb,9,4,"div",0);a&2&&G("ngIf",b.hotlist)},dependencies:[Uv,MA,AE,cK,dC,$v],encapsulation:2,changeDetection:0});var fLc=function(){this.tokens=new Map};fLc.prototype.add=function(a,b){var c=this.tokens.get(a);c?c.push(b):this.tokens.set(a,[b]);return this};fLc.prototype.build=function(){var a=this,b=Array.from(this.tokens.keys()).sort();return new gLc(b.map(function(c){return{token:c,labels:a.tokens.get(c)}}))};var gLc=function(a){this.sortedEntries=a};
gLc.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};gLc.prototype.search=function(a){var b=new Set;a=l(this.match(a));for(var c=a.next();!c.done;c=a.next()){c=l(c.value.labels);for(var d=c.next();!d.done;d=c.next())b.add(d.value)}return b};
var hLc=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(u(a.search(b[d]))).filter(function(f){return c.has(f)});c=new Set(e)}return c};var iLc=function(a){this.hotlists=a;var b=new fLc,c=new fLc;a=l(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0,f=(null==(e=d.name)?0:e.trim())?fEa(d.name.toLowerCase()):[];f=l(f);for(e=f.next();!e.done;e=f.next())b.add(e.value,d);e=void 0;f=(null==(e=d.description)?0:e.trim())?fEa(d.description.toLowerCase()):[];f=l(f);for(e=f.next();!e.done;e=f.next())c.add(e.value,d)}this.nameTokenMatcher=b.build();this.descriptionTokenMatcher=c.build();this.positions=new Map(this.hotlists.map(function(h,
k){return[h,k]}))};
iLc.prototype.search=function(a){a=a.toLowerCase();for(var b=new Set,c=l(this.hotlists),d=c.next();!d.done;d=c.next()){d=d.value;var e=void 0,f=null==(e=d.name)?void 0:e.toLowerCase(),h=void 0;e=null==(h=d.description)?void 0:h.toLowerCase();h=d.hotlistId;var k=void 0,q=void 0;(wra(a)&&String(h).includes(a)||(null==(k=f)?0:k.includes(a))||(null==(q=e)?0:q.includes(a)))&&b.add(d)}c=fEa(a);d=l(hLc(this.nameTokenMatcher,c));for(a=d.next();!a.done;a=d.next())b.add(a.value);c=l(hLc(this.descriptionTokenMatcher,c));
for(a=c.next();!a.done;a=c.next())b.add(a.value);return jLc(this,b)};var jLc=function(a,b){return[].concat(u(b)).sort(function(c,d){c=a.positions.get(c);d=a.positions.get(d);return c===d?0:c<d?-1:1})};var D6=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})))};D6.\u0275fac=function(a){return new (a||D6)};D6.\u0275prov=Dc({token:D6,factory:D6.\u0275fac,providedIn:"root"});var E6=function(a,b,c,d,e,f,h,k,q,t,w){Z.call(this);var y=this;this.dialogRef=a;this.data=b;this.paths=c;this.hotlistFridge=d;this.hotlistApi=e;this.snackBar=f;this.appEvents=h;this.errorHandler=k;this.userApi=q;this.windowHeight=t;this.permissionsFridge=w;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(Ne(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 Aw({name:new Cw("",sw),description:new Cw("")});this.starredHotlists=new iP;this.isSavingStar=new iP;this.userHotlists$=C3b(this.hotlistFridge);this.issueHotlists$=this.hotlistFridge.watchSet(Array.from(this.data.selectedHotlistIds));
this.combineHotlistsWithPermissions=D(function(C){var J=y.permissionsFridge.watchSet(C.map(function(I){return"hotlists/"+I.hotlistId}));return C.map(function(I,P){return Object.assign({},I,{permissions$:J.pipe(D(function(O){return O[P]}))})})});this.hotlists$=(0,E.combineLatest)([this.issueHotlists$,this.userHotlists$]).pipe(D(function(C){var J=l(C);C=J.next().value;J=J.next().value;return[].concat(u(C),u(J))}),D(rta(function(C){return C.hotlistId})),D(function(C){return C.filter(jl)}),D(function(C){return C.sort(Zqb)}),
D(function(C){return C.sort(function(J,I){var P=y.selectedHotlistIds;J=P.has(J.hotlistId);I=P.has(I.hotlistId);return J&&I?0:J?-1:I?1:0})}),this.combineHotlistsWithPermissions,Ye({bufferSize:1,refCount:!0}));this.hotlistQuerySearcher$=this.hotlists$.pipe(D(function(C){return new iLc(C)}),Ye({bufferSize:1,refCount:!0}));this.forceShowOverflow$=new E.Subject;this.matchedHotlists$=(0,E.combineLatest)([this.debouncedQuery$,this.hotlistQuerySearcher$,this.hotlists$]).pipe(D(function(C){var J=l(C);C=J.next().value;
var I=J.next().value;J=J.next().value;return""!==C.trim()?I.search(C):J}),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(C){var J=l(C);C=J.next().value;J=J.next().value;return 200<C.length&&!J?C.slice(0,200):C}),Ye({bufferSize:1,refCount:!0}));this.isOverflowMode$=(0,E.combineLatest)([this.matchedHotlists$,this.visibleHotlists$]).pipe(D(function(C){var J=
l(C);C=J.next().value;J=J.next().value;return C.length!==J.length}));this.showLoadById$=this.query$.pipe(D(function(C){C=C.trim();return!y.allHotlistIds.has(Number(C))&&wra(C)}));this.showCreateNew$=(0,E.combineLatest)([this.query$,this.matchedHotlists$]).pipe(D(function(C){var J=l(C);C=J.next().value;J=J.next().value;return $qb(C,J)}));this.compactNumberOfHotlistsToShow$=this.windowHeight.innerHeight$.pipe(D(function(C){return Math.max(1,Math.floor(.5*C/24))}),Pe());this.compactNumberOfHotlistsToShow$.pipe(D(function(C){return 24*
C}));this.subscriptions.add(this.hotlists$.subscribe(function(C){y.hotlists=C;C=l(C);for(var J=C.next();!J.done;J=C.next())y.allHotlistIds.add(J.value.hotlistId)}))};Y(E6,Z);E6.\u0275dir=Z.\u0275dir;E6.prototype.ngOnInit=function(){var a=this;kLc(this);this.query$.pipe(bf(this.destroyed$)).subscribe(function(){a.hotlistUnderEdit.setValue({name:a.query$.value,description:""})})};
E6.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=kra(this.originalIds,this.selectedHotlistIds);this.pristine=!a;var c=l(arb(a));a=c.next().value;c=c.next().value;this.saveBtnLabel=a;this.saveBtnTooltip=c};
var Os=function(a){a.dialogRef.close(a.selectedHotlistIds)},Oqb=function(a){var b;return(a=null==(b=a.hotlistUnderEdit.get("name"))?void 0:b.value)?a:""},lLc=function(a){var b;return(a=null==(b=a.hotlistUnderEdit.get("description"))?void 0:b.value)?a:""},Nqb=function(a){a.snackBar.open("Saving hotlist...","dismiss",{duration:0});var b=Oqb(a),c=lLc(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)})},kLc=function(a){a.userApi.getUserSidebar().then(function(b){a.starredHotlists.clear();for(var c=l(b.hotlists||[]),d=c.next();!d.done;d=c.next()){d=d.value;var e=Number(d.id);d.starred&&a.starredHotlists.add(e)}b=l(b.bookmarkGroups||[]);for(c=b.next();!c.done;c=b.next())for(c=l(c.value.sublinks||[]),d=c.next();!d.done;d=c.next())d=d.value,d.starred&&a.starredHotlists.add(Number(d.id))}).catch(function(b){a.errorHandler.errorHandler(null,
b)})};
E6.prototype.toggleStar=function(a){var b=this,c,d,e;return qe(function(f){switch(f.nextAddress){case 1:c=b.starredHotlists.has(a);d={resourceType:"HOTLIST",resourceId:a};re(f,2,3);b.isSavingStar.add(a);if(c)return b.starredHotlists.delete(a),f.yield(b.userApi.deleteFavorite(d),3);b.starredHotlists.add(a);return f.yield(b.userApi.saveFavorite(d),3);case 3:te(f);b.isSavingStar.delete(a);ue(f,4);break;case 2:e=ve(f);HG(b.errorHandler,e);f.jumpTo(3);break;case 4:b.appEvents.hotlistChanged.next(),b.appEvents.favoritesModified.next(),
kLc(b),we(f)}})};var Rqb=function(a,b){a.hotlistApi.get(b).then(function(c){a.hotlists.push(c);a.selectedHotlistIds.add(c.hotlistId);Os(a)}).catch(function(c){a.errorHandler.errorHandler(null,c)})};E6.prototype.trackByHotlistId=function(a,b){return b.hotlistId};E6.\u0275fac=function(a){return new (a||E6)(B(sA),B(uA),B(cF),B(TH),B(PF),B(BG),B(lG),B(FG),B(SH),B(D6),B(GI))};
E6.\u0275cmp=r({type:E6,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&Q("keydown.meta.enter",function(){return Os(b)})("keydown.shift.enter",function(){return Os(b)})("keydown.control.enter",function(){return Os(b)})},features:[yf],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&&(F(0,Kqb,2,1,"ng-container",
0),H(1,"mat-dialog-actions")(2,"button",1),Q("click",function(){b.dialogRef.close()}),T(3," Cancel "),K(),F(4,Mqb,2,1,"ng-container",0),K(),F(5,Pqb,2,1,"ng-template",null,2,tg)(7,Qqb,2,5,"ng-template",null,3,tg)(9,Xqb,15,9,"ng-template",null,4,tg)(11,Yqb,14,1,"ng-template",null,5,tg));if(a&2){var c=S(8),d=S(10);G("ngIf",b.showCreateNewPane)("ngIfElse",d);A(4);G("ngIf",b.showCreateNewPane)("ngIfElse",c)}},dependencies:[Tv,Uv,Zv,MA,wA,xA,yA,zA,eA,KM,LM,Ew,Jg,ww,xw,Ow,Kw,Lw,dC,C6,$v],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 F6=function(a,b,c,d){this.dialog=a;this.issueFridge=b;this.eventsForIssueFridge=c;this.errorHandler=d},nLc=function(a,b){var c,d,e,f,h,k,q,t;return qe(function(w){switch(w.nextAddress){case 1:return w.yield((0,E.firstValueFrom)(b),2);case 2:return c=w.yieldResult,(e=null==(d=c)?void 0:d.snapshot[0].hotlistId)&&c?w.yield(mLc(a,e),3):w.return();case 3:f=w.yieldResult;if(null==f)return w.return();h=f.added.map(String);k=f.removed.map(String);q=String(c.issueId);re(w,4,5);return w.yield(V3b(a.issueFridge,
q,h,k),5);case 5:te(w);a.eventsForIssueFridge.poke(q);ue(w,0);break;case 4:t=ve(w),HG(a.errorHandler,t),w.jumpTo(5)}})},mLc=function(a,b){var c,d,e,f;return qe(function(h){if(1==h.nextAddress)return c={panelClass:"no-jitter",data:{selectedHotlistIds:b},ariaLabel:"Search for Hotlists"},d=a.dialog.open(E6,c),h.yield((0,E.firstValueFrom)(d.afterClosed()),2);e=h.yieldResult;if(!e)return h.return(Promise.resolve());f=kra(new Set(b),new Set(e));return h.return(Promise.resolve(f))})};
F6.\u0275fac=function(a){return new (a||F6)(p(vA),p(iI),p(AH),p(FG))};F6.\u0275prov=Dc({token:F6,factory:F6.\u0275fac,providedIn:"root"});var G6=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=$D};G6.prototype.onClick=function(){nLc(this.hotlistPicker,this.issue$)};Gh.Object.defineProperties(G6.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(String(a))}}});G6.\u0275fac=function(a){return new (a||G6)(B(iI),B(TH),B(F6))};
G6.\u0275cmp=r({type:G6,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),Q("onHotkey",function(){return b.onClick()})("click",function(){return b.onClick()}),W(1,"async"),T(2),W(3,"async"),K());a&2&&(G("hotkey",b.HOTKEYS.OPEN_HOTLIST_PICKER)("disabled",X(1,3,b.isDisabled$)),A(2),V(" ",X(3,5,b.label$),"\n"))},dependencies:[VE,eA,
$v],encapsulation:2});var oLc=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()}}}},pLc=function(a,b){return b.isInternal?{type:"action",label:"Request issue deletion...",title:"Request issue deletion",action:function(){a.requestIssueDeletion()}}:void 0},qLc=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)}}},rLc=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 sLc=function(a){return{isDupe:a}},H6=function(a,b,c,d,e){Z.call(this);var f=this;this.fridge=a;this.permissionsFridge=b;this.issuePicker=c;this.snackBar=d;this.eventsForIssueFridge=e;this.TOOLTIP_MARK_DUPE="Mark this issue as a duplicate";this.TOOLTIP_UNMARK_DUPE="Mark this issue as not being a duplicate";this.disabled=!1;this.issueId$=new E.ReplaySubject(1);this.issue$=this.issueId$.pipe(af(function(h){return f.fridge.watchOne(h)}));this.isDupe$=this.issue$.pipe(D(function(h){var k;return!!(null==
h?0:null==(k=h.snapshot[0])?0:k.duplicateOfIssueId)}));this.permissions$=this.issueId$.pipe(af(function(h){return f.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(k){(k=k[0])&&W3b(f.fridge,k,h).then(function(){f.eventsForIssueFridge.poke(h)}).catch(f.gotErr)}};this.gotErr=function(h){f.snackBar.open(xn(h)||"Error with network request","close",{panelClass:"error"})}};
Y(H6,Z);H6.\u0275dir=Z.\u0275dir;
var brb=function(a){var b,c;return qe(function(d){if(1==d.nextAddress)return a.disabled||a.fridge.isSaving(a.internalIssueId)||!Dk(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?tLc(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));we(d)})},tLc=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)};Gh.Object.defineProperties(H6.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)}}});H6.\u0275fac=function(a){return new (a||H6)(B(iI),B(GI),B(rW),B(BG),B(AH))};
H6.\u0275cmp=r({type:H6,selectors:[["smart-dupe-btn"]],inputs:{disabled:"disabled",issueId:"issueId"},features:[yf],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&&(F(0,crb,3,5,"button",0),W(1,"async"));a&2&&G("ngIf",fg(3,sLc,X(1,1,b.isDupe$)))},dependencies:[Uv,eA,$v]});var I6=function(){this.label=""};I6.prototype.toggle=function(){this.hovercardTrigger&&this.hovercardTrigger.toggle(!this.hovercardTrigger.isExpanded())};I6.\u0275fac=function(a){return new (a||I6)};
I6.\u0275cmp=r({type:I6,selectors:[["help-hover"]],viewQuery:function(a,b){a&1&&og(mK,5);if(a&2){var c;ng(c=qg())&&(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),
F(4,erb,2,1,"ng-container",3),K()()(),L(5,"mat-icon",4));if(a&2){var c=S(1);A(2);Af("aria-label",b.label);A(2);G("ngIf",b.content);A(1);G("onedevHovercardTrigger",c)}},dependencies:[Uv,Zv,MA,hK,mK],encapsulation:2});var J6=function(){};J6.\u0275fac=function(a){return new (a||J6)};J6.\u0275mod=Tc({type:J6});J6.\u0275inj=Ec({imports:[zD,UK]});var K6=function(a,b,c,d,e,f,h,k,q){Z.call(this);this.issueFridge=a;this.issuePermissionService=b;this.activeSession=c;this.appEvents=d;this.issueArchiveService=e;this.domSafe=f;this.editIssueService=h;this.matDialogService=k;this.analytics=q;this.issueId$=new E.ReplaySubject(1);this.retentionEnabled=this.activeSession.isInternalSession();this.HOTKEYS=$D;this.issue$=this.issueId$.pipe(af(this.issueFridge.watch));this.issueDerivedProperties$=this.issue$.pipe(D(function(t){var w,y,C,J,I,P,O;return{modifiedTimeMilliseconds:null!=
(null==t?void 0:null==(w=t.aggregatedData)?void 0:w.modifiedTimeMicros)?t.aggregatedData.modifiedTimeMicros/1E3:void 0,voted:null!=(P=null==t?void 0:null==(y=t.userData)?void 0:y.voted)?P:!1,voteCount:null!=(O=null==t?void 0:null==(C=t.aggregatedData)?void 0:C.voteCount)?O:0,notificationSubscription:hl(null==t?void 0:null==(J=t.userData)?void 0:J.notificationSubscription),retentionState:null==t?void 0:null==(I=t.aggregatedData)?void 0:I.retentionState}}));this.menuItems$=uLc(this);this.state$=(0,E.combineLatest)([this.issueId$,
this.issueDerivedProperties$,this.menuItems$]).pipe(D(function(t){var w=l(t);t=w.next().value;var y=w.next().value;w=w.next().value;return Object.assign({},{issueId:t},y,{menuItems:w})}))};Y(K6,Z);K6.\u0275dir=Z.\u0275dir;g=K6.prototype;g.updateSubscription=function(a){var b=this,c;return qe(function(d){if(1==d.nextAddress)return(c=Dk(b.issueId$))?d.yield(b.editIssueService.updateSubscription(c,a),2):d.return();b.analytics.trackEvent(Kp.EDIT_ISSUE,"updateSubscription",a);we(d)})};
g.showNotificationSettings=function(a){this.appEvents.topBarEvents.openSettings.next({newTab:a.ctrlKey||a.metaKey,settingsTabName:"notifications"})};g.showIndefiniteRetentionDialog=function(a){var b=this,c;return qe(function(d){return 1==d.nextAddress?b.editIssueService.savingState(a).get("retention")?d.return():d.yield((0,E.firstValueFrom)(b.matDialogService.open(VX,{maxWidth:560}).afterClosed()),2):(c=d.yieldResult)?d.yield(b.editIssueService.updateIssueRetention(a,"INDEFINITE"),0):d.jumpTo(0)})};
g.showComponentRetentionDialog=function(a){var b=this,c;return qe(function(d){return 1==d.nextAddress?b.editIssueService.savingState(a).get("retention")?d.return():d.yield((0,E.firstValueFrom)(b.matDialogService.open(RX,{maxWidth:560}).afterClosed()),2):(c=d.yieldResult)?d.yield(b.editIssueService.updateIssueRetention(a,"COMPONENT_DEFAULT"),0):d.jumpTo(0)})};
g.showFlagAsSpamDialog=function(a){var b=this,c;return qe(function(d){return 1==d.nextAddress?d.yield((0,E.firstValueFrom)(b.matDialogService.open(UX,{maxWidth:560}).afterClosed()),2):(c=d.yieldResult)?d.yield(ebc(b.editIssueService,String(a)),0):d.jumpTo(0)})};
var uLc=function(a){var b={requestIssueDeletion:function(){a.domSafe.openInNewTab(CYa(a.activeSession.isInternalSession()))},showIndefiniteRetentionDialog:function(){var c=Dk(a.issueId$);c&&a.showIndefiniteRetentionDialog(c)},showComponentRetentionDialog:function(){var c=Dk(a.issueId$);c&&a.showComponentRetentionDialog(c)},submitArchivalState:function(c){var d=Dk(a.issueId$);d&&a.issueArchiveService.submitArchivalState(d,c)},showFlagAsSpamDialog:function(){var c=Dk(a.issueId$);c&&a.showFlagAsSpamDialog(c)}};
return(0,E.combineLatest)([a.issue$,a.issuePermissionService.userIsComponentAdmin$,a.issuePermissionService.issuePermissions$]).pipe(D(function(c){var d=l(c);c=d.next().value;var e=d.next().value,f;d={permissions:d.next().value,accessLevel:NLa(c),isArchived:null!=(f=null==c?void 0:c.isArchived)?f:!1,isDeleted:LLa(c),isInternal:a.activeSession.isInternalSession(),isComponentAdmin:e,retentionOverride:QLa(c),retentionState:TLa(c)};return[qLc(b,d),rLc(b,d),pLc(b,d),oLc(b,d)].filter(jl)}))};
Gh.Object.defineProperties(K6.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});K6.\u0275fac=function(a){return new (a||K6)(B(iI),B(gP),B(nt),B(lG),B(W5),B(lM),B(lP),B(vA),B(aI))};
K6.\u0275cmp=r({type:K6,selectors:[["issue-actions"]],viewQuery:function(a,b){a&1&&og(I6,5);if(a&2){var c;ng(c=qg())&&(b.helpHover=c.first)}},inputs:{issueId:"issueId"},features:[yf],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&&(F(0,jrb,15,13,"ng-container",0),W(1,"async"));a&2&&G("ngIf",X(1,1,b.state$))},dependencies:[IU,Tv,Uv,MA,I6,VE,r_,eA,ZB,XB,YB,dC,e0,yZ,xZ,H6,G6,$v],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 vLc=["issueTitleEl"],wLc=["issueTitleInputEl"],L6=function(a,b){this.issuePermissionService=a;this.bannedWordsChecker=b;this.disabled=!1;this.updateTitle=new mv;this.isEditMode=!1;this.editModeWidth=0};L6.prototype.ngDoCheck=function(){xLc(this)};var nrb=function(a){a.isEditMode=!a.isEditMode;a.isEditMode?setTimeout(function(){return a.issueTitleInputEl.nativeElement.focus()},0):a.bannedWordsChecker.reset()};
L6.prototype.saveTitle=function(a){var b=this,c;return qe(function(d){if(1==d.nextAddress)return a&&b.isModified(a)?d.yield(b.bannedWordsChecker.check(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.bannedWordsChecker.reset()}b.isEditMode=!1;xLc(b);we(d)})};L6.prototype.isModified=function(a){return a!==this.titlePlain};
var lrb=function(a,b){if(b)"Enter"===b.key?a.saveTitle(b.target.value):"Escape"===b.key||"Esc"===b.key?nrb(a):a.bannedWordsChecker.reset();else{var c;b=null==(c=a.issueTitleInputEl)?void 0:c.nativeElement.value;a.saveTitle(b)}},xLc=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};
Gh.Object.defineProperties(L6.prototype,{title:{configurable:!0,enumerable:!0,set:function(a){this.titlePlain=a=null!=a?a:void 0;this.titleTruncated=eEa(a,300);this.isLongTitle=null==a?!1:300<=a.length}}});L6.\u0275fac=function(a){return new (a||L6)(B(gP),B(zX))};
L6.\u0275cmp=r({type:L6,selectors:[["issue-title"]],viewQuery:function(a,b){a&1&&(og(vLc,5),og(wLc,5));if(a&2){var c;ng(c=qg())&&(b.issueTitleEl=c.first);ng(c=qg())&&(b.issueTitleInputEl=c.first)}},inputs:{title:"title",componentId:"componentId",disabled:"disabled",hasAclToEdit:"hasAclToEdit"},outputs:{updateTitle:"updateTitle"},features:[bg([zX])],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 break-word",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","break-word"],["target","_blank","aria-label","Learn more about banned words",
"href","http://go/b-trackers#banned-words-for-tracker",1,"color-bad-text","keep-underline"]],template:function(a,b){a&1&&(H(0,"div"),F(1,krb,3,2,"h3",0)(2,mrb,3,5,"mat-form-field",1)(3,orb,2,1,"button",2),K(),F(4,prb,4,1,"p",3));a&2&&(A(1),G("ngIf",!b.isEditMode),A(1),G("ngIf",b.isEditMode),A(1),G("ngIf",b.hasAclToEdit),A(1),G("ngIf",b.bannedWordsChecker.showWarning()))},dependencies:[Uv,MA,eA,dC,FA,JA],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 M6=function(a,b,c,d,e,f,h,k,q){Z.call(this);var t=this;this.issueDetailsBrain=a;this.issuePagination=b;this.issueFridge=c;this.componentFridge=d;this.issueInteractionsTracking=e;this.bLocation=f;this.paths=h;this.refreshMonitor=k;this.butterBar=q;this.internalSearchResults$=new E.BehaviorSubject(null);this.searchResults$=this.internalSearchResults$.pipe(Pe(),af(function(w){return w?w.changed$:(0,E.of)(null)}));this.issueIds$=this.searchResults$.pipe(D(function(w){var y;return null!=(y=null==w?
void 0:w.issues.map(function(C){return C.id}).map(bo))?y:[]}),Pe($h));this.issues$=this.issueIds$.pipe(af(function(w){return(0,E.combineLatest)(w.map(function(y){return t.issueFridge.watch(y,{trustUncertainMemory:!0})}))}),af(function(w){return(0,E.combineLatest)(w.map(function(y){return t.componentFridge.watch(String(null==y?void 0:y.snapshot[0].componentId),{trustUncertainMemory:!0}).pipe(D(function(C){return{issue:y,component:C}}))}))}));this.issueId$=this.issueDetailsBrain.id$;this.totalText$=
this.searchResults$.pipe(D(function(w){var y;return null!=(y=null==w?void 0:w.totalText)?y:""}));this.backNavigationLabel$=this.searchResults$.pipe(D(function(w){return(null==w?0:w.params.returnUrl)?"Back to previous search":"Go home"}));this.issueIndex$=(0,E.combineLatest)([this.searchResults$,this.issueId$]).pipe(D(function(w){var y=l(w);w=y.next().value;y=y.next().value;var C;return null!=(C=y&&(null==w?void 0:aF(w,y)))?C:-1}));this.hasPreviousIssue$=(0,E.combineLatest)([this.searchResults$,this.issueId$]).pipe(D(function(w){var y=
l(w);w=y.next().value;y=y.next().value;var C;if(C=y)null==w?w=0:(y=aF(w,y),w=null==y||-1===y?!1:y>w.startIndex||1<w.params.page),C=w;return!!C}));this.hasNextIssue$=(0,E.combineLatest)([this.searchResults$,this.issueId$]).pipe(D(function(w){var y=l(w);w=y.next().value;y=y.next().value;var C;if(C=y)null==w?w=0:(y=aF(w,y),w=null==y||-1===y?!1:y<w.endIndex||w.params.page<w.numPages),C=w;return!!C}));this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){yLc(t)}));this.subscriptions.add(this.issueDetailsBrain.id$.subscribe(function(w){t.issueId=
w;yLc(t)}));this.subscriptions.add(this.issues$.subscribe(function(w){var y=t.internalSearchResults$.value;y&&V1b(y,w.filter(function(C){var J=C.component;return C.issue&&J}))}))};Y(M6,Z);M6.\u0275dir=Z.\u0275dir;
var zLc=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.setUrl(d)},trb=function(a){var b=Dk(a.hasNextIssue$),c=Dk(a.issueIndex$);b&&c&&ALc(a,c+1)},srb=function(a){var b=Dk(a.hasPreviousIssue$),c=Dk(a.issueIndex$);b&&c&&ALc(a,c-1)},yLc=function(a){var b,c,d;qe(function(e){if(1==e.nextAddress)return e.yield(M2b(a.issuePagination).catch(qrb),2);b=e.yieldResult;
a.internalSearchResults$.next(null!=(c=b)?c:null);if(!b||!a.issueId)return e.return();d=aF(b,a.issueId);return-1===d?e.jumpTo(0):e.yield(N2b(a.issuePagination,d).catch(qrb),0)})},ALc=function(a,b){N2b(a.issuePagination,b).then(function(c){a.bLocation.setUrl(a.paths.editIssue(c))},function(){a.butterBar.showWarning("Can't find issue id for index '"+b+"'")})};M6.\u0275fac=function(a){return new (a||M6)(p(eP),p(sG),p(iI),p(mH),p(cP),p(bF),p(cF),p(gI),p(EG))};
M6.\u0275prov=Dc({token:M6,factory:M6.\u0275fac,providedIn:"root"});var urb=function(a){return{"invisible zero-width":a}},BLc=function(a){this.currentSearchResults=a;this.HOTKEYS=$D};BLc.\u0275fac=function(a){return new (a||BLc)(B(M6))};
BLc.\u0275cmp=r({type:BLc,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&&(F(0,vrb,9,12,"ng-container",0),W(1,"async"));a&2&&G("ngIf",X(1,1,b.currentSearchResults.issueIndex$))},dependencies:[Sv,Uv,MA,VE,eA,dC,$v],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 N6=function(a,b,c){this.documentationLinks=a;this.issueLimits=b;this.accessPolicyApi=c;this.implicitAccessEnabled=!1};N6.prototype.ngOnInit=function(){var a=this;this.accessPolicyApi.checkComponentImplicitAccessEnabled(Number(this.componentId)).then(function(b){return a.implicitAccessEnabled=b})};N6.prototype.toggleAccessLimits=function(){var a=this;return qe(function(b){a.issueLimits.open({componentId:Number(a.componentId),issueId:a.issueId});we(b)})};
N6.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};N6.prototype.getAccessLimitLevelDisplay=function(a){return"LIMIT_APPEND"===a?"Commenting":"LIMIT_VIEW"===a||"LIMIT_VIEW_TRUSTED"===a?"Visibility":""};
var CLc=function(a,b){if(b)a:if(a=a.implicitAccessEnabled,b===poc.accessLevel)b=a?"Only added users + Googlers may access. The assignee, verifier and collaborators may edit. CCs can comment. Googler access is according to their component-level permissions.":"Only added users + Googlers may access. They have their normal access as defined by the component-level permissions.";else{for(var c=l(CWa),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?Qp.descriptionWithExpandedAccess:Qp.descriptionNoExpandedAccess}else b="";return b};N6.\u0275fac=function(a){return new (a||N6)(B(lL),B(YY),B(KH))};
N6.\u0275cmp=r({type:N6,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),Q("click",function(){return b.toggleAccessLimits()})("keydown.enter",function(d){return b.toggleAccessLimitsWithKeystroke(d)})("keydown.space",function(d){return b.toggleAccessLimitsWithKeystroke(d)}),L(1,"mat-icon",1),H(2,"span",2),T(3),K()(),H(4,"onedev-hovercard",null,3)(6,"div",4)(7,"div",5)(8,"span",6),T(9),H(10,"a",7),T(11,
" Learn more"),K()()()()());if(a&2){var c=S(5);G("onedevHovercardTrigger",c);A(3);$f(b.getAccessLimitLevelDisplay(b.accessLimitLevel));A(6);V(" Issue access is limited. ",CLc(b,b.accessLimitLevel)," ");A(1);G("href",b.documentationLinks.getIssueAccessLimit(),Wd)}},dependencies:[MA,dC,hK,mK],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 DLc=function(a,b,c){var d=this;this.brain=a;this.activeSession=b;this.accessIndicatorService=c;this.enableNewVisibilityChips=yD(this.activeSession,"enableNewVisibilityChips");this.INTERNAL="INTERNAL";this.issue$=this.brain.issueJs$.pipe(D(function(e){return null==e?void 0:e.issue}),He(jl));this.retentionState$=this.issue$.pipe(D(function(e){var f;return null==(f=e.aggregatedData)?void 0:f.retentionState}));this.modifiedTime$=this.issue$.pipe(D(function(e){var f;return(null==(f=e.aggregatedData)?
0:f.modifiedTimeMicros)?e.aggregatedData.modifiedTimeMicros/1E3:void 0}),He(jl));this.accessLevel$=this.issue$.pipe(D(function(e){var f;return null==(f=e.accessLimit)?void 0:f.accessLevel}),He(jl));this.issueAccessLimitLevel$=this.issue$.pipe(D(function(e){return e.snapshot[0].issueAccessLimitLevel}));this.issueId$=this.issue$.pipe(D(function(e){return e.issueId}));this.hasAccessIndicator$=this.issue$.pipe(af(function(e){return M4b(d.accessIndicatorService,e.issueId)}),D(function(e){return"no_indicator"!==
e.type}));this.state$=(0,E.combineLatest)([this.retentionState$,this.issueAccessLimitLevel$,this.modifiedTime$,this.issueId$,this.brain.componentId$,(0,E.combineLatest)([this.accessLevel$,this.hasAccessIndicator$])]).pipe(D(function(e){var f=l(e);e=f.next().value;var h=f.next().value,k=f.next().value,q=f.next().value,t=f.next().value,w=l(f.next().value);f=w.next().value;w=w.next().value;return{retentionState:e,isAccessLimited:"LIMIT_VIEW"===h||"LIMIT_APPEND"===h||"LIMIT_VIEW_TRUSTED"===h,isShowingRetention:null==
(null==e?void 0:e.scheduledDeletionTime)?!1:D2a(e),isShowingPublicPartner:"INTERNAL"!==f,modifiedTime:k,accessLevel:f,issueId:q,componentId:t,issueAccessLimitLevel:h,hasAccessIndicator:w}}))};DLc.\u0275fac=function(a){return new (a||DLc)(B(eP),B(nt),B(eJ))};
DLc.\u0275cmp=r({type:DLc,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,"issueId","componentId","accessLimitLevel",4,"ngIf"],[3,"retentionState","compactMode","modifiedTime",4,"ngIf"],[3,"issueId"],[3,"accessLevel"],[3,"issueId","componentId","accessLimitLevel"],[3,"retentionState","compactMode","modifiedTime"]],template:function(a,b){a&1&&(F(0,Crb,2,1,"ng-container",0),
W(1,"async"));a&2&&G("ngIf",X(1,1,b.state$))},dependencies:[N6,Uv,nL,zZ,rU,$v],encapsulation:2});var O6=function(a){this.teamsService=a;this.onTeamLoaded=new E.ReplaySubject(1);this.teamName$=new E.BehaviorSubject("");this.isTeamLoaded=!1};O6.prototype.ngOnChanges=function(a){var b=this;a.teamId&&null!==this.teamId&&(0===this.teamId?(this.isTeamLoaded=!0,this.onTeamLoaded.next(this.isTeamLoaded)):XI(this.teamsService,String(this.teamId)).pipe(Qe(),D(function(c){return c.name})).subscribe(function(c){b.teamName$.next(c);b.isTeamLoaded=!0;b.onTeamLoaded.next(b.isTeamLoaded)}))};
O6.\u0275fac=function(a){return new (a||O6)(B(WI))};
O6.\u0275cmp=r({type:O6,selectors:[["b-team-chip"]],inputs:{componentId:"componentId",teamId:"teamId"},outputs:{onTeamLoaded:"onTeamLoaded"},features:[ld],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),F(1,Drb,4,4,"div",1),W(2,
"async"),K(),H(3,"onedev-hovercard",null,2),M(5),L(6,"b-team-card",3),N(),K());if(a&2){var c;G("isReady",b.isTeamLoaded);A(1);G("ngIf",X(2,4,b.teamName$));A(5);G("componentId",null==b.componentId?null:b.componentId.toString())("teamId",null!==(c=null==b.teamId?null:b.teamId.toString())&&void 0!==c?c:"0")}},dependencies:[Uv,MA,AU,hK,mK,VR,$v],styles:["[_nghost-%COMP%]{min-height:22px}mat-icon[_ngcontent-%COMP%]{margin-right:4px;vertical-align:middle}"],changeDetection:0});var P6=function(a,b,c,d,e,f,h){Z.call(this);var k=this;this.issueFridge=a;this.issuePermissionService=b;this.router=c;this.refreshMonitor=d;this.currentSearchResults=e;this.currentTracker=f;this.eventsForIssueFridge=h;this.editTitleDisabled=this.starToggleDisabled=!1;this.issueId$=new E.ReplaySubject(1);this.internalIssueId="";this.isTeamLoaded=!1;this.ListIssuesHovercardMode=dLc;this.blockedIdsToUrlQuery=function(q){if(!(2>q.length))return{q:"blockingid:"+k.issueId}};this.HOTKEYS=$D;this.issue$=
this.issueId$.pipe(af(this.issueFridge.watch));this.issueTitle$=this.issue$.pipe(D(function(q){return null==q?void 0:q.snapshot[0].title}));this.starred$=this.issue$.pipe(D(function(q){var t;return hl(null==q?void 0:null==(t=q.userData)?void 0:t.starred)}));this.componentId$=this.issue$.pipe(D(function(q){return hl(null==q?void 0:q.snapshot[0].componentId)}));this.ancestors$=this.issue$.pipe(D(function(q){return hl(null==q?void 0:q.ancestors)}));this.hasAncestors$=this.ancestors$.pipe(D(function(q){return!!(q&&
0<q.size)}));this.teamId$=this.issue$.pipe(D(function(q){var t;return hl(null==q?void 0:null==(t=q.aggregatedData)?void 0:t.teamId)}));this.blockedByids$=this.issue$.pipe(D(function(q){var t;return null!=(t=null==q?void 0:q.snapshot[0].blockedByIssueId)?t:[]}));this.issuesBlockedByCount$=this.blockedByids$.pipe(af(this.issueFridge.watchSet),D(function(q){return q.filter(Gn)}),D(function(q){return q.length}));Ck(this.issuesBlockedByCount$.pipe(D(Orb),bf(this.destroyed$)),"Blocked");this.blockedByids$.pipe(D(Prb));
this.blockedByids$.pipe(D(this.blockedIdsToUrlQuery));this.isWithinExternalComponent$=this.issuePermissionService.isWithinExternalComponent$;this.status$=this.issue$.pipe(D(function(q){return(null==q?void 0:q.snapshot[0].status)||void 0}));this.statusCssClass$=this.status$.pipe(D(function(q){return k.computeStatusCssClass(q)}));this.prettyStatus$=this.status$.pipe(He(jl),D(function(q){return Kk[q]}));this.statusIsFeatured$=this.status$.pipe(D(function(q){return!!OZb[q]}));this.toggleStar=function(){var q=
!!Dk(k.starred$);k.starToggleDisabled=!0;T3b(k.issueFridge,k.issueId,!q).pipe(Te(),bf(k.destroyed$)).subscribe(function(){k.starToggleDisabled=!1})};this.toggleStarDebounced=ru(this.toggleStar,1E3)};Y(P6,Z);P6.\u0275dir=Z.\u0275dir;var ELc=function(a,b){a.editTitleDisabled=!0;U3b(a.issueFridge,a.issueId,b).pipe(bf(a.destroyed$)).subscribe(function(){a.editTitleDisabled=!1;a.eventsForIssueFridge.poke(a.issueId)})};P6.prototype.computeStatusCssClass=function(a){return a?"status-"+a:""};
P6.prototype.refresh=function(){this.refreshMonitor.refreshRequest.next()};Gh.Object.defineProperties(P6.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)},get:function(){return this.internalIssueId}}});P6.\u0275fac=function(a){return new (a||P6)(B(iI),B(gP),B(yE),B(gI),B(M6),B(SG),B(AH))};
P6.\u0275cmp=r({type:P6,selectors:[["issue-header"]],inputs:{issueId:"issueId"},features:[yf],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),W(1,"async"),W(2,"async"),W(3,"async"),L(4,"aside",1),W(5,"async"),W(6,"async"),H(7,"div",2)(8,"div",3),F(9,Frb,2,1,"ng-container",4),W(10,"async"),F(11,Irb,4,
7,"ng-template",null,5,tg)(13,Krb,4,7,"ng-template",null,6,tg),K(),H(15,"div",7),L(16,"b-pagination-one-issue"),K()(),H(17,"div",8)(18,"div",9)(19,"div",10)(20,"button",11),Q("onHotkey",function(){return zLc(b.currentSearchResults)})("click",function(){return zLc(b.currentSearchResults)}),W(21,"async"),W(22,"async"),L(23,"mat-icon",12),K(),H(24,"button",13),Q("onHotkey",function(){return b.refresh()})("click",function(){return b.refresh()}),L(25,"mat-icon",14),K(),H(26,"b-star-toggle",15),Q("starClicked",
function(){return b.toggleStar()})("onHotkey",function(){return b.toggleStarDebounced()}),W(27,"async"),K()(),L(28,"issue-chip-indicators"),K(),H(29,"div",16)(30,"issue-title",17),Q("updateTitle",function(e){return ELc(b,e)}),W(31,"async"),W(32,"async"),W(33,"async"),K(),F(34,Mrb,3,2,"div",18),W(35,"async"),H(36,"onedev-hovercard",null,19),F(38,Nrb,4,7,"ng-container",20),K(),L(39,"issue-actions",21)(40,"issue-actions",22),K()()());if(a&2){var c=S(14),d;Jf("overline",X(1,23,b.statusIsFeatured$))("color-field",
X(2,25,b.statusIsFeatured$));Yf("ngClass",X(3,27,b.statusCssClass$));A(4);Zf("title","[",X(5,29,b.prettyStatus$),"] ",X(6,31,b.issueTitle$),"");A(5);G("ngIf",X(10,33,b.hasAncestors$))("ngIfElse",c);A(11);G("hotkey",b.HOTKEYS.GO_UP_TO_LIST)("matTooltip",null!==(d=X(21,35,b.currentSearchResults.backNavigationLabel$))&&void 0!==d?d:"");Af("aria-label",X(22,37,b.currentSearchResults.backNavigationLabel$));A(4);G("hotkey",b.HOTKEYS.REFRESH_ISSUE);A(2);G("starred",X(27,39,b.starred$))("disabled",b.starToggleDisabled)("hotkey",
b.HOTKEYS.TOGGLE_STAR);A(4);G("title",X(31,41,b.issueTitle$))("componentId",X(32,43,b.componentId$))("disabled",b.editTitleDisabled)("hasAclToEdit",X(33,45,b.issuePermissionService.hasAclToEdit$));A(4);G("ngIf",X(35,47,b.issuesBlockedByCount$));A(5);G("issueId",b.issueId);A(1);G("issueId",b.issueId)}},dependencies:[B6,Sv,Uv,Zv,MA,TY,VE,hK,iK,mK,jK,CU,L6,A6,eA,dC,cK,O6,BLc,K6,DLc,$v],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 FLc=function(a,b){var c=this;this.activeSession=a;this.brain=b;this.isChromiumTrackerIssue$=this.brain.component$.pipe(D(function(d){return"157"===(null==d?void 0:d.trackerId)}));this.shouldDisplay$=this.isChromiumTrackerIssue$.pipe(D(function(d){return d&&c.activeSession.isInternalSession()}))};FLc.\u0275fac=function(a){return new (a||FLc)(B(nt),B(eP))};
FLc.\u0275cmp=r({type:FLc,selectors:[["monorail-migration-warning"]],decls:2,vars:3,consts:[[4,"ngIf"],[1,"container"],[1,"warning-text"],["href","http://goto.corp.google.com/b-partially-migrated-data"]],template:function(a,b){a&1&&(F(0,Qrb,7,0,"ng-container",0),W(1,"async"));a&2&&G("ngIf",X(1,1,b.shouldDisplay$))},dependencies:[Uv,$v],styles:[".container[_ngcontent-%COMP%]{background:-webkit-repeating-linear-gradient(45deg,#000,#000 10px,var(--warn-c200) 10px,var(--warn-c200) 20px);background:repeating-linear-gradient(45deg,#000,#000 10px,var(--warn-c200) 10px,var(--warn-c200) 20px);color:#d42521;color:var(--red-text);text-align:center;font-size:1.8rem;font-weight:500}.warning-text[_ngcontent-%COMP%]{background-color:#fdd663;background-color:var(--warn-c200)}\n/*# sourceMappingURL=monorail_migration_warning.css.map */"]});var Q6=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=l(d);d=e.next().value;e=e.next().value;return!!yn(e)&&!yn(d)}));this.tracker$=this.issueTrackerId$.pipe(af(function(d){return yn(d)?(0,E.of)(void 0):c.trackerFridge.watch(d)}));this.trackerRedirectUrl$=this.tracker$.pipe(D(function(d){return TG(c.currentTracker,
String(c.issueId),d)}))};Gh.Object.defineProperties(Q6.prototype,{trackerId:{configurable:!0,enumerable:!0,set:function(a){this.issueTrackerId$.next(null!=a?a:"")}}});Q6.\u0275fac=function(a){return new (a||Q6)(B(SG),B(RG))};
Q6.\u0275cmp=r({type:Q6,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&&(F(0,Rrb,7,6,"div",0),W(1,"async"),W(2,"async"));a&2&&G("ngIf",X(1,1,b.showTrackerBanner$)&&X(2,3,b.tracker$))},dependencies:[Uv,fA,$v],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 R6=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 yn(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 f="";d.issue&&(f=String(d.issueId));d.component&&(f="components/"+d.componentId);return e?TG(d.currentTracker,f,e):r3b(d.currentTracker,f)}))};R6.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:""};
R6.prototype.ngOnChanges=function(a){a.issue&&this.issue&&this.trackerId$.next(this.issue.trackerId||"");a.component&&this.component&&this.trackerId$.next(this.component.trackerId||"")};
Gh.Object.defineProperties(R6.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 Vh(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 Kk[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}}});R6.\u0275fac=function(a){return new (a||R6)(B(SG),B(RG),B(nt))};
R6.\u0275cmp=r({type:R6,selectors:[["b-tracker-redirect"]],inputs:{issue:"issue",component:"component"},features:[ld],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&&F(0,Trb,15,13,"div",0);a&2&&G("ngIf",b.showResourceContainer)},dependencies:[Uv,MA,fA,dC,$v],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 S6=function(){};S6.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))}),HXa(b,{attributes:!0,attributeFilter:["id"],childList:!0,subtree:!0}).pipe(D(function(){return document.getElementById(a)}))).pipe(He(jl),Qe())};S6.\u0275fac=function(a){return new (a||S6)};S6.\u0275prov=Dc({token:S6,factory:S6.\u0275fac,providedIn:"root"});var T6=function(a){this.idWatch=a},GLc=function(a,b){var c=b.scrollableContainerId,d=void 0===b.scrollPadding?0:b.scrollPadding;return a.idWatch.watch(b.elementId,b.parentElement).pipe(Qe(),D(function(e){e.scrollIntoView();if(e=document.getElementById(c))e.scrollTop-=d}))};T6.\u0275fac=function(a){return new (a||T6)(p(S6))};T6.\u0275prov=Dc({token:T6,factory:T6.\u0275fac,providedIn:"root"});var U6=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:""};
U6.prototype.visit=function(a){a.event&&(a.event.preventDefault(),a.event.stopPropagation());a.issueId&&a.issueId!==this.issueId||!a.elementId?this.baseIssueReferenceResolver.visit(a):(GLc(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))};U6.prototype.ngOnDestroy=function(){this.destroyed$.next()};
U6.\u0275fac=function(a){return new (a||U6)(p(T6),p(cF),p(XO),p(l4))};U6.\u0275prov=Dc({token:U6,factory:U6.\u0275fac});var V6=function(a,b){Z.call(this);var c=this;this.el=a;this.router=b;this.router.events.pipe(He(Dva),bf(this.destroyed$)).subscribe(function(){var d=["scrollY",c.rememberScroll,c.router.url.toString()].join("-"),e,f=null==(e=c.el.nativeElement)?void 0:e.scrollTop;f?window.sessionStorage.setItem(d,String(f)):window.sessionStorage.removeItem(d)});this.router.events.pipe(He(Cva),bf(this.destroyed$)).subscribe(function(d){d=["scrollY",c.rememberScroll,d.url].join("-");Urb(c.el.nativeElement,d)})};
Y(V6,Z);V6.\u0275fac=function(a){return new (a||V6)(B(Hd),B(yE))};V6.\u0275dir=Vc({type:V6,selectors:[["","rememberScroll",""]],inputs:{rememberScroll:"rememberScroll"},features:[yf]});var W6=function(){};W6.\u0275fac=function(a){return new (a||W6)};W6.\u0275mod=Tc({type:W6});W6.\u0275inj=Ec({imports:[zD,EE]});var Xrb=function(a){return{monorailRedirectUrl:a}},lsb=function(){return{exact:!0}},X6=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I,P,O,U,aa,na,sa,Ba,Pa){Z.call(this);var Ja=this;this.contextSensitiveRegistry=a;this.issueFridge=b;this.activeSession=c;this.permissions=d;this.editIssueService=e;this.counts=f;this.appEvents=h;this.issueInteractionsTracking=k;this.checkBeforeExit=q;this.butterBar=t;this.routerEvents=w;this.devopsGraph=y;this.refreshMonitor=C;this.eventsForIssueFridge=J;this.issueFetchResponseFridge=
I;this.hotlistFridge=P;this.permissionsFridge=O;this.issueRelationshipsFridge=U;this.issueService=aa;this.errorHandler=na;this.currentTracker=sa;this.monorailIssueRedirectApi=Ba;this.domSafe=Pa;this.id$=this.contextSensitiveRegistry.getIssueId();this.issue$=this.id$.pipe(af(this.issueFridge.watch));this.hasIssueFetchResponseError$=this.issueFetchResponseFridge.error$.pipe(df(this.id$),af(function(cb){var qb=l(cb);cb=qb.next().value;qb=qb.next().value;switch(cb.status){case 403:return(0,E.of)(HLc(Ja,
cb,!1));case 404:return ILc(Ja,cb,qb);default:return(0,E.of)(HLc(Ja,cb,!0))}}),Ye({refCount:!0,bufferSize:1}));this.issueTrackerId$=this.issue$.pipe(D(function(cb){return null==cb?void 0:cb.trackerId}));this.showTrackerRedirect$=(0,E.combineLatest)([this.currentTracker.trackerId$,this.issueTrackerId$]).pipe(D(function(cb){var qb=l(cb);cb=qb.next().value;qb=qb.next().value;return Ja.shouldShowTrackerRedirect(cb,il("")(qb))}));this.snapshot$=this.issue$.pipe(D(function(cb){return null==cb?void 0:cb.snapshot[0]}));
this.archived$=this.snapshot$.pipe(D(function(cb){return null==cb?void 0:cb.isArchived}));this.deleted$=this.snapshot$.pipe(D(function(cb){return null==cb?void 0:cb.isDeleted}));this.undeleteButtonTooltip$=this.permissions.canUndeleteIssue$.pipe(D(function(cb){return cb?void 0:"Only issue admins can undelete issues"}));this.inArchivedComponent$=this.issue$.pipe(D(function(cb){return(null==cb?void 0:cb.isArchived)&&!(null==cb?0:cb.snapshot[0].isArchived)}));this.status$=this.issue$.pipe(D(function(cb){return(null==
cb?void 0:cb.snapshot[0].status)||void 0}));this.prettyStatus$=this.status$.pipe(He(jl),D(function(cb){return Kk[cb]}));this.issue$.pipe(D(function(cb){var qb;return null!=(qb=null==cb?void 0:cb.snapshot[0].title)?qb:""}));this.issuesBeingBlocked$=this.issue$.pipe(D(function(cb){var qb;return null!=(qb=null==cb?void 0:cb.snapshot[0].blockingIssueId)?qb:[]}),Oe(1E3),af(this.issueFridge.watchSet));this.issue$.pipe(D(function(cb){var qb;return null!=(qb=null==cb?void 0:cb.snapshot[0].duplicateIssueId)?
qb:[]}),Oe(1E3),af(this.issueFridge.watchSet));this.issueMetadata$=(0,E.defer)(function(){return Ja.id$}).pipe(He(jl),af(function(cb){return Ja.issueService.getMetadata(cb)}),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(u(yD(this.activeSession,"enableCodeMentionsUi")?[{link:"./todos",title:"TODOs",count$:this.counts.countTodosDisplay$}]:[]))};Y(X6,Z);X6.\u0275dir=Z.\u0275dir;X6.prototype.shouldShowTrackerRedirect=function(a,b){return""!==a&&a!==b};
X6.prototype.ngOnInit=function(){var a=this,b,c,d;return qe(function(e){if(1==e.nextAddress)return b=QA,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(a.hasIssueFetchResponseError$.pipe(He(function(f){return 404===f.status&&!!f.monorailRedirectUrl})).subscribe(function(f){setTimeout(function(){mM(a.domSafe,f.monorailRedirectUrl)},1E3)}));a.subscriptions.add(BX(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(He(jl),Qe()).subscribe(function(f){lI(a.issueFridge,[f.issueId],{userActivityType:"VIEW"})}));a.subscriptions.add(a.refreshMonitor.getObservable().subscribe(function(){a.issueInteractionsTracking.trackNavigation("refresh");a.permissionsFridge.poke("issues/"+d);a.issueRelationshipsFridge.poke(d);
oI(a.issueFetchResponseFridge,d);a.eventsForIssueFridge.poke(d);a.hotlistFridge.pokeMany(B3b);lI(a.issueFridge,[d],{userActivityType:"RELOAD"})}));a.destroyed$.subscribe(function(){a.devopsGraph.close();var f=a.issueInteractionsTracking,h=f.getState(d);f.trackDestroy("edit-count",h.editCount);var k=Date.now()-h.startTime;Jac(f,k,"idp-time-on-page",h.variations);f.resetState(d);a.editIssueService.clear(d)});we(e)})};
var HLc=function(a,b,c){(void 0===c?0:c)&&a.errorHandler.errorHandler(null,b);return{status:b.status,monorailRedirectUrl:null}},ILc=function(a,b,c){return c&&c===b.idOrKey?cLc(a.monorailIssueRedirectApi,c).pipe(D(function(d){return d?{status:b.status,monorailRedirectUrl:d.toString()}:HLc(a,b,!0)})):(0,E.of)(HLc(a,b,!0))};X6.\u0275fac=function(a){return new (a||X6)(B(xJ),B(iI),B(nt),B(gP),B(lP),B(U5),B(lG),B(cP),B(AX),B(EG),B(JE),B(sZ),B(gI),B(AH),B(mI),B(TH),B(GI),B(FI),B(fI),B(FG),B(SG),B(v6),B(lM))};
X6.\u0275cmp=r({type:X6,selectors:[["issue-details-wrapper"]],features:[bg([XD,pP,{provide:uT,useClass:U6}]),yf],decls:12,vars:7,consts:[["class","a11y-only",4,"ngIf"],[4,"ngIf","ngIfElse"],["showIssueDetails",""],["showTrackerRedirect",""],["showMonorailRedirect",""],["showNoAccessScreen",""],[1,"a11y-only"],[3,"ngSwitch"],[3,"ngTemplateOutlet",4,"ngSwitchCase"],[4,"ngSwitchCase"],[3,"ngTemplateOutlet"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],
["class","flex-kids-y pos-fill",3,"issue-editor-false",4,"ngIf","ngIfElse"],[1,"flex-kids-y","pos-fill"],["class","border-bottom",3,"messageType","format","iconOverride",4,"ngIf"],["messageType","caution","class","border-bottom",3,"format","iconOverride",4,"ngIf"],["messageType","error","format","app","class","border-bottom",4,"ngIf"],["class","issue-header",4,"ngIf"],[1,"flex-1","flex-kids-x","overflow","overflow-on-print-media"],["role","main","rememberScroll","center","cdkScrollable","",1,"flex-1",
"pos-rel","bg-off-main","overflow","overflow-on-print-media"],[3,"issueId",4,"ngIf"],[1,"border-bottom",3,"messageType","format","iconOverride"],["href","http://go/buganizer-issue-archive","target","_blank",4,"ngIf"],["mat-button","","aria-label","Unarchive issue",3,"click",4,"ngIf"],["href","http://go/buganizer-issue-archive","target","_blank"],["mat-button","","aria-label","Unarchive issue",3,"click"],["messageType","caution",1,"border-bottom",3,"format","iconOverride"],["href","http://go/buganizer/guides/manage-component#archiving-a-component",
"target","_blank",4,"ngIf"],["href","http://go/buganizer/guides/manage-component#archiving-a-component","target","_blank"],["messageType","error","format","app",1,"border-bottom"],[4,"ngIf"],["href","http://go/issue-retention","target","_blank",4,"ngIf"],["mat-button","","aria-label","Undelete issue",3,"matTooltip","disabled","click",4,"ngIf"],["href","http://go/issue-retention","target","_blank"],["mat-button","","aria-label","Undelete issue",3,"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"],["target","_self",3,"href"],["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&&(F(0,Vrb,2,1,"h2",0),W(1,"async"),F(2,$rb,4,3,"div",1),W(3,"async"),F(4,qsb,2,4,"ng-template",null,2,tg)(6,rsb,3,3,"ng-template",null,3,tg)(8,ssb,4,2,"ng-template",null,4,tg)(10,vsb,4,2,"ng-template",null,5,tg));if(a&2){var c=S(5);G("ngIf",X(1,3,b.id$));A(2);G("ngIf",X(3,5,b.hasIssueFetchResponseError$))("ngIfElse",c)}},dependencies:[v2,
Tv,Uv,Zv,Vv,Wv,MD,ND,Px,YU,P6,F_,eA,hU,iU,dC,FLc,V6,jE,AE,BE,Q6,R6,$v],styles:["[mat-tab-nav-bar][_ngcontent-%COMP%]{padding-left:8px}"]});var Y6=function(a,b){Z.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"}]}};Y(Y6,Z);Y6.\u0275dir=Z.\u0275dir;Y6.prototype.ngOnInit=function(){};
Y6.prototype.removeDuplicate=function(a){var b=this,c;return qe(function(d){if(1==d.nextAddress)return re(d,2),d.yield(b.issueFridge.removeDuplicate(b.issueId,a),4);if(2!=d.nextAddress)return tt(d,0);c=ve(d);b.butterBar.showWarning("Could not remove duplicate "+a+". "+c);we(d)})};Gh.Object.defineProperties(Y6.prototype,{duplicateIds:{configurable:!0,enumerable:!0,set:function(a){this.duplicateIssueIds$.next((null!=a?a:[]).map(function(b){return String(b)}))}}});
Y6.\u0275fac=function(a){return new (a||Y6)(B(iI),B(EG))};Y6.\u0275cmp=r({type:Y6,selectors:[["b-duplicates-table"]],inputs:{duplicateIds:"duplicateIds",issueId:"issueId"},features:[yf],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueIds","menuItemFactory","tableColumns","initialSort"]],template:function(a,b){a&1&&(F(0,wsb,2,4,"ng-container",0),W(1,"async"));a&2&&G("ngIf",X(1,1,b.duplicateIssueIds$))},dependencies:[Uv,J5,$v],encapsulation:2,changeDetection:0});var Z6=function(a,b,c,d,e){Z.call(this);var f=this;this.paramsService=a;this.issues=b;this.issuePicker=c;this.snackBar=d;this.counts=e;this.ROBOT_SLEEPING=f7b;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 k;return null!=(k=null==h?void 0:h.snapshot[0].duplicateIssueId)?k:[]}));this.duplicatesCount$=this.duplicateIds$.pipe(af(function(h){return 0===
h.length?(0,E.of)(0):f.counts.duplicatesDualCount$.pipe(D(function(k){return k.total.count}))}));this.showTable$=this.duplicatesCount$.pipe(D(function(h){return 0<h}),$e(!0));this.didChooseDupes=function(h){var k=Dk(f.id$);null!=k&&W3b(f.issues,k,h[0]).catch(f.gotErr)};this.gotErr=function(h){f.snackBar.open(xn(h)||"Error with network request","close",{panelClass:"error"})}};Y(Z6,Z);Z6.\u0275dir=Z.\u0275dir;Z6.prototype.isThinking=function(){return this.issues.isThinking()};
var xsb=function(a){a.issuePicker.open({title:"Add Duplicate",allowMultipleIds:!1,edgeType:"duplicate"},a.didChooseDupes)};Z6.\u0275fac=function(a){return new (a||Z6)(B(bJ),B(iI),B(rW),B(BG),B(U5))};
Z6.\u0275cmp=r({type:Z6,selectors:[["ng-component"]],features:[yf],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),
F(1,Csb,5,4,"ng-container",1),W(2,"async"),K(),F(3,Dsb,2,0,"aside",2));a&2&&(A(1),G("ngIf",X(2,2,b.duplicateIds$)),A(2),G("ngIf",b.isThinking()))},dependencies:[Uv,AE,eA,fA,dC,eK,Y6,$v],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 $6=function(){};$6.\u0275fac=function(a){return new (a||$6)};$6.\u0275mod=Tc({type:$6});$6.\u0275inj=Ec({imports:[zD,Ty,iz,Tw,Uw,EE,kC,jU,QC,UK,aW,eM,SK,L5]});var Qsb=function(a,b){return{empty:a,"never-focused":b}},JLc=[[["","extraCommentAction",""]]],a7=function(a,b,c,d,e,f,h,k,q,t,w,y,C){var J=this;this.issuePermissionService=a;this.userPreferencesManager=b;this.editIssueService=c;this.analytics=d;this.draftStore=e;this.activeSession=f;this.issueDetailsBrain=h;this.issueCommentDialogsService=k;this.appEvents=q;this.bannedWordsChecker=t;this.componentFridge=w;this.currentTracker=y;this.butterBar=C;this.issueId$=new E.ReplaySubject(1);this.distinctIssueId$=
this.issueId$.pipe(Pe());this.issue$=this.distinctIssueId$.pipe(af(function(I){return J.editIssueService.editableIssue$(I)}));this.wasFocused=!1;this.commentButtonStyle="fill";this.enableRecaptcha=yD(this.activeSession,"enableRecaptcha");this.enableNewVisibilityChips=yD(this.activeSession,"enableNewVisibilityChips");this.recaptchaResponse$=new E.BehaviorSubject("");this.commentSubmitted=new mv;this.issueComponent$=this.issue$.pipe(af(function(I){return J.componentFridge.watch(null==I?void 0:I.componentId)}));
this.issueAccessLimitLevel$=this.issuePermissionService.accessLimitLevel$.pipe(D(function(I){return null!=I?I:"LIMIT_NONE"}));this.isAccessLimited$=this.issueAccessLimitLevel$.pipe(D(function(I){return"LIMIT_VIEW"===I||"LIMIT_APPEND"===I||"LIMIT_VIEW_TRUSTED"===I}));this.HOTKEYS=$D;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(I){return I.autoCcOnComment}));this.issueCommentDraft$=this.issueId$.pipe(D(function(I){return J.editIssueService.issueCommentDraft(I)}));this.judgementForNewContent$=this.issueCommentDraft$.pipe(af(function(I){return I.judgementForNewContent$}));this.comment$=this.issueCommentDraft$.pipe(af(function(I){return I.comment$}));this.events$=this.issueDetailsBrain.eventsJs$;
this.savingState$=this.issueId$.pipe(D(function(I){return J.editIssueService.savingState(I)}));this.isSaving$=this.savingState$.pipe(af(function(I){return Lp(I.propertiesBeingSaved,bo("comment"))}));this.commentLimitReached$=this.events$.pipe(D(function(I){var P=J.activeSession.getCommentNumberLimit();return OBa(I)>=P}));this.commentPlaceholderText$=this.commentLimitReached$.pipe(D(function(I){return I?"The comment limit has been reached and no additional comments are permitted.":J.activeSession.isAnonymous()?
"Sign in to use full features.":J.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(I){var P=l(I);I=P.next().value;var O=P.next().value;P=P.next().value;return I&&!O&&!P}));this.showRecaptcha$=(0,E.combineLatest)([this.hasAclToComment$,this.commentLimitReached$]).pipe(D(function(I){var P=l(I);I=P.next().value;P=
P.next().value;return I&&!P&&J.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(I){var P=l(I);I=P.next().value;var O=P.next().value,U=P.next().value;P=P.next().value;return I&&zac(O)&&!U&&(!J.enableRecaptcha||""!==P)}));this.empty$=(0,E.combineLatest)([this.comment$,this.commentDraftUpdated$]).pipe(D(function(I){var P,
O;return null!=(O=null==(P=l(I).next().value)?void 0:P.value)?O:""}),D(function(I){return 0===I.length}));this.didAutoRestrict$=new E.BehaviorSubject(!1);this.doAutoRestrictComment$=(0,E.combineLatest)([this.issueComponent$,this.comment$,this.commentDraftUpdated$,this.didAutoRestrict$]).pipe(D(function(I){I=l(I);var P=I.next().value,O=I.next().value;I.next();I=I.next().value;var U=Dk(J.judgementForNewContent$);P=null!=P?P:null;O=0<O.uploads.length;var aa=!(null==P||!P.trackerId);I=!(I||"RESTRICTED"===
(null==U?void 0:U.severity)||"RESTRICTED_PLUS"===(null==U?void 0:U.severity));return up(P)&&aa&&!J.currentTracker.inTracker&&O&&I}))};a7.prototype.setJudgementForNewContent=function(a,b){this.editIssueService.issueCommentDraft(a).setJudgementForNewContent(b)};
a7.prototype.autoRestrictComment=function(a){var b=this,c;return qe(function(d){a&&(c={severity:"RESTRICTED",judgementReason:"Auto-restricted for issue on public tracker being edited from outside of a tracker",contentJudge:"",resourcePath:void 0,contentJudgementId:void 0},b.setJudgementForNewContent(b.issueId,c),b.didAutoRestrict$.next(!0),Fs(b.butterBar,"Because this issue is displayed on a public tracker, this comment will be Restricted. You may modify the restriction level before submitting the comment."));
we(d)})};a7.prototype.ngOnInit=function(){this.doAutoRestrictComment$.subscribe(this.autoRestrictComment.bind(this))};var Gsb=function(a){var b;return qe(function(c){b=!ME(a.userPreferencesManager).autoCcOnComment;a.analytics.trackEvent(Kp.EDIT_ISSUE,"toggleAutoCcOnComment",String(b));return c.yield((0,E.firstValueFrom)(a.userPreferencesManager.save({autoCcOnComment:b})),0)})};
a7.prototype.saveCommentDraft=function(){var a=this,b;return qe(function(c){if(1==c.nextAddress)return a.bannedWordsChecker.reset(),c.yield((0,E.firstValueFrom)(a.comment$),2);b=c.yieldResult;a.draftStore.setDraft(a.internalIssueId,b.value);a.commentDraftUpdated$.next(!0);we(c)})};
a7.prototype.submitCommentBox=function(a){var b=this,c,d,e,f,h,k,q;return qe(function(t){if(1==t.nextAddress)return c=b.enableRecaptcha?b.recaptchaResponse$.getValue():void 0,d=b.editIssueService.issueCommentDraft(b.internalIssueId).comment(),e=b.editIssueService.editableIssue(b.internalIssueId),t.yield(b.bannedWordsChecker.check(d.value,"EXTERNAL_PUBLIC"===b.issuePermissionService.accessLevel(),e.componentId),2);if(3!=t.nextAddress)return f=t.yieldResult,f?t.yield(b.issueCommentDialogsService.submitCommentBox(String(e.componentId),
b.internalIssueId,d,c),3):(null==(h=a)||h.preventDefault(),null==(k=a)||k.stopPropagation(),null==(q=b.commentBox)||Osb(q),t.return());b.commentSubmitted.emit();b.bannedWordsChecker.reset();b.appEvents.recaptchaSubmitted.next();we(t)})};a7.prototype.showNewContentJudgementDialog=function(){var a=this;return qe(function(b){return b.yield(a.issueCommentDialogsService.showNewContentJudgementDialog(a.internalIssueId),0)})};
a7.prototype.isPlusOneCalloutEnabled=function(){return this.activeSession.isInternalSession()&&yD(this.activeSession,"enableReducePlusOneComments")&&!Dk(this.issueDetailsBrain.voted$)};Gh.Object.defineProperties(a7.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a);this.internalIssueId=a},get:function(){return this.internalIssueId}},componentIdString:{configurable:!0,enumerable:!0,get:function(){return String(this.editIssueService.editableIssue(this.internalIssueId).componentId)}}});
a7.\u0275fac=function(a){return new (a||a7)(B(gP),B(LE),B(lP),B(aI),B(JO),B(nt),B(eP),B(RY),B(lG),B(zX),B(mH),B(SG),B(EG))};
a7.\u0275cmp=r({type:a7,selectors:[["b-post-comment"]],viewQuery:function(a,b){a&1&&og(qU,5);if(a&2){var c;ng(c=qg())&&(b.commentBox=c.first)}},inputs:{issueId:"issueId"},outputs:{commentSubmitted:"commentSubmitted"},features:[bg([zX])],ngContentSelectors:["[extraCommentAction]"],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 break-word","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,"issueId","componentId","accessLimitLevel",
4,"ngIf"],[3,"issueId"],["warning","",1,"banned-words-warning","break-word"],["target","_blank","aria-label","Learn more about banned words","href","http://go/b-trackers#banned-words-for-tracker",1,"color-bad-text","keep-underline"],["recaptchaContainer",""],[3,"onUpdate"],[3,"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"],[3,"issueId","componentId","accessLimitLevel"],[3,"accessLevel"]],template:function(a,b){a&1&&(Vf(JLc),F(0,Ssb,2,1,"ng-container",0),W(1,"async"));a&2&&G("ngIf",X(1,1,b.issue$))},dependencies:[rJ,qU,LT,Sv,Uv,nL,VE,eL,vU,N6,rU,$v],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 b7=function(a){this.appEvents=a;this.closeSlickCompose=new mv;this.isMinimized=!1};b7.prototype.ngAfterViewInit=function(){this.focusCommentBox()};b7.prototype.focusCommentBox=function(){this.appEvents.focusCommentBox.next("slick-compose")};b7.prototype.expand=function(){this.isMinimized=!1;this.focusCommentBox()};b7.prototype.close=function(){this.closeSlickCompose.emit()};b7.\u0275fac=function(a){return new (a||b7)(B(lG))};
b7.\u0275cmp=r({type:b7,selectors:[["comment-slick-compose"]],inputs:{issueId:"issueId"},outputs:{closeSlickCompose:"closeSlickCompose"},decls:2,vars:2,consts:[["class","wrapper rounded-top bordered padded-top padded-x",4,"ngIf"],["class","minimized flex-kids-x align-items-center rounded-top bordered padded-s padded-left space-between",3,"click",4,"ngIf"],[1,"wrapper","rounded-top","bordered","padded-top","padded-x"],[1,"header","flex-kids-x","space-between","align-items-center"],[1,"text","heading-xs",
3,"click"],[1,"actions"],["mat-icon-button","","matTooltip","Minimize",1,"small","minimize",3,"click"],["svgIcon","minimize_24px",1,"icon-s"],["mat-icon-button","","matTooltip","Edit in main window",1,"small","close",3,"click"],["svgIcon","close",1,"icon-s"],[1,"body"],[3,"issueId","commentSubmitted"],[1,"minimized","flex-kids-x","align-items-center","rounded-top","bordered","padded-s","padded-left","space-between",3,"click"],[1,"heading-xs"],["mat-icon-button","","matTooltip","Maximize",1,"small",
"maximize",3,"click"],["svgIcon","minimize_24px",1,"icon-s","rotate-180"]],template:function(a,b){a&1&&F(0,Tsb,11,2,"div",0)(1,Usb,8,0,"div",1);a&2&&(G("ngIf",!b.isMinimized),A(1),G("ngIf",b.isMinimized))},dependencies:[Uv,MA,eA,dC,a7],styles:[".minimized[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{position:fixed;bottom:0;right:275px;z-index:991;background-color:var(--background);box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 2px 6px 2px rgba(0,0,0,.15)}.wrapper[_ngcontent-%COMP%]{width:35%;max-height:90%;overflow:auto}.minimized[_ngcontent-%COMP%]{width:200px;cursor:pointer}.header[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{cursor:pointer}.actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:8px}\n/*# sourceMappingURL=comment_slick_compose.css.map */"]});var c7=function(a){this.internalArray_=m(a)};Y(c7,n);g=c7.prototype;g.getIssueId=function(){return Ui(this,1)};g.setIssueId=function(a){return Gl(this,1,a)};g.getAttachmentId=function(){return Ui(this,2)};g.setAttachmentId=function(a){return Gl(this,2,a)};g.getRestrictedRetention=function(){return Li(this,3,0)};g.setRestrictedRetention=function(a){return Cl(this,3,a)};var KLc=function(a){this.internalArray_=m(a)};Y(KLc,n);KLc.prototype.getIt=function(){return vi(this,c7,4)};KLc.prototype.setIt=function(a){return ej(this,c7,4,a)};KLc.prototype.hasIt=function(){return Pi(this,c7,4)};var d7=function(a){this.executor=a};d7.prototype.updateRetention=function(a,b,c){c=(new KLc).setIt((new c7).setIssueId(a).setAttachmentId(b).setRestrictedRetention(yxa(c)));return this.executor.post({url:"action/issues/"+a+"/attachments/"+b+"/update_retention",body:c,responseConstructor:IF}).pipe(D(mm))};d7.\u0275fac=function(a){return new (a||d7)(p(SD))};d7.\u0275prov=Dc({token:d7,factory:d7.\u0275fac,providedIn:"root"});var e7=function(){this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.isGreyedOut=!0;this.linkUrl=this.displayName="";this.useCustomHandler=this.linkEnabled=!1;this.customHandler=new mv};e7.prototype.handleClick=function(a){this.useCustomHandler&&(a.preventDefault(),this.customHandler.emit())};e7.\u0275fac=function(a){return new (a||e7)};
e7.\u0275cmp=r({type:e7,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&&F(0,Vsb,2,3,"span",0)(1,Wsb,2,3,"a",1);a&2&&(G("ngIf",b.isGreyedOut||
!b.linkEnabled),A(1),G("ngIf",!b.isGreyedOut&&b.linkEnabled))},dependencies:[Uv],encapsulation:2,changeDetection:0});var f7=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I,P){Z.call(this);this.activeSession=a;this.documentationLinks=b;this.domSafe=c;this.matDialogService=d;this.attachmentService=e;this.cdr=f;this.differs=h;this.paths=k;this.userAccess=q;this.butterBar=t;this.errorHandler=w;this.analytics=y;this.issueCommentDialogsService=C;this.issuePermissionService=J;this.editIssueService=I;this.routeParams=P;this.isInternalSession=this.activeSession.isInternalSession();this.hasViewAccess=!1;this.actionMenuItems=[];this.attachmentRetentionSaveInProgress=
!1};Y(f7,Z);f7.\u0275dir=Z.\u0275dir;f7.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;LLc(this);MLc(this)};f7.prototype.ngDoCheck=function(){this.attachmentDiffer&&this.attachmentDiffer.diff(this.attachment)&&(LLc(this),this.cdr.markForCheck())};
f7.prototype.ngOnChanges=function(a){this.setHasViewAccess();a.attachment&&this.attachment&&(this.attachmentDiffer=this.differs.find(this.attachment).create())};
var LLc=function(a){a.actionMenuItems=[];NLc(a)&&a.actionMenuItems.push({type:"action",action:function(){a.showDeleteAttachmentDialog()},label:"Delete attachment..."});OLc(a)&&a.actionMenuItems.push({type:"action",action:function(){fbc(a.editIssueService,a.issueId,a.attachment)},label:"Restore attachment"});a.isInternalSession&&a.actionMenuItems.push({type:"action",action:function(){lsc(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";ksc(a.issueCommentDialogsService,"attachment",c).then(function(d){d&&PLc(a,c)})},label:b?"Match issue retention...":"Revert to component retention..."})}};
f7.prototype.setHasViewAccess=function(){var a=this;this.isRestricted()?null==this.attachment?this.hasViewAccess=!1:(this.hasViewAccess=!1,XF(this.userAccess,"reader","issues/"+this.issueId+"/attachments/"+this.attachment.attachmentId).then(function(b){a.hasViewAccess=b;a.cdr.detectChanges()})):this.hasViewAccess=!0};f7.prototype.getFilename=function(){var a;return(null==(a=this.attachment)?void 0:a.filename)||""};
f7.prototype.getSize=function(){var a;return(null==(a=this.attachment)?void 0:a.length)||0};var $sb=function(a,b){b=void 0===b?!0:b;var c;if(null==(c=a.attachment)||!c.attachmentId)throw Error("ff");c=a.paths.getAttachmentAction(a.issueId,a.attachment.attachmentId);a=a.paths.getBaseUrl()+"/"+c;return AB(a,"download",b)};f7.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)};
f7.prototype.isRestricted=function(){return"NONE_DETECTED"!==this.getRestrictionSeverity()};f7.prototype.getRestrictionSeverity=function(){var a;return im(null==(a=this.attachment)?void 0:a.contentVerdict)};f7.prototype.getRestrictedLabel=function(){return Uya(this.getRestrictionSeverity())};
var atb=function(a){return(a=a.getRestrictionSeverity())?"bv2-restricted-content-limit-"+Tya(a):""},Zsb=function(a,b){a.analytics.trackEvent(Kp.RESTRICTED_CONTENT,"viewRestrictedContent","attachment");a.matDialogService.open(nM,{width:"400px",data:{attachment:a.attachment,issueId:a.issueId,download:b}})},NLc=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()||
fP(b,a)?!0:!1:!1:!1}else b=!1;return b},OLc=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()||fP(b,a)?!0:!1:!1:!1}else b=!1;return b};f7.prototype.showDeleteAttachmentDialog=function(){var a;null!=(a=this.attachment)&&a.attachmentId&&this.issueCommentDialogsService.showDeleteAttachmentDialog(this.issueId,this.attachment)};
var PLc=function(a,b){var c;null!=(c=a.attachment)&&c.attachmentId?(a.analytics.trackEvent(Kp.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);Fs(a.butterBar,"Attachment retention updated",
4E3);a.attachmentRetentionOverride="INDEFINITE"===b?"INDEFINITE":"COMPONENT_DEFAULT";LLc(a);a.cdr.detectChanges()},error:function(){a.attachmentRetentionSaveInProgress=!1;GG(a.errorHandler,"Attachment retention update failed")}})):GG(a.errorHandler,"Attachment id is missing")},MLc=function(a){var b,c,d;qe(function(e){(b=Number(a.routeParams.downloadAttachment))&&b===(null==(c=a.attachment)?void 0:c.attachmentId)&&(d="true"===a.routeParams.download,Zsb(a,d));we(e)})};
f7.\u0275fac=function(a){return new (a||f7)(B(nt),B(lL),B(lM),B(vA),B(d7),B(XD,2),B(Ju),B(cF),B(VF),B(EG),B(FG),B(aI),B(RY),B(gP),B(lP),B(XO))};
f7.\u0275cmp=r({type:f7,selectors:[["b-attachment-viewer"]],inputs:{attachment:"attachment",issueId:"issueId",attachmentUploader:"attachmentUploader"},features:[bg([XD]),yf,ld],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),L(1,"b-icon",1),K(),H(2,"div")(3,"div",2),T(4),H(5,"span",3),F(6,Xsb,1,3,"b-restricted-chip",4)(7,Ysb,2,3,"span",5),K()(),H(8,"div"),T(9),F(10,btb,2,8,"span",6)(11,ctb,2,8,"span",6),H(12,"xap-bubble",7),F(13,dtb,3,3,"span",8)(14,etb,4,1,"ng-template",null,9,tg),K()()());if(a&2){var c=S(15);A(4);V(" ",b.getFilename()," ");A(2);G("ngIf",b.isRestricted());A(1);
G("ngIf",0<b.actionMenuItems.length);A(2);V(" ",JDa(b.getSize())," ");A(1);var d;a=b.isActive()&&yra(null==(d=b.attachment)?void 0:d.contentType);G("ngIf",a);A(1);G("ngIf",b.isActive());A(1);G("panelTemplate",c);A(1);G("ngIf",b.isRestricted()&&!b.hasViewAccess)}},dependencies:[Uv,MA,O_,e7,AD,fA,dC,W3,mL],encapsulation:2,changeDetection:0});var QLc=["commentActionsMenu"],RLc=["editDescription"],ztb=function(){return[]},g7=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I){Z.call(this);var P=this;this.eventsForIssue=a;this.userPreferencesManager=b;this.issueFridge=c;this.issueReferenceResolver=d;this.activeSession=e;this.commentService=f;this.errorHandler=h;this.analytics=k;this.butterBar=q;this.userAccess=t;this.issueCommentDialogsService=w;this.issuePermissionService=y;this.commentHistoryDialogService=C;this.dateFormatter=J;this.issueFetchResponseFridge=
I;this.id$=new E.ReplaySubject(1);this.accessLevel$=this.id$.pipe(af(this.issueFridge.watch),D(function(O){var U;return null==O?void 0:null==(U=O.accessLimit)?void 0:U.accessLevel}));this.firstEvent$=new E.ReplaySubject(1);this.firstNote$=this.firstEvent$.pipe(D(function(O){return O}));this.commentActionMenuItems$=new E.BehaviorSubject([]);this.isFormattingOverrideEnabled=!1;this.formattingMode="PLAIN";this.formattingMode$=Ck(this.firstEvent$.pipe(He(jl),D(function(O){return O.formattingMode})),"PLAIN");
this.isRedacted$=this.firstEvent$.pipe(He(jl),D(function(O){return O.commentRedacted}));this.isDeleted$=this.firstEvent$.pipe(He(jl),D(function(O){return"DELETED"===O.commentDeletionStatus}));this.shouldShowRestrictedPlaceholder$=(0,E.combineLatest)([this.isRedacted$,this.isDeleted$]).pipe(D(function(O){var U=l(O);O=U.next().value;U=U.next().value;return!(!O||U)}));this.isRestricted$=this.firstEvent$.pipe(He(jl),D(function(O){return im(O.commentContentVerdict)}),D(function(O){if(!P.isInternalSession)return!1;
switch(O){case "NONE_DETECTED":case "RESTRICTION_SEVERITY_UNSPECIFIED":return!1;case "RESTRICTED":case "RESTRICTED_PLUS":return!0;default:Oh(O)}}));this.commentRetentionOverride$=this.firstEvent$.pipe(He(jl),D(function(O){return O.commentRetention}));this.commentHistoryEnabled=yD(this.activeSession,"enableCommentHistoryUi");this.isShowCommentHistoryActionInMenu$=(0,E.combineLatest)([this.firstEvent$,this.isRedacted$]).pipe(D(function(O){var U=l(O);O=U.next().value;U=U.next().value;return!(!(yD(P.activeSession,
"enableCommentHistoryUi")&&0<((null==O?void 0:O.commentVersion)||0))||U)}));this.canEditComment$=this.firstEvent$.pipe(af(function(O){return O?P.issuePermissionService.canEditComment$(O):(0,E.of)(!1)}),Ye({refCount:!0,bufferSize:1}));this.canEditComment=function(){return!!Dk(P.canEditComment$)};this.isInternalSession=this.activeSession.isInternalSession();this.mayReadPii$=this.isRestricted$.pipe(af(function(O){return O?P.mayReadPii():(0,E.of)(void 0)}));this.reporterUser$=this.id$.pipe(af(function(O){return P.issueFridge.watch(O)}),
D(function(O){var U;return null==O?void 0:null==(U=O.snapshot[0])?void 0:U.reporterUser}));this.reporterUserEmailAddress$=this.reporterUser$.pipe(D(function(O){return qi(O)||""}));this.firstEventReporterEmail$=this.firstEvent$.pipe(D(function(O){O=l((null==O?void 0:O.postDiffs)||[]);for(var U=O.next();!U.done;U=O.next())if(U=U.value,"reporter"===U.name)return U.newValue||"";return""}));this.onBehalfOfEmail$=(0,E.combineLatest)([this.firstEventReporterEmail$,this.reporterUserEmailAddress$]).pipe(D(function(O){var U=
l(O);O=U.next().value;U=U.next().value;return O||U}));this.isAuthorNotReporter$=(0,E.combineLatest)([this.onBehalfOfEmail$,this.firstEvent$]).pipe(D(function(O){var U=l(O);O=U.next().value;U=U.next().value;return O!==qi(null==U?void 0:U.userPerformingActionUser)}))};Y(g7,Z);g7.\u0275dir=Z.\u0275dir;
g7.prototype.mayReadPii=function(){var a=this;return this.id$.pipe(af(function(b){return(0,E.defer)(function(){return XF(a.userAccess,"reader","issues/"+b+"/comments/1").catch(function(c){Bk("error: ",c);return!1})})}))};
g7.prototype.ngOnInit=function(){var a=this;SLc(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";SLc(a,null!=b?b:"PLAIN")});this.issuePermissionService.canChangeCommentRetention$.pipe(bf(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()})};
g7.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=Dk(this.firstEvent$);this.canEditComment()&&c&&b.push({type:"action",action:function(){Rs(a.issueCommentDialogsService,a.id,c).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Edit description...",disabled:Dk(this.isRedacted$)});
Dk(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&&Mac(this.issuePermissionService,c)&&b.push({type:"action",action:function(){c.commentEtag&&isc(a.issueCommentDialogsService,a.id,1,c.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Delete description"});c&&Lac(this.issuePermissionService,
c)&&b.push({type:"action",action:function(){fsc(a.issueCommentDialogsService,a.id,1).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restore description"});this.isInternalSession&&c&&b.push({type:"action",action:function(){jsc(a.issueCommentDialogsService,a.id,c).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restriction settings..."});if(this.isInternalSession&&Dk(this.isRestricted$)&&this.issuePermissionService.canChangeCommentRetention()&&
!Dk(this.isDeleted$)){var d="COMPONENT_DEFAULT"===Dk(this.commentRetentionOverride$);b.push({type:"action",action:function(){var e=d?"INDEFINITE":"COMPONENT_DEFAULT";ksc(a.issueCommentDialogsService,"comment",e).then(function(f){a.commentActionsMenu.actionsMenuIconButton.focus();f&&a.updateCommentRetention(e)})},label:d?"Match issue retention...":"Revert to component retention..."})}this.commentActionMenuItems$.next(b)};
var SLc=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)};
g7.prototype.updateCommentRetention=function(a){var b=this,c=Dk(this.firstEvent$),d=Dk(this.id$);c&&!c.commentNumber&&GG(this.errorHandler,"Comment number is missing");this.analytics.trackEvent(Kp.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);Fs(b.butterBar,"Comment retention updated",4E3);b.initializeActionsMenu()},error:function(){GG(b.errorHandler,"Comment retention update failed")}})};
g7.prototype.loadRestrictedComment=function(a,b){var c=this;this.analytics.trackEvent(Kp.RESTRICTED_CONTENT,"viewRestrictedContent","comment");var d=b.commentNumber||0,e=im(b.commentContentVerdict);a&&this.commentService.get(a,d,e).pipe(Qe(),bf(this.destroyed$)).subscribe(function(f){f=IBa(b,f);c.firstEvent$.next(f);c.initializeActionsMenu()},function(f){var h;c.butterBar.showWarning("Error showing comment "+d+": "+(null==(h=f.error)?void 0:h.message))})};
g7.prototype.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.id,a,-1)};g7.prototype.getUserEmailIfAvailable=function(){var a;return qi(null==(a=Dk(this.firstEvent$))?void 0:a.userPerformingActionUser)};
var ftb=function(a){var b=Dk(a.firstEvent$);b&&Rs(a.issueCommentDialogsService,a.id,b).then(function(){a.editDescriptionButton.focus()})},ktb=function(a,b){var c="Last edited by ";0===b.version&&b.lastCommentEditorUser&&(c+=mi(b.lastCommentEditorUser));b.commentLastModifiedAtDate&&(c+=" on ",BM(a.dateFormatter,new Date(b.commentLastModifiedAtDate)).subscribe(function(d){c+=d}));return c};Gh.Object.defineProperties(g7.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)},get:function(){return Dk(this.id$)}}});
g7.\u0275fac=function(a){return new (a||g7)(B(AH),B(LE),B(iI),B(uT),B(nt),B(mJ),B(FG),B(aI),B(EG),B(VF),B(RY),B(gP),B(CP),B(AM),B(mI))};
g7.\u0275cmp=r({type:g7,selectors:[["b-issue-description"]],viewQuery:function(a,b){a&1&&(og(QLc,5),og(RLc,5));if(a&2){var c;ng(c=qg())&&(b.commentActionsMenu=c.first);ng(c=qg())&&(b.editDescriptionButton=c.first)}},inputs:{id:"id"},features:[yf],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&&(F(0,Atb,29,24,"div",0),W(1,"async"),F(2,Btb,1,0,"ng-template",null,1,tg));if(a&2){var c=S(3);G("ngIf",X(1,2,b.firstEvent$))("ngIfElse",c)}},dependencies:[O_,f7,MT,Tv,Uv,MA,CM,hK,mK,qP,eA,dC,Y3,ZP,eK,rP,sP,$v],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 h7=function(a,b,c,d){Z.call(this);this.prefs=a;this.cdr=b;this.analytics=c;this.butterBar=d;this.on$=this.prefs.showFullHistory$;this.isSaving=!1;this.tooltip$=this.on$.pipe(D(function(e){return e?"(Showing full history) Click for major events only":"(Showing major events) Click for full history"}),$e(""))};Y(h7,Z);h7.\u0275dir=Z.\u0275dir;
h7.prototype.onClick=function(){var a=this,b;return qe(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);we(c)})};
h7.prototype.save=function(a){var b=this;this.analytics.trackEvent(Kp.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()};
h7.\u0275fac=function(a){return new (a||h7)(B(LE),B(Fu),B(aI),B(EG))};
h7.\u0275cmp=r({type:h7,selectors:[["smart-full-history-btn"]],features:[yf],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),Q("click",function(){return b.onClick()}),W(1,"async"),W(2,"async"),W(3,"async"),W(4,"async"),F(5,Ctb,1,0,"mat-icon",1)(6,Dtb,1,0,"b-spinner",2),K());a&2&&(Jf("on",X(1,8,b.on$)),G("matTooltip",
X(2,10,b.tooltip$))("disabled",b.isSaving),Af("aria-pressed",X(3,12,b.on$))("aria-label",X(4,14,b.tooltip$)),A(5),G("ngIf",!b.isSaving),A(1),G("ngIf",b.isSaving))},dependencies:[Uv,MA,eA,dC,eK,$v],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 i7=function(a,b,c,d,e,f,h){Z.call(this);var k=this;this.issueFridge=a;this.eventsForIssueFridge=b;this.hotlistPickerService=c;this.issueInteractionsTracking=d;this.errorHandler=e;this.liveAnnouncer=f;this.activeSession=h;this.issueTypeToDisplay=Vh;this.STATUS_JS_FULL_TEXT=Kk;this.STATUS_JS_TERSE=mD;this.DUPLICATE="DUPLICATE";this.id$=new E.ReplaySubject(1);this.issue$=this.id$.pipe(af(this.issueFridge.watch));this.hotlistIds$=this.issue$.pipe(D(Ntb));this.textOfHotlistBtn$=this.hotlistIds$.pipe(D(function(q){var t;
return null!=(t=null==q?void 0:q.length)?t:0}),D(function(q){return 5>=q?"Add Hotlist":""}));this.priority$=this.issue$.pipe(D(function(q){return(null==q?void 0:q.snapshot[0].priority)||void 0}));this.type$=this.issue$.pipe(D(function(q){var t;return null!=(t=null==q?void 0:q.snapshot[0].type)?t:void 0}));this.canonicalId$=this.issue$.pipe(D(function(q){return null==q?void 0:q.snapshot[0].duplicateOfIssueId}));this.status$=this.issue$.pipe(D(function(q){return(null==q?void 0:q.snapshot[0].status)||
void 0}));this.statusForChip$=this.status$.pipe(D(function(q){return OZb[q]?q:void 0}));this.statusCssClass$=this.status$.pipe(D(function(q){return k.computeStatusCssClass(q)}));this.HOTKEYS=$D;this.enableCommentFilters=yD(this.activeSession,"enableCommentFiltering")};Y(i7,Z);i7.\u0275dir=Z.\u0275dir;i7.prototype.computeStatusCssClass=function(a){return a?"status-"+a:""};
var Jtb=function(a){return qe(function(b){return b.yield(nLc(a.hotlistPickerService,a.issue$),0)})},Htb=function(a,b){var c,d;return qe(function(e){switch(e.nextAddress){case 1:return e.yield((0,E.firstValueFrom)(a.id$),2);case 2:c=e.yieldResult;dP(a.issueInteractionsTracking,c,{label:"remove-hotlists",value:1});re(e,3,4);var f=e.yield;var h=V3b(a.issueFridge,c,[],[String(b)]);return f.call(e,h,6);case 6:return e.yield(a.liveAnnouncer.announce("Hotlist removed successfully"),4);case 4:te(e);a.eventsForIssueFridge.poke(c);
ue(e,0);break;case 3:d=ve(e),HG(a.errorHandler,d),e.jumpTo(4)}})};Gh.Object.defineProperties(i7.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});i7.\u0275fac=function(a){return new (a||i7)(B(iI),B(AH),B(F6),B(cP),B(FG),B(ox),B(nt))};
i7.\u0275cmp=r({type:i7,selectors:[["issue-description-area"]],inputs:{id:"id"},features:[yf],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),F(2,Ftb,6,10,"div",2),W(3,"async"),F(4,Gtb,2,4,"span",3),W(5,"async"),L(6,"b-issue-priority-display",4),W(7,"async"),K(),F(8,Ktb,6,5,"div",5),W(9,"async"),F(10,Ltb,2,0,"div",6),K(),H(11,"onedev-hovercard",null,7),F(13,Mtb,3,4,"b-issue-card",8),K());a&2&&(A(2),G("ngIf",X(3,5,b.statusForChip$)),A(2),G("ngIf",X(5,7,b.type$)),A(2),G("issuePriority",X(7,9,b.priority$)),A(2),G("ngIf",X(9,11,b.hotlistIds$)),A(2),G("ngIf",!b.enableCommentFilters))},dependencies:[Tv,
Uv,MA,VE,TW,hK,iK,mK,jK,JU,EU,eA,dC,AE,h7,$v],styles:["[_nghost-%COMP%]{display:block}.add-hotlists-btn[_ngcontent-%COMP%], button.gmat-button[_ngcontent-%COMP%]:not(.mat-icon-button).add-hotlists-btn{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;color:#202124;color:var(--text);background-color:#fff;background-color:var(--surface-default);line-height:22px;height:22px;min-width:22px;padding:0 8px;border-radius:11px}.add-hotlists-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);margin:0 -2px;margin-top:-3px}.chip-container[_ngcontent-%COMP%]{-webkit-align-self:start;-ms-flex-item-align:start;align-self:start;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px;line-height:22px}.hotlist-container[_ngcontent-%COMP%]{max-height:72px;overflow-y:auto;padding-bottom:5px}[_nghost-%COMP%]     .chip-container .b-chip, [_nghost-%COMP%]     .chip-container b-hotlist-chip{margin-right:0}[_nghost-%COMP%]     .chip-container .b-chip, [_nghost-%COMP%]     .chip-container .chip, [_nghost-%COMP%]     .chip-container b-component-access-level-indicator .label{line-height:22px;height:22px}[_nghost-%COMP%]     .chip-container b-component-access-level-indicator .label{border-radius:11px}[_nghost-%COMP%]     .chip-container .b-chip.status{-moz-box-sizing:border-box;box-sizing:border-box;line-height:20px}.thread-filters[_ngcontent-%COMP%]{margin-top:-9px}\n/*# sourceMappingURL=issue_description_area.css.map */"],
changeDetection:0});var j7=function(a,b,c,d){Z.call(this);this.preferences=a;this.activeSession=b;this.clearcut=c;this.analytics=d;this.enableCommentFilters=yD(this.activeSession,"enableCommentFiltering");this.selectedFilter=null;a=this.activeSession.isInternalSession();Qs.description=a?"Including CLs, Blunderbuss, etc.":"Including all automated comments";this.filters=TLc;this.showRecentEventsFirst=!1};Y(j7,Z);j7.\u0275dir=Z.\u0275dir;
j7.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(He(jl),bf(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.preferences.commentFilterPreferences$.pipe(bf(this.destroyed$)).subscribe(function(b){b.commentFilter?a.selectedFilter=Vtb(b.commentFilter):(a.selectedFilter=ME(a.preferences).showFullHistory?Stb:Qs,a.preferences.save({commentFilterPreferences:{commentFilter:a.selectedFilter.commentFilterType}}).pipe(bf(a.destroyed$)).subscribe())})};
j7.\u0275fac=function(a){return new (a||j7)(B(LE),B(nt),B(VH),B(aI))};
j7.\u0275cmp=r({type:j7,selectors:[["b-event-stream-header"]],features:[yf],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),T(2,"Comments"),K(),H(3,"div",2),F(4,Ptb,5,3,"mat-form-field",3),H(5,"button",4),Q("click",function(){Dsa("hasClickedCommentSortBtn")(!0);var c=!b.showRecentEventsFirst;F3b(b.clearcut,"click_recentFirst_"+c);b.preferences.save({showRecentEventsFirst:c}).pipe(bf(b.destroyed$)).subscribe()}),F(6,Qtb,
4,0,"ng-container",5)(7,Rtb,4,0,"ng-container",5),K()()());a&2&&(A(4),G("ngIf",b.enableCommentFilters),A(2),G("ngIf",!b.showRecentEventsFirst),A(1),G("ngIf",b.showRecentEventsFirst))},dependencies:[Tv,Uv,MA,eA,FA,JP,IP,hA],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 Stb={name:"Full history",description:"Including everything with audit trail",displayName:"Full history",commentFilterType:"FULL_HISTORY"},Qs={name:"All comments and updates",description:"Including CLs, Blunderbuss, etc.",displayName:"All comments",commentFilterType:"ALL_COMMENTS"},Ttb={name:"Users' comments",description:"All human generated comments",displayName:"Users",commentFilterType:"HUMAN_ONLY"},Utb={name:"Team and assignee comments",description:"Issue's owning team and assignee",displayName:"Team and assignee",
commentFilterType:"TEAM_AND_ASSIGNEE"},TLc=[Stb,Qs,Ttb,Utb];var k7=function(){this.reactionState$=new E.ReplaySubject(1);this.issueId="";this.emails$=this.reactionState$.pipe(He(jl),D(function(a){return a.recentResponders.map(qi).filter(function(b){return""!==b}).slice(0,5)}))};Gh.Object.defineProperties(k7.prototype,{reactionState:{configurable:!0,enumerable:!0,set:function(a){a&&this.reactionState$.next(a)}}});k7.\u0275fac=function(a){return new (a||k7)};
k7.\u0275cmp=r({type:k7,selectors:[["b-comment-reaction-responders-card"]],inputs:{reactionState:"reactionState",issueId:"issueId",commentNumber:"commentNumber"},decls:4,vars:3,consts:[["role","dialog","tabindex","0","aria-label","Comment Reactions Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[4,"ngFor","ngForOf"],[4,"ngIf"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1),F(2,Ytb,5,3,"ng-container",2),W(3,"async"),K()());a&2&&(A(2),G("ngForOf",X(3,1,b.emails$)))},dependencies:[Tv,
Uv,$v],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto;max-width:400px}.normal-link.unstyled-button[_ngcontent-%COMP%]{color:#1a73e8;color:var(--link)}"]});var ULc=function(){};ULc.\u0275fac=function(a){return new (a||ULc)};ULc.\u0275cmp=r({type:ULc,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&&F(0,$tb,7,2,"ng-container",0);a&2&&G("ngIf",b.event.commentLastModifiedAtDate)},dependencies:[Uv,CM],encapsulation:2,changeDetection:0});var l7=function(){this.texts=[]};l7.prototype.getIssueId=function(a){return a.text};l7.prototype.trackByIndex=function(a){return a};l7.\u0275fac=function(a){return new (a||l7)};
l7.\u0275cmp=r({type:l7,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&&F(0,dub,5,3,"ng-container",0);a&2&&G("ngForOf",b.texts)("ngForTrackBy",b.trackByIndex)},dependencies:[wT,Tv,Vv,Wv,Xv,yP],encapsulation:2,changeDetection:0});var VLc=function(a){this.hotlists=a;this.HOTLIST_SEARCH=Ps.HOTLIST_SEARCH};VLc.\u0275fac=function(a){return new (a||VLc)(B(TH))};VLc.\u0275cmp=r({type:VLc,selectors:[["hotlist-link"]],inputs:{id:"id"},decls:3,vars:4,consts:[[3,"href"]],template:function(a,b){a&1&&(H(0,"a",0),T(1),W(2,"async"),K());if(a&2){var c;G("href",b.HOTLIST_SEARCH(b.id),Wd);A(1);$f((null==(c=X(2,2,b.hotlists.watch(b.id)))?null:c.name)||b.id)}},dependencies:[$v],encapsulation:2,changeDetection:0});var m7=function(a){var b=this;this.componentFridge=a;this.id$=new E.ReplaySubject(1);this.name$=this.id$.pipe(Pe(),af(function(c){return b.componentFridge.watchOne(c).pipe(D(function(d){var e;return d?WRa(null==(e=d.componentPathInfo)?void 0:e.componentPathName,c):c}))}))};m7.prototype.ngOnChanges=function(){this.id$.next(this.id)};m7.\u0275fac=function(a){return new (a||m7)(B(mH))};
m7.\u0275cmp=r({type:m7,selectors:[["plain-component-path"]],inputs:{id:"id"},features:[ld],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),T(1),W(2,"async"),K(),H(3,"onedev-hovercard",null,1),F(5,eub,3,2,"ng-container",2),K());if(a&2){var c=S(4);G("onedevHovercardTrigger",c);A(1);$f(X(2,2,b.name$)||b.id)}},dependencies:[hK,iK,
mK,jK,FP,$v],encapsulation:2,changeDetection:0});var Cub=function(a){return{"bv2-diff-newvalue-nextline":a}},Wub=function(a,b,c){return{diff:a,change:b,isLast:c}},n7=function(a,b){Z.call(this);this.activeSession=a;this.preferences=b;this.customFieldMap={};this.effortEnabled=!0;this.isStringArray=ci;this.isLinkedItemArray=yBa;this.isIssueDiff=vBa;this.isHotlistDiff=wBa};Y(n7,Z);n7.\u0275dir=Z.\u0275dir;
var WLc=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)},XLc=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)};n7.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(He(jl),bf(this.destroyed$)).subscribe(function(b){2>a.internalDiffs.length||(b&&WLc(a)||!b&&XLc(a))&&a.internalDiffs.reverse()})};n7.prototype.trackByIndex=function(a){return a};
var hvb=function(a,b,c){return"<none>"===Cda(b,c)?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&"DATE"===a.customFieldMap[b.customFieldId].type?!0:!1},ivb=function(a,b,c){return"<none>"===Cda(b,c)?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&"REPEATED_DATE"===a.customFieldMap[b.customFieldId].type?!0:!1};n7.prototype.asNumber=function(a){return Number(a)};
n7.prototype.customFieldName=function(a){if(a.customFieldId){var b;return(null==(b=this.customFieldMap[a.customFieldId])?void 0:b.customFieldName)||"customfield"+a.customFieldId}return""};Gh.Object.defineProperties(n7.prototype,{diffs:{configurable:!0,enumerable:!0,set:function(a){this.internalDiffs=[].concat(u(a))}}});n7.\u0275fac=function(a){return new (a||n7)(B(nt),B(LE))};
n7.\u0275cmp=r({type:n7,selectors:[["b-issue-event-details"]],inputs:{diffs:"diffs",customFieldMap:"customFieldMap",effortSpecName:"effortSpecName",effortEnabled:"effortEnabled"},features:[yf],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),F(1,yvb,2,1,"div",1),K(),F(2,Hvb,1,1,"ng-template",null,2,tg)(4,Ivb,2,0,"ng-template",null,3,tg));a&2&&(A(1),G("ngForOf",b.internalDiffs)("ngForTrackBy",b.trackByIndex))},dependencies:[Sv,Tv,Uv,Zv,Vv,Wv,Xv,CM,rP,wT,VLc,m7,dw],styles:["/*# sourceMappingURL=issue_event_details.css.map */"],changeDetection:0});var o7=function(a){Z.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:Oh(c.commentDisplayOverride)}})};Y(o7,Z);o7.\u0275dir=Z.\u0275dir;
o7.prototype.ngOnInit=function(){};o7.prototype.ngOnChanges=function(){this.rawComment=this.note.unlinkifiedComment||"";YLc(this);this.audience=this.issueAccessLevel&&"INTERNAL"===this.issueAccessLevel?"INTERNAL_AUDIENCE":"EXTERNAL_AUDIENCE";this.idPrefix="b"+this.issueId+"-c"+this.note.commentNumber};
var YLc=function(a){if(2>a.rawComment.split("\n").slice(0,3).filter(Boolean).length)a.rawComment=eEa(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")}};o7.\u0275fac=function(a){return new (a||o7)(B(LE))};
o7.\u0275cmp=r({type:o7,selectors:[["b-summarized-note-container"]],inputs:{note:"note",issueId:"issueId",formattingMode:"formattingMode",issueAccessLevel:"issueAccessLevel"},features:[yf,ld],decls:1,vars:5,consts:[[3,"comment","issueId","audience","formattingMode","idPrefix"]],template:function(a,b){a&1&&L(0,"b-live-preview",0);a&2&&G("comment",b.rawComment)("issueId",b.issueId)("audience",b.audience)("formattingMode",b.formattingModeOverride||b.formattingMode)("idPrefix",b.idPrefix)},dependencies:[KT],
styles:["[_nghost-%COMP%]     b-live-preview .md-preview{background-color:#fff;background-color:var(--background);padding:0}"]});var ZLc=["commentActionsMenu"],$Lc=["commentReactionButton"],Rvb=function(){return[]},gwb=function(a){return{"no-upvote-reactions":a}},p7=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I,P,O,U,aa){Z.call(this);var na=this;this.documentationLinks=a;this.activeSession=b;this.issueReferenceResolver=c;this.commentService=d;this.el=e;this.userAccess=f;this.butterBar=h;this.errorHandler=k;this.analytics=q;this.userPreferencesManager=t;this.issueDetailsBrain=w;this.editIssueService=y;this.issuePermissionService=C;
this.commentHistoryDialogService=J;this.issueCommentDialogsService=I;this.dateFormatter=P;this.paths=O;this.domSafe=U;this.eventsForIssueFridge=aa;this.isSummarized=!1;this.issueId$=new E.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(Pe());this.event$=new E.ReplaySubject(1);this.isCommentEvent=Dn;this.isNonObfuscatedEmail=zn;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(){na.formattingMode="PLAIN";na.initializeActionsMenu()},label:"Classic",selected:!0},a.MARKDOWN={type:"select",action:function(){na.formattingMode="MARKDOWN";na.initializeActionsMenu()},label:"Markdown",selected:!1},a.LITERAL={type:"select",action:function(){na.formattingMode="LITERAL";na.initializeActionsMenu()},label:"Source",selected:!1},
a);this.isFormattingOverrideEnabled=!1;this.canEditComment$=this.event$.pipe(af(function(sa){return na.issuePermissionService.canEditComment$(sa)}),Ye({refCount:!0,bufferSize:1}));this.canEditComment=function(){return!!Dk(na.canEditComment$)};this.commentHistoryEnabled=yD(this.activeSession,"enableCommentHistoryUi");this.commentReactionsEnabled=yD(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(sa){return na.editIssueService.editableIssue$(sa)}));this.modifiedDateDisplay$=this.event$.pipe(D(function(sa){return new Date(sa.modifiedDate)}),af(function(sa){return BM(na.dateFormatter,sa)}));this.ariaLabelHeading$=(0,E.combineLatest)([this.event$,this.modifiedDateDisplay$]).pipe(D(function(sa){var Ba=l(sa);sa=Ba.next().value;Ba=Ba.next().value;if(null==sa)sa="";else{var Pa=[];sa.commentNumber&&Pa.push("Comment #"+
sa.commentNumber);sa.userPerformingActionUser&&Pa.push(mi(sa.userPerformingActionUser));Pa.push("Modified: "+Ba);sa=Pa.join(", ")}return sa}));this.ReactionType=DZb;this.upvoteReactionCount$=this.event$.pipe(D(function(sa){var Ba,Pa,Ja;return null!=(Ja=null==(Ba=sa.commentReactions)?void 0:null==(Pa=Ba.get("UPVOTE"))?void 0:Pa.count)?Ja:0}));this.upvoteReactionCountDisplayString$=this.upvoteReactionCount$.pipe(D(function(sa){return sa&&0!==sa?999<sa?"999+":String(sa):null}));this.noUpvoteReactions$=
this.upvoteReactionCount$.pipe(D(function(sa){return 0===sa}));this.commentReactionsHovercardConfig=Object.assign({},new kK,{position:[D5b]});this.commentReactionIsSaving=!1;this.showRecentEventsFirst$=this.userPreferencesManager.showRecentEventsFirst$;this.showFullHistoryFromFiltering$=this.userPreferencesManager.commentFilterPreferences$.pipe(D(function(sa){var Ba;return null!=(Ba=sa.commentFilter)?Ba:""}));this.isFullHistoryPreference$=this.showFullHistoryFromFiltering$.pipe(D(function(sa){return"FULL_HISTORY"===
sa}));this.preEventDiffs$=(0,E.combineLatest)([this.event$,this.showRecentEventsFirst$]).pipe(D(function(sa){sa=l(sa);var Ba=sa.next().value;return sa.next().value?Ba.postDiffs:Ba.preDiffs}));this.postEventDiffs$=(0,E.combineLatest)([this.event$,this.showRecentEventsFirst$]).pipe(D(function(sa){sa=l(sa);var Ba=sa.next().value;return sa.next().value?Ba.preDiffs:Ba.postDiffs}));this.hasAclToUpvoteReact$=(0,E.combineLatest)([this.event$,this.issuePermissionService.hasAclToComment$]).pipe(D(function(sa){var Ba=
l(sa);sa=Ba.next().value;Ba=Ba.next().value;var Pa,Ja;return(null==(Pa=sa.commentReactions)?void 0:null==(Ja=Pa.get("UPVOTE"))?void 0:Ja.hasReacted)||Ba}));this.showCommentReactionHovercard$=(0,E.combineLatest)([this.issuePermissionService.hasAclToEdit$,this.upvoteReactionCount$]).pipe(D(function(sa){var Ba=l(sa);sa=Ba.next().value;Ba=Ba.next().value;return sa&&0<Ba&&5>=Ba}));this.isShowingCommentTimestamp$=this.isFullHistoryPreference$.pipe(D(function(sa){return sa&&owb(na)&&(0<na.event.preDiffs.length||
0<na.event.postDiffs.length)}));this.getCommentNumberLink=function(sa){return nwa(na.issueId,{comment:sa})}};Y(p7,Z);p7.\u0275dir=Z.\u0275dir;
p7.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(){Dn(a.event)&&a.isRestricted()?a.mayReadPii$=a.mayReadPii():a.mayReadPii$=(0,E.of)(void 0)});aMc(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 aMc=function(a){if(a.formattingMode){for(var b=l(Object.values(a.formattingModeMenuItems)),c=b.next();!c.done;c=b.next())c.value.selected=!1;a.formattingModeMenuItems[a.formattingMode].selected=!0}};g=p7.prototype;
g.updateCommentRetention=function(a){var b=this;this.event.commentNumber||GG(this.errorHandler,"Comment number is missing");this.analytics.trackEvent(Kp.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});Fs(b.butterBar,"Comment retention updated",
4E3);b.commentRetentionOverride="INDEFINITE"===a?"INDEFINITE":"COMPONENT_DEFAULT";b.initializeActionsMenu()},error:function(){GG(b.errorHandler,"Comment retention update failed")}})};
g.ngOnChanges=function(a){a.issueId&&this.issueId$.next(String(this.issueId));a=a.event;var b;if(b=a&&this.deobfuscatedEvent)b=a.previousValue,a=a.currentValue,b=(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()};g.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};g.getRestrictedLabel=function(){return Uya(im(this.event.commentContentVerdict))};g.isRestricted=function(){if(!this.isInternalSession)return!1;var a=im(this.event.commentContentVerdict);switch(a){case "NONE_DETECTED":case "RESTRICTION_SEVERITY_UNSPECIFIED":return!1;case "RESTRICTED":case "RESTRICTED_PLUS":return!0;default:Oh(a)}};
g.isDeleted=function(){return"DELETED"===this.event.commentDeletionStatus};var Ss=function(a){var b;return(null==(b=a.event)?void 0:b.commentRedacted)&&!a.deobfuscatedEvent};
p7.prototype.loadRestrictedComment=function(){var a=this;this.analytics.trackEvent(Kp.RESTRICTED_CONTENT,"viewRestrictedContent","comment");var b=this.event.commentNumber||0;this.commentService.get(String(this.issueId),b,im(this.event.commentContentVerdict)).pipe(Qe()).subscribe(function(c){a.deobfuscatedEvent=IBa(a.event,c);a.initializeActionsMenu()},function(c){var d;a.butterBar.showWarning("Error showing comment "+b+": "+(null==(d=c.error)?void 0:d.message))})};
p7.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]}),aMc(this)),this.canEditComment()&&b.push({type:"action",action:function(){Rs(a.issueCommentDialogsService,String(a.issueId),a.deobfuscatedEvent||a.event).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},
label:"Edit comment",disabled:Ss(this)}),this.commentHistoryEnabled&&0<(this.event.commentVersion||0)&&!Ss(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:Ss(this)}),this.isDeleted()||this.activeSession.isAnonymous()||b.push({type:"action",action:function(){dsc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Copy comment to",disabled:Ss(this)}),Mac(this.issuePermissionService,
this.event)&&b.push({type:"action",action:function(){isc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber,a.event.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Delete comment"}),Lac(this.issuePermissionService,this.event)&&b.push({type:"action",action:function(){fsc(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(){jsc(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";ksc(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)};p7.prototype.getUserEmailIfAvailable=function(){return qi(this.event.userPerformingActionUser)};var owb=function(a){return Dn(a.event)&&!!a.event.unlinkifiedComment};p7.prototype.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.issueId,a,-1)};
p7.prototype.mayReadPii=function(){var a=XF(this.userAccess,"reader","issues/"+this.issueId+"/comments/"+this.event.commentNumber);a.catch(function(b){Bk("error: ",b);return!1});return(0,E.from)(a)};
var ewb=function(a){if(Dk(a.hasAclToUpvoteReact$)){a.commentReactionIsSaving=!0;var b=hwb(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);PG(a.eventsForIssueFridge,a.issueId,function(f){var h;f.events=JBa(f.events,null!=(h=a.event.commentNumber)?h:2,{commentReactions:d})});a.analytics.trackEvent(Kp.EDIT_ISSUE,
"click",b?"removeUpvoteReaction":"addUpvoteReaction")}})}},hwb=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},fwb=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};
Gh.Object.defineProperties(p7.prototype,{event:{configurable:!0,enumerable:!0,set:function(a){this.internalEvent=a;this.event$.next(a)},get:function(){return this.internalEvent}}});p7.\u0275fac=function(a){return new (a||p7)(B(lL),B(nt),B(uT),B(mJ),B(Hd),B(VF),B(EG),B(FG),B(aI),B(LE),B(eP),B(lP),B(gP),B(CP),B(RY),B(AM),B(cF),B(lM),B(AH))};
p7.\u0275cmp=r({type:p7,selectors:[["b-history-event"]],viewQuery:function(a,b){a&1&&(og(ZLc,5),og($Lc,5));if(a&2){var c;ng(c=qg())&&(b.commentActionsMenu=c.first);ng(c=qg())&&(b.commentReactionButton=c.first)}},inputs:{issueId:"issueId",issueAccessLevel:"issueAccessLevel",isSummarized:"isSummarized",event:"event"},features:[yf,ld],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&&(F(0,pwb,43,33,"ng-container",0),W(1,"async"));a&2&&G("ngIf",X(1,1,b.issue$))},dependencies:[O_,f7,MT,Sv,Tv,Uv,
Zv,MA,CM,hK,mK,n7,qP,W3,Y3,ZP,tP,sP,zP,dC,o7,eA,k7,ULc,l7,$v],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 bMc={FULL:"full",SUMMARIZED:"summarized",FOLDED:"folded",HIDDEN:"hidden"},q7=function(a,b,c,d,e,f,h,k,q,t,w){Z.call(this);var y=this;this.formattedCommentsForIssueFridge=a;this.preferences=b;this.eventsForIssue=c;this.dynamicScrollIntoView=d;this.bLocation=e;this.elementRef=f;this.activeSession=h;this.routerEvents=k;this.analytics=q;this.teamFridge=t;this.issueFridge=w;this.issueId$=new E.ReplaySubject(1);this.internalIssueId="";this.eventDisplayModes=bMc;this.internalEvents=[];this.showRecentEventsFirst=
null;this.currentFilterLevel="FULL_HISTORY";this.enableCommentFiltering=yD(this.activeSession,"enableCommentFiltering");this.issue$=this.issueId$.pipe(af(this.issueFridge.watch));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.authoritativeEmails=new Set;this.authoritativeEmails$=this.preferences.commentFilterPreferences$.pipe(af(function(C){var J=new Set;return"TEAM_AND_ASSIGNEE"!==
C.commentFilter?(0,E.of)(J):y.issue$.pipe(af(function(I){var P;if(void 0!==(null==I?void 0:null==(P=I.snapshot[0].assigneeUser)?void 0:P.emailAddress)){var O;J.add(null==I?void 0:null==(O=I.snapshot[0].assigneeUser)?void 0:O.emailAddress)}var U;if(void 0!==(null==I?void 0:null==(U=I.snapshot[0].verifierUser)?void 0:U.emailAddress)){var aa;J.add(null==I?void 0:null==(aa=I.snapshot[0].verifierUser)?void 0:aa.emailAddress)}var na;if(void 0===(null==I?void 0:null==(na=I.aggregatedData)?void 0:na.teamId))return(0,E.of)(J);
var sa;return cMc(y,String(null==I?void 0:null==(sa=I.aggregatedData)?void 0:sa.teamId)).pipe(af(function(Ba){Ba=l(Ba);for(var Pa=Ba.next();!Pa.done;Pa=Ba.next())J.add(Pa.value);return(0,E.of)(J)}))}))}));this.isLoading$=(0,E.combineLatest)([this.formattedCommentsForIssueFridge.thinking$,this.eventsForIssue.thinking$]).pipe(Oe(0),D(function(C){var J=l(C);C=J.next().value;J=J.next().value;return C||J}));this.sendAnalytics=ru(function(){var C=[].concat(u(document.querySelectorAll(".bv2-event-note, .bv2-event-major-status"))).map(function(J){return J.innerText}).join("").length;
y.analytics.trackEvent(Kp.EDIT_ISSUE,"updateCommentThread","visibleCharCount",C)},200);this.scrollToCommentOrAttachment=ru(function(){var C=y.bLocation.hash();if(C&&y.internalEvents){var J,I=l(null!=(J=C.match(RegExp("(comment|attachment)([0-9]+)")))?J:[]);I.next();J=I.next().value;var P=I.next().value;I=J;var O=P;if("lastcomment"===C){I=OBa(y.internalEvents);if(-1===I)return;O=String(I);I="comment"}if(I&&O){if(C=y.internalEvents.findIndex(function(U){return U.commentNumber===Number(O)}),J=-1<C,P=
y.internalEvents.flatMap(function(U){return U.attachments}).some(function(U){return U.attachmentId===Number(O)}),J||P)J&&"folded"===y.eventDisplayMode.get(C)&&(y.eventDisplayMode.set(C,"full"),dMc(y,C)),P&&(C=y.internalEvents.findIndex(function(U){return-1<U.attachments.findIndex(function(aa){return aa.attachmentId===Number(O)})}),y.eventDisplayMode.get(C)||(y.eventDisplayMode.set(C,"full"),dMc(y,C))),GLc(y.dynamicScrollIntoView,{elementId:I+O,parentElement:y.elementRef.nativeElement,scrollableContainerId:"bv2-edit-issue-details-scroll",
scrollPadding:60}).pipe(bf(y.destroyed$)).subscribe()}else GLc(y.dynamicScrollIntoView,{elementId:C,parentElement:y.elementRef.nativeElement,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(bf(y.destroyed$)).subscribe()}},200)};Y(q7,Z);q7.\u0275dir=Z.\u0275dir;
q7.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.authoritativeEmails$.subscribe(function(b){a.authoritativeEmails=b}));this.preferences.showRecentEventsFirst$.pipe(He(jl),bf(this.destroyed$),Pe()).subscribe(function(b){a.showRecentEventsFirst!==b&&(a.showRecentEventsFirst=b,eMc(a))});(0,E.combineLatest)([this.events$,this.preferences.commentFilterPreferences$,this.authoritativeEmails$]).subscribe(function(b){b=l(b);var c=b.next().value,d=b.next().value,e=b.next().value;b=[];
if(a.enableCommentFiltering&&d.commentFilter)for(a.currentFilterLevel=d.commentFilter,fMc(a,c,d.commentFilter,e),gMc(a),c=l(a.commentNumbersDisplayed.values()),d=c.next();!d.done;d=c.next())b.push(a.internalIssueId+"-"+d.value);else for(c=l(c),d=c.next();!d.done;d=c.next())(d=d.value)&&d.commentNumber&&b.push(a.internalIssueId+"-"+d.commentNumber);a.commentsToFormat$.next(b)});this.commentsToFormat$.pipe(He(jl),bf(this.destroyed$),af(this.formattedCommentsForIssueFridge.watchSet)).subscribe(function(b){hMc(a,
b)});this.routerEvents.navigationEnd$.pipe(bf(this.destroyed$)).subscribe(function(){a.internalEvents&&0!==a.internalEvents.length&&a.scrollToCommentOrAttachment()})};
var hMc=function(a,b){for(var c={i$jscomp$1174:0};c.i$jscomp$1174<a.internalEvents.length;c={i$jscomp$1174:c.i$jscomp$1174},c.i$jscomp$1174++)if(uwb(a.eventDisplayMode.get(c.i$jscomp$1174))&&Dn(a.internalEvents[c.i$jscomp$1174])){var d=b.find(function(f){return function(h){return h.id.commentId===a.internalEvents[f.i$jscomp$1174].commentNumber}}(c));if(d){var e=a.internalEvents[c.i$jscomp$1174];e.formattedComment=d.formattedComment.formattedComment;e.formattingMode=d.formattedComment.formattingMode;
a.internalEvents[c.i$jscomp$1174]=Object.assign({},e)}}eMc(a)},fMc=function(a,b,c,d){a.eventDisplayMode.clear();a.commentNumbersDisplayed.clear();a.foldedCommentsCounts.clear();switch(c){case "FULL_HISTORY":for(c=0;c<b.length;c++){var e=iMc(b[c]);a.eventDisplayMode.set(c,e?"full":"hidden");Dn(b[c])&&b[c].commentNumber&&e&&(e=void 0,a.commentNumbersDisplayed.add(null!=(e=b[c].commentNumber)?e:0))}break;case "ALL_COMMENTS":for(c=0;c<b.length;c++)e=jMc(b[c]),a.eventDisplayMode.set(c,e?"full":"hidden"),
Dn(b[c])&&b[c].commentNumber&&e&&(e=void 0,a.commentNumbersDisplayed.add(null!=(e=b[c].commentNumber)?e:0));break;case "HUMAN_ONLY":kMc(a,b,function(f){var h;return null!=(h=BBa(f.userPerformingAction)&&f.isMajorEvent)?h:!0});break;case "TEAM_AND_ASSIGNEE":kMc(a,b,function(f){var h;return null!=(h=d.has(f.userPerformingAction)&&f.isMajorEvent)?h:!0});break;default:for(c=0;c<b.length;c++)a.eventDisplayMode.set(c,"full"),Dn(b[c])&&b[c].commentNumber&&(e=void 0,a.commentNumbersDisplayed.add(null!=(e=
b[c].commentNumber)?e:0))}a.sendAnalytics()},gMc=function(a){if("FULL_HISTORY"!==a.currentFilterLevel)for(var b=0;b<a.internalEvents.length;b++)Dn(a.internalEvents[b])&&dCa(a.internalEvents[b])&&(a.eventDisplayMode.set(b,"summarized"),dMc(a,b))},kMc=function(a,b,c){for(var d=0,e=0,f=0,h=0;h<b.length;h++){var k=c(b[h]);a.eventDisplayMode.set(h,k?"full":"folded");if(k){if(0<d||0<e)a.foldedCommentsCounts.has(f)||a.foldedCommentsCounts.set(f,{commentFoldedCount:d,eventFoldedCount:e});e=d=0;Dn(b[h])&&
b[h].commentNumber&&(k=void 0,a.commentNumbersDisplayed.add(null!=(k=b[h].commentNumber)?k:0))}else{if(Dn(b[h])&&b[h].commentNumber||En(b[h]))d++,f=h;e++}}if(0<d||0<e)b=1===OBa(a.internalEvents)?a.showRecentEventsFirst?0:a.internalEvents.length:lMc(a),a.foldedCommentsCounts.set(b,{commentFoldedCount:d,eventFoldedCount:e})},lMc=function(a){return paa(a.internalEvents,function(b){var c;return null!=(c=b.isMajorEvent)?c:!1})},iMc=function(a){return Dn(a)&&!!a.unlinkifiedComment||En(a)||0<a.preDiffs.length||
0<a.postDiffs.length},jMc=function(a){var b;return(null!=(b=a.isMajorEvent)?b:!1)&&(Dn(a)&&!!a.unlinkifiedComment||En(a)||0<a.preDiffs.length||0<a.postDiffs.length)},eMc=function(a){if(!(2>a.internalEvents.length)){if(a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate<=mMc(a,a.internalEvents).modifiedDate||!a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate>=mMc(a,a.internalEvents).modifiedDate)if(a.internalEvents.reverse(),a.enableCommentFiltering){var b;fMc(a,a.internalEvents,null!=
(b=a.currentFilterLevel)?b:"FULL_HISTORY",a.authoritativeEmails);gMc(a)}a.internalEvents&&0!==a.internalEvents.length&&a.scrollToCommentOrAttachment()}},mMc=function(a,b){var c;return null!=(c=b.find(function(d){return a.internalEvents[0].modifiedDate!==d.modifiedDate}))?c:b[1]};q7.prototype.trackEventByVersion=function(a,b){return b.version};
var dMc=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,f,h;c=null!=(h=null==(f=a.foldedCommentsCounts.get(b))?void 0:f.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(u(a.foldedCommentsCounts.entries())).sort(function(k,q){return k[0]-q[0]})),e=l(e.entries()),f=e.next();!f.done;f=e.next())if(h=
l(f.value),f=h.next().value,h=h.next().value,f>b){if(0===h.commentFoldedCount-(f-b))a.foldedCommentsCounts.set(f,{commentFoldedCount:h.commentFoldedCount-1,eventFoldedCount:h.eventFoldedCount-1});else{e=0;for(c=b;c<f;c++)(Dn(a.internalEvents[c])||En(a.internalEvents[c]))&&e++;a.foldedCommentsCounts.set(f,{commentFoldedCount:e,eventFoldedCount:f-b});a.foldedCommentsCounts.set(b-1,{commentFoldedCount:h.commentFoldedCount-e-1,eventFoldedCount:h.eventFoldedCount-(f-b)-1});a.foldedCommentsCounts.delete(b)}break}},
uwb=function(a){return"summarized"===a||"full"===a},cMc=function(a,b){var c=new Set;return a.teamFridge.watch(b).pipe(D(function(d){if(void 0!==d){d=l(d.members.map(function(f){return f.user.emailAddress}).filter(jl));for(var e=d.next();!e.done;e=d.next())c.add(e.value)}return c}))};
Gh.Object.defineProperties(q7.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(u(b));b=Object.assign({},b[0],{attachments:[],commentNumber:null,formattedComment:void 0,taggedSummary:[],isMajorEvent:!1});a[0]=b}a&&!tta(this.internalEvents,a)&&(this.internalEvents=a,this.events$.next(a))}}});
q7.\u0275fac=function(a){return new (a||q7)(B(GH),B(LE),B(AH),B(T6),B(bF),B(Hd),B(nt),B(JE),B(aI),B(aJ),B(iI))};
q7.\u0275cmp=r({type:q7,selectors:[["b-event-stream"]],inputs:{issueAccessLevel:"issueAccessLevel",showFullHistory:"showFullHistory",issueId:"issueId",events:"events"},features:[yf],decls:6,vars:8,consts:[["class","padded margined",4,"ngIf"],[1,"bv2-edit-issue-history-stream"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"padded","margined"],[4,"ngIf"],["class","bv2-event",4,"ngIf"],[1,"fold-indication"],["mat-stroked-button","","color","primary",1,"gmat-button",3,"click"],[1,"horizontal-divider"],[1,
"bv2-event"],[3,"issueId","issueAccessLevel","event","isSummarized"]],template:function(a,b){a&1&&(F(0,qwb,2,0,"aside",0),W(1,"async"),H(2,"div",1),F(3,vwb,3,2,"ng-container",2),K(),F(4,wwb,2,0,"aside",0),W(5,"async"));a&2&&(G("ngIf",b.showRecentEventsFirst&&X(1,4,b.isLoading$)),A(3),G("ngForOf",b.internalEvents)("ngForTrackBy",b.trackEventByVersion),A(1),G("ngIf",!b.showRecentEventsFirst&&X(5,6,b.isLoading$)))},dependencies:[Tv,Uv,p7,eA,eK,$v],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 r7=function(a,b){this.message=a;this.snackbarRef=b;this.DEFAULT_MESSAGE="New data is available. Click to refresh."};r7.prototype.onDismiss=function(a){this.snackbarRef.dismiss();a.stopPropagation()};r7.\u0275fac=function(a){return new (a||r7)(B(R2b),B(vG))};
r7.\u0275cmp=r({type:r7,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),Q("click",function(){return RAa(b.snackbarRef)}),
L(1,"mat-icon",1),H(2,"p",2),T(3),K()(),H(4,"button",3),Q("click",function(c){return b.onDismiss(c)}),L(5,"mat-icon",4),K());a&2&&(A(3),V(" ",b.message||b.DEFAULT_MESSAGE," "))},dependencies:[MA,eA],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 s7=function(a){this.snackbar=a},nMc=function(a){var b=$D.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(r7,c);return a.currentSnackBar};s7.\u0275fac=function(a){return new (a||s7)(p(BG))};s7.\u0275prov=Dc({token:s7,factory:s7.\u0275fac,providedIn:"root"});var t7=function(a,b,c,d,e,f,h,k,q,t,w){Z.call(this);var y=this;this.eventsForIssue=a;this.issueFetchResponseFridge=b;this.preferences=c;this.activeSession=d;this.commentHistoryDialogService=e;this.issueDetailsBrain=f;this.errorHandler=h;this.refreshDataNotification=k;this.eventsForIssueWatcher=q;this.analytics=t;this.appEvents=w;this.id$=new E.ReplaySubject(1);this.events$=this.id$.pipe(af(this.eventsForIssue.watch),D(function(C){var J;return null!=(J=null==C?void 0:C.events)?J:[]}));this.issue$=
this.id$.pipe(af(function(C){return nI(y.issueFetchResponseFridge,C)}));this.accessLevel$=this.issue$.pipe(D(function(C){var J,I;return null==C?void 0:null==(J=C.issue)?void 0:null==(I=J.accessLimit)?void 0:I.accessLevel}));this.enableInlineScreenshots$=this.preferences.showInlineImages$.pipe(D(function(C){return C&&yD(y.activeSession,"enableImageSummary")}),$e(!0))};Y(t7,Z);t7.\u0275dir=Z.\u0275dir;
t7.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=Dk(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($rc(this.eventsForIssueWatcher,Dk(this.id$)).subscribe(function(){oMc(a)}));this.subscriptions.add(this.events$.subscribe(function(){var b;
null==(b=a.refreshDataNotification.currentSnackBar)||b.dismiss()}));this.destroyed$.pipe(Qe()).subscribe(function(){var b;null==(b=a.refreshDataNotification.currentSnackBar)||b.dismiss()})};
var oMc=function(a){a.analytics.trackEvent(Kp.PUSH_UPDATE,"display","comment");nMc(a.refreshDataNotification)._afterDismissed.subscribe(function(b){b.dismissedByAction?(a.analytics.trackEvent(Kp.PUSH_UPDATE,"fetchResource","comment"),oI(a.issueFetchResponseFridge,Dk(a.id$)),a.eventsForIssue.poke(Dk(a.id$)),a.appEvents.scrollToCommentBox.next()):a.analytics.trackEvent(Kp.PUSH_UPDATE,"dismiss","comment")})};Gh.Object.defineProperties(t7.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});
t7.\u0275fac=function(a){return new (a||t7)(B(AH),B(mI),B(LE),B(nt),B(CP),B(eP),B(FG),B(s7),B(OY),B(aI),B(lG))};
t7.\u0275cmp=r({type:t7,selectors:[["issue-event-list"]],inputs:{id:"id"},features:[yf],decls:6,vars:15,consts:[[3,"issueId","events","issueAccessLevel","showFullHistory"]],template:function(a,b){a&1&&(L(0,"b-event-stream",0),W(1,"async"),W(2,"async"),W(3,"async"),W(4,"async"),W(5,"async"));a&2&&(G("issueId",X(2,7,b.id$))("events",X(3,9,b.events$))("issueAccessLevel",X(4,11,b.accessLevel$))("showFullHistory",X(5,13,b.preferences.showFullHistory$)),Af("data-will-inline-screenshots",X(1,5,b.enableInlineScreenshots$)?
!0:null))},dependencies:[q7,$v],styles:["[_nghost-%COMP%]     .bv2-edit-issue-history-stream {\n      padding-left: 0;\n    }"]});var u7=function(a){this.internalArray_=m(a,0,u7.messageId)};Y(u7,n);u7.prototype.getName=function(){return xi(this,1)};u7.prototype.setName=function(a){return gj(this,1,a)};u7.prototype.hasName=function(){return yi(this,1)};u7.prototype.getNameOrUndefined=function(){return $t(this,1)};u7.messageId="b.ComponentRecommendationSettings";var Us=function(a){this.internalArray_=m(a,0,Us.messageId)};Y(Us,n);Us.prototype.getType=function(){return Li(this,2,0)};Us.prototype.setType=function(a){return hj(this,2,a)};Us.prototype.hasType=function(){return Ji(this,2)};Us.messageId="b.UserEngagement";var Ts=function(a){this.internalArray_=m(a,0,Ts.messageId)};Y(Ts,n);Ts.prototype.getParent=function(){return xi(this,1)};Ts.prototype.setParent=function(a){return gj(this,1,a)};Ts.messageId="b.BatchCreateUserEngagementsRequest";var pMc=function(a){this.internalArray_=m(a,0,pMc.messageId)};Y(pMc,n);g=pMc.prototype;g.getResource=function(){return xi(this,1)};g.setResource=function(a){return gj(this,1,a)};g.getType=function(){return Li(this,2,0)};g.setType=function(a){return hj(this,2,a)};g.hasType=function(){return Ji(this,2)};g.setPageSize=function(a){return dj(this,4,a)};g.setPageToken=function(a){return gj(this,5,a)};g.setView=function(a){return hj(this,6,a)};pMc.messageId="b.LookupRecommendationsRequest";var Fwb=function(a){this.internalArray_=m(a)};Y(Fwb,n);g=Fwb.prototype;g.getName=function(){return xi(this,1)};g.setName=function(a){return gj(this,1,a)};g.hasName=function(){return yi(this,1)};g.getNameOrUndefined=function(){return $t(this,1)};g.getSource=function(){return xi(this,2)};g.setSource=function(a){return gj(this,2,a)};g.hasSource=function(){return yi(this,2)};g.getSourceOrUndefined=function(){return $t(this,2)};g.getResource=function(){return xi(this,3)};
g.setResource=function(a){return gj(this,3,a)};g.getType=function(){return Li(this,4,0)};g.setType=function(a){return hj(this,4,a)};g.hasType=function(){return Ji(this,4)};g.getScore=function(){return pl(this,6)};g.setScore=function(a){return lm(this,6,kb(a))};var Bwb=[9];var v7=function(a){this.internalArray_=m(a,0,v7.messageId)};Y(v7,n);v7.prototype.setRequestsList=function(a){return Zl(this,1,a)};v7.prototype.addAndReturnRequests=function(){return Rb(this,1,Ts)};v7.repeatedFields_=[1];v7.messageId="b.BatchCreateUserEngagementsRequest";var w7=function(a){this.internalArray_=m(a,0,w7.messageId)};Y(w7,n);w7.prototype.getNextPageToken=function(){return xi(this,2)};w7.prototype.getTotalSize=function(){return Ui(this,3)};w7.repeatedFields_=[1];w7.messageId="b.LookupRecommendationsResponse";var x7=function(a){this.executor=a},qMc=function(a,b){var c=(new pMc).setResource(b.resource).setType(JZb[b.type]).setPageSize(b.pageSize).setPageToken(b.pageToken).setView(LZb[b.view]);void 0!==b.minConfidence&&hj(c,3,sZb[b.minConfidence]);return a.executor.post({url:"action/recommendations/lookup",body:c,responseConstructor:w7}).pipe(D(Gwb))},rMc=function(a,b){a=a.executor;var c=a.put,d="action/components/"+b.componentId+"/recommendationSettings";var e=(new u7).setName("components/"+b.componentId+
"/recommendationSettings");e=cj(e,2,b.duplicateAssistanceEnabled);e=cj(e,4,b.optedOutFromDataCollection);b=cj(e,3,b.showSettings);return c.call(a,{url:d,body:b,responseConstructor:u7}).pipe(D(xwb))};x7.\u0275fac=function(a){return new (a||x7)(p(SD))};x7.\u0275prov=Dc({token:x7,factory:x7.\u0275fac,providedIn:"root"});var y7=function(a){QG.call(this);this.recommendationsService=a;this.recordType="issueRecommendations";this.idForRecord=function(b){return b.issueId+"-"+b.recommendationType};this.isEqual=$h};Y(y7,QG);y7.prototype.fetchOne=function(a){a=sMc(a);var b=a.issueId,c=a.recommendationType;return qMc(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}}),Le(function(){return(0,E.of)(void 0)}))};
y7.prototype.copy=function(a){return a&&ai(a)};var sMc=function(a){var b=l(a.split("-"));a=b.next().value;b=b.next().value;return{issueId:a,recommendationType:b}};y7.\u0275fac=function(a){return new (a||y7)(p(x7))};y7.\u0275prov=Dc({token:y7,factory:y7.\u0275fac,providedIn:"root"});var Owb=function(a){return{voteCount:a}},z7={},tMc=(z7.REJECTION_REASON_UNSPECIFIED="Unspecified",z7.REVERSED="The relationship is reversed",z7.SIMILAR="The issues are similar, but not duplicate",z7.NOT_SIMILAR="The issues are not similar",z7.OTHER="Other",z7),uMc=new Set(["VERY_HIGH","HIGH"]),A7=function(a,b,c,d,e,f,h,k,q,t){Z.call(this);var w=this;this.issueFridge=a;this.eventsForIssueFridge=b;this.paths=c;this.recommendationsService=d;this.errorHandler=e;this.editIssueService=f;this.analytics=
h;this.scrolledOnScreenService=k;this.elementRef=q;this.issueRecommendationsFridge=t;this.STATUS_JS_FULL_TEXT=Kk;this.STATUS_JS_TERSE=mD;this.REJECT_REASON_TO_DISPLAY=tMc;this.currentIssueId$=new E.ReplaySubject(1);this.currentIssue$=this.currentIssueId$.pipe(af(function(y){return w.issueFridge.watch(y)}));this.isAlreadyADuplicate$=this.currentIssue$.pipe(D(function(y){return"DUPLICATE"===(null==y?void 0:y.snapshot[0].status)}));this.recommendation$=this.currentIssueId$.pipe(af(function(y){return w.issueRecommendationsFridge.watch(y+
"-ISSUE_DEDUPLICATION",void 0)}),D(function(y){return null==y?void 0:y.recommendations.filter(function(C){return uMc.has(C.confidence)})}),D(function(y){return null==y?void 0:y[0]}));this.canonicalIssue$=this.recommendation$.pipe(D(function(y){var C;return null==y?void 0:null==(C=y.content)?void 0:C.recommendedIssue}));this.canonicalIssueId$=this.canonicalIssue$.pipe(D(function(y){return null==y?void 0:y.issueId}));this.canonicalComponentId$=this.canonicalIssue$.pipe(D(function(y){var C;return null!=
(C=null==y?void 0:y.snapshot[0].componentId)?C:void 0}));this.canonicalAccessLevel$=this.canonicalIssue$.pipe(D(function(y){var C;return null==y?void 0:null==(C=y.accessLimit)?void 0:C.accessLevel}));this.isCanonicalInExternalComponent$=this.canonicalAccessLevel$.pipe(D(function(y){return!(!y||"INTERNAL"===y)}));this.canonicalTitle$=this.canonicalIssue$.pipe(D(function(y){return null==y?void 0:y.snapshot[0].title}));this.canonicalPriority$=this.canonicalIssue$.pipe(D(function(y){return null==y?void 0:
y.snapshot[0].priority}));this.canonicalVoteCount$=this.canonicalIssue$.pipe(D(function(y){var C;return null==y?void 0:null==(C=y.aggregatedData)?void 0:C.voteCount}));this.canonicalCreateMicros$=this.canonicalIssue$.pipe(D(function(y){var C;return null==y?void 0:null==(C=y.aggregatedData)?void 0:C.createdTimeMicros}));this.canonicalDuplicates$=this.canonicalIssue$.pipe(D(function(y){var C;return null!=(C=null==y?void 0:y.snapshot[0].duplicateIssueId)?C:[]}));this.statusForChip$=this.canonicalIssue$.pipe(D(function(y){var C;
return null!=(C=null==y?void 0:y.snapshot[0].status)?C:void 0}));this.canonicalEvents$=this.canonicalIssueId$.pipe(af(function(y){return w.eventsForIssueFridge.watch(y)}),D(function(y){var C;return null!=(C=null==y?void 0:y.events)?C:[]}));this.canonicalDescription$=this.canonicalEvents$.pipe(D(function(y){return y[0]}),D(function(y){var C;return{formattedComment:null==y?void 0:y.formattedComment,commentNumber:1,unlinkifiedComment:(null==y?void 0:y.unlinkifiedComment)||"",formattingMode:null!=(C=
null==y?void 0:y.formattingMode)?C:"UNSPECIFIED_FORMATTING_MODE"}}));this.canonicalComments$=this.canonicalEvents$.pipe(D(function(y){return y.filter(Dn)}));this.wasRejected$=new E.BehaviorSubject(!1);this.show$=(0,E.combineLatest)([this.isAlreadyADuplicate$,this.canonicalIssue$,this.wasRejected$]).pipe(D(function(y){var C=l(y);y=C.next().value;var J=C.next().value;C=C.next().value;return!y&&!!J&&!C}));this.isSaving=!1;this.REJECT_REASONS=["NOT_SIMILAR","SIMILAR","REVERSED","OTHER"]};Y(A7,Z);
A7.\u0275dir=Z.\u0275dir;A7.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(He(Boolean)),l8b(this.scrolledOnScreenService,this.elementRef.nativeElement)]).pipe(Qe()).subscribe(function(){a.analytics.trackEvent(Kp.EDIT_ISSUE,"view","canonical-recommendation");vMc(a,"VIEWED")}))};
A7.prototype.accept=function(){var a=this,b,c;return qe(function(d){switch(d.nextAddress){case 1:return a.isSaving=!0,b=Dk(a.canonicalIssueId$),re(d,2,3),d.yield(Zac(a.editIssueService,a.currentIssueId,b),5);case 5:return a.analytics.trackEvent(Kp.EDIT_ISSUE,"accept","canonical-recommendation"),d.yield(vMc(a,"ACCEPTED"),3);case 3:te(d);a.isSaving=!1;ue(d,0);break;case 2:c=ve(d),HG(a.errorHandler,c),d.jumpTo(3)}})};
A7.prototype.reject=function(a){var b=this;return qe(function(c){b.wasRejected$.next(!0);b.analytics.trackEvent(Kp.EDIT_ISSUE,"reject","canonical-recommendation");return c.yield(vMc(b,"REJECTED",a),0)})};
var vMc=function(a,b,c){var d,e;return qe(function(f){if(1==f.nextAddress){re(f,2);d=Dk(a.recommendation$).name;var h=f.yield,k=E.firstValueFrom;var q=a.recommendationsService;var t=[{parent:d,userEngagement:{type:b,rejectionReason:c}}];t=(new v7).setRequestsList(t.map(Awb));q=q.executor.post({url:"action/recommendations/engagements/batch",body:t,responseConstructor:null});return h.call(f,k.call(E,q),4)}if(2!=f.nextAddress)return tt(f,0);e=ve(f);HG(a.errorHandler,e);we(f)})};
A7.prototype.getIssueLink=function(a){return this.paths.editIssue(a)};Gh.Object.defineProperties(A7.prototype,{currentIssueId:{configurable:!0,enumerable:!0,set:function(a){this.currentIssueId$.next(a)},get:function(){return Dk(this.currentIssueId$)}}});A7.\u0275fac=function(a){return new (a||A7)(B(iI),B(AH),B(cF),B(x7),B(FG),B(lP),B(aI),B(YL),B(Hd),B(y7))};
A7.\u0275cmp=r({type:A7,selectors:[["canonical-recommendation"]],inputs:{currentIssueId:"currentIssueId"},features:[yf],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),L(1,"mat-icon",1),H(2,"span"),T(3,"Close as duplicate of:"),K(),H(4,"a",2),
L(5,"mat-icon",3),K()(),F(6,Pwb,37,42,"div",4),W(7,"async"));a&2&&(A(6),G("ngIf",X(7,1,b.canonicalIssueId$)))},dependencies:[MT,Tv,Uv,MA,CM,CU,EU,eA,fA,XB,dC,g5,f5,$v],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 B7=function(a){this.issueReferenceResolver=a;this.userToString=qi};B7.prototype.ngOnInit=function(){};B7.prototype.getCommentNumberLink=function(a){return nwa(this.issueId,{comment:a})};B7.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};B7.\u0275fac=function(a){return new (a||B7)(B(uT))};
B7.\u0275cmp=r({type:B7,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&&F(0,Uwb,5,3,"span",0);a&2&&G("ngForOf",b.comments)},
dependencies:[Tv,Uv,hK,mK,qP,ZP,BL],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 C7=function(a){Z.call(this);this.ngZone=a};Y(C7,Z);C7.\u0275dir=Z.\u0275dir;var wMc=function(a,b){return(new E.Observable(function(c){var d=new ResizeObserver(function(e){a.ngZone.run(function(){var f=e[0];c.next({height:f.contentRect.height,width:f.contentRect.width})})});d.observe(b);return function(){d.unobserve(b)}})).pipe(bf(a.destroyed$))};C7.\u0275fac=function(a){return new (a||C7)(p(ef))};C7.\u0275prov=Dc({token:C7,factory:C7.\u0275fac,providedIn:"root"});var xMc=["imagesSummaryWidget"],D7=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 wMc(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(f){if(f.comment){var h=
TIa(f.href);if(h)return{src:h,comment:f.comment}}}).filter(jl);return axb(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 f=l(e);e=f.next().value;var h=f.next().value;f=f.next().value;
return d.paginate?h.slice(0,f||e):h.slice(0,e)}),Pe())};D7.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};D7.prototype.ngOnInit=function(){this.issueId$.next(this.issueId)};D7.prototype.ngAfterContentInit=function(){this.container$.next(this.container)};Gh.Object.defineProperties(D7.prototype,{imageLinks:{configurable:!0,enumerable:!0,set:function(a){this.imageLinks$.next(a)},get:function(){return Dk(this.imageLinks$)}}});
D7.\u0275fac=function(a){return new (a||D7)(B(C7),B(yE),B(ik))};
D7.\u0275cmp=r({type:D7,selectors:[["inline-images-summary"]],viewQuery:function(a,b){a&1&&og(xMc,7);if(a&2){var c;ng(c=qg())&&(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),F(2,$wb,3,3,"ng-container",1),W(3,"async"),K());a&2&&(A(2),G("ngIf",X(3,1,b.allImages$)))},dependencies:function(){return[B7,Tv,Uv,eA,bM,$v,E7]},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 E7=function(){};E7.prototype.transform=function(a){return a.split(".png")[0]};E7.\u0275fac=function(a){return new (a||E7)};E7.\u0275pipe=Wc({name:"removePngExtension",type:E7,pure:!0});var yMc={IMAGES:"SW-images",MENTIONED_ISSUES:"SW-mentioned-bugs",LINKS:"SW-links",SIMILAR_ISSUES:"SW-similar-issues"},myb=[].concat(u(Object.values(yMc)));var zMc=function(a,b){var c=this;this.issueInteractionsTracking=a;this.analytics=b;this.recordInteractionOnce=JCa(function(d){c.analytics.trackEvent(Kp.EDIT_ISSUE,"click",d)});this.recordImpressionOnce=JCa(function(){c.analytics.trackEvent(Kp.EDIT_ISSUE,"view","SW")})},Zxb=function(a,b,c){a.recordInteractionOnce(c);Vs(a.issueInteractionsTracking,b,c+"-content-interacted");Vs(a.issueInteractionsTracking,b,"SW-content-interacted")};var F7=function(a,b){this.activeSession=a;this.currentTracker=b;this.linkText=this.rightText=this.leftText="";this.isExternalLink=!1;this.issueId=this.originalHref=this.redirectedHref=""};
F7.prototype.ngOnChanges=function(){var a;a:{var b=null==(a=this.sourceComment)?void 0:a.formattedComment;if(b){if(b.markdownFormat){a=hxb(b.markdownFormat.content);break a}if(b.literalFormat){a=hxb(b.literalFormat.content);break a}if(b.plainFormat){a=document.createElement("div");b=l(b.plainFormat.plainSection);for(var c=b.next();!c.done;c=b.next())(c=c.value.content)&&a.appendChild(hxb(c));break a}}a=void 0}if(a=a&&AMc(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(BMc.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(BMc.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="",vo(this.relatedLink)?c=b=this.relatedLink.href:UIa(this.relatedLink)&&(a=this.relatedLink.issueId,b=this.getIssueUrl(this.relatedLink.issueId),c=this.relatedLink.issueId,c=this.activeSession.isInternalSession()?Dra(TG(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 AMc=function(a,b){if(a.relatedLink){if(UIa(a.relatedLink)){var c=a.relatedLink.issueId;return[].concat(u(b.querySelectorAll("a"))).find(function(e){return e.dataset.bIssueId===c})}if(vo(a.relatedLink)){var d=a.relatedLink;return[].concat(u(b.querySelectorAll("a"))).find(function(e){a:{var f=d.href;if(e.innerText===f)e=!0;else{try{f=(new URL(f)).href}catch(h){e=!1;break a}e=e.href===f||e.href.replace("https://cl.corp.google.com/","https://critique.corp.google.com/")===f?!0:!1}}return e})}}};
F7.prototype.getIssueUrl=function(a){return TG(this.currentTracker,a)};F7.\u0275fac=function(a){return new (a||F7)(B(nt),B(SG))};
F7.\u0275cmp=r({type:F7,selectors:[["mentioned-link-with-context"]],inputs:{sourceComment:"sourceComment",relatedLink:"relatedLink"},features:[ld],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),T(1," \u201c "),F(2,bxb,3,3,"span",1)(3,cxb,3,3,"ng-container",2)(4,fxb,3,2,"ng-template",null,3,tg)(6,gxb,2,1,"span",4),T(7," \u201d\n"),K());if(a&2){var c=S(5);A(2);G("ngIf",b.leftText);A(1);G("ngIf",b.isExternalLink)("ngIfElse",c);A(3);G("ngIf",b.rightText)}},dependencies:[rT,wT,Uv,IJ],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 BMc=new Set(["BR"]);var G7=function(a,b,c,d,e){var f=this;this.activeSession=a;this.issueFridge=b;this.router=c;this.route=d;this.issueReferenceResolver=e;this.issueReferences$=new E.ReplaySubject(1);this.currentIssueId$=new E.ReplaySubject(1);this.paginate=!1;this.lastRenderedMentionedIssueIndex$=new E.BehaviorSubject(10);this.issuesMap$=this.issueReferences$.pipe(He(jl),af(function(h){var k=Qj(h.map(function(q){return q.issueId}));return f.issueFridge.watchSet(k).pipe(D(function(q){return new Map(q.map(function(t){return[null==
t?void 0:t.issueId.toString(),t]}))}),D(function(q){return new Map(k.map(function(t){return[t,q.get(t)]}))}))}));this.issueReferencesMap$=this.issueReferences$.pipe(He(jl),D(function(h){var k=new Map;h=l(h);for(var q=h.next();!q.done;q=h.next()){q=q.value;var t=q.issueId.toString();k.has(t)?k.get(t).push(q):k.set(t,[q])}return k}));this.allMentionedIssues$=(0,E.combineLatest)([this.issueReferencesMap$,this.issuesMap$]).pipe(D(function(h){h=l(h);var k=h.next().value;h=h.next().value;return[].concat(u(h)).filter(function(q){return l(q).next().value!==
f.issueId}).map(function(q){var t=l(q);q=t.next().value;t=t.next().value;var w=k.get(q),y=null==w?void 0:w.map(function(C){var J,I,P=null==(J=C.comment)?void 0:null==(I=J.userPerformingActionUser)?void 0:I.emailAddress;return{commentNumber:C.sourceCommentNumber,author:(null==P?void 0:P.split("@")[0])+"@",issueEvent:C.comment}});return{hasViewAccess:!!t,issueId:q,shortIssueUrl:Dra(f.activeSession.getAppBaseUrl(),q),sourceComments:y,title:null==t?void 0:t.snapshot[0].title,priority:t?t.snapshot[0].priority:
null,relatedLinks:w}})}));this.mentionedIssuesToRender$=(0,E.combineLatest)([this.allMentionedIssues$,this.lastRenderedMentionedIssueIndex$]).pipe(D(function(h){var k=l(h);h=k.next().value;k=k.next().value;return f.paginate?h.slice(0,k):h.slice(0,5)}))};G7.prototype.getCommentNumberLink=function(a){return nwa(this.issueId,{comment:a})};G7.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};
G7.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};Gh.Object.defineProperties(G7.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}}});G7.\u0275fac=function(a){return new (a||G7)(B(nt),B(iI),B(yE),B(ik),B(uT))};
G7.\u0275cmp=r({type:G7,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&&(F(0,oxb,3,3,"ng-container",0),W(1,"async"));a&2&&G("ngIf",X(1,1,b.mentionedIssuesToRender$))},dependencies:function(){return[Tv,Uv,EU,eA,dC,F7,B7,$v,H7]},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 H7=function(){};H7.prototype.transform=function(a){return a.map(function(b){return b.issueEvent}).filter(jl)};H7.\u0275fac=function(a){return new (a||H7)};H7.\u0275pipe=Wc({name:"toComments",type:H7,pure:!0});var I7=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 wta(d,function(e){return e.href})}));this.linkGroupsToRender$=(0,E.combineLatest)([this.allLinkGroups$,this.lastRenderedRelatedLinkIndex$]).pipe(D(function(d){var e=l(d);d=e.next().value;
e=e.next().value;return c.paginate?wxb(d,e):6===d.length?wxb(d,6):wxb(d,5)}))};I7.prototype.ngOnInit=function(){};I7.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};Gh.Object.defineProperties(I7.prototype,{links:{configurable:!0,enumerable:!0,set:function(a){this.allLinks$.next(a)},get:function(){throw Error("Wa");}},issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return Dk(this.issueId$)}}});
I7.\u0275fac=function(a){return new (a||I7)(B(yE),B(ik))};
I7.\u0275cmp=r({type:I7,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&&(F(0,uxb,3,3,"ng-container",0),W(1,"async"));a&2&&G("ngIf",X(1,1,b.allLinkGroups$))},dependencies:function(){return[B7,Tv,Uv,eA,F7,$v,J7]},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 vxb=zm(function(a){return Math.min.apply(Math,u(a.map(function(b){return b.sourceCommentNumber})))},Am),J7=function(){};J7.prototype.transform=function(a){return a.map(function(b){return b.comment}).filter(jl)};J7.\u0275fac=function(a){return new (a||J7)};J7.\u0275pipe=Wc({name:"toComments",type:J7,pure:!0});var K7=function(a,b,c,d,e){var f=this;this.similarIssuesApi=a;this.issueFridge=b;this.eventsForIssueFridge=c;this.snackBar=d;this.analytics=e;this.issueId$=new E.ReplaySubject(1);this.isLoading=!0;this.issueIds$=this.issueId$.pipe(He(jl),af(function(h){return Dmc(f.similarIssuesApi,{issueId:h})}),cf(function(h){h.forEach(function(k){f.issueFridge.announce(k)})}),D(function(h){return h.slice(0,3)}),D(function(h){return h.map(function(k){return k.issueId})}),cf(function(){setTimeout(function(){f.isLoading=
!1})}));this.tableColumns=["title","dupeCount","voteCount","createdTime","menu"];this.tableOptions={modes:{createdTime:"date"},enableIssueHovercard:!0,menu:{includeGoToIssueItem:!1}};this.menuItemFactory=function(h){return[{type:"action",label:"Close current issue as duplicate of this row",action:function(){CMc(f,h)}}]};this.gotErr=function(h){f.snackBar.open({message:xn(h)||"Error with network request",snackbarType:"ERROR"})}},CMc=function(a,b){var c=String(a.issueIdInternal);c&&W3b(a.issueFridge,
b,c).then(function(){DMc(a,b);DMc(a,c);a.snackBar.open({message:"Issue closed as duplicate",actionLabel:"Undo"})._afterDismissed.subscribe(function(d){d.dismissedByAction&&EMc(a,b,c)});a.analytics.trackEvent(Kp.SIMILAR_ISSUES,"closeAsDuplicate","fromSummaryWidget")}).catch(a.gotErr)},EMc=function(a,b,c){a.issueFridge.removeDuplicate(b,c).then(function(){DMc(a,b);DMc(a,c);a.snackBar.open({message:"Un-marked issue as duplicate"})}).catch(a.gotErr);a.analytics.trackEvent(Kp.SIMILAR_ISSUES,"undoCloseAsDuplicate",
"fromSummaryWidget")},DMc=function(a,b){a.issueFridge.poke(b);a.eventsForIssueFridge.poke(b)};Gh.Object.defineProperties(K7.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueIdInternal=a=Number(a);this.issueId$.next(a)}}});K7.\u0275fac=function(a){return new (a||K7)(B(yU),B(iI),B(AH),B(CG),B(aI))};
K7.\u0275cmp=r({type:K7,selectors:[["suggested-similar-issues"]],inputs:{issueId:"issueId"},decls:3,vars:9,consts:[[3,"issueIds","tableColumns","options","menuItemFactory"],[4,"ngIf"]],template:function(a,b){a&1&&(L(0,"b-issues-table",0),W(1,"async"),F(2,xxb,2,0,"div",1));a&2&&(Jf("hidden",b.isLoading),G("issueIds",X(1,7,b.issueIds$))("tableColumns",b.tableColumns)("options",b.tableOptions)("menuItemFactory",b.menuItemFactory),A(2),G("ngIf",b.isLoading))},dependencies:[Uv,J5,eK,$v],encapsulation:2});var L7=function(){ly.apply(this,arguments)};Y(L7,ly);L7.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(L7)))(b||L7)}}();L7.\u0275dir=Vc({type:L7,selectors:[["","expandable-tab-content",""]],features:[yf]});var M7=function(){ly.apply(this,arguments)};Y(M7,ly);M7.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(M7)))(b||M7)}}();M7.\u0275dir=Vc({type:M7,selectors:[["","expandable-tab-header",""]],features:[yf]});var N7=function(){ly.apply(this,arguments)};Y(N7,ly);
N7.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(N7)))(b||N7)}}();N7.\u0275dir=Vc({type:N7,selectors:[["","expandable-tab-icon",""]],features:[yf]});var O7=function(){};O7.prototype.ngOnInit=function(){};O7.\u0275fac=function(a){return new (a||O7)};
O7.\u0275cmp=r({type:O7,selectors:[["expandable-tab"]],contentQueries:function(a,b,c){a&1&&(pg(c,M7,5,kg),pg(c,L7,5,kg),pg(c,N7,5,kg));if(a&2){var d;ng(d=qg())&&(b.tabHeaderTemplate=d.first);ng(d=qg())&&(b.tabContentTemplate=d.first);ng(d=qg())&&(b.tabIconTemplate=d.first)}},inputs:{key:"key",ariaLabel:"ariaLabel"},decls:0,vars:0,template:function(){},encapsulation:2,changeDetection:0});var yxb=function(a){return{tab:a}},Pxb=function(){return[]},FMc=function(a){return{allTabsExpanded:a}},P7=function(){Z.apply(this,arguments);this.internalTabKeys$=new E.ReplaySubject(1);this.ariaLabel="";this.internalExpandedTabs=new iP;this.visibleExpandedTabs$=(0,E.combineLatest)([this.internalTabKeys$,this.internalExpandedTabs.value$]).pipe(D(function(a){a=l(a);var b=a.next().value,c=a.next().value;return b.filter(function(d){return c.has(d)})}));this.expandedTabsChanged=new mv;this.contentShownChanged=
new mv;this.tabs$=new E.BehaviorSubject([]);this.allTabsExpanded$=(0,E.combineLatest)([this.tabs$,this.internalExpandedTabs.value$]).pipe(D(function(a){a=l(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}};Y(P7,Z);P7.\u0275dir=Z.\u0275dir;
P7.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=l(b);var c=b.next().value;return b.next().value.map(function(d){return Object.assign({},{key:d},c.get(d))})})).subscribe(this.tabs$));this.subscriptions.add((0,E.combineLatest)([this.internalTabKeys$,
this.internalExpandedTabs.value$]).pipe(D(function(b){var c=l(b);b=c.next().value;c=c.next().value;return lra(new Set(b),new Set(c))}),Pe($h)).subscribe(function(b){a.contentShownChanged.emit(b)}))};P7.prototype.ngOnInit=function(){};P7.prototype.showAll=function(){this.internalExpandedTabs.add.apply(this.internalExpandedTabs,u(this.tabs$.value.map(function(a){return a.key})));this.expandedTabsChanged.emit(new Set(this.internalExpandedTabs))};
P7.prototype.hideAll=function(){this.internalExpandedTabs.clear();this.expandedTabsChanged.emit(new Set(this.internalExpandedTabs))};var Fxb=function(a){var b;return qe(function(c){if(1==c.nextAddress)return c.yield((0,E.firstValueFrom)(a.allTabsExpanded$),2);(b=c.yieldResult)?a.hideAll():a.showAll();we(c)})};
Gh.Object.defineProperties(P7.prototype,{tabKeys:{configurable:!0,enumerable:!0,set:function(a){this.internalTabKeys$.next([].concat(u(a)))},get:function(){var a;return null!=(a=Dk(this.internalTabKeys$))?a:[]}},expandedTabs:{configurable:!0,enumerable:!0,set:function(a){this.internalExpandedTabs.reset(a)},get:function(){return[].concat(u(this.internalExpandedTabs))}}});P7.\u0275fac=function(){var a;return function(b){return(a||(a=Gd(P7)))(b||P7)}}();
P7.\u0275cmp=r({type:P7,selectors:[["expandable-tabs"]],contentQueries:function(a,b,c){a&1&&pg(c,O7,5);if(a&2){var d;ng(d=qg())&&(b.internalTabs=d)}},inputs:{tabKeys:"tabKeys",ariaLabel:"ariaLabel",expandedTabs:"expandedTabs"},outputs:{expandedTabsChanged:"expandedTabsChanged",contentShownChanged:"contentShownChanged"},features:[yf],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"],["spacer",""],[1,"spacer"],["noTemplate",""]],template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1),F(2,Exb,8,16,"button",2),W(3,"async"),K(),F(4,Gxb,3,6,"ng-container",3),W(5,"async"),K(),H(6,"div",4),F(7,Rxb,3,3,"ng-container",5),W(8,"async"),K(),F(9,Wxb,3,2,"ng-template",null,6,tg));a&2&&(A(1),Af("aria-label",b.ariaLabel),A(1),G("ngForOf",X(3,6,b.tabs$))("ngForTrackBy",b.trackByKey),
A(2),G("ngIf",fg(12,FMc,X(5,8,b.allTabsExpanded$))),A(3),G("ngForOf",X(8,10,b.tabs$))("ngForTrackBy",b.trackByKey))},dependencies:[Tv,Uv,Zv,MA,eA,$v],styles:[".expandable-tabs[_ngcontent-%COMP%]{gap:8px}.expandable-tab[_ngcontent-%COMP%]{padding:4px 12px 4px 8px;border-radius:16px;border:1px solid;border-color:#dadce0;border-color:var(--c300);color:#3c4043;color:var(--c800)}.expandable-tab.expanded[_ngcontent-%COMP%]{color:#1967d2;color:var(--primary-c700);background-color:#e8f0fe;background-color:var(--primary-c50);border-color:transparent}.expandable-tab[_ngcontent-%COMP%]:hover{-webkit-filter:brightness(95%);filter:brightness(95%)}[_nghost-%COMP%]     .expandable-tab .mat-button-wrapper{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:4px}[_nghost-%COMP%]     .expandable-tab.mat-button{line-height:unset}.expandable-tabs-hide-all[_ngcontent-%COMP%], .expandable-tabs-show-all[_ngcontent-%COMP%]{margin-left:auto}.expandable-tab-content[_ngcontent-%COMP%]{margin-left:8px;margin-right:8px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.expandable-tab-content[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:4px;color:#202124;color:var(--c900);margin:16px 0}.expandable-tab-content[_ngcontent-%COMP%]   .spacer[_ngcontent-%COMP%]{margin-top:8px}.expandable-tab-content[_ngcontent-%COMP%]:not(:last-child){padding-bottom:16px;border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}\n/*# sourceMappingURL=expandable_tabs.css.map */"],
changeDetection:0});var $xb=function(){return[]},Q7=function(a,b,c,d,e,f){Z.call(this);var h=this;this.activeSession=a;this.userPreferencesManager=b;this.issueInteractionsTracking=c;this.issueFridge=d;this.analytics=e;this.eventsForIssueFridge=f;this.TabKeys=yMc;this.issueId$=new E.ReplaySubject(1);this.alwaysStartCollapsed=!1;this.issue$=this.issueId$.pipe(af(function(k){return h.issueFridge.watch(k)}),He(jl));this.commentNumberToEventMap$=this.issueId$.pipe(af(function(k){return h.eventsForIssueFridge.watch(k)}),D(function(k){var q;
return null!=(q=null==k?void 0:k.events)?q:[]}),D(function(k){return new Map(k.filter(function(q){return!!q.commentNumber}).map(function(q){return[q.commentNumber,q]}))}));this.relatedLinks$=(0,E.combineLatest)([this.issue$,this.commentNumberToEventMap$]).pipe(D(function(k){k=l(k);var q=k.next().value,t=k.next().value,w;return(null==(w=q.relatedLinks)?void 0:w.map(function(y){return Object.assign({},y,{comment:t.get(y.sourceCommentNumber)})}))||[]}));this.imageLinks$=this.relatedLinks$.pipe(D(function(k){return k.filter(QIa)}));
this.distinctImageLinksCount$=this.imageLinks$.pipe(D(function(k){return Pj(k,function(q){return TIa(q.href)})}),D(function(k){return k.length}));this.shouldShowImages$=this.imageLinks$.pipe(D(function(k){return h.activeSession.isInternalSession()&&yD(h.activeSession,"enableImageSummary")&&GMc(h,k)}));this.issues$=this.relatedLinks$.pipe(D(function(k){return k.filter(UIa)}));this.distinctIssuesCount$=this.issues$.pipe(D(function(k){return k.filter(function(q){return q.issueId!==h.issueId})}),D(function(k){return Pj(k,
function(q){return q.issueId})}),D(function(k){return k.length}));this.shouldShowIssues$=this.distinctIssuesCount$.pipe(D(function(k){return yD(h.activeSession,"enableRelatedIssuesWidget")&&!!k}));this.otherLinks$=this.relatedLinks$.pipe(D(function(k){return k.filter(VIa)}));this.distinctOtherLinksCount$=this.otherLinks$.pipe(D(function(k){return Pj(k,function(q){return q.href})}),D(function(k){return k.length}));this.shouldShowLinks$=this.otherLinks$.pipe(D(function(k){return yD(h.activeSession,
"enableLinksWidget")&&h.shouldShowLinks(k)}));this.shouldShowSimilarIssues$=this.issue$.pipe(D(function(k){return(k=k.snapshot[0].componentId)?!(!h.activeSession.isInternalSession()||!yD(h.activeSession,"enableEmbeddedSimilarIssuesUi")||!h.activeSession.getSimilarIssuesComponentsAllowlist().has(k)):!1}));this.tabKeys$=(0,E.combineLatest)([this.shouldShowSimilarIssues$.pipe(D(function(k){return{show:k,key:"SW-similar-issues"}})),this.shouldShowImages$.pipe(D(function(k){return{show:k,key:"SW-images"}})),
this.shouldShowIssues$.pipe(D(function(k){return{show:k,key:"SW-mentioned-bugs"}})),this.shouldShowLinks$.pipe(D(function(k){return{show:k,key:"SW-links"}}))]).pipe(D(function(k){return k.filter(function(q){return q.show}).map(function(q){return q.key})}));this.shouldShowSummaryCard$=this.tabKeys$.pipe(D(function(k){return!!k.length}),Oe(0,E.asapScheduler));this.initiallyExpandedTabs=myb.map(function(k){return x1b(h.userPreferencesManager,k)?void 0:k}).filter(jl);this.onTabExpanded$=new mv;this.issueSummaryTracking=
new zMc(this.issueInteractionsTracking,this.analytics)};Y(Q7,Z);Q7.\u0275dir=Z.\u0275dir;
Q7.prototype.ngOnInit=function(){var a=this;this.alwaysStartCollapsed&&(this.initiallyExpandedTabs=[]);this.subscriptions.add(this.onTabExpanded$.pipe(Ne(1E3),af(function(b){var c=b.expandedTabKeys;return w1b(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=l(b),f=e.next();!f.done;f=e.next())Vs(c.issueInteractionsTracking,
d,f.value+"-available");0<b.size&&Vs(c.issueInteractionsTracking,d,"SW-available")}))};Q7.prototype.shouldShowLinks=function(a){return 0===a.length||a.every(function(b){return 1===b.sourceCommentNumber})?!1:!0};var GMc=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 ME(a.userPreferencesManager).showInlineImages&&b?!1:!0};
Gh.Object.defineProperties(Q7.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return Dk(this.issueId$)}}});Q7.\u0275fac=function(a){return new (a||Q7)(B(nt),B(LE),B(cP),B(iI),B(aI),B(AH))};
Q7.\u0275cmp=r({type:Q7,selectors:[["issue-summary-card"]],inputs:{issueId:"issueId",alwaysStartCollapsed:"alwaysStartCollapsed"},features:[yf],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"],["ariaLabel","Toggle similar issues 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"],["svgIcon","search_spark_24px",1,"icon-s"],[3,"issueId","click"]],template:function(a,b){a&1&&(H(0,"h3",0),T(1,"Issue summary"),K(),F(2,nyb,17,6,"expandable-tabs",1),W(3,"async"));a&2&&(A(2),G("ngIf",X(3,1,b.tabKeys$)))},dependencies:[Uv,MA,O7,L7,M7,N7,P7,D7,G7,I7,K7,$v],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 R7=function(a){this.matDialog=a};R7.prototype.show=function(a){this.dialog=this.matDialog.open(S7,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{statusUpdates:a}});return(0,E.firstValueFrom)(this.dialog.afterClosed())};R7.\u0275fac=function(a){return new (a||R7)(p(vA))};R7.\u0275prov=Dc({token:R7,factory:R7.\u0275fac,providedIn:"root"});var S7=function(a,b,c){Z.call(this);this.data=a;this.dialogService=b;this.dialogRef=c;this.statusUpdates=a.statusUpdates};Y(S7,Z);S7.\u0275dir=Z.\u0275dir;
S7.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()})};S7.\u0275fac=function(a){return new (a||S7)(B(uA),B(R7),B(sA))};
S7.\u0275cmp=r({type:S7,selectors:[["ng-component"]],features:[yf],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),T(1,"History for Status Update"),K(),H(2,"section",1)(3,"ul",2),F(4,oyb,19,12,"li",3),K()(),H(5,"footer",4)(6,"button",5),T(7," Close "),K()());a&2&&(A(4),G("ngForOf",b.statusUpdates),A(2),G("mat-dialog-close",void 0))},dependencies:[Tv,CM,eA,wA,xA,yA,zA,AO,tP,sP,zL,BO],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 HMc=["noteContainer"],zyb=function(a){return[a]},IMc={FRESH:0,STALE:1,NONE:2,0:"FRESH",1:"STALE",2:"NONE"},T7=function(a,b,c,d,e,f,h,k,q){Z.call(this);var t=this;this.analytics=a;this.confirmationDialogService=b;this.currentUser=c;this.editStatusUpdateDialogService=d;this.errorHandler=e;this.issueFridge=f;this.issuePermissionService=h;this.statusUpdateService=k;this.statusUpdateHistoryDialogService=q;this.Freshness=IMc;this.UiState=JMc;this.FormattingMode=ZC;this.issueId$=new E.ReplaySubject(1);
this.issue$=this.issueId$.pipe(af(this.issueFridge.watch));this.componentId$=this.issue$.pipe(D(function(w){return null==w?void 0:w.snapshot[0].componentId}));this.accessLevel$=this.issue$.pipe(D(function(w){var y;return null==w?void 0:null==(y=w.accessLimit)?void 0:y.accessLevel}));this.issue$.pipe(D(function(w){var y;return null==w?void 0:null==(y=w.aggregatedData)?void 0:y.teamId}));this.isCollapsed=!1;this.statusUpdate$=this.issue$.pipe(D(function(w){return null==w?void 0:w.statusUpdate}));this.statusUpdateAsNote$=
this.statusUpdate$.pipe(He(jl),D(function(w){return{unlinkifiedComment:w.updateText,formattedComment:w.formattedText}}));this.semanticClass$=this.statusUpdate$.pipe(D(function(w){var y;return null!=(y=iEa(null==w?void 0:w.updateText))?y:""}));this.statusIsEmpty$=this.statusUpdate$.pipe(D(function(w){return""===((null==w?void 0:w.updateText)||"").trim()}));this.freshnessIndicator$=(0,E.combineLatest)([this.statusIsEmpty$,this.statusUpdate$]).pipe(D(function(w){var y=l(w);w=y.next().value;y=y.next().value;
if(w)return 2;var C;w=(null==y?void 0:null==(C=y.updateTime)?void 0:C.seconds)||0;return 86400>Date.now()/1E3-w?0:1}));this.uiState$=this.statusIsEmpty$.pipe(D(function(w){return w?1:2}),$e(0));this.formattingModeOverride$=new E.BehaviorSubject(void 0);this.formattingMode$=(0,E.combineLatest)([this.statusUpdate$,this.formattingModeOverride$]).pipe(D(function(w){var y=l(w);w=y.next().value;return(y=y.next().value)?y:(null==w?void 0:w.formattingMode)||"PLAIN"}));this.menuItems$=(0,E.combineLatest)([this.issueId$,
this.statusUpdate$,this.issuePermissionService.hasAclToAdmin$,this.formattingMode$]).pipe(D(function(w){var y=l(w),C=y.next().value,J=y.next().value;w=y.next().value;y=y.next().value;var I=null!=J;J=J&&""!==(null==J?void 0:J.updateText);var P=[];J&&P.push({type:"submenu",label:"View as",className:"view-as-format",items:[{type:"select",label:"Classic",action:function(){t.formattingModeOverride$.next("PLAIN")},selected:"PLAIN"===y},{type:"select",label:"Markdown",action:function(){t.formattingModeOverride$.next("MARKDOWN")},
selected:"MARKDOWN"===y},{type:"select",label:"Source",action:function(){t.formattingModeOverride$.next("LITERAL")},selected:"LITERAL"===y}]});P.push({type:"action",label:"Edit Status Update",action:function(){t.editStatusUpdate()}});I&&P.push({type:"action",label:"Show editing history",action:function(){KMc(t,C)}});J&&w&&P.push({type:"action",label:"Delete Status Update",action:function(){t.confirmationDialogService.open({title:"Delete Status Update?",content:ch("\n                    Deleting a Status Update will remove it from the history. It\n                    will be purged after 30 days. This cannot be undone."),
confirmButtonText:"Delete",onConfirm:function(){t.doDelete()}})}});P.push(LMc);return P}))};Y(T7,Z);T7.\u0275dir=Z.\u0275dir;T7.prototype.ngOnInit=function(){var a=this;setTimeout(function(){var b,c;return qe(function(d){if(1==d.nextAddress)return d.yield((0,E.firstValueFrom)(a.uiState$.pipe(He(function(e){return 0!==e}))),2);b=d.yieldResult;c=Byb(b);a.analytics.trackEvent(Kp.ISSUE,"statusUpdateDisplay",c);we(d)})},1E3)};
T7.prototype.ngAfterViewInit=function(){var a;84<(null==(a=this.noteContainer)?void 0:a.nativeElement.scrollHeight)&&(this.isCollapsed=!0)};
T7.prototype.editStatusUpdate=function(){var a=this,b,c,d,e,f,h,k,q;return qe(function(t){switch(t.nextAddress){case 1:return t.yield((0,E.firstValueFrom)(a.issueId$),2);case 2:return b=t.yieldResult,t.yield((0,E.firstValueFrom)(a.componentId$),3);case 3:return c=t.yieldResult,d={issueId:b,updateText:"",version:-1},f=null!=(e=Dk(a.statusUpdate$))?e:d,t.yield((0,E.firstValueFrom)(a.accessLevel$),4);case 4:return h=t.yieldResult,k="INTERNAL"===h?"INTERNAL_AUDIENCE":"EXTERNAL_AUDIENCE",t.yield(a.editStatusUpdateDialogService.show(f,
k,c),5);case 5:q=t.yieldResult;if(null==q)return t.return();a.statusUpdateService.update(q).subscribe(function(w){a.didSave(b,w)},function(w){a.errorHandler.errorHandler(null,w)});we(t)}})};var qyb=function(a){var b,c;return qe(function(d){if(1==d.nextAddress)return d.yield((0,E.firstValueFrom)(a.issueId$),2);b=d.yieldResult;c=Dk(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)});we(d)})};
T7.prototype.didSave=function(a,b){PG(this.issueFridge,a,function(c){c.statusUpdate=b});this.issueFridge.poke(a)};var KMc=function(a,b){var c;qe(function(d){if(1==d.nextAddress)return d.yield((0,E.firstValueFrom)(kpc(a.statusUpdateService,b)),2);c=d.yieldResult;a.statusUpdateHistoryDialogService.show(c);we(d)})};
T7.prototype.doDelete=function(){var a=this,b;qe(function(c){if(1==c.nextAddress)return c.yield((0,E.firstValueFrom)(a.issueId$),2);b=c.yieldResult;a.statusUpdateService.delete(b).subscribe(function(){PG(a.issueFridge,b,function(d){d.statusUpdate=void 0});a.issueFridge.poke(b)});we(c)})};Gh.Object.defineProperties(T7.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});
T7.\u0275fac=function(a){return new (a||T7)(B(aI),B(SJ),B(JL),B(CX),B(FG),B(iI),B(gP),B(uX),B(R7))};
T7.\u0275cmp=r({type:T7,selectors:[["status-update"]],viewQuery:function(a,b){a&1&&og(HMc,5);if(a&2){var c;ng(c=qg())&&(b.noteContainer=c.first)}},inputs:{issueId:"issueId"},features:[yf],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"],["mat-button","","aria-label","Mark Status Update as fresh","color","primary","class","gmat-button small margin-xs-right mark-fresh",3,"click",4,"ngIf"],[1,"edit-info",
"right"],["matTooltip","Status Update actions",3,"buttonLabel","menuItems",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&&(F(0,Ayb,
5,13,"div",0),W(1,"async"));a&2&&G("ngIf",X(1,1,b.uiState$))},dependencies:[O_,MT,Uv,MA,CM,hK,mK,qP,eA,dC,$v,BL],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 JMc={LOADING:0,EMPTY:1,NORMAL:2,0:"LOADING",1:"EMPTY",2:"NORMAL"},LMc={type:"action",label:"Using the Status Update field...",action:function(){era(window,ah("https://developers.google.com/issue-tracker/concepts/status-update"),"_blank")},icon:"help-outline",className:"border-top"};var U7=function(a){this.internalArray_=m(a)};Y(U7,n);U7.prototype.setTemperature=function(a){lm(this,3,kb(a))};U7.repeatedFields_=[5,6];var V7=function(a){this.internalArray_=m(a)};Y(V7,n);V7.prototype.getOptions=function(){return vi(this,U7,1)};V7.prototype.setOptions=function(a){ej(this,U7,1,a)};V7.prototype.hasOptions=function(){return Pi(this,U7,1)};V7.prototype.setInput=function(a){return Ol(this,2,a)};var Ws=function(a){this.internalArray_=m(a)};Y(Ws,n);Ws.prototype.getContent=function(){return xi(this,1)};Ws.prototype.setContent=function(a){return Ol(this,1,a)};Ws.prototype.getScore=function(){return pl(this,2)};Ws.prototype.setScore=function(a){return Ob(this,2,kb(a),0)};var MMc=function(a){this.internalArray_=m(a)};Y(MMc,n);MMc.repeatedFields_=[1];var W7=function(a){this.internalArray_=m(a,0,W7.messageId)};Y(W7,n);W7.prototype.getResponse=function(){return vi(this,MMc,1)};W7.prototype.getReadonlyResponse=function(){return Wp(this,MMc,1)};W7.prototype.setResponse=function(a){return ej(this,MMc,1,a)};W7.messageId="b.GoosePredictionGenerateTextWrappedResponse";var X7=function(a){this.executor=a};
X7.prototype.generate=function(a){var b=(new V7).setInput(a.input);if(a.options){var c=new U7;void 0!==a.options.modelId&&Ol(c,1,a.options.modelId);void 0!==a.options.outputCount&&dj(c,2,a.options.outputCount);void 0!==a.options.temperature&&c.setTemperature(a.options.temperature);void 0!==a.options.maxDecoderSteps&&dj(c,4,a.options.maxDecoderSteps);void 0!==a.options.eosId&&ap(c,5,a.options.eosId);b.setOptions(c)}return this.executor.post({url:"/action/goose/prediction/generateText",body:b,responseConstructor:W7}).then(Cyb)};
X7.\u0275fac=function(a){return new (a||X7)(p(TD))};X7.\u0275prov=Dc({token:X7,factory:X7.\u0275fac,providedIn:"root"});var Y7=function(a){this.internalArray_=m(a,0,Y7.messageId)};Y(Y7,n);Y7.prototype.getResponse=function(){return vi(this,WC,1)};Y7.prototype.getReadonlyResponse=function(){return Wp(this,WC,1)};Y7.prototype.setResponse=function(a){return ej(this,WC,1,a)};Y7.messageId="b.PiperCreateWorkspaceAndChangeWrappedResponse";var Z7=function(a){this.internalArray_=m(a,0,Z7.messageId)};Y(Z7,n);Z7.prototype.getResponsesList=function(){return zi(this,qZb,1)};Z7.repeatedFields_=[1];Z7.messageId="b.PiperReadFilesWrappedResponse";var $7=function(a){this.executor=a};$7.prototype.readFile=function(a){return NMc(this,{paths:[a]}).then(function(b){var c,d;return{content:null!=(c=b.content.get(a))?c:"",revisionNumber:null!=(d=b.revisionNumber.get(a))?d:0}})};
var NMc=function(a,b){b=Fyb(b);return a.executor.post({url:"/action/piper/readFiles",body:b,responseConstructor:Z7}).then(Gyb)},OMc=function(a,b){var c=new pZb;b.citcAlias&&gj(c,3,b.citcAlias);if(b.changeDescription){var d=c.setDescription;var e=b.changeDescription;e=(new UC).setText(e.text);d.call(c,e)}b=b.files.map(Jyb);Zl(c,4,b);return a.executor.post({url:"/action/piper/createWorkspaceAndChange",body:c,responseConstructor:Y7}).then(Hyb)};$7.\u0275fac=function(a){return new (a||$7)(p(TD))};
$7.\u0275prov=Dc({token:$7,factory:$7.\u0275fac,providedIn:"root"});var a8=function(a,b,c,d,e){this.eventsForIssueFridge=a;this.issueFridge=b;this.piperApi=c;this.gooseApi=d;this.activeSession=e;this.issueDescription=this.issue=null},RMc=function(a,b){return(0,E.combineLatest)([PMc(a,b),QMc(a,b)]).pipe(D(function(c){var d=l(c);c=d.next().value;d=d.next().value;a.issue=c;a.issueDescription=d;c=a.issue;d=a.issueDescription;var e=yD(a.activeSession,"enableGoosePrompting"),f=yD(a.activeSession,"enableGoosePromptingSupportedIssues");return null==c||null==d?!1:e?"BUG"===
c.snapshot[0].type||"FEATURE_REQUEST"===c.snapshot[0].type:f?null==d?void 0:d.unlinkifiedComment.includes("Visit Upkeep to monitor tech debt of your"):!1}))},PMc=function(a,b){return a.issueFridge.watch(b,{trustUncertainMemory:!0}).pipe(D(function(c){return c?c:null}))},QMc=function(a,b){return a.eventsForIssueFridge.watch(b,{trustUncertainMemory:!0}).pipe(D(function(c){if(!c)return null;c=[].concat(u(c.events.slice(0,1)));return 0<c.length?c[0]:null}))},SMc=function(a){return a.filter(function(b){return"+"!==
b.charAt(0)}).map(function(b){return b.slice(1)})},TMc=function(a,b,c){return SMc(c).every(function(d,e){return d===a[b+e]})},UMc=function(a,b,c){for(var d=[],e=SMc(b).length,f=a.length-e;c<=f;c++)TMc(a,c,b)&&d.push(c);0===d.length&&console.log("No matching locations.");1<d.length&&console.log("Multiple matching locations.");a=d[0];return{startRange:a,endRange:a+e}};
a8.prototype.applyDiff=function(a){var b=a.outputs[0];if(0===b.length)return"";b="@@\n"+b;a=b.split("\n");var c=b.split("@@\n").slice(1);b=[];var d=0,e=0,f=0;c=l(c);for(e=c.next();!e.done;e=c.next()){var h=e.value;d=UMc(a,h.split("\n"),d);e=d.startRange;d=f=d.endRange;h=h.split("\n").filter(function(k){return"-"!==k[0]}).map(function(k){return k.slice(1)});b.push([e,f,h])}d=e=c=0;b=l(b);for(e=b.next();!e.done;e=b.next())e=l(e.value),f=e.next().value,c=e.next().value,e=e.next().value,f+=d,c+=d,a.splice.apply(a,
[f,c-f].concat(u(e))),c-=f,e=e.length-c,d+=e;return a.join("\n")};a8.\u0275fac=function(a){return new (a||a8)(p(AH),p(iI),p($7),p(X7),p(nt))};a8.\u0275prov=Dc({token:a8,factory:a8.\u0275fac,providedIn:"root"});var VMc=/:(\w+):/,WMc=/(\/\/depot\/)?(google3\/[A-z0-9\.\/_-]+)/,b8=function(a,b,c,d,e,f,h){Z.call(this);var k=this;this.dialogRef=a;this.piperApi=b;this.gooseApi=c;this.issueFridge=d;this.eventsForIssueFridge=e;this.domSafe=f;this.data=h;this.stages=[];setTimeout(function(){return k.generate()},1E3)};Y(b8,Z);b8.\u0275dir=Z.\u0275dir;
b8.prototype.generate=function(){var a=this,b,c,d,e,f,h,k,q,t,w,y,C,J,I,P,O,U,aa,na;return qe(function(sa){switch(sa.nextAddress){case 1:var Ba=sa.yield;if(!Pa)var Pa=a.data.issueId;Pa=(0,E.firstValueFrom)(a.issueFridge.watch(Pa,{trustUncertainMemory:!0}).pipe(He(jl),Te()));return Ba.call(sa,Pa,2);case 2:return b=sa.yieldResult,sa.yield(XMc(a),3);case 3:e=null!=(d=null==(c=sa.yieldResult)?void 0:c.unlinkifiedComment)?d:"",h=(f=e.match(WMc))?"//depot/"+f[2]:"";case 4:return h?sa.yield(YMc(a,h),8):
sa.yield(ZMc(a),7);case 7:k=sa.yieldResult;h=(q=k.match(WMc))?"//depot/"+q[2]:"";sa.jumpTo(4);break;case 8:return t=sa.yieldResult,C=null!=(y=null==(w=b)?void 0:w.snapshot[0].title.trim())?y:"",J=e.trim(),I="\u25a0 cat "+h+"\n"+t.content+"\n\u25a0 Bug b/2234234 title\n"+C+"\n\u25a0 Bug b/2234234 description\n"+J+'\n\u25a0 critique --cl_description --cl_number=541707606\nAutomated fix for "'+C+'"\n\u25a1 What is the code diff needed to fix the bug?\n\u25a0 patch --goose '+h+"\n@@\n",sa.yield($Mc(a,
"Analyzing issue using LLM",I),9);case 9:return P=sa.yieldResult,O="@@\n"+P,sa.yield(aNc(a,O),10);case 10:return sa.yield(a.applyDiff(t.content,O),11);case 11:return U=sa.yieldResult,aa="\u25a0 diff --goose --from=BASE --to=CURRENT "+h+"\n"+O+"\n\u25a1 What are the key changes in the code diff?\n\u25a0 critique --cl_description\n",sa.yield($Mc(a,"Generating changelist description",aa),12);case 12:return na=sa.yieldResult,Ba=sa.yield,a.stages.push({title:"Create changelist",description:na,state:"in-progress",
type:"changelist-create",contents:U,revision:t.revision,path:h}),Pa=Promise.resolve(),Ba.call(sa,Pa,0)}})};
var XMc=function(a){if(!b)var b=a.data.issueId;return(0,E.firstValueFrom)(a.eventsForIssueFridge.watch(b,{trustUncertainMemory:!0}).pipe(D(function(c){if(!c)return null;c=c.events.slice(0,1);return 0<c.length?c[0]:null}),Te()))},ZMc=function(a){return new Promise(function(b){var c={title:"Request file path",state:"in-progress",value:"",type:"text-input",callback:function(){c.state="complete";b(c.value)}};a.stages.push(c)})},$Mc=function(a,b,c){var d={title:b,state:"in-progress",type:"process"};a.stages.push(d);
return a.gooseApi.generate({input:c,options:{modelId:"/sax/goose2/goose_2_m_quant_in28k_out4k",temperature:0,maxDecoderSteps:4E3}}).then(function(e){if(e.outputBlocked)throw d.state="error",d.error="LLM output blocked.",Error("jf");d.state="complete";return e.outputs[0]})},YMc=function(a,b){var c={title:"Retrieving data from Piper",state:"in-progress",type:"process"};a.stages.push(c);return a.piperApi.readFile(b).then(function(d){c.state="complete";return{content:d.content,revision:d.revisionNumber}}).catch(function(d){c.state=
"error";c.error=d.message;throw d;})},aNc=function(a,b){var c={title:"Previewing code changes",state:"complete",type:"diff-preview",blocks:[]};a.stages.push(c);a=b.split(/^@@$/m).map(function(d){return d.trim()}).filter(function(d){return 0<d.length});a=l(a);for(b=a.next();!b.done;b=a.next())c.blocks.push({lines:b.value.split("\n")});console.log(c);return Promise.resolve()};
b8.prototype.applyDiff=function(a,b){var c={title:"Applying code changes",state:"in-progress",type:"process"};this.stages.push(c);try{var d=Oyb(a,b);c.state="complete";return Promise.resolve(d)}catch(e){return c.state="error",c.error=""+e,Promise.reject(e)}};
b8.prototype.patch=function(a){var b=this;if("changelist-create"===a.type){a.state="complete";var c={sourceFile:{sourceFileId:{depotPath:a.path,revisionNumber:a.revision+1},fileOperation:0===a.revision?2:7},content:$yb(a.contents)};a={changeDescription:{text:a.description+"\n\nGenerated by #bug2code\n\nBUG="+this.data.issueId+"\nBUG2CODE="+this.data.issueId},citcAlias:"bug2code_fix_"+Date.now(),files:[c]};return OMc(this.piperApi,a).then(function(d){var e=d.changeNumber;d="https://cider.corp.google.com/?createWs="+
d.workspaceName.match(VMc)[1]+"&patchCl="+e;b.domSafe.openInNewTab(d);b.dialogRef.close()})}};b8.prototype.blocks=function(a){return"diff-preview"===a.type?a.blocks:[]};b8.prototype.complete=function(){this.stages.push({title:"Complete",state:"complete",type:"process"});return Promise.resolve()};b8.\u0275fac=function(a){return new (a||b8)(B(iUb),B($7),B(X7),B(iI),B(AH),B(lM),B(jUb))};
b8.\u0275cmp=r({type:b8,selectors:[["b-llm-generation-dialog"]],features:[yf],decls:12,vars:1,consts:[[1,"dialog"],["mat-dialog-title","",1,"heading"],[1,"heading-m"],["svgIcon","spark_24px",1,"icon-m"],["mat-dialog-content","",1,"content"],[1,"stepper"],["class","stage",4,"ngFor","ngForOf"],["mat-dialog-actions","",1,"actions"],["mat-stroked-button","",1,"gmat-button","medium",3,"click"],[1,"stage"],[1,"icon",3,"ngSwitch"],["svgIcon","clear","class","icon-s",4,"ngSwitchCase"],["svgIcon","done","class",
"icon-s",4,"ngSwitchCase"],["svgIcon","spark_24px","class","icon-s",4,"ngSwitchDefault"],[3,"ngSwitch","class",4,"ngIf"],["svgIcon","clear",1,"icon-s"],["svgIcon","done",1,"icon-s"],["svgIcon","spark_24px",1,"icon-s"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"block"],["type","text",3,"disabled","keyup"],["color","primary","mat-flat-button","","cdkFocusInitial","",1,"gmat-button","medium","dialog-primary-action",3,"disabled","click"],["class","change-block codefont",4,"ngFor","ngForOf"],
[1,"change-block","codefont"],[1,"change"],["class","line",3,"remove","add",4,"ngFor","ngForOf"],[1,"line"],[1,"changelist-description","codefont"],["color","primary","mat-flat-button","","cdkFocusInitial","",1,"gmat-button","medium","dialog-primary-action","magic",3,"disabled","click"]],template:function(a,b){a&1&&(H(0,"article",0)(1,"header",1)(2,"h1",2),L(3,"mat-icon",3),H(4,"span"),T(5," Generate LLM suggested change "),K()()(),H(6,"section",4)(7,"div",5),F(8,Zyb,9,5,"div",6),K()(),H(9,"footer",
7)(10,"button",8),Q("click",function(){b.dialogRef.close()}),T(11," Cancel "),K()()());a&2&&(A(8),G("ngForOf",b.stages.slice().reverse()))},dependencies:[Tv,Uv,Vv,Wv,Xv,MA,eA,xA,yA,zA],styles:['.dialog[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;padding:24px;gap:24px;box-sizing:border-box;min-width:60vw;overflow-y:scroll}.dialog[_ngcontent-%COMP%]   .heading-m[_ngcontent-%COMP%]{line-height:26px}.dialog[_ngcontent-%COMP%]   .icon-m[_ngcontent-%COMP%]{display:inline-block;vertical-align:top}.dialog[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{flex-grow:1}.dialog[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]{display:flex;gap:12px}.stepper[_ngcontent-%COMP%]{display:flex;flex-direction:column-reverse}.stepper[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]{font-family:"Google Sans",Roboto,Arial,sans-serif}.stepper[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{background:var(--blue);display:inline-block;border-radius:100%;padding:6px;color:var(--white);margin-right:12px;width:18px;height:18px;vertical-align:top;text-align:center;line-height:20px}.stepper[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]   .icon-s[_ngcontent-%COMP%]{vertical-align:top}.stepper[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:1.3em;line-height:1.9}.stepper[_ngcontent-%COMP%]   section[_ngcontent-%COMP%]{border-left:1px solid var(--grey-400);margin:16px;padding:8px 16px}.stepper[_ngcontent-%COMP%]   section.process[_ngcontent-%COMP%]{padding:4px}.change-block[_ngcontent-%COMP%]{border:1px solid var(--grey-300);border-radius:8px;padding:8px 4px;overflow:auto}.change-block[_ngcontent-%COMP%]:not(:last-child){margin-bottom:12px}.change-block[_ngcontent-%COMP%]   .change[_ngcontent-%COMP%]   .line[_ngcontent-%COMP%]{padding:0 12px;text-wrap:nowrap;white-space:pre}.change-block[_ngcontent-%COMP%]   .change[_ngcontent-%COMP%]   .line.add[_ngcontent-%COMP%]{background:var(--green-100)}.change-block[_ngcontent-%COMP%]   .change[_ngcontent-%COMP%]   .line.remove[_ngcontent-%COMP%]{background:var(--red-100)}.block[_ngcontent-%COMP%]{margin:4px 0}.block[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{color:var(--muted);font-weight:500}.block[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%]{border:1px solid var(--text-secondary);border-radius:4px;width:100%;padding:4px}.block[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%]:focus{border-color:var(--primary);outline-color:var(--primary)}.changelist-description[_ngcontent-%COMP%]{margin-bottom:18px}.magic[_ngcontent-%COMP%]{flex-shrink:0}.magic[_ngcontent-%COMP%]:hover:not([disabled]){background:linear-gradient(135deg, #d3e3fd, #d0f8ff, #a8c7fa, #99f0ff, #d3e3fd, #d3e3fd, #d0f8ff, #a8c7fa, #99f0ff, #d3e3fd) 50%/1500% 1500%;animation:_ngcontent-%COMP%_shimmer 2.1s linear infinite;color:var(--blue-800)}@keyframes _ngcontent-%COMP%_shimmer{0%{background-position:100% 100%}100%{background-position:top 37.5% left 37.5%}}']});var c8=function(a,b,c){this.llmSuggestionService=a;this.activeSession=b;this.matDialogService=c;this.issueId="";this.isInternalSession=this.activeSession.isInternalSession()};c8.prototype.ngOnInit=function(){this.showLlmSuggestion$=RMc(this.llmSuggestionService,this.issueId)};c8.prototype.openDialog=function(){this.matDialogService.open(b8,{panelClass:"no-jitter",maxWidth:"70vw",disableClose:!0,data:{issueId:this.issueId}})};c8.\u0275fac=function(a){return new (a||c8)(B(a8),B(nt),B(qA))};
c8.\u0275cmp=r({type:c8,selectors:[["llm-suggested-bug-fix"]],inputs:{issueId:"issueId"},decls:4,vars:3,consts:[["class","carded margin-s-sides margin-s-bottom bg-main flex-kids-x",4,"ngIf"],["showHeader",""],[1,"carded","margin-s-sides","margin-s-bottom","bg-main","flex-kids-x"],["svgIcon","spark_24px","color","primary",1,"margin-xs-right","shrink-0"],[1,"flex-kids-y","gap-s","full-width"],[3,"ngTemplateOutlet"],[1,"flex-kids-x","gap-s"],["color","primary","mat-flat-button","","color","primary",
"aria-label","Generate a LLM-suggested CL for this bug.",1,"gmat-button","small","generate",3,"click"],[1,"uppercase","badged","early-access"],[3,"panelTemplate"],["svgIcon","help-outline",1,"icon-s"],["aiHelp",""]],template:function(a,b){a&1&&(F(0,azb,7,1,"div",0),W(1,"async"),F(2,czb,7,1,"ng-template",null,1,tg));a&2&&G("ngIf",b.isInternalSession&&X(1,1,b.showLlmSuggestion$))},dependencies:[Uv,Zv,MA,eA,AK,mL,$v],styles:[".bg-main[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg)}.generate[_ngcontent-%COMP%]{flex-shrink:0}.generate[_ngcontent-%COMP%]:hover{color:var(--blue-800);background:linear-gradient(135deg, #d3e3fd, #d0f8ff, #a8c7fa, #99f0ff, #d3e3fd, #d3e3fd, #d0f8ff, #a8c7fa, #99f0ff, #d3e3fd) 50%/1500% 1500%;animation:_ngcontent-%COMP%_shimmer 2.1s linear infinite}@keyframes _ngcontent-%COMP%_shimmer{0%{background-position:100% 100%}100%{background-position:top 37.5% left 37.5%}}mat-icon[_ngcontent-%COMP%]{vertical-align:bottom}  .llm-dialog{padding:10px}"]});var bNc=["textarea"],d8=function(a,b,c){Z.call(this);var d=this;this.dialogData=a;this.prompts=b;this.cdr=c;this.resetRequested$=new E.ReplaySubject(1);this.defaultSummaryPrompt$=wpc(this.prompts,this.dialogData.issueId,this.dialogData.summaryType);this.initialPromptText$=(0,E.merge)((0,E.of)(this.dialogData.customPrompt),this.resetRequested$.pipe(af(function(){return d.defaultSummaryPrompt$})));this.dialogData.customPrompt||this.resetRequested$.next()};Y(d8,Z);d8.\u0275dir=Z.\u0275dir;
d8.prototype.ngAfterViewInit=function(){var a=this;this.initialPromptText$.pipe(bf(this.destroyed$)).subscribe(function(b){setTimeout(function(){a.textareaRef.nativeElement.value=b;a.cdr.markForCheck()})})};d8.\u0275fac=function(a){return new (a||d8)(B(uA),B(IX),B(Fu))};
d8.\u0275cmp=r({type:d8,selectors:[["b-custom-summary-prompt-dialog"]],viewQuery:function(a,b){a&1&&og(bNc,7);if(a&2){var c;ng(c=qg())&&(b.textareaRef=c.first)}},features:[yf],decls:12,vars:2,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["textarea",""],["mat-dialog-actions",""],["mat-stroked-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-stroked-button","",1,"gmat-button","medium",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",1,"gmat-button",
"medium","dialog-primary-action",3,"mat-dialog-close"]],template:function(a,b){a&1&&(H(0,"h1",0),T(1,"Experiment with prompt"),K(),H(2,"div",1),L(3,"textarea",null,2),K(),H(5,"div",3)(6,"button",4),T(7," Cancel "),K(),H(8,"button",5),Q("click",function(){return b.resetRequested$.next()}),T(9," Reset prompt to default "),K(),H(10,"button",6),T(11," Generate "),K()());if(a&2){var c=S(4);A(6);G("mat-dialog-close",void 0);A(4);G("mat-dialog-close",c.value)}},dependencies:[eA,wA,xA,yA,zA],styles:["textarea[_ngcontent-%COMP%] { width: 500px; height: 50vh}"]});var dzb=function(a){return{stage:a}},ozb=function(a,b){return{summary:a,stage:b}},rzb=function(a){return{summary:a}},Azb=function(a){return{"has-reacted-icon":a}},e8=function(a,b,c,d,e,f){var h=this;this.llmService=a;this.prompts=b;this.matDialogService=c;this.activeSession=d;this.analytics=e;this.userFeedback=f;this.issueId="";this.INITIAL="initial";this.SHORT="short";this.LONG="long";this.CUSTOM="custom";this.TOO_LITTLE_TOOLTIP_TEXT="This feature is disabled because there's too little content on this issue.";
this.enableLlmDogfood=yD(this.activeSession,"enableLlmDogfood");this.isSummarizable$=(0,E.defer)(function(){return spc(h.prompts,h.issueId)});this.stage$=new E.BehaviorSubject("initial");this.defaultSummaryRequested$=new E.ReplaySubject(1);this.defaultCommentThreadSummary$=this.defaultSummaryRequested$.pipe(df(this.stage$),af(function(k){k=l(k);k.next();k=k.next().value;return tpc(h.llmService,h.issueId,Gzb(k))}));this.customSummaryRequested$=new E.ReplaySubject(1);this.customCommentThreadSummary$=
this.customSummaryRequested$.pipe(af(function(k){return upc(h.llmService,k).then(function(q){return{status:0,summary:q}})}));this.lastCustomPrompt="";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},izb=function(a){var b=Fzb(a.stage$.value);a.stage$.next(b);a.analytics.trackEvent(Kp.LLM_SUMMARIZE,
"click",b);a.defaultSummaryRequested$.next()},lzb=function(a){var b,c;return qe(function(d){if(1==d.nextAddress)return b={issueId:a.issueId,summaryType:1,customPrompt:a.lastCustomPrompt},d.yield((0,E.firstValueFrom)(a.matDialogService.open(d8,{maxWidth:560,data:b}).afterClosed()),2);if(c=d.yieldResult)a.stage$.next("custom"),a.customSummaryRequested$.next(c),a.lastCustomPrompt=c;we(d)})};e8.prototype.isString=function(a){return"string"===typeof a};
e8.prototype.trackThumbsUp=function(){Ak("thumbsup");this.thumbsUpClicked=this.hasReacted=!0;this.analytics.trackEvent(Kp.LLM_SUMMARIZE,"accept",cNc(this))};e8.prototype.trackThumbsDown=function(){Ak("thumbsdown");this.thumbsDownClicked=this.hasReacted=!0;this.analytics.trackEvent(Kp.LLM_SUMMARIZE,"reject",cNc(this))};var cNc=function(a){return JSON.stringify({id:a.issueId,stage:a.stage$.value})};e8.prototype.openFeedbackDialog=function(){this.userFeedback.startFeedback()};
e8.prototype.copySummary=function(a){navigator.clipboard.writeText(a);this.analytics.trackEvent(Kp.LLM_SUMMARIZE,"copy",cNc(this))};e8.\u0275fac=function(a){return new (a||e8)(B(HX),B(IX),B(vA),B(nt),B(aI),B(NL))};
e8.\u0275cmp=r({type:e8,selectors:[["llm-summary"]],inputs:{issueId:"issueId"},decls:12,vars:3,consts:[["class","summary carded margin-s-sides margin-s-bottom flex-kids-x padded-sides main-div",4,"ngIf"],["showHeader",""],["showStage",""],["summaryLoading",""],["renderedSummary",""],["showingSummary",""],[1,"summary","carded","margin-s-sides","margin-s-bottom","flex-kids-x","padded-sides","main-div"],["svgIcon","chat_spark_24px","color","primary",1,"margin-s-right","shrink-0"],[1,"flex-kids-y","gap-s",
"full-width"],[3,"ngTemplateOutlet"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"uppercase","badged","early-access"],[3,"panelTemplate"],["svgIcon","help-outline",1,"icon-s"],["aiHelp",""],[4,"ngIf"],[1,"flex-kids-x","gap-s"],["mat-flat-button","","color","primary","class","gmat-button small",3,"click",4,"ngIf","ngIfElse"],["notSummarizable",""],["mat-button","","color","secondary","class","gmat-button small",3,"click",4,"ngIf"],["mat-flat-button",
"","color","primary",1,"gmat-button","small",3,"click"],[3,"matTooltip"],["mat-flat-button","","color","primary",1,"gmat-button","small",3,"disabled"],["mat-button","","color","secondary",1,"gmat-button","small",3,"click"],[4,"ngIf","ngIfElse"],[3,"content",4,"ngIf","ngIfElse"],["plainTextSummary",""],[3,"content"],[1,"white-space-pre-wrap","overflow"],[1,"flex-kids-x","space-between","full-width"],[1,"type-s","instructional"],["mat-icon-button","","matTooltip","Copy","aria-label","copy summary",
1,"gmat-button","feedback-button",3,"click"],["svgIcon","copy"],["mat-icon-button","","matTooltip","Send feedback","aria-label","send feedback",1,"gmat-button","feedback-button",3,"click"],["svgIcon","feedback-outline"],["mat-icon-button","","aria-label","thumb up",1,"gmat-button","feedback-button",3,"disabled","click"],["svgIcon","thumb_up_24px",3,"ngClass"],["mat-icon-button","","aria-label","thumb down",1,"gmat-button","feedback-button",3,"disabled","click"],["svgIcon","thumb_down_24px",3,"ngClass"],
[1,"instructional"]],template:function(a,b){a&1&&(F(0,fzb,6,4,"div",0),W(1,"async"),F(2,hzb,7,1,"ng-template",null,1,tg)(4,uzb,3,3,"ng-template",null,2,tg)(6,vzb,1,0,"ng-template",null,3,tg)(8,yzb,3,2,"ng-template",null,4,tg)(10,Ezb,3,3,"ng-template",null,5,tg));a&2&&G("ngIf",X(1,1,b.isSummarizable$))},dependencies:[Sv,Uv,Zv,MA,eK,eA,dC,mL,AK,zT,$v],styles:[".main-div[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg)}.feedback-button[_ngcontent-%COMP%]{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;border-radius:24px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;height:1.75em;line-height:1.75em;padding:0 0 0 0;color:#3c4043;color:var(--gfx);min-width:20px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:8px}.feedback-button[_ngcontent-%COMP%]   .has-reacted-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--text-primary)}.instructional[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}mat-icon[_ngcontent-%COMP%]{vertical-align:bottom}\n/*# sourceMappingURL=llm_summary.css.map */"]});var f8=function(a,b,c,d,e,f,h,k,q,t,w){Z.call(this);var y=this;this.brain=a;this.preferences=b;this.scrollTiming=c;this.analytics=d;this.element=e;this.editIssueService=f;this.appEvents=h;this.routePerformance=k;this.clearcut=q;this.activeSession=t;this.issuePermissionService=w;this.id$=this.brain.id$;this.issueAndEvents$=(0,E.combineLatest)([this.brain.issueJs$.pipe(He(Boolean)),this.brain.eventsJs$]);this.enableSummarySection=yD(this.activeSession,"enableSummarySection");this.enableIDPCanonicalRecommendation=
yD(this.activeSession,"enableIDPCanonicalRecommendation");this.enableLlmSummarization=yD(this.activeSession,"enableLlmSummarization")&&this.activeSession.isInternalSession();this.enableGoosePrompting=yD(this.activeSession,"enableGoosePrompting")&&this.activeSession.isInternalSession();this.enableGoosePromptingSupportedIssues=yD(this.activeSession,"enableGoosePromptingSupportedIssues")&&this.activeSession.isInternalSession();this.enableCommentSlickCompose=yD(this.activeSession,"enableCommentSlickCompose")&&
this.activeSession.isInternalSession();this.showRecentEventsFirst=!1;this.comment$=this.id$.pipe(He(jl),af(function(C){return y.editIssueService.issueCommentDraft(C).comment$}));this.finishedRendering$=(0,E.combineLatest)([this.brain.eventsJs$.pipe(Oe(0)),IXa("#AddCommentBox textarea",this.element.nativeElement)]).pipe(Qe());this.isUsingSlickCompose=!1};Y(f8,Z);f8.\u0275dir=Z.\u0275dir;
f8.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(He(jl),bf(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.destroyed$.subscribe(function(){dNc(a)});IXa("#comment1 .critical-feature",this.element.nativeElement).pipe(bf(this.destroyed$)).subscribe(function(){var b=function(){dwc(a.routePerformance,"issue-details-w-comments")};requestAnimationFrame(b);setTimeout(b)});this.subscriptions.add(this.issueAndEvents$.pipe(Te()).subscribe(function(b){var c=
l(b);b=c.next().value;c=c.next().value;eNc(a,b,c)}));this.subscriptions.add(this.finishedRendering$.pipe(df(this.comment$)).subscribe(function(b){b=l(b);b.next();b.next().value.hasContent()&&a.appEvents.scrollToCommentBox.next()}))};f8.prototype.closeSlickCompose=function(){this.isUsingSlickCompose=!1};
var eNc=function(a,b,c){var d=b.issue,e=c.map(function(f){return f.unlinkifiedComment});b=bCa(d,c).length;d=cCa(d,c);e=e.filter(Boolean).length;b=5<=b||10<=e||10<=d?"collab":"other";F3b(a.clearcut,"view_idp_"+b);Ik("dimension10",b);c=c.some(function(f){var h,k,q;return 0<(null!=(q=null==(h=f.commentReactions)?void 0:null==(k=h.get("UPVOTE"))?void 0:k.count)?q:0)});a.analytics.trackEvent(Kp.EDIT_ISSUE,"view",c?"hasUpvoteReaction":"noUpvoteReaction")};f8.prototype.unloadPageHandler=function(){dNc(this)};
var dNc=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,f=1;f<b.length;f++)2E3>b[f]-d||(e+=d-c,c=b[f]),d=b[f],f===b.length-1&&(e+=b[f]-c);a.analytics.trackEvent(Kp.EDIT_ISSUE,"scroll","commentThread",e);WH(a.clearcut,e,"idp-time-scrolling-comments-recentFirst-"+a.showRecentEventsFirst)}};
f8.\u0275fac=function(a){return new (a||f8)(B(eP),B(LE),B(TL),B(aI),B(Hd),B(lP),B(lG),B(E0),B(VH),B(nt),B(gP))};
f8.\u0275cmp=r({type:f8,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&Q("unload",function(){return b.unloadPageHandler()},!1,Nd)},features:[yf],decls:8,vars:11,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"],[1,"carded","margin-top","slick-compose-note"],[3,"click"],["extraCommentAction","","mat-icon-button","","aria-label","Open pop out window to compose comment","class","gmat-button open-slick-compose",
"matTooltip","Pop-out reply",3,"click",4,"ngIf"],["extraCommentAction","","mat-icon-button","","aria-label","Open pop out window to compose comment","matTooltip","Pop-out reply",1,"gmat-button","open-slick-compose",3,"click"],["svgIcon","branding_watermark_24px"],[3,"issueId","closeSlickCompose",4,"ngIf"],[3,"issueId","closeSlickCompose"]],template:function(a,b){a&1&&(H(0,"div",0),F(1,Kzb,8,8,"ng-container",1),W(2,"async"),F(3,Lzb,3,5,"issue-summary-card",2),W(4,"async"),F(5,Rzb,6,6,"div",3),W(6,
"async"),K(),F(7,Tzb,3,3,"ng-container",1));a&2&&(G("bFocus",!0),A(1),G("ngIf",X(2,5,b.id$)),A(2),G("ngIf",b.enableSummarySection&&X(4,7,b.id$)),A(2),G("ngIf",X(6,9,b.id$)),A(2),G("ngIf",b.enableCommentSlickCompose))},dependencies:[Uv,MA,eA,dC,A7,j7,rX,i7,g7,t7,Q7,a7,T7,e8,c8,b7,$v],styles:["issue-summary-card[_ngcontent-%COMP%]{padding:8px}.summary[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg)}"]});var g8=function(){};g8.\u0275fac=function(a){return new (a||g8)};g8.\u0275mod=Tc({type:g8});g8.\u0275inj=Ec({imports:[zD,CL,QC,UK]});var h8=function(){};h8.\u0275fac=function(a){return new (a||h8)};h8.\u0275mod=Tc({type:h8});h8.\u0275inj=Ec({imports:[sJ,DW,kU,zD,EL,Tw,WE,kC,hL,FW,g8,sU]});var i8=function(){};i8.\u0275fac=function(a){return new (a||i8)};i8.\u0275mod=Tc({type:i8});i8.\u0275inj=Ec({imports:[zD,kC,QC,h8]});var j8=function(){};j8.\u0275fac=function(a){return new (a||j8)};j8.\u0275mod=Tc({type:j8});j8.\u0275inj=Ec({imports:[zD]});var k8=function(){};k8.\u0275fac=function(a){return new (a||k8)};k8.\u0275mod=Tc({type:k8});k8.\u0275inj=Ec({imports:[zD,Q_,j8,HD,kC,QC,Z3,DL]});var l8=function(){};l8.\u0275fac=function(a){return new (a||l8)};l8.\u0275mod=Tc({type:l8});l8.\u0275inj=Ec({imports:[Q_,k8,kU,zD,YM,UK,xP,kC,QC,Z3,$P,SK,AP]});var m8=function(){};m8.\u0275fac=function(a){return new (a||m8)};m8.\u0275mod=Tc({type:m8});m8.\u0275inj=Ec({imports:[zD,DD,AA,EE,hL,kC,MM,AG,Tw,Uw,QK,QC,Ux]});var n8=function(){};n8.\u0275fac=function(a){return new (a||n8)};n8.\u0275mod=Tc({type:n8});n8.\u0275inj=Ec({imports:[zD,kC,QC,GA,KA]});var o8=function(a){Z.call(this);this.prefs=a};Y(o8,Z);o8.\u0275dir=Z.\u0275dir;o8.prototype.onChange=function(a){this.prefs.save({useCodefont:a.checked}).pipe(bf(this.destroyed$)).subscribe()};o8.\u0275fac=function(a){return new (a||o8)(B(LE))};
o8.\u0275cmp=r({type:o8,selectors:[["b-toggle-code-font"]],features:[yf],ngContentSelectors:["*"],decls:3,vars:3,consts:[["matTooltip","Use a monospace typeface to display all comments",3,"checked","change"]],template:function(a,b){a&1&&(Vf(),H(0,"mat-slide-toggle",0),Q("change",function(c){return b.onChange(c)}),W(1,"async"),Wf(2),K());a&2&&G("checked",X(1,1,b.prefs.codeFont$))},dependencies:[oQ,dC,$v],styles:["mat-slide-toggle[_ngcontent-%COMP%] {font-size: 14px; }"],changeDetection:0});var p8=function(){};p8.\u0275fac=function(a){return new (a||p8)};p8.\u0275mod=Tc({type:p8});p8.\u0275inj=Ec({imports:[zD,kC,hL,AA,pQ,AG,QC,SK]});var q8=function(){};q8.\u0275fac=function(a){return new (a||q8)};q8.\u0275mod=Tc({type:q8});q8.\u0275inj=Ec({providers:[F6],imports:[zD,EL,WE,UW,m8,UK,aW,cW,bW,n8,kC,QC,EE,QK,p8]});var r8=function(){};r8.\u0275fac=function(a){return new (a||r8)};r8.\u0275mod=Tc({type:r8});r8.\u0275inj=Ec({imports:[zD,kC,GA,KP]});var s8=function(){};s8.\u0275fac=function(a){return new (a||s8)};s8.\u0275mod=Tc({type:s8});s8.\u0275inj=Ec({imports:[zD]});var t8=function(){};t8.\u0275fac=function(a){return new (a||t8)};t8.\u0275mod=Tc({type:t8});t8.\u0275inj=Ec({imports:[zD,UK,aW,YM,AP,PP,kU]});var u8=function(){};u8.\u0275fac=function(a){return new (a||u8)};u8.\u0275mod=Tc({type:u8});u8.\u0275inj=Ec({imports:[zD,kU]});var w8=function(){};w8.\u0275fac=function(a){return new (a||w8)};w8.\u0275mod=Tc({type:w8});w8.\u0275inj=Ec({imports:[Q_,k8,kU,zD,YM,UK,t8,xP,Z3,$P,AP,QC,u8,kC,s8]});var x8=function(){};x8.\u0275fac=function(a){return new (a||x8)};x8.\u0275mod=Tc({type:x8});x8.\u0275inj=Ec({imports:[zD,w8,t8,kC,SK]});var y8=function(){};y8.\u0275fac=function(a){return new (a||y8)};y8.\u0275mod=Tc({type:y8});y8.\u0275inj=Ec({imports:[zD,kC,AG]});var z8=function(){};z8.\u0275fac=function(a){return new (a||z8)};z8.\u0275mod=Tc({type:z8});z8.\u0275inj=Ec({imports:[kU,zD,x8,l8,cW,n8,kC,QC,SK,QK,y8,AP,AG]});var A8=function(){};A8.\u0275fac=function(a){return new (a||A8)};A8.\u0275mod=Tc({type:A8});A8.\u0275inj=Ec({imports:[zD,kC,QC,RM]});var B8=function(){};B8.\u0275fac=function(a){return new (a||B8)};B8.\u0275mod=Tc({type:B8});B8.\u0275inj=Ec({imports:[kU,zD,YM,cW,bW,kC,$B,QC,A8]});var C8=function(){};C8.\u0275fac=function(a){return new (a||C8)};C8.\u0275mod=Tc({type:C8});C8.\u0275inj=Ec({imports:[zD,UK,xP,CL,$P]});var D8=function(){};D8.\u0275fac=function(a){return new (a||D8)};D8.\u0275mod=Tc({type:D8});D8.\u0275inj=Ec({imports:[C8,zD,UK,xP,kC,CL,$P,EE,eM]});var E8=function(){};E8.\u0275fac=function(a){return new (a||E8)};E8.\u0275mod=Tc({type:E8});E8.\u0275inj=Ec({imports:[kU,zD,KJ]});var F8=function(){};F8.\u0275fac=function(a){return new (a||F8)};F8.\u0275mod=Tc({type:F8});F8.\u0275inj=Ec({imports:[zD,bW,kC,QC,E8,vP,$P,EE,C8]});var G8=function(){};G8.\u0275fac=function(a){return new (a||G8)};G8.\u0275mod=Tc({type:G8});G8.\u0275inj=Ec({imports:[C8,zD,kC,E8]});var H8=function(){};H8.\u0275fac=function(a){return new (a||H8)};H8.\u0275mod=Tc({type:H8});H8.\u0275inj=Ec({imports:[zD,L5,SK]});var I8=function(){};I8.\u0275fac=function(a){return new (a||I8)};I8.\u0275mod=Tc({type:I8});I8.\u0275inj=Ec({imports:[zD,kC,ny]});var J8=function(){};J8.\u0275fac=function(a){return new (a||J8)};J8.\u0275mod=Tc({type:J8});J8.\u0275inj=Ec({imports:[zD,I8,D8,F8,G8,H8]});var K8=function(){};K8.\u0275fac=function(a){return new (a||K8)};K8.\u0275mod=Tc({type:K8});K8.\u0275inj=Ec({imports:[AA,hL,zD,ry,kC,kU,oU]});var L8=function(){};L8.\u0275fac=function(a){return new (a||L8)};L8.\u0275mod=Tc({type:L8});L8.\u0275inj=Ec({imports:[kU,zD]});var M8=function(){};M8.\u0275fac=function(a){return new (a||M8)};M8.\u0275mod=Tc({type:M8});M8.\u0275inj=Ec({imports:[zD,YM,kC,AA,ry,vP,CL,L8,AP]});var N8=function(){};N8.\u0275fac=function(a){return new (a||N8)};N8.\u0275mod=Tc({type:N8});N8.\u0275inj=Ec({imports:[Q_,kU,zD,YM,K8,UK,xP,kC,QC,CL,M8,L8]});var O8=function(){};O8.\u0275fac=function(a){return new (a||O8)};O8.\u0275mod=Tc({type:O8});O8.\u0275inj=Ec({imports:[zD,kC,AA,XK,DL]});var P8=function(){};P8.\u0275fac=function(a){return new (a||P8)};P8.\u0275mod=Tc({type:P8});P8.\u0275inj=Ec({imports:[zD,SK,kC,AA,QC,DL,XK,kU]});var Q8=function(){};Q8.\u0275fac=function(a){return new (a||Q8)};Q8.\u0275mod=Tc({type:Q8});Q8.\u0275inj=Ec({imports:[zD,iz,Ty,Tw,kC,AA,jU,QC,Uw,EE,B8,r8,sX,q8,l8,z8,J8,F8,h8,eM,N8,AP,SK,P8,O8,i8]});var fNc=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),He(jl));this.commentNumberToEventMap$=this.issue$.pipe(D(function(f){return f.issueId}),af(function(f){return e.eventsForIssueFridge.watch(f)}),D(function(f){var h;return null!=(h=null==f?void 0:f.events)?h:[]}),D(function(f){return new Map(f.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(f){f=l(f);var h=f.next().value,k=f.next().value,q;return(null==(q=h.relatedLinks)?void 0:q.map(function(t){return Object.assign({},t,{comment:k.get(t.sourceCommentNumber)})}))||[]}));this.issueReferences$=this.relatedLinks$.pipe(D(function(f){return f.filter(UIa)}));this.imageLinks$=this.relatedLinks$.pipe(D(function(f){return f.filter(QIa)}));this.otherLinks$=this.relatedLinks$.pipe(D(function(f){return f.filter(VIa)}))};
fNc.\u0275fac=function(a){return new (a||fNc)(B(nt),B(iI),B(eP),B(AH))};
fNc.\u0275cmp=r({type:fNc,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),F(1,aAb,7,9,"ng-container",1),W(2,"async"),K());a&2&&(A(1),G("ngIf",X(2,1,b.issue$)))},dependencies:[Uv,
MA,G7,D7,I7,$v],styles:["[_nghost-%COMP%]{display:block;padding:8px}h4[_ngcontent-%COMP%]{margin:16px 0}mat-icon[_ngcontent-%COMP%]{vertical-align:text-bottom}"]});var R8=function(){};R8.\u0275fac=function(a){return new (a||R8)};R8.\u0275mod=Tc({type:R8});R8.\u0275inj=Ec({imports:[zD,F8,D8,G8]});var S8=function(a,b){var c=this;this.brain=a;this.codeMentions=b;this.ROBOT_SLEEPING=f7b;this.id$=this.brain.id$.pipe(He(jl));this.codeMentionsState$=this.id$.pipe(af(function(d){return ZJc(c.codeMentions,d)}))};S8.prototype.displayPackageNames=function(a){return this.codeMentions.displayPackageNames(a)};S8.prototype.trackSqueegeeClick=function(){this.codeMentions.trackSqueegeeClick()};S8.\u0275fac=function(a){return new (a||S8)(B(eP),B(S5))};
S8.\u0275cmp=r({type:S8,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),F(1,gAb,3,3,"ng-container",1),W(2,"async"),K());a&2&&(A(1),G("ngIf",X(2,1,b.id$)))},dependencies:[Tv,Uv,fHc,$v],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 T8=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()};T8.prototype.ngOnInit=function(){this.pageTitle.setTitle("All of my hotlists");this.fetchUserHotlists()};
T8.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)})};T8.\u0275fac=function(a){return new (a||T8)(B(XD,2),B(UG),B(SH),B(cF),B(FG))};
T8.\u0275cmp=r({type:T8,selectors:[["list-hotlists-page"]],features:[bg([XD])],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),T(1,"Browse Hotlists"),K(),H(2,"div",1)(3,"a",2),T(4," Create Hotlist "),K()(),H(5,"div",3),F(6,hAb,1,1,"b-spinner",4)(7,iAb,1,1,"b-hotlist-grid",5),K());a&2&&
(A(3),G("href",b.createHotlistPath,Wd),A(3),G("ngIf",b.isLoading),A(1),G("ngIf",!b.isLoading))},dependencies:[Uv,d_,eK,fA],encapsulation:2});var gNc=new Set(["issueId","modifiedTime","createdTime"]),U8=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I,P,O,U,aa,na,sa,Ba,Pa,Ja,cb,qb){Z.call(this);var Ra=this;this.cdr=a;this.routerEvents=b;this.window=c;this.bLocation=d;this.$log=e;this.issueApi=f;this.userApi=h;this.hotlistApi=k;this.activeSession=q;this.butterBar=t;this.analytics=w;this.appSearchState=y;this.issuePagination=C;this.userPreferencesManager=J;this.urlPreferences=I;this.gridPreferencesFetcher=P;this.paths=O;this.timeout=U;this.errorHandler=
aa;this.statusMessages=na;this.domSafe=sa;this.appEvents=Ba;this.hotlistFridge=Pa;this.issueFridge=Ja;this.batchIssueRelationshipsService=cb;this.componentFridge=qb;this.focusedRowIndex=this.displayColumns=null;this.isInitializing=!0;this.currentUserEmail=this.activeSession.getUserEmail();this.searchResults=null;this.hotlistChoices=[];this.hotlistMap={};this.customFieldMap={};this.gridControls=this.cachedSort=null;this.issueColumnsInternal=[];this.metaColumns=[];this.sortPreferences=[];a=[{keys:["j"],
displayAs:"j",description:"Move to the next issue",onPress:function(){var fa;null==(fa=Ra.resultsGrid)||J2a(fa)}},{keys:["k"],displayAs:"k",description:"Move to the previous issue",onPress:function(){var fa;null==(fa=Ra.resultsGrid)||K2a(fa)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var fa;null==(fa=Ra.resultsGrid)||Mtc(fa)}},{keys:["s"],displayAs:"s",description:"Star/Unstar the current issue",onPress:function(){var fa;null==(fa=Ra.resultsGrid)||
Otc(fa)}},{keys:[Sj("i")],displayAs:"Shift+i",description:"Mark as read",onPress:function(){var fa;null==(fa=Ra.resultsGrid)||Ptc(fa,!0)}},{keys:[Sj("u")],displayAs:"Shift+u",description:"Mark as unread",onPress:function(){var fa;null==(fa=Ra.resultsGrid)||Ptc(fa,!1)}},{keys:[Tj("*","a")],displayAs:"* then a",description:"Select all issues on this page",onPress:function(){var fa;null==(fa=Ra.resultsGrid)||fa.selectAll()}},{keys:[Tj("*","n")],displayAs:"* then n",description:"Deselect all issues on this page",
onPress:function(){var fa;null==(fa=Ra.resultsGrid)||Ktc(fa)}},{keys:["a"],displayAs:"a",description:"Change assignee",onPress:function(){var fa;null==(fa=Ra.gridControls)||vW(fa,null,0)}},{keys:["d"],displayAs:"d",description:"Mark as duplicate",onPress:function(){var fa;null==(fa=Ra.gridControls)||vW(fa,Mk.DUPLICATE,3)}},{keys:["h"],displayAs:"h",description:"Edit hotlists",onPress:function(){var fa;if(null!=(fa=Ra.gridControls)&&fa.hasSelectedIssues()){var wa;null==(wa=fa.hotlistPicker)||wa.open()}}},
{keys:["r"],displayAs:"r",description:"Add comment",onPress:function(){var fa;null==(fa=Ra.gridControls)||coc(fa)}},{keys:["u",Sj("r")],displayAs:"u / Shift+r",description:"Refresh search results",onPress:function(){return Ra.refreshResults()}},{keys:[Tj("p","0"),Tj("p","1"),Tj("p","2"),Tj("p","3"),Tj("p","4")],displayAs:"p <n>",description:"Mark selected issues as priority n",onPress:function(fa){Ra.resultsGrid&&Ra.sendBulkEditRequest([{actions:[{fieldName:"priority",value:"P"+fa}],issueIds:Ra.resultsGrid.getSelectedIssues().map(function(wa){return wa.issueId})}])}},
{keys:[Cta("ENTER")],displayAs:"Ctrl+Enter",description:"Open current issue in new tab",onPress:function(){var fa=c.document.activeElement;if("A"===fa.tagName){var wa=Ra.paths.getBaseUrl();if(fa.href&&!fa.href.startsWith(wa)){Ra.domSafe.openInNewTab(fa.href);return}}var Ca;null==(Ca=Ra.resultsGrid)||KZ(Ca,{openInNewTab:!0})}},{keys:["o","ENTER"],displayAs:"o / Enter",description:"Open the current issue",onPress:function(fa){var wa=c.document.activeElement;if(1===fa&&"A"===wa.tagName)if(wa.href)fa=
Ra.paths.getBaseUrl(),wa.href.startsWith(fa)?Ra.bLocation.setUrl(wa.href.slice(fa.length)):Ra.domSafe.openInNewTab(wa.href);else{var Ca;null==(Ca=Ra.resultsGrid)||KZ(Ca)}else if(2===fa){var Wa;null==(Wa=Ra.resultsGrid)||KZ(Wa,{openInNewTab:!0})}else{var Va;null==(Va=Ra.resultsGrid)||KZ(Va)}}}];yD(this.activeSession,"enableIssueSidebar")&&a.push({keys:[Sj("o"),Sj("ENTER")],displayAs:"Shift+o / Shift+Enter",description:"Toggle current issue in sidebar",onPress:function(fa){var wa=c.document.activeElement;
1===fa&&"A"===wa.tagName&&wa.href?Ap(Ra.domSafe,wa.href):null!=(fa=Ra.resultsGrid)&&(fa.isIssueSidebarOpen=!fa.isIssueSidebarOpen,fa.cdr.detectChanges())}});this.BASE_HOTKEYS=a};Y(U8,Z);U8.prototype.ngOnInit=function(){var a=this;hNc(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(){hNc(a)})};
var iNc=function(a){var b=["priority","type","title","assignee","status"];a.activeSession.isInternalSession()&&b.push("minSlo");b.push("issueId","modifiedTime");return b.map(Ci)};
U8.prototype.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=l(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;a.hotlistFridge.announce(c);var d=a.hotlistMap[c.hotlistId];$h(d,c)||(d&&va(a.hotlistChoices,d),a.hotlistChoices.push(c),a.hotlistMap[c.hotlistId]=c,a.cdr.detectChanges())}}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var hNc=function(a){return jNc(a).then(function(){return a.getIssues()}).then(function(){return a.searchResults?(kNc(a,a.searchResults.issues),lNc(a,a.searchResults.startIndex,a.searchResults.endIndex)):Promise.resolve()}).finally(function(){a.cdr.detectChanges()})},kNc=function(a,b){var c;null==(c=a.issueSubscriptions)||c.unsubscribe();a.issueSubscriptions=new E.Subscription;b=l(b);for(c=b.next();!c.done;c=b.next())a.issueSubscriptions.add(a.issueFridge.watch(c.value.id).pipe(He(jl),bf(a.destroyed$)).subscribe(function(d){var e;
return qe(function(f){if(1==f.nextAddress)return a.searchResults?f.yield((0,E.firstValueFrom)(a.componentFridge.watch(d.snapshot[0].componentId,{trustUncertainMemory:!0})),3):f.jumpTo(2);if(2!=f.nextAddress){e=f.yieldResult;if(!e)return f.return();V1b(a.searchResults,[{issue:d,component:e}]);a.searchResults=a.searchResults.clone()}a.cdr.detectChanges();we(f)})}))},mNc=function(a){return null!=a.window.document.activeElement&&a.window.document.activeElement!==a.window.document.body},jNc=function(a){var b=
Oj();mNc(a)&&a.window.document.activeElement.blur();a.timeout.schedule(function(){b.resolve()});return b.promise},lNc=function(a,b,c){var d=Oj();mNc(a)||nNc(a,b,c);a.timeout.schedule(function(){d.resolve()});return d.promise},oNc=function(a,b){var c=a.activeSession.getMaxAccurateSearchResults();b.numResults>c&&!b.isPreSort&&(b=eh(["Number of search results exceeds "+c+" ; some matching issues may be omitted.",fh("br"),"Please try to restrict your search further or change the sort column to either CREATED or LAST MODIFIED. "]),
c={},c=fh("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=eh([fh("br"),"See ",c," for more details."]),b=a.activeSession.isInternalSession()?eh([b,c]):b,Z2b(a.butterBar,b))};g=U8.prototype;
g.setSort=function(a,b,c){c=void 0===c?!0:c;var d=Ci(a);if(d){var e=new Fi(d,"ASC"===b?"ASCENDING":"DESCENDING");xa(this.sortPreferences,function(f){return $h(f.fieldId,e.fieldId)});!c||gNc.has(a)?this.sortPreferences=[e]:this.sortPreferences=[e].concat(this.sortPreferences.slice(0,2));this.saveSortColumns(this.sortPreferences)}else this.$log.warn("WARNING: Invalid field name specified "+a)};
g.getSort=function(){if(!this.sortPreferences.length)return null;var a=this.sortPreferences[0];a={field:"CUSTOM_FIELD"===a.fieldId.type?String(a.fieldId.customFieldId):di(a.fieldId.type),direction:"ASCENDING"===a.direction?"ASC":"DESC"};$h(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};g.saveSortColumns=function(a){g_(this.urlPreferences,{sortColumns:a,page:1})};
g.initColumns=function(a,b){var c=this;b=void 0===b?pNc:b;a.then(function(d){c.displayColumns=d;c.metaColumns=b;c.isColumnSaveEnabled=!0;c.issueColumnsInternal=[].concat(u(b),u(EXa(d)));c.cdr.detectChanges()})};g.saveColumns=function(a){this.displayColumns=a.map(function(b){return Ci(b.name)});g_(this.urlPreferences,{displayColumns:this.displayColumns})};
g.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?Ap(this.domSafe,a):this.bLocation.setUrl(a))};g.goToPage=function(a){this.bLocation.search("p",a)};var $s=function(a,b,c){void 0!==b&&a.goToPage(b+c)};g=U8.prototype;g.refreshResults=function(){uG(this.issuePagination);return hNc(this)};
g.hasResults=function(){return this.searchResults&&0<this.searchResults.issues.length};
g.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=l(a[0].issueIds);for(var e=b.next();!e.done;e=b.next()){e=e.value;var f=void 0;null==(f=this.searchResults)||W1b(f,e,d)}this.cdr.detectChanges();Fs(this.butterBar,"Saving changes...",0);return lI(this.issueFridge,a[0].issueIds,{markRead:d,userActivityType:"MARK_AS_READ_OR_UNREAD"}).then(function(k){for(var q=l(a[0].issueIds),t=q.next();!t.done;t=
q.next()){t=t.value;var w=void 0,y=void 0;null==(w=c.searchResults)||W1b(w,t,void 0,null!=(y=k)?y:null)}Fs(c.butterBar,"Successfully marked issues "+(d?"read.":"unread."))}).catch(function(k){for(var q=l(a[0].issueIds),t=q.next();!t.done;t=q.next()){t=t.value;var w=void 0;null==(w=c.searchResults)||W1b(w,t)}c.errorHandler.errorHandler(null,k)}).finally(function(){c.cdr.detectChanges()})}e=iLa(a).map(function(k){return k.fieldName});this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"bulkEdit",e.join(","));
var h={bulkEditOps:a};Fs(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(k){if(c.searchResults){c.searchResults=c.searchResults.clone();for(var q=l(c.searchResults.issues.entries()),t=q.next();!t.done;t=q.next()){var w=l(t.value);t=w.next().value;w=w.next().value;k.finishedIssues[w.issueId]&&(t=c.searchResults.issues[t],fwa(t,k.finishedIssues[w.issueId],null),
c.loadHotlists(t),Object.assign(c.customFieldMap,t.customFieldMap))}c.cdr.detectChanges()}w=a[0];q=k.notFinishedIssueIds;t=String(w.actions[0].value);w=w.actions[0].actionType;if("ADD"!==w&&"REMOVE"!==w)throw Error("Ce");q.length?(k="Failed to update issue(s) "+q.join(", ")+".",c.butterBar.showWarning(k),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+q.length)):Fs(c.butterBar,("ADD"===w?"Added child issue(s) to parent ["+t+"]":"Removed child issue(s) from parent ["+t+"]")+" on "+String(Object.keys(k.finishedIssues).length)+
" issues.");c.cdr.detectChanges()}).catch(function(k){c.errorHandler.errorHandler(null,k)}):this.issueApi.issueBulkEdit(h,b).then(function(k){if(c.searchResults){c.searchResults=c.searchResults.clone();for(var q=l(c.searchResults.issues.entries()),t=q.next();!t.done;t=q.next()){var w=l(t.value);t=w.next().value;w=w.next().value;k.affectedIssues[w.issueId]&&(w=k.affectedIssues[w.issueId],t=c.searchResults.issues[t],fwa(t,w,k.componentMap[qa(w.snapshot).componentId]),c.loadHotlists(t),Object.assign(c.customFieldMap,
t.customFieldMap))}c.cdr.detectChanges()}k.errors&&k.errors.length?(q="Failed to update issue(s) "+(zra(k.errors,"issueId").join(", ")+"."),c.butterBar.showWarning(q),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+k.errors.length)):(k=tac(c.statusMessages,h,c.customFieldMap))?Fs(c.butterBar,k):Fs(c.butterBar,"Saved "+jLa(h.bulkEditOps).length+" issue(s).");c.cdr.detectChanges()}).catch(function(k){c.errorHandler.errorHandler(null,k)})};
g.loadHotlists=function(a){var b=this;a=l(a?[a]:this.searchResults?this.searchResults.issues:[]);for(var c=a.next();!c.done;c=a.next()){c=c.value;if(!c.hotlistId)break;c=l(c.hotlistId);for(var d=c.next();!d.done;d=c.next())d=d.value,this.hotlistMap[d]||this.hotlistApi.get(d).then(function(e){b.hotlistFridge.announce(e);b.addHotlist(e)})}};g.addHotlist=function(a){this.hotlistMap[a.hotlistId]||(this.hotlistMap[a.hotlistId]=a,this.hotlistChoices.push(a))};
g.createHotlist=function(a){var b=this,c=a.name,d=a.successCallback;a=a.errorCallback;this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"createHotlist");Fs(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);Fs(b.butterBar,"Hotlist "+c+" created successfully.");b.hotlistChoices.push(e);b.hotlistMap[e.hotlistId]=e;b.appEvents.hotlistCreated.next();d(e);b.cdr.detectChanges()}).catch(a)};
g.loadHotlist=function(a){var b=this,c=a.hotlistId,d=a.successCallback;a=a.errorCallback;Fs(this.butterBar,"Loading hotlist "+c);this.hotlistMap[c]||this.hotlistApi.get(c).then(function(e){b.hotlistFridge.announce(e);b.addHotlist(e);d(e);b.cdr.detectChanges()}).catch(a)};g.exportCsv=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"exportCsv");mM(this.domSafe,this.getCsvUrl())};
var qNc=function(a,b){a.userPreferencesManager.save({resultsPerPage:b}).pipe(bf(a.destroyed$)).subscribe(function(){a.resultsPerPage=b;g_(a.urlPreferences,{page:1});a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"resultsPerPageSave",b.toString());a.refreshResults();a.cdr.detectChanges()},function(c){zk(c)})},nNc=function(a,b,c){var d=a.issuePagination.getFocusedIssue();a.timeout.schedule(function(){if(d>=b&&d<=c)a.focusedRowIndex=d-b;else{O2b(a.issuePagination);a.focusedRowIndex=0;var e=document.querySelector(".bv2-view");
e&&(e.scrollTop=0)}a.cdr.detectChanges()})},qAb=function(){setTimeout(function(){var a=document.querySelector(".b-select-all-toggle");a&&a.focus()})};
Gh.Object.defineProperties(U8.prototype,{issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){$h(this.issueColumnsInternal,a)||(this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"columnModification",DCa(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 pNc=[LZ,MZ,NZ];
U8.\u0275fac=function(a){return new (a||U8)(B(XD),B(JE),B(Window),B(bF),B(GE),B(kG),B(SH),B(PF),B(nt),B(EG),B(aI),B(GK),B(sG),B(LE),B(f_),B(h_),B(cF),B(QD),B(FG),B(NO),B(lM),B(lG),B(TH),B(iI),B(A0),B(mH))};U8.\u0275dir=Vc({type:U8,features:[yf]});var mAb=function(){return{q:"status:open"}},V8=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I,P,O,U,aa,na,sa,Ba,Pa,Ja,cb,qb,Ra,fa,wa,Ca,Wa){U8.call(this,a,b,c,d,f,h,k,q,e,t,w,y,C,J,I,P,O,U,Pa,aa,na,cb,Ra,fa,Ca,Wa);this.hotkeys=sa;this.pageTitle=Ba;this.routePerformance=Ja;this.element=qb;this.currentTracker=wa;this.ANALYTICS_CATEGORY=Kp.LIST_ISSUES;this.isLoading=!0;this.showHotlists=!1;this.SPACE_EMPTY_STATE=i7b;this.cancelConcurrentlyRunningSearches$=new E.Subject};Y(V8,U8);V8.\u0275dir=U8.\u0275dir;
g=V8.prototype;g.ngOnInit=function(){var a=this;U8.prototype.ngOnInit.call(this);this.subscriptions.add(UE(this.hotkeys,{title:"Issue List",hotkeys:this.BASE_HOTKEYS}));this.subscriptions.add(this.userPreferencesManager.listViewPreferences$.subscribe(function(b){a.showHotlists=b.showHotlists}))};
g.getIssues=function(){var a=this,b=this.bLocation.search().warning;b&&(Array.isArray(b)&&(b=b[0]),this.butterBar.showWarning(b));this.query=this.urlPreferences.getQuery();if(!this.query)return this.activeSession.isAnonymous()?(this.query="",HK(this.appSearchState,this.query),this.searchResults=null,this.setPageTitle(),this.isLoading=!1):(this.routePerformance.ignoringNextNav=!0,g_(this.urlPreferences,{query:"assignee:"+this.currentUserEmail+" status:open"},!0)),Promise.resolve(void 0);HK(this.appSearchState,
this.query);b=t6b(this.appSearchState);if(0<b)return $1b(this.bLocation,this.paths.viewHotlist(b)),g_(this.urlPreferences,{query:null},!0),Promise.resolve(void 0);b=u6b(this.appSearchState);if(0<b)return $1b(this.bLocation,this.paths.viewSavedSearch(b)),g_(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(Ija()),IXa("b-issues-grid, #no-results",this.element.nativeElement)).subscribe(function(){var c=
function(){dwc(a.routePerformance,"issue-list-w-results")};requestAnimationFrame(c);setTimeout(c)}));return this.doSearch().then(function(c){c&&(a.isLoading=!1,a.cdr.detectChanges())}).catch(function(){a.isLoading=!1;a.cdr.detectChanges()})};
g.doSearch=function(){var a=this;this.cancelConcurrentlyRunningSearches$.next(new rNc);var b=this.gridPreferencesFetcher.fetch({resultsPerPage:25,page:1,query:"",sortColumns:[],displayColumns:iNc(this)}),c=Promise.race([b.searchPreferences.then(function(f){f=ai(f);f.query=a.computeQuery(f);f.returnUrl=a.bLocation.getUrl();f.trackerIds=a.appSearchState.currentTrackerScope;return tG(a.issuePagination,f)}),(0,E.firstValueFrom)(this.cancelConcurrentlyRunningSearches$)]),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(f){f instanceof rNc||oNc(a,f)}).catch(function(f){"number"===typeof f?g_(a.urlPreferences,{page:f}):a.errorHandler.errorHandler(null,f)});b=b.displayColumns;this.initColumns(b);return no({searchResultsPage:c,displayColumns:b}).then(function(f){var h=f.searchResultsPage;if(h instanceof rNc)return!1;
a.searchResults=a.processSearchResults(h);a.page=h.params.page;a.sortPreferences=h.params.sortColumns||[];a.loadHotlists();a.cdr.detectChanges();f=f.displayColumns.join("|");h=a.sortPreferences.join("|");a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"issueSearch",f+" ("+h+")");return!0})};g.processSearchResults=function(a){return a};g.computeQuery=function(){return this.query};g.saveColumns=function(a){this.displayColumns=a.map(function(b){return Ci(b.name)});y1b(this.userPreferencesManager,FXa(a)).pipe(bf(this.destroyed$)).subscribe()};
g.setPageTitle=function(){this.appSearchState.currentQuery===IK(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===s6b(this.currentUserEmail)?this.pageTitle.setTitle("To be verified"):this.pageTitle.setTitle(this.query)};
g.saveSortColumns=function(a){var b=this,c=this.bLocation.search();a=a.map(function(d){return{column:d.fieldId,order:d.direction}});this.userPreferencesManager.saveSortColumns(a).pipe(bf(this.destroyed$)).subscribe(function(){g_(b.urlPreferences,{page:1,sortColumns:null});qAb();var d=b.bLocation.search();$h(c,d)&&b.refreshResults()})};g.getCsvUrl=function(){return this.paths.issuesCsvAction(this.query,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
V8.\u0275fac=function(a){return new (a||V8)(B(XD),B(JE),B(ZF),B(bF),B(nt),B(GE),B(kG),B(SH),B(PF),B(EG),B(aI),B(GK),B(sG),B(LE),B(f_),B(h_),B(cF),B(QD),B(NO),B(lM),B(TE),B(UG),B(FG),B(E0),B(lG),B(Hd),B(TH),B(iI),B(SG),B(A0),B(mH))};
V8.\u0275cmp=r({type:V8,selectors:[["list-issues-page"]],features:[bg([XD]),yf],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),T(1,"Issue search results"),K(),H(2,"div",1)(3,"b-grid-controls",2),Q("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()}),K(),H(4,"div",3)(5,"b-pagination",4),Q("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",function(c){return qNc(b,c.option)}),K()()(),H(6,"div",5),F(7,jAb,4,1,"div",6)(8,pAb,9,8,"div",7)(9,rAb,2,6,"div",8),K());a&2&&(A(3),G("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices),A(2),G("searchResults",b.searchResults),A(1),Af("aria-busy",b.isLoading),A(1),G("ngIf",b.isLoading),A(1),G("ngIf",
!b.isLoading&&!b.hasResults()),A(1),G("ngIf",!b.isLoading&&b.hasResults()))},dependencies:[QZ,P_,IZ,Uv,eK,rX,AE,$v],styles:[".empty-state-img[_ngcontent-%COMP%]{max-width:320px;max-height:320px;padding-bottom:56px}/*# sourceMappingURL=list_issues.css.map */"]});var rNc=function(){},W8=function(){};W8.\u0275fac=function(a){return new (a||W8)};W8.\u0275mod=Tc({type:W8});W8.\u0275inj=Ec({imports:[c_,R_,M_,tJ,zD,SK,sX,EE]});var X8=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I,P,O,U,aa,na,sa,Ba,Pa,Ja,cb,qb,Ra,fa,wa,Ca,Wa,Va){V8.call(this,a,b,c,d,e,f,h,k,q,t,w,y,C,J,I,P,O,U,aa,na,sa,Ba,Pa,Ja,cb,qb,fa,wa,Ca,Wa,Va);this.issueLru=Ra;this.ANALYTICS_CATEGORY="recentIssues";this.recentIds=Array.from(this.issueLru.viewed.keys());this.initialLoad=!0};Y(X8,V8);X8.\u0275dir=V8.\u0275dir;
X8.prototype.ngOnInit=function(){V8.prototype.ngOnInit.call(this);this.pageTitle.setTitle("Recent Issues");this.appSearchState.clear();this.initialLoad=!0};X8.prototype.getIssues=function(){var a=this;this.searchResults=null;this.isLoading=!0;return 0===this.recentIds.length?(this.isLoading=!1,Promise.resolve()):this.doSearch().then(function(b){b&&(a.isLoading=!1,a.initialLoad=!1,a.cdr.detectChanges())}).catch(function(){a.isLoading=!1;a.initialLoad=!1;a.cdr.detectChanges()})};
X8.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("|")};X8.prototype.processSearchResults=function(a){this.initialLoad&&(a.params.sortColumns=[]);var b;null!=(b=a.params.sortColumns)&&b.length||(a.issues=vAb(this.recentIds,a.issues));return a};
X8.\u0275fac=function(a){return new (a||X8)(B(XD),B(JE),B(ZF),B(bF),B(nt),B(GE),B(kG),B(SH),B(PF),B(EG),B(aI),B(GK),B(sG),B(LE),B(f_),B(h_),B(cF),B(QD),B(NO),B(lM),B(TE),B(UG),B(FG),B(E0),B(lG),B(Hd),B(JK),B(TH),B(iI),B(SG),B(A0),B(mH))};
X8.\u0275cmp=r({type:X8,selectors:[["list-issues-recent"]],features:[bg([XD]),yf],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),T(1,"Recent Issues"),K(),H(2,"div",1)(3,"b-grid-controls",2),Q("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()}),K(),H(4,"div",3)(5,"b-pagination",4),Q("pageChange",function(d){return b.goToPage(d.page)})("resultsPerPageChange",function(d){return qNc(b,d.option)}),K()()(),H(6,"div",5),F(7,sAb,3,0,"div",6)(8,tAb,2,0,"div",7)(9,uAb,2,5,"div",8),K());if(a&2){var c;A(3);G("grid",null!==(c=b.resultsGrid)&&void 0!==c?c:void 0)("hotlistChoices",b.hotlistChoices);A(2);G("searchResults",
b.searchResults);A(1);Af("aria-busy",b.isLoading);A(1);G("ngIf",b.isLoading);A(1);G("ngIf",!b.isLoading&&!b.hasResults());A(1);G("ngIf",!b.isLoading&&b.hasResults())}},dependencies:[eK,QZ,P_,IZ,Uv],encapsulation:2});var Y8=function(a,b,c,d,e,f){this.cdr=a;this.pageTitle=b;this.paths=c;this.sloApi=d;this.errorHandler=e;this.activeSession=f;this.isLoading=!1;this.activeSlos=[];this.archivedSlos=[];this.createSloPath=this.paths.createSlo();this.sloEnabled=this.activeSession.isInternalSession();this.areArchivedSlosExpanded=!1};Y8.prototype.ngOnInit=function(){this.sloEnabled&&(this.pageTitle.setTitle("Manage SLOs"),sNc(this))};
var sNc=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)})};Y8.\u0275fac=function(a){return new (a||Y8)(B(XD,2),B(UG),B(cF),B(bX),B(FG),B(nt))};
Y8.\u0275cmp=r({type:Y8,selectors:[["list-slos-page"]],features:[bg([XD])],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),T(2," Create SLO "),K()(),H(3,"div",2),F(4,wAb,5,0,"div",3)(5,xAb,1,1,"b-spinner",4)(6,AAb,3,2,"ng-container",5)(7,EAb,6,5,"ng-container",5),K());a&2&&(A(1),G("href",b.createSloPath,Wd),A(3),G("ngIf",b.sloEnabled),A(1),G("ngIf",b.isLoading),A(1),G("ngIf",!b.isLoading),A(1),G("ngIf",!b.isLoading))},dependencies:[Uv,
MA,fA,v0,eK],encapsulation:2});var tNc=function(a){this.internalArray_=m(a)};Y(tNc,n);g=tNc.prototype;g.getAuthor=function(){return vi(this,ri,1)};g.setAuthor=function(a){ej(this,ri,1,a)};g.hasAuthor=function(){return Pi(this,ri,1)};g.getTimestamp=function(){return vi(this,Xi,2)};g.setTimestamp=function(a){return ej(this,Xi,2,a)};g.hasTimestamp=function(){return Pi(this,Xi,2)};g.getAdd=function(){return vi(this,fm,3)};g.getRemove=function(){return vi(this,fm,4)};g.getAddMask=function(){return vi(this,PC,5)};
g.getRemoveMask=function(){return vi(this,PC,6)};var Z8=function(a){this.internalArray_=m(a,0,Z8.messageId)};Y(Z8,n);Z8.prototype.getUpdatesList=function(){return zi(this,tNc,1)};Z8.repeatedFields_=[1];Z8.messageId="b.ComponentHistory";var $8=function(a,b){this.executor=b;this.componentHistoriesCache=a.get("component_histories-second-level-cache")||a.create("component_histories-second-level-cache",{capacity:25})};$8.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:Z8}).then(Gya))};$8.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};
$8.prototype.invalidateCache=function(a){this.componentHistoriesCache.remove(String(a))};$8.\u0275fac=function(a){return new (a||$8)(p(mF),p(TD))};$8.\u0275prov=Dc({token:$8,factory:$8.\u0275fac,providedIn:"root"});var a9=function(){};a9.prototype.ngOnInit=function(){};a9.\u0275fac=function(a){return new (a||a9)};
a9.\u0275cmp=r({type:a9,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&&F(0,FAb,4,1,"ng-container",0)(1,GAb,4,1,"ng-container",0);a&2&&(G("ngIf",b.teamPath),A(1),G("ngIf",b.componentPath))},dependencies:[Uv,aQ,W_],styles:["b-component-breadcrumb[_ngcontent-%COMP%], b-team-breadcrumb[_ngcontent-%COMP%]{display:inline-block}"]});var b9=function(a,b,c,d){Z.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(f){return!!f&&!$h(e.savedSettings,f)}),Pe());this.isSaving=new mv;this.isAdmin=!1};Y(b9,Z);b9.\u0275dir=Z.\u0275dir;
b9.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.recommendationsService.executor.get({url:"action/components/"+this.componentId+"/recommendationSettings",responseConstructor:u7}).pipe(D(xwb)).subscribe(function(c){a.savedSettings=c;a.setDraft(a.savedSettings)}));var b=Ln("COMPONENT",this.componentId);XF(this.cachedUserAccess,"admin",b).then(function(c){a.isAdmin=c})};
var HAb=function(a){var b,c;return qe(function(d){if(1==d.nextAddress)return b={},d.yield(TJ(a.confirmationDialogService,{title:"Opt into data collection?",content:eh([ch("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. ",{preserveNewlines:!0}),fh("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)})},JAb=function(a){var b,c;return qe(function(d){if(1==d.nextAddress)return b={},d.yield(TJ(a.confirmationDialogService,{title:"Opt out from data collection?",content:eh([ch("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. ",{preserveNewlines:!0}),fh("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)})};
b9.prototype.save=function(){var a=this;return qe(function(b){if(1==b.nextAddress){if($h(a.savedSettings,a.draftSettings))return b.return();a.isSaving.emit(!0);return b.yield((0,E.firstValueFrom)(rMc(a.recommendationsService,a.draftSettings)).finally(function(){a.isSaving.emit(!1)}),2)}a.savedSettings=b.yieldResult;a.setDraft(a.savedSettings);we(b)})};b9.prototype.revert=function(){this.setDraft(this.savedSettings)};
var LAb=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":""};b9.prototype.setDraft=function(a){a||this.draftSettings$.next(void 0);this.draftSettings$.next(Object.assign({},this.draftSettings,a))};
Gh.Object.defineProperties(b9.prototype,{draftSettings:{configurable:!0,enumerable:!0,get:function(){return this.draftSettings$.value}},isSaving$:{configurable:!0,enumerable:!0,get:function(){return this.isSaving}}});b9.\u0275fac=function(a){return new (a||b9)(B(lL),B(x7),B(VF),B(SJ))};
b9.\u0275cmp=r({type:b9,selectors:[["recommendation-settings"]],inputs:{componentId:"componentId"},outputs:{hasUnsavedChanges:"hasUnsavedChanges",isSaving:"isSaving"},features:[yf],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&&F(0,MAb,9,7,"div",0);a&2&&G("ngIf",null==b.savedSettings?null:b.savedSettings.showSettings)},dependencies:[Uv,oQ,dC,$v],styles:["h4[_ngcontent-%COMP%]{margin:0}\n/*# sourceMappingURL=recommendation_settings.css.map */"]});var c9=function(){};c9.\u0275fac=function(a){return new (a||c9)};c9.\u0275mod=Tc({type:c9});c9.\u0275inj=Ec({imports:[zD,pQ,QC]});var RAb=function(a){this.internalArray_=m(a)};Y(RAb,n);var uNc=function(a){this.internalArray_=m(a,0,uNc.messageId)};Y(uNc,n);uNc.repeatedFields_=[1];uNc.messageId="b.BatchGroupMetadataResult";var d9=function(a,b){var c=this;this.groupMetadataResources=a;this.bulkGetter=b.adapt(function(d){return c.groupMetadataResources.bulkGet(d).then(function(e){var f=NAb(e);return zKb(d,function(h){return f[h]||null})})})};d9.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"}})};d9.\u0275fac=function(a){return new (a||d9)(p(e9),p(RD))};
d9.\u0275prov=Dc({token:d9,factory:d9.\u0275fac,providedIn:"root"});var e9=function(a){this.executor=a};e9.prototype.bulkGet=function(a){a=[].concat(u(new Set(a)));a=Kn(a.join(","));return this.executor.get({url:"action/group_metadata/"+a,responseConstructor:uNc}).then(SAb)};e9.\u0275fac=function(a){return new (a||e9)(p(TD))};e9.\u0275prov=Dc({token:e9,factory:e9.\u0275fac,providedIn:"root"});var TAb=[{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 f9=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 up(e.component)};this.hasUnsavedAccessLimitChanges=function(){return e.originalComponent&&e.component?e.originalComponent.accessLimit.accessLevel!==e.component.accessLimit.accessLevel:!1};this.performAccessLimitCheck=function(){return new Promise(function(f){e.hasUnsavedAccessLimitChanges()&&
"INTERNAL"===e.component.accessLimit.accessLevel?e.confirmationDialogService.open({title:"Component Visibility Changed",content:gp("You are about to change the component visibility to Google internal for this component. Make sure your changes are correct -- if this component has any issues, you will not be able to undo this action. Do you want to proceed?"),onConfirm:function(){f(!0)},onDismiss:function(){f(!1)}}):f(!0)})};this.performDeletedAccountsCheck=function(){return new Promise(function(f){e.componentReaders.includes("GROUP:nobody@google.com")?
e.confirmationDialogService.open({title:'"nobody@google.com" is on the access policy',content:gp('"nobody@google.com" was detected, this is usually the result of an account being deleted that was already part of the access policy. It can be found in the following fields: '+[e.componentAccessPolicyUnderEdit.admins.includes("GROUP:nobody@google.com")?'"Component Admins"':null,e.componentAccessPolicyUnderEdit.appenders.includes("GROUP:nobody@google.com")?'"Create Issues"':null,e.issueDefaultAccessPolicyUnderEdit.admins.includes("GROUP:nobody@google.com")?
'"Issue Admins"':null,e.issueDefaultAccessPolicyUnderEdit.editors.includes("GROUP:nobody@google.com")?'"Edit Issues"':null,e.issueDefaultAccessPolicyUnderEdit.appenders.includes("GROUP:nobody@google.com")?'"Comment on Issues"':null,e.issueDefaultAccessPolicyUnderEdit.readers.includes("GROUP:nobody@google.com")?'"View Issues"':null,e.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders.includes("GROUP:nobody@google.com")?'"View restricted+ content"':null,e.issueDefaultAccessPolicyUnderEdit.restrictedReaders.includes("GROUP:nobody@google.com")?
'"View restricted content"':null].filter(function(h){return!!h}).join(", ")+". Do you want to proceed?"),onConfirm:function(){f(!0)},onDismiss:function(){f(!1)}}):f(!0)})};this.performAdminAccessRemovalCheck=function(){return new Promise(function(f){cBb(e.activeSession.getUserEmail(),e.componentFlattenedAccessPolicy,e.componentAccessPolicyUnderEdit)?e.confirmationDialogService.open({title:"Component Administrators Changed",content:gp("You are about to change the administrator privileges for this component. Make sure your changes are correct -- if you revoke your own privileges, you will not be able to undo this action or perform further edits. Do you want to proceed?"),
onConfirm:function(){f(!0)},onDismiss:function(){f(!1)}}):f(!0)})};this.performRestrictedPlusGroupRemovalCheck=function(){return new Promise(function(f){bBb(e.issueDefaultFlattenedAccessPolicy,e.issueDefaultAccessPolicyUnderEdit)?e.confirmationDialogService.open({title:"Group Removed from Restricted+ Readers",content:gp("You are about to remove Restricted+ reader permission for a group. You will not be able to undo this action. Do you want to proceed?"),onConfirm:function(){f(!0)},onDismiss:function(){f(!1)}}):
f(!0)})};this.retrieveGroupMetadata=function(f){f=Oo(f);return ki(f)&&f.group.emailAddress?e.groupMetadata.get(f.group.emailAddress):Promise.resolve({approximateSize:0,groupEmail:"",sizeCategory:"UNKNOWN",permissionCategory:"UNKNOWN_PERMISSION"})};this.evaluateNewGroups=function(){var f=Qj([].concat(u(hi(e.componentAccessPolicyUnderEdit.admins,e.componentFlattenedAccessPolicy.admins)),u(hi(e.issueDefaultAccessPolicyUnderEdit.admins,e.issueDefaultFlattenedAccessPolicy.admins)),u(hi(e.issueDefaultAccessPolicyUnderEdit.editors,
e.issueDefaultFlattenedAccessPolicy.editors)),u(hi(e.issueDefaultAccessPolicyUnderEdit.appenders,e.issueDefaultFlattenedAccessPolicy.appenders)),u(hi(e.issueDefaultAccessPolicyUnderEdit.readers,e.issueDefaultFlattenedAccessPolicy.readers)),u(hi(e.issueDefaultAccessPolicyUnderEdit.restrictedReaders,e.issueDefaultFlattenedAccessPolicy.restrictedReaders)),u(hi(e.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders,e.issueDefaultFlattenedAccessPolicy.restrictedPlusReaders))));return Promise.all(f.map(function(h){return e.retrieveGroupMetadata(h)}))};
this.performAddedLargeOrOpenGroupCheck=function(){return e.enableRostersChecks?e.evaluateNewGroups().then(function(f){var h=XAb(f);f=aBb(f);if(0===h.size&&0===f.size)return Promise.resolve(!0);var k=YAb(h.size,f.size);h=ZAb(h);f=$Ab(f);var q=Io(h,h===at?at:Ho("BR"),f);h={};q=Io(q,Ho("P",{},Io("Please review the ",Ho("A",(h.href=S6b(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(t){e.confirmationDialogService.open({title:k,content:q,onConfirm:function(){t(!0)},onDismiss:function(){t(!1)},confirmButtonText:"Add Group"})})}):Promise.resolve(!0)};this.performAddedNewInternalAliasesCheck=function(){return new Promise(function(f){if(e.isPublic()&&WAb(e.issueDefaultAccessPolicyUnderEdit,e.issueDefaultFlattenedAccessPolicy)){var h={};h=Io(Ho("P",{},"You are about to give a broad category of users permissions on a public component."),Ho("P",{},Io("Please review the ",
Ho("A",(h.href=S6b(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(){f(!0)},onDismiss:function(){f(!1)},confirmButtonText:"Add Group Alias"})}else f(!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(k){e.componentAccessPolicyUnderEdit&&(e.componentAccessPolicyUnderEdit=Object.assign({},e.componentAccessPolicyUnderEdit,{implicitAccess:k?"ALLOW":"DENY"}))}};var f={},h=Ho("A",(f.href=po(e.documentationLinks)+"#expanded-access",f),"Learn more.");return new Promise(function(k){e.implicitAccess.getValue()===
e.implicitAccess.getSavedValue()?k(!0):e.implicitAccess.getValue()?e.confirmationDialogService.open({title:"Turn on expanded access for component "+e.component.componentId+"?",content:Io("When expanded access is on, assignees and verifiers can edit issues in this component, and CC'd users can comment. ",h),onConfirm:function(){k(!0)},onDismiss:function(){k(!1)}}):e.confirmationDialogService.open({title:"Turn off expanded access for component "+e.component.componentId+"?",content:Io("Some users may lose the ability to edit or comment on issues in this component. ",
h),onConfirm:function(){k(!0)},onDismiss:function(){k(!1)}})})};this.getAddedAutomationInPolicyChange=function(){var f=[].concat(u(UAb(e.issueDefaultFlattenedAccessPolicy,e.issueDefaultAccessPolicyUnderEdit)),u(UAb(e.componentFlattenedAccessPolicy,e.componentAccessPolicyUnderEdit))),h=new Set;f=l(f);for(var k=f.next();!k.done;k=f.next()){k=l(k.value.addedPrincipals);for(var q=k.next();!q.done;q=k.next())q=Oo(q.value),(ji(q)?DBa(q.user.emailAddress):ki(q)&&DBa(q.group.emailAddress))&&h.add(q)}return[].concat(u(h))};
this.performAutomationUserAccessCheck=function(){if(!e.enableComponentAutomationCheck)return Promise.resolve(!0);var f=e.getAddedAutomationInPolicyChange();return new Promise(function(h){if(f.length){var k={};k=Ho("A",(k.href=R6b(e.documentationLinks),k)," automation account documentation");e.confirmationDialogService.open({title:"Adding automation accounts",content:Io(gp("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"),
Ho("wbr"),k,gp("."),Ho.apply(lc,["OL",{}].concat(u(f.map(function(q){if(ji(q)){var t;return Ho("LI",{},gp(null!=(t=q.user.emailAddress)?t:""))}if(ki(q)){var w;return Ho("LI",{},gp(null!=(w=q.group.emailAddress)?w:""))}throw Error("kf`"+JSON.stringify(q));})))),Ho("BR",{}),gp("Are you sure you wish to allow automation to access data in this component?")),onConfirm:function(){h(!0)},onDismiss:function(){h(!1)}})}else h(!0)})};this.runValidation=function(f){var h,k,q;return qe(function(t){switch(t.nextAddress){case 1:h=
l(f),k=h.next();case 2:if(k.done){t.jumpTo(4);break}q=k.value;return t.yield(q(),5);case 5:if(!t.yieldResult)return t.return(!1);k=h.next();t.jumpTo(2);break;case 4:return t.return(!0)}})};this.enableRostersChecks=yD(this.activeSession,"enableRostersChecks");this.enableComponentAutomationCheck=yD(this.activeSession,"enableComponentAutomationCheck")},vNc=function(a,b){var c=b.component,d=b.originalComponent,e=b.componentReaders,f=b.componentAccessPolicyUnderEdit,h=b.componentFlattenedAccessPolicy,
k=b.issueDefaultAccessPolicyUnderEdit,q=b.issueDefaultFlattenedAccessPolicy,t,w;return qe(function(y){if(1==y.nextAddress)return a.component=c,a.originalComponent=d,a.componentReaders=e,a.componentAccessPolicyUnderEdit=f,a.componentFlattenedAccessPolicy=h,a.issueDefaultAccessPolicyUnderEdit=k,a.issueDefaultFlattenedAccessPolicy=q,t=[a.performAccessLimitCheck,a.performDeletedAccountsCheck,a.performAdminAccessRemovalCheck,a.performRestrictedPlusGroupRemovalCheck,a.performAddedLargeOrOpenGroupCheck,
a.performAddedNewInternalAliasesCheck,a.performChangedImplicitAccessCheck,a.performAutomationUserAccessCheck],y.yield(a.runValidation(t),2);w=y.yieldResult;return y.return(w)})};f9.\u0275fac=function(a){return new (a||f9)(p(nt),p(SJ),p(lL),p(d9))};f9.\u0275prov=Dc({token:f9,factory:f9.\u0275fac});var g9=function(a){Z.call(this);this.principalTypes=a;this.componentReaders=[];this.templates=[]};Y(g9,Z);g9.\u0275dir=Z.\u0275dir;
g9.prototype.ngOnChanges=function(){var a=this.componentAccessPolicy,b=this.issueAccessPolicy,c=new Set([].concat(u(this.componentReaders))),d=new Set([].concat(u(a.admins),u(a.inheritedAdmins)));a=new Set([].concat(u(d),u(a.appenders)));var e=new Set([].concat(u(b.admins))),f=new Set([].concat(u(e),u(b.editors))),h=new Set([].concat(u(f),u(b.appenders))),k=new Set([].concat(u(b.restrictedPlusReaders))),q=new Set([].concat(u(k),u(b.restrictedReaders)));b=new Set([].concat(u(q),u(h),u(b.readers)));
this.templates=[{permission:"Admin Components",principals:[].concat(u(d)).map(bt)},{permission:"Create Issues",principals:[].concat(u(a)).map(bt)},{permission:"Admin Issues",principals:[].concat(u(e)).map(bt)},{permission:"Edit Issues",principals:[].concat(u(f)).map(bt)},{permission:"Comment on Issues",principals:[].concat(u(h)).map(bt)},{permission:"View Issues",principals:[].concat(u(b)).map(bt)},{permission:"View Components",principals:[].concat(u(c)).map(bt)},{permission:"View Restricted",principals:[].concat(u(q)).map(bt)},
{permission:"View Restricted+",principals:[].concat(u(k)).map(bt)}];wNc(this,this.templates)};
var wNc=function(a,b){b=l(b);for(var c=b.next();!c.done;c=b.next()){c=l(c.value.principals);for(var d=c.next(),e={};!d.done;e={principal$jscomp$14:e.principal$jscomp$14},d=c.next())e.principal$jscomp$14=d.value,"ALIAS"===e.principal$jscomp$14.principalType?e.principal$jscomp$14.detailedUserType="NO_DETAILED_TYPE":VD(a.principalTypes,e.principal$jscomp$14.value,!0).then(function(f){return function(h){f.principal$jscomp$14.detailedUserType=h.detailedUserType}}(e))}};
g9.\u0275fac=function(a){return new (a||g9)(B(UD))};
g9.\u0275cmp=r({type:g9,selectors:[["permissions-view"]],inputs:{issueAccessPolicy:"issueAccessPolicy",componentAccessPolicy:"componentAccessPolicy",componentReaders:"componentReaders",accessLevel:"accessLevel"},features:[yf,ld],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),T(3,"Permission"),K(),H(4,"th",1),T(5,"Users With Permission"),K()(),F(6,eBb,6,2,"ng-container",2),K());a&2&&(A(6),G("ngForOf",b.templates))},dependencies:[Tv,$Z],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 xNc=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"}),h9={},yNc=(h9.issueAdmin=new Set(["issueEditor"]),h9.issueEditor=new Set(["issueAppender"]),h9.issueAppender=new Set(["issueReader"]),h9.issueRestrictedReader=
new Set(["issueReader"]),h9.issueRestrictedPlusReader=new Set(["issueRestrictedReader"]),h9.issueReader=new Set(["componentReader"]),h9.componentAdmin=new Set(["componentAppender"]),h9.componentAppender=new Set(["componentReader"]),h9.componentReader=new Set,h9),oBb=Fo(xNc,function(a){return yNc[a]}),ct=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"}),i9={},zNc=(i9.componentAdmin=new Set(["componentAdmin","issueAdmin"]),i9.issueAdmin=new Set(["issueAdmin","componentAppender"]),i9.issueEditor=new Set(["issueEditor","componentAppender"]),i9.issueContributor=new Set(["issueAppender","componentAppender"]),i9.componentAdminOnly=new Set(["componentAdmin"]),
i9.issueCreator=new Set(["componentAppender"]),i9.issueAdminOnly=new Set(["issueAdmin"]),i9.issueEditorExisting=new Set(["issueEditor"]),i9.issueCommenter=new Set(["issueAppender"]),i9.restrictedPlusViewer=new Set(["issueRestrictedPlusReader"]),i9.restrictedViewer=new Set(["issueRestrictedReader"]),i9.issueViewer=new Set(["issueReader"]),i9),mBb=Fo(ct,function(a){return zNc[a]}),ANc=pBb(),lBb=Fo(ct,function(a){a=[].concat(u(mBb.get(a))).flatMap(function(b){return[].concat(u(ANc.get(b)))});return new Set(a)}),
nBb=Fo(ct,function(a){return new Set(ct.filter(function(b){return b!==a&&mra(lBb.get(b),lBb.get(a))}))});var sBb={componentAdmin:[],componentAdminOnly:[],issueAdminOnly:[],inheritedComponentAdmin:[],issueAdmin:[],editor:[],contributor:[],viewer:[],editExistingIssuesOnly:[],createIssuesOnly:[],commentOnly:[],viewRestricted:[],viewRestrictedPlus:[]},BNc={admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],restrictedPlusReaders:[],inheritedAdmins:[],implicitAccess:null};var j9=function(a,b,c,d,e,f,h){var k=this;this.accessPolicyApi=a;this.errorHandler=b;this.butterBar=c;this.userAccess=d;this.componentActions=e;this.componentValidator=f;this.analytics=h;this.isAdmin=!1;this.rolesMap=sBb;this.originalComponent=this.parentComponent=this.component=null;this.isUpdatingAccessLimit=this.isUpdatingAccessPolicy=this.isSaving=!1;this.implicitAccess={getValue:function(){return k.componentAccessPolicyUnderEdit?"ALLOW"===k.componentAccessPolicyUnderEdit.implicitAccess:!1},getSavedValue:function(){return k.componentFlattenedAccessPolicy?
"ALLOW"===k.componentFlattenedAccessPolicy.implicitAccess:!1},setValue:function(q){k.componentAccessPolicyUnderEdit&&(k.componentAccessPolicyUnderEdit=Object.assign({},k.componentAccessPolicyUnderEdit,{implicitAccess:q?"ALLOW":"DENY"}))},isUpdated:function(){var q;return k.componentAccessPolicyUnderEdit.implicitAccess!==(null==(q=k.componentFlattenedAccessPolicy)?void 0:q.implicitAccess)}};this.componentReaders=[];this.issueDefaultFlattenedAccessPolicy=this.componentFlattenedAccessPolicy=BNc;this.componentAccessPolicyUnderEdit=
Ro();this.issueDefaultAccessPolicyUnderEdit=Ro();this.restrictedPlusReadersValidators={noRestrictedPlusGroups:function(q){a:{var t=k.issueDefaultFlattenedAccessPolicy;if(q&&t){t=t.restrictedPlusReaders;q=l(q);for(var w=q.next();!w.done;w=q.next())if(w=w.value,0===w.indexOf("GROUP:")&&-1===t.indexOf(w)){t=!1;break a}}t=!0}return t}}};j9.prototype.hasUnsavedAccessLimitChanges=function(){var a=this.originalComponent,b=this.component;return a&&b?a.accessLimit.accessLevel!==b.accessLimit.accessLevel:!1};
var CNc=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;Fs(a.butterBar,"Changed access level.")},function(b){a.component.accessLimit.accessLevel=a.originalComponent.accessLimit.accessLevel;
var c="Could not change access level. ";wn(b)&&(c+=xn(b));a.butterBar.showWarning(c)}).finally(function(){a.isUpdatingAccessLimit=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit})};j9.prototype.updateComponentAndOriginalComponent=function(a){this.component=ai(a);this.originalComponent=ai(a)};
j9.prototype.loadComponent=function(){var a=this;return this.componentActions.getUncached(this.componentId).then(function(b){a.updateComponentAndOriginalComponent(b);0<b.parentComponentId&&a.loadParentComponent(b.parentComponentId)}).catch(function(b){a.errorHandler.errorHandler(null,b)})};j9.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)})};
j9.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=So(c);b.componentAccessPolicyUnderEdit=ai(b.componentFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.accessPolicyApi.get("ISSUE_DEFAULTS",this.componentId).then(function(c){b.issueDefaultFlattenedAccessPolicy=
So(c);b.issueDefaultAccessPolicyUnderEdit=ai(b.issueDefaultFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.loadComponent(),this.loadUserAccess(this.componentId)]).then(function(){})};
var DNc=function(a){a.rolesMap=tBb({componentAccessPolicy:a.componentAccessPolicyUnderEdit,issueAccessPolicy:a.issueDefaultAccessPolicyUnderEdit})},ENc=function(a,b){var c=a.issueDefaultFlattenedAccessPolicy;return c&&vBb(c,a.issueDefaultAccessPolicyUnderEdit)?a.accessPolicyApi.update("ISSUE_DEFAULTS",a.componentId,b):Promise.resolve(void 0)},FNc=function(a){var b=uBb(a.componentAccessPolicyUnderEdit,a.componentFlattenedAccessPolicy),c=a.issueDefaultFlattenedAccessPolicy;a=!(!c||!vBb(c,a.issueDefaultAccessPolicyUnderEdit));
return b||a},GNc=function(a,b){return uBb(a.componentAccessPolicyUnderEdit,a.componentFlattenedAccessPolicy)?a.accessPolicyApi.get("COMPONENT",a.componentId).then(function(c){var d=So(c);if(uBb(d,a.componentAccessPolicyUnderEdit)){if(uBb(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)};j9.prototype.loadUserAccess=function(a){var b=this;return XF(this.userAccess,"admin","components/"+String(a)).then(function(c){b.isAdmin=c;return b.isAdmin?Promise.resolve(!0):XF(b.userAccess,"writer","components/"+String(a))}).catch(function(c){b.errorHandler.errorHandler(null,c);return Promise.resolve(!1)})};
j9.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=To(this.componentAccessPolicyUnderEdit);var c=To(this.issueDefaultAccessPolicyUnderEdit)}catch(d){return c="An unknown problem occurred",d instanceof Error&&(c=d.message),this.butterBar.showWarning(c),Promise.resolve()}if(FNc(this))return this.isSaving=this.isUpdatingAccessPolicy=!0,Fs(this.butterBar,"Saving access settings...",0),ENc(this,c).then(function(d){d&&(b.readers=[].concat(u(d.admins||[]),u(d.editors||[]),u(d.appenders||[]),
u(d.readers||[]),u(d.restrictedPlusReaders||[]),u(d.restrictedReaders||[])));return GNc(a,b).catch(function(e){var f;return qe(function(h){if(1==h.nextAddress)return f=To(a.issueDefaultFlattenedAccessPolicy),h.yield(ENc(a,f),2);throw e;})})}).then(function(){return CNc(a)}).then(function(){return a.initialize()}).then(function(){var d=a.rolesMap;DNc(a);var e=a.rolesMap,f={componentAdminOnly:d.componentAdminOnly,issueAdminOnly:d.issueAdminOnly,viewer:d.viewer,editExistingIssuesOnly:d.editExistingIssuesOnly,
createIssuesOnly:d.createIssuesOnly,commentOnly:d.commentOnly,viewRestricted:d.viewRestricted,viewRestrictedPlus:d.viewRestrictedPlus},h={componentAdminOnly:e.componentAdminOnly,issueAdminOnly:e.issueAdminOnly,viewer:e.viewer,editExistingIssuesOnly:e.editExistingIssuesOnly,createIssuesOnly:e.createIssuesOnly,commentOnly:e.commentOnly,viewRestricted:e.viewRestricted,viewRestrictedPlus:e.viewRestrictedPlus};d=wBb({componentAdmin:d.componentAdmin,issueAdmin:d.issueAdmin,editor:d.editor,contributor:d.contributor},
{componentAdmin:e.componentAdmin,issueAdmin:e.issueAdmin,editor:e.editor,contributor:e.contributor});f=wBb(f,h);switch(d&&f?2:d?0:f?1:3){case 0:a.analytics.trackEvent(Kp.ROLE_BASED_PERMISSIONS,"update","roles:standard");break;case 1:a.analytics.trackEvent(Kp.ROLE_BASED_PERMISSIONS,"update","roles:advanced");break;case 2:a.analytics.trackEvent(Kp.ROLE_BASED_PERMISSIONS,"update","roles:both");break;default:a.analytics.trackEvent(Kp.ROLE_BASED_PERMISSIONS,"update","roles:neither")}Fs(a.butterBar,"Access settings saved",
0)}).catch(function(d){a.butterBar.showWarning(xn(d),0)}).finally(function(){return qe(function(d){if(1==d.nextAddress)return d.yield(a.loadUserAccess(a.componentId),2);a.isUpdatingAccessPolicy=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit;we(d)})});DNc(this);return CNc(this)};
var HNc=function(a,b){b=qBb(b);a.issueDefaultAccessPolicyUnderEdit=Object.assign({},a.issueDefaultAccessPolicyUnderEdit,b.issuesPermissions);a.componentAccessPolicyUnderEdit=Object.assign({},a.componentAccessPolicyUnderEdit,b.componentPermissions)},HBb=function(a,b){a.component&&a.originalComponent&&a.componentFlattenedAccessPolicy&&a.componentAccessPolicyUnderEdit&&a.issueDefaultFlattenedAccessPolicy&&a.issueDefaultAccessPolicyUnderEdit?(HNc(a,b),vNc(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();Fs(a.butterBar,"Update failed: Invalid changes to component permissions",0);return Promise.resolve()})):Promise.resolve()};
Gh.Object.defineProperties(j9.prototype,{componentAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){$h(a,this.componentAccessPolicyUnderEditInternal)||(this.componentAccessPolicyUnderEditInternal=a,this.componentReaders=rBb({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.componentAccessPolicyUnderEditInternal}},issueDefaultAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){$h(a,
this.issueDefaultAccessPolicyUnderEditInternal)||(this.issueDefaultAccessPolicyUnderEditInternal=a,this.componentReaders=rBb({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.issueDefaultAccessPolicyUnderEditInternal}}});j9.\u0275fac=function(a){return new (a||j9)(p(KH),p(FG),p(EG),p(VF),p(kL),p(f9),p(aI))};j9.\u0275prov=Dc({token:j9,factory:j9.\u0275fac});var k9=function(a,b,c){this.activeSession=a;this.documentationLinks=b;this.rolesEditor=c;this.AccessLevelStrings=rZb};k9.prototype.getRecentIssuesLink=function(){return Rk(this.rolesEditor.component.componentId,{includeArchived:this.rolesEditor.component?this.rolesEditor.component.archived:!1})};k9.prototype.isParentPartner=function(){return!(!this.rolesEditor.parentComponent||!VRa(this.rolesEditor.parentComponent))};
k9.prototype.isParentPublic=function(){return!(!this.rolesEditor.parentComponent||!up(this.rolesEditor.parentComponent))};k9.\u0275fac=function(a){return new (a||k9)(B(nt),B(lL),B(j9))};
k9.\u0275cmp=r({type:k9,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&&(F(0,ABb,20,7,"div",0),H(1,"div",1)(2,"p"),T(3," Access to issues is granted per component using the settings below. All settings provide access to view the component. "),H(4,"a",2),T(5,"Learn more"),K()()());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=tp(b.rolesEditor.parentComponent)||
tp(b.rolesEditor.component);break a}}else{a=!1;break a}a=void 0}G("ngIf",a);A(4);Xf("href","",po(b.documentationLinks),"#recommended-role-based-permissions-configurations",Wd)}},dependencies:[Uv,Jg,Gw,ww,Dw],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 l9=function(a,b){this.documentationLinks=a;this.rolesEditor=b};l9.prototype.isAccessEditDisabled=function(){return this.rolesEditor.isSaving||!this.rolesEditor.isAdmin};l9.prototype.setImplicitAccess=function(a){this.rolesEditor.implicitAccess.setValue(a)};l9.\u0275fac=function(a){return new (a||l9)(B(lL),B(j9))};
l9.\u0275cmp=r({type:l9,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),Q("change",function(c){return b.setImplicitAccess(c.checked)}),K()(),H(3,"div",3)(4,"strong",4),T(5,"Expanded access"),K(),H(6,"div",5),T(7," When checked, assignees, verifiers, and collaborators can edit issues for this component, and CC'd users can add comments. "),H(8,"a",6),T(9,"Learn more"),K()()()());a&2&&(Jf("bv2-edit-resource-readonly",b.isAccessEditDisabled()),A(2),G("checked",
b.rolesEditor.implicitAccess.getValue())("disabled",b.isAccessEditDisabled()),A(6),Xf("href","",po(b.documentationLinks),"#expanded-access",Wd))},dependencies:[eL],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 BBb=function(){return{}},DBb=function(a,b){return{displayText:a,values:b}},CBb=function(a){return[a]},EBb=function(){return[]},m9=function(){this.rolesTableData=[];this.canEdit=!1;this.rolesMapUpdated=new mv;this.formIsValid=new mv;this.aclFormValidity=new Map};m9.prototype.getIconName=function(a,b){return a.grantedPermissions[b]?"done":"issue-status-wont-fix"};m9.prototype.updateRolesMap=function(a,b){this.rolesMapUpdated.emit({role:a,assignees:b})};m9.\u0275fac=function(a){return new (a||m9)};
m9.\u0275cmp=r({type:m9,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),T(4,"Role Assignments"),K(),H(5,"th",0)(6,"h6"),T(7,"Admin Components"),K()(),H(8,"th",0)(9,"h6"),T(10,"Create Issues"),K()(),H(11,"th",0)(12,"h6"),T(13,"Admin Issues"),K()(),H(14,"th",0)(15,"h6"),T(16,"Edit Issues"),K()(),H(17,"th",0)(18,"h6"),T(19,"Comment on Issues"),K()(),H(20,"th",0)(21,"h6"),T(22,"View Issues"),K()(),
H(23,"th",0)(24,"h6"),T(25,"View Restricted"),K()(),H(26,"th",0)(27,"h6"),T(28,"View Restricted+"),K()()()(),H(29,"tbody"),F(30,FBb,26,29,"ng-container",1),K()());a&2&&(A(30),G("ngForOf",b.rolesTableData))},dependencies:[Tv,MA,UY,AD,eA,dC],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 n9=function(){this.rolesMap=sBb;this.isSaving=!1;this.saveRolesMap=new mv;this.rolesUnderEdit=sBb;this.formIsValid=!0;this.displayedTableColumns="role componentAdmin createIssues issueAdmin issueEditor issueCommenter issueReader restrictedReader restrictedPlusReader".split(" ");this.standardRolesTableData=[];this.advancedRolesTableData=[]},INc=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,f;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!=(f=b.inheritedComponentAdmin)?f:[]}},{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},JNc=function(a){return a.advancedRolesTableData.some(function(b){return 0<b.users.length})},KNc=function(a){a.rolesUnderEdit=Object.assign({},a.rolesMap)};g=n9.prototype;g.ngOnInit=function(){KNc(this);INc(this)};
g.ngOnChanges=function(a){a.rolesMap&&KNc(this);INc(this)};g.updateRolesMap=function(a){var b={};this.rolesUnderEdit=Object.assign({},this.rolesUnderEdit,(b[a.role]=a.assignees,b))};g.getComponentAccessLevel=function(){if(this.component.accessLimit)return this.component.accessLimit.accessLevel};g.hasUnsavedAccessLimitChanges=function(){return this.rolesEditor.hasUnsavedAccessLimitChanges()};g.canEdit=function(){return!this.isSaving&&this.rolesEditor.isAdmin};
g.canSave=function(){return this.canEdit()&&(!$h(this.rolesMap,this.rolesUnderEdit)||this.rolesEditor.implicitAccess.isUpdated()||this.hasUnsavedAccessLimitChanges())&&this.formIsValid};n9.\u0275fac=function(a){return new (a||n9)};
n9.\u0275cmp=r({type:n9,selectors:[["roles-view"]],inputs:{rolesMap:"rolesMap",isSaving:"isSaving",component:"component",rolesEditor:"rolesEditor"},outputs:{saveRolesMap:"saveRolesMap"},features:[ld],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&&(L(0,"access-limit-settings"),H(1,"roles-view-table",0),Q("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",function(c){return b.formIsValid=c}),K(),H(2,"mat-expansion-panel",1)(3,"mat-expansion-panel-header")(4,"mat-panel-title"),T(5," Advanced Roles "),K()(),H(6,"roles-view-table",0),Q("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",function(c){return b.formIsValid=c}),K()(),L(7,"expanded-access-settings"),
H(8,"button",2),Q("click",function(){b.canSave()&&b.saveRolesMap.emit(b.rolesUnderEdit)}),T(9,"Update"),K(),H(10,"button",3),Q("click",function(){KNc(b);INc(b)}),T(11," Revert Changes\n"),K());a&2&&(A(1),G("rolesTableData",b.standardRolesTableData)("displayedTableColumns",b.displayedTableColumns)("canEdit",b.canEdit())("accessLevel",b.getComponentAccessLevel()),A(1),G("expanded",JNc(b)),A(4),G("rolesTableData",b.advancedRolesTableData)("displayedTableColumns",b.displayedTableColumns)("canEdit",b.canEdit())("accessLevel",
b.getComponentAccessLevel()),A(2),G("disabled",!b.canSave()),A(2),G("disabled",!!$h(b.rolesMap,b.rolesUnderEdit)))},dependencies:[p5,q5,r5,eA,m9,k9,l9],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 o9=function(a,b){Z.call(this);this.rolesEditor=a;this.route=b};Y(o9,Z);o9.\u0275dir=Z.\u0275dir;o9.prototype.ngOnInit=function(){var a=this;this.route.paramMap.pipe(D(function(b){return b.get("componentId")}),He(jl),af(function(b){return a.rolesEditor.initialize(Number(b))}),bf(this.destroyed$)).subscribe(function(){DNc(a.rolesEditor)})};o9.prototype.isSaving=function(){return this.rolesEditor.isSaving};o9.\u0275fac=function(a){return new (a||o9)(B(j9),B(ik))};
o9.\u0275cmp=r({type:o9,selectors:[["role-based-permissions"]],features:[bg([j9,f9]),yf],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&&F(0,GBb,2,0,"div",0)(1,IBb,7,8,"div",1);a&2&&(G("ngIf",!(null==b.rolesEditor.component?
0:b.rolesEditor.component.componentId)),A(1),G("ngIf",null==b.rolesEditor.component?null:b.rolesEditor.component.componentId))},dependencies:[Uv,fU,eU,eK,g9,n9],styles:["/*# sourceMappingURL=role_based_permissions.css.map */"]});var LNc=new bd("GMAT_LEGACY_CHECKBOX_OPTION");var MNc=new Map([["primary","mat-primary"],["accent","mat-accent"],["warn","mat-warn"]]),p9=function(a,b){this.elementRef=a;this.gmatCheckboxOption=b;this.color="primary";this.hasGmatAttribute=a.nativeElement.hasAttribute("gmat-checkbox")};p9.prototype.ngOnInit=function(){this.isEnabled()&&(this.elementRef.nativeElement.classList.remove.apply(this.elementRef.nativeElement.classList,u(MNc.values())),this.elementRef.nativeElement.classList.add(MNc.get(this.color)))};
p9.prototype.isEnabled=function(){return this.gmatCheckboxOption?this.hasGmatAttribute||this.gmatCheckboxOption.enabled:this.hasGmatAttribute};p9.\u0275fac=function(a){return new (a||p9)(B(Hd),B(LNc,8))};p9.\u0275dir=Vc({type:p9,selectors:[["mat-checkbox","gmat-checkbox",""],["mat-checkbox"]],hostVars:2,hostBindings:function(a,b){a&2&&Jf("gmat-checkbox",b.isEnabled())},inputs:{color:"color"}});var NNc=["archiveDialog"],ONc=["archiveButton"],PNc=["metadataForm"],QNc={BASIC:"basic",CUSTOM_FIELDS:"customFields",FIELD_ORDERING:"fieldOrdering",TEMPLATES:"templates",ACCESS:"access"},q9=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I,P,O,U,aa,na,sa,Ba,Pa,Ja,cb){Z.call(this);var qb=this;this.route=a;this.cdr=b;this.routeParams=c;this.bLocation=d;this.templatesApi=e;this.paths=f;this.appHistory=h;this.butterBar=k;this.pageTitle=q;this.activeSession=t;this.documentationLinks=w;this.matDialogService=y;this.analytics=
C;this.checkBeforeExit=J;this.userAccess=I;this.componentActions=P;this.errorHandler=O;this.componentUpdates=U;this.componentUpdatesApi=aa;this.confirmationDialogService=na;this.appEvents=sa;this.teamsService=Ba;this.sloApi=Pa;this.sloService=Ja;this.currentTracker=cb;this.componentId$=new E.ReplaySubject(1);this.Tab=QNc;this.componentListRoute=qwa;this.showSloInheritancePath=!1;this.component$=new E.BehaviorSubject(null);this.componentTrackerId$=this.component$.pipe(D(function(Ra){return null==Ra?
void 0:Ra.trackerId}));this.showTrackerRedirect$=(0,E.combineLatest)([this.currentTracker.trackerId$,this.componentTrackerId$]).pipe(D(function(Ra){var fa=l(Ra);Ra=fa.next().value;fa=fa.next().value;return qb.shouldShowTrackerRedirect(Ra,il("")(fa))}));this.parentComponent$=new E.BehaviorSubject(null);this.componentTeam$=new E.BehaviorSubject(null);this.team$=this.componentTeam$.pipe(af(function(Ra){return(Ra=null==Ra?void 0:Ra.id)&&"0"!==Ra?XI(qb.teamsService,Ra):(0,E.of)(null)}));this.parentComponentTeam$=
this.parentComponent$.pipe(af(function(Ra){var fa;return(Ra=null==Ra?void 0:null==(fa=Ra.team)?void 0:fa.id)&&"0"!==Ra?XI(qb.teamsService,Ra):(0,E.of)(null)}));this.inheritedSloMetadata$=(0,E.combineLatest)([this.component$,this.parentComponent$,this.team$]).pipe(D(function(Ra){var fa=l(Ra);Ra=fa.next().value;var wa=fa.next().value;fa=fa.next().value;if((null==Ra?0:Ra.team)&&!Ra.team.inherit&&"0"!==Ra.team.id){var Ca,Wa=null!=(Ca=null==fa?void 0:fa.slo)?Ca:null;if(Wa)return{containerType:"TEAM",content:Wa}}else if(Ca=
null!=(Wa=null==wa?void 0:wa.slo)?Wa:null)return{containerType:"COMPONENT",content:Ca};return null}));this.inheritedSlo$=this.inheritedSloMetadata$.pipe(Pe(),af(function(Ra){var fa="0";Ra&&("TEAM"===Ra.containerType?fa=Ra.content.sloId:"COMPONENT"===Ra.containerType&&(fa=Ra.content.id));return"0"===fa?(0,E.of)({id:"0"}):qb.sloService.get(fa).then(function(wa){return{id:fa,slo:wa}})}));this.sloPolicySource$=this.inheritedSloMetadata$.pipe(Pe(),af(function(Ra){if(!Ra)return(0,E.of)({name:"None",type:"none"});
Ra=$Cb(Ra);var fa=Ra.sourceTeamId,wa=Ra.sourceComponentId;return fa&&"0"!==fa?qb.teamsService.getTeam(fa).pipe(D(function(Ca){var Wa;return{name:null!=(Wa=null==Ca?void 0:Ca.name)?Wa:fa,type:"team",link:{path:"/teams/"+fa+"/edit",fragment:"slo"}}})):wa?qb.componentActions.get(Number(wa)).then(function(Ca){var Wa;return{name:null!=(Wa=Ca.name)?Wa:wa,type:"component",link:{path:"/components/"+wa+"/edit"}}}):(0,E.of)(null)}));this.policySourcePath$=(0,E.combineLatest)([this.component$,this.team$,this.parentComponentTeam$,
this.inheritedSloMetadata$]).pipe(D(function(Ra){var fa=l(Ra);Ra=fa.next().value;var wa=fa.next().value,Ca=fa.next().value;fa=fa.next().value;if(!Ra||!Ra.componentPathInfo||!fa)return null;var Wa=$Cb(fa);fa=Wa.sourceComponentId;wa=bDb(wa,Wa.sourceTeamId,Ra.team,Ca);return null===fa?{componentPath:null,teamPath:wa}:{componentPath:aDb(Ra,fa),teamPath:wa}}));this.enableSloLockingCheck=yD(this.activeSession,"enableSloLockingCheck");this.enableRecommendationSettingsPage=yD(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=yD(this.activeSession,"enableSloLockingUi");this.enableTeamLeadSloEditingUi=yD(this.activeSession,"enableTeamLeadSloEditingUi");this.sloLocked$=this.componentId$.pipe(He(Boolean),af(function(Ra){return qb.sloApi.executor.get({url:"action/components/"+Ra+"/slo_edit_policy",responseConstructor:Noc}).pipe(D(Dza))}));this.getSloManagementLink=rwa};
Y(q9,Z);q9.\u0275dir=Z.\u0275dir;q9.prototype.shouldShowTrackerRedirect=function(a,b){return""!==a&&a!==b};q9.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)};
q9.prototype.ngOnInit=function(){var a=this;this.componentId=fi(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(BX(this.checkBeforeExit,function(){return a.hasUnsavedChanges()},!1));this.loadUserAccess(this.componentId);this.enableSloLockingCheck&&RNc(this);this.componentHistoryUiEnabled=this.activeSession.isInternalSession();
SNc(this);this.subscriptions.add(this.appEvents.customFieldsModified.subscribe(function(b){a.effectiveCustomFields=TNc(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 SNc=function(a){a=[UNc(a,a.componentId),a.loadComponent(a.componentId),a.loadTemplates(a.componentId)];return Promise.all(a).then(function(){})};q9.prototype.isAdmin=function(){return this.isAdminInternal};var et=function(a){return a.enableSloLockingCheck?a.isComponentSloEditor:a.isAdmin()};g=q9.prototype;g.isSaving=function(){return this.isUpdating||this.isArchiving||this.savingRecommendationSettings};g.isArchived=function(){return this.component?this.component.archived:!1};g.isPublic=function(){return up(this.component)};
g.isExternal=function(){return tp(this.component)};g.isParentPublic=function(){return!(!this.parentComponent||!up(this.parentComponent))};g.isParentPartner=function(){return!(!this.parentComponent||!VRa(this.parentComponent))};var sCb=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};
q9.prototype.hasUnsavedMetadataChanges=function(){return!($h(this.component,this.originalComponent)&&$h(this.parentComponent,this.originalParentComponent)&&!this.hasUnsavedRecommendationSettings)};q9.prototype.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()};
var VNc=function(a){var b=Oj();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:ch("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},WNc=function(a){var b=Oj();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:eh([ch('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.'),fh("br",{}),fh("br",{}),ch('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.'),
fh("br",{}),fh("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};q9.prototype.saveMetadata=function(){var a=this;return XNc(this)?WNc(this).then(function(b){return b?VNc(a):Promise.resolve(!1)}).then(function(b){b&&a.doSaveMetadata().then(function(){return SNc(a)})}):Promise.resolve()};
q9.prototype.doSaveMetadata=function(){var a=this;this.isUpdating=!0;Fs(this.butterBar,"Saving changes ...",0);return YNc(this).then(function(){a.parentComponent&&(a.component.parentComponentId=a.parentComponent.componentId)}).then(function(){return ZNc(a)}).then(function(){return $Nc(a)}).then(function(){var b;return null==(b=a.recommendationSettings)?void 0:b.save()}).then(function(){return aOc(a)}).then(function(){Fs(a.butterBar,"Save complete.")}).catch(function(b){a.errorHandler.errorHandler(null,
b)}).finally(function(){a.componentUpdatesApi.invalidateCache(a.componentId);a.isUpdating=!1})};
var YNc=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)},ZNc=function(a){return a.component.slo&&!$h(a.originalComponent.slo,a.component.slo)?a.componentActions.updateSlo(a.component.componentId,a.component.slo).then(function(){a.analytics.trackEvent(Kp.MANAGE_COMPONENT,
"updateSlo");return!0}).catch(function(b){a.component.slo=a.originalComponent.slo;return Promise.reject(b)}):Promise.resolve(!1)},$Nc=function(a){return a.component.team&&!$h(a.originalComponent.team,a.component.team)?a.componentActions.updateTeam(a.component.componentId,a.component.team).then(function(){a.analytics.trackEvent(Kp.MANAGE_COMPONENT,"updateTeam");return!0}).catch(function(b){a.component.team=a.originalComponent.team;return Promise.reject(b)}):Promise.resolve(!1)},aOc=function(a){return bOc(a)?
a.componentActions.update(a.component).then(function(){a.analytics.trackEvent(Kp.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)},bOc=function(a){var b=ai(a.component);b.team=a.originalComponent.team;b.slo=a.originalComponent.slo;b.parentComponentId=a.originalComponent.parentComponentId;return!$h(a.originalComponent,b)},XNc=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};q9.prototype.getComponentAccessLevel=function(){if(this.component&&this.component.accessLimit)return this.component.accessLimit.accessLevel};var UNc=function(a,b){return a.componentActions.getChildren(b).then(function(c){a.childComponents=c}).catch(function(c){a.errorHandler.errorHandler(null,c)})};
q9.prototype.revertMetadataChanges=function(){this.updateComponentAndOriginalComponent(this.originalComponent);this.error="";this.parentComponent=ai(this.originalParentComponent);this.parentComponent$.next(this.parentComponent);this.commentEditsEnabled="ENABLED"==this.component.commentEditState;var a;null==(a=this.recommendationSettings)||a.revert()};
var LCb=function(a){a.componentActions.getUncached(a.componentId).then(function(b){a.effectiveCustomFields=TNc(b.componentPathInfo.allCustomField)})},TNc=function(a){return a?a.filter(function(b){return b.enabledOnIssues}):[]};
q9.prototype.loadComponent=function(a){var b=this;this.isLoading=!0;return this.componentActions.getUncached(a).then(function(c){b.updateComponentAndOriginalComponent(c);b.currentName=c.name;0<c.parentComponentId&&b.loadParentComponent(c.parentComponentId);b.effectiveCustomFields=TNc(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()})};q9.prototype.loadUserAccess=function(a){var b=this,c=Ln("COMPONENT",a);XF(this.userAccess,"admin",c).then(function(d){b.isAdminInternal=d;return b.isAdminInternal?!0:XF(b.userAccess,"writer",c)}).then(function(d){b.isEditorInternal=d}).catch(function(d){b.errorHandler.errorHandler(null,d)})};
var RNc=function(a){XF(a.userAccess,"writer",Ln("COMPONENT_SLO",a.componentId)).then(function(b){a.isComponentSloEditor=b})},UBb=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)},ft=function(a){return a.isSaving()||!a.isEditorInternal};g=q9.prototype;g.isAccessEditDisabled=function(){return this.isSaving()||!this.isAdmin()};
g.loadParentComponent=function(a){var b=this;this.componentActions.get(a).then(function(c){b.parentComponent=c;b.parentComponent$.next(b.parentComponent);b.originalParentComponent=ai(c);return c}).catch(function(c){b.errorHandler.errorHandler(null,c)})};g.getRecentIssuesLink=function(){var a=this.isArchived();return Rk(this.componentId,{includeArchived:a})};g.componentPermissions=function(a){return{path:"/components/"+a,fragment:"access"}};
g.createIssue=function(){this.trackClick("createIssue");var a={};this.bLocation.setUrl(this.paths.createIssue((a.component=String(this.component.componentId),a)))};g.createChild=function(){this.bLocation.setUrl(this.paths.createComponent({parentId:this.component.componentId}))};g.trackClick=function(a){this.analytics.trackEvent("editComponent","click",a)};
var JBb=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,Fs(a.butterBar,"Looking up subcomponents...",0),a.componentActions.getDescendants(a.component.componentId).then(function(b){a.butterBar.dismiss();a.descendants=b;a.matDialogService.open(a.confirmArchiveDialog,{restoreFocus:!1}).afterClosed().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.")};
q9.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 Bn(a);case "UNSPECIFIED_RETENTION":return"Retention period unspecified";default:Oh(b,"unexpected value "+b+"!")}};
q9.prototype.archive=function(){var a=this;this.isArchiving=!0;Fs(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);Fs(a.butterBar,a.archiveAction+'d component "'+a.component.name+'"',4E3);a.analytics.trackEvent("component","archive");a.updateComponentAndOriginalComponent(b);a.archiveAction=b.archived?"Unarchive":"Archive";a.isArchiving=
!1}).catch(function(b){a.component.archived=!a.component.archived;Fs(a.butterBar,"Could not "+a.archiveAction.toLowerCase()+" component: "+(wn(b)?xn(b):b));a.isArchiving=!1})};
q9.prototype.loadTemplates=function(a){var b=this;return this.templatesApi.query(a).then(function(c){b.templates=c.map(function(d){var e=d.name;e||(e=d.default?"(default template)":"(unnamed template)");var f={};f=b.paths.getBaseUrl()+"/"+b.paths.createIssue((f.component=a?String(a):void 0,f.template=d.templateId?String(d.templateId):void 0,f));return{name:e,description:d.description||"",url:f}})}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
q9.prototype.setCommentEditState=function(a){this.commentEditsEnabled=a;this.component.commentEditState=this.commentEditsEnabled?"ENABLED":"DISABLED"};
var cOc=function(a,b){return a.componentHistoryUiEnabled?a.componentUpdatesApi.get(b).then(function(c){a.updateDiffs=c.updates.map(function(d){var e=a.componentUpdates,f=eNa(d.addMask.paths),h=eNa(d.removeMask.paths),k={author:d.author||null,timestamp:d.timestamp||null,diffs:[]},q=d.add;d=d.remove;for(var t=l(new Set([].concat(u(f),u(h)))),w=t.next();!w.done;w=t.next()){var y=w.value;if(w=Ibc.get(y))if("name"===y){var C=Jo(h,y,d.name);y=Jo(f,y,q.name);k.diffs.push(Ko(w,C,y))}else if("description"===
y)C=Jo(h,y,d.description),y=Jo(f,y,q.description),k.diffs.push(Ko(w,C,y));else if("parentComponentId"===y)C=Jo(h,y,String(d.parentComponentId)),y=Jo(f,y,String(q.parentComponentId)),k.diffs.push(Ko(w,C,y));else if("isArchived"===y)C=Jo(h,y,String(d.archived)),y=Jo(f,y,String(q.archived)),k.diffs.push(Ko(w,C,y));else if("commentEditState"===y){var J=Jbc.get(d.commentEditState);C=Jbc.get(q.commentEditState);J&&C&&(J=Jo(h,y,J),y=Jo(f,y,C),k.diffs.push(Ko(w,J,y)))}else"defaultTemplateId"===y?(C=Jo(h,
y,String(d.defaultTemplateId)),y=Jo(f,y,String(q.defaultTemplateId)),k.diffs.push(Ko(w,C,y))):"slo"===y?e.sessionIsInternal&&(C=Jo(h,y,kNa(d.slo)),y=Jo(f,y,kNa(q.slo)),k.diffs.push(Ko(w,C,y))):"team"===y?e.sessionIsInternal&&(C=Jo(h,y,lNa(d.team)),y=Jo(f,y,lNa(q.team)),k.diffs.push(Ko(w,C,y))):"retentionSettings"===y?(C=Jo(h,y,iNa(d.retentionSettings)),y=Jo(f,y,iNa(q.retentionSettings)),k.diffs.push(Ko(w,C,y))):e.$log.error("Unsupported diff field "+y)}return k}).filter(function(d){return d.diffs.length})}).catch(function(c){a.errorHandler.errorHandler(null,
c)}):Promise.reject()};q9.prototype.showUpdateHistoryModal=function(){var a=this;cOc(this,this.componentId).then(function(){a.matDialogService.open(g4,{width:"600px",data:{updateDiffs:a.updateDiffs}});a.analytics.trackEvent(Kp.UPDATE_HISTORY_MODAL,"open");a.analytics.trackEvent(Kp.MANAGE_COMPONENT,"viewHistory")})};q9.prototype.onSloChange=function(a){this.component.slo.id=a?a.sloId:"0";a&&dOc(this)};
var oCb=function(a){var b=!!a.parentComponent,c="0"!==a.component.team.id;return et(a)&&(c||b)},uCb=function(a){var b=!a.component.team||"0"===a.component.team.id,c=!a.parentComponent;return et(a)&&(!a.component.slo.inherit||c&&b)},YBb=function(a){var b,c,d,e;qe(function(f){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?f.yield((0,E.firstValueFrom)(a.team$.pipe(D(function(h){a.component.slo.id=
h.slo.sloId;dOc(a)}))),0):(d=eOc(a),e=d.id,a.component.slo.id=e,dOc(a),f.jumpTo(0))})},tCb=function(a){var b=a.parentComponent||a.isParentComponentRequired;return"0"!==a.component.team.id||b?!0:!1},eOc=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}},FCb=function(a,b){Fs(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(Kp.MANAGE_COMPONENT,"updateEffort");var d,e;if(null==(d=a.component)?0:null==(e=d.effortSpec)?0:e.name){var f;Fs(a.butterBar,(null==(f=a.component.effortSpec)?void 0:f.name)+" saved")}else Fs(a.butterBar,"Estimated Effort saved")}).catch(function(c){a.errorHandler.errorHandler(null,c)}))};
q9.prototype.updateComponentAndOriginalComponent=function(a){this.component=ai(a);this.component$.next(this.component);this.originalComponent=ai(a);var b;this.componentTeam$.next(null!=(b=this.component.team)?b:null);dOc(this)};q9.prototype.back=function(){C0(this.appHistory)};var dOc=function(a){var b;(null==(b=a.component)?0:b.slo)?a.isEnableSloChecked="0"!==a.component.slo.id:a.isEnableSloChecked=!1};
q9.\u0275fac=function(a){return new (a||q9)(B(ik),B(XD,2),B(XO),B(bF),B(rH),B(cF),B(B0),B(EG),B(UG),B(nt),B(lL),B(vA),B(aI),B(AX),B(VF),B(kL),B(FG),B(EP),B($8),B(SJ),B(lG),B(WI),B(aX),B(bX),B(SG))};
q9.\u0275cmp=r({type:q9,selectors:[["manage-component-page"]],viewQuery:function(a,b){a&1&&(og(NNc,5),og(ONc,5),og(b9,5),og(PNc,5),og(eU,5,Hd));if(a&2){var c;ng(c=qg())&&(b.confirmArchiveDialog=c.first);ng(c=qg())&&(b.archiveButton=c.first);ng(c=qg())&&(b.recommendationSettings=c.first);ng(c=qg())&&(b.metadataForm=c.first);ng(c=qg())&&(b.tabs=c)}},features:[bg([XD]),yf],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","componentPathInfo","componentId","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&&(F(0,YCb,12,3,"ng-container",0),W(1,"async"),
F(2,ZCb,2,1,"ng-template",null,1,tg));if(a&2){var c=S(3);G("ngIf",!X(1,2,b.showTrackerRedirect$))("ngIfElse",c)}},dependencies:[rJ,Tv,Uv,Zv,MA,nL,aQ,OP,A3,WGc,J3,QW,WZ,N3,Ew,Jg,ww,xw,Ow,Dw,Bw,p9,YU,AD,eA,fA,eL,wA,xA,yA,zA,Px,oQ,fU,eU,dC,b9,i0,o9,ZP,a9,g0,eK,wL,qL,R6,$v,bw],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 FDb=function(a){return{value:a}},GDb=function(a){return[a]},HDb=function(){return[]},fOc={BASIC:"basic",SLO:"slo",MAPPINGS:"componentMapping"},r9=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J){Z.call(this);var I=this;this.activeSession=a;this.accessPolicyApi=b;this.appHistory=c;this.butterBar=d;this.checkBeforeExit=e;this.componentActions=f;this.errorHandler=h;this.location=k;this.pageTitle=q;this.routeParams=t;this.teamsService=w;this.userAccess=y;this.sloApi=C;this.sloService=J;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(O){return O.slo}));this.isSloLeadValid=!1;this.sloLeadEmail$=new E.BehaviorSubject("");this.sloLead$=new E.BehaviorSubject("");this.sloLeadUserValidators={sloLeadNotUser:function(O){if(O){O=l(O);
for(var U=O.next();!U.done;U=O.next())if(0!==U.value.indexOf("USER:"))return!1}return!0}};this.sloLeadGooglerValidators={sloLeadNotGoogler:function(O){if(O){O=l(O);for(var U=O.next();!U.done;U=O.next())if(0!==U.value.indexOf("UNRESTRICTED_GOOGLER:"))return!1}return!0}};this.teamAdmins$=(0,E.from)(this.accessPolicyApi.get("TEAM",this.teamId)).pipe(D(function(O){return O.admins.filter(ji).map(Mo)}));this.teamLeads$=this.team$.pipe(D(function(O){return O.members.filter(function(U){return U.isLead}).map(function(U){var aa,
na;return"USER:"+(null!=(na=null==(aa=U.user)?void 0:aa.emailAddress)?na:"")})}));this.adminsAndLeads$=(0,E.combineLatest)([this.teamAdmins$,this.teamLeads$]).pipe(D(function(O){var U=l(O);O=U.next().value;U=U.next().value;var aa=new Set(O);U=U.filter(function(na){return!aa.has(na)});return[].concat(u(O),u(U))}));this.associatedComponents$=(0,E.from)(this.componentActions.search("directteamid:"+this.teamId));this.teamPath$=this.team$.pipe(D(function(O){var U=O.pathNames;return O.pathIds.map(function(aa,
na){return{id:aa,name:U[na]}})}));this.isRootTeam$=this.teamPath$.pipe(D(function(O){return 1>=O.length?!0:!1}));this.parentTeam$=(0,E.combineLatest)([this.isRootTeam$,this.teamPath$]).pipe(af(function(O){var U=l(O);O=U.next().value;U=U.next().value;return O?(0,E.of)(null):I.teamsService.getTeam(U[U.length-2].id)}));this.parentTeam=null;this.inheritedSlo$=this.parentTeam$.pipe(af(function(O){var U=null==O?void 0:O.slo.sloId;return U&&"0"!==U?I.sloService.get(U).then(function(aa){return{id:U,link:rwa(U),
slo:aa}}):(0,E.of)({id:"0"})}));this.sloPolicySource$=(0,E.combineLatest)([this.parentTeam$,this.teamPath$]).pipe(D(function(O){var U=l(O);O=U.next().value;U=U.next().value;var aa=null==O?void 0:O.slo.sourceTeamId;O=U.find(function(na){return na.id===aa});return aa&&O?{name:O.name,link:{path:"/teams/"+aa+"/edit",fragment:"slo"}}:null}));this.Tab=fOc;this.enableSloLockingUi=yD(this.activeSession,"enableSloLockingUi");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(O){return XF(I.userAccess,"reader","slos/"+O)}),$e(!1));this.sloPickerLink$=(0,E.combineLatest)([this.sloId$,this.hasSloReadAccess$]).pipe(D(function(O){var U=l(O);O=U.next().value;U=U.next().value;return O&&0<Number(O)&&U?rwa(O):null}));this.hasUnsavedChanges$=(0,E.combineLatest)([this.team$,this.sloId$,this.isSloInheritEnabled$,this.sloLocked$,this.sloJustification$,this.sloLeadEmail$]).pipe(D(function(O){var U=
l(O),aa=U.next().value;O=U.next().value;var na=U.next().value,sa=U.next().value,Ba=U.next().value;U=U.next().value;var Pa=aa.slo,Ja,cb;aa=null!=(cb=null==(Ja=aa.sloLead)?void 0:Ja.emailAddress)?cb:"";return Pa.inherit!==na||Pa.sloId!==O||sa!==I.originalSloLock||Pa.comment!==Ba||aa!==U}));this.hasEditAccess=!1;this.pageTitle.setTitle("Team Overview");this.team$.pipe(bf(this.destroyed$)).subscribe(function(O){I.pageTitle.setTitle("Team: "+O.name)});a=yD(this.activeSession,"enableSloLockingCheck")?"teams/"+
this.teamId+"/slo":"teams/"+this.teamId;XF(this.userAccess,"writer",a).then(function(O){I.hasEditAccess=O});this.childTeams$=this.teamsService.getChildTeams([this.teamId]).pipe(D(function(O){return O.values().next().value}));this.sloLock$=this.sloApi.executor.get({url:"action/teams/"+this.teamId+"/slo_edit_policy",responseConstructor:YW}).pipe(D(Cza));var P=Ck(this.hasUnsavedChanges$.pipe(bf(this.destroyed$)),!1);this.subscriptions.add(BX(this.checkBeforeExit,function(){return P.getValue()},!1))};
Y(r9,Z);r9.\u0275dir=Z.\u0275dir;
r9.prototype.ngOnInit=function(){var a=this,b,c;return qe(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),re(d,2),d.yield((0,E.firstValueFrom)(a.teamsService.get(a.teamId)),4);case 4:c=d.yieldResult;tt(d,3);break;case 2:return ve(d),a.butterBar.showWarning("Unable to fetch team ID '"+a.teamId+"'"),d.return();case 3:return a.team$.next(c),zDb(a),d.yield((0,E.firstValueFrom)(a.parentTeam$),
5);case 5:a.parentTeam=d.yieldResult||null,we(d)}})};r9.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)};r9.prototype.onSloChange=function(a){a&&(this.sloId=a.sloId)};
var yDb=function(a,b){var c,d,e,f,h,k;return qe(function(q){switch(q.nextAddress){case 1:if(!a.validate())return q.return();Fs(a.butterBar,"Saving changes...",0);re(q,2);if((null==(c=b.sloLead)?void 0:c.emailAddress)===a.sloLeadEmail){q.jumpTo(4);break}return q.yield((0,E.firstValueFrom)(a.teamsService.updateTeam(Object.assign({},b,{sloLead:{emailAddress:a.sloLeadEmail}}))),5);case 5:d=q.yieldResult,a.team$.next(d);case 4:if(a.sloLocked===a.originalSloLock){q.jumpTo(6);break}var t=q.yield,w=E.firstValueFrom;
var y=a.sloApi;var C=a.teamId,J=a.sloLocked,I=new zF;J=Cl(I,2,J?1:2).setTeamId(Number(C));y=y.executor.post({url:"action/teams/"+C+"/slo_edit_policy",responseConstructor:$W,body:J}).pipe(D(Cza));return t.call(q,w.call(E,y),7);case 7:e=q.yieldResult,a.originalSloLock=e;case 6:f=b.slo;if(f.inherit===a.isSloInheritEnabled&&f.sloId===a.sloId&&a.originalSloLock===a.sloLocked&&f.comment===a.sloJustification){q.jumpTo(8);break}t=q.yield;w=E.firstValueFrom;J={sloId:a.sloId,inherit:a.isSloInheritEnabled,comment:a.isSloInheritEnabled?
"":a.sloJustification$.getValue(),sourceTeamId:"0"};y=a.teamsService;C=a.teamId;J=(new VI).setIt(Mxa(J));y=y.executor.post({url:"/action/teams/"+C+"/update_slo",body:J,responseConstructor:RI}).pipe(D($n));return t.call(q,w.call(E,y),9);case 9:h=q.yieldResult,a.team$.next(h);case 8:Fs(a.butterBar,"Save complete.");tt(q,0);break;case 2:k=ve(q),HG(a.errorHandler,k),we(q)}})};
r9.prototype.validate=function(){if(!this.isSloInheritEnabled&&""===this.sloJustification$.getValue())return this.error="Justification is required",!1;if(!this.isSloLeadValid)return this.error="Please provide a valid SLO lead",!1;this.error="";return!0};
var gOc=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:""})},hOc=function(a){(0,E.firstValueFrom)(a.teamSlo$).then(function(b){a.sloId=b.sloId;a.isSloInheritEnabled=b.inherit;a.sloJustification$.next(b.comment)})},iOc=function(a){(0,E.firstValueFrom)(a.sloLock$).then(function(b){a.originalSloLock=b;a.sloLocked=b})},zDb=function(a){a.error="";gOc(a);hOc(a);a.enableSloLockingUi&&iOc(a)};r9.prototype.back=function(){C0(this.appHistory)};
Gh.Object.defineProperties(r9.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()}}});r9.\u0275fac=function(a){return new (a||r9)(B(nt),B(KH),B(B0),B(EG),B(AX),B(kL),B(FG),B(bF),B(UG),B(XO),B(WI),B(VF),B(aX),B(bX))};
r9.\u0275cmp=r({type:r9,selectors:[["manage-team-page"]],viewQuery:function(a,b){a&1&&og(eU,5,Hd);if(a&2){var c;ng(c=qg())&&(b.tabs=c)}},features:[yf],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"],["idForInputBox","team-slo-lead","ariaLabel","Team SLO lead email",3,"users","customValidators","detailedUserValidators",
"maxUserAllowed","usersChange","isValid"],["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"],[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),Q("click",function(){return b.back()}),L(4,"mat-icon",4),K()()()(),H(5,"div",5),F(6,IDb,99,46,"ng-container",6),W(7,"async"),K());a&2&&(A(6),G("ngIf",X(7,1,b.team$)))},dependencies:[Sv,Tv,Uv,MA,WZ,Jg,ww,Ow,Dw,p9,YU,eA,fA,eL,fU,eU,dC,Px,oQ,UY,AE,
ZP,g0,W_,$v],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 s9=function(){this.DEFINITIONS=e5b;this.sourceFilterKeys=[];this.selectedSources=[];this.change=new mv};s9.\u0275fac=function(a){return new (a||s9)};
s9.\u0275cmp=r({type:s9,selectors:[["source-filter-chips"]],inputs:{sourceFilterKeys:"sourceFilterKeys",selectedSources:"selectedSources"},outputs:{change:"change"},decls:2,vars:1,consts:[["multiple","","aria-label","Source selection",3,"change"],[4,"ngFor","ngForOf"],["appearance","hairline-filter",3,"value","selected",4,"ngIf"],["appearance","hairline-filter",3,"value","selected"],[3,"matTooltip"]],template:function(a,b){a&1&&(H(0,"mat-chip-listbox",0),Q("change",function(c){b.selectedSources=c.value;
b.change.emit(c.value)}),F(1,KDb,2,1,"ng-container",1),K());a&2&&(A(1),G("ngForOf",b.sourceFilterKeys))},dependencies:[Tv,Uv,OU,UU,TU,dC],encapsulation:2});var jOc=["menuTrigger"],kOc={label:"Last 1 day",numberOfDays:1},lOc={label:"Last 7 days",numberOfDays:7},mOc={label:"Last 30 days",numberOfDays:30},nOc={label:"Last 90 days",numberOfDays:90},oOc=[kOc,lOc,mOc,nOc],pOc={1:kOc,7:lOc,30:mOc,90:nOc},t9=function(){this.timeBoundaries=oOc;this.change=new mv};t9.prototype.getLabel=function(a){if(null==a)return"";var b,c;return null!=(c=null==(b=pOc[a])?void 0:b.label)?c:""};t9.prototype.openMenu=function(){this.menuTrigger.openMenu()};
t9.\u0275fac=function(a){return new (a||t9)};
t9.\u0275cmp=r({type:t9,selectors:[["time-boundary-filter"]],viewQuery:function(a,b){a&1&&og(jOc,5);if(a&2){var c;ng(c=qg())&&(b.menuTrigger=c.first)}},inputs:{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),Q("keyup.enter",function(){return b.openMenu()})("keyup.space",function(){return b.openMenu()}),T(3),L(4,"mat-icon",3),K()(),H(5,"mat-menu",4,5),F(7,LDb,2,2,"button",6),K());if(a&2){var c=S(6);
G("selectable",!1);A(1);G("matMenuTriggerFor",c);A(2);V(" ",b.getLabel(b.selectedTimeBoundary)," ");A(4);G("ngForOf",b.timeBoundaries)}},dependencies:[Tv,MA,OU,UU,TU,SU,ZB,XB,YB],encapsulation:2});var qOc=[5433823,5418819,5421028];var u9=function(){this.DMA_TOOLTIP_TEXT="Issues related to DMA are part of a code red at Google, see go/dma52-cy";this.hotlistIds=null;this.onChipClicked=new mv},rOc=function(a){return qOc.some(function(b){var c;return null==(c=a.hotlistIds)?void 0:c.includes(b)})};u9.\u0275fac=function(a){return new (a||u9)};
u9.\u0275cmp=r({type:u9,selectors:[["onedev-dma-chip"]],inputs:{hotlistIds:"hotlistIds"},outputs:{onChipClicked:"onChipClicked"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"chip",3,"matTooltip"],[1,"content"],["href","http://go/dma","target","_blank",3,"click"]],template:function(a,b){a&1&&F(0,MDb,5,1,"ng-container",0);a&2&&G("ngIf",rOc(b))},dependencies:[Uv,dC],styles:["[_nghost-%COMP%]{--chip-text:var(--text-inverse,#fff);--chip-bg:var(--red-600,red-600)}body.dark-mode[_nghost-%COMP%], body.dark-mode   [_nghost-%COMP%]{--chip-bg:var(--red-300,red-300)}.chip[_ngcontent-%COMP%]{margin-left:8px;border-radius:10px;color:var(--chip-text);display:inline-block;height:20px;padding:0 6px;background-color:var(--chip-bg)}.chip[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;line-height:12px;margin-bottom:4px;margin-top:4px}.chip[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit;text-decoration:none}"],
changeDetection:0});var sOc=Kp.MISSION_CONTROL,v9=function(a,b,c,d,e,f,h,k,q,t){Z.call(this);var w=this;this.needsAttentionApi=a;this.taskFridge=b;this.errorHandler=c;this.tasksService=d;this.missionControlPrefs=e;this.domSafe=f;this.router=h;this.appEvents=k;this.analytics=q;this.clipboard=t;this.BUGANIZER_SOURCE_ICON="bug_report_24px";this.ALL_NEEDS_ATTENTION_SOURCE_FILTERS=b5b;this.refreshTable=new E.Subject;this.SIGNAL_TO_DISPLAY_TEXT=g5b;this.SIGNAL_TO_TOOLTIP_TEXT=h5b;this.SIGNAL_TO_ACTION_TEXT=i5b;this.needsAttentionIssues$=
new E.BehaviorSubject([]);this.tasksWithSignals$=this.taskFridge.watchMany({}).pipe(D(YDa));this.sources$=this.missionControlPrefs.needsAttentionSources$;this.timeBoundary$=this.missionControlPrefs.prefs$.pipe(D(function(y){var C;return null!=(C=null==y?void 0:y.needsAttentionDaysOld)?C:30}));this.allNeedsAttention$=new E.BehaviorSubject([]);this.loading=!0;this.displayedColumns="selection type description timestamp signal action copy dismiss".split(" ");this.selection=new Qx(!0,[]);this.DEFAULT_NUM_ROWS_DISPLAYED=
this.numDisplayedRows=10;this.needsAttentionApi.listIssues(void 0,void 0,mo()).then(function(y){w.needsAttentionIssues$.next(ZDa(y))});(0,E.combineLatest)([this.tasksWithSignals$,this.needsAttentionIssues$,this.sources$,this.timeBoundary$]).pipe(bf(this.destroyed$),D(function(y){var C=l(y);y=C.next().value;var J=C.next().value,I=C.next().value;C=C.next().value;var P=XDa(y,J,I,C);setTimeout(function(){w.appEvents.missionControlTaskCount.next(P.length)});return P})).subscribe(function(y){w.loading=
!1;w.allNeedsAttention$.next(y)});this.taskFridge.error$.pipe(bf(this.destroyed$)).subscribe(function(y){w.loading=!1;w.errorHandler.errorHandler(null,y)})};Y(v9,Z);v9.\u0275dir=Z.\u0275dir;v9.prototype.ngOnInit=function(){var a=this;this.refreshTable.pipe(bf(this.destroyed$)).subscribe(function(){a.loading=!0;a.taskFridge.pokeMany({});a.needsAttentionApi.listIssues(void 0,void 0,mo()).then(function(b){a.needsAttentionIssues$.next(ZDa(b))})})};
var QDb=function(a,b){a.selection.selected.length===b.length?a.selection.clear():(b=b.map(function(c){return c.id}),a.selection.select.apply(a.selection,u(b)))},tEb=function(a,b){if("Buganizer"===b.type){var c=jo(b.id);if(!c)return;qG(a.needsAttentionApi,[c],!0).catch(function(d){return void a.errorHandler.errorHandler(null,d)})}else a.tasksService.dismiss([b.id]).subscribe(function(){},function(d){return void a.errorHandler.errorHandler(null,d)});c=a.allNeedsAttention$.getValue();a.allNeedsAttention$.next(c.filter(function(d){return d.id!==
b.id}));a.appEvents.missionControlTaskCount.next(c.length-1)},ht=function(a){switch(a){case "MENTIONED":case "NEEDS_ATTENTION":case "TAGGED_IN_COMMENT":case "THREAD_MENTIONS_ME":return 0;case "NEAR_SLO":case "REPLIED_TO_MENTION":case "ASSIGNED":case "REQUIRES_APPROVAL":case "READY_TO_SUBMIT":return 1;default:return 2}},lEb=function(a){var b=a[0],c=ht(b);a=l(a);for(var d=a.next();!d.done;d=a.next())d=d.value,ht(d)<c&&(b=d,c=ht(b));return b},jEb=function(a,b){return a.filter(function(c){return c!==
b}).map(function(c){return g5b.get(c)}).join("; ")};
v9.prototype.navigateToResource=function(a,b,c){if(!(a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"keydown"===a.type&&a instanceof KeyboardEvent&&"Enter"!==a.key)){this.sendClickAnalytics(b,c);var d;a&&"A"===(null==(d=a.target)?void 0:d.tagName)||("Buganizer"===b.type?(b=jo(b.id),b=Ok(b),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):(null==a?0:a.shiftKey)?Ap(this.domSafe,b):Ns(this.router,b)):this.domSafe.openInNewTab(b.link))}};
v9.prototype.sendClickAnalytics=function(a,b){this.analytics.trackEvent(sOc,"navigate","needsAttention-"+a.type+"-"+a.signals.join(","));b=l(FEb(a,b));a=b.next().value;b=b.next().value;this.analytics.trackEvent(sOc,"ctr-sig-yes",a);this.analytics.trackEvent(sOc,"ctr-sig-no",b)};v9.prototype.setNumDisplayedRows=function(a){this.numDisplayedRows=a.length>this.numDisplayedRows?a.length:10};
var WDb=function(a){var b=a.selection.selected,c=b.filter(function(f){return f.startsWith("b/")}).map(function(f){return jo(f)}),d=b.filter(function(f){return!f.startsWith("b/")});0<c.length&&qG(a.needsAttentionApi,c,!0).catch(function(f){return void a.errorHandler.errorHandler(null,f)});0<d.length&&a.tasksService.dismiss(d).subscribe(function(){},function(f){return void a.errorHandler.errorHandler(null,f)});var e=new Set(b);b=a.allNeedsAttention$.getValue();a.allNeedsAttention$.next(b.filter(function(f){return!e.has(f.id)}));
a.appEvents.missionControlTaskCount.next(b.filter(function(f){return!e.has(f.id)}).length);a.selection.clear()};v9.prototype.copyIdOrLink=function(a){"Buganizer"===a.type?(a=jo(a.id))&&this.clipboard.copy(a):this.clipboard.copy(a.link)};v9.prototype.sendDmaAnalytics=function(){this.analytics.trackEvent(Kp.MISSION_CONTROL,"click","dmaChip")};v9.\u0275fac=function(a){return new (a||v9)(B(pG),B(QI),B(FG),B(PI),B(DK),B(lM),B(yE),B(lG),B(aI),B(TP))};
v9.\u0275cmp=r({type:v9,selectors:[["b-needs-attention-table"]],inputs:{refreshTable:"refreshTable"},features:[yf],decls:10,vars:8,consts:[[1,"flex-kids-x","align-items-center","padded-xs-y","border-bottom"],[1,"heading-s"],[4,"ngIf"],[4,"ngIf","ngIfElse"],["loadingSpinner",""],[1,"padded-s-x",3,"sourceFilterKeys","selectedSources","change"],[1,"border-left","padded-s-left",3,"selectedTimeBoundary","change"],["class","muted border-bottom padded-s-y",4,"ngIf"],[1,"muted","border-bottom","padded-s-y"],
["mat-table","","aria-label","Table of alerts",1,"full-width",3,"dataSource"],["matColumnDef","selection"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","type"],["matColumnDef","description"],["matColumnDef","timestamp"],["matColumnDef","signal"],["matColumnDef","action"],["matColumnDef","copy"],["mat-header-cell","","class","border-bottom",4,"matHeaderCellDef"],["matColumnDef","dismiss"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class",
"clickable",3,"click",4,"matRowDef","matRowDefColumns"],["class","mat-row padded-y",4,"matNoDataRow"],["mat-button","","class","gmat-button margin-s-top",3,"click",4,"ngIf"],["mat-header-cell",""],["aria-label","Select all alerts",3,"checked","indeterminate","change"],["mat-cell",""],["aria-label","Select alert",3,"checked","click","change"],["role","img","matTooltipPosition","left","matTooltipShowDelay","250",3,"matTooltip","svgIcon"],["mat-button","","class","gmat-button bulk-dismiss",3,"click",
4,"ngIf"],["mat-button","",1,"gmat-button","bulk-dismiss",3,"click"],["class","alert-description",4,"ngIf","ngIfElse"],["noTitle",""],[1,"alert-description"],[3,"accessLevel","compactMode"],["class","margin-xs-right",3,"issuePriority",4,"ngIf"],["tabindex","0","role","link",1,"subtle-link",3,"href","auxclick"],[3,"hotlistIds","onChipClicked"],[1,"margin-xs-right",3,"issuePriority"],[1,"italic"],["mode","relativepastshort",3,"timestamp","paddingLeftPx",4,"ngIf"],["mode","relativepastshort",3,"timestamp",
"paddingLeftPx"],["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","",1,"copy-btn","xs",3,"matTooltip","click"],["svgIcon",
"copy","color","primary",1,"copy-icon"],["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","xs",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","border-bottom","padded-s-y"],[3,"ariaLabel"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"span",1),T(2,"Sources"),K(),F(3,NDb,2,2,"ng-container",2),W(4,"async"),F(5,ODb,2,1,"ng-container",2),W(6,"async"),K(),F(7,DEb,3,3,"ng-container",3)(8,EEb,2,1,"ng-template",null,4,tg));if(a&2){var c=S(9);A(3);G("ngIf",X(4,4,b.sources$));A(2);
G("ngIf",X(6,6,b.timeBoundary$));A(2);G("ngIf",!b.loading)("ngIfElse",c)}},dependencies:[Tv,Uv,MA,CM,TV,GV,MV,IV,FV,OV,JV,LV,PV,RV,SV,eL,dC,eA,fA,s9,t9,eK,EU,nL,u9,$v],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}.mat-column-selection[_ngcontent-%COMP%]{text-align:center}.mat-column-type[_ngcontent-%COMP%]{text-align:center}.mat-column-type[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{vertical-align:middle}.product-icon.critique-logo[_ngcontent-%COMP%]{max-width:20px}.product-icon.drive-doc[_ngcontent-%COMP%]{color:var(--blue-700)}.product-icon.drive-sheet[_ngcontent-%COMP%]{color:var(--green-600)}.product-icon.drive-slide[_ngcontent-%COMP%]{color:var(--yellow-600)}th.mat-column-signal[_ngcontent-%COMP%]{padding-left:8px}th.mat-column-action[_ngcontent-%COMP%]{padding-left:12px}.mat-column-copy[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%]{color:#fff;color:var(--background);margin-bottom:1px}.mat-column-dismiss[_ngcontent-%COMP%]   .dismiss-icon[_ngcontent-%COMP%]{color:#fff;color:var(--background);margin-bottom:1px}.copy-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%], .copy-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .dismiss-icon[_ngcontent-%COMP%], .dismiss-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%], .dismiss-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .dismiss-icon[_ngcontent-%COMP%], .mat-row[_ngcontent-%COMP%]:focus-visible   .copy-icon[_ngcontent-%COMP%], .mat-row[_ngcontent-%COMP%]:focus-visible   .dismiss-icon[_ngcontent-%COMP%], .mat-row[_ngcontent-%COMP%]:hover   .copy-icon[_ngcontent-%COMP%], .mat-row[_ngcontent-%COMP%]:hover   .dismiss-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--primary);background-color:unset}[_nghost-%COMP%]     .copy-btn:focus-within:not(.cdk-keyboard-focused) .mat-button-focus-overlay{opacity:0}.signal-chip[_ngcontent-%COMP%]{border:1px solid;border-color:#185abc;border-color:var(--blue-text);color:#185abc;color:var(--blue-text);padding:4px 12px;border-radius:32px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;text-align:center;white-space:nowrap}.signal-chip.urgent-0[_ngcontent-%COMP%]{border:1px solid;border-color:#d42521;border-color:var(--red-text);color:#d42521;color:var(--red-text)}.signal-chip.urgent-1[_ngcontent-%COMP%]{border:1px solid;border-color:#9334e6;border-color:var(--purple-text);color:#9334e6;color:var(--purple-text)}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 w9=function(a,b,c){Z.call(this);var d=this;this.prefsService=a;this.appEvents=b;this.analytics=c;this.numNeedsAttentionTasks$=this.appEvents.missionControlTaskCount;this.refreshData=new E.Subject;this.numNeedsAttentionTasks$.pipe(He(jl),Qe(),bf(this.destroyed$)).subscribe(function(h){d.analytics.trackEvent(Kp.MISSION_CONTROL,"display","num-needs-attention-"+h,h)});var e;a=null!=(e=this.prefsService.prefs.needsAttentionSources)?e:b5b;var f;e=null!=(f=this.prefsService.prefs.needsAttentionDaysOld)?
f:30;this.analytics.trackEvent(Kp.MISSION_CONTROL,"view","needsAttention-filters-"+a.join(",")+"-"+e)};Y(w9,Z);w9.\u0275dir=Z.\u0275dir;w9.prototype.isCollapsed=function(){return this.prefsService.isCollapsed("needs-attention-wrapper")};w9.prototype.toggleCollapsed=function(){this.prefsService.toggleCollapsed("needs-attention-wrapper")};w9.\u0275fac=function(a){return new (a||w9)(B(DK),B(lG),B(aI))};
w9.\u0275cmp=r({type:w9,selectors:[["needs-attention-wrapper"]],inputs:{refreshData:"refreshData"},features:[yf],decls:10,vars:6,consts:[[1,"carded","bg-main"],[1,"flex-kids-x","align-items-center"],[1,"heading-s"],["svgIcon","info","tabindex","0","role","button","aria-hidden","false","aria-label","Work items which require actions from you","matTooltip","Work items which require actions from you",1,"info","margin-s-left"],["mat-icon-button","","aria-label","Toggle expansion state",1,"gmat-button",
"small","collapse-btn","margin-s-left",3,"click"],["svgIcon","arrow-up",1,"icon-m"],["class","alert-count-badge b-chip",4,"ngIf"],["class","main-content",4,"ngIf"],[1,"alert-count-badge","b-chip"],[1,"alert-count"],[1,"main-content"],[3,"refreshTable"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"header",1)(2,"h3",2),T(3," Needs attention "),K(),L(4,"mat-icon",3),H(5,"button",4),Q("click",function(){return b.toggleCollapsed()}),L(6,"mat-icon",5),K(),F(7,GEb,3,1,"div",6),W(8,"async"),K(),F(9,HEb,
2,1,"div",7),K());a&2&&(Jf("collapsed",b.isCollapsed()),A(7),G("ngIf",X(8,4,b.numNeedsAttentionTasks$)),A(2),G("ngIf",!b.isCollapsed()))},dependencies:[Uv,MA,eA,v9,dC,$v],styles:["[_nghost-%COMP%]{display:block}.collapse-btn[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform .1s ease-in-out;transition:-webkit-transform .1s ease-in-out;transition:transform .1s ease-in-out;transition:transform .1s ease-in-out,-webkit-transform .1s ease-in-out}.collapsed[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.carded[_ngcontent-%COMP%]{-webkit-transition:none .1s ease-in-out;transition:none .1s ease-in-out;-webkit-transition-property:padding;transition-property:padding}.carded.collapsed[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.alert-count-badge[_ngcontent-%COMP%]{margin-left:8px;background-color:#c5221f;background-color:var(--text-bad);color:#fff;color:var(--text-inverse);line-height:24px;border-radius:12px}.alert-count-badge[_ngcontent-%COMP%]   .alert-count[_ngcontent-%COMP%]{font-size:.8125rem;height:24px;text-align:center}.info[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);height:20px;width:20px}"]});var tFb=function(){return[]},uFb=function(){return["moreRows"]},x9=function(a,b,c,d,e,f,h,k,q,t,w){Z.call(this);var y=this;this.prefsService=a;this.issueFridge=b;this.taskFridge=c;this.currentUser=d;this.router=e;this.domSafe=f;this.analytics=h;this.constants=k;this.errorHandler=q;this.activeSession=t;this.clipboard=w;this.BUGANIZER_SOURCE_ICON="bug_report_24px";this.ALL_MY_TASK_FILTERS=c5b;this.refreshData=new E.Subject;this.sources$=this.prefsService.myTasksSources$;this.timeBoundary$=this.prefsService.prefs$.pipe(D(function(C){var J;
return null!=(J=null==C?void 0:C.myTasksDaysOld)?J:7}));this.tabData=[{label:"Owned",description:"Tasks you own or are the author of",tasks:new E.BehaviorSubject([]),loading:!0},{label:"Collaborating",description:"Tasks you're working on or contributing to (but don't own)",tasks:new E.BehaviorSubject([]),loading:!0},{label:"Following",description:"Tasks you're tracking or have recent activities on",tasks:new E.BehaviorSubject([]),loading:!0}];this.ownedIssues$=this.timeBoundary$.pipe(af(function(C){return tOc(y,
"assignee:me modified:$$BOUNDARY$$ status:open",C)}));this.collaboratingIssues$=this.timeBoundary$.pipe(af(function(C){return tOc(y,"(collaborator:me OR reporter:me) -assignee:me modified:$$BOUNDARY$$ status:open",C)}));this.followingIssues$=this.timeBoundary$.pipe(af(function(C){return tOc(y,"(star:true OR (cc:me AND status:open) OR (commenter:me AND status:open)) modified:$$BOUNDARY$$ -(collaborator:me OR reporter:me OR assignee:me)",C)}));this.ownedTasks$=this.timeBoundary$.pipe(af(function(C){return y.taskFridge.watchMany({maxTaskAgeDays:C}).pipe(D(function(J){return J.results}),
D(function(J){var I=y.currentUser.email,P=[];J=l(J);for(var O=J.next();!O.done;O=J.next()){O=O.value;var U=void 0;switch(null==(U=O.resource)?void 0:U.source){case "CRITIQUE":var aa=U=void 0;(null==(U=O.resource)?void 0:null==(aa=U.critiqueResource)?void 0:aa.authorEmail)===I&&P.push(O);break;case "DRIVE":aa=U=void 0;(null==(U=O.resource)?0:null==(aa=U.driveResource)?0:aa.ownedByMe)&&P.push(O);break;case "ARIANE":aa=U=void 0;(null==(U=O.resource)?0:null==(aa=U.launchResource)?0:aa.ownedByMe)&&P.push(O);
break;default:U=void 0,console.warn("getMyTasksOwned() Unhandled task type: "+(null==(U=O.resource)?void 0:U.source),O)}}return P}))}));this.collaboratingTasks$=this.timeBoundary$.pipe(af(function(C){return y.taskFridge.watchMany({maxTaskAgeDays:C}).pipe(D(function(J){return J.results}),D(function(J){var I=y.currentUser.email,P=[];J=l(J);for(var O=J.next();!O.done;O=J.next()){O=O.value;var U=void 0;switch(null==(U=O.resource)?void 0:U.source){case "CRITIQUE":var aa=U=void 0;(null==(U=O.resource)?
0:null==(aa=U.critiqueResource)?0:aa.reviewerEmails.includes(I))&&P.push(O);break;case "DRIVE":aa=U=void 0;(null==(U=O.resource)?0:null==(aa=U.driveResource)?0:aa.sharedWithMe)&&P.push(O);break;case "ARIANE":aa=U=void 0;(null==(U=O.resource)?0:null==(aa=U.launchResource)?0:aa.needApprovalFromMe)&&P.push(O);break;default:U=void 0,console.warn("getMyTasksCollaborating() Unhandled task type: "+(null==(U=O.resource)?void 0:U.source),O)}}return P}))}));this.followingTasks$=this.timeBoundary$.pipe(af(function(C){return y.taskFridge.watchMany({maxTaskAgeDays:C}).pipe(D(function(J){return J.results}),
D(function(J){return lCa(J,y.currentUser.email)}))}));this.enableNewVisibilityChips=yD(this.activeSession,"enableNewVisibilityChips");this.displayColumns="type title modified role created copy".split(" ");this.DEFAULT_NUM_ROWS_DISPLAYED=this.numDisplayedRows=10;uOc(this,this.ownedIssues$,this.ownedTasks$,this.tabData[0]).pipe(bf(this.destroyed$)).subscribe(function(C){y.tabData[0].loading=!1;y.tabData[0].tasks.next(C)});uOc(this,this.collaboratingIssues$,this.collaboratingTasks$,this.tabData[1]).pipe(bf(this.destroyed$)).subscribe(function(C){y.tabData[1].loading=
!1;y.tabData[1].tasks.next(C)});uOc(this,this.followingIssues$,this.followingTasks$,this.tabData[2]).pipe(bf(this.destroyed$)).subscribe(function(C){y.tabData[2].loading=!1;y.tabData[2].tasks.next(C)});this.analytics.trackEvent(Kp.MISSION_CONTROL,"display","my-tasks-"+this.tabData[this.selectedTabIndex].label);this.tabData[this.selectedTabIndex].tasks.pipe(Qe(),bf(this.destroyed$)).subscribe(function(C){y.analytics.trackEvent(Kp.MISSION_CONTROL,"display",0===C.length?"num-my-tasks-0":0<C.length&&
11>C.length?"num-my-tasks-1-10":"num-my-tasks-10plus",C.length)});this.taskFridge.error$.pipe(bf(this.destroyed$)).subscribe(function(C){y.errorHandler.errorHandler(null,C)})};Y(x9,Z);x9.\u0275dir=Z.\u0275dir;
x9.prototype.ngOnInit=function(){var a=this;this.refreshData.pipe(bf(this.destroyed$)).subscribe(function(){var b,c=null!=(b=a.prefsService.prefs.myTasksDaysOld)?b:7;0===a.selectedTabIndex?(a.tabData[0].loading=!0,vOc(a,"assignee:me modified:$$BOUNDARY$$ status:open",c)):1===a.selectedTabIndex?(a.tabData[1].loading=!0,vOc(a,"(collaborator:me OR reporter:me) -assignee:me modified:$$BOUNDARY$$ status:open",c)):(a.tabData[2].loading=!0,vOc(a,"(star:true OR (cc:me AND status:open) OR (commenter:me AND status:open)) modified:$$BOUNDARY$$ -(collaborator:me OR reporter:me OR assignee:me)",
c));a.taskFridge.pokeMany({maxTaskAgeDays:c})})};
var uOc=function(a,b,c,d){var e=a.currentUser.email;return(0,E.combineLatest)([b.pipe(D(function(f){return KEb(f,e,d.label)})),c.pipe(D(function(f){return LEb(f,d.label)})),a.sources$]).pipe(D(function(f){var h=l(f);f=h.next().value;var k=h.next().value;h=h.next().value;return wOc(f,k,h)}))},wOc=function(a,b,c){var d=[];c.some(function(e){return"WTDM"===e})&&d.push.apply(d,u(a.filter(function(e){return j_b.has(e.type)})));c.some(function(e){return"NON_WTDM"===e})&&d.push.apply(d,u(a.filter(function(e){return!j_b.has(e.type)})));
d.push.apply(d,u(b.filter(function(e){return c.some(function(f){return f===e.source})})));return d.sort(DFb)},tOc=function(a,b,c){return a.issueFridge.watchMany({filter:b.replace("$$BOUNDARY$$",c+"d"),pageSize:50,sort:"modified_time:desc"}).pipe(D(function(d){return d.results}))},vOc=function(a,b,c){a.issueFridge.pokeMany({filter:b.replace("$$BOUNDARY$$",c+"d"),pageSize:50,sort:"modified_time:desc"})};g=x9.prototype;g.toggleCollapsed=function(){this.prefsService.toggleCollapsed("mc-my-tasks")};
g.isCollapsed=function(){return this.prefsService.isCollapsed("mc-my-tasks")};g.setNumDisplayedRows=function(a){this.numDisplayedRows=a.length>this.numDisplayedRows?a.length:10};
g.navigateToResource=function(a,b){if(!(a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button)){this.sendClickAnalytics(b);var c;a&&"A"===(null==(c=a.target)?void 0:c.tagName)||("Buganizer"===b.source?a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b.link):a&&a.shiftKey?Ap(this.domSafe,b.link):Ns(this.router,b.link):this.domSafe.openInNewTab(b.link))}};g.copyIdOrLink=function(a){"Buganizer"===a.source?this.clipboard.copy(a.issueId):this.clipboard.copy(a.link)};
g.sendClickAnalytics=function(a){var b,c=(null!=(b=a.role)?b:"").split(" ").map(function(d,e){return 0===e?d.toLowerCase():d.charAt(0).toUpperCase()+d.substring(1).toLowerCase()}).join("");this.analytics.trackEvent(Kp.MISSION_CONTROL,"navigate","myTasks-"+a.source+"-"+c)};g.sendDmaAnalytics=function(){this.analytics.trackEvent(Kp.MISSION_CONTROL,"click","dmaChip")};
Gh.Object.defineProperties(x9.prototype,{selectedTabIndex:{configurable:!0,enumerable:!0,get:function(){var a;return null!=(a=m6b(this.prefsService,"mc-my-tasks"))?a:0}}});x9.\u0275fac=function(a){return new (a||x9)(B(DK),B(iI),B(QI),B(JL),B(yE),B(lM),B(aI),B(BD),B(FG),B(nt),B(TP))};
x9.\u0275cmp=r({type:x9,selectors:[["my-tasks"]],inputs:{refreshData:"refreshData"},features:[yf],decls:12,vars:3,consts:[[1,"carded","bg-main"],[1,"flex-kids-x","align-items-center"],[1,"heading-s"],["svgIcon","info","tabindex","0","role","button","aria-hidden","false","aria-label","My tasks helps you quickly find your active tasks and docs organized by your relation to them","matTooltip","My tasks helps you quickly find your active tasks and docs organized by your relation to them",1,"info","margin-s-left"],
["mat-icon-button","","aria-label","Toggle collapsed state for this card",1,"gmat-button","small","collapse-btn","margin-s-left",3,"click"],["svgIcon","arrow-up",1,"icon-m"],["class","main-content margin-s-top",4,"ngIf"],["loadingSpinner",""],["dashDash",""],[1,"main-content","margin-s-top"],["gmat-tabs","","matAlignTabs","start","matStretchTabs","false","preserveContent","",3,"selectedIndex","selectedTabChange"],[4,"ngFor","ngForOf"],["mat-tab-label",""],[1,"tab-filters","flex-kids-x","align-items-center",
"padded-xs-y","border-bottom"],[4,"ngIf"],[4,"ngIf","ngIfElse"],["matTooltipShowDelay","500",1,"tab-label",3,"matTooltip"],[1,"padded-s-x",3,"sourceFilterKeys","selectedSources","change"],[1,"border-left","padded-s-left",3,"selectedTimeBoundary","change"],[1,"muted","border-bottom","padded-s-y"],["mat-table","",3,"dataSource"],["matColumnDef","type"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","title"],["matColumnDef","modified"],["matColumnDef","role"],
["matColumnDef","created"],["matColumnDef","copy"],["mat-header-cell","","class","copy-btn-header border-bottom",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","clickable",3,"click",4,"matRowDef","matRowDefColumns"],["matColumnDef","moreRows"],["mat-footer-cell","","colspan","1",4,"matFooterCellDef"],["mat-footer-row","",3,"hidden",4,"matFooterRowDef"],["class","mat-row padded-y",4,"matNoDataRow"],["mat-header-cell",""],["mat-cell",""],["matTooltipPosition",
"left","matTooltipShowDelay","250",3,"matTooltip","svgIcon"],["noTitle",""],["class","margin-xs-right",3,"issuePriority",4,"ngIf"],[1,"subtle-link",3,"href","auxclick"],[3,"hotlistIds","onChipClicked"],[3,"issueId","compactMode"],[3,"accessLevel","compactMode"],[1,"margin-xs-right",3,"issuePriority"],[1,"italic"],["mode","relativepastshort",3,"timestamp","paddingLeftPx",4,"ngIf"],["mode","relativepastshort",3,"timestamp","paddingLeftPx"],["mat-header-cell","",1,"copy-btn-header","border-bottom"],
["mat-icon-button","",1,"copy-btn","xs",3,"matTooltip","click"],["svgIcon","copy","color","primary",1,"copy-icon"],["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","",3,"hidden"],[1,"mat-row","padded-y"],["class","mat-cell type-l text-center padded-top","colspan","5",4,"ngIf"],["colspan","5",1,"mat-cell","type-l","text-center","padded-top"],[1,"text-center","border-bottom","padded-s-y"],[3,"ariaLabel"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"header",1)(2,"h3",2),T(3," My tasks "),K(),L(4,"mat-icon",3),H(5,"button",4),Q("click",function(){return b.toggleCollapsed()}),L(6,"mat-icon",5),K()(),F(7,AFb,3,2,"div",6),K(),F(8,BFb,2,1,"ng-template",
null,7,tg)(10,CFb,1,0,"ng-template",null,8,tg));a&2&&(Jf("collapsed",b.isCollapsed()),A(7),G("ngIf",!b.isCollapsed()))},dependencies:[Tv,Uv,MA,EU,eK,s9,t9,CM,nL,u9,rU,eA,fU,gU,eU,YU,TV,GV,MV,IV,FV,OV,HV,NV,JV,LV,KV,PV,RV,QV,SV,dC,$v],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)}.carded[_ngcontent-%COMP%]{-webkit-transition:none .1s ease-in-out;transition:none .1s ease-in-out;-webkit-transition-property:padding;transition-property:padding}.carded.collapsed[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.time-boundary-listbox[_ngcontent-%COMP%]   mat-chip-option[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{cursor:pointer}table[_ngcontent-%COMP%]{width:100%;table-layout:fixed}mat-header-row[_ngcontent-%COMP%], mat-row[_ngcontent-%COMP%]{min-height:2rem}mat-header-cell[_ngcontent-%COMP%]{font-weight:500}.mat-mdc-cell[_ngcontent-%COMP%], .mat-mdc-header-cell[_ngcontent-%COMP%]{padding:0 .75rem}.mat-column-type[_ngcontent-%COMP%]{width:3%;min-width:45px;text-align:center}.mat-column-type[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{vertical-align:middle}.mat-column-created[_ngcontent-%COMP%], .mat-column-modified[_ngcontent-%COMP%]{min-width:180px;width:12%}.mat-column-role[_ngcontent-%COMP%]{min-width:100px;width:10%}.copy-btn-header[_ngcontent-%COMP%]{min-width:32px;width:3%}.mat-column-moreRows[_ngcontent-%COMP%]{border:none}.product-icon.critique-logo[_ngcontent-%COMP%]{max-width:20px}.product-icon.drive-doc[_ngcontent-%COMP%]{color:var(--blue-700)}.product-icon.drive-sheet[_ngcontent-%COMP%]{color:var(--green-600)}.product-icon.drive-slide[_ngcontent-%COMP%]{color:var(--yellow-600)}.info[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);height:20px;width:20px}.tab-label[_ngcontent-%COMP%]{cursor:pointer}.mat-column-copy[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%]{color:#fff;color:var(--background);margin-bottom:1px}.copy-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%], .mat-row[_ngcontent-%COMP%]:focus-visible   .copy-icon[_ngcontent-%COMP%], .mat-row[_ngcontent-%COMP%]:hover   .copy-icon[_ngcontent-%COMP%]{color:#1a73e8;color:var(--primary);background-color:unset}[_nghost-%COMP%]     .copy-btn:focus-within:not(.cdk-keyboard-focused) .mat-button-focus-overlay{opacity:0}\n/*# sourceMappingURL=my_tasks.css.map */"]});var y9=function(a,b){Z.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}))};Y(y9,Z);y9.\u0275dir=Z.\u0275dir;y9.prototype.trackBySearchId=function(a,b){return b.searchId};y9.prototype.onChangeMatList=function(a){var b=this;a.options.forEach(function(c){c.selected?b.selectedIds.add(c.value):b.selectedIds.delete(c.value)})};
y9.prototype.onSave=function(){var a=[].concat(u(this.selectedIds)).map(String);this.dialogRef.close(a)};y9.prototype.onCancel=function(){this.dialogRef.close()};y9.\u0275fac=function(a){return new (a||y9)(B(sA),B(MI))};
y9.\u0275cmp=r({type:y9,selectors:[["saved-search-picker-dialog"]],features:[yf],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),T(1," Add a Saved Search\n"),K(),H(2,"div",1),F(3,GFb,3,2,"ng-container",2),W(4,"async"),K(),H(5,"div",3)(6,"button",4),Q("click",function(){return b.onCancel()}),T(7," Cancel "),K(),H(8,"button",5),Q("click",function(){return b.onSave()}),
T(9),K()());a&2&&(A(3),G("ngIf",X(4,3,b.savedSearches$)),A(5),G("disabled",0===b.selectedIds.size),A(1),V(" Save ",1<b.selectedIds.size?"("+b.selectedIds.size+")":""," "))},dependencies:[Tv,Uv,eA,xA,yA,zA,KM,LM,$v],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 z9=function(){};z9.\u0275fac=function(a){return new (a||z9)};z9.\u0275mod=Tc({type:z9});z9.\u0275inj=Ec({imports:[zD,kC,AA,QC,hL,MM,EE,$P,Tw,Uw,KJ,kC,rK,aW,UK]});var A9=function(a){this.dialog=a};A9.prototype.open=function(a){var b=this,c={panelClass:"no-jitter"};return new Promise(function(d){b.dialog.open(y9,c).afterClosed().subscribe(function(e){e=void 0===e?[]:e;null==a||a(e);d(e)})})};A9.\u0275fac=function(a){return new (a||A9)(p(vA))};A9.\u0275prov=Dc({token:A9,factory:A9.\u0275fac,providedIn:"root"});var B9=function(a){this.paths=a;this.toIssuePriority=Uh;this.type="default"},LFb=function(a,b){var c;return null==(c=[].concat(u(a.preDiffs),u(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.oldValue},it=function(a,b){var c;return null==(c=[].concat(u(a.preDiffs),u(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.newValue},IFb=function(a){var b,c,d,e=null!=(d=null==(b=a.unlinkifiedComment)?void 0:null==(c=b.match(/by (\w+)@/))?void 0:c[1])?d:"";if(!e){var f,h;return null!=
(h=null==(f=a.userPerformingActionUser)?void 0:f.emailAddress)?h:""}return e+"@google.com"};B9.prototype.getChangelistNumber=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)};B9.\u0275fac=function(a){return new (a||B9)(B(cF))};
B9.\u0275cmp=r({type:B9,selectors:[["recent-event-row"]],inputs:{event:"event",type:"type"},decls:9,vars:8,consts:[[1,"type-s","recent-event-row-container","flex-kids-x","align-items-center","margin-xs-bottom"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"email","size"],[1,"margin-s-left","user-display"],[3,"model"],[3,"href","issueId"],["mode","relativepast",3,"timestamp"],[3,"changelistId"],[3,"issuePriority"],[4,"ngIf","ngIfElse"],["changeAssignee",""],["noAssignee",""],[3,"email"]],template:function(a,
b){a&1&&(H(0,"div",0),M(1,1),F(2,HFb,8,7,"ng-container",2)(3,JFb,10,8,"ng-container",2)(4,KFb,8,7,"ng-container",2)(5,MFb,12,9,"ng-container",2)(6,NFb,9,9,"ng-container",2)(7,SFb,6,2,"ng-container",2)(8,TFb,8,7,"ng-container",2),N(),K());a&2&&(A(1),G("ngSwitch",b.type),A(1),G("ngSwitchCase","create"),A(1),G("ngSwitchCase","changelist"),A(1),G("ngSwitchCase","comment"),A(1),G("ngSwitchCase","priority"),A(1),G("ngSwitchCase","status"),A(1),G("ngSwitchCase","assignee"),A(1),G("ngSwitchCase","default"))},
dependencies:[Uv,Vv,Wv,tP,yP,sP,CM,wT,EU,TR],styles:[".recent-event-row-container[_ngcontent-%COMP%]{height:20px}.recent-event-row-container[_ngcontent-%COMP%]   .user-display[_ngcontent-%COMP%]{font-weight:500}"],changeDetection:0});var C9=function(a){Z.call(this);var b=this;this.recentEventsForIssuesFridge=a;this.query$=new E.ReplaySubject(1);this.events$=this.query$.pipe(He(jl),bf(this.destroyed$),af(function(c){return b.recentEventsForIssuesFridge.watchOne(c+"-20")}),D(function(c){return null==c?void 0:c.events}));this.numDisplayedEvents=3};Y(C9,Z);C9.\u0275dir=Z.\u0275dir;
var UFb=function(a){if(Dn(a)&&1===a.commentNumber)return"create";if(dCa(a))return"changelist";if(Dn(a))return"comment";if(0<a.preDiffs.length||0<a.postDiffs.length){a=new Set([].concat(u(a.preDiffs),u(a.postDiffs)).map(function(b){return b.name}));if(a.has("priority"))return"priority";if(a.has("assignee"))return"assignee";if(a.has("status"))return"status"}return"default"};Gh.Object.defineProperties(C9.prototype,{query:{configurable:!0,enumerable:!0,set:function(a){null!=a&&this.query$.next(a)}}});
C9.\u0275fac=function(a){return new (a||C9)(B(HI))};C9.\u0275cmp=r({type:C9,selectors:[["recent-events"]],inputs:{query:"query"},features:[yf],decls:2,vars:3,consts:[[4,"ngIf"],[1,"heading-xs","margin-s-top","margin-xs-bottom"],[4,"ngFor","ngForOf"],[1,"link-button","margin-s-top",3,"click"],[3,"event","type"]],template:function(a,b){a&1&&(F(0,WFb,6,2,"ng-container",0),W(1,"async"));a&2&&G("ngIf",X(1,1,b.events$))},dependencies:[Tv,Uv,B9,$v],changeDetection:0});var dGb=function(){return{assignee:"avatar-if-open"}},cGb=function(a){return{hideColumnHeaders:!0,modes:a}},xOc={modes:{assignee:"avatar-if-open",modifiedTime:"relativepast"},rowLimit:15},yOc={active:"modifiedTime",direction:"desc"},D9=function(a,b,c,d){Z.call(this);var e=this;this.prefsService=a;this.issueFridge=b;this.savedSearchFridge=c;this.analytics=d;this.TREE_COLUMNS=[].concat(u(NJc));this.FLAT_LIST_COLUMNS=[].concat(u(MJc));this.INITIAL_SORT=yOc;this.extractLastDigits=jo;this.refreshWorkArea=
new E.Subject;this.tableOptions=xOc;this.typeAndId$=new E.BehaviorSubject([void 0,void 0]);this.typeAndId$.pipe(af(function(f){var h=l(f);f=h.next().value;h=h.next().value;return"savedsearch"===f?e.savedSearchFridge.watchOne(h):(0,E.of)(void 0)}));this.issueFilter$=this.typeAndId$.pipe(D(function(f){var h=l(f);f=h.next().value;h=h.next().value;if("issue"!==f){if("savedsearch"===f)return"savedsearchid:"+h;if("hotlist"===f)return"hotlistid:"+h;throw Error("lf`"+f);}}));this.issueQuery$=this.issueFilter$.pipe(D(function(f){return{filter:f,
pageSize:500,sort:"modified_time:desc"}}));this.issueIds$=this.issueQuery$.pipe(af(function(f){return e.issueFridge.watchMany(f)}),D(function(f){return f.results.map(function(h){return h.issueId})}))};Y(D9,Z);D9.\u0275dir=Z.\u0275dir;D9.prototype.ngOnInit=function(){var a=this;this.refreshWorkArea.pipe(bf(this.destroyed$)).subscribe(function(){a.typeAndId$.next([a.entityType,a.referencedId])})};
Gh.Object.defineProperties(D9.prototype,{reference:{configurable:!0,enumerable:!0,set:function(a){this.entityReference=a;this.referencedId=jo(a);this.entityType=ko(a);this.tableOptions=Object.assign({},xOc);this.analytics.trackEvent(Kp.MISSION_CONTROL,"view","work-area-"+this.entityType);this.typeAndId$.next([this.entityType,this.referencedId])}}});D9.\u0275fac=function(a){return new (a||D9)(B(DK),B(iI),B(MI),B(aI))};
D9.\u0275cmp=r({type:D9,selectors:[["one-work-area"]],inputs:{reference:"reference",refreshWorkArea:"refreshWorkArea"},features:[yf],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","initialSort"],[3,"query"],[1,"margin-bottom",3,"id"],[3,"saveExpansionAtKey","rootIssueId","filters","tableColumns","options","defaultExpansionLevel"],[1,"muted"]],template:function(a,
b){a&1&&F(0,gGb,6,4,"ng-container",0);a&2&&G("ngIf",b.referencedId)},dependencies:[Uv,Vv,Wv,Xv,Q5,l6,p6,o6,J5,f6,C9,$v],styles:["[_nghost-%COMP%] { display: block; }"]});var E9=function(a,b,c,d,e,f,h,k,q,t){Z.call(this);var w=this;this.prefsService=a;this.issueFridge=b;this.hotlistFridge=c;this.savedSearchFridge=d;this.hotlistPicker=e;this.issuePicker=f;this.savedSearchPicker=h;this.analytics=k;this.clipboard=q;this.butterBar=t;this.refreshData=new E.Subject;this.SECTION_SLUG="work-areas-wrapper-card";this.EMPTY_STATE_IMG=j7b;this.makeBuganizerUrl=rFa;this.getEntityTypeName=qFa;this.extractLastDigits=jo;this.SHOW_SUGGESTIONS=Cm("enableWorkAreaSuggest");this.suggestions=
[];this.titles={};this.workAreaReferences$=this.prefsService.prefs$.pipe(D(function(C){var J;return null!=(J=null==C?void 0:C.workAreaUrls)?J:[]}));this.issues$=this.workAreaReferences$.pipe(D(function(C){return C.filter(function(J){return"issue"===ko(J)})}),D(function(C){return C.map(jo)}),Pe($h),D(function(C){return C.filter(jl)}),af(this.issueFridge.watchSet));this.hotlists$=this.workAreaReferences$.pipe(D(function(C){return C.filter(function(J){return"hotlist"===ko(J)})}),D(function(C){return C.map(jo)}),
Pe($h),D(function(C){return C.filter(jl)}),af(this.hotlistFridge.watchSet));this.savedSearches$=this.workAreaReferences$.pipe(D(function(C){return C.filter(function(J){return"savedsearch"===ko(J)})}),D(function(C){return C.map(jo)}),Pe($h),D(function(C){return C.filter(jl)}),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));
a=this.workAreaReferences.length;this.analytics.trackEvent(Kp.MISSION_CONTROL,"display","num-work-areas-"+a,a);var y;a=Object.values(null!=(y=this.prefsService.prefs.workAreaQuickFilters)?y:{}).flat();0<a.length&&this.analytics.trackEvent(Kp.MISSION_CONTROL,"view","workAreas-filters-"+a.join(","));this.SHOW_SUGGESTIONS&&(0,E.timer)(2E3).pipe(af(function(){return w.issueFridge.watchMany(f5b)}),D(tFa),bf(this.destroyed$),Qe()).subscribe(function(C){w.suggestions=C})};Y(E9,Z);E9.\u0275dir=Z.\u0275dir;
E9.prototype.toggleCollapsed=function(){this.prefsService.toggleCollapsed("work-areas-wrapper-card")};E9.prototype.updateTitlesForIssues=function(a){a=l(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=void 0;this.titles[b.issueId]=null==(c=b.snapshot[0])?void 0:c.title}};E9.prototype.updateTitlesForHotlists=function(a){a=l(a);for(var b=a.next();!b.done;b=a.next())b=b.value,this.titles[nFa(b.hotlistId)]=b.name};
E9.prototype.updateTitlesForSavedSearches=function(a){a=l(a);for(var b=a.next();!b.done;b=a.next())b=b.value,this.titles[oFa(b.searchId)]=b.name};
var zOc=function(a){var b,c,d,e,f,h,k,q,t;return qe(function(w){if(1==w.nextAddress)return b=a.workAreaReferences.filter(function(y){return"hotlist"===ko(y)}).map(jo).map(Number),w.yield(mLc(a.hotlistPicker,b),2);c=w.yieldResult;f=(null!=(e=null==(d=c)?void 0:d.added)?e:[]).map(nFa);q=(null!=(k=null==(h=c)?void 0:h.removed)?k:[]).map(nFa);t=a.workAreaReferences.slice();t=sta(q,t);t=uta(f,t);gt(a.prefsService,{workAreaUrls:t});we(w)})},AOc=function(a){var b,c,d;return qe(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];null!=d&&jt(a.prefsService,d);we(e)})},BOc=function(a){var b,c,d,e;return qe(function(f){if(1==f.nextAddress)return f.yield(a.savedSearchPicker.open(),2);b=f.yieldResult;d=null!=(c=b)?c:[];if(0===d.length)return f.return();e=d.map(oFa);jt(a.prefsService,e);we(f)})};
Gh.Object.defineProperties(E9.prototype,{workAreaReferences:{configurable:!0,enumerable:!0,get:function(){var a;return null!=(a=this.prefsService.prefs.workAreaUrls)?a:[]}},chosenTabForWork:{configurable:!0,enumerable:!0,get:function(){return m6b(this.prefsService,"work-areas-wrapper-card")}},isEmpty:{configurable:!0,enumerable:!0,get:function(){return 0===this.workAreaReferences.length}},isCollapsed:{configurable:!0,enumerable:!0,get:function(){return this.prefsService.isCollapsed("work-areas-wrapper-card")}}});
E9.\u0275fac=function(a){return new (a||E9)(B(DK),B(iI),B(TH),B(MI),B(F6),B(rW),B(A9),B(aI),B(TP),B(EG))};
E9.\u0275cmp=r({type:E9,selectors:[["work-areas-wrapper-card"]],hostVars:4,hostBindings:function(a,b){a&2&&Jf("is-empty",b.isEmpty)("collapsed",b.isCollapsed)},inputs:{refreshData:"refreshData"},features:[yf],decls:21,vars:3,consts:[[1,"carded","bg-main"],[1,"flex-kids-x","align-items-center"],[1,"heading-s"],["svgIcon","info","tabindex","0","role","button","aria-hidden","false","aria-label","Keeping a close eye on the projects, hotlists, or saved searches that you are focusing on","matTooltip","Keeping a close eye on the projects, hotlists, or saved searches that you are focusing on",
1,"info","margin-s-left"],["mat-icon-button","","aria-label","Toggle expansion state",1,"gmat-button","small","collapse-btn","margin-s-left",3,"click"],["svgIcon","arrow-up",1,"icon-m"],["mat-stroked-button","","class","gmat-button small add-work-area margin-s-left","title","Add a work area",3,"matMenuTriggerFor",4,"ngIf"],["addMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","","disabled",""],["emptyState",""],["gmat-tabs","","class","main-content margin-s-top",3,"selectedIndex",
"selectedIndexChange",4,"ngIf","ngIfElse"],["mat-stroked-button","","title","Add a work area",1,"gmat-button","small","add-work-area","margin-s-left",3,"matMenuTriggerFor"],["svgIcon","add",1,"icon-s"],[1,"flex-kids-y","align-items-center","text-align-center","empty-state","main-content"],[1,"inline-block","pos-rel"],["aria-hidden","true","alt","",3,"src"],[4,"ngIf"],[1,"type-l","muted","margin-y","match-image-width"],["mat-flat-button","","color","primary","title","Add a work area",3,"matMenuTriggerFor"],
["svgIcon","add"],[1,"pos-abs","work-area-suggestions"],[1,"unstyled"],["class","elevated rounded padded-s margined-s slide-in","tabindex","0",3,"title","click",4,"ngFor","ngForOf"],["tabindex","0",1,"elevated","rounded","padded-s","margined-s","slide-in",3,"title","click"],[1,"line-clamp-2"],[1,"muted","type-s",3,"onedevHovercardTrigger"],["issueHovercard","onedevHovercard"],[3,"issueId",4,"ngIf"],[3,"issueId"],["gmat-tabs","",1,"main-content","margin-s-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,"click",4,"ngIf"],["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"],["svgIcon","copy",1,"icon-s"],[1,"margin-top",3,"reference","refreshWorkArea"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"header",1)(2,"h3",2),T(3," Work areas "),K(),L(4,"mat-icon",3),H(5,"button",4),Q("click",function(){return b.toggleCollapsed()}),L(6,"mat-icon",5),K(),F(7,hGb,3,1,"button",6),H(8,"mat-menu",null,7)(10,"button",8),Q("click",
function(){return AOc(b)}),T(11,"Issue (parent/child project)"),K(),H(12,"button",8),Q("click",function(){return zOc(b)}),T(13,"Hotlist"),K(),H(14,"button",8),Q("click",function(){return BOc(b)}),T(15,"Saved Search"),K(),H(16,"button",9),T(17,"Component"),K()()(),F(18,lGb,9,3,"ng-template",null,10,tg)(20,rGb,2,2,"mat-tab-group",11),K());if(a&2){var c=S(19);A(7);G("ngIf",0<b.workAreaReferences.length);A(13);G("ngIf",0<b.workAreaReferences.length)("ngIfElse",c)}},dependencies:[Tv,Uv,MA,AE,fU,gU,eU,
bU,ZB,XB,YB,eA,CD,YU,dC,JU,hK,mK,D9],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     issue-as-project-card>.carded{border:none;padding-left:0}.add-work-area[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-top:-3px}.add-work-area.gmat-button[_ngcontent-%COMP%], .add-work-area.gmat-button.gmat-button.gmat-button[_ngcontent-%COMP%]{padding-left:4px}.info[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);height:20px;width:20px}.empty-state[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:32px}.empty-state[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:320px;box-shadow:0 0 0 10px var(--background),0 0 0 20px var(--primary-c50);margin:20px 0;border-radius:8px}[_nghost-%COMP%]     .mat-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[_nghost-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_nghost-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_nghost-%COMP%]   footer[_ngcontent-%COMP%], .collapsed[_nghost-%COMP%]   header[_ngcontent-%COMP%]   .add-work-area[_ngcontent-%COMP%]{display:none}.collapse-btn[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform .1s ease-in-out;transition:-webkit-transform .1s ease-in-out;transition:transform .1s ease-in-out;transition:transform .1s ease-in-out,-webkit-transform .1s ease-in-out}.collapsed[_nghost-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}[_nghost-%COMP%] > .carded[_ngcontent-%COMP%]{-webkit-transition:none .1s ease-in-out;transition:none .1s ease-in-out;-webkit-transition-property:padding;transition-property:padding}.collapsed[_nghost-%COMP%] > .carded[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}[_nghost-%COMP%]{min-height:800px}.collapsed[_nghost-%COMP%], .is-empty[_nghost-%COMP%]{min-height:0}.match-image-width[_ngcontent-%COMP%]{max-width:360px}.work-area-suggestions[_ngcontent-%COMP%]{position:absolute;top:0;left:100%;width:200px;margin-left:48px;overflow-x:hidden;overflow-y:visible}.work-area-suggestions[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin-top:0}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{-moz-box-sizing:border-box;box-sizing:border-box;text-align:center;cursor:pointer}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus-visible{background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{-webkit-transform:translateX(120%);transform:translateX(120%)}.work-area-suggestions[_ngcontent-%COMP%]   li.slide-in[_ngcontent-%COMP%]{-webkit-animation:_ngcontent-%COMP%_slide-in .5s forwards;animation:_ngcontent-%COMP%_slide-in .5s forwards}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:0ms;animation-delay:0ms}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:.1s;animation-delay:.1s}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:.2s;animation-delay:.2s}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:.3s;animation-delay:.3s}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:.4s;animation-delay:.4s}.work-area-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:.5s;animation-delay:.5s}@-webkit-keyframes _ngcontent-%COMP%_slide-in{to{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes _ngcontent-%COMP%_slide-in{to{-webkit-transform:translateX(0);transform:translateX(0)}}"]});var COc=Kp.MISSION_CONTROL,F9=function(a,b,c,d,e,f,h){Z.call(this);var k=this;this.pageTitle=a;this.hostElement=b;this.analytics=c;this.userFeedback=d;this.prefsService=e;this.hatsService=f;this.appSearchState=h;this.HOTKEYS=$D;this.refreshMissionControlData=new E.Subject;this.captureAnyClick=function(q){q=q.target;for(var t=[];q.parentNode;){var w=void 0,y=q,C=[];for(w in y.dataset)"true"===y.dataset[w]&&C.push(w);w=C;w=0<w.length?"["+w.join(",")+"]":"";t.unshift(q.tagName+w);q=q.parentNode}q=t.join(" > ");
t=l(Object.entries(DOc));for(w=t.next();!w.done;w=t.next())if(y=l(w.value),w=y.next().value,y=y.next().value,q.includes(w)){k.analytics.trackEvent(COc,"click",y);break}}};Y(F9,Z);F9.\u0275dir=Z.\u0275dir;
F9.prototype.ngOnInit=function(){var a=this;this.pageTitle.setTitle("Home");setTimeout(function(){a.appSearchState.clear()});this.hostElement.nativeElement.addEventListener("click",this.captureAnyClick,!0);var b=l(EOc(this)),c=b.next().value;b=b.next().value;this.analytics.trackEvent(COc,"sections-on-load",c,b);qW(this.hatsService,"u5xoTzKbb0g6pPHSLo10WcCoiLmK").pipe(bf(this.destroyed$)).subscribe()};
F9.prototype.ngOnDestroy=function(){Z.prototype.ngOnDestroy.call(this);this.hostElement.nativeElement.removeEventListener("click",this.captureAnyClick,!0)};var EOc=function(a){a=[a.prefsService.isCollapsed("needs-attention-wrapper")?"-":"a",a.prefsService.isCollapsed("mc-my-tasks")?"-":"t",a.prefsService.isCollapsed("work-areas-wrapper-card")?"-":"w"];var b=a.filter(function(c){return"-"!==c}).length;return[a.join(""),b]};F9.prototype.refresh=function(){this.refreshMissionControlData.next()};
F9.\u0275fac=function(a){return new (a||F9)(B(UG),B(Hd),B(aI),B(NL),B(DK),B(pW),B(GK))};
F9.\u0275cmp=r({type:F9,selectors:[["ng-component"]],features:[yf],decls:14,vars:4,consts:[[1,"a11y-only"],[1,"padded-s","flex-kids-y","gap-s","pos-fill","bg-off-main","overflow","overflow-on-print-media",3,"hotkey","onHotkey"],[1,"flex-kids-x","align-items-center","justify-flex-end","info-row"],["href","http://go/task-mission-control","target","_blank",1,"margin-right","learn-more-link"],["mat-stroked-button","",1,"gmat-button","small",3,"click"],[1,"a"],[3,"refreshData"],[1,"t"],[1,"w"]],template:function(a,
b){a&1&&(H(0,"h2",0),T(1,"Mission Control"),K(),H(2,"div",1),Q("onHotkey",function(){return b.refresh()}),H(3,"div",2)(4,"a",3),T(5,"Learn about Mission Control"),K(),H(6,"button",4),Q("click",function(){b8b(b.userFeedback)}),T(7,"Give feedback for this page"),K()(),H(8,"section",5),L(9,"needs-attention-wrapper",6),K(),H(10,"section",7),L(11,"my-tasks",6),K(),H(12,"section",8),L(13,"work-areas-wrapper-card",6),K()());a&2&&(A(2),G("hotkey",b.HOTKEYS.REFRESH_ISSUE_LIST),A(7),G("refreshData",b.refreshMissionControlData),
A(2),G("refreshData",b.refreshMissionControlData),A(2),G("refreshData",b.refreshMissionControlData))},dependencies:[eA,E9,w9,x9,VE],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     section>*>.carded{box-shadow:0 1px 2px 0 hsla(0,0%,50%,.3),0 2px 6px 2px hsla(0,0%,50%,.15);border:none}.dark-mode   [_nghost-%COMP%]     section>*>.carded{box-shadow:0 2px 3px 0 rgba(0,0,0,.3),0 6px 10px 4px rgba(0,0,0,.15)}.learn-more-link[_ngcontent-%COMP%]{color:#185abc;color:var(--link-high-contrast)}.learn-more-link[_ngcontent-%COMP%]:hover{text-decoration:underline}\n/*# sourceMappingURL=mission_control_wrapper.css.map */"]});
var DOc={"NEEDS-ATTENTION-WRAPPER":"needs-attention","MY-TASKS":"my-tasks","WORK-AREAS-WRAPPER-CARD":"work-areas"};var G9=function(){this.selectedSignals$=(0,E.of)([]);this.selected=new mv;this.ALL_SIGNAL_TYPES=mo();this.isOpen=!1};G9.prototype.openMenu=function(){this.isOpen=!0};G9.prototype.closeMenu=function(){this.isOpen=!1};var wGb=function(a){var b=a.checkboxes.filter(function(c){return c.checked}).map(function(c){return c.value});a.selected.emit(b);a.closeMenu()};G9.\u0275fac=function(a){return new (a||G9)};
G9.\u0275cmp=r({type:G9,selectors:[["select-signals-menu"]],viewQuery:function(a,b){a&1&&og(eL,5);if(a&2){var c;ng(c=qg())&&(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),Q("click",function(){return b.openMenu()}),L(2,"mat-icon",2),K(),F(3,xGb,13,3,"ng-template",3),Q("detach",function(){return b.closeMenu()})("backdropClick",
function(){return b.closeMenu()}));if(a&2){var c=S(1);Jf("menu-open",b.isOpen);A(3);G("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.isOpen)}},dependencies:[Tv,Uv,MA,eL,eA,CD,qy,py,fx,$v],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 H9=function(a){this.dateFormatter=a;this.iconOnly=this.isSelected=this.generalDescriptionOnly=!1;this.count=-1;this.matTooltipShowDelay=0;this.removable=!1;this.onRemove=new mv},BGb=function(a){if(a.generalDescriptionOnly)return a.signal.signalType?(0,E.of)(UFa(a.signal)):(0,E.of)("");var b;return null!=(b=a.signal.timestamp)&&b.seconds?a.dateFormatter.formatUserCalendar(new Date(1E3*a.signal.timestamp.seconds)).pipe(D(function(c){return TFa(a.signal,c)})):(0,E.of)(TFa(a.signal))};
H9.prototype.onClickRemove=function(){this.onRemove.emit(this.signal.signalType)};H9.\u0275fac=function(a){return new (a||H9)(B(AM))};
H9.\u0275cmp=r({type:H9,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&&F(0,CGb,5,14,"span",0);a&2&&(a=b.signal.signalType?B6b.has(b.signal.signalType)?B6b.get(b.signal.signalType):null:null,G("ngIf",a))},dependencies:[Uv,MA,eA,dC,$v],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 FGb=function(a){return{signalType:a}},HGb=function(){return[]},I9=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I,P){Z.call(this);this.appSearchState=a;this.pageTitle=b;this.paths=c;this.userPreferencesManager=d;this.needsAttentionApi=e;this.cdr=f;this.analytics=h;this.bLocation=k;this.domSafe=q;this.issueFridge=t;this.errorHandler=w;this.snackbar=y;this.currentTracker=C;this.appEvents=J;this.issuePagination=I;this.activeSession=P;this.issues=[];this.columns=[LZ,MZ,NZ,new Sp({name:"alerts",sortable:!1,
draggable:!1,fullLabel:"Alerts",label:"ALERTS"}),Object.assign({},Tp("priority"),{draggable:!1}),Object.assign({},Tp("title"),{draggable:!1}),Object.assign({},Tp("assignee"),{draggable:!1}),Object.assign({},Tp("status"),{draggable:!1}),Object.assign({},Tp("issueId"),{draggable:!1}),new Sp({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=RZb;this.STATUS_JS_FULL_TEXT=Kk;this.STATUS_JS_TERSE=mD;this.ALL_SIGNAL_TYPES=mo();this.selectedSignals$=new E.BehaviorSubject([]);this.sortConfig={field:"priority",direction:"ASC"};this.HOTKEYS=$D;this.SPACE_EMPTY_STATE=i7b;this.enableNewVisibilityChips=yD(this.activeSession,"enableNewVisibilityChips")};Y(I9,Z);I9.\u0275dir=Z.\u0275dir;
I9.prototype.ngOnInit=function(){var a=this;this.pageTitle.setTitle("Needs attention");setTimeout(function(){a.appSearchState.clear()});this.userPreferencesManager.needsAttentionPreferences$.pipe(Qe()).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(Qe()).subscribe(function(){var b;null==(b=a.snackBarRefForUndo)||b.dismiss()})};
var EGb=function(a,b){a.selectedSignals$.next(b);a.userPreferencesManager.save({needsAttentionPreferences:{selectedSignals:b}}).pipe(Qe()).subscribe()};I9.prototype.hasResults=function(){return 0<this.issues.length-this.lastDismissedRowIssueIds.size};I9.prototype.issueDescription=function(a){return"Needs attention Issue ID "+a.id+" titled: "+a.title};
I9.prototype.goToIssue=function(a,b,c){var d;c&&"A"===(null==(d=c.target)?void 0:d.tagName)||(WGb(this,a),a=this.paths.editIssue(a),c&&(c.ctrlKey||c.metaKey||1===c.button)?this.domSafe.openInNewTab(a):c&&c.shiftKey?Ap(this.domSafe,a):this.bLocation.setUrl(a))};
var WGb=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(Kp.NEEDS_ATTENTION,"viewIssue",d)},QGb=function(a){return 0===a.issues.length?!1:a.issues.every(function(b){return b.selected})};g=I9.prototype;g.someIssuesSelected=function(){return this.issues.some(function(a){return a.selected})};
g.getHeaderCheckboxState=function(){if(0===this.issues.length)return"unchecked";for(var a=!0,b=!1,c=l(this.issues),d=c.next();!d.done;d=c.next())d.value.selected?b=!0:a=!1;return a?"checked":b?"indeterminate":"unchecked"};g.toggleAllIssueSelection=function(){if(0!==this.issues.length){for(var a=!this.someIssuesSelected(),b=l(this.issues),c=b.next();!c.done;c=b.next())c.value.selected=a;this.cdr.detectChanges()}};
g.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=l(d);for(e=d.next();!e.done;e=d.next())e.value.selected=!a}c.selected=!c.selected;this.lastCheckedIndex=b};
g.toggleStar=function(a){var b=this;a&&!this.starInProgress[a.issueId]&&(a.starred=!a.starred,this.starInProgress[a.issueId]=!0,T3b(this.issueFridge,String(a.issueId),a.starred).pipe(Qe(),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 JGb=function(a){a.dismissSelectedInProgress=!0;for(var b=[],c=l(a.issues),d=c.next();!d.done;d=c.next())d=d.value,d.selected&&(b.push(d.issueId),a.dismissInProgress[d.issueId]=!0);qG(a.needsAttentionApi,b,!0).then(function(){return void FOc(a,b)},function(e){return void a.errorHandler.errorHandler(null,e)}).finally(function(){a.dismissSelectedInProgress=!1;for(var e=l(b),f=e.next();!f.done;f=e.next())a.dismissInProgress[f.value]=!1})},$Gb=function(a,b){a.dismissInProgress[b.issueId]||(a.dismissInProgress[b.issueId]=
!0,qG(a.needsAttentionApi,[b.issueId],!0).then(function(){return void FOc(a,[b.issueId])},function(c){return void a.errorHandler.errorHandler(null,c)}).finally(function(){a.dismissInProgress[b.issueId]=!1}))},FOc=function(a,b){a.analytics.trackEvent(Kp.NEEDS_ATTENTION,"dismissIssue","numberOfIssues",b.length);for(var c=l(b),d=c.next();!d.done;d=c.next())a.lastDismissedRowIssueIds.add(d.value);c=l(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(Qe()).subscribe(function(e){e.dismissedByAction&&GOc(a,b)})},GOc=function(a,b){qG(a.needsAttentionApi,b,!1).then(function(){a.analytics.trackEvent(Kp.NEEDS_ATTENTION,"unDismissIssue","numberOfIssues",b.length);for(var c=l(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)})};I9.prototype.isLowPriority=function(a){return 2<=Number(a.priority)};I9.prototype.isHighPriority=function(a){return 2>Number(a.priority)};I9.prototype.isP0Priority=function(a){return 0===Number(a.priority)};
I9.prototype.fetchIssues=function(){var a=this,b;null==(b=this.snackBarRefForUndo)||b.dismiss();this.lastDismissedRowIssueIds.clear();this.isLoading=!0;b=HOc(this);b={page:1,resultsPerPage:this.needsAttentionApi.COUNT,sortColumns:b?[b]:[],returnUrl:this.paths.needsAttention(),trackerIds:q3b(this.currentTracker),fromNeedsAttention:!0,selectedSignals:this.selectedSignals$.value};uG(this.issuePagination);tG(this.issuePagination,b).then(function(c){a.issues=c.issues;a.isLoading=!1;a.cdr.detectChanges()})};
var rHb=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})},HOc=function(a){var b=Ci(a.sortConfig.field);a="ASC"===a.sortConfig.direction?"ASCENDING":"DESCENDING";return b?new Fi(b,a):null};I9.prototype.onSortChange=function(a){this.sortConfig=a;this.fetchIssues()};
I9.\u0275fac=function(a){return new (a||I9)(B(GK),B(UG),B(cF),B(LE),B(pG),B(XD,2),B(aI),B(bF),B(lM),B(iI),B(FG),B(CG),B(SG),B(lG),B(sG),B(nt))};
I9.\u0275cmp=r({type:I9,selectors:[["ng-component"]],features:[bg([XD]),yf],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,"issueId",
"compactMode"],[3,"retentionState","showOnlyInDangerZone","compactMode","modifiedTime"],[1,"bv2-grid-cell-text"],[1,"row-issue-title",3,"href","click"],["class","bv2-hotlist-chips",4,"ngIf"],[3,"accessLevel","compactMode"],[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),T(1,"Issues which need your attention"),K(),H(2,"div",1),F(3,IGb,14,9,"div",2)(4,KGb,3,1,"div",3),K(),H(5,"div",4),F(6,LGb,4,0,"div",5)(7,OGb,8,6,"div",6)(8,sHb,15,18,"div",7),K());a&2&&(A(3),G("ngIf",!b.someIssuesSelected()),A(1),G("ngIf",b.someIssuesSelected()),A(1),Af("aria-busy",b.isLoading),A(1),G("ngIf",b.isLoading),A(1),G("ngIf",!b.isLoading&&!b.hasResults()),
A(1),G("ngIf",!b.isLoading&&b.hasResults()))},dependencies:[Tv,Uv,Vv,Wv,Xv,MA,tz,eA,fA,hX,mX,iX,jX,kX,eK,cK,pX,nL,zZ,TW,AO,dC,VE,H9,G9,rU,$v,FJ],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 uHb=function(a){return{feature:a}},IOc=function(a){this.beapService=a;this.beapFeaturesTF$=vGc(this.beapService,"TEAM_FOOD");this.beapFeaturesEA$=vGc(this.beapService,"EARLY_ACCESS");this.hasFeatures$=(0,E.combineLatest)([this.beapFeaturesTF$,this.beapFeaturesEA$]).pipe(D(function(b){var c=l(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={}};IOc.\u0275fac=function(a){return new (a||IOc)(B(X2))};
IOc.\u0275cmp=r({type:IOc,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&&(F(0,AHb,5,6,"ng-container",0),W(1,"async"),F(2,BHb,2,0,"ng-template",null,1,tg)(4,EHb,20,16,"ng-template",null,2,tg));if(a&2){var c=S(3);G("ngIf",X(1,2,b.hasFeatures$))("ngIfElse",c)}},dependencies:function(){return[Z2,MD,ND,Tv,Uv,Zv,MA,fA,oQ,dC,$v,J9]},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 J9=function(){};J9.prototype.transform=function(a){return"STATE_ENABLED"===a?!0:!1};J9.\u0275fac=function(a){return new (a||J9)};J9.\u0275pipe=Wc({name:"featureState",type:J9,pure:!0});var K9=function(a,b){this.name=a;this.resourceType=b;this.options=[]};K9.prototype.shouldDisplay=function(){return!0};K9.prototype.hasOptions=function(){return!1};K9.prototype.getDefaultOptionId=function(){return null};var L9=function(a,b){this.name=a;this.resourceType=b;this.options=[]};L9.prototype.shouldDisplay=function(){return 0<this.options.length};L9.prototype.hasOptions=function(){return 0<this.options.length};
L9.prototype.getDefaultOptionId=function(){return this.hasOptions()?this.options[0].id:null};
var JOc=function(a,b){this.id=a;this.name=b},MOc=function(a,b,c,d,e,f){var h=this;this.butterBar=a;this.sidebar=b;this.userPreferencesManager=c;this.cdr=d;this.appEvents=e;this.activeSession=f;this.selectedOptionId=null;this.subscriptions=new E.Subscription;this.missionControlMainOption=new K9("Home","MISSION_CONTROL");this.needsAttentionMainOption=new K9("Needs attention","NEEDS_ATTENTION");this.assignedToMeMainOption=new K9("Assigned to me","ASSIGNED_TO_ME");this.hotlistMainOption=new L9("Hotlist",
"HOTLIST");this.savedSearchMainOption=new L9("Saved search","SAVED_SEARCH");this.bookmarkGroupMainOption=new L9("Bookmark group","BOOKMARK_GROUP");this.mainOptions=[this.assignedToMeMainOption,this.hotlistMainOption,this.savedSearchMainOption,this.bookmarkGroupMainOption];yD(this.activeSession,"showNeedsAttentionUI")&&this.activeSession.isInternalSession()&&this.mainOptions.unshift(this.needsAttentionMainOption);KOc(this)&&this.mainOptions.unshift(this.missionControlMainOption);a={};this.resourceMainOptions=
(a.MISSION_CONTROL=this.missionControlMainOption,a.NEEDS_ATTENTION=this.needsAttentionMainOption,a.ASSIGNED_TO_ME=this.assignedToMeMainOption,a.HOTLIST=this.hotlistMainOption,a.SAVED_SEARCH=this.savedSearchMainOption,a.BOOKMARK_GROUP=this.bookmarkGroupMainOption,a);this.selectedMainOption=this.mainOptions[0];LOc(this);this.subscriptions.add(this.appEvents.sidebarUpdated.subscribe(function(){LOc(h);h.cdr.detectChanges()}));this.subscriptions.add(this.userPreferencesManager.preferences$.subscribe(function(k){k.homepagePreferences&&
(k=k.homepagePreferences,k.resourceType?h.selectedMainOption=h.resourceMainOptions[k.resourceType]||h.mainOptions[0]:KOc(h)?h.selectedMainOption=h.missionControlMainOption:h.selectedMainOption=h.assignedToMeMainOption,h.selectedOptionId=k.resourceId||null,LOc(h))}))};MOc.prototype.destroy=function(){this.subscriptions.unsubscribe()};
var IHb=function(a){Fs(a.butterBar,"Saving preferences...",0);var b={resourceType:a.selectedMainOption.resourceType};a.selectedMainOption.hasOptions()&&a.selectedOptionId&&(b.resourceId=a.selectedOptionId);v1b(a.userPreferencesManager,b).subscribe(function(){Fs(a.butterBar,"Preferences saved.",4E3)})},LOc=function(a){function b(c){return new JOc(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 JOc(String(a.selectedOptionId),a.selectedMainOption.name+" "+a.selectedOptionId)))},KOc=function(a){return a.activeSession.isInternalSession()&&yD(a.activeSession,"enableHomepageVariantA")};var NOc=Qra[3],M9=function(a,b,c,d,e,f,h,k,q){Z.call(this);this.cdr=a;this.userPreferencesManager=b;this.butterBar=c;this.activeSession=d;this.documentationLinks=e;this.analytics=f;this.sidebar=k;this.appEvents=q;this.IS_INTERNAL_USER=this.activeSession.isInternalSession();this.dateFormats=[{value:"MMM d, yyyy",label:"Dec 31, 2015"},{value:"EE MMM dd, yyyy",label:"Thu Dec 31, 2015"},{value:"yyyy-MM-dd",label:"2015-12-31"},{value:"MM/dd/yyyy",label:"12/31/2015"},{value:"dd-MM-yyyy",label:"31-12-2015"},
{value:"dd.MM.yyyy",label:"31.12.2015"}];this.timeFormats=[{value:"hh:mma",label:"01:00PM"},{value:"h:mma",label:"1:00PM"},{value:"HH:mm",label:"13:00"},{value:"HH:mm:ss",label:"13:00:01"}];this.timeZones=[];this.appName=d.getAppName();this.timeZones.push.apply(this.timeZones,u(h.supportedTimeZones.map(function(t){return{value:t.id,label:t.name}})));this.sloEnabled=d.isInternalSession();this.showBugScreensaverSetting=d.isInternalSession();this.showShowInlineImagesSetting=d.isInternalSession()&&yD(this.activeSession,
"enableImageSummary")};Y(M9,Z);M9.\u0275dir=Z.\u0275dir;M9.prototype.ngOnInit=function(){var a=this;this.destroyed$.subscribe(function(){var b;null==(b=a.preferredHomepage)||b.destroy()});this.preferredHomepage=new MOc(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()})};
M9.prototype.save=function(a,b,c){var d=this;Fs(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){Fs(d.butterBar,"Preferences saved.",4E3)});this.analytics.trackEvent("preferences",a,b,c)};var OOc=function(a){var b;return(null==(b=a.userPreferences.textDisplayPreferences)?void 0:b.commentDisplayOverride)===NOc};M9.prototype.getShowInlineImages=function(){var a;return null!=(a=this.userPreferences.showInlineImages)?a:!1};
Gh.Object.defineProperties(M9.prototype,{hideBadgeInNav:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!(null==(a=this.userPreferences)?0:null==(b=a.missionControlPreferences)?0:b.hideBadgeInNav)}}});M9.\u0275fac=function(a){return new (a||M9)(B(XD,2),B(LE),B(EG),B(nt),B(lL),B(aI),B(BD),B(UJ),B(lG))};
M9.\u0275cmp=r({type:M9,selectors:[["b-general-settings"]],features:[bg([XD]),yf],decls:70,vars:16,consts:[[1,"flex-kids-x","gap-l","margin-bottom"],[1,"settings-main-left","margin-right"],[1,"heading-s"],[1,"muted","type-s"],["target","_blank",3,"href"],["appearance","outline"],["matTooltip","Current selection for preferred homepage"],["id","bv2-homepage-pref-selection",3,"ngModel","ngModelChange","selectionChange"],[4,"ngFor","ngForOf"],["appearance","outline",4,"ngIf"],[4,"ngIf"],[1,"margin-y"],
["id","bv2-datetime-pref-date-formatting","appearance","outline"],["matTooltip","Date/time formatting - Use this format for calendar dates."],[3,"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"],["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"],["id","hide-nav-badge",3,"checked","change"],[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),T(4,"Preferred homepage"),K(),H(5,"p",3),T(6," Select your preferred homepage when first opening the app. "),H(7,"a",4),T(8," Learn more "),K()()(),H(9,"div")(10,"div")(11,
"mat-form-field",5)(12,"mat-label",6),T(13," Current selection "),K(),H(14,"mat-select",7),Q("ngModelChange",function(c){return b.preferredHomepage.selectedMainOption=c})("selectionChange",function(){var c=b.preferredHomepage;c.selectedOptionId=c.selectedMainOption.getDefaultOptionId();IHb(c);c.cdr.detectChanges()}),F(15,GHb,2,1,"ng-container",8),K()(),F(16,JHb,3,2,"mat-form-field",9),K(),F(17,KHb,3,1,"div",10),K()(),L(18,"hr",11),H(19,"div",0)(20,"div",1)(21,"p",2),T(22,"Date/time formatting settings"),
K(),H(23,"p",3),T(24," Select how you want dates and times to be formatted. "),H(25,"a",4),T(26," Learn more "),K()()(),H(27,"div")(28,"div")(29,"mat-form-field",12)(30,"mat-label",13),T(31," Dates "),K(),H(32,"mat-select",14),Q("ngModelChange",function(c){return b.userPreferences.dateTimePreferences.calendarFormat=c})("selectionChange",function(){return b.save("saveDateTimePreferences")}),F(33,LHb,2,2,"mat-option",15),K()()(),H(34,"div")(35,"mat-form-field",16)(36,"mat-label",17),T(37," Times "),
K(),H(38,"mat-select",14),Q("ngModelChange",function(c){return b.userPreferences.dateTimePreferences.timeFormat=c})("selectionChange",function(){return b.save("saveDateTimePreferences")}),F(39,MHb,2,2,"mat-option",15),K()()(),H(40,"div")(41,"mat-form-field",18)(42,"mat-label",19),T(43," Time Zones "),K(),H(44,"mat-select",14),Q("ngModelChange",function(c){return b.userPreferences.dateTimePreferences.timeZone=c})("selectionChange",function(){return b.save("saveDateTimePreferences")}),F(45,NHb,2,2,
"mat-option",15),K()()()()(),L(46,"hr",11),H(47,"div",0)(48,"div",1)(49,"p",2),T(50,"Keyboard settings"),K()(),H(51,"div")(52,"div")(53,"mat-slide-toggle",20),Q("change",function(c){b.userPreferences.keyboardPreferences.enableAllHotkeys=c.checked;return b.save("saveKeyboardPreferences")}),T(54," Enable all hotkeys "),K()()()(),L(55,"hr",11),H(56,"div",0)(57,"div",1)(58,"p",2),T(59,"Display settings"),K()(),H(60,"div")(61,"div",21)(62,"mat-slide-toggle",22),Q("change",function(c){b.userPreferences.textDisplayPreferences&&
(b.userPreferences.textDisplayPreferences.commentDisplayOverride=c.checked?NOc:void 0,b.save("saveTextDisplayPreferences.commentDisplayOverride"))}),T(63," Force comments to display as plain text "),K()(),H(64,"div",21)(65,"b-toggle-code-font",23),T(66," Force comments to display with code font "),K()(),F(67,OHb,3,1,"div",24),K()(),L(68,"hr",11),F(69,PHb,9,1,"ng-container",10),K());a&2&&(A(7),G("href",b.documentationLinks.baseDocumentationUrl+"/guides/set-a-homepage",Wd),A(7),G("ngModel",b.preferredHomepage.selectedMainOption),
A(1),G("ngForOf",b.preferredHomepage.mainOptions),A(1),G("ngIf",b.preferredHomepage.selectedMainOption.hasOptions()),A(1),G("ngIf",b.IS_INTERNAL_USER),A(8),G("href",b.documentationLinks.baseDocumentationUrl+"/guides/set-date-time-formatting",Wd),A(7),G("ngModel",b.userPreferences.dateTimePreferences.calendarFormat),A(1),G("ngForOf",b.dateFormats),A(5),G("ngModel",b.userPreferences.dateTimePreferences.timeFormat),A(1),G("ngForOf",b.timeFormats),A(5),G("ngModel",b.userPreferences.dateTimePreferences.timeZone),
A(1),G("ngForOf",b.timeZones),A(8),G("checked",b.userPreferences.keyboardPreferences.enableAllHotkeys),A(9),G("checked",OOc(b)),A(5),G("ngIf",b.showShowInlineImagesSetting),A(2),G("ngIf",b.showBugScreensaverSetting))},dependencies:[Tv,Uv,ww,Dw,FA,DA,JP,hA,oQ,dC,o8],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 N9=function(a,b,c,d){Z.call(this);var e=this;this.userPreferencesManager=a;this.butterBar=b;this.documentationLinks=c;this.analytics=d;this.priorities=["ALL","IMPORTANT","CLOSURE_ONLY","MINIMAL"];this.userPreferencesManager.preferences$.pipe(bf(this.destroyed$)).subscribe(function(f){e.userPreferences=f})};Y(N9,Z);N9.\u0275dir=Z.\u0275dir;
N9.prototype.save=function(a,b,c){var d=this;Fs(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){Fs(d.butterBar,"Preferences saved.",4E3)});this.analytics.trackEvent("preferences",a,b,c)};N9.\u0275fac=function(a){return new (a||N9)(B(LE),B(EG),B(lL),B(aI))};
N9.\u0275cmp=r({type:N9,selectors:[["b-notification-settings"]],features:[yf],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),T(3,"Notification settings"),K(),H(4,"p",3),T(5," Select the level of email you want to receive for each issue role. "),H(6,"a",4),T(7," Learn more "),K()()(),H(8,"div")(9,"div")(10,"mat-form-field",5)(11,"mat-label",6),T(12," Assignee "),K(),H(13,"mat-select",
7),Q("ngModelChange",function(c){return b.userPreferences.notificationPreferences.assignedPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),F(14,QHb,3,4,"mat-option",8),K()()(),H(15,"div")(16,"mat-form-field",9)(17,"mat-label",10),T(18," Reporter "),K(),H(19,"mat-select",7),Q("ngModelChange",function(c){return b.userPreferences.notificationPreferences.reportedPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),F(20,RHb,3,
4,"mat-option",8),K()()(),H(21,"div")(22,"mat-form-field",11)(23,"mat-label",12),T(24," Verifier "),K(),H(25,"mat-select",7),Q("ngModelChange",function(c){return b.userPreferences.notificationPreferences.verifiedPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),F(26,SHb,3,4,"mat-option",8),K()()(),H(27,"div")(28,"mat-form-field",13)(29,"mat-label",14),T(30," Collaborator "),K(),H(31,"mat-select",7),Q("ngModelChange",function(c){return b.userPreferences.notificationPreferences.collaboratorPriority=
c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),F(32,THb,3,4,"mat-option",8),K()()(),H(33,"div")(34,"mat-form-field",15)(35,"mat-label",16),T(36," CC'd "),K(),H(37,"mat-select",7),Q("ngModelChange",function(c){return b.userPreferences.notificationPreferences.ccdPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),F(38,UHb,3,4,"mat-option",8),K()()(),H(39,"div")(40,"mat-form-field",17)(41,"mat-label",18),T(42," Starred "),K(),H(43,
"mat-select",7),Q("ngModelChange",function(c){return b.userPreferences.notificationPreferences.starredPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),F(44,VHb,3,4,"mat-option",8),K()()(),H(45,"div")(46,"mat-slide-toggle",19),Q("change",function(c){b.userPreferences.notificationPreferences.excludeChangesByMe=c.checked;return b.save("saveNotificationPreferences")}),T(47," Exclude edits made by you "),K()()()());a&2&&(A(6),G("href",b.documentationLinks.baseDocumentationUrl+
"/concepts/settings#email",Wd),A(7),G("ngModel",b.userPreferences.notificationPreferences.assignedPriority),A(1),G("ngForOf",b.priorities),A(5),G("ngModel",b.userPreferences.notificationPreferences.reportedPriority),A(1),G("ngForOf",b.priorities),A(5),G("ngModel",b.userPreferences.notificationPreferences.verifiedPriority),A(1),G("ngForOf",b.priorities),A(5),G("ngModel",b.userPreferences.notificationPreferences.collaboratorPriority),A(1),G("ngForOf",b.priorities),A(5),G("ngModel",b.userPreferences.notificationPreferences.ccdPriority),
A(1),G("ngForOf",b.priorities),A(5),G("ngModel",b.userPreferences.notificationPreferences.starredPriority),A(1),G("ngForOf",b.priorities),A(2),G("checked",b.userPreferences.notificationPreferences.excludeChangesByMe))},dependencies:[Tv,ww,Dw,FA,DA,JP,hA,oQ,dC,yJ],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 POc=function(a){this.internalArray_=m(a,0,POc.messageId)};Y(POc,n);POc.messageId="f.mt";var QOc=function(a){this.internalArray_=m(a,0,QOc.messageId)};Y(QOc,n);QOc.repeatedFields_=[1];QOc.messageId="b.ListSloReportSubscriptionsResponse";var O9=function(a){this.internalArray_=m(a,0,O9.messageId)};Y(O9,n);O9.prototype.getSubscription=function(){return vi(this,Jm,1)};O9.prototype.setSubscription=function(a){return ej(this,Jm,1,a)};O9.messageId="b.SloReportSubscriptionRequest";var P9=function(a){this.internalArray_=m(a,0,P9.messageId)};Y(P9,n);P9.prototype.getSubscription=function(){return vi(this,Jm,1)};P9.prototype.setSubscription=function(a){return ej(this,Jm,1,a)};P9.messageId="b.SloReportSubscriptionResponse";var Q9=function(a){this.executor=a};g=Q9.prototype;g.get=function(a){return this.executor.get({url:"action/slo_report_subscriptions/"+a,responseConstructor:P9}).pipe(D(function(b){if(b=b.getSubscription())return Eza(b);throw Error("mf");}))};g.list=function(){return this.executor.get({url:"action/slo_report_subscriptions",responseConstructor:QOc}).pipe(D(function(a){return zi(a,Jm,1).map(Eza)}))};
g.create=function(a){if(0!==a.id)throw Error("nf");return this.executor.post({url:"action/slo_report_subscriptions",body:(new O9).setSubscription(Gza(a)),responseConstructor:P9}).pipe(D(function(b){if(b=b.getSubscription())return Eza(b);throw Error("of");}))};
g.update=function(a){if(0===a.id)throw Error("pf");return this.executor.post({url:"action/slo_report_subscriptions/"+a.id,body:(new O9).setSubscription(Gza(a)),responseConstructor:P9}).pipe(D(function(b){if(b=b.getSubscription())return Eza(b);throw Error("of");}))};g.delete=function(a){return this.executor.delete({url:"action/slo_report_subscriptions/"+a,responseConstructor:POc}).pipe(D(function(){}))};Q9.\u0275fac=function(a){return new (a||Q9)(p(SD))};
Q9.\u0275prov=Dc({token:Q9,factory:Q9.\u0275fac,providedIn:"root"});var ROc=function(a){this.timeZones=a;this.label="Time zone";this.timezoneId="";this.fullWidth=this.disabled=!1;this.timezoneIdChange=new mv;this.timeZoneOptions$=s8b(this.timeZones).pipe(D(function(b){return b.sort(XHb)}))};ROc.\u0275fac=function(a){return new (a||ROc)(B(sM))};
ROc.\u0275cmp=r({type:ROc,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"),T(2),K(),H(3,"mat-select",1),Q("ngModelChange",function(c){b.timezoneId!==c&&
(b.timezoneId=c,b.timezoneIdChange.emit(b.timezoneId))}),F(4,WHb,2,2,"mat-option",2),W(5,"async"),K()());a&2&&(Jf("full-width",b.fullWidth),A(2),V(" ",b.label," "),A(1),G("disabled",b.disabled)("ngModel",b.timezoneId),A(1),G("ngForOf",X(5,6,b.timeZoneOptions$)))},dependencies:[FA,DA,JP,hA,Tv,ww,Dw,$v],styles:["[_nghost-%COMP%]     .mat-form-field-infix { width: fit-content; }","mat-form-field[_ngcontent-%COMP%] { font-size: 16px; }"]});var SOc=["sloSubscriptionDialog"],R9=function(a,b,c,d,e,f,h,k){Z.call(this);var q=this;this.dateFormatter=a;this.api=b;this.currentUser=c;this.dialog=d;this.timeZones=e;this.confirmationDialogService=f;this.principalTypes=h;this.analytics=k;this.subscriptions$=new E.BehaviorSubject([]);this.isBasicMode$=this.subscriptions$.pipe(D(function(t){return 0===t.length||1===t.length&&t[0].lead.emailAddress===q.currentUser.email}));this.userSubscription$=this.subscriptions$.pipe(D(function(t){t=l(t);for(var w=
t.next();!w.done;w=t.next())if(w=w.value,w.lead.emailAddress===q.currentUser.email)return w;return{id:0,lead:q.currentUser.user,frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:TOc[9].timeOfDay}}));this.isThinking$=new E.BehaviorSubject(!1);this.inputHasFocus=!1;this.frequencyOptions=UOc;this.repeatOnOptions=new Map([["daily",[]],["weekly",nIb],["monthly",VOc]]);this.DAILY="daily";this.repeatAtOptions$=(0,E.combineLatest)(TOc.map(function(t){return(0,E.of)(q.dateFormatter.format("HH:mma",
void 0,t.date)).pipe(D(function(w){return{timeOfDay:t.timeOfDay,display:w}}))}));this.ceoSelected=this.dialogInvalidEmailFormat=!1;this.emailToUser=ti;this.columns=["scope","frequency","actions"];this.frequencyDisplayMap=new Map(UOc.map(function(t){return[t.frequency,t.display]}));this.timeZoneDisplayMap$=s8b(this.timeZones).pipe(Qe(),D(function(t){return new Map(t.map(function(w){return[w.id,w.displayName]}))}),Ye({bufferSize:1,refCount:!0}));this.hourOfDayDisplayMap$=this.repeatAtOptions$.pipe(Qe(),
D(function(t){return new Map(t.map(function(w){return[w.timeOfDay.hours,w.display]}))}),Ye({bufferSize:1,refCount:!0}));this.compareTimeOfDay=function(t,w){return t.hours===w.hours&&t.minutes===w.minutes&&t.seconds===w.seconds&&t.nanos===w.nanos}};Y(R9,Z);R9.\u0275dir=Z.\u0275dir;R9.prototype.ngOnInit=function(){WOc(this)};
var gIb=function(a){a.userSubscription$.pipe(Qe(),af(function(b){if(0===b.id)return a.analytics.trackEvent(Kp.SLO_REPORTS,"enableOwnSubscription"),a.api.create(b);a.analytics.trackEvent(Kp.SLO_REPORTS,"disableOwnSubscription");return a.api.delete(b.id)})).subscribe(function(){WOc(a)})},WOc=function(a){a.isThinking$.next(!0);a.api.list().pipe(Qe()).subscribe(function(b){a.isThinking$.next(!1);a.subscriptions$.next(b)})},kt=function(a,b){a.isThinking$.next(!0);a.api.update(b).subscribe(function(){a.analytics.trackEvent(Kp.SLO_REPORTS,
"editSubscription");WOc(a)})},XOc=function(a,b){a.isThinking$.next(!0);a.api.delete(b.id).subscribe(function(){a.analytics.trackEvent(Kp.SLO_REPORTS,"deleteSubscription");WOc(a)})},rIb=function(a,b){a.confirmationDialogService.open({title:"Delete a subscription",content:ch("You will no longer receive reports from '"+b.lead.emailAddress+"'."),confirmButtonText:"Delete",isDestructive:!0,onConfirm:function(){XOc(a,b)}})};R9.prototype.setFrequency=function(a,b){b.frequency=a;EIb(a,b);kt(this,b)};
var EIb=function(a,b){"daily"!==a?b.ordinal="weekly"===a?nIb[0].ordinal:VOc[0].ordinal:delete b.ordinal};R9.prototype.setTimeZone=function(a,b){kt(this,Object.assign({},b,{timeZone:Object.assign({},b.timeZone,{id:a})}))};
R9.prototype.openDialog=function(a){this.sloSubscriptionDialog&&(a||(a={id:0,frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:TOc[9].timeOfDay}),this.ceoSelected=this.dialogInvalidEmailFormat=!1,this.dialogRef=this.dialog.open(this.sloSubscriptionDialog,{data:ai(a),panelClass:"slo-report-subscription-dialog",width:"500px"}))};
var FIb=function(a,b){return qe(function(c){if(1==c.nextAddress)return a.dialogRef&&void 0!==b.lead?c.yield(YOc(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(Kp.SLO_REPORTS,"createSubscription");WOc(a)}):kt(a,b);a.dialogRef.close();we(c)})},YOc=function(a,
b){var c;return qe(function(d){if(1==d.nextAddress)return zn(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))})};R9.\u0275fac=function(a){return new (a||R9)(B(AM),B(Q9),B(JL),B(vA),B(sM),B(SJ),B(UD),B(aI))};
R9.\u0275cmp=r({type:R9,selectors:[["b-slo-reports-settings"]],viewQuery:function(a,b){a&1&&og(SOc,7);if(a&2){var c;ng(c=qg())&&(b.sloSubscriptionDialog=c.first)}},features:[yf],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&&(F(0,iIb,12,3,"ng-container",0),W(1,"async"),H(2,"div",1)(3,"div",2)(4,"p",3),T(5,"Advanced settings"),K(),H(6,"p",4),T(7," Add subscriptions to receive other user's reports. "),H(8,"a",5),
T(9,"Learn more"),K()()(),H(10,"div",6)(11,"div",7)(12,"button",8),Q("click",function(){return b.openDialog()}),W(13,"async"),T(14," Create subscription "),K()(),F(15,jIb,2,0,"ng-container",0),W(16,"async"),F(17,vIb,13,3,"ng-container",0),W(18,"async"),W(19,"async"),K()(),F(20,GIb,33,15,"ng-template",null,9,tg));a&2&&(G("ngIf",X(1,4,b.isBasicMode$)),A(12),G("disabled",X(13,6,b.isThinking$)),A(3),G("ngIf",X(16,8,b.isThinking$)),A(2),G("ngIf",!X(18,10,b.isBasicMode$)&&!X(19,12,b.isThinking$)))},dependencies:[Tv,
Uv,MA,Jg,ww,Ow,Dw,eA,wA,xA,yA,zA,BA,FA,CA,DA,JP,hA,JA,oQ,TV,GV,MV,IV,FV,OV,JV,LV,PV,RV,ZB,XB,YB,ROc,eK,KR,$v],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 UOc=[{frequency:"daily",display:"Daily"},{frequency:"weekly",display:"Weekly"},{frequency:"monthly",display:"Monthly"}],nIb=[{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"}],VOc=[].concat(u(Array.from({length:31}).fill(0).keys())).map(function(a){return{ordinal:a+1,display:oIb(a+1)}}),TOc=[].concat(u(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 S9=function(a,b,c,d){this.activeSession=a;this.location=b;this.routeParams=c;this.beapEnabled=yD(this.activeSession,"enableBeap");this.enableSloReportEmail=this.activeSession.isInternalSession()&&yD(this.activeSession,"enableSloReportEmail");this.selectedTabIndex=0;d.setTitle("Settings")};S9.prototype.ngAfterViewInit=function(){this.selectedTabIndex=ZOc(this,this.routeParams.settingsTab)};
S9.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.setUrl(lwa(d))};var ZOc=function(a,b){a=a.tabs.toArray().findIndex(function(c){return c.nativeElement.id===b});return 0>a?0:a};S9.\u0275fac=function(a){return new (a||S9)(B(nt),B(bF),B(XO),B(UG))};
S9.\u0275cmp=r({type:S9,selectors:[["b-settings"]],viewQuery:function(a,b){a&1&&og(eU,5,Hd);if(a&2){var c;ng(c=qg())&&(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),T(1,"Settings"),K(),H(2,"mat-tab-group",1),Q("selectedIndexChange",function(c){return b.tabChange(c)}),H(3,"mat-tab",2)(4,"div",3),L(5,"b-general-settings"),K()(),H(6,"mat-tab",4)(7,"div",3),L(8,"b-notification-settings"),K()(),F(9,HIb,3,0,"mat-tab",5)(10,IIb,3,0,"mat-tab",6),K());a&2&&(A(2),G("selectedIndex",b.selectedTabIndex),A(7),G("ngIf",b.enableSloReportEmail),A(1),G("ngIf",b.beapEnabled))},dependencies:[Uv,YU,fU,eU,IOc,M9,N9,R9],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 T9=function(a,b,c,d,e,f,h,k,q){Z.call(this);this.cdr=a;this.routeParams=b;this.bLocation=c;this.pageTitle=d;this.userApi=e;this.bookmarkGroupsApi=f;this.paths=h;this.appEvents=q;this.isStarred=!1;this.bookmarkGroup=null;this.userEmail=k.getUserEmail()};Y(T9,Z);T9.\u0275dir=Z.\u0275dir;g=T9.prototype;
g.ngOnInit=function(){var a=this,b=function(c){a.bookmarkGroup=c;a.userIsAdmin=c.adminUsers.some(function(d){return d.emailAddress===a.userEmail});a.pageTitle.setTitle(c.name);a.cdr.detectChanges()};this.bookmarkGroupsApi.get(this.routeParams.groupId).then(b);this.userApi.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)}))};g.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)};
g.openEditBookmarkGroup=function(){this.bLocation.setUrl(this.paths.editBookmarkGroup(this.bookmarkGroup.bookmarkGroupId))};g.getUserEmail=function(){return this.userEmail};g.isEditable=function(){return!!this.bookmarkGroup&&!!this.userIsAdmin};g.getUrl=function(a){switch(a.resourceType){case "SAVED_SEARCH":return this.paths.viewSavedSearch(a.savedSearchId);case "HOTLIST":return this.paths.viewHotlist(a.hotlistId);default:throw Error("qf`"+a.resourceType);}};
g.getDisplayName=function(a){if(a.name)return a.name;switch(a.resourceType){case "SAVED_SEARCH":return"(Saved Search ID "+a.savedSearchId+")";case "HOTLIST":return"(Hotlist ID "+a.hotlistId+")";default:throw Error("qf`"+a.resourceType);}};T9.\u0275fac=function(a){return new (a||T9)(B(XD,2),B(XO),B(bF),B(UG),B(SH),B(PJ),B(cF),B(nt),B(lG))};
T9.\u0275cmp=r({type:T9,selectors:[["view-bookmark-group-page"]],features:[bg([XD]),yf],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),T(1),K(),L(2,"div",1),H(3,"div",2),F(4,MIb,12,5,"div",3),K());a&2&&(A(1),V("View Bookmark Group ",null==b.bookmarkGroup?null:b.bookmarkGroup.name,""),A(2),Af("aria-busy",
!b.bookmarkGroup),A(1),G("ngIf",b.bookmarkGroup))},dependencies:[Tv,Uv,cK,dC],encapsulation:2});var U9=function(){};U9.\u0275fac=function(a){return new (a||U9)};U9.\u0275mod=Tc({type:U9});U9.\u0275inj=Ec({imports:[zD,QK,QC]});var V9=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I,P,O,U,aa,na,sa,Ba,Pa,Ja,cb,qb,Ra,fa,wa,Ca,Wa,Va){U8.call(this,b,c,d,e,h,k,q,t,f,w,y,C,I,P,O,U,aa,na,cb,sa,Ba,fa,wa,Ca,Wa,Va);this.ngZone=a;this.hotlists=J;this.hotkeys=Pa;this.pageTitle=Ja;this.userAccess=Ra;this.ANALYTICS_CATEGORY="hotlistIssues";this.canAppend=this.isAdmin=this.isStarred=!1;this.hotlist=null;this.isLoading=!0;this.repositioning=this.showHotlists=!1;this.hotlistId=qb.hotlistId};Y(V9,U8);V9.\u0275dir=U8.\u0275dir;
V9.prototype.ngOnInit=function(){var a=this;U8.prototype.ngOnInit.call(this);this.subscriptions.add(UE(this.hotkeys,{title:"Hotlist",hotkeys:[].concat(u(this.BASE_HOTKEYS),[{keys:[Sj("j")],displayAs:"Shift+j",description:"Move the current issue down (when sorting by POS)",onPress:function(){$Oc(a,1)}},{keys:[Sj("k")],displayAs:"Shift+k",description:"Move the current issue up (when sorting by POS)",onPress:function(){$Oc(a,-1)}}])}));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(b){b&&
Number(b.hotlistId)===Number(a.hotlistId)&&"view-hotlist"!==b.origin&&aPc(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)};
V9.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)}};
V9.prototype.loadUserAccess=function(a){var b=this;XF(this.userAccess,"admin","hotlists/"+a).then(function(c){b.isAdmin=c},function(c){b.errorHandler.errorHandler(null,c)});XF(this.userAccess,"appender","hotlists/"+a).then(function(c){b.canAppend=c},function(c){b.errorHandler.errorHandler(null,c)})};
V9.prototype.getIssues=function(){var a=this;this.searchResults=null;this.isLoading=!0;HK(this.appSearchState,"hotlistid:"+this.hotlistId);var b=this.hotlist?Promise.resolve(this.hotlist):aPc(this);return this.doSearch(b).finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
var aPc=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};
V9.prototype.doSearch=function(a){var b=this,c="priority type title assignee status issueId modifiedTime".split(" ").map(Ci),d="hotlistid:"+this.hotlistId,e=this.gridPreferencesFetcher.fetch({resultsPerPage:25,page:1,sortColumns:[],displayColumns:c,query:d},a.then(function(f){return{query:null,displayColumn:f.displayColumn,sortOrder:f.sortOrder}}));a=e.searchPreferences.then(function(f){f=ai(f);f.query=d;f.returnUrl=b.bLocation.getUrl();f.hotlistId=b.hotlistId;f.trackerIds=b.appSearchState.currentTrackerScope;
return tG(b.issuePagination,f)});a.then(function(f){oNc(b,f)}).catch(function(f){"number"===typeof f?g_(b.urlPreferences,{page:f}):b.errorHandler.errorHandler(null,f)});return no({searchResultsPage:a,displayColumns:e.displayColumns}).then(function(f){f=f.searchResultsPage;b.searchResults=f;b.page=f.params.page;b.sortPreferences=f.params.sortColumns||[];b.initColumns(e.displayColumns,bPc(b)?cPc:dPc);b.loadHotlists();b.cdr.detectChanges()}).catch(function(){})};
var bPc=function(a){return 0===a.sortPreferences.length||1===a.sortPreferences.length&&"POSITION"===a.sortPreferences[0].fieldId.type};V9.prototype.getCsvUrl=function(){return this.paths.hotlistIssuesCsvAction(this.hotlistId,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
V9.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 $Oc=function(a,b){if(a.searchResults&&!a.repositioning&&bPc(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 f;null==(f=a.resultsGrid)||J2a(f)}else if(-1===b){var h;null==(h=a.resultsGrid)||K2a(h)}a.repositionIssue(e,c,!0)}}};g=V9.prototype;
g.save=function(){var a=this;if(this.hotlist){var b=this.hotlist,c=this.urlPreferences.getDisplayColumns();if(c){var d=DCa(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}});Fs(this.butterBar,"Saving changes to hotlist...");ePc(this,b).then(function(e){Fs(a.butterBar,'Saved changes to hotlist "'+
e.name+'".');g_(a.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null});a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"savedParams",d)})}};g.discardChanges=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"discardChanges");g_(this.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null})};g.hasParamChanges=function(){return this.hotlist&&this.isEditable()?!(!this.urlPreferences.getSortColumns()&&!this.urlPreferences.getDisplayColumns()):!1};
g.isEditable=function(){return null!=this.hotlist&&this.isAdmin};g.isDirectAdmin=function(){return this.hotlist?ni(this.hotlist.adminUsers).includes(this.currentUserEmail):!1};g.setSort=function(a,b){var c=this.getSort();"position"===a||c&&"position"===c.field?U8.prototype.setSort.call(this,a,b,!1):U8.prototype.setSort.call(this,a,b)};
var ePc=function(a,b){return a.hotlistApi.updateMetadata(b.hotlistId,b).then(function(c){a.hotlist=c;fPc(a,c.hotlistId);return c},function(c){a.errorHandler.errorHandler(null,c);return Promise.reject(c)})},fPc=function(a,b){a.appEvents.hotlistChanged.next({hotlistId:b,origin:"view-hotlist"})};
V9.prototype.toggleStar=function(){var a=this;this.isStarred=!this.isStarred;var b=Xk(this.hotlistId),c=function(){fPc(a,b)};this.isStarred?this.userApi.saveFavorite({resourceType:"HOTLIST",resourceId:b}).then(c):this.userApi.deleteFavorite({resourceType:"HOTLIST",resourceId:b}).then(c)};V9.prototype.openEditHotlist=function(){this.bLocation.setUrl(this.paths.editHotlist(this.hotlistId))};var dPc=[LZ,MZ,NZ,Rtc],cPc=[LZ,Qtc,MZ,NZ,Rtc];
V9.\u0275fac=function(a){return new (a||V9)(B(ef),B(XD),B(JE),B(ZF),B(bF),B(nt),B(GE),B(kG),B(SH),B(PF),B(EG),B(aI),B(GK),B(N_),B(sG),B(LE),B(f_),B(h_),B(cF),B(QD),B(NO),B(lM),B(TE),B(UG),B(FG),B(XO),B(VF),B(lG),B(TH),B(iI),B(A0),B(mH))};
V9.\u0275cmp=r({type:V9,selectors:[["view-hotlist-page"]],features:[bg([XD]),yf],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),Q("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()}),K(),H(2,"div",2)(3,"b-pagination",3),Q("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",
function(c){return qNc(b,c.option)}),K()()(),H(4,"div",4),F(5,WIb,9,7,"div",5)(6,XIb,4,1,"div",6)(7,YIb,2,2,"div",7)(8,ZIb,2,6,"div",8),K());a&2&&(A(1),G("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices)("showHotlistButtons",b.canAppend)("currentHotlistId",b.hotlistId)("isHotlistAdmin",b.isAdmin),A(2),G("searchResults",b.searchResults),A(1),Af("aria-busy",b.isLoading),A(1),G("ngIf",!b.isInitializing),A(1),G("ngIf",b.isLoading),A(1),G("ngIf",!b.isLoading&&!b.hasResults()),A(1),G("ngIf",!b.isLoading&&
b.hasResults()))},dependencies:[QZ,P_,cK,IZ,dC,Uv,eK,rX,eA],encapsulation:2});var W9=function(){};W9.\u0275fac=function(a){return new (a||W9)};W9.\u0275mod=Tc({type:W9});W9.\u0275inj=Ec({imports:[c_,R_,QK,M_,QC,zD,SK,sX,kC]});var X9=function(a,b,c,d,e,f,h,k,q,t,w,y,C,J,I,P,O,U,aa,na,sa,Ba,Pa,Ja,cb,qb,Ra,fa,wa,Ca,Wa){U8.call(this,a,b,c,d,f,h,k,t,e,w,y,C,J,I,P,O,U,aa,Ja,na,sa,Ra,fa,wa,Ca,Wa);this.savedSearchApi=q;this.hotkeys=Ba;this.pageTitle=Pa;this.userAccess=qb;this.ANALYTICS_CATEGORY="savedSearchIssues";this.isAdmin=!1;this.savedSearch=null;this.isLoading=!0;this.showHotlists=!1;this.savedSearchId=cb.savedSearchId};Y(X9,U8);X9.\u0275dir=U8.\u0275dir;g=X9.prototype;
g.ngOnInit=function(){var a=this;U8.prototype.ngOnInit.call(this);this.subscriptions.add(UE(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(w6b(this.appSearchState,function(b){a.savedSearch?g_(a.urlPreferences,{query:b}):(b=a.paths.listIssues({q:b}),a.bLocation.setUrl(b))}));this.loadUserAccess(this.savedSearchId)};g.loadUserAccess=function(a){var b=this;XF(this.userAccess,"admin","savedSearches/"+a).then(function(c){b.isAdmin=c;b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
g.loadSavedSearch=function(){var a=this;this.savedSearch=null;var b=this.savedSearchApi.get(this.savedSearchId);b.then(function(c){a.savedSearch=c;a.pageTitle.setTitle(c.name)}).catch(function(c){a.errorHandler.errorHandler(null,c);a.savedSearch=null}).finally(function(){a.cdr.detectChanges()});return b};
g.getIssues=function(){var a=this,b=this.urlPreferences.getQuery()||"savedsearchid:"+this.savedSearchId;HK(this.appSearchState,b);this.searchResults=null;this.isLoading=!0;this.isInitializing=!1;b=this.savedSearch?Promise.resolve(this.savedSearch):this.loadSavedSearch();return this.doSearch(b).finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
g.doSearch=function(a){var b=this;a=this.gridPreferencesFetcher.fetch({resultsPerPage:25,page:1,query:"",sortColumns:[],displayColumns:iNc(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;HK(b.appSearchState,d.query);b.exitLink=b.paths.listIssues({q:d.query});b.cdr.detectChanges();d=ai(d);d.returnUrl=b.bLocation.getUrl();d.trackerIds=
b.appSearchState.currentTrackerScope;return tG(b.issuePagination,d)});c.then(function(d){oNc(b,d)}).catch(function(d){"number"===typeof d?g_(b.urlPreferences,{page:d}):d&&b.errorHandler.errorHandler(null,d)});this.initColumns(a.displayColumns);return no({searchResultsPage:c,displayColumns:a.displayColumns}).then(function(d){d=d.searchResultsPage;b.searchResults=d;b.page=d.params.page;b.sortPreferences=d.params.sortColumns||[];b.loadHotlists();b.cdr.detectChanges()}).catch(function(){})};
g.isEditable=function(){return!!this.savedSearch&&this.isAdmin};g.getCsvUrl=function(){return this.paths.issuesCsvAction(this.searchParams.query,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
g.save=function(){var a=this,b=this.urlPreferences.getDisplayColumns();b&&(this.savedSearch.displayColumn=b);if(b=this.urlPreferences.getSortColumns())this.savedSearch.sortOrder=b.map(function(c){return{direction:c.direction,field:c.fieldId}});this.savedSearch.query=this.urlPreferences.getQuery()||this.savedSearch.query;Fs(this.butterBar,"Saving changes to search...");this.savedSearchApi.update(this.savedSearch.searchId,this.savedSearch).then(function(c){Fs(a.butterBar,'Saved changes to search "'+
c.name+'".');a.savedSearch=c;g_(a.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null});a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"savedParams");a.cdr.detectChanges()}).catch(function(c){a.errorHandler.errorHandler(null,c)})};g.discardChanges=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"discardChanges");g_(this.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null})};
g.hasParamChanges=function(){return this.savedSearch?!!(this.urlPreferences.getQuery()&&this.urlPreferences.getQuery()!==this.savedSearch.query||this.urlPreferences.getSortColumns()||this.urlPreferences.getDisplayColumns()):!1};g.openEditSavedSearch=function(){this.bLocation.setUrl(this.paths.editSavedSearch(this.savedSearchId))};
X9.\u0275fac=function(a){return new (a||X9)(B(XD),B(JE),B(ZF),B(bF),B(nt),B(GE),B(kG),B(SH),B(LI),B(PF),B(EG),B(aI),B(GK),B(sG),B(LE),B(f_),B(h_),B(cF),B(QD),B(NO),B(lM),B(TE),B(UG),B(FG),B(XO),B(VF),B(lG),B(TH),B(iI),B(A0),B(mH))};
X9.\u0275cmp=r({type:X9,selectors:[["view-saved-search-page"]],features:[bg([XD]),yf],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",
"","class","gmat-button medium","matTooltip","Save changes to display preferences and search query",3,"click",4,"ngIf"],["type","button","mat-stroked-button","","matTooltip","Discard changes to display preferences and search query",1,"gmat-button","medium",3,"click"],[1,"bv2-view-savedsearch-exit-link"],["matTooltip","Show this search with your default display preferences",3,"href","click"],["type","button","mat-flat-button","","matTooltip","Save changes to display preferences and search query",1,
"gmat-button","medium",3,"click"],["class","bv2-view-loading",4,"ngIf"],["class","bv2-view-loading","tabindex","-1",3,"bFocus",4,"ngIf"],["class","bv2-grid-container",4,"ngIf"],[1,"bv2-view-loading"],["tabindex","-1",1,"bv2-view-loading",3,"bFocus"],[1,"bv2-grid-container"],[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),Q("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()}),K(),H(2,"div",2)(3,"b-pagination",3),Q("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",function(c){return qNc(b,c.option)}),
K()()(),H(4,"div",4)(5,"div",5),F(6,dJb,4,3,"div",6)(7,fJb,7,2,"div",7),K(),F(8,kJb,4,3,"div",8),K());a&2&&(A(1),G("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices),A(2),G("searchResults",b.searchResults),A(1),Af("aria-busy",b.isLoading),A(2),G("ngIf",!b.isInitializing),A(1),G("ngIf",b.hasParamChanges()),A(1),G("ngIf",b.savedSearch))},dependencies:[QZ,P_,IZ,Uv,dC,eK,rX,eA],encapsulation:2});var Y9=function(){};Y9.\u0275fac=function(a){return new (a||Y9)};Y9.\u0275mod=Tc({type:Y9});
Y9.\u0275inj=Ec({imports:[c_,R_,M_,zD,QC,SK,sX,kC]});var gPc={path:"issues/:issueId",component:X6,children:[{path:"",pathMatch:"full",component:f8},{path:"dependencies",component:i6},{path:"dupes",component:Z6},{path:"blocking",component:K5},{path:"resources",component:fNc}].concat(u(mJb("enableCodeMentionsUi",{path:"todos",component:S8})))},hPc=[{path:"",component:t4,canActivateGuards:[C4]},{path:"issues",component:V8},{path:"recent",component:X8}].concat(u(mJb("showNeedsAttentionUI",{path:"attention",component:I9,canActivateGuards:[z4,A4]})),[{path:"issues/new",
component:t5,canActivateGuards:[V4]}],u(lJb(function(){var a;if(a=Cm("enableChromeWizard")){var b;a="157"===(null==(b=Kj().tracker)?void 0:b.trackerId)}return a},{path:"issues/wizard",component:U4})),[gPc,{path:"components/all",component:S3},{path:"components",component:W4},{path:"components/new",component:Z4},{path:"components/:componentId/edit",component:q9},{path:"components/:componentId",component:q9},{path:"components/:componentId/manage",component:q9},{path:"teams/:teamId/edit",component:r9},
{path:"teams/:teamId",component:r9},{path:"bookmark-groups/new",component:Y4},{path:"bookmark-groups/:groupId",component:T9},{path:"bookmark-groups/:groupId/edit",component:z5},{path:"hotlists/new",component:a5},{path:"hotlists/:hotlistId",component:V9},{path:"hotlists/:hotlistId/edit",component:VZ},{path:"slos/new",component:v5},{path:"slos/:sloId",component:E5},{path:"slos/:sloId/edit",component:E5},{path:"savedsearches/:savedSearchId/edit",component:A5},{path:"hotlists",component:T8},{path:"slos",
component:Y8},{path:"savedsearches/:savedSearchId",component:X9},{path:"dashboard/:groupId",component:x5},{path:"settings/:settingsTab?",component:S9},{path:"settings",component:S9}],u(mJb("enableHomepageVariantA",{path:"home",component:F9,canActivateGuards:[z4,A4]})),[{path:"**",component:t4,canActivateGuards:[C4]}]);var Z9=function(){};Z9.\u0275fac=function(a){return new (a||Z9)};Z9.\u0275mod=Tc({type:Z9});Z9.\u0275inj=Ec({imports:[zD,bW,EE,kC]});var $9=function(){};$9.\u0275fac=function(a){return new (a||$9)};$9.\u0275mod=Tc({type:$9});$9.\u0275inj=Ec({imports:[zD,kU,UK,aW,Z9]});var a$=function(){};a$.\u0275fac=function(a){return new (a||a$)};a$.\u0275mod=Tc({type:a$});a$.\u0275inj=Ec({imports:[fW,zD,kC,HL,UK,QC,X4,EE,$P]});var b$=function(){};b$.\u0275fac=function(a){return new (a||b$)};b$.\u0275mod=Tc({type:b$});b$.\u0275inj=Ec({imports:[zD,WE,kC,AA]});var c$=function(){};c$.\u0275fac=function(a){return new (a||c$)};c$.\u0275mod=Tc({type:c$});c$.\u0275inj=Ec({imports:[$V,zD,J6,WE,s_,kC,DD,$B,QC,f0,L_,p8,b$]});var d$=function(){};d$.\u0275fac=function(a){return new (a||d$)};d$.\u0275mod=Tc({type:d$});d$.\u0275inj=Ec({imports:[zD,WE,kC,QC]});var e$=function(){};e$.\u0275fac=function(a){return new (a||e$)};e$.\u0275mod=Tc({type:e$});e$.\u0275inj=Ec({imports:[g8,zD,QC,hL,pQ,kC,SK,EL,L_,sU]});var f$=function(){};f$.\u0275fac=function(a){return new (a||f$)};f$.\u0275mod=Tc({type:f$});f$.\u0275inj=Ec({imports:[zD,fW,UK,WR]});var g$=function(){};g$.\u0275fac=function(a){return new (a||g$)};g$.\u0275mod=Tc({type:g$});g$.\u0275inj=Ec({imports:[$9,fW,zD,a$,PP,WE,UK,cW,n8,Z9,kC,DD,QC,EE,QK,WR,f$,d$,c$,e$]});var h$=function(){};h$.\u0275fac=function(a){return new (a||h$)};h$.\u0275mod=Tc({type:h$});h$.\u0275inj=Ec({imports:[zD]});var i$=function(){};i$.\u0275fac=function(a){return new (a||i$)};i$.\u0275mod=Tc({type:i$});i$.\u0275inj=Ec({imports:[zD,kC]});var j$=function(){};j$.\u0275fac=function(a){return new (a||j$)};j$.\u0275mod=Tc({type:j$});j$.\u0275inj=Ec({imports:[zD,YM,kC,QC]});var k$=function(){};k$.\u0275fac=function(a){return new (a||k$)};k$.\u0275mod=Tc({type:k$});k$.\u0275inj=Ec({imports:[x2,iz,Ty,zD,tJ,Tx,kU,EL,Tw,hW,g$,G_,kC,AA,jU,QC,h$,Uw,W6,L_,EE,eM,i$,j$]});var l$=function(){};l$.\u0275fac=function(a){return new (a||l$)};l$.\u0275mod=Tc({type:l$});l$.\u0275inj=Ec({imports:[zD,U3]});var m$=function(){};m$.\u0275fac=function(a){return new (a||m$)};m$.\u0275mod=Tc({type:m$});m$.\u0275inj=Ec({imports:[zD,Ty,iz,Tw,Uw,EE,kC,jU,hW,eM,$V,k$,Q8,s6,M5,$6,l$,R8]});var iPc=hPc.map(function(a){return{path:a.path,component:a.component,canDeactivate:[AX],canActivate:[w4,y4].concat(u(a.canActivateGuards||[])),children:a.children,isRootRoute:!0}});iPc.push({path:"**",canActivate:["dontActivate"],component:t4,isRootRoute:!0});
var jPc=Kj().appBaseHref,kPc,n$={initialNavigation:"disabled"},lPc={provide:l1b,useFactory:function(){return"guarded"},deps:[[yE,new zu,new Au]]},mPc={provide:pE,useValue:n$?n$:{}},nPc=(null==n$?0:n$.useHash)?{provide:mw,useClass:ow}:{provide:mw,useClass:nw},oPc={provide:e1b,useFactory:function(){var a=Nc(xPb),b=Nc(ef),c=Nc(pE),d=Nc(tE),e=Nc(bE);c.scrollOffset&&a.setOffset(c.scrollOffset);return new DE(e,d,a,b,c)}},pPc=(null==n$?0:n$.preloadingStrategy)?wk(0,[{provide:k1b,useExisting:CE},{provide:a1b,
useExisting:n$.preloadingStrategy}]).\u0275providers:[],qPc;
(null==n$?0:n$.initialNavigation)?qPc=["disabled"===n$.initialNavigation?wk(3,[{provide:KOb,multi:!0,useFactory:function(){var a=Nc(yE);return function(){R0b(a)}}},{provide:j1b,useValue:2}]).\u0275providers:[],"enabledBlocking"===n$.initialNavigation?wk(2,[{provide:j1b,useValue:0},{provide:KOb,multi:!0,deps:[ff],useFactory:function(a){var b=a.get(tPb,Promise.resolve());return function(){return b.then(function(){return new Promise(function(c){var d=a.get(yE),e=a.get(i1b);zva(d,function(){c(!0)});a.get(tE).afterPreactivation=
function(){c(!0);return e.closed?(0,E.of)(void 0):e};d.initialNavigation()})})}}}]).\u0275providers:[]]:qPc=[];var rPc=qPc,sPc=(null==n$?0:n$.bindToComponentInputs)?wk(8,[lE,{provide:a0b,useExisting:lE}]).\u0275providers:[],tPc;if(null==n$?0:n$.enableViewTransitions){var uPc=[{provide:A0b,useValue:yva},{provide:wva,useValue:Object.assign({},{skipNextTransition:!1},void 0)}];tPc=wk(9,uPc).\u0275providers}else tPc=[];
kPc={ngModule:EE,providers:[m1b,[],{provide:uva,multi:!0,useValue:[]},lPc,mPc,nPc,oPc,pPc,rPc,sPc,tPc,[{provide:n1b,useFactory:function(){var a=Nc(ff);return function(b){var c=a.get(Qv);if(b===c.components[0]){b=a.get(yE);var d=a.get(i1b);1===a.get(j1b)&&b.initialNavigation();var e;null==(e=a.get(k1b,null,8))||b1b(e);var f;null==(f=a.get(e1b,null,8))||f.init();c=c.componentTypes[0];b.routerState.root.component=c;b.navigationTransitions.rootComponentType=c;d.closed||(d.next(),d.complete(),d.unsubscribe())}}}},
{provide:SOb,multi:!0,useExisting:n1b}]]};var o$=function(a,b){a.config=iPc.map(Gua);a.navigated=!1;a.initialNavigation();G4b(b)};o$.\u0275fac=function(a){return new (a||o$)(p(yE),p(bJ))};o$.\u0275mod=Tc({type:o$});o$.\u0275inj=Ec({providers:[{provide:"dontActivate",useValue:function(){return!1}},{provide:uE,useClass:v4},{provide:wPb,useValue:jPc},y4,w4],imports:[kPc,u4,m$,EE]});var vPc=new bd("Environment");var wPc=new bd("Worktracker API Key");var xPc=new bd("G3C API Keys");var p$=function(){};p$.\u0275fac=function(a){return new (a||p$)};p$.\u0275mod=Tc({type:p$});p$.\u0275inj=Ec({providers:[{provide:vPc,useFactory:nJb},{provide:xPc,useValue:{prodApiKey:"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",stagingApiKey:"AIzaSyCYqhU0fWA9T487wYfx1ogB9z2mNJ9AQco",autopushApiKey:"AIzaSyBEveljwBki0sKCHdprNdJJPZrqTnIwIcM"}},{provide:wPc,useValue:"AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c"}]});var qJb={os:1223084,version:1223033},pJb={os:201569,version:201543};var q$={},yPc=(q$.NETWORK_DOWNLOADING=[{type:"INPUT",question:"What specific URL can reproduce the problem?",answerPrefix:"Example URL: "}],q$.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"}],q$.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?"}}]}],q$.APPS=[{type:"INPUT",question:Io(gp("What is the link to that software in "),
oJb("the Chrome Webstore","https://chrome.google.com/webstore"),gp("?")),answerPrefix:"Webstore page: "}],q$.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:Io(gp("What is the link to that software in "),oJb("the Chrome Webstore","https://chrome.google.com/webstore"),
gp("?")),answerPrefix:"WebStore page: "}],q$.WEBSTORE=[{type:"INPUT",question:"What is the URL of the Chrome WebStore page that had the problem?",answerPrefix:"Webstore page: "}],q$.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"]}],q$.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"]}],q$.API=[{type:"SELECT",question:Io(gp("Which "),
oJb("component","https://bugs.chromium.org/p/chromium/adminComponents"),gp(" 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"}}]}],q$);var r$=function(){};r$.\u0275fac=function(a){return new (a||r$)};r$.\u0275mod=Tc({type:r$});r$.\u0275inj=Ec({imports:[jz,jz]});var s$=function(){};s$.\u0275fac=function(a){return new (a||s$)};s$.\u0275mod=Tc({type:s$});s$.\u0275inj=Ec({providers:[{provide:IHc,useValue:yPc},{provide:KHc,useFactory:rJb},{provide:JHc,useFactory:uJb}],imports:[BW,zD,t0,Tw,kC,r$,hL,KA,iW,KP,T4,FW]});var t$=function(){};t$.\u0275fac=function(a){return new (a||t$)};t$.\u0275mod=Tc({type:t$});t$.\u0275inj=Ec({imports:[zD,kC,QC,AG,Tw,Uw,XZ]});var u$=function(){};u$.\u0275fac=function(a){return new (a||u$)};u$.\u0275mod=Tc({type:u$});u$.\u0275inj=Ec({imports:[sJ,zD,XZ,sX,Tw,HD,QC,hL,j0,HL]});var v$=function(){};v$.\u0275fac=function(a){return new (a||v$)};v$.\u0275mod=Tc({type:v$});v$.\u0275inj=Ec({imports:[zD,kC,QC,AG,Tw,Uw,XZ]});var w$=function(){};w$.\u0275fac=function(a){return new (a||w$)};w$.\u0275mod=Tc({type:w$});w$.\u0275inj=Ec({imports:[zD,kC,QC,SK,A8,$B]});var x$=function(){};x$.\u0275fac=function(a){return new (a||x$)};x$.\u0275mod=Tc({type:x$});x$.\u0275inj=Ec({imports:[zD,SK,bW,aW,$V,QC,UK,kC]});var y$=function(){};y$.\u0275fac=function(a){return new (a||y$)};y$.\u0275mod=Tc({type:y$});y$.\u0275inj=Ec({imports:[sJ,HD,SK,zD,aW,UK,kC]});var z$=function(){};z$.\u0275fac=function(a){return new (a||z$)};z$.\u0275mod=Tc({type:z$});z$.\u0275inj=Ec({imports:[hw,Tw,Vz,w_,Uw]});var A$=function(){};A$.\u0275fac=function(a){return new (a||A$)};A$.\u0275mod=Tc({type:A$});A$.\u0275inj=Ec({imports:[sJ,DW,kU,LR,jN,x_,GA,sX,Tw,UW,EW,HD,SW,lS,y$,kC,hL,KP,AA,s5,$B,pQ,QC,x_,KJ,Uw,z$,HL,zD,Ux,FW,VW,w$,x$]});var B$=function(){};B$.\u0275fac=function(a){return new (a||B$)};B$.\u0275mod=Tc({type:B$});B$.\u0275inj=Ec({imports:[sJ,zD,XZ,sX,Tw,HD,QC,u0]});var C$=function(){};C$.\u0275fac=function(a){return new (a||C$)};C$.\u0275mod=Tc({type:C$});C$.\u0275inj=Ec({imports:[zD,QC,kC,jU,XZ,UW,EW,YK,AG,AA,Tw,Uw,$B,a_]});var D$=function(){};D$.\u0275fac=function(a){return new (a||D$)};D$.\u0275mod=Tc({type:D$});D$.\u0275inj=Ec({imports:[AA,hL,zD,ry,kC,kU,oU,FW]});var E$=function(){};E$.\u0275fac=function(a){return new (a||E$)};E$.\u0275mod=Tc({type:E$});E$.\u0275inj=Ec({imports:[zD,QC,kC,jU,XZ,AG,AA,Tw,Uw,$B,a_]});var F$=function(){};F$.\u0275fac=function(a){return new (a||F$)};F$.\u0275mod=Tc({type:F$});F$.\u0275inj=Ec({imports:[sJ,zD,XZ,Tw,hW,HD,jU,QC,a_,hL,u0,SK]});var G$=function(){};G$.\u0275fac=function(a){return new (a||G$)};G$.\u0275mod=Tc({type:G$});G$.\u0275inj=Ec({imports:[zD,e_,SK,kC]});var H$=function(){};H$.\u0275fac=function(a){return new (a||H$)};H$.\u0275mod=Tc({type:H$});H$.\u0275inj=Ec({imports:[zD,kC,w0,SK]});var I$=function(){};I$.\u0275fac=function(a){return new (a||I$)};I$.\u0275mod=Tc({type:I$});I$.\u0275inj=Ec({imports:[zD,bQ,X_]});var J$=function(){};J$.\u0275fac=function(a){return new (a||J$)};J$.\u0275mod=Tc({type:J$});J$.\u0275inj=Ec({imports:[zD,EL,Tw,jU,AP,a_,HD,s5,kC,hL,QC,AA,$P,SK]});var K$=function(){};K$.\u0275fac=function(a){return new (a||K$)};K$.\u0275mod=Tc({type:K$});K$.\u0275inj=Ec({});var L$=function(){};L$.\u0275fac=function(a){return new (a||L$)};L$.\u0275mod=Tc({type:L$});L$.\u0275inj=Ec({imports:[sJ,zD,EL,bQ,RP,B3,I3,K3,WW,XZ,P3,Tw,K$,hW,HD,kC,hL,AA,KP,pQ,jU,QC,a_,c9,j0,J$,$P,EE,Ux,I$,h0,SK,HL,FL,j$]});var M$=function(){};M$.\u0275fac=function(a){return new (a||M$)};M$.\u0275mod=Tc({type:M$});M$.\u0275inj=Ec({imports:[zD,XZ,Tw,K$,hW,kC,hL,jU,QC,pQ,a_,EE,$P,Ux,h0,X_]});var N$=function(){};N$.\u0275fac=function(a){return new (a||N$)};N$.\u0275mod=Tc({type:N$});N$.\u0275inj=Ec({imports:[zD,WU,QC]});var O$=function(){};O$.\u0275fac=function(a){return new (a||O$)};O$.\u0275mod=Tc({type:O$});O$.\u0275inj=Ec({imports:[zD,WU,$B]});var P$=function(){};P$.\u0275fac=function(a){return new (a||P$)};P$.\u0275mod=Tc({type:P$});P$.\u0275inj=Ec({imports:[hw,qN,QC]});var Q$=function(){};Q$.\u0275fac=function(a){return new (a||Q$)};Q$.\u0275mod=Tc({type:Q$});Q$.\u0275inj=Ec({imports:[zD,YM,jW,hL,QC,kC,N$,O$,SK,bW,EL,P$]});var R$=function(){};R$.\u0275fac=function(a){return new (a||R$)};R$.\u0275mod=Tc({type:R$});R$.\u0275inj=Ec({imports:[zD,kC,Q$,QC]});var S$=function(){};S$.\u0275fac=function(a){return new (a||S$)};S$.\u0275mod=Tc({type:S$});S$.\u0275inj=Ec({providers:[{provide:XU,useValue:{enabled:!0}}],imports:[zD,bW,SK,N$,O$,YM,EL,P$,sU,kC,jU,hW,jW,QC]});var T$=function(){};T$.\u0275fac=function(a){return new (a||T$)};T$.\u0275mod=Tc({type:T$});T$.\u0275inj=Ec({imports:[zD,AP,YM,kU,bW,UR]});var U$=function(){};U$.\u0275fac=function(a){return new (a||U$)};U$.\u0275mod=Tc({type:U$});U$.\u0275inj=Ec({providers:[{provide:XU,useValue:{enabled:!0}}],imports:[zD,EE,jU,$B,NA,kC,DD,hW,QC,q6,L5,z9,s6,T$,aW,UK]});var V$=function(){};V$.\u0275fac=function(a){return new (a||V$)};V$.\u0275mod=Tc({type:V$});V$.\u0275inj=Ec({imports:[zD,Tw,kC,QC,Uw,U$,R$,S$,WE]});var W$=function(){};W$.\u0275fac=function(a){return new (a||W$)};W$.\u0275mod=Tc({type:W$});W$.\u0275inj=Ec({imports:[KP,zD,Tw]});var X$=function(){};X$.\u0275fac=function(a){return new (a||X$)};X$.\u0275mod=Tc({type:X$});X$.\u0275inj=Ec({providers:[{provide:XU,useValue:{enabled:!0}}],imports:[b3,tJ,zD,Tw,hW,hL,kC,kC,AA,KP,KA,pQ,jW,$B,jU,QC,QC,rQ,KJ,p8,W$,SK,LR]});var Y$=function(){};Y$.\u0275fac=function(a){return new (a||Y$)};Y$.\u0275mod=Tc({type:Y$});Y$.\u0275inj=Ec({imports:[zD,Tw,QC,GA,KA]});var Z$=function(){};Z$.\u0275fac=function(a){return new (a||Z$)};Z$.\u0275mod=Tc({type:Z$});Z$.\u0275inj=Ec({imports:[zD,AG,kC]});var zPc=function(){};zPc.prototype.send=function(a,b){yKa(a);return this.makeRequest(a).then(function(c){return b?IKa(b,c):c})};var ot=function(a,b,c,d,e){this.gapiUrl=a;this.gapiKey=b;this.gapiConfigUpdates=c||{};this.gapiAuthParams=d||{};this.defaultApiId=e};Y(ot,zPc);ot.prototype.getGapi=function(){var a=this;return UKa().then(function(b){b=b||window.gapi;a.setGapiConfig(b);return aLa(b,{apiKey:a.gapiKey,clientId:a.gapiAuthParams.clientId,scope:a.gapiAuthParams.scope,hostedDomain:a.gapiAuthParams.hostedDomain,fetchBasicProfile:a.gapiAuthParams.fetchBasicProfile}).then(function(){return b})})};
ot.prototype.makeRequest=function(a){var b=this;return this.getGapi().then(function(c){return qe(function(d){if(1==d.nextAddress)return void 0===b.gapiAuthParams.minAuthTokenTimeRemaining?d.jumpTo(2):d.yield($Ka(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})))})})};
ot.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)})})};ot.prototype.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&YKa(a,b,this.gapiConfigUpdates[b])};ot.$inject=["gapiUrl","gapiKey","gapiConfigUpdates","gapiAuthParams","defaultApiId"];var APc={disableCheatSheet:!0};APc=void 0===APc?{}:APc;
var BPc=[zD,hM,wP,Ty,iz,fN,SW,eN,ZD,HD,$K,rQ,YE,j0,QK,aL,cW,sJ,l_,pS,ID,s3,f4,Z3,PR,lS,nS,VP,$V,B$,F$,H$,G$,y5,W8,W9,Y9,u$,L$,M$,U9,e_,w0,WW,R3,U3,J_,NR,c_,IW,h4,t3,L3,u3,V3,T_,V_,WX,R_,GW,jL,tJ,kU,oU,D$,sW,GD,c0,YK,aS,f0,y0,K_,L_,T3,U2,SK,qM,Q_,Y$,WR,S2,K3,Z$,P3,x2,AP,EL,YM,X$,b3,UR,vP,m_,p_,u0,h0,n_,XZ,w3,t$,v$,H3,m0,lQ,bQ,eQ,RP,o_,M_,rS,ZZ,y_,EW,s0,C_,D_,I3,gN,kN,a_,b_,DW,B3,C$,uJ,E$,A$,BP,k$,J0,p$,V$,Oy,{ngModule:RC,providers:[{provide:eYb,useFactory:function(){var a=Kj().config.environmentType||
"QA";return"PROD"===a||"NIGHTLY"===a?{apikey:"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",environment:"prod"}:{apikey:"AIzaSyBEveljwBki0sKCHdprNdJJPZrqTnIwIcM",environment:"nonprod"}},deps:[ff]}]},{ngModule:iO,providers:[gO,{provide:o$b,useFactory:function(a){return new vJb(new B$b("https://appswaldo-pa.clients6.google.com",a.waldoApiKey,a.globalApiKey,Object.assign({},F$b,a.gapiConfig),{scope:"https://www.googleapis.com/auth/calendar.readonly"}))},deps:[E$b]},{provide:E$b,useFactory:function(){return{waldoApiKey:"AIzaSyDvxpDVHooCQawPUQkmQxwrtt-Xdp3Q3so",
globalApiKey:"AIzaSyBuUpn1wi2-0JpM3S-tq2csYx0z2_m_pqc",gapiConfig:{withCredentials:!0}}}}]},{ngModule:z_,providers:[jZ,{provide:Vsc,useFactory:function(){return{authRealm:1,peopleApiEnv:4,peopleStoreClient:tFc,autocompleteFactory:GAc}}}]},{ngModule:PE,providers:[OE,{provide:D1b,useValue:APc}]}];Cm("enableChromeWizard")&&BPc.push(s$);
var CPc=[qHc,y2b,ewc,fwc,gwc,o_b,q1b,{provide:Ilc,useValue:{animationDuration:"0ms"}},{provide:LXb,useValue:{productName:"Buganizer",cooldownMilliseconds:864E5,enableUsageTracking:!0}},{provide:ZXb,useValue:{disableTooltipInteractivity:!0}},{provide:Onc,useValue:"AIzaSyCBj23e6C2MNif_tvceM-CPTXcVDK3sarY"},{provide:Rnc,useValue:"92912"},{provide:a$b,useFactory:wJb},rHc,AHc,BHc,CHc],Pv=function(){};Pv.prototype.ngDoBootstrap=function(){zk("bootstrapping AppModule")};
Pv.\u0275fac=function(a){return new (a||Pv)};Pv.\u0275mod=Tc({type:Pv,bootstrap:[gM,d4]});Pv.\u0275inj=Ec({providers:[].concat(u(CPc)),imports:[BPc,o$]});aB(document,"DOMContentLoaded",function(){VOb()});
__._ModuleManager_initialize=function(){};
__._ModuleManager_initialize('c/dSirkf/n90YA/ZGAB2e/sLGWFe/M79aPc/nJ4XF',[]);
}catch(e){__._DumpException(e)}
}).call(this,this.default_b);
// Google Inc.
